/*
Theme Name: RiwayatByRabs Theme
Theme URI: https://riwayatbyrabs.com/theme
Author: Rabs Design
Author URI: https://riwayatbyrabs.com
Description: An ultra-premium, interactive, and sleek e-commerce theme designed for handcrafted wedding purses, clutches, and traditional potli bags. Styled with gold, mint, and deep velvet colors.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, custom-logo, post-formats, translation-ready, dark, custom-colors, grid-layout
Text Domain: riwayatbyrabs
*/

/* ==========================================
   DESIGN VARIABLES & SYSTEM
   ========================================== */
:root {
    --color-bg-dark: #070707;
    --color-bg-card: #111111;
    --color-bg-glass: rgba(10, 10, 10, 0.85);
    
    /* Colors taken directly from the logo */
    --color-gold: #f2ca35;       /* Vibrant Golden Yellow */
    --color-gold-hover: #dfba2e;
    --color-mint: #a7e5d6;       /* Mandala pattern Mint Green */
    --color-bronze: #422c0f;     /* Dark Bronze Text */
    
    --color-text-white: #f5f5f7;
    --color-text-gray: #a1a1a6;
    --color-border: rgba(242, 202, 53, 0.12);
    --color-glow: rgba(242, 202, 53, 0.25);
    --color-mint-glow: rgba(167, 229, 214, 0.2);
    
    --font-heading: 'Cinzel Decorative', serif;
    --font-subheading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition-fast: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   RESET & CURSOR STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Interactive Cursor (Premium feature) */
.custom-cursor {
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    mix-blend-mode: difference;
    display: none;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-mint);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    display: none;
}

/* Show custom cursor on desktop */
@media (pointer: fine) {
    .custom-cursor, .custom-cursor-dot {
        display: block;
    }
    body {
        cursor: none;
    }
    a, button, .filter-btn, .qty-btn, .modal-thumb, .nav-brand, .nav-menu a {
        cursor: none;
    }
}

/* Custom Cursor Hover States */
.custom-cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: rgba(242, 202, 53, 0.1);
    border-color: var(--color-mint);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #090909;
}
::-webkit-scrollbar-thumb {
    background: var(--color-bronze);
    border-radius: 4px;
    border: 2px solid #090909;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Utility Layouts */
.gold-text {
    color: var(--color-gold);
    text-shadow: 0 0 8px var(--color-glow);
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0 40px 0;
}

.divider-line {
    width: 65px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.divider-left {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0 25px 0;
}

.divider-line-short {
    width: 50px;
    height: 1px;
    background: var(--color-gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 15px 30px;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-bronze);
    border: 1px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(242, 202, 53, 0.15);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-gold);
    box-shadow: 0 0 25px var(--color-glow);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    box-shadow: 0 0 15px rgba(242, 202, 53, 0.1);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

/* ==========================================
   NAVIGATION HEADER
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--color-bg-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-gold);
    box-shadow: 0 0 12px var(--color-glow);
    transition: var(--transition-smooth);
}

.nav-brand:hover .brand-logo {
    transform: scale(1.05) rotate(15deg);
    box-shadow: 0 0 20px rgba(242, 202, 53, 0.5);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-gold);
    line-height: 1.1;
}

.brand-subtitle {
    font-family: var(--font-subheading);
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-mint);
}

/* WP Nav Menu integration */
.nav-menu {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-menu a, .nav-link {
    color: var(--color-text-gray);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

.nav-menu a::after, .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-menu a:hover, .nav-menu .current-menu-item a, .nav-link:hover, .nav-link.active {
    color: var(--color-text-white);
}

.nav-menu a:hover::after, .nav-menu .current-menu-item a::after, .nav-link.active::after, .nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.cart-btn {
    background: transparent;
    border: none;
    color: var(--color-text-white);
    font-size: 1.35rem;
    position: relative;
    padding: 8px;
    transition: var(--transition-smooth);
}

.cart-btn:hover {
    color: var(--color-gold);
    transform: scale(1.15);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--color-mint);
    color: var(--color-bg-dark);
    font-size: 0.72rem;
    font-weight: 700;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(167, 229, 214, 0.4);
    animation: badgePop 0.3s ease-out;
}

@keyframes badgePop {
    0% { transform: scale(0.6); }
    100% { transform: scale(1); }
}

/* ==========================================
   HERO CAROUSEL / SLIDER
   ========================================== */
.hero-slider-container {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), visibility 1.2s;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-content {
    max-width: 650px;
    padding: 0 10%;
    transform: translateY(30px);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.hero-slide.active .hero-slide-content {
    transform: translateY(0);
}

.slide-tag {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--color-mint);
    display: block;
    margin-bottom: 20px;
    text-shadow: 0 0 8px var(--color-mint-glow);
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.slide-description {
    font-size: 1.05rem;
    color: var(--color-text-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.slide-actions {
    display: flex;
    gap: 20px;
}

/* Slider Navigation Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    z-index: 10;
}

.slider-arrow {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background-color: rgba(242, 202, 53, 0.05);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.dot.active {
    background-color: var(--color-gold);
    width: 28px;
    border-radius: 4px;
    box-shadow: 0 0 8px var(--color-glow);
}

/* ==========================================
   COLLECTION / PRODUCT GRID
   ========================================== */
.collection {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-size: 0.85rem;
    color: var(--color-mint);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    letter-spacing: 0.08em;
}

/* Filters */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-gray);
    padding: 11px 26px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

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

.filter-btn.active {
    background-color: var(--color-gold);
    color: var(--color-bronze);
    border-color: var(--color-gold);
    box-shadow: 0 4px 15px var(--color-glow);
}

/* Product Cards Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(20px);
    animation: cardLoad 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardLoad {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(242, 202, 53, 0.2);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #040404;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

/* Quick View Overlay */
.quick-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 7, 7, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
}

.product-img-wrapper:hover .quick-view-overlay {
    opacity: 1;
}

.quick-view-btn {
    background-color: var(--color-bg-card);
    color: var(--color-text-white);
    border: 1px solid var(--color-gold);
    padding: 11px 22px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: var(--transition-smooth);
}

.quick-view-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-bronze);
    box-shadow: 0 0 15px var(--color-glow);
}

.product-meta {
    margin-bottom: 16px;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-mint);
    letter-spacing: 0.18em;
    display: block;
    margin-bottom: 6px;
}

.product-title {
    font-family: var(--font-subheading);
    font-size: 1.38rem;
    font-weight: 500;
    color: var(--color-text-white);
    margin-bottom: 8px;
}

.product-price {
    font-size: 1.15rem;
    color: var(--color-gold);
    font-weight: 700;
}

/* ==========================================
   CRAFTSMANSHIP & STORY
   ========================================== */
.story {
    background: radial-gradient(circle at 15% 50%, rgba(66, 44, 15, 0.2) 0%, rgba(7, 7, 7, 1) 75%);
    padding: 120px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
}

.story-image-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 550px;
}

