/* ==========================================
   ROYAL RAGGZ - STYLE.CSS
   Edit this file to change site appearance
========================================== */


/* ==========================================
   COLORS & VARIABLES
   Change these to update colors site-wide
========================================== */
:root {
    --navy: #001f5c;
    --navy-dark: #001845;
    --navy-darker: #001440;
    --cream: #fdfdfb;
    --ivory: #fffff8;
    --bone: #f9f9f7;
    --white: #ffffff;
    --text-dark: #2d2d2d;
    --shadow: rgba(0, 0, 0, 0.1);
}


/* ==========================================
   BASE STYLES
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    position: relative;
    cursor: none;
}


/* ==========================================
   CUSTOM CURSOR
========================================== */
.custom-cursor {
    position: fixed;
    width: 72px;
    height: 72px;
    background-image: url('assets/Cursor.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 9999;
    opacity: 1;
    transform: translate(-36px, -36px);
    transition: transform 0.1s ease;
    will-change: transform;
}

.landing-page .custom-cursor {
    filter: brightness(1.8) contrast(1.3);
}

.shop-page .custom-cursor {
    filter: brightness(0.2) contrast(1.5) drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 3px rgba(255, 255, 255, 1));
}


/* ==========================================
   LOGO BACKGROUND PATTERN EFFECT
========================================== */
.logo-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    contain: layout style paint;
}

.logo-bg-container.header-bg,
.logo-bg-container.footer-bg {
    position: absolute;
    z-index: 0;
}

.main-header,
.main-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.header-container,
.footer-container {
    position: relative;
    z-index: 1;
}

.logo-bg-layer {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-repeat: repeat;
    background-size: 150px 150px;
    transition: transform 0.3s ease-out;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.logo-bg-layer:nth-child(1) {
    opacity: 0.027;
    animation: drift-right-down 60s linear infinite;
}

.logo-bg-layer:nth-child(2) {
    opacity: 0.045;
    animation: drift-left-up 45s linear infinite;
}

.logo-bg-layer:nth-child(3) {
    opacity: 0.018;
    animation: drift-diagonal 55s linear infinite;
}

.header-bg .logo-bg-layer:nth-child(1),
.footer-bg .logo-bg-layer:nth-child(1) {
    opacity: 0.027;
}

.header-bg .logo-bg-layer:nth-child(2),
.footer-bg .logo-bg-layer:nth-child(2) {
    opacity: 0.045;
}

.header-bg .logo-bg-layer:nth-child(3),
.footer-bg .logo-bg-layer:nth-child(3) {
    opacity: 0.018;
}

.logo-bg-container.button-bg {
    position: absolute;
    z-index: 0;
}

.button-bg .logo-bg-layer {
    background-size: 80px 80px;
}

.button-bg .logo-bg-layer:nth-child(1) {
    opacity: 0.02;
}

.button-bg .logo-bg-layer:nth-child(2) {
    opacity: 0.035;
}

.button-bg .logo-bg-layer:nth-child(3) {
    opacity: 0.015;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.add-to-cart-btn .button-bg .logo-bg-layer:nth-child(1) {
    opacity: 0.045;
}

.add-to-cart-btn .button-bg .logo-bg-layer:nth-child(2) {
    opacity: 0.07;
}

.add-to-cart-btn .button-bg .logo-bg-layer:nth-child(3) {
    opacity: 0.035;
}

.logo-bg-container.panel-bg {
    position: absolute;
    z-index: 0;
}

.panel-bg .logo-bg-layer {
    background-size: 100px 100px;
}

.panel-bg .logo-bg-layer:nth-child(1) {
    opacity: 0.025;
}

.panel-bg .logo-bg-layer:nth-child(2) {
    opacity: 0.04;
}

.panel-bg .logo-bg-layer:nth-child(3) {
    opacity: 0.018;
}

.logo-bg-container.modal-bg {
    position: absolute;
    z-index: 0;
}

.modal-bg .logo-bg-layer {
    background-size: 120px 120px;
}

.modal-bg .logo-bg-layer:nth-child(1) {
    opacity: 0.03;
}

.modal-bg .logo-bg-layer:nth-child(2) {
    opacity: 0.05;
}

.modal-bg .logo-bg-layer:nth-child(3) {
    opacity: 0.02;
}

@keyframes drift-right-down {
    0% { transform: translate(0, 0); }
    100% { transform: translate(150px, 150px); }
}

@keyframes drift-left-up {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-150px, -150px); }
}

