/* ═══════════════════════════════════════════
   SHOP.CSS — Zenvastra Ecommerce Layer
   Extends index.css without overriding it
   ═══════════════════════════════════════════ */

/* ─── Nav Extensions ─── */
nav {
    mix-blend-mode: normal !important;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s ease;
}

nav.scrolled {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: rgba(8,8,8,0.97);
}

.nav-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    padding: 0.55rem 1.2rem;
    flex: 0 0 260px;
    color: var(--silver);
    transition: all 0.3s ease;
}

.nav-search:focus-within {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
}

.nav-search input {
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    width: 100%;
}

.nav-search input::placeholder {
    color: rgba(192,192,192,0.4);
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 340px;
    background: #111;
    border: 1px solid var(--ghost-grey);
    border-radius: 14px;
    overflow: hidden;
    z-index: 2000;
    display: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.search-dropdown.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: rgba(255,255,255,0.05);
}

.search-result-item img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--ghost-grey);
}

.search-result-text h5 {
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--white);
}

.search-result-text span {
    font-size: 0.7rem;
    color: var(--silver);
}

/* ─── Nav Icons ─── */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    color: var(--silver);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #fff;
    color: #0a0a0a;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popIn {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}

/* Mobile search toggle */
.mobile-search {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10,10,10,0.97);
    border-bottom: 1px solid var(--ghost-grey);
    padding: 0.8rem 5%;
    z-index: 999;
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-search.open {
    transform: translateY(0);
}

.mobile-search-inner {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    color: var(--silver);
}

.mobile-search-inner input {
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    width: 100%;
}

/* ─── Hero CTA ─── */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--onyx);
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s forwards 1.1s;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta:hover {
    background: var(--silver);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255,255,255,0.15);
}

/* ─── Category Filter Bar ─── */
.category-filter-bar {
    padding: 1.5rem 5%;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(45,45,45,0.5);
}

.cat-btn {
    padding: 0.5rem 1.2rem;
    background: transparent;
    border: 1px solid var(--ghost-grey);
    border-radius: 50px;
    color: var(--silver);
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cat-btn:hover,
.cat-btn.active {
    background: var(--white);
    color: var(--onyx);
    border-color: var(--white);
}

/* ─── Product Card Enhancements ─── */
.product-card {
    position: relative;
}

.product-img-wrapper {
    position: relative;
}

.wishlist-heart {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(10,10,10,0.7);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    color: var(--silver);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.product-card:hover .wishlist-heart {
    opacity: 1;
    transform: scale(1);
}

.wishlist-heart.active {
    opacity: 1 !important;
    transform: scale(1) !important;
    background: rgba(255,255,255,0.15);
    color: #ff6b6b;
}

.wishlist-heart.active svg {
    fill: #ff6b6b;
    stroke: #ff6b6b;
}

.product-hover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 0 0 15px 15px;
}

.product-card:hover .product-hover-overlay {
    opacity: 1;
}

.quick-view-btn {
    padding: 0.55rem 1.4rem;
    background: rgba(255,255,255,0.9);
    color: var(--onyx);
    border: none;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-view-btn:hover {
    background: var(--white);
    transform: scale(1.05);
}

/* View Product Button */
.view-product-btn {
    display: block;
    margin-top: 0.8rem;
    padding: 0.5rem;
    text-align: center;
    background: transparent;
    border: 1px solid var(--ghost-grey);
    border-radius: 8px;
    color: var(--silver);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-product-btn:hover {
    background: var(--white);
    color: var(--onyx);
    border-color: var(--white);
}

/* ─── No Results ─── */
.no-results {
    text-align: center;
    padding: 4rem 5%;
    color: var(--silver);
    font-size: 0.85rem;
    letter-spacing: 2px;
    opacity: 0.5;
}

/* ─── Cart Sidebar ─── */
.cart-overlay,
.wishlist-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
}

.cart-overlay.active,
.wishlist-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-sidebar,
.wishlist-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: #0d0d0d;
    border-left: 1px solid var(--ghost-grey);
    z-index: 3100;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-sidebar.open,
.wishlist-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 2rem;
    border-bottom: 1px solid var(--ghost-grey);
}

.cart-header h3 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.cart-close {
    background: none;
    border: none;
    color: var(--silver);
    font-size: 1.2rem;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.cart-close:hover {
    background: var(--ghost-grey);
    color: var(--white);
}

.cart-items,
.wishlist-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 250px;
    color: var(--silver);
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Cart Item */
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(45,45,45,0.5);
    animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.cart-item-img {
    width: 70px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--ghost-grey);
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h5 {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-meta {
    font-size: 0.62rem;
    color: var(--silver);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.cart-item-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
}

.cart-item-remove {
    background: none;
    border: none;
    color: rgba(192,192,192,0.4);
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    align-self: flex-start;
    transition: color 0.2s;
}

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

.cart-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--ghost-grey);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
    color: var(--silver);
}

.cart-total-row.grand {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ghost-grey);
}

