/* =========================================================
   Inner pages: shop, product, cart, checkout, account, info
   ========================================================= */

:root {
    --line: #f0e3ee;
    --red: #e0314b;
    --green: #1f9d55;
    --gold: #8a6d2f;
}

.page-section { padding: 40px 0 64px; background: #fff; }
.page-section.tint { background: #fdf8fb; }

/* Banner refinements: serif title, cleaner breadcrumb */
.page-banner { padding: 52px 0 44px; }
.page-banner p.sub { color: var(--muted); margin: -2px auto 12px; max-width: 520px; }

/* ---------- Shared card + heading ---------- */
.card-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px;
}
.card-box h2, .card-box h3.ttl {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem; font-weight: 600; color: var(--ink);
    margin: 0 0 18px;
}
.pg-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 6px;
}
.pg-title em { color: var(--brand); font-style: italic; }
.btn-line {
    border: 1.5px solid #d9c3d4; background: #fff; color: var(--ink);
    border-radius: 30px; padding: 10px 22px; font-weight: 500;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none; transition: .2s;
}
.btn-line:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn-brand.pill, .btn-line.pill { border-radius: 30px; }
.btn-brand { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 30px; padding: 11px 26px; }
.btn-brand i { margin-left: 0; }

/* inputs outside .input-wrap */
.fld { margin-bottom: 16px; }
.fld label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 7px; }
.fld input, .fld select, .fld textarea {
    width: 100%; border: 1.5px solid #ead6e5; border-radius: 12px;
    padding: 11px 14px; font: inherit; color: var(--ink); background: #fff; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.fld textarea { resize: vertical; min-height: 120px; }
.fld input:focus, .fld select:focus, .fld textarea:focus {
    border-color: var(--brand); box-shadow: 0 0 0 3px rgba(159, 32, 137, .12);
}

/* =========================================================
   SHOP LISTING
   ========================================================= */
.shop-wrap { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }

.filter-box {
    background: #fff; border: 1px solid var(--line); border-radius: 24px;
    padding: 22px; position: sticky; top: 96px;
}
.filter-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.filter-head h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin: 0; }
.filter-head a { color: var(--brand-dark); font-weight: 600; font-size: .85rem; text-decoration: none; }
.f-group { padding: 14px 0 6px; }
.f-group h4 {
    font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: #7b6a77; margin: 0 0 12px;
}
.f-check {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    padding: 5px 0; font-size: .94rem; color: #4a3a47;
}
.f-check input { width: 18px; height: 18px; accent-color: var(--brand); flex-shrink: 0; }
.f-check small { margin-left: auto; color: #a08c9b; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row label { cursor: pointer; margin: 0; }
.chip-row input { position: absolute; opacity: 0; pointer-events: none; }
.chip-row span {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid #ead6e5; border-radius: 22px; padding: 6px 13px;
    font-size: .84rem; background: #fff; transition: .2s;
}
.chip-row input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); font-weight: 500; }
.chip-row i.dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1); display: inline-block; }
.size-row span { border-radius: 8px; padding: 5px 11px; font-size: .8rem; }
.price-range { width: 100%; accent-color: var(--brand); }
.price-val { font-weight: 600; font-size: .92rem; }

.shop-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.count-pill {
    display: inline-flex; align-items: center; gap: 8px; background: #fff;
    border: 1px solid var(--line); border-radius: 30px; padding: 6px 16px 6px 8px; font-weight: 500;
}
.count-pill b {
    background: var(--brand-dark); color: #fff; min-width: 26px; height: 26px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; font-size: .78rem;
}
.shop-tools { display: flex; align-items: center; gap: 10px; }
.sort-select {
    border: 1px solid var(--line); border-radius: 30px; padding: 8px 16px;
    font: inherit; font-size: .92rem; background: #fff; outline: none;
}
.filter-open-btn { display: none; }