@keyframes drift-diagonal {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, 100px); }
}

/* Glitch animations */
.glitch-skew {
    animation: glitch-skew-anim 0.8s ease-out;
}

.glitch-scale {
    animation: glitch-scale-anim 0.8s ease-out;
}

.glitch-chromatic {
    animation: glitch-chromatic-anim 0.8s ease-out;
}

.glitch-wave {
    animation: glitch-wave-anim 0.8s ease-out;
}

@keyframes glitch-skew-anim {
    0%, 100% { transform: skew(0deg); }
    20% { transform: skew(5deg, 2deg); }
    40% { transform: skew(-3deg, -2deg); }
    60% { transform: skew(4deg, -1deg); }
    80% { transform: skew(-2deg, 1deg); }
}

@keyframes glitch-scale-anim {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.05, 0.95); }
    50% { transform: scale(0.98, 1.03); }
    75% { transform: scale(1.02, 0.97); }
}

@keyframes glitch-chromatic-anim {
    0%, 100% {
        filter: none;
        transform: translate(0, 0);
    }
    20% {
        filter: hue-rotate(90deg) saturate(2);
        transform: translate(2px, 0);
    }
    40% {
        filter: hue-rotate(-90deg) saturate(1.5);
        transform: translate(-2px, 1px);
    }
    60% {
        filter: hue-rotate(45deg) saturate(2.5);
        transform: translate(1px, -1px);
    }
    80% {
        filter: hue-rotate(-45deg) saturate(1.8);
        transform: translate(-1px, 0);
    }
}

@keyframes glitch-wave-anim {
    0%, 100% {
        transform: translate(0, 0);
        filter: blur(0);
    }
    15% {
        transform: translate(3px, 0) skew(2deg);
        filter: blur(1px);
    }
    30% {
        transform: translate(-2px, 2px) skew(-3deg);
        filter: blur(0.5px);
    }
    45% {
        transform: translate(2px, -1px) skew(1deg);
        filter: blur(1.5px);
    }
    60% {
        transform: translate(-3px, 0) skew(-2deg);
        filter: blur(0.8px);
    }
    75% {
        transform: translate(1px, 1px) skew(1.5deg);
        filter: blur(0.3px);
    }
}


/* ==========================================
   LANDING PAGE
========================================== */
.landing-page {
    background: var(--navy-darker);
    height: 100vh;
    overflow: hidden;
}

.landing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 60px;
}

.logo-link {
    display: block;
    width: min(600px, 80vw);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-animation {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: screen;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    animation: slideUp 0.4s ease;
}

.cookie-popup.show {
    display: block;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text {
    color: var(--cream);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--cream);
}

.accept-btn {
    background: var(--cream);
    color: var(--navy);
}

.accept-btn:hover {
    background: var(--white);
    border-color: var(--white);
}

.decline-btn {
    background: transparent;
    color: var(--cream);
}

.decline-btn:hover {
    background: rgba(245, 245, 220, 0.1);
}


/* ==========================================
   HEADER (NAVIGATION)
========================================== */
.shop-page {
    background: var(--ivory);
    min-height: 100vh;
}

.main-header {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 0;
    box-shadow: 0 4px 12px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    line-height: 0;
}

.header-logo {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    padding: 5px 0;
}

.header-logo img {
    height: 122px;
    width: auto;
}

.header-title {
    flex-shrink: 0;
    margin-left: -135px;
    margin-right: 60px;
    text-align: left;
    line-height: 0;
    position: relative;
    z-index: 2;
}

.header-title img {
    height: 88px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--cream);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    border-bottom-color: var(--cream);
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cart-icon-container {
    position: relative;
    cursor: pointer;
}

.cart-icon {
    width: 32px;
    height: 32px;
    position: relative;
}

.cart-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--cream);
    transition: fill 0.3s ease;
}

.cart-icon:hover svg {
    fill: var(--white);
}

.cart-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    display: none;
}

.social-icon {
    width: 28px;
    height: 28px;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--cream);
    transition: fill 0.3s ease;
}

