:root {
    /* --- ELEGANT MODERN PALETTE --- */
    --c-bg-main: #000000;
    /* Black Base */
    --c-accent: #B01B2E;
    /* Grenat branding */
    --c-text-main: #F4F4ED;
    /* Off-white */
    --c-text-muted: #999;
    /* Muted Grey */

    /* --- FONTS --- */
    --f-sans: 'Outfit', sans-serif;
    --f-serif: 'Playfair Display', serif;

    /* --- SPACING --- */
    --spacing-layout: 8rem;
}

/* @font-face - Local File */
@font-face {
    font-family: 'Super Brave';
    src: url('../SuperBrave.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.bg-dragon {
    position: fixed;
    top: 50%;
    right: -5vw;
    /* Align to right */
    left: auto;
    /* Reset left */
    transform: translateY(-50%);
    width: 60vw;
    max-width: 800px;
    opacity: 0.8;
    /* Higher opacity as requested */
    filter: blur(0px);
    /* Start clear, JS adds blur */
    z-index: -1;
    pointer-events: none;
    transition: filter 0.1s linear;
    /* Smooth blur transition */
}

/* --- ANIMATIONS --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* Load Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseDragon {
    from {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    to {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Liquid Text Effect */
.liquid-text {
    filter: url('#liquid-distortion');
    will-change: transform;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--c-bg-main);
    color: var(--c-text-main);
    font-family: var(--f-sans);
    overflow-x: hidden;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

/* --- BACKGROUND --- */
.elegant-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 0%, #300a0f 0%, var(--c-bg-main) 70%);
    z-index: -1;
}

/* Ambient Organic Blobs */
.ambient-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.ambient-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    transition: all 5s cubic-bezier(0.2, 0, 0.2, 1);
    will-change: transform;
}

.blob-1 {
    background: radial-gradient(circle, var(--c-accent) 0%, transparent 70%);
    top: -10%;
    left: -10%;
}