.image-wrapper-story {
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.image-wrapper-story img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.image-wrapper-story:hover img {
    transform: scale(1.05);
}

.image-wrapper-story.main-img {
    width: 75%;
    height: 480px;
    z-index: 2;
    margin-right: 20%;
}

.image-wrapper-story.floating-img {
    width: 45%;
    height: 280px;
    position: absolute;
    right: 5%;
    bottom: 5%;
    z-index: 3;
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 20px var(--color-glow);
}

.story-tag {
    font-size: 0.85rem;
    color: var(--color-mint);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 12px;
}

.story-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    letter-spacing: 0.05em;
    line-height: 1.25;
}

.story-content p {
    color: var(--color-text-gray);
    margin-bottom: 24px;
    font-size: 0.98rem;
    line-height: 1.75;
}

.crafts-metrics {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    gap: 15px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 0 0 8px var(--color-glow);
}

.metric-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--color-text-gray);
    letter-spacing: 0.15em;
}

/* ==========================================
   SLIDE-OUT SHOPPING BAG
   ========================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 460px;
    height: 100%;
    background-color: var(--color-bg-dark);
    border-left: 1px solid var(--color-border);
    z-index: 160;
    display: flex;
    flex-direction: column;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.95);
    transition: var(--transition-smooth);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-gold);
    letter-spacing: 0.05em;
}

.close-cart-btn {
    background: transparent;
    border: none;
    color: var(--color-text-white);
    font-size: 1.45rem;
    transition: var(--transition-smooth);
}

.close-cart-btn:hover {
    color: var(--color-gold);
    transform: rotate(90deg);
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 26px;
}

/* Empty Drawer State */
.empty-cart-message {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-gray);
}

.empty-cart-message i {
    font-size: 3.5rem;
    color: var(--color-border);
    margin-bottom: 24px;
}

.empty-cart-message p {
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Cart Item Layout */
.cart-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cart-item-img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.cart-item-title {
    font-family: var(--font-subheading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-white);
    line-height: 1.2;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--color-text-gray);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

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

.cart-item-control-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-controller {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255,255,255,0.02);
}