.social-icon:hover svg {
    fill: var(--white);
}


/* ==========================================
   SHOP CONTENT & FILTERS
========================================== */
.shop-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

.filter-bar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    padding: 15px;
    background: var(--ivory);
    border: 1px solid var(--ivory);
    border-radius: 4px;
}

.sort-section {
    display: flex;
    gap: 15px;
    align-items: center;
}

.filters-toggle-btn {
    padding: 10px 20px;
    background: var(--navy);
    border: 1px solid var(--navy);
    color: var(--cream);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.filters-toggle-btn:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
}

.filter-section {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-height: 150px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.filter-section.collapsed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.filter-select {
    padding: 10px 15px;
    border: 1px solid var(--navy);
    background: var(--ivory);
    font-size: 14px;
    cursor: pointer;
    min-width: 150px;
    color: var(--text-dark);
    font-family: inherit;
}

.filter-select:focus {
    outline: 2px solid var(--navy);
    background: var(--white);
}

.clear-filters-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--navy);
    color: var(--navy);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.clear-filters-btn:hover {
    background: var(--navy);
    color: var(--cream);
}


/* ==========================================
   PRODUCT GALLERY
========================================== */
.product-gallery {
    margin-bottom: 60px;
}

.drop-title {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: var(--navy);
    border-bottom: 3px solid var(--navy);
    padding-bottom: 10px;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.drop-title:hover {
    color: var(--navy-dark);
}

.drop-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.drop-title.collapsed .drop-arrow {
    transform: rotate(-90deg);
}

.drop-content {
    max-height: 5000px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.drop-content.collapsed {
    max-height: 0;
}

.countdown-simple {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--navy);
    font-size: 32px;
    margin-left: 20px;
}

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

.product-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: var(--ivory);
    border: 2px dashed var(--bone);
    color: var(--text-dark);
}


/* ==========================================
   PRODUCT ITEMS
========================================== */
.product-item {
    background: var(--ivory);
    border: 1px solid var(--ivory);
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: var(--bone);
}

.product-item.sold-out {
    opacity: 0.85;
}

.sold-out-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    background: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 15px 80px;
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    border: 4px solid white;
}

.product-item.sold-out .add-to-cart-btn {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-item.sold-out .add-to-cart-btn:disabled {
    background: #999;
}

.product-images {
    width: 100%;
    margin-bottom: 15px;
}

.product-image-main {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--bone) 0%, #efefed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
}

.product-image-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.product-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--navy) var(--bone);
    max-width: 100%;
}

.product-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.product-thumbnails::-webkit-scrollbar-track {
    background: var(--bone);
    border-radius: 3px;
}

.product-thumbnails::-webkit-scrollbar-thumb {
    background: var(--navy);
    border-radius: 3px;
}

.product-thumbnails::-webkit-scrollbar-thumb:hover {
    background: var(--navy-dark);
}

.thumbnail {
    min-width: calc((100% - 16px) / 3);
    max-width: calc((100% - 16px) / 3);
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bone) 0%, #efefed 100%);
    border: 2px solid var(--bone);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #d8d8d6;
    border-radius: 2px;
    z-index: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.thumbnail:hover {
    border-color: var(--navy);
    transform: scale(1.02);
}

.thumbnail.active {
    border-color: var(--navy);
    border-width: 3px;
    box-shadow: 0 0 0 1px var(--navy);
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy);
    line-height: 1.3;
    min-height: 42px;
    display: flex;
    align-items: flex-start;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.tag {
    padding: 4px 10px;
    background: var(--bone);
    border: 1px solid var(--navy);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    color: var(--navy);
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: var(--navy);
    color: var(--cream);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.add-to-cart-btn:hover {
    background: var(--navy-dark);
    box-shadow: 0 2px 8px rgba(0, 31, 61, 0.3);
}


/* ==========================================
   FOOTER
========================================== */
.main-footer {
    background: var(--navy);
    color: var(--cream);
    padding: 60px 40px 30px;
    margin-top: 80px;
}

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

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-newsletter {
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--cream);
    background: transparent;
    color: var(--cream);
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(245, 245, 220, 0.6);
}

.newsletter-form button {
    padding: 12px 30px;
    background: var(--cream);
    color: var(--navy);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(245, 245, 220, 0.2);
}

