/* ========================================
   FABULOOKS SHOP STYLES
   ======================================== */

:root {
    --gold: #c9a961;
    --gold-light: #d4b978;
    --black: #0a0a0a;
    --charcoal: #1a1a1a;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-400: #a0a0a0;
    --gray-600: #666666;
    --red: #dc3545;
    --green: #28a745;
}

/* ========================================
   SHOP HERO
   ======================================== */

.shop-hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--black);
    text-align: center;
    overflow: hidden;
}

.shop-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, transparent 50%),
        linear-gradient(225deg, rgba(201, 169, 97, 0.05) 0%, transparent 50%);
}

.shop-hero .container {
    position: relative;
    z-index: 1;
}

.shop-hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.shop-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    color: var(--white);
    margin: 0 0 20px;
    line-height: 1.2;
}

.shop-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   SHOP LAYOUT
   ======================================== */

.shop-content {
    background: var(--charcoal);
    padding: 60px 0 100px;
    min-height: 80vh;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

@media (max-width: 991px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SIDEBAR
   ======================================== */

.shop-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
}
.shop-sidebar-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-sidebar-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
}

.shop-sidebar-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.shop-sidebar-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

/* Mobile Sidebar */
@media (max-width: 991px) {
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        max-width: 90vw;
        height: 100vh;
        z-index: 9998;
        border-radius: 0;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        padding-top: 20px;
    }

    .shop-sidebar.open {
        transform: translateX(0);
    }

    .shop-sidebar-header {
        display: flex;
    }

    body.sidebar-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        z-index: 9997;
    }
}

/* Filter Groups */
.shop-filter-group {
    margin-bottom: 28px;
}

.shop-filter-group:last-of-type {
    margin-bottom: 20px;
}

.shop-filter-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 16px;
}

/* Search */
.shop-search {
    position: relative;
}

.shop-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: var(--gray-400);
    pointer-events: none;
}

.shop-search input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.shop-search input::placeholder {
    color: var(--gray-400);
}

.shop-search input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