.qty-btn {
    background: transparent;
    border: none;
    color: var(--color-text-white);
    padding: 6px 12px;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

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

.qty-val {
    padding: 0 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

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

/* Cart Footer calculations */
.cart-footer {
    padding: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #090909;
}

.cart-summary {
    margin-bottom: 20px;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.shipping-info {
    font-size: 0.8rem;
    color: var(--color-text-gray);
}

/* ==========================================
   PRODUCT DETAIL MODAL
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    width: 90%;
    max-width: 980px;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9);
    animation: modalZoomIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--color-text-white);
    font-size: 1.55rem;
    z-index: 10;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    color: var(--color-gold);
    transform: rotate(90deg);
}

.modal-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
}

/* Modal Images Gallery */
.modal-gallery {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-main-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-thumbnails {
    display: flex;
    gap: 12px;
}

.modal-thumb {
    width: 75px;
    height: 75px;
    object-fit: cover;
    opacity: 0.5;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.modal-thumb.active, .modal-thumb:hover {
    opacity: 1;
    border-color: var(--color-gold);
    box-shadow: 0 0 10px var(--color-glow);
}

/* Modal Info Text */
.modal-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-category {
    font-size: 0.8rem;
    color: var(--color-mint);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 12px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text-white);
    line-height: 1.2;
    margin-bottom: 14px;
}

.modal-price {
    font-size: 1.55rem;
    color: var(--color-gold);
    font-weight: 700;
    margin-bottom: 22px;
}

.modal-description {
    color: var(--color-text-gray);
    margin-bottom: 26px;
    font-size: 0.95rem;
    line-height: 1.65;
}

.modal-specs {
    margin-bottom: 35px;
}

.modal-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.85rem;
}

.spec-name {
    color: var(--color-text-gray);
}

.spec-val {
    font-weight: 500;
    color: var(--color-text-white);
}

/* ==========================================
   TOAST NOTIFICATION SYSTEM
   ========================================== */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background-color: var(--color-bg-card);
    border-left: 4px solid var(--color-gold);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    padding: 16px 24px;
    width: 320px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    pointer-events: auto;
    animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: var(--transition-smooth);
}

.toast.removing {
    opacity: 0;
    transform: translateX(40px);
}

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

.toast-icon {
    color: var(--color-mint);
    font-size: 1.3rem;
}

.toast-text {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--color-text-white);
}

.toast-msg {
    font-size: 0.78rem;
    color: var(--color-text-gray);
}

/* Success Card Modal overlay details */
.success-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-gold);
    padding: 60px 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.9);
    animation: modalZoomIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-icon {
    font-size: 3.8rem;
    color: var(--color-mint);
    margin-bottom: 24px;
}

.success-card h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    margin-bottom: 16px;
}

.success-card p {
    color: var(--color-text-gray);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

/* ==========================================
   FOOTER & NEWSLETTER
   ========================================== */
.footer {
    background-color: #030303;
    border-top: 1px solid var(--color-border);
    padding: 90px 24px 30px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.8fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-logo {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    object-fit: cover;
    box-shadow: 0 0 10px var(--color-glow);
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    line-height: 1.1;
    color: var(--color-text-white);
}

.footer-brand p {
    color: var(--color-text-gray);
    font-size: 0.9rem;
}

.footer-links h4, .footer-newsletter h4 {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 26px;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: var(--color-text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 6px;
}

.footer-newsletter p {
    color: var(--color-text-gray);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(255,255,255,0.01);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px;
    color: var(--color-text-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
}

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

.btn-newsletter {
    padding: 15px 22px;
    border: none;
}

.success-msg {
    color: var(--color-mint);
    font-size: 0.85rem;
    margin-top: 10px;
    display: none;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-text-gray);
}

.footer-socials {
    display: flex;
    gap: 24px;
}

.footer-socials a {
    color: var(--color-text-gray);
    font-size: 1.15rem;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: var(--color-gold);
    transform: translateY(-3px);
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 992px) {
    .slide-title {
        font-size: 2.8rem;
    }
    .slide-description {
        font-size: 0.95rem;
    }
    .story-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .story-image-showcase {
        height: 480px;
    }
    .modal-content {
        grid-template-columns: 1fr;
    }
    .modal-gallery {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .custom-cursor, .custom-cursor-dot {
        display: none !important;
    }
    body {
        cursor: auto !important;
    }
    .nav-menu {
        display: none; /* Burger menu toggle can be implemented, hidden for simplicity */
    }
    .slide-title {
        font-size: 2.4rem;
    }
    .section-title {
        font-size: 2.1rem;
    }
    .story-title {
        font-size: 2.1rem;
    }
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