.blob-2 {
    background: radial-gradient(circle, #1a0609 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    transition-duration: 7s;
}

.blob-3 {
    background: radial-gradient(circle, var(--c-accent) 0%, transparent 70%);
    top: 40%;
    left: 40%;
    width: 600px;
    height: 600px;
    transition-duration: 6s;
}

/* --- UTILS --- */
.main-wrapper {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: var(--spacing-layout) 0;
}

/* --- HEADER --- */
.site-header {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-left: 5%;
    padding-right: 5%;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: opacity 0.3s;
}

.brand:hover {
    opacity: 0.8;
}

.brand-logo {
    height: 3.5rem;
    /* Enlarged from 2.5rem */
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.brand-text {
    font-family: 'Super Brave', var(--f-sans);
    font-size: 2rem;
    /* Enlarged from 1.5rem */
    font-weight: 900;
    text-transform: uppercase;
}

.dot {
    color: var(--c-accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.mobile-toggle {
    display: none;
}

.nav-links a:not(.nav-cta) {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--c-accent);
    transition: width 0.3s;
}

.nav-links a:not(.nav-cta):hover {
    opacity: 1;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

/* Call to Action Button */
.nav-cta {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--c-accent);
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-text-main);
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-cta:hover {
    background: var(--c-accent);
    color: white;
    box-shadow: 0 0 15px rgba(176, 27, 46, 0.4);
    opacity: 1;
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Center horizontally */
    position: relative;
    text-align: center;
    /* Center text lines */
}

.hero-typography {
    position: relative;
    z-index: 10;
}

.hero-title {
    line-height: 0.85;
    margin-bottom: 2rem;
}

.serif-title {
    font-family: var(--f-serif);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--c-text-muted);
    opacity: 0.6;
    display: block;
    animation: fadeInUp 1s ease-out forwards;
}

.sans-title {
    font-family: 'Super Brave', var(--f-sans);
    font-weight: 900;
    font-size: clamp(5rem, 18vw, 15rem);
    text-transform: uppercase;
    display: block;
    color: var(--c-text-main);
    opacity: 0;
    /* Hidden initially for animation */
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

/* Use overlay only if supported and on desktop for better contrast */
@media (min-width: 1024px) {
    .sans-title {
        mix-blend-mode: overlay;
        opacity: 0;
    }
}

.hero-slogan {
    font-size: 1.25rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: 10vw;
    text-align: right;
    font-weight: 300;
    margin-top: -3rem;
    opacity: 0;
    /* Hidden initially for animation */
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.text-accent {
    color: #fff;
    font-weight: 500;
    border-bottom: 1px solid var(--c-accent);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    opacity: 0.6;
    z-index: 10;
}

.scroll-icon {
    animation: float 2s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* --- ABOUT SECTION --- */
.section-header {
    margin-bottom: 4rem;
}

.section-label {
    display: block;
    font-family: var(--f-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-accent);
    margin-bottom: 1rem;
}

.section-heading {
    font-family: var(--f-serif);
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 400;
}

.serif-italic {
    font-style: italic;
    color: var(--c-text-muted);
}

.about-text-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    font-size: 1.1rem;
    font-weight: 300;
}

.mission-statement {
    font-family: var(--f-serif);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.4;
    color: #fff;
}

.highlight {
    color: #fff;
    font-weight: 500;
}

/* --- LINKS SECTION --- */
.links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.elegant-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.4s ease;
    border-radius: 4px;
}

.elegant-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.card-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.elegant-card h3 {
    font-weight: 400;
    font-size: 1.5rem;
    font-family: var(--f-serif);
}

.card-icon {
    color: var(--c-accent);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.elegant-card:hover .card-icon {
    opacity: 1;
    transform: translateX(0);
}

/* --- TEAM SECTION --- */
.team-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: default;
}

.team-row:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(176, 27, 46, 0.3);
    /* Subtle Grenat border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.member-role {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--c-text-muted);
    margin-bottom: 0.5rem;
    width: auto;
    transition: color 0.3s;
}

.team-row:hover .member-role {
    color: var(--c-accent);
}

.member-name {
    font-size: 1.4rem;
    font-weight: 300;
    font-family: var(--f-serif);
    line-height: 1.2;
}

/* --- FOOTER --- */
.site-footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.footer-brand h2 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.1;
    margin-bottom: 1rem;
}

.contact-link {
    font-size: 2rem;
    font-family: var(--f-serif);
    font-style: italic;
    border-bottom: 1px solid var(--c-accent);
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--c-text-muted);
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    color: var(--c-text-muted);
}

.social-links a:hover {
    color: var(--c-accent);
    transform: translateY(-3px);
}

.social-links i {
    width: 1.5rem;
    height: 1.5rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    :root {
        --spacing-layout: 4rem;
    }

    .main-wrapper {
        padding: 0 1.5rem;
    }

    .site-header {
        padding: 1rem 1.5rem;
    }

    /* Mobile Navigation */
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 2000;
        padding: 0.5rem;
    }

    .mobile-toggle .line {
        width: 24px;
        height: 2px;
        background-color: var(--c-text-main);
        transition: transform 0.3s, opacity 0.3s;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--c-bg-main);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1500;
        padding: 2rem;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.5rem;
        font-family: var(--f-serif);
        font-style: italic;
    }

    .nav-cta {
        font-family: var(--f-sans);
        font-style: normal;
        font-size: 1rem;
        padding: 1rem 2rem;
    }

    /* Toggle Animation */
    .mobile-toggle.active .line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.active .line:nth-child(2) {
        transform: rotate(-45deg);
    }

    /* Hero Adjustments */
    .hero-title {
        margin-bottom: 3rem;
    }

    .serif-title {
        font-size: 2.5rem;
    }

    .sans-title {
        font-size: clamp(4rem, 15vw, 8rem);
    }

    /* Section Headings */
    .section-heading {
        font-size: 2.5rem;
    }

    .about-text-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }

    .team-row {
        padding: 1.2rem;
        border-radius: 6px;
    }

    .member-name {
        font-size: 1.2rem;
    }

    .footer-brand h2 {
        font-size: 3.5rem;
    }

    .contact-link {
        font-size: 1.5rem;
    }

    .footer-meta {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* --- SHOP HERO WITH VIDEO --- */
.shop-hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.hero-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.shop-hero-content {
    position: relative;
    z-index: 10;
}

.shop-hero-content .section-label {
    display: block;
    margin-bottom: 1.5rem;
}

.shop-hero-content .section-heading {
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: 1.5rem;
}

.shop-hero-subtitle {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--c-text-muted);
    opacity: 0.8;
}

/* Shop Layout */
.shop-section {
    min-height: 80vh;
    padding-top: 10rem;
    /* Account for fixed header */
}

.shop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    width: 100%;
}

/* Product Card */
.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: row;
    /* Horizontal on desktop */
}

.product-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(176, 27, 46, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Image Gallery within Card */
.product-gallery {
    position: relative;
    width: 40%;
    /* 40% width for image */
    aspect-ratio: 4 / 5;
    background: #000;
    overflow: hidden;
    cursor: zoom-in;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-image.active {
    opacity: 1;
}

.gallery-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot.active {
    background: var(--c-accent);
    transform: scale(1.2);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.product-gallery-static:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 1rem;
}

.gallery-nav.next {
    right: 1rem;
}

/* Product Info */
.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-family: var(--f-serif);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--c-text-main);
}