/* Categories */
.shop-categories {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shop-category-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shop-category-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.shop-category-btn.active {
    background: rgba(201, 169, 97, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}

.category-count {
    font-size: 0.8rem;
    color: var(--gray-400);
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.shop-category-btn.active .category-count {
    background: rgba(201, 169, 97, 0.3);
    color: var(--gold);
}

/* Price Range */
.shop-price-range .price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.price-input {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0 12px;
    transition: border-color 0.3s ease;
}

.price-input:focus-within {
    border-color: var(--gold);
}

.price-input span {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.price-input input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 8px;
    color: var(--white);
    font-size: 0.95rem;
    width: 100%;
}

.price-input input:focus {
    outline: none;
}

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

.price-separator {
    color: var(--gray-400);
}

.price-apply-btn {
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 6px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.price-apply-btn:hover {
    background: var(--gold);
    color: var(--black);
}

/* Clear Filters */
.shop-clear-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-clear-filters svg {
    width: 16px;
    height: 16px;
}

.shop-clear-filters:hover {
    border-color: var(--red);
    color: var(--red);
}

/* ========================================
   TOOLBAR
   ======================================== */

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.shop-toolbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shop-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-filter-toggle svg {
    width: 18px;
    height: 18px;
}

.shop-filter-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
}

@media (max-width: 991px) {
    .shop-filter-toggle {
        display: flex;
    }
}

.shop-results-count {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin: 0;
}

.shop-toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Sort */
.shop-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-sort label {
    color: var(--gray-400);
    font-size: 0.9rem;
    white-space: nowrap;
}

.shop-sort select {
    padding: 10px 36px 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.3s ease;
}

.shop-sort select:focus {
    outline: none;
    border-color: var(--gold);
}

.shop-sort select option {
    background: var(--charcoal);
    color: var(--white);
}

/* View Toggle */
.shop-view-toggle {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 4px;
}

.view-btn {
    padding: 8px 10px;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--gray-400);
    display: block;
}

.view-btn:hover svg {
    stroke: var(--white);
}

.view-btn.active {
    background: var(--gold);
}

.view-btn.active svg {
    stroke: var(--black);
}

@media (max-width: 600px) {
    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-toolbar-left,
    .shop-toolbar-right {
        justify-content: space-between;
    }

    .shop-sort label {
        display: none;
    }
}

/* ========================================
   PRODUCTS GRID
   ======================================== */

.shop-products.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.shop-products.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Loading State */
.shop-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: var(--gray-400);
}

.shop-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Empty & Error States */
.shop-empty,
.shop-error {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.shop-empty svg,
.shop-error svg {
    width: 64px;
    height: 64px;
    stroke: var(--gray-400);
    margin-bottom: 20px;
}

.shop-empty h3,
.shop-error h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin: 0 0 8px;
}

.shop-empty p,
.shop-error p {
    color: var(--gray-400);
    margin: 0 0 20px;
}

.shop-clear-btn,
.shop-retry-btn {
    padding: 12px 24px;
    background: var(--gold);
    border: none;
    border-radius: 6px;
    color: var(--black);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-clear-btn:hover,
.shop-retry-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* ========================================
   PRODUCT CARD
   ======================================== */

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: rgba(201, 169, 97, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Image Wrapper */
.product-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

/* Badges */
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
}

.badge-bestseller {
    background: var(--gold);
    color: var(--black);
}

.badge-new {
    background: #3b82f6;
    color: var(--white);
}

.badge-sale {
    background: var(--red);
    color: var(--white);
}

.badge-limited {
    background: #8b5cf6;
    color: var(--white);
}

/* Product Actions (hover overlay) */
.product-actions {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-quick-view,
.product-add-cart {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-quick-view svg,
.product-add-cart svg {
    width: 20px;
    height: 20px;
    stroke: var(--black);
}

.product-quick-view:hover,
.product-add-cart:hover {
    background: var(--gold);
    transform: scale(1.1);
}

/* Product Info */
.product-info {
    padding: 20px;
}

.product-category {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    margin: 0 0 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin: 0 0 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.product-rating .stars {
    display: flex;
    gap: 2px;
}

.product-rating .star {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

.product-rating .star.empty {
    color: var(--gray-600);
}

.rating-count {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* Price Row */
.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-original {
    font-size: 0.9rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.product-stock {
    font-size: 0.75rem;
    font-weight: 500;
}

.product-stock.low {
    color: var(--red);
}

/* Add to Cart Button */
.product-add-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 6px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-add-cart-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--gold);
    transition: stroke 0.3s ease;
}

.product-add-cart-btn:hover {
    background: var(--gold);
    color: var(--black);
}

.product-add-cart-btn:hover svg {
    stroke: var(--black);
}

/* ========================================
   LIST VIEW
   ======================================== */

.shop-products.list-view .product-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
}

.shop-products.list-view .product-image-wrapper {
    aspect-ratio: 1;
    border-radius: 12px 0 0 12px;
}

.shop-products.list-view .product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 30px;
}

.shop-products.list-view .product-name {
    font-size: 1.25rem;
    -webkit-line-clamp: 1;
}

.shop-products.list-view .product-desc {
    -webkit-line-clamp: 3;
}

.shop-products.list-view .product-add-cart-btn {
    width: auto;
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 600px) {
    .shop-products.list-view .product-card {
        grid-template-columns: 1fr;
    }

    .shop-products.list-view .product-image-wrapper {
        border-radius: 12px 12px 0 0;
        aspect-ratio: 16/9;
    }
}

/* ========================================
   PAGINATION
   ======================================== */

.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn svg {
    width: 16px;
    height: 16px;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--gold);
    color: var(--gold);
}

.pagination-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
    font-weight: 600;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-pages {
    display: flex;
    gap: 4px;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--gray-400);
}

/* ========================================
   PRODUCT MODAL
   ======================================== */

.product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
    padding: 40px 20px;
}

.product-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.product-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.product-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

.product-modal-close:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.product-modal-close:hover svg {
    stroke: var(--black);
}

.product-modal-content {
    padding: 40px;
}

.product-modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* Modal Product Layout */
.modal-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .modal-product {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-modal-content {
        padding: 24px;
    }
}

/* Modal Gallery */
.modal-product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-main-image {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

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

.modal-main-image .product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
}

.modal-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    background: none;
    padding: 0;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.gallery-thumb.active {
    border-color: var(--gold);
}

/* Modal Product Info */
.modal-product-info {
    display: flex;
    flex-direction: column;
}

.modal-category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.modal-product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--white);
    margin: 0 0 16px;
    line-height: 1.3;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.modal-rating .stars {
    display: flex;
    gap: 2px;
}

