:root {
    /* Premium Palette: Imperial Plum & Warm Ivory */
    --royal-plum: #3B1C32;
    --royal-plum-light: #5B2C4E;
    --warm-ivory: #F9F5F0;
    --gold-accent: #C5A059;
    --text-dark: #1A1A1A;
    --text-muted: #666666;
    --white: #FFFFFF;

    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    /* UI Tweakable Variables */
    --hero-tag-bg: rgba(59, 28, 50, 0.6);
    --hero-tag-color: #C5A059;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: var(--font-main);
    background-color: var(--warm-ivory);
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* --- Layout --- */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Premium Header --- */

header {
    height: 100px;
    display: flex;
    align-items: center;
    background: transparent;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: var(--white);
    height: 80px;
    position: fixed;
    box-shadow: var(--shadow);
}

header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--royal-plum);
}

.brand img {
    height: 50px;
}

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

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

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

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

.nav-icon {
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

#hand-toggle {
    background: var(--gold-accent);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: var(--royal-plum);
    flex-shrink: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(197, 160, 89, 0.7);
    }

    100% {
        transform: scale(1);
    }
}

.nav-icon:hover {
    color: var(--gold-accent);
}

/* --- Hero Section --- */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(249, 245, 240, 0.9) 0%, rgba(249, 245, 240, 0.4) 50%, rgba(249, 245, 240, 0) 100%);
    z-index: 1;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    right: -20%;
    width: 80%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    mask-image: linear-gradient(to left, black 80%, transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold-accent);
    margin-bottom: 20px;
    display: block;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--royal-plum);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* --- Catalogue Section --- */

.section-padding {
    padding: 80px 0;
}

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

.cat-item {
    cursor: pointer;
    transition: var(--transition);
}

.cat-item:hover {
    color: var(--gold-accent);
}

.section-header h2 {
    font-size: 3rem;
    color: var(--royal-plum);
    margin-bottom: 15px;
}

.shop-layout {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.shop-sidebar {
    width: 280px;
    flex-shrink: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding-right: 20px;
    position: sticky;
    top: 100px;
    height: calc(100vh - 120px);
    overflow-y: auto;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-main {
    flex: 1;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #EEE;
}

.filter-header span {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-text {
    background: none;
    border: none;
    color: var(--royal-plum);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    text-transform: uppercase;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
}

.filter-options input[type="checkbox"] {
    accent-color: var(--royal-plum);
    width: 16px;
    height: 16px;
}

/* Price Slider Fix */
#price-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
    margin: 20px 0;
}

#price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--royal-plum);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid var(--white);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.price-labels span {
    font-weight: 700;
    color: var(--text-dark);
}

#price-val {
    color: var(--royal-plum) !important;
    font-size: 1.1rem;
}

/* Dynamic Top Filters */
.top-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.top-filter-dropdown {
    padding: 8px 15px;
    border: 1px solid #DDD;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.top-filter-dropdown:hover {
    border-color: var(--royal-plum);
}

/* --- Catalogue Grid --- */

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.product-card {
    grid-column: span 4;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-image {
    height: 500px;
    position: relative;
    overflow: hidden;
}

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

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

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold-accent);
    color: var(--white);
    padding: 5px 15px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    border-radius: 2px;
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-bottom: 20px;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    bottom: 20px;
}

.action-btn {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--royal-plum);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    background: var(--royal-plum);
    color: var(--white);
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-accent);
    margin-bottom: 10px;
    display: block;
}

.product-title {
    font-size: 1.4rem;
    color: var(--royal-plum);
    margin-bottom: 10px;
}

/* --- Product Detail Portal --- */

.product-detail-modal {
    width: 1100px;
    max-width: 95vw;
    height: 90vh;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
}