.footer-credit {
    text-align: left;
}

.footer-credit p {
    font-size: 11px;
    opacity: 0.6;
    margin: 0;
}

.footer-credit a {
    color: var(--cream);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-credit a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-copyright {
    text-align: right;
    font-size: 13px;
    opacity: 0.8;
}

.footer-copyright p {
    margin: 0;
}


/* ==========================================
   LEGAL WIDGET (FLOATING BUTTON)
========================================== */
.legal-widget-trigger {
    position: fixed;
    bottom: 50px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--navy);
    border: 2px solid var(--cream);
    color: var(--cream);
    font-size: 24px;
    font-weight: bold;
    font-style: italic;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    isolation: isolate;
}

.legal-widget-trigger:hover {
    background: var(--navy-dark);
    transform: scale(1.05);
}

.legal-widget-panel {
    position: fixed;
    bottom: 50px;
    right: 90px;
    width: 280px;
    background: var(--navy);
    border: 2px solid var(--cream);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    max-height: 400px;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    isolation: isolate;
}

.legal-widget-panel.collapsed {
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
}

.legal-widget-content {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.legal-widget-content h3 {
    color: var(--cream);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--cream);
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 14px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.legal-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}


/* ==========================================
   MODAL SYSTEM
========================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bone);
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border-radius: 4px;
}

.modal-content.contact-modal {
    background: var(--navy);
    overflow: hidden;
    isolation: isolate;
}

.modal-content.contact-modal .logo-bg-container.modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.modal-content.contact-modal #modal-body {
    position: relative;
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-dark);
    line-height: 1;
}

.image-modal {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enlarged-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-image-main.clickable {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.product-image-main.clickable:hover {
    opacity: 0.85;
}

#modal-body h2 {
    color: var(--navy);
    margin-bottom: 10px;
    font-size: 28px;
}

.modal-intro {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-content.contact-modal #modal-body h2 {
    color: var(--cream);
}

.modal-content.contact-modal .modal-intro {
    color: var(--cream);
    opacity: 0.9;
}

.modal-content.contact-modal .contact-email-display {
    background: var(--cream);
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    transition: background 0.3s ease;
}

.modal-content.contact-modal .contact-email-display p {
    color: var(--navy);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.modal-content.contact-modal .email-link {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.modal-content.contact-modal .email-link:hover {
    color: var(--cream);
}

.modal-content.contact-modal .contact-email-display:hover {
    background: var(--navy-dark);
}

.modal-content.contact-modal .contact-email-display:hover p,
.modal-content.contact-modal .contact-email-display:hover .email-link {
    color: var(--cream);
}

.modal-content.contact-modal .modal-close {
    color: var(--cream);
}


/* ==========================================
   CONTACT FORM
========================================== */
.contact-email-display {
    background: var(--bone);
    padding: 20px;
    border-radius: 0;
    text-align: center;
    margin: 20px 0;
    border: 2px solid var(--navy);
}

.contact-email-display p {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.email-link {
    display: inline-block;
    color: var(--navy);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--navy);
    border-radius: 0;
    transition: all 0.3s ease;
}

.email-link:hover {
    background: var(--navy);
    color: var(--cream);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-content.contact-modal .form-group label {
    color: var(--cream);
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    color: var(--navy);
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--navy);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    padding: 14px 30px;
    background: var(--navy);
    color: var(--cream);
    border: none;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.form-submit:hover {
    background: var(--navy-dark);
    box-shadow: 0 2px 8px rgba(0, 31, 61, 0.3);
}

.modal-content.contact-modal .form-submit {
    background: var(--cream);
    color: var(--navy);
}

.modal-content.contact-modal .form-submit:hover {
    background: var(--bone);
}

.form-submit .button-bg .logo-bg-layer:nth-child(1) {
    opacity: 0.045;
}

.form-submit .button-bg .logo-bg-layer:nth-child(2) {
    opacity: 0.07;
}

.form-submit .button-bg .logo-bg-layer:nth-child(3) {
    opacity: 0.035;
}


/* ==========================================
   ABOUT PAGE
========================================== */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    background: transparent;
}

.about-container {
    width: 100%;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy);
    text-align: left;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.founder-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.founder-image-container {
    width: 100%;
}