.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shop-grid .product-card { flex: none; }
.shop-grid .p-img { aspect-ratio: 4 / 4.6; }
.p-cat { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.shop-grid .p-body h3 { font-family: 'Playfair Display', serif; font-size: 0.8rem; font-weight: 600; }
.p-dots { display: flex; gap: 6px; margin: 0 0 10px; }
.p-dots i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); }
.p-actions { display: flex; gap: 8px; margin-top: 12px; }
.p-actions a, .p-actions button {
    flex: 1; border-radius: 30px; padding: 9px 8px; font-size: .86rem; font-weight: 500;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    text-decoration: none; cursor: pointer; transition: .2s; white-space: nowrap;
}
.p-actions .view { border: 1.5px solid #d9c3d4; background: #fff; color: var(--ink); }
.p-actions .view:hover { border-color: var(--brand); color: var(--brand); }
.p-actions .add { border: 1.5px solid var(--brand-dark); background: var(--brand-dark); color: #fff; }
.p-actions .add:hover { background: var(--brand); border-color: var(--brand); }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pager a {
    min-width: 42px; height: 42px; padding: 0 12px; border-radius: 50%; border: 1px solid var(--line);
    display: inline-flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; font-weight: 500;
}
.pager a.on, .pager a:hover { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }

/* mobile filter sheet */
.filter-sheet .offcanvas-body { padding: 0 20px 20px; }
.filter-sheet .filter-box { border: 0; padding: 0; position: static; border-radius: 0; }

/* =========================================================
   PRODUCT DETAIL
   ========================================================= */
.pd-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.pd-gallery { display: grid; grid-template-columns: 78px 1fr; gap: 14px; position: sticky; top: 96px; }
.pd-thumbs { display: flex; flex-direction: column; gap: 10px; }
.pd-thumbs button {
    border: 2px solid transparent; border-radius: 14px; padding: 0; overflow: hidden;
    background: var(--brand-soft); aspect-ratio: 3 / 4; cursor: pointer; opacity: .75; transition: .2s;
}
.pd-thumbs button.on, .pd-thumbs button:hover { border-color: var(--brand); opacity: 1; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-main { position: relative; border-radius: 24px; overflow: hidden; background: var(--brand-soft); aspect-ratio: 4 / 5; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-main .p-badge { top: 14px; left: 14px; }
.pd-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
    border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    display: flex; align-items: center; justify-content: center;
}
.pd-arrow.prev { left: 12px; } .pd-arrow.next { right: 12px; }

.pd-crumb { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.pd-info h1 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 6px 0 4px; }
.pd-sub { color: var(--muted); margin: 0 0 12px; }
.pd-rate { display: flex; align-items: center; gap: 8px; font-size: .95rem; margin-bottom: 14px; }
.pd-rate .stars { color: #f5b50a; letter-spacing: 2px; }
.pd-price { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.pd-price strong { font-family: 'Playfair Display', serif; font-size: 1.4rem; line-height: 1; }
.pd-price del { color: var(--muted); font-size: 0.7rem; }
.pd-price .off { background: #e4f6ec; color: var(--green); font-weight: 600; font-size: .6rem; padding: 4px 12px; border-radius: 20px; }
.pd-desc { color: #5a4a57; margin-bottom: 14px; }
.tick-list { list-style: none; padding: 0; margin: 0 0 22px; }
.tick-list li { display: flex; align-items: center; gap: 12px; padding: 5px 0; color: #4a3a47; }
.tick-list i {
    width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
    display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; flex-shrink: 0;
}
.opt-label { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #5a4a57; margin: 0 0 10px; }
.opt-label b { color: var(--ink); text-transform: none; letter-spacing: 0; }
.swatches { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.swatches label { cursor: pointer; margin: 0; }
.swatches input { position: absolute; opacity: 0; pointer-events: none; }
.swatches span {
    display: block; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff;
    box-shadow: 0 0 0 1.5px #d9c3d4; transition: .2s;
}
.swatches input:checked + span { box-shadow: 0 0 0 2.5px var(--brand); }
.size-pick { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.size-pick label { margin: 0; cursor: pointer; }
.size-pick input { position: absolute; opacity: 0; pointer-events: none; }
.size-pick span {
    min-width: 38px; height: 38px; padding: 0 10px; display: flex; align-items: center; justify-content: center;
    border: 1.5px solid #ead6e5; border-radius: 12px; font-weight: 500; transition: .2s; background: #fff;
}
.size-pick input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.size-guide { font-size: .88rem; color: var(--brand-dark); font-weight: 500; text-decoration: none; display: inline-block; margin-bottom: 20px; }
.size-guide:hover { text-decoration: underline; }

.buy-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.qty {
    display: inline-flex; align-items: center; border: 1.5px solid #ead6e5; border-radius: 30px; background: #fff;
}
.qty button { width: 42px; height: 44px; border: 0; background: transparent; font-size: 1.2rem; color: var(--ink); }
.qty button:hover { color: var(--brand); }
.qty input { width: 40px; text-align: center; border: 0; font-weight: 600; background: transparent; outline: none; }
.buy-row .btn-brand, .buy-row .btn-line { flex: 1; min-width: 150px; padding: 12px 20px; }
.wish-btn {
    width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #ead6e5; background: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.15rem; transition: .2s;
}
.wish-btn:hover, .wish-btn.active { color: var(--red); border-color: var(--red); }

.pin-box { border: 1px dashed #d9c3d4; border-radius: 16px; padding: 14px 16px; margin-bottom: 18px; }
.pin-box p { margin: 0 0 8px; font-weight: 500; font-size: .92rem; }
.pin-form { display: flex; gap: 8px; }
.pin-form input { flex: 1; min-width: 0; border: 1.5px solid #ead6e5; border-radius: 30px; padding: 9px 16px; font: inherit; outline: none; }
.pin-form input:focus { border-color: var(--brand); }
.pin-form button { border: 0; background: var(--brand-dark); color: #fff; border-radius: 30px; padding: 0 22px; font-weight: 500; }

.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.trust-row div {
    background: #fdf8fb; border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px;
    text-align: center; font-size: .8rem; color: #5a4a57; line-height: 1.3;
}
.trust-row i { display: block; font-size: 1.35rem; color: var(--brand); margin-bottom: 4px; }

/* tabs */
.pd-tabs { margin-top: 36px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background-color: #9f2089; }
.pd-tabs .nav { background: #9f2089; border-bottom: 1px solid var(--line); flex-wrap: nowrap;
/*overflow-x: auto;*/
display: flex; justify-content: space-evenly; }
.pd-tabs .nav-link {
    flex: 1 1 0; white-space: nowrap; text-align: center; border: 0; border-radius: 0; color: #ffffff;
    padding: 16px 18px; position: relative; background: transparent;
}
.pd-tabs .nav-link i { margin-right: 8px; }
.pd-tabs .nav-link.active { background: #9f2089; color: #fff; font-weight: 500; }
.pd-tabs .nav-link.active::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 44px; height: 2px; background: #fff; transform: translateX(-50%); }
.pd-tabs .tab-pane { padding: 26px 30px; color: #fff; }
.spec-table { width: 100%; max-width: 640px; }
.spec-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-table td:first-child { font-weight: 600; width: 40%; }

/* reviews */
.review { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review .av { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review h5 { font-size: 1rem; margin: 0 0 2px; }
.review .stars { color: #f5b50a; font-size: .85rem; }
.review p { margin: 6px 0 0; color: #5a4a57; }

.related { margin-top: 56px; }
.related .section-head { margin-bottom: 22px; }

/* =========================================================
   CART
   ========================================================= */
.cart-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.cart-item {
    display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center;
    padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cart-item:first-of-type { padding-top: 0; }
.cart-item:last-of-type { border-bottom: 0; padding-bottom: 0; }
.ci-img { width: 110px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--brand-soft); }
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-info h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin: 0 0 4px; }
.ci-info h4 a { color: var(--ink); text-decoration: none; }
.ci-info h4 a:hover { color: var(--brand); }
.ci-info small { color: var(--muted); display: block; margin-bottom: 10px; }
.ci-info .qty button { width: 34px; height: 36px; }
.ci-info .qty input { width: 32px; }
.ci-end { text-align: right; }
.ci-end strong { display: block; font-size: 1.15rem; }
.ci-end del { color: var(--muted); font-size: .85rem; }
.ci-remove { border: 0; background: transparent; color: #a08c9b; font-size: .85rem; margin-top: 8px; }
.ci-remove:hover { color: var(--red); }

.sum-box { position: sticky; top: 96px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; color: #4a3a47; }
.sum-row.green b { color: var(--green); }
.sum-row.total { border-top: 1px dashed #d9c3d4; margin-top: 8px; padding-top: 16px; font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.coupon-form { display: flex; gap: 8px; margin: 6px 0 14px; }
.coupon-form input { flex: 1; min-width: 0; border: 1.5px dashed #d9c3d4; border-radius: 30px; padding: 10px 16px; font: inherit; outline: none; text-transform: uppercase; }
.coupon-form input:focus { border-color: var(--brand); }
.coupon-form button { border: 0; background: var(--brand-dark); color: #fff; border-radius: 30px; padding: 0 20px; font-weight: 500; }
.sum-box .btn-brand { width: 100%; padding: 13px; margin-top: 14px; }
.secure-note { text-align: center; color: var(--muted); font-size: .82rem; margin: 12px 0 0; }
.free-ship { background: var(--brand-soft); border-radius: 14px; padding: 12px 14px; font-size: .88rem; margin-bottom: 14px; color: var(--brand-dark); }
.free-ship .progress { height: 6px; margin-top: 8px; background: #fff; }
.free-ship .progress-bar { background: var(--brand); }

/* empty state */
.empty-state { text-align: center; padding: 56px 20px; }
.empty-state i { font-size: 3.4rem; color: var(--brand); opacity: .6; }
.empty-state h2 { font-family: 'Playfair Display', serif; margin: 12px 0 8px; }
.empty-state p { color: var(--muted); max-width: 420px; margin: 0 auto 20px; }

/* =========================================================
   CHECKOUT
   ========================================================= */
.steps { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0 0 30px; flex-wrap: wrap; }
.steps .st { display: flex; align-items: center; gap: 8px; color: #a08c9b; font-weight: 500; font-size: .92rem; }
.steps .st b { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #d9c3d4; display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; background: #fff; }
.steps .st.on { color: var(--brand-dark); }
.steps .st.on b { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.steps .st.done b { background: var(--green); color: #fff; border-color: var(--green); }
.steps .bar { width: 44px; height: 2px; background: #ead6e5; }

.co-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.co-wrap .card-box + .card-box { margin-top: 22px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 16px; }

.pay-opt {
    display: flex; align-items: center; gap: 14px; border: 1.5px solid #ead6e5; border-radius: 16px;
    padding: 14px 16px; margin-bottom: 12px; cursor: pointer; transition: .2s; position: relative;
}
.pay-opt input { accent-color: var(--brand); width: 18px; height: 18px; flex-shrink: 0; }
.pay-opt > i { font-size: 1.5rem; color: var(--brand); }
.pay-opt strong { display: block; font-weight: 500; }
.pay-opt small { color: var(--muted); }
.pay-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.pay-detail { padding: 6px 4px 0; display: none; }
.pay-opt:has(input:checked) + .pay-detail { display: block; }

.mini-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.mini-item img { width: 56px; height: 70px; object-fit: cover; border-radius: 10px; background: var(--brand-soft); }
.mini-item div { flex: 1; min-width: 0; }
.mini-item h5 { font-size: .95rem; margin: 0 0 2px; font-weight: 500; }
.mini-item small { color: var(--muted); }
.mini-item b { font-size: .95rem; }

/* success */
.success-card { max-width: 640px; margin: 0 auto; text-align: center; }
.tick-big {
    width: 84px; height: 84px; border-radius: 50%; background: #e4f6ec; color: var(--green);
    display: flex; align-items: center; justify-content: center; font-size: 2.6rem; margin: 0 auto 18px;
}
.order-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.order-meta div { background: #fdf8fb; border: 1px solid var(--line); border-radius: 14px; padding: 14px 8px; }
.order-meta small { display: block; color: var(--muted); }
.order-meta strong { font-size: 1rem; }

/* =========================================================
   ACCOUNT
   ========================================================= */
.acc-wrap { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.acc-side { padding: 0; overflow: hidden; position: sticky; top: 96px; }
.acc-user { text-align: center; padding: 26px 18px 18px; background: linear-gradient(180deg, #fbeaf7, #fff); }
.acc-user .big-av {
    width: 76px; height: 76px; border-radius: 50%; background: var(--brand-dark); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 600; margin: 0 auto 10px;
}
.acc-user strong { display: block; }
.acc-user small { color: var(--muted); }
.acc-nav { padding: 8px 12px 14px; display: flex; flex-direction: column; gap: 2px; border: 0; }
.acc-nav .nav-link {
    display: flex; align-items: center; gap: 12px; color: #4a3a47; border-radius: 12px; padding: 11px 14px; text-align: left; border: 0; background: transparent;
}
.acc-nav .nav-link i { font-size: 1.1rem; color: var(--brand); }
.acc-nav .nav-link:hover { background: var(--brand-soft); }
.acc-nav .nav-link.active { background: var(--brand-dark); color: #fff; }
.acc-nav .nav-link.active i { color: #fff; }
.acc-nav a.out { color: var(--red); }
.acc-nav a.out i { color: var(--red); }

.order-card { border: 1px solid var(--line); border-radius: 18px; margin-bottom: 16px; overflow: hidden; }
.order-head { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; background: #fdf8fb; padding: 14px 18px; font-size: .88rem; }
.order-head small { display: block; color: var(--muted); }
.order-body { display: flex; gap: 14px; align-items: center; padding: 16px 18px; flex-wrap: wrap; }
.order-body img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; }
.order-body .grow { flex: 1; min-width: 160px; }
.order-body h5 { font-family: 'Playfair Display', serif; font-size: 1.02rem; margin: 0 0 3px; }
.order-body small { color: var(--muted); }
.badge-st { display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.badge-st.ok { background: #e4f6ec; color: var(--green); }
.badge-st.ship { background: #e8f0fe; color: #2f5fd0; }
.badge-st.wait { background: #fff3d6; color: #a67300; }

.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.addr-card { border: 1.5px solid #ead6e5; border-radius: 18px; padding: 18px; position: relative; }
.addr-card.def { border-color: var(--brand); background: var(--brand-soft); }
.addr-card h5 { font-size: 1rem; margin: 0 0 6px; }
.addr-card p { margin: 0 0 12px; color: #5a4a57; font-size: .92rem; }
.addr-card .tag { position: absolute; top: 14px; right: 14px; font-size: .72rem; background: var(--brand-dark); color: #fff; padding: 2px 10px; border-radius: 20px; }
.addr-card a { font-size: .85rem; font-weight: 500; color: var(--brand-dark); text-decoration: none; margin-right: 14px; }
.addr-add { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; border: 2px dashed #d9c3d4; border-radius: 18px; padding: 18px; color: var(--brand-dark); text-decoration: none; min-height: 140px; font-weight: 500; }
.addr-add i { font-size: 1.6rem; }
.addr-add:hover { background: var(--brand-soft); }

/* tracking */
.track-form { max-width: 560px; margin: 0 auto 30px; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 26px 52px; }
.timeline li::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: #ead6e5; }
.timeline li:last-child::before { display: none; }
.timeline li i {
    position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
    background: #fff; border: 2px solid #ead6e5; color: #a08c9b;
    display: flex; align-items: center; justify-content: center;
}
.timeline li.done i { background: var(--green); border-color: var(--green); color: #fff; }
.timeline li.done::before { background: var(--green); }
.timeline li.now i { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 5px rgba(159, 32, 137, .12); }
.timeline strong { display: block; }
.timeline small { color: var(--muted); }

/* =========================================================
   INFO PAGES (about, contact, faq, policy)
   ========================================================= */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-hero img { width: 100%; border-radius: 26px; aspect-ratio: 5 / 4; object-fit: cover; }
.about-hero h2, .block-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 14px; }
.about-hero p { color: #5a4a57; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 48px 0; }
.stat-strip div { text-align: center; background: var(--brand-soft); border-radius: 20px; padding: 24px 10px; }
.stat-strip strong { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--brand-dark); }
.stat-strip span { color: #5a4a57; font-size: .92rem; }
.val-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.val-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; transition: .3s; }
.val-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(159, 32, 137, .12); }
.val-card i { width: 52px; height: 52px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 14px; }
.val-card h4 { font-size: 1.08rem; margin: 0 0 6px; }
.val-card p { margin: 0; color: #5a4a57; font-size: .94rem; }

.contact-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 28px; align-items: start; }
.info-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-item:last-of-type { border-bottom: 0; }
.info-item i { width: 46px; height: 46px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.info-item strong { display: block; }
.info-item span { color: #5a4a57; font-size: .94rem; }
.map-box { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); margin-top: 28px; }
.map-box iframe { width: 100%; height: 280px; border: 0; display: block; }

.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-wrap .accordion-item { border: 1px solid var(--line); border-radius: 16px !important; margin-bottom: 12px; overflow: hidden; }
.faq-wrap .accordion-button { font-weight: 500; padding: 18px 22px; color: var(--ink); background: #fff; box-shadow: none; }
.faq-wrap .accordion-button:not(.collapsed) { color: var(--brand-dark); background: var(--brand-soft); }
.faq-wrap .accordion-button:focus { box-shadow: none; }
.faq-wrap .accordion-body { color: #5a4a57; padding: 18px 22px; }

.policy { max-width: 860px; margin: 0 auto; }
.policy h2 { font-family: 'Playfair Display', serif; font-size: 1.35rem; margin: 28px 0 10px; color: var(--brand-dark); }
.policy h2:first-child { margin-top: 0; }
.policy p, .policy li { color: #4a3a47; }
.policy ul { padding-left: 20px; }
.policy .upd { color: var(--muted); font-size: .9rem; }

.sg-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.sg-table th, .sg-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.sg-table th { background: #fdf8fb; font-weight: 600; color: var(--brand-dark); }
.sg-scroll { overflow-x: auto; }

.promo-strip {
    margin-top: 48px; border-radius: 26px; padding: 40px 28px; text-align: center; color: #fff;
    background: linear-gradient(120deg, #7a1668, #b3399e);
}
.promo-strip h3 { font-family: 'Playfair Display', serif; margin: 0 0 8px; }
.promo-strip p { opacity: .9; margin: 0 0 18px; }
.promo-strip .btn-brand { background: #fff; color: var(--brand-dark); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
    .shop-wrap { grid-template-columns: 240px 1fr; gap: 20px; }
    .shop-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-wrap, .co-wrap { grid-template-columns: minmax(0, 1fr) 340px; }
    .pd-wrap { gap: 28px; }
}
@media (max-width: 991px) {
    .shop-wrap { grid-template-columns: 1fr; }
    .shop-wrap > aside { display: none; }
    .filter-open-btn { display: inline-flex; }
    .shop-grid { grid-template-columns: repeat(3, 1fr); }
    .pd-wrap, .cart-wrap, .co-wrap, .acc-wrap, .contact-grid, .about-hero { grid-template-columns: 1fr; }
    .pd-gallery, .sum-box, .acc-side { position: static; }
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .val-grid { grid-template-columns: repeat(2, 1fr); }
    .acc-nav { flex-direction: row; overflow-x: auto; flex-wrap: nowrap; padding: 8px 12px 12px; }
    .acc-nav .nav-link { white-space: nowrap; }
    .acc-user { display: none; }
}
@media (max-width: 767px) {
    .page-section { padding: 26px 0 48px; }
    .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .shop-grid .p-body { padding: 10px 10px 12px; }
    .shop-grid .p-body h3 { font-size: .98rem; }
    .p-actions { flex-direction: column; gap: 6px; }
    .p-actions a, .p-actions button { padding: 8px; font-size: .82rem; }
    .pd-gallery { grid-template-columns: 1fr; }
    .pd-thumbs { flex-direction: row; order: 2; overflow-x: auto; }
    .pd-thumbs button { width: 64px; flex-shrink: 0; }
    .pd-main { border-radius: 18px; }
    .pd-price strong { font-size: 1.9rem; }
    .pd-tabs .tab-pane { padding: 20px 18px; }
    .pd-tabs .nav-link { flex: 0 0 auto; padding: 14px 16px; }
    .card-box { padding: 20px 16px; border-radius: 18px; }
    .cart-item { grid-template-columns: 84px 1fr; gap: 12px; }
    .ci-img { width: 84px; }
    .ci-end { grid-column: 2; display: flex; align-items: center; justify-content: space-between; text-align: left; }
    .ci-end strong { display: inline; margin-right: 8px; }
    .ci-remove { margin: 0; }
    .row-2, .row-3 { grid-template-columns: 1fr; }
    .addr-grid { grid-template-columns: 1fr; }
    .order-meta { grid-template-columns: 1fr; }
    .stat-strip { margin: 32px 0; }
    .stat-strip strong { font-size: 1.6rem; }
    .val-grid { grid-template-columns: 1fr; }
    .steps .bar { width: 18px; }
    .steps .st span { display: none; }
    .steps .st.on span { display: inline; }
    .trust-row { gap: 6px; }
    .buy-row .btn-brand, .buy-row .btn-line { min-width: 0; flex: 1 1 100%; }
    .qty { flex: 1; justify-content: space-between; }
    body.has-sticky-buy { padding-bottom: 0; }
}

.shop-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .shop-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .shop-grid.cols-4 { gap: 12px; } }

/* =========================================================
   ORDERS TABLE
   ========================================================= */
.ord-filter {
    display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 0 22px; align-items: end;
    background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px 26px 8px; margin-bottom: 28px;
}
.ord-filter .fld input, .ord-filter .fld select { background: #fdf6f1; border-color: #f0e3dc; }
.ord-btn { height: 48px; margin-bottom: 16px; padding: 0 30px; }

.ord-table { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.ord-row {
    display: grid; grid-template-columns: 1.4fr 1.1fr .8fr .8fr 1.3fr 2.7fr; gap: 10px; align-items: center;
    padding: 20px 26px; border-bottom: 1px solid var(--line);
}
.ord-row:last-child { border-bottom: 0; }
.ord-row.ord-head {
    background: var(--brand-dark); color: #fff; padding: 16px 26px;
    font-size: .76rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; border: 0;
}
.ord-head .end { text-align: right; }
.oid { font-family: 'Playfair Display', serif; font-weight: 600; color: var(--ink); }
.odate { color: #7b6a77; }
.otot { font-weight: 600; }
.qty-pill {
    display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 8px;
    border-radius: 20px; background: var(--brand-soft); color: var(--brand-dark); font-style: normal; font-size: .8rem; font-weight: 600;
}
.st-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 22px;
    font-size: .76rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}
.st-pill.delivered { background: #e4f6ec; color: var(--green); }
.st-pill.shipped { background: #e4eefc; color: #2f5fd0; }
.st-pill.processing { background: #f6ecd2; color: #9a7416; }
.st-pill.cancelled { background: #eee; color: #666; }
.oact { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: nowrap; }
.act-btn {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 30px;
    border: 1.5px solid #d9c3d4; background: #fff; color: var(--ink); font-weight: 500; font-size: .92rem;
    text-decoration: none; transition: .2s; white-space: nowrap;
}
.act-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.act-btn.cancel { border-color: #f3c3ca; color: var(--red); }
.act-btn.cancel:hover { background: #fdecef; border-color: var(--red); color: var(--red); }
.ord-count { text-align: center; color: var(--muted); margin: 18px 0 0; font-size: .92rem; }
.ord-count b { color: var(--ink); }

@media (max-width: 1099px) {
    .ord-filter { grid-template-columns: 1fr 1fr; gap: 0 14px; padding: 20px 18px 6px; }
    .ord-btn { grid-column: 1 / -1; margin-bottom: 14px; }
    .ord-table { background: transparent; border: 0; border-radius: 0; overflow: visible; }
    .ord-row.ord-head { display: none; }
    .ord-row {
        grid-template-columns: 1fr 1fr; gap: 14px 12px; padding: 16px 18px; margin-bottom: 14px;
        background: #fff; border: 1px solid var(--line); border-radius: 18px;
    }
    .ord-row:last-child { border: 1px solid var(--line); }
    .ord-row > span[data-l]::before {
        content: attr(data-l); display: block; font-size: .7rem; font-weight: 600; letter-spacing: .08em;
        text-transform: uppercase; color: #a08c9b; margin-bottom: 4px;
    }
    .ord-row .oact { grid-column: 1 / -1; justify-content: stretch; }
    .ord-row .act-btn { flex: 1; justify-content: center; }
}
@media (max-width: 480px) {
    .ord-filter { grid-template-columns: 1fr; }
}

/* Smaller product card buttons */
.p-actions { margin-top: 10px; }
.p-actions a, .p-actions button { padding: 6px 8px; font-size: .84rem; line-height: 1.3; }
@media (max-width: 767px) {
    .p-actions { gap: 5px; }
    .p-actions a, .p-actions button { padding: 5px 6px; font-size: .78rem; }
}

/* =========================================================
   CATEGORIES PAGE
   ========================================================= */
.catpage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.catpage-card {
    display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line);
    border-radius: 20px; padding: 14px; transition: .3s;
}
.catpage-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(159, 32, 137, .14); }
.cp-img { width: 112px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; flex-shrink: 0; background: var(--brand-soft); }
.cp-img img { width: 100%; height: 100%; object-fit: cover; }
.cp-body { min-width: 0; }
.cp-body h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 600; margin: 0 0 2px; }
.cp-body h3 a { color: var(--ink); text-decoration: none; }
.cp-body h3 a:hover { color: var(--brand); }
.cp-body p { color: var(--muted); font-size: .88rem; margin: 0 0 10px; }
.cp-links { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-links a {
    font-size: .78rem; padding: 4px 11px; border-radius: 20px; border: 1px solid #ead6e5;
    color: #4a3a47; text-decoration: none; background: #fff; transition: .2s;
}
.cp-links a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 1199px) { .catpage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
    .catpage-grid { grid-template-columns: 1fr; gap: 12px; }
    .cp-img { width: 96px; }
}

/* Login / form error message */
.auth-alert {
    display: flex; align-items: center; gap: 10px; background: #fdecef; color: #b3202f;
    border: 1px solid #f3c3ca; border-radius: 12px; padding: 11px 14px; margin-bottom: 18px; font-size: .92rem;
}

.field-error { display: block; color: #b3202f; font-size: .82rem; margin-top: 6px; }
.form-field .opt { font-weight: 400; color: var(--muted); }
.auth-alert.success { background: #e4f6ec; color: #17794a; border-color: #bfe6cf; }
.auth-alert.success strong { letter-spacing: .04em; }

/* ---- Mobile Categories page: categories on the left, sub categories on the right ---- */
.cat-m { display: flex; height: calc(100vh - 150px); height: calc(100dvh - 150px); background: #fff; border-top: 1px solid #f0e3ee; }
.cat-m-rail { flex: 0 0 27%; max-width: 120px; overflow-y: auto; background: #f8f4f8; border-right: 1px solid #f0e3ee; scrollbar-width: none; }
.cat-m-rail::-webkit-scrollbar { display: none; }
.cat-m-tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 14px 4px; border: 0; border-bottom: 1px solid #ece3ec; background: transparent; color: #6b6b6b; font-size: .76rem; font-weight: 500; line-height: 1.2; text-align: center; }
.cat-m-tab.active { background: #fff; color: var(--brand); font-weight: 600; }
.cat-m-tab.active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); border-radius: 0 4px 4px 0; }
.cat-m-ico { width: 50px; height: 50px; border-radius: 50%; background: #efe6ef; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cat-m-tab.active .cat-m-ico { background: var(--brand-soft); box-shadow: 0 0 0 2px var(--brand); }
.cat-m-ico img, .cat-m-circle img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.cat-m-ico b, .cat-m-circle b { color: var(--brand); font-size: 1.2rem; }

.cat-m-panes { flex: 1; min-width: 0; position: relative; }
.cat-m-pane { display: none; height: 100%; overflow-y: auto; padding: 14px 12px 24px; }
.cat-m-pane.active { display: block; }
.cat-m-title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: #8a7a88; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.cat-m-title::after { content: ""; flex: 1; order: 1; height: 1px; background: #eadfe9; }
.cat-m-title a { order: 2; color: var(--brand); font-weight: 600; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.cat-m-pane h3 { font-size: 1.05rem; font-weight: 700; margin: 14px 0 10px; color: #2b2b2b; }
.cat-m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 6px; }
.cat-m-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: #4b4b4b; min-width: 0; }
.cat-m-circle { width: 66px; height: 66px; border-radius: 50%; background: #f6eef5; border: 1px solid #f0e3ee; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cat-m-name { font-size: .74rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }

@media (max-width: 991.98px) {
    .cat-m-body .site-footer, .cat-m-body #backToTop { display: none; }
}
.cat-m a, .cat-m a:hover { text-decoration: none; }
.cat-m-title a { text-decoration: none; }

/* Cart: forms inside the cart rows */
.ci-info form.qty { margin: 0; }
.ci-del { border: 1px solid #f3c2c9; background: #fff1f3; color: #d62839; font-size: .85rem; font-weight: 500; margin-top: 8px; padding: 5px 12px; border-radius: 20px; }
.ci-del:hover { background: #d62839; border-color: #d62839; color: #fff; }
.ci-end form { margin: 0; }
.cart-notice { background: #fff3da; color: #8a5a00; border-radius: 12px; padding: 11px 16px; margin-bottom: 18px; }
.co-error { background: #fdecef; color: #b3202f; border: 1px solid #f3c3ca; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; }
.fld .field-error { color: #b3202f; font-size: .8rem; display: block; margin-top: 4px; }
button.pd-buy-btn { cursor: pointer; }
.ord-items small { display: block; color: var(--muted); text-align: left; }

/* Product page: thin breadcrumb line, smaller name, size message */
.pd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .84rem; color: var(--muted); margin: -6px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pd-crumbs a { color: var(--muted); text-decoration: none; }
.pd-crumbs a:hover { color: var(--brand); }
.pd-crumbs i { font-size: .7rem; }
.pd-crumbs span { color: var(--ink); font-weight: 500; }
.pd-info h1 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.3; margin: 0 0 8px; }
.size-error { color: #c4223a; font-weight: 600; font-size: .9rem; margin: 10px 0 0; }

/* Checkout: UPI box */
.upi-box { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; background: #fff; border: 1px dashed #e3c7de; border-radius: 14px; padding: 14px; margin-bottom: 12px; font-size: .9rem; }
.upi-qr { width: 150px; height: 150px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.upi-box > div { flex: 1 1 200px; }
.pay-opt:has(input:disabled) { opacity: .55; cursor: not-allowed; }

/* Product page breadcrumb: small, soft, no underline */
.pd-crumbs { font-size: .8rem; letter-spacing: .02em; margin: 0 0 20px; padding: 0 0 12px; gap: 8px; color: #8a7a88; }
.pd-crumbs a, .pd-crumbs a:visited { color: #8a7a88 !important; text-decoration: none !important; }
.pd-crumbs a:hover { color: var(--brand) !important; }
.pd-crumbs i { font-size: .62rem; color: #c9b5c5; }
.pd-crumbs span { color: #4a3a47; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }

/* Product page: share */
.pd-share { margin: 0 0 18px; }
.pd-share .btn-line { padding: 9px 20px; }
.share-menu { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.share-menu[hidden] { display: none; }
.share-menu a, .share-menu button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 30px; background: #fff; color: var(--ink); font: inherit; font-size: .86rem; text-decoration: none; cursor: pointer; }
.share-menu a:hover, .share-menu button:hover { border-color: var(--brand); color: var(--brand); }
.share-menu .s-wa i { color: #25d366; }
.share-menu .s-fb i { color: #1877f2; }
.share-menu .s-tg i { color: #229ed9; }