.p-gallery {
    flex: 1.2;
    background: #F4F4F4;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.p-gallery img,
.p-gallery video {
    width: 100%;
    object-fit: cover;
}

.p-info {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    background: var(--white);
}

.p-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.p-price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.p-current-price {
    font-size: 1.8rem;
    font-weight: 700;
}

.p-old-price {
    text-decoration: line-through;
    color: #999;
}

.p-discount {
    color: var(--gold-accent);
    font-weight: 700;
}

.size-list {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.size-btn {
    width: 50px;
    height: 50px;
    border: 1px solid #DDD;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.size-btn:hover {
    border-color: var(--royal-plum);
    color: var(--royal-plum);
}

.p-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-large {
    flex: 1;
    padding: 18px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
}

.btn-buy {
    background: var(--royal-plum);
    color: var(--white);
}

.btn-wish {
    background: #EEE;
    color: var(--text-dark);
}

.p-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.spec-item {
    padding-bottom: 15px;
    border-bottom: 1px solid #F0F0F0;
}

.spec-label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.spec-value {
    font-weight: 600;
    font-size: 0.95rem;
}

.trust-card {
    background: #FAFAFA;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    font-size: 0.85rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.trust-item i {
    color: var(--gold-accent);
}

/* Color Grid */
.color-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.color-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #DDD;
}

.color-dot.active {
    box-shadow: 0 0 0 2px var(--royal-plum);
}

/* --- Responsive & Mobile First Overhaul --- */

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }


    /* Compact Header */
    header {
        height: 75px;
    }

    header.scrolled {
        height: 60px;
    }

    header nav {
        display: none;
        /* Hide primary nav on mobile to prevent mess */
    }

    .brand img {
        height: 40px;
        width: auto;
        flex-shrink: 0;
    }

    .brand-main {
        font-size: 1rem;
        font-weight: 700;
    }

    .brand-sub {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }

    .nav-icon i {
        width: 20px;
        height: 20px;
    }

    /* Mobile Menu drawer could go here */

    /* Hero portrait optimization */
    .hero {
        height: 65vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .btn-primary {
        padding: 15px 30px;
        font-size: 0.85rem;
    }

    /* Category Bar scrolling */
    .category-bar {
        justify-content: flex-start !important;
        overflow-x: auto;
        padding: 0 20px 15px 20px;
        gap: 25px !important;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 30px;
    }

    .cat-item {
        white-space: nowrap;
        font-size: 0.8rem;
    }

    .mobile-filter-bar {
        margin: 0 20px 20px 20px;
    }

    .btn-filter-toggle {
        width: 100%;
        padding: 12px;
        background: var(--white);
        border: 1px solid #DDD;
        border-radius: 6px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }


    .sidebar-mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding-bottom: 15px;
        border-bottom: 1px solid #F0F0F0;
    }

    .btn-close {
        font-size: 2rem;
        background: none;
        border: none;
    }

    .shop-layout {
        flex-direction: column;
        margin-top: 0;
        gap: 0;
    }

    .shop-main {
        width: 100%;
    }

    /* Mobile Card Layout */
    .product-card {
        grid-column: span 12;
    }

    .product-image {
        height: 420px;
    }

    .product-title {
        font-size: 1.2rem;
    }

    /* Product Detail Mobile */
    .product-detail-modal {
        flex-direction: column;
        width: 100%;
        height: 100%;
        max-width: none;
        border-radius: 0;
    }

    .p-gallery {
        flex: 0.8;
        height: 50vh;
    }

    .p-info {
        padding: 30px 20px;
    }

    .p-header h1 {
        font-size: 1.8rem;
    }

    .p-specs-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Category Animations --- */

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* --- Login Overlay Styles --- */

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 28, 50, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.login-modal-box {
    width: 900px;
    max-width: 95vw;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

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

.overlay-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    z-index: 10;
}

@media (max-width: 768px) {
    .overlay-split {
        flex-direction: column;
        height: auto;
        min-height: 500px;
    }

    .overlay-visual {
        height: 150px;
    }

    .overlay-form-panel {
        padding: 30px 20px;
    }
}

.overlay-split {
    display: flex;
    height: 600px;
}

.overlay-visual {
    flex: 1;
    position: relative;
    background: var(--royal-plum);
}

.overlay-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.visual-text {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: var(--white);
}

.overlay-form-panel {
    flex: 1.2;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.overlay-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #EEE;
    margin-bottom: 30px;
}

.overlay-tab {
    padding-bottom: 10px;
    cursor: pointer;
    color: #999;
    font-weight: 600;
    position: relative;
}

.overlay-tab.active {
    color: var(--royal-plum);
}

.overlay-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-accent);
}

.overlay-form-group {
    margin-bottom: 20px;
}

.overlay-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.overlay-form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #DDD;
    border-radius: 4px;
    outline: none;
    transition: var(--transition);
}