.btn-cart-checkout {
    width: 100%;
    padding: 1rem;
    background: var(--white);
    color: var(--onyx);
    border: none;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1.2rem;
    transition: all 0.3s ease;
}

.btn-cart-checkout:hover {
    background: var(--silver);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

/* ─── Quick View Modal ─── */
.qv-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.qv-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.qv-modal {
    background: #0e0e0e;
    border: 1px solid var(--ghost-grey);
    border-radius: 20px;
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--ghost-grey);
    border-radius: 50%;
    color: var(--silver);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

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

.qv-img-wrap {
    aspect-ratio: 3/4;
    background: var(--ghost-grey);
    border-radius: 20px 0 0 20px;
    overflow: hidden;
}

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

.qv-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.qv-info .category {
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--silver);
}

.qv-info h2 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.qv-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.qv-desc {
    font-size: 0.82rem;
    color: var(--silver);
    line-height: 1.7;
    margin: 0;
}

.option-label-sm {
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 0.6rem;
}

.size-grid-sm {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.size-btn-sm {
    width: 44px;
    height: 44px;
    border: 1px solid var(--ghost-grey);
    background: transparent;
    color: var(--silver);
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-transform: uppercase;
}

.size-btn-sm:hover,
.size-btn-sm.active {
    background: var(--white);
    color: var(--onyx);
    border-color: var(--white);
    font-weight: 700;
}

.qv-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: auto;
}

.btn-primary-sm {
    padding: 0.9rem 1.5rem;
    background: var(--white);
    color: var(--onyx);
    border: none;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary-sm:hover {
    background: var(--silver);
    transform: translateY(-2px);
}

.btn-secondary-sm {
    padding: 0.9rem 1.5rem;
    background: transparent;
    color: var(--white);
    border: 1px solid var(--ghost-grey);
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-secondary-sm:hover {
    border-color: var(--silver);
    background: rgba(255,255,255,0.05);
}

/* ─── Checkout Modal (full-page) ─── */
.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(16px);
    z-index: 8000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.checkout-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.checkout-modal {
    background: #0e0e0e;
    border: 1px solid var(--ghost-grey);
    border-radius: 24px;
    width: 100%;
    max-width: 960px;
    padding: 3rem;
    margin: auto;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-overlay.active .checkout-modal {
    transform: translateY(0);
}

.checkout-modal h2 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.checkout-modal .modal-subtitle {
    font-size: 0.7rem;
    color: var(--silver);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 2.5rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
}

/* Form Styles */
.co-form-section h4 {
    font-size: 0.68rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 1.2rem;
    margin-top: 2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--ghost-grey);
}

.co-form-section h4:first-child {
    margin-top: 0;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(45,45,45,0.9);
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(192,192,192,0.5);
    background: rgba(255,255,255,0.05);
}

.form-group input.error,
.form-group select.error {
    border-color: #ff6b6b;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(192,192,192,0.25);
}

.form-group select option {
    background: #111;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.field-error {
    color: #ff6b6b;
    font-size: 0.62rem;
    letter-spacing: 1px;
    margin-top: 0.3rem;
    display: none;
}

.field-error.show {
    display: block;
}

/* Payment Methods */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--ghost-grey);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.payment-option:hover {
    border-color: rgba(192,192,192,0.3);
    background: rgba(255,255,255,0.05);
}

.payment-option.selected {
    border-color: var(--white);
    background: rgba(255,255,255,0.07);
}

.payment-option input[type="radio"] {
    width: auto;
    background: none;
    border: none;
    padding: 0;
    accent-color: white;
}

.payment-option .pay-icon {
    font-size: 1.2rem;
}

.payment-option .pay-label {
    font-size: 0.78rem;
    letter-spacing: 1px;
    color: var(--white);
}

.payment-option .pay-sub {
    font-size: 0.62rem;
    color: var(--silver);
    opacity: 0.6;
}

/* Card details panel */
.card-details-panel {
    display: none;
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--ghost-grey);
    border-radius: 10px;
}

.card-details-panel.show {
    display: block;
}

/* ─── Order Summary Panel ─── */
.order-summary-panel {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--ghost-grey);
    border-radius: 16px;
    padding: 1.8rem;
    position: sticky;
    top: 2rem;
}

.order-summary-panel h4 {
    font-size: 0.68rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--ghost-grey);
}

.summary-product {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(45,45,45,0.5);
}

.summary-product-img {
    width: 70px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--ghost-grey);
    flex-shrink: 0;
}

.summary-product-info h5 {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 0.4rem;
}

.summary-meta {
    font-size: 0.62rem;
    color: var(--silver);
    letter-spacing: 1px;
    line-height: 1.8;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--silver);
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}

