/*
 * Styles for pages the design pack did not cover: product detail, checkout,
 * payment and the customer account area.
 *
 * This file only defines new class names (pd-, co-, acct-). It never overrides
 * anything in style2.css or layout.css, so the designer's work is untouched and
 * these rules can be replaced wholesale when their versions arrive.
 */

:root {
    --lakad-gold: #b08d57;
    --lakad-ink: #2b2620;
    --lakad-muted: #7a7168;
    --lakad-line: #e4ded5;
    --lakad-sand: #faf7f2;
}

/* ---------- Product detail ---------- */

.pd-detail-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    margin: 40px 0 64px;
}

.pd-main-img img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--lakad-sand);
}

.pd-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    overflow-x: auto;
}

.pd-thumb {
    width: 84px;
    height: 84px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid var(--lakad-line);
    flex: 0 0 auto;
}

.pd-title {
    font-size: 34px;
    line-height: 1.2;
    margin: 0 0 12px;
    color: var(--lakad-ink);
}

.pd-price {
    font-size: 22px;
    color: var(--lakad-ink);
    margin-bottom: 24px;
}

.pd-price del {
    color: var(--lakad-muted);
    font-size: 17px;
    margin-right: 8px;
}

.pd-price small {
    font-size: 13px;
    color: var(--lakad-muted);
    margin-left: 6px;
}

.pd-quote {
    color: var(--lakad-gold);
    font-style: italic;
}

.pd-desc {
    color: var(--lakad-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.pd-cart-form {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.pd-cart-form .quantity {
    width: 56px;
    text-align: center;
    border: 1px solid var(--lakad-line);
    padding: 8px;
}

.pd-oos {
    color: #a33;
    margin-bottom: 28px;
}

.pd-specs {
    border-top: 1px solid var(--lakad-line);
}

.pd-spec {
    border-bottom: 1px solid var(--lakad-line);
    padding: 18px 0;
}

.pd-spec h4 {
    margin: 0 0 6px;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lakad-ink);
}

.pd-spec p {
    margin: 0;
    color: var(--lakad-muted);
    line-height: 1.7;
}

.pd-enquiry {
    background: var(--lakad-sand);
    padding: 40px;
    margin-bottom: 64px;
}

/* ---------- Checkout ---------- */

.co-heading {
    font-size: 18px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 20px;
    color: var(--lakad-ink);
}

.co-block {
    margin-bottom: 32px;
}

.co-address-list {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.co-address {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid var(--lakad-line);
    padding: 16px;
    cursor: pointer;
    line-height: 1.6;
}

.co-address input {
    margin-top: 4px;
}

.co-note {
    font-size: 13px;
    color: var(--lakad-muted);
    margin: 8px 0 16px;
    line-height: 1.6;
}

.co-pay {
    text-align: center;
    padding: 60px 20px;
}

.co-pay-amount {
    font-size: 34px;
    color: var(--lakad-ink);
    margin: 12px 0 28px;
}

/* ---------- Account ---------- */

.acct-nav {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid var(--lakad-line);
    margin-bottom: 32px;
    padding-bottom: 12px;
}

.acct-nav a {
    color: var(--lakad-muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 13px;
}

.acct-nav a.active {
    color: var(--lakad-gold);
}

.acct-form {
    max-width: 720px;
}

.acct-block {
    margin-top: 40px;
}

.acct-order {
    border: 1px solid var(--lakad-line);
    padding: 20px;
    margin-bottom: 16px;
}

.acct-order-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.acct-date {
    color: var(--lakad-muted);
    font-size: 13px;
    margin-left: 10px;
}

.acct-total {
    margin-left: 16px;
    font-weight: 600;
}

.acct-status {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid var(--lakad-line);
    color: var(--lakad-muted);
}

.acct-status-confirmed,
.acct-status-delivered {
    color: #2f6b3f;
    border-color: #b9d6c1;
}

.acct-status-cancelled {
    color: #a33;
    border-color: #e0b4b4;
}

.acct-order-items {
    color: var(--lakad-muted);
    margin-bottom: 10px;
}

.acct-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.acct-address {
    border: 1px solid var(--lakad-line);
    padding: 18px;
    line-height: 1.6;
}

.acct-history {
    border-left: 2px solid var(--lakad-line);
    padding: 0 0 16px 16px;
}

.alert-box.success {
    color: #2f6b3f;
}

@media (max-width: 900px) {
    .pd-detail-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pd-enquiry {
        padding: 24px;
    }
}
