/* ===== SHOP PAGE ===== */

/* Active nav */
.nav-active {
    color: var(--gold) !important;
}

.nav-active::after {
    width: 100% !important;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 400;
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--gray);
    transition: color 0.3s var(--ease);
}

.breadcrumb a:hover {
    color: var(--black);
}

.breadcrumb span {
    color: var(--gray-light);
}

.breadcrumb span:last-child {
    color: var(--black);
}

/* Shop Hero */
.shop-hero {
    padding: 4rem 0 2rem;
    background: var(--white);
    text-align: center;
}

.shop-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
    color: var(--black);
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.shop-hero p {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 300;
    line-height: 1.8;
    max-width: 420px;
    margin: 0 auto;
}

/* Products Section */
.shop-products {
    padding: 2rem 0 6rem;
    background: var(--white);
}

/* 3-column grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Override product-card-info for shop page — left aligned like BCS */
.shop-grid .product-card-info {
    text-align: left;
    padding: 1.2rem 0.3rem;
}

.shop-grid .product-card-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.shop-grid .product-type {
    margin-bottom: 0.3rem;
}

.shop-grid .product-price {
    margin-bottom: 0;
}

.shop-grid .product-brand {
    margin-bottom: 0.3rem;
}

/* ===== Image Hover Overlay ===== */
.shop-grid .product-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.06);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
    z-index: 1;
}

.shop-grid .product-card:hover .product-card-img::after {
    opacity: 1;
}

/* ===== Quick Add Bag Button ===== */
.quick-add-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 3;
    opacity: 1;
    transition: background 0.3s var(--ease);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.quick-add-btn:hover {
    background: var(--gold) !important;
}

/* ===== Quick View Modal ===== */
.qv-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.qv-overlay.active {
    opacity: 1;
    visibility: visible;
}

.qv-modal {
    background: var(--white);
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s var(--ease);
}

.qv-overlay.active .qv-modal {
    transform: translateY(0) scale(1);
}

.qv-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--gray);
    cursor: pointer;
    z-index: 2;
    line-height: 1;
    transition: color 0.3s var(--ease);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qv-close:hover {
    color: var(--black);
}

.qv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.qv-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--cream);
}

.qv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qv-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qv-category {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.qv-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 0.3rem;
    letter-spacing: 0.01em;
}

.qv-brand {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.qv-brand:empty {
    display: none;
}

.qv-price {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 1.2rem;
}

.qv-desc {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1.8rem;
}

/* Quantity selector */
.qv-qty {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 1.2rem;
    max-width: 130px;
}

.qv-qty-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--gray-light);
    color: var(--black);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease);
}

.qv-qty-btn:hover {
    background: var(--cream);
}

.qv-qty-input {
    width: 50px;
    height: 40px;
    border: 1px solid var(--gray-light);
    border-left: none;
    border-right: none;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--black);
    -moz-appearance: textfield;
    outline: none;
}

.qv-qty-input::-webkit-outer-spin-button,
.qv-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to cart button */
.qv-add-btn {
    width: 100%;
    padding: 1rem;
    background: var(--black);
    color: var(--white);
    border: 1px solid var(--black);
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    margin-bottom: 1rem;
}

.qv-add-btn:hover {
    background: transparent;
    color: var(--black);
}

.qv-details-link {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--gray);
    transition: color 0.3s var(--ease);
    text-align: center;
    display: block;
}

.qv-details-link:hover {
    color: var(--black);
}

/* ===== Cart Drawer ===== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: var(--white);
    z-index: 2600;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.8rem;
    border-bottom: 1px solid var(--gray-light);
    flex-shrink: 0;
}

.cart-drawer-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--black);
}

.cart-drawer-header h3 span {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 300;
}

.cart-drawer-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s var(--ease);
    line-height: 1;
}

.cart-drawer-close:hover {
    color: var(--black);
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.8rem;
}

.cart-empty {
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
    padding: 3rem 0;
    font-weight: 300;
}

/* Cart item */
.cart-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--gray-light);
    align-items: start;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    background: var(--cream);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cart-item-category {
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 500;
}