.summary-line.total {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ghost-grey);
}

.btn-place-order {
    width: 100%;
    padding: 1.1rem;
    background: var(--white);
    color: var(--onyx);
    border: none;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-place-order::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-place-order:hover::before {
    transform: translateX(100%);
}

.btn-place-order:hover {
    background: var(--silver);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255,255,255,0.12);
}

/* ─── Success Popup ─── */
.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.success-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.success-modal {
    background: #0e0e0e;
    border: 1px solid var(--ghost-grey);
    border-radius: 24px;
    padding: 3.5rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.success-overlay.active .success-modal {
    transform: scale(1);
}

.success-modal::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(192,192,192,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    animation: zoomIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes zoomIn {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.success-modal h2 {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
}

.success-order-id {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--silver);
    opacity: 0.6;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.success-modal p {
    font-size: 0.88rem;
    color: var(--silver);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.success-divider {
    width: 40px;
    height: 1px;
    background: var(--ghost-grey);
    margin: 1.5rem auto;
}

.btn-continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: var(--white);
    color: var(--onyx);
    border: none;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-continue-shopping:hover {
    background: var(--silver);
    transform: translateY(-2px);
}

/* ─── Social Icons in Footer ─── */
.social-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--ghost-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--silver);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--white);
    color: var(--onyx);
    border-color: var(--white);
    transform: translateY(-3px);
}

.footer-contact {
    margin-top: 1.5rem;
    font-size: 0.72rem;
    color: var(--silver);
    opacity: 0.6;
    line-height: 2;
}

/* ─── Loading Skeleton ─── */
@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.skeleton {
    background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
    background-size: 400px 100%;
    animation: shimmer 1.2s infinite;
    border-radius: 8px;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .order-summary-panel {
        position: static;
        order: -1;
    }
    .qv-layout {
        grid-template-columns: 1fr;
    }
    .qv-img-wrap {
        border-radius: 20px 20px 0 0;
        aspect-ratio: 4/3;
    }
    .nav-search {
        display: none;
    }
    .form-row-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-icons .icon-btn:not(#searchToggleMobile):not(#cartBtn):not(#wishlistBtn) {
        display: none;
    }
    .checkout-modal {
        padding: 1.8rem 1.5rem;
    }
    .form-row-2,
    .form-row-3 {
        grid-template-columns: 1fr;
    }
    .cart-sidebar,
    .wishlist-sidebar {
        width: 100%;
        max-width: 100%;
    }
    .success-modal {
        padding: 2.5rem 1.8rem;
    }
    .qv-modal {
        max-height: 95vh;
    }
}

@media (max-width: 480px) {
    .category-filter-bar {
        padding: 1rem 4%;
        gap: 0.5rem;
    }
    .cat-btn {
        font-size: 0.62rem;
        padding: 0.4rem 0.9rem;
    }
    .checkout-modal {
        padding: 1.5rem 1.2rem;
    }
}

/* ─── Notification Toast ─── */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #1a1a1a;
    border: 1px solid var(--ghost-grey);
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--white);
    z-index: 20000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
    opacity: 0;
    white-space: nowrap;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ─── Product Page additions ─── */
.btn-buy-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.1rem 2rem;
    background: var(--white);
    color: var(--onyx);
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    width: 100%;
}

.btn-buy-now:hover {
    background: var(--silver);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(255,255,255,0.15);
}

.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.1rem 2rem;
    background: transparent;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid var(--ghost-grey);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.btn-add-cart:hover {
    border-color: var(--silver);
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

/* Delivery estimate block */
.delivery-estimate {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(45,45,45,0.8);
    border-radius: 10px;
    margin-bottom: 1.2rem;
    font-size: 0.72rem;
    color: var(--silver);
    letter-spacing: 0.5px;
}

.delivery-estimate .del-icon {
    font-size: 1.2rem;
}

/* ─── Rewards Notification ─── */
.checkout-reward-link {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(46, 204, 113, 0.05)) !important;
    border: 1px solid rgba(46, 204, 113, 0.4) !important;
    animation: pulse-green 2.5s infinite;
}

@keyframes pulse-green {
    0% { border-color: rgba(46, 204, 113, 0.3); box-shadow: 0 0 0 rgba(46, 204, 113, 0); }
    50% { border-color: rgba(46, 204, 113, 0.6); box-shadow: 0 0 15px rgba(46, 204, 113, 0.1); }
    100% { border-color: rgba(46, 204, 113, 0.3); box-shadow: 0 0 0 rgba(46, 204, 113, 0); }
}

.btn-pick-checkout {
    background: #2ecc71;
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 1rem;
    margin-left: 1rem;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-pick-checkout:hover {
    background: #fff;
    transform: scale(1.05);
}