.modal-rating .star {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.modal-rating span {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.modal-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.modal-price .price-original {
    font-size: 1.1rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.modal-price .price-current {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gold);
}

.modal-short-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0 0 24px;
}

/* Quantity Selector */
.modal-quantity {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.modal-quantity label {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.quantity-selector .qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-selector .qty-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
}

.quantity-selector input {
    width: 50px;
    height: 40px;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    text-align: center;
}

.quantity-selector input:focus {
    outline: none;
}

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

.stock-warning {
    font-size: 0.85rem;
    color: var(--red);
    font-weight: 500;
}

/* Modal Actions */
.modal-actions {
    margin-bottom: 24px;
}

.modal-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    background: var(--gold);
    border: none;
    border-radius: 8px;
    color: var(--black);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-add-cart svg {
    width: 20px;
    height: 20px;
    stroke: var(--black);
}

.modal-add-cart:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.modal-add-cart.added {
    background: var(--green);
}

/* Modal Description */
.modal-description {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-description h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 12px;
}

.modal-description .description-content {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.modal-description .description-content p {
    margin: 0 0 12px;
}

.modal-description .description-content p:last-child {
    margin-bottom: 0;
}

.modal-sku {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin: 20px 0 0;
}

/* Modal Reviews */
.modal-reviews {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-reviews h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--white);
    margin: 0 0 20px;
}

.modal-review {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 12px;
}

.modal-review:last-child {
    margin-bottom: 0;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    color: var(--white);
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars .star {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

.review-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 8px;
}

.review-content {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* Modal Related Products */
.modal-related {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-related h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--white);
    margin: 0 0 20px;
}

.related-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .related-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

.related-product {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.related-product:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.related-product img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.related-product h5 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
    margin: 0;
    padding: 12px 12px 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-price {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    padding: 0 12px 12px;
}

/* ========================================
   CART NOTIFICATION
   ======================================== */

.cart-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--charcoal);
    border: 1px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
}

.cart-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.cart-notification svg {
    width: 20px;
    height: 20px;
    stroke: var(--gold);
    flex-shrink: 0;
}

.cart-notification span {
    color: var(--white);
    font-size: 0.95rem;
}

/* ========================================
   BACK TO TOP
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.3);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    stroke: var(--black);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.4);
}

/* ========================================
   BODY STATES
   ======================================== */

body.modal-open,
body.cart-open,
body.sidebar-open,
body.nav-open {
    overflow: hidden;
}

/* ========================================
   NAV SOLID (for shop page)
   ======================================== */

.nav.nav-solid {
    background: var(--black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 480px) {
    .shop-hero {
        padding: 140px 0 60px;
    }

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

    .shop-content {
        padding: 40px 0 80px;
    }

    .shop-products.grid-view {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-info {
        padding: 14px;
    }

    .product-name {
        font-size: 0.95rem;
    }

    .price-current {
        font-size: 1.1rem;
    }

    .product-add-cart-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    .product-actions {
        display: none;
    }

    .cart-notification {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}