.cart-item-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    color: var(--black);
}

.cart-item-price {
    font-size: 0.82rem;
    color: var(--black);
    font-weight: 400;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.4rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0;
}

.cart-item-qty button {
    width: 28px;
    height: 28px;
    background: none;
    border: 1px solid var(--gray-light);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    transition: background 0.2s var(--ease);
}

.cart-item-qty button:hover {
    background: var(--cream);
}

.cart-item-qty span {
    width: 32px;
    height: 28px;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 400;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.3s var(--ease);
    padding: 0.2rem;
}

.cart-item-remove:hover {
    color: #c0392b;
}

/* Cart footer */
.cart-drawer-footer {
    padding: 1.2rem 1.8rem 1.8rem;
    border-top: 1px solid var(--gray-light);
    flex-shrink: 0;
}

.cart-drawer-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--black);
}

.cart-checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid var(--black);
    transition: all 0.3s var(--ease);
}

.cart-checkout-btn:hover {
    background: transparent;
    color: var(--black);
}

/* Hide footer when cart is empty */
.cart-drawer-footer.hidden {
    display: none;
}

/* ===== Coming Soon (empty category) ===== */
.shop-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.shop-coming-soon {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.shop-coming-soon i {
    font-size: 2.5rem;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}

.shop-coming-soon h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--black);
    margin-bottom: 1rem;
}

.shop-coming-soon p {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 300;
    line-height: 1.8;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.shop-coming-soon .btn-dark {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid var(--black);
    transition: all 0.3s var(--ease);
}

.shop-coming-soon .btn-dark:hover {
    background: transparent;
    color: var(--black);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .shop-hero {
        padding: 3rem 0 1.5rem;
    }

    .shop-hero h1 {
        font-size: 2rem;
    }

    .shop-hero p {
        font-size: 0.85rem;
    }

    .breadcrumb {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .shop-products {
        padding: 1.5rem 0 4rem;
    }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .shop-grid .product-card-info {
        padding: 1rem 0.2rem;
    }

    .shop-grid .product-card-info h3 {
        font-size: 1rem;
    }

    .shop-grid .product-type {
        font-size: 0.55rem;
    }

    .shop-grid .product-price {
        font-size: 0.82rem;
    }

    .shop-grid .quick-add-btn {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
        bottom: 10px;
        right: 10px;
    }

    /* Quick View — single column */
    .qv-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .qv-modal {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 12px 12px 0 0;
    }

    .qv-grid {
        grid-template-columns: 1fr;
    }

    .qv-image {
        aspect-ratio: 4/5;
        max-height: 320px;
    }

    .qv-info {
        padding: 1.5rem;
    }

    .qv-name {
        font-size: 1.5rem;
    }

    .qv-desc {
        font-size: 0.82rem;
        margin-bottom: 1.2rem;
    }

    /* Cart drawer — wider on mobile */
    .cart-drawer {
        width: 100%;
        max-width: 400px;
    }

    .cart-drawer-header {
        padding: 1.2rem 1.3rem;
    }

    .cart-drawer-items {
        padding: 0.8rem 1.3rem;
    }

    .cart-drawer-footer {
        padding: 1rem 1.3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .shop-grid {
        gap: 0.8rem;
    }

    .shop-grid .product-card-info {
        padding: 0.8rem 0.2rem;
    }

    .shop-grid .product-card-info h3 {
        font-size: 0.95rem;
    }
}

/* ===== GIFT SECTIONS ===== */
.gift-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.gift-section-title i {
    color: var(--gold);
    margin-right: 0.5rem;
    font-size: 0.9em;
}

.gift-section-desc {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-style: italic;
    font-weight: 300;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.shop-products + .shop-products {
    padding-top: 0;
}

/* Gift Banner */
.gift-banner {
    width: 100%;
    overflow: hidden;
}

.gift-banner img {
    width: 100%;
    height: auto;
    display: block;
}