.product-description {
    font-size: 0.95rem;
    color: var(--c-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--c-text-main);
    display: block;
    margin-bottom: 1rem;
}

.btn-order {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--c-accent);
    color: var(--c-text-main);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-order:hover {
    background: var(--c-accent);
    color: #fff;
    box-shadow: 0 0 20px rgba(176, 27, 46, 0.4);
}

/* Loading State */
.loading-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 200px;
    color: var(--c-text-muted);
}

.spin {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        flex-direction: column;
    }

    .product-gallery {
        width: 100%;
    }
}

/* --- SINGLE PRODUCT (SHOP) --- */
.single-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

.product-visuals {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-gallery-static {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    overflow: hidden;
    border-radius: 8px;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
    padding: 2rem;
    /* Add padding so the edges of the sweater don't touch the borders */
}

.product-video {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.promo-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

.product-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: sticky;
    top: 100px;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-badge {
    align-self: flex-start;
    background: var(--c-accent);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.product-title-large {
    font-size: 3rem;
    font-family: var(--f-serif);
    line-height: 1.1;
    color: var(--c-text-main);
}

/* Pricing Section */
.product-price-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.price-regular {
    font-size: 1.8rem;
    color: var(--c-text-main);
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-weight: 500;
}

.price-regular small {
    font-size: 0.85rem;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.3rem;
    font-weight: 400;
}

.price-separator {
    width: 1px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 0.5rem;
}

.price-member {
    font-size: 1.8rem;
    color: var(--c-accent);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.price-member .price-amount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-member small {
    font-size: 0.85rem;
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.3rem;
    font-weight: 400;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.price-info-icon {
    width: 14px;
    height: 14px;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.3s;
}

.price-info-icon:hover {
    opacity: 1;
}

.tooltip-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.custom-tooltip {
    position: absolute;
    bottom: 150%;
    /* Position above */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(30, 5, 8, 1);
    border: 1px solid rgba(176, 27, 46, 0.3);
    color: var(--c-text-main);
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: normal;
    min-width: 200px;
    text-align: center;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    z-index: 50;
    pointer-events: none;
    /* Prevent tooltip from interfering with clicks */
}

/* Caret pointing down */
.custom-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(30, 5, 8, 1) transparent transparent transparent;
}

.tooltip-container:hover .custom-tooltip,
.tooltip-container.active .custom-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.product-description-large {
    color: var(--c-text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Colors */
.product-colors {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.colors-label {
    font-family: var(--f-sans);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-text-muted);
}

.color-options {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.color-swatch-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid transparent;
    /* Ready for an "active" state or hover */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.color-swatch-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Characteristics */
.product-characteristics {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product-characteristics h4 {
    font-family: var(--f-sans);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-text-main);
    margin-bottom: 1rem;
}

.product-characteristics ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.product-characteristics li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--c-text-muted);
    font-size: 1rem;
}

.product-characteristics li i {
    width: 18px;
    height: 18px;
    color: var(--c-accent);
}

/* Actions */
.product-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-order-primary {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 1.2rem;
    background: var(--c-accent);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(176, 27, 46, 0.3);
}

.btn-order-primary:hover {
    background: #c91f35;
    box-shadow: 0 6px 20px rgba(176, 27, 46, 0.5);
    transform: translateY(-2px);
    opacity: 1;
}

.fallback-link {
    text-align: center;
    font-size: 0.85rem;
    color: var(--c-text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.fallback-link:hover {
    opacity: 1;
}

.fallback-link a {
    color: var(--c-accent);
    text-decoration: underline;
}

.helloasso-widget {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 4rem;
    width: 100%;
}

@media (max-width: 992px) {
    .single-product {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 3rem;
    }

    .product-info-wrapper {
        position: relative;
        top: 0;
    }

    .product-title-large {
        font-size: 2.2rem;
    }
}

/* --- PHOTO MODAL LIGHTBOX --- */
.photo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
}

.photo-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2010;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: scale(1.2);
    color: var(--c-accent);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.modal-image-container {
    flex-grow: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

#modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s, transform 0.3s;
}

.modal-caption {
    margin-top: 1.5rem;
    font-family: var(--f-serif);
    font-size: 1.2rem;
    color: var(--c-text-main);
    text-align: center;
}

.modal-nav {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.modal-nav:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    transform: scale(1.1);
}

.modal-dots {
    display: flex;
    gap: 0.8rem;
    margin-top: 2rem;
}

.modal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.modal-dot.active {
    background: var(--c-accent);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .modal-nav {
        display: none;
        /* Hide nav buttons on mobile, use swipe if implemented or just simpler UI */
    }

    .modal-content {
        height: 60vh;
    }
}

/* --- NEWS SECTION --- */
.news-section {
    min-height: 80vh;
    padding-top: 10rem;
}

.news-container {
    display: flex;
    flex-wrap: wrap;
    /* allow wrapping if row, though it's column below, maybe we change to row grid? Wait, request says fix size, so maybe a grid is better */
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-ticket {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    width: 100%;
    max-width: 600px;
    /* Base fixed width */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.news-ticket:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(176, 27, 46, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.news-content-wrapper {
    padding: 2.5rem;
    flex-grow: 1;
    /* allow content to fill space */
}

.news-header {
    margin-bottom: 2rem;
}

.news-date {
    font-size: 0.85rem;
    color: var(--c-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: block;
}

.news-title {
    font-size: 2.2rem;
    font-family: var(--f-serif);
    line-height: 1.2;
    color: var(--c-text-main);
}

.news-body {
    color: var(--c-text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.news-media-container {
    background: #000;
    width: 100%;
    height: 350px;
    /* Fixed height for media area */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-single-image,
.news-single-media {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* ensures whole image is visible and centered */
    display: block;
}

/* --- LATEST NEWS (HOME PAGE) --- */
.latest-news-section {
    position: relative;
    overflow: hidden;
}

.latest-slider-wrapper {
    position: relative;
    width: 100%;
}

.latest-news-mask {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.latest-news-container {
    display: flex;
    width: 100%;
    align-items: stretch;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.latest-news-container .news-ticket {
    flex: 0 0 100%;
    /* Show one ticket per slide */
    width: 100%;
    min-width: 100%;
    /* Force width */
    max-width: 100%;
    margin: 0;
    /* For home page, layout media beside text if screen is wide enough */
    display: flex;
    flex-direction: column;
}

.latest-news-container .news-media-container,
.latest-news-container .news-carousel {
    height: 350px;
    width: 100%;
}

/* Slider Controls */
.latest-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    opacity: 0;
    /* hidden until hover if on desktop, or visible on logic */
}

.latest-slider-wrapper:hover .latest-slider-btn {
    opacity: 1;
}

.latest-slider-btn:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    transform: translateY(-50%) scale(1.1);
}

.latest-slider-btn.prev {
    left: -1.75rem;
}

.latest-slider-btn.next {
    right: -1.75rem;
}

.latest-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.latest-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.latest-slider-dot.active {
    background: var(--c-accent);
    transform: scale(1.3);
}

@media (min-width: 1024px) {
    .latest-news-container .news-ticket {
        flex-direction: row;
        /* Media left, text right */
        height: 500px;
    }

    .latest-news-container .news-media-container,
    .latest-news-container .news-carousel {
        width: 50%;
        height: 100%;
    }

    .latest-news-container .news-content-wrapper {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 4rem;
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .latest-slider-btn {
        opacity: 1;
        /* always show on mobile */
        width: 2.5rem;
        height: 2.5rem;
    }

    .latest-slider-btn.prev {
        left: 0.5rem;
    }

    .latest-slider-btn.next {
        right: 0.5rem;
    }
}

/* Base Carousel Styles for News */
.news-carousel {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: #000;
    width: 100%;
    height: 350px;
    /* matching single image height */
}

.news-carousel .carousel-inner {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.news-carousel .carousel-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-carousel .carousel-item img,
.news-carousel .carousel-item video {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}

.news-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.news-carousel .carousel-btn:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
}

.news-carousel .carousel-btn.prev {
    left: 1rem;
}

.news-carousel .carousel-btn.next {
    right: 1rem;
}

.news-carousel .carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.news-carousel .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.news-carousel .carousel-dot.active {
    background: var(--c-accent);
    transform: scale(1.3);
}

/* Read More Button */
.btn-read-more {
    background: none;
    border: none;
    color: var(--c-accent);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.btn-read-more i {
    width: 1rem;
    height: 1rem;
}

.btn-read-more:hover {
    color: #fff;
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--c-text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--f-sans);
    font-weight: 500;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pagination-btn.active {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: white;
}

@media (max-width: 768px) {
    .news-content-wrapper {
        padding: 2rem 1.5rem;
    }

    .news-title {
        font-size: 1.8rem;
    }

    .news-carousel .carousel-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* HelloAsso Pseudo-Dark Mode */
.helloasso-widget {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
}

.helloasso-widget iframe {
    /* Invert colors to get a dark background with light text */
    filter: invert(90%) hue-rotate(180deg) brightness(1.2) contrast(0.9);
    background-color: transparent;
    transition: filter 0.3s ease;
}