.founder-image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px dashed #ccc;
}

.founder-image-placeholder p {
    color: #999;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-description {
    max-width: 900px;
    margin: 0 auto;
}

.founder-description h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-description p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.faq-section {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    text-align: left;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-item {
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: var(--navy);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--cream);
    text-align: left;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.faq-question:hover {
    background: var(--navy-dark);
}

.faq-icon {
    font-size: 24px;
    font-weight: bold;
    color: var(--cream);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.faq-item.active .faq-question {
    background: var(--navy);
    color: var(--cream);
}

.faq-item.active .faq-icon {
    color: var(--cream);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: transparent;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 25px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}


/* ==========================================
   APPOINTMENT PAGE
========================================== */
.appointment-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: transparent;
}

.appointment-container {
    width: 100%;
}

.appointment-intro {
    text-align: center;
    margin-bottom: 50px;
}

.appointment-intro h1 {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.appointment-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
}

.appointment-form-container {
    background: transparent;
    padding: 40px;
    border: none;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.appointment-form select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    color: var(--navy);
    background: var(--white);
    cursor: pointer;
}

.appointment-form select:focus {
    outline: none;
    border-color: var(--navy);
}

.appointment-form input,
.appointment-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    color: var(--navy);
    background: var(--white);
}

.appointment-form input:focus,
.appointment-form textarea:focus {
    outline: none;
    border-color: var(--navy);
}

.appointment-form input::placeholder,
.appointment-form textarea::placeholder {
    color: #999;
}

