/* ═══════════════════════════════════════════════════════════════════
   KHYATI SHOP — FINAL · Clean · Simple · Jost only · No italic
   Left sidebar · Center view toggle · Right sort
   ═══════════════════════════════════════════════════════════════════ */

.shop-body {
    background: #fbf8f2;
    font-family: 'Jost', sans-serif;
    margin: 0;
}

.shop-main {
    min-height: 60vh;
    padding-bottom: 80px;
}

/* ─── HEADER ─── */
.shop-header {
    max-width: 1440px;
    margin: 0 auto;
    padding: 48px 40px 32px;
    text-align: center;
}
.shop-breadcrumb {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 20px;
}
.shop-breadcrumb a { color: #9a7b4f; text-decoration: none; }
.shop-breadcrumb a:hover { color: #0d0d0d; }
.shop-breadcrumb span:not(:last-child):not(.sep) { color: #d4af7a; margin: 0 6px; }

.shop-title {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 48px;
    color: #0d0d0d;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.shop-desc {
    max-width: 640px;
    margin: 8px auto 14px;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    font-weight: 300;
}
.shop-count {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9a7b4f;
    margin: 0;
    font-weight: 500;
}

/* ─── CATEGORY BANNER ─── */
.category-banner {
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center;
    background-color: #f5ede0;
    position: relative;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.banner-content {
    text-align: center;
    color: #fbf8f2;
    max-width: 720px;
}
.banner-content .eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 500;
    opacity: 0.9;
}
.banner-content h1 {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 64px;
    line-height: 1.05;
    margin: 0 0 16px;
    letter-spacing: -1px;
}
.banner-content p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto;
    opacity: 0.95;
    font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT: Left sidebar + Right products area
   ═══════════════════════════════════════════════════════════════════ */
.shop-layout {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 40px 40px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* ═══════════════════════════════════════════════════════════════════
   LEFT SIDEBAR FILTERS
   ═══════════════════════════════════════════════════════════════════ */
.shop-sidebar {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: #d4af7a transparent;
}
.shop-sidebar::-webkit-scrollbar { width: 4px; }
.shop-sidebar::-webkit-scrollbar-thumb { background: #d4af7a; border-radius: 2px; }

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 16px;
    border-bottom: 1px solid #d4af7a;
    margin-bottom: 20px;
}
.sidebar-header h3 {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0d0d0d;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.clear-all {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
}
.clear-all:hover { text-decoration: underline; }
.close-mobile {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #0d0d0d;
    padding: 4px;
}

/* Active chips */
.active-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #9a7b4f;
    border-radius: 16px;
    font-size: 11px;
    color: #0d0d0d;
    text-decoration: none;
    transition: all 0.2s;
    text-transform: capitalize;
}
.chip:hover { background: #9a7b4f; color: #fff; }
.chip i { font-size: 10px; }

/* Filter blocks */
.filter-block {
    padding: 18px 0;
    border-bottom: 1px solid #f0e4cc;
}
.filter-block:last-child { border-bottom: none; padding-bottom: 0; }
.filter-block h4 {
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: #0d0d0d;
    margin: 0 0 14px;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 10px;
    font-size: 16px;
    color: #2a2a2a;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-weight: 500;
}
.filter-item:hover { background: #f5ede0; color: #9a7b4f; }
.filter-item.active {
    background: #0d0d0d;
    color: #fff;
    font-weight: 800;
}
.filter-item.active .count { color: rgba(255,255,255,0.65); }
.filter-item .count { color: #aaa; font-size: 11px; }

/* Price */
.price-presets {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}
.preset {
    padding: 9px 12px;
    background: #fff;
    border: 1px solid #e8d5b0;
    border-radius: 4px;
    font-size: 12px;
    color: #2a2a2a;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    text-align: left;
}
.preset:hover {
    background: #0d0d0d;
    color: #fff;
    border-color: #0d0d0d;
}

.price-form {
    padding-top: 12px;
    border-top: 1px dashed #e8d5b0;
}
.price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.price-inputs input {
    flex: 1;
    padding: 9px 10px;
    border: 1px solid #d4af7a;
    background: #fff;
    font-size: 12px;
    font-family: 'Jost', sans-serif;
    border-radius: 4px;
    min-width: 0;
    width: 100%;
    outline: none;
}
.price-inputs input:focus { border-color: #9a7b4f; }
.price-inputs span { color: #888; font-size: 12px; }
.apply-btn {
    width: 100%;
    padding: 10px;
    background: #0d0d0d;
    color: #fff;
    border: none;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}
.apply-btn:hover { background: #9a7b4f; }

/* Color list */
.color-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.color-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    color: #2a2a2a;
    font-size: 12px;
    transition: all 0.2s;
}
.color-item:hover { background: #f5ede0; }
.color-item.active {
    background: #0d0d0d;
    color: #fff;
}
.color-item.active .count { color: rgba(255,255,255,0.6); }
.color-item .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.color-item .name {
    flex: 1;
    text-transform: capitalize;
}
.color-item .count { color: #888; font-size: 11px; }

/* Size list */
.size-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.size-item {
    padding: 9px 0;
    background: #fff;
    border: 1px solid #d4af7a;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #0d0d0d;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
}
.size-item:hover { border-color: #9a7b4f; background: #f5ede0; }
.size-item.active {
    background: #0d0d0d;
    color: #fff;
    border-color: #0d0d0d;
}

/* Sidebar overlay (mobile only) */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}
.sidebar-overlay.active { display: block; }

/* ═══════════════════════════════════════════════════════════════════
   PRODUCTS AREA (right side)
   ═══════════════════════════════════════════════════════════════════ */
.products-area { min-width: 0; }

/* TOOLBAR: search · filter btn (mobile) · view · sort */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e8d5b0;
    border-radius: 4px;
    margin-bottom: 28px;
}

.shop-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 240px;
    min-width: 200px;
    max-width: 420px;
    padding: 8px 14px;
    border: 1px solid #e8d5b0;
    border-radius: 4px;
    background: #faf8f4;
}

.shop-search-form i {
    color: #9a7b4f;
    font-size: 16px;
    flex-shrink: 0;
}

.shop-search-form input[type="search"] {
    border: none;
    background: transparent;
    width: 100%;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    color: #0d0d0d;
    outline: none;
}

.shop-search-form input[type="search"]::placeholder {
    color: #999;
}

.view-toggle {
    margin-left: auto;
}

.mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: transparent;
    border: 1px solid #d4af7a;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0d0d0d;
    font-weight: 500;
}
.mobile-filter-btn i { font-size: 15px; }
.mobile-filter-btn .badge {
    background: #9a7b4f;
    color: #fff;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0;
}

/* CENTER: view toggle */
.view-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    grid-column: 2;
}
.view-label {
    font-size: 13px;
    color: #666;
    font-weight: 400;
    margin-right: 4px;
}
.view-btn {
    width: 40px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    color: #c0b8a6;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 3px;
    padding: 0;
}
.view-btn:hover {
    color: #0d0d0d;
    background: #f5ede0;
}
.view-btn.active {
    color: #0d0d0d;
    background: #0d0d0d;
    color: #fff;
    border-color: #0d0d0d;
}

/* RIGHT: sort */
.sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
}
.sort-wrap label {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}
.sort-wrap select {
    padding: 8px 28px 8px 10px;
    border: 1px solid #d4af7a;
    background: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    color: #0d0d0d;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath d='M3 4.5L6 7.5L9 4.5' stroke='%230d0d0d' stroke-width='1.2' fill='none' stroke-linecap='round'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.sort-wrap select:hover { border-color: #9a7b4f; }

/* ═══════════════════════════════════════════════════════════════════
   PRODUCTS GRID — simple homepage style
   ═══════════════════════════════════════════════════════════════════ */
.products-grid {
    display: grid;
    gap: 24px;
    transition: grid-template-columns 0.3s ease;
}
.products-grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.products-grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.products-grid[data-cols="4"] { grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Product card styles: /assets/css/product-cards.css */

/* ─── EMPTY STATE ─── */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e8d5b0;
}
.empty-state i {
    font-size: 54px;
    color: #d4af7a;
    margin-bottom: 20px;
    display: block;
}
.empty-state h3 {
    font-family: 'Jost', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #0d0d0d;
    margin: 0 0 10px;
}
.empty-state p { font-size: 14px; }
.empty-state a { color: #9a7b4f; }

/* ─── PAGINATION ─── */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 60px;
    padding: 20px 0;
}
.page-num, .page-btn {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #d4af7a;
    background: #fff;
    color: #0d0d0d;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s;
    gap: 6px;
}
.page-num:hover, .page-btn:hover {
    border-color: #0d0d0d;
    background: #f5ede0;
}
.page-num.active {
    background: #0d0d0d;
    color: #fff;
    border-color: #0d0d0d;
}
.page-btn {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.dots { color: #aaa; padding: 0 4px; }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .shop-layout { grid-template-columns: 240px 1fr; gap: 28px; padding: 20px 24px 40px; }
    .products-grid[data-cols="4"] { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .products-grid[data-cols="3"],
    .products-grid[data-cols="4"] { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .shop-header { padding: 32px 20px 20px; }
    .shop-title { font-size: 34px; }
    .shop-count { font-size: 11px; }

    .category-banner { height: 280px; }
    .banner-content h1 { font-size: 42px; }
    .banner-content p { font-size: 13px; }

    .shop-layout {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 0;
    }

    /* Sidebar becomes off-canvas on mobile */
    .shop-sidebar {
        position: fixed;
        top: 0; left: 0;
        height: 100vh;
        width: 88%;
        max-width: 340px;
        max-height: 100vh;
        background: #fbf8f2;
        z-index: 999;
        padding: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    }
    .shop-sidebar.mobile-open { transform: translateX(0); }
    .close-mobile { display: inline-flex; align-items: center; justify-content: center; }

    .mobile-filter-btn { display: inline-flex; }

    .toolbar {
        padding: 12px 14px;
        gap: 10px;
    }
    .view-toggle { gap: 6px; display: none;}
    .view-label { display: none; }
    .view-btn { width: 34px; height: 32px; }
    .sort-wrap label { display: none; }
    .sort-wrap select { font-size: 12px; padding: 7px 26px 7px 10px; max-width: 160px; }

    .products-grid,
    .products-grid[data-cols="2"],
    .products-grid[data-cols="3"],
    .products-grid[data-cols="4"] {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .pagination { margin-top: 40px; flex-wrap: wrap; gap: 3px; }
    .page-num, .page-btn { min-width: 34px; height: 34px; font-size: 12px; }
}

@media (max-width: 480px) {
    .shop-title { font-size: 28px; }
    .banner-content h1 { font-size: 32px; }
    .products-grid { gap: 10px !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE (clean, Jost only, no italic)
   ═══════════════════════════════════════════════════════════════════ */
.product-detail { max-width: 1280px; margin: 0 auto; padding: 30px 40px; }
.pd-breadcrumb { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #666; margin-bottom: 28px; }
.pd-breadcrumb a { color: #9a7b4f; text-decoration: none; }
.pd-breadcrumb .sep { color: #d4af7a; margin: 0 6px; }
.pd-main-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; margin-bottom: 60px; }
.pd-gallery { position: relative; }
.pd-main-image { width: 100%; aspect-ratio: 3/4; background: #f5ede0; border-radius: 6px; overflow: hidden; position: relative; cursor: zoom-in; margin-bottom: 12px; }
.pd-main-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.pd-main-image.zoomed { cursor: zoom-out; }
.pd-main-image.zoomed img { transform: scale(1.8); }
.pd-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 10px; }
.pd-thumb { aspect-ratio: 3/4; background: #f5ede0; border-radius: 4px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; }
.pd-thumb.active { border-color: #9a7b4f; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-badges-overlay { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }
.pd-wishlist-float { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; background: rgba(255, 255, 255, 0.95); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #2a2a2a; font-size: 16px; z-index: 3; transition: all 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.pd-wishlist-float:hover { color: #c0392b; transform: scale(1.05); }
.pd-wishlist-float.in-wishlist { color: #c0392b; }

.pd-info { padding-top: 6px; }
.pd-category { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #9a7b4f; font-weight: 500; margin-bottom: 10px; display: block; }
.pd-name { font-family: 'Jost', sans-serif; font-weight: 500; font-size: 34px; line-height: 1.2; color: #0d0d0d; margin: 0 0 12px; letter-spacing: -0.3px; }
.pd-sku { font-size: 11px; color: #888; margin-bottom: 14px; letter-spacing: 1px; }
.pd-rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid #f0e4cc; }
.pd-rating-row .stars { color: #d4af7a; font-size: 13px; }
.pd-rating-row .num { font-size: 13px; color: #0d0d0d; font-weight: 500; }
.pd-rating-row .count { font-size: 12px; color: #888; }
.pd-rating-row a { color: #9a7b4f; text-decoration: none; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.pd-pricing { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pd-price { font-family: 'Jost', sans-serif; font-weight: 600; font-size: 30px; color: #0d0d0d; line-height: 1; }
.pd-mrp { font-size: 18px; color: #999; text-decoration: line-through; }
.pd-discount { background: #c0392b; color: #fff; padding: 4px 10px; border-radius: 3px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.pd-short-desc { font-size: 14px; color: #444; line-height: 1.75; margin-bottom: 24px; font-weight: 300; }
.pd-stock-indicator { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 4px; margin-bottom: 22px; font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; font-weight: 500; }
.pd-stock-ready { background: #d4edda; color: #155724; }
.pd-stock-mto { background: #fff3cd; color: #856404; }
.pd-stock-out { background: #f8d7da; color: #721c24; }

.pd-variant-section { margin-bottom: 22px; }
.pd-variant-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pd-variant-label .label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #0d0d0d; font-weight: 600; }
.pd-variant-label .selected { font-size: 12px; color: #9a7b4f; font-weight: 500; }
.pd-size-chart-link { font-size: 11px; color: #9a7b4f; text-decoration: none; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; font-weight: 500; background: none; border: none; padding: 0; }
.pd-size-chart-link:hover { color: #0d0d0d; }

.pd-size-options { display: flex; flex-wrap: wrap; gap: 7px; }
.pd-size-option { min-width: 50px; padding: 10px 14px; border: 1px solid #d4af7a; background: #fff; font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 500; color: #0d0d0d; cursor: pointer; text-align: center; border-radius: 3px; transition: all 0.2s; }
.pd-size-option:hover { border-color: #9a7b4f; }
.pd-size-option.selected { background: #0d0d0d; color: #fff; border-color: #0d0d0d; }
.pd-size-option.out-of-stock { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

.pd-color-options { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-color-option { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #d4af7a; cursor: pointer; transition: all 0.2s; }
.pd-color-option:hover { transform: scale(1.1); }
.pd-color-option.selected { box-shadow: 0 0 0 2px #0d0d0d; }

.pd-purchase-row { display: flex; gap: 10px; margin-bottom: 14px; }
.pd-qty-selector { display: flex; align-items: center; border: 1px solid #d4af7a; border-radius: 4px; overflow: hidden; background: #fff; }
.pd-qty-btn { width: 42px; height: 46px; background: none; border: none; cursor: pointer; font-size: 16px; color: #9a7b4f; transition: background 0.2s; }
.pd-qty-btn:hover { background: #f5ede0; }
.pd-qty-input { width: 46px; height: 46px; border: none; text-align: center; font-size: 14px; font-family: 'Jost', sans-serif; background: transparent; }
.pd-qty-input:focus { outline: none; }

.pd-add-to-bag { flex: 1; padding: 14px 22px; background: #0d0d0d; color: #fff; border: 1px solid #0d0d0d; font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 500; cursor: pointer; border-radius: 4px; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pd-add-to-bag:hover { background: #9a7b4f; border-color: #9a7b4f; }
.pd-add-to-bag:disabled { opacity: 0.5; cursor: not-allowed; }

.pd-secondary-actions { display: flex; gap: 10px; margin-bottom: 24px; }
.pd-secondary-btn { flex: 1; padding: 11px 18px; background: transparent; border: 1px solid #d4af7a; color: #0d0d0d; font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 500; cursor: pointer; border-radius: 4px; transition: all 0.2s; text-decoration: none; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.pd-secondary-btn:hover { background: #9a7b4f; color: #fff; border-color: #9a7b4f; }

.pd-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 18px; background: #fbf8f2; border: 1px solid #e8d5b0; border-radius: 6px; margin-bottom: 24px; }
.pd-benefit { display: flex; align-items: center; gap: 9px; font-size: 11px; }
.pd-benefit i { color: #9a7b4f; font-size: 16px; }
.pd-benefit div strong { display: block; font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; color: #0d0d0d; font-weight: 600; margin-bottom: 2px; }
.pd-benefit div span { font-size: 10px; color: #666; }

.pd-tabs { display: flex; gap: 0; border-bottom: 1px solid #d4af7a; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tab { padding: 13px 18px; background: none; border: none; font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; color: #888; cursor: pointer; position: relative; white-space: nowrap; transition: color 0.2s; }
.pd-tab.active { color: #0d0d0d; }
.pd-tab.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: #9a7b4f; }

.pd-tab-content { font-family: 'Jost', sans-serif; font-size: 14px; line-height: 1.75; color: #2a2a2a; padding: 10px 0; min-height: 100px; font-weight: 300; }
.pd-tab-content ul { padding-left: 20px; }
.pd-tab-content li { margin-bottom: 8px; }
.pd-tab-content.hidden { display: none; }

.pd-related { margin-top: 56px; padding-top: 56px; border-top: 1px solid #f0e4cc; }
.pd-related-head { text-align: center; margin-bottom: 36px; }
.pd-related-head .eyebrow { display: inline-block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #9a7b4f; font-weight: 500; margin-bottom: 10px; }
.pd-related-head h2 { font-family: 'Jost', sans-serif; font-weight: 500; font-size: 30px; color: #0d0d0d; margin: 0; letter-spacing: -0.3px; }

/* Size chart modal */
.size-chart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.size-chart-overlay.open { display: flex; }
.size-chart-modal { background: #fbf8f2; max-width: 720px; width: 100%; max-height: 85vh; overflow-y: auto; border-radius: 8px; padding: 30px; position: relative; }
.size-chart-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; background: none; border: none; font-size: 18px; cursor: pointer; color: #0d0d0d; border-radius: 50%; }
.size-chart-close:hover { background: #f5ede0; }
.size-chart-modal h3 { font-family: 'Jost', sans-serif; font-weight: 500; font-size: 26px; color: #0d0d0d; margin: 0 0 18px; }
.size-chart-table { width: 100%; border-collapse: collapse; font-family: 'Jost', sans-serif; font-size: 13px; }
.size-chart-table th { background: #9a7b4f; color: #fff; padding: 11px; text-align: left; font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; font-weight: 500; }
.size-chart-table td { padding: 9px 11px; border-bottom: 1px solid #e8d5b0; color: #2a2a2a; }
.size-chart-table tr:nth-child(even) td { background: #fff; }
.size-chart-note { font-size: 12px; color: #666; margin-top: 14px; font-weight: 300; }

@media (max-width: 768px) {
    .product-detail { padding: 20px; }
    .pd-main-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
    .pd-name { font-size: 26px; }
    .pd-price { font-size: 24px; }
    .pd-mrp { font-size: 15px; }
    .pd-benefits { grid-template-columns: 1fr; }
    .pd-thumbs { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); }
    .pd-tab { padding: 11px 13px; font-size: 10px; letter-spacing: 1.5px; }
    .pd-related-head h2 { font-size: 24px; }
}