.overlay-form-group input:focus {
    border-color: var(--gold-accent);
}

.btn-overlay-submit {
    width: 100%;
    padding: 15px;
    background: var(--royal-plum);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

/* --- Handedness Mode (First-in-Market Feature) --- */
.handedness-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 28, 50, 0.8);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.handedness-modal {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 340px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.at-icon {
    font-size: 3rem;
    color: var(--gold-accent);
    margin-bottom: 20px;
}

.hand-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.hand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px;
    border: 1px solid #EEE;
    border-radius: 12px;
    background: #FAFAFA;
    font-family: var(--font-main);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.hand-btn:hover {
    border-color: var(--royal-plum);
    background: var(--warm-ivory);
}

.fade-out {
    opacity: 0;
    transition: opacity 0.4s ease;
}

@media (max-width: 900px) {

    /* Fixed Header Layout */
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .nav-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 0 1rem;
        height: 70px;
    }

    .brand {
        order: -1 !important;
        margin: 0 !important;
    }

    /* Actions stay on the right, but icons within can reorder */
    .nav-actions {
        order: 1 !important;
        margin: 0 !important;
        display: flex;
        gap: 15px;
    }

    /* Floating Action Buttons System */
    .kv-fab {
        position: fixed;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2100;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    #hand-toggle-orb {
        bottom: 80px;
        background: var(--royal-plum);
        color: var(--gold-accent);
        border: 2px solid var(--gold-accent);
    }

    #menu-toggle-fab {
        top: 85px;
        /* Slightly below the sticky header */
        background: var(--white);
        color: var(--royal-plum);
        border: 1px solid var(--warm-ivory);
    }

    /* Ergonomic positioning */
    body.handed-right #hand-toggle-orb {
        right: 20px;
        left: auto;
    }

    body.handed-left #hand-toggle-orb {
        left: 20px;
        right: auto;
    }

    body.handed-right #menu-toggle-fab {
        right: 20px;
        left: auto;
    }

    body.handed-left #menu-toggle-fab {
        left: 20px;
        right: auto;
    }

    /* Hide the old inline icons from header */
    #menu-toggle,
    #hand-toggle {
        display: none !important;
    }

    /* Tagline Visibility */
    .hero-tagline {
        color: var(--hero-tag-color);
        background: var(--hero-tag-bg);
        padding: 8px 20px;
        border-radius: 4px;
        backdrop-filter: blur(8px);
        font-weight: 600;
        letter-spacing: 2px;
        display: inline-block;
        margin-bottom: 1.5rem;
        text-transform: uppercase;
        font-size: 0.75rem;
    }

    /* Don't flip text */

    /* Fixed Sidebar Logic: Articulated Handedness */
    .shop-sidebar {
        position: fixed !important;
        top: 0 !important;
        width: 300px !important;
        height: 100vh !important;
        z-index: 3000 !important;
        /* Above everything */
        background: var(--white) !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.15) !important;
        overflow-y: auto !important;
        display: block !important;
        visibility: visible !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

        /* Default: Hidden on Right */
        right: -320px;
        left: auto;
    }

    /* Right Handed Mode (Default) */
    body.handed-right .shop-sidebar,
    body:not(.handed-left) .shop-sidebar {
        right: -320px;
        left: auto !important;
    }

    body.handed-right .shop-sidebar.active,
    body:not(.handed-left) .shop-sidebar.active {
        right: 0 !important;
        left: auto !important;
    }

    /* Left Handed Mode */
    body.handed-left .shop-sidebar {
        left: -320px !important;
        right: auto !important;
    }

    body.handed-left .shop-sidebar.active {
        left: 0 !important;
        right: auto !important;
    }
}

/* --- Social Journal --- */
.social-journal {
    background: var(--warm-ivory);
}

.instagram-link {
    color: var(--royal-plum);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--gold-accent);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

    .custom-split {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .custom-visual {
        width: 100%;
        height: 400px;
    }
}

.custom-split {
    display: flex;
    align-items: center;
    gap: 80px;
}

.custom-visual {
    flex: 1;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
}

.custom-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-text {
    flex: 1;
}

.insta-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(59, 28, 50, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.insta-overlay i {
    width: 30px;
    height: 30px;
}

.insta-item:hover img {
    transform: scale(1.1);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}