.appointment-form textarea {
    resize: vertical;
    min-height: 120px;
}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */
@media (max-width: 768px) {
    .logo-link {
        width: min(400px, 85vw);
    }

    .cookie-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cookie-text {
        font-size: 15px;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        font-size: 15px;
    }

    .header-container {
        padding: 10px 15px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .header-logo {
        order: 1;
    }

    .header-logo img {
        height: 52px;
    }

    .header-title {
        order: 1;
        margin-left: 0;
        margin-right: auto;
    }

    .header-title img {
        height: 44px;
    }

    .header-title h1 {
        font-size: 20px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 13px;
        padding: 6px 0;
    }

    .header-icons {
        order: 2;
        gap: 12px;
    }

    .cart-icon,
    .social-icon {
        width: 22px;
        height: 22px;
    }

    .shop-content {
        padding: 20px;
    }

    .filter-section {
        width: 100%;
    }

    .filter-select {
        min-width: auto;
        width: 100%;
    }

    .sort-section {
        width: 100%;
        flex-direction: column;
    }

    .filters-toggle-btn {
        width: 100%;
    }

    .clear-filters-btn {
        width: 100%;
    }

    .legal-widget-trigger {
        bottom: 30px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .legal-widget-panel {
        bottom: 30px;
        right: 70px;
        width: calc(100vw - 90px);
        max-width: 280px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .thumbnail {
        min-width: calc((100% - 16px) / 3);
        max-width: calc((100% - 16px) / 3);
    }

    .countdown-simple {
        font-size: 16px;
        margin-right: 10px;
    }

    .drop-title {
        font-size: 24px;
    }

    .product-name {
        font-size: 17px;
    }

    .product-price {
        font-size: 19px;
    }

    .tag {
        font-size: 12px;
    }

    .add-to-cart-btn {
        font-size: 14px;
        padding: 12px;
    }

    .filter-select {
        font-size: 15px;
    }

    .clear-filters-btn {
        font-size: 13px;
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 20px;
        justify-items: start;
        text-align: left;
    }

    .footer-links a {
        font-size: 15px;
    }

    .footer-links a:nth-child(2),
    .footer-links a:nth-child(4),
    .footer-links a:nth-child(6) {
        grid-column: 1 / -1;
    }

    .newsletter-form input {
        font-size: 15px;
    }

    .newsletter-form button {
        font-size: 15px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .modal-content {
        max-height: 90vh;
        padding: 30px 20px;
        width: 95%;
    }

    .modal-content.contact-modal {
        max-height: 95vh;
        padding: 25px 15px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-content.contact-modal #modal-body {
        padding: 10px 0;
    }

    .modal-content.contact-modal h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .modal-content.contact-modal .modal-intro {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .modal-content.contact-modal .contact-form {
        gap: 15px;
    }

    .modal-content.contact-modal .form-group {
        gap: 6px;
    }

    .modal-content.contact-modal .contact-form input,
    .modal-content.contact-modal .contact-form textarea {
        padding: 10px 12px;
        font-size: 16px;
    }

    .modal-content.contact-modal .contact-form textarea {
        min-height: 100px;
    }

    .modal-content.contact-modal .form-submit {
        padding: 12px 20px;
        font-size: 15px;
    }

    .modal-content.contact-modal .modal-close {
        top: 10px;
        right: 10px;
        font-size: 32px;
        width: 40px;
        height: 40px;
        z-index: 10;
    }

    .modal-overlay {
        padding: 20px 10px;
        align-items: flex-start;
    }

    .modal-overlay.active {
        overflow-y: auto;
    }

    .footer-credit {
        text-align: center;
    }

    .footer-copyright {
        font-size: 14px;
        text-align: center;
    }

    .about-content {
        padding: 40px 20px;
    }

    .page-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .founder-section {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .founder-description h2 {
        font-size: 24px;
    }

    .founder-description p {
        font-size: 15px;
    }

    .faq-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .faq-question {
        font-size: 14px;
        padding: 15px 20px;
    }

    .faq-icon {
        font-size: 20px;
    }

    .appointment-content {
        padding: 40px 20px;
    }

    .appointment-intro h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .appointment-intro p {
        font-size: 16px;
    }

    .appointment-form-container {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* ==========================================
   PRODUCT DETAIL PAGE
========================================== */
.product-detail-content {
    min-height: calc(100vh - 80px);
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Image Gallery */
.product-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-product-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--bone) 0%, #efefed 100%);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.product-thumbnail {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bone) 0%, #efefed 100%);
    border: 2px solid var(--bone);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumbnail:hover {
    border-color: var(--navy);
    transform: scale(1.05);
}

.product-thumbnail.active {
    border-color: var(--navy);
    box-shadow: 0 0 0 2px var(--cream);
}

/* Product Info */
.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-detail-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
    line-height: 1.3;
}

.product-detail-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.product-detail-description {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

.product-detail-description p {
    margin: 0 0 15px 0;
}

.product-detail-description p:last-child {
    margin-bottom: 0;
}

/* Action Buttons */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.product-actions .add-to-cart-btn {
    width: 100%;
    padding: 18px 30px;
}

.product-actions .buy-now-btn {
    width: 100%;
    background: var(--navy);
}

.back-to-shop {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--bone);
}

.back-link {
    color: var(--navy);
    text-decoration: none;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
    }

    .product-detail-title {
        font-size: 28px;
    }

    .product-detail-price {
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    .product-detail-content {
        padding: 20px 15px;
    }

    .product-detail-container {
        padding: 20px;
        gap: 30px;
    }

    .product-detail-title {
        font-size: 24px;
    }

    .product-detail-price {
        font-size: 22px;
    }

    .product-thumbnails-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }

    .product-actions .add-to-cart-btn {
        padding: 15px 25px;
        font-size: 16px;
    }
}

/* Product Info Link (for shop page cards) */
.product-info-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.3s ease;
    margin-bottom: 10px;
}

.product-info-link:hover {
    opacity: 0.8;
}

.product-info-link .product-name,
.product-info-link .product-price {
    cursor: pointer;
}

/* ==========================================
   SUCCESS PAGE
========================================== */
.success-content {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.success-container {
    max-width: 600px;
    text-align: center;
    background: white;
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
}

.success-container h1 {
    color: var(--navy);
    font-size: 32px;
    margin: 0 0 20px 0;
}

.success-message {
    font-size: 18px;
    color: #555;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.success-details {
    font-size: 16px;
    color: #777;
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    justify-content: center;
}

.success-actions .add-to-cart-btn {
    padding: 18px 40px;
}

@media (max-width: 600px) {
    .success-container {
        padding: 40px 30px;
    }

    .success-container h1 {
        font-size: 28px;
    }

    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
}

/* Fix button text alignment */
.add-to-cart-btn {
    text-align: center;
}

.add-to-cart-btn .btn-text {
    display: block;
    text-align: center;
}
