/*
Theme Name: Cavins Theme
Theme URI: 
Author: Antigravity
Author URI: 
Description: A custom theme for Cavins.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cavins-theme
*/

*, *::before, *::after {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Lindsey Signature';
    src: url('assets/fonts/lindsey-signature-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-bg: #2E1A47;
    --text-white: #EEECDF;
    --accent-gold: #B9975B;
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: var(--font-family);
    background-color: #f4f4f4;
}

/* Header Base */
.site-header {
    background-color: var(--primary-bg);
    width: 100%;
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    height: 100px;
    box-sizing: border-box;
}

/* Logo Setup with Dripping effect simulation */
.site-logo {
    position: relative;
    z-index: 101;
}

.site-logo a {
    text-decoration: none;
    display: block;
}

.site-logo img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Desktop Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-left: auto; /* Push to right */
    height: 100px;
}

.nav-links {
    display: flex;
    align-items: center; /* Center the links vertically inside the header */
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 48px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.nav-links li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.54px;
    display: flex;
    align-items: center;
    height: 24px; /* Align all items to the same height as the chevron icon */
    transition: color 0.3s ease;
}

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

.nav-links a img {
    vertical-align: middle;
    transition: transform 0.3s ease;
    position: relative;
    top: -1px; /* small optical adjustment if needed */
}

.has-dropdown:hover > a img.chevron-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: calc(50% + 12px); /* Align immediately below centered link text */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--dropdown-menu-bg-color, #ffffff);
    list-style: none;
    padding: 0;
    margin: 0;
    width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px; /* Bridge gap between menu text and dropdown container */
    left: 0;
    width: 100%;
    height: 20px;
    z-index: -1;
}
.has-dropdown {
    position: relative;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px); /* Smooth downward float */
}
.dropdown-menu li {
    width: 100%;
    display: block;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
}
.dropdown-menu a {
    display: block;
    padding: var(--dropdown-menu-padding-y, 14px) var(--dropdown-menu-padding-x, 20px);
    color: var(--dropdown-menu-color, #2E1A47) !important;
    font-family: var(--dropdown-menu-family, 'Montserrat', sans-serif);
    font-size: var(--dropdown-menu-size, 11px);
    font-weight: var(--dropdown-menu-weight, 600);
    line-height: var(--dropdown-menu-line-height, 1.2);
    letter-spacing: var(--dropdown-menu-letter-spacing, 1px);
    text-align: center;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f2f2f2;
    height: auto; /* Override inherited height: 24px from .nav-links a */
}
.dropdown-menu li:last-child a {
    border-bottom: none;
}
.dropdown-menu a:hover {
    background-color: var(--dropdown-menu-hover-bg-color, #fcf8f2);
    color: var(--dropdown-menu-hover-color, #B9975B) !important;
}

/* Order Now Button */
.order-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--accent-gold);
    color: var(--primary-bg);
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.32px;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.order-btn:hover {
    background-color: #d4b572;
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 102;
}

/* --- Footer Section --- */
.site-footer {
    background-color: var(--primary-bg);
    color: var(--text-white);
    font-family: var(--font-family);
    position: relative;
    padding-top: 50px; 
    margin-top: 0;
}

.footer-top {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 48px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 180px;
}

.footer-col-logo {
    flex: 0 0 180px;
    position: relative;
}

/* Make logo hang from the top of the footer */
.footer-logo {
    display: block;
    max-width: 140px;
    height: auto;
    position: absolute;
    top: -95px; 
    left: 0;
}

.footer-col-title {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 2px;
    font-family: var(--font-family);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: rgba(238, 236, 223, 0.85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1.54px;
    transition: color 0.3s ease;
}

.footer-links-list a:hover {
    color: var(--accent-gold);
}

.footer-col-fusions {
    flex: 1.5;
}

.fusions-columns {
    display: flex;
    gap: 60px;
}

.footer-col-socials {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 0 0 200px;
}

.social-icons {
    display: flex;
    gap: 25px;
}

.social-icons a {
    color: var(--text-white);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-gold);
}

.social-icons svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(238, 236, 223, 0.08);
    padding: 25px 48px;
}

.footer-bottom-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.copyright {
    color: rgba(238, 236, 223, 0.7);
    font-size: 14px;
    margin: 0; 
    text-align: center;
    letter-spacing: 0.5px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #2a1b41; /* Dark purple */
    color: #ffffff; /* White arrow */
    border-radius: 50%; /* Round shape */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke-width: 3px;
    stroke: #ffffff;
}

.back-to-top:hover {
    background-color: #B9975B; /* Gold hover */
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* ─── Montecatini Pro Web Fonts ─── */
@font-face {
  font-family: 'Montecatini Pro';
  src: url('assets/fonts/MontecatiniProCustom-Stretto.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montecatini Pro';
  src: url('assets/fonts/MontecatiniProCustom-StrettoBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montecatini Pro';
  src: url('assets/fonts/MontecatiniProCustom-StrettoLight.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montecatini Pro';
  src: url('assets/fonts/MontecatiniProCustom-StrettoMedium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montecatini Pro';
  src: url('assets/fonts/MontecatiniProCustom-StrettoSemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montecatini Pro';
  src: url('assets/fonts/MontecatiniProCustom-StrettoUltra.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ─── Josefin Slab Variable Fonts ─── */
@font-face {
  font-family: 'Josefin Slab';
  src: url('assets/fonts/Josefin_Slab/JosefinSlab-VariableFont_wght.ttf') format('truetype-variations'),
       url('assets/fonts/Josefin_Slab/JosefinSlab-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Josefin Slab';
  src: url('assets/fonts/Josefin_Slab/JosefinSlab-Italic-VariableFont_wght.ttf') format('truetype-variations'),
       url('assets/fonts/Josefin_Slab/JosefinSlab-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ─── Savor Section Base Styling ─── */
.savor-widget-container {
  background: #2E1A47;
  padding: 0;
  overflow: hidden;
  position: relative; 
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.savor-wave-top,
.savor-wave-bottom {
  width: 100%;
  display: block;
  object-fit: cover;
  margin: 0;
  padding: 0;
  line-height: 0;
  border-radius: 0;
}

.savor-wave-top {
  transform: scaleY(-1);
  margin-top: -4px;
}

/* Remove white gap under images */
.savor-widget-container img {
  vertical-align: bottom;
}

.savor-wave-bottom {
  margin-bottom: -2px;
}

.savor-content-wrapper {
  width: 100%;
  max-width: 100% !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0; 
}

.savor-heading {
  font-family: 'Montecatini Pro', sans-serif;
  color: #fff;
  text-align: center;
  margin-bottom: 80px !important; 
  text-transform: uppercase;
  letter-spacing: 2px;
  width: 100%;
  font-size: 50px;
  font-weight: 700;
}

.savor-carousel-viewport {
  width: 100%;
  overflow: hidden;
  padding: 20px 0; 
  cursor: grab;
}

.savor-carousel-track {
  display: flex;
  gap: 32px;
}

.savor-item {
  width: 340px;
  flex-shrink: 0;
  text-align: center;
  transition: transform 0.4s ease, opacity 0.4s;
  opacity: 0.4;
  text-decoration: none !important;
}

.savor-item.is-center {
  opacity: 1;
  transform: scale(1.1);
  padding-left:10px;
  padding-right:10px;
}

.savor-img-wrapper {
  border-radius: 24px;
  overflow: hidden;
  height: 340px;
  width: 100%;
  position: relative;
  background: #3d2460;
}

.savor-img-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; 
  object-position: center !important;
  position: absolute;
  top: 0;
  left: 0;
}

.img-hover { opacity: 0; transition: opacity 0.4s ease; z-index: 2;}
.img-primary { opacity: 1; transition: opacity 0.4s ease; z-index: 1;}

.savor-item.is-center:hover .img-hover { opacity: 1;  }
.savor-item.is-center:hover .img-primary { opacity: 0; }

.savor-title {
  white-space: pre-wrap !important; 
  color: #d1ab66 !important;
  font-family: 'Montecatini Pro', sans-serif !important;
  font-size: 18px !important;
  margin-top: 20px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
}

.savor-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 80px !important; 
  width: 100%;
}

.savor-pagination {
  font-family: 'Montecatini Pro', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  min-width: 80px;
  text-align: center;
}

.savor-pagination span {
  opacity: 0.6;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #FFF !important;   
  background: transparent !important;
  color: #FFF !important;              
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: #3a1e69 !important;
  color: #fff !important;              
  border-color: #3a1e69 !important;
}

.nav-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Responsive */
@media (max-width: 991px) {
    .header-inner {
        height: 70px;
        padding: 0 20px;
    }
    
    .main-navigation {
        position: fixed; /* Fixed viewport overlay */
        top: 70px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 70px); /* Fill viewport screen height */
        background-color: var(--primary-bg);
        flex-direction: column;
        align-items: center;
        padding: 60px 20px;
        gap: 30px;
        box-sizing: border-box;
        border-top: 1px solid rgba(255,255,255,0.1);
        overflow-y: auto; /* Enable scroll if items exceed screen height */
        
        /* Hidden by default on mobile */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: all 0.3s ease;
        z-index: 998; /* Below toggle but above content */
    }

    .main-navigation.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 25px;
        align-items: center;
        position: static;
        top: auto;
        transform: none;
    }
    .nav-links li {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    /* Mobile Dropdown Menu Styles */
    .has-dropdown {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .has-dropdown > a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .main-navigation .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
        background: transparent !important;
        display: none; /* Collapsed by default, toggled via JS */
        padding: 0 !important;
        margin: 10px 0 0 0 !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
    }
    .has-dropdown.open .dropdown-menu {
        display: block; /* Expand when active */
    }
    .main-navigation .dropdown-menu li {
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    .main-navigation .dropdown-menu a {
        display: block !important;
        padding: 10px 0 !important;
        color: var(--dropdown-menu-mobile-color, rgba(255, 255, 255, 0.7)) !important;
        font-family: var(--dropdown-menu-family, 'Montserrat', sans-serif) !important;
        font-size: var(--dropdown-menu-mobile-size, 12px) !important;
        font-weight: var(--dropdown-menu-weight, 500) !important;
        letter-spacing: var(--dropdown-menu-letter-spacing, 1.2px) !important;
        text-align: center !important;
        border-bottom: none !important;
        background: transparent !important;
        text-transform: uppercase !important;
        transition: color 0.2s ease !important;
    }
    .main-navigation .dropdown-menu a:hover,
    .main-navigation .dropdown-menu a:active {
        color: var(--dropdown-menu-hover-color, var(--accent-gold)) !important;
        background: transparent !important;
    }

    .mobile-toggle {
        display: block;
    }
    .mobile-toggle .icon-close {
        display: none !important;
    }
    .mobile-toggle.active .icon-hamburger {
        display: none !important;
    }
    .mobile-toggle.active .icon-close {
        display: block !important;
    }
    
    .site-logo {
        top: 0;
        padding: 0;
    }

    /* Responsive Footer */
    .footer-top {
        padding: 30px 20px 10px 20px;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .footer-col {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col-logo {
        position: relative;
        width: 100%;
        height: 25px;
        margin-bottom: 0;
        flex: none;
    }

    .footer-logo {
        position: absolute;
        top: -95px;
        left: 50%;
        transform: translateX(-50%);
        width: 130px;
        max-width: 130px;
    }

    .fusions-columns {
        flex-direction: column;
        gap: 15px;
    }

    .footer-col-socials {
        justify-content: center;
        margin-top: 0;
    }

    .footer-bottom {
        padding: 10px 20px;
    }

    .footer-bottom-container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100%;
    }

    .copyright {
        margin: 0 auto;
        text-align: center;
        font-size: 13px;
        padding-right: 30px; 
        padding-left: 30px;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 20px;
        right: 20px;
    }
    .back-to-top svg {
        width: 16px;
        height: 16px;
    }

    /* Savor Mobile Responsive */
    .savor-title {
        white-space: pre-wrap !important; 
        font-size: 16px !important;
        margin-top: 16px !important;
        letter-spacing: 0.02em !important;
    }
    .savor-item { width: 260px; }
    .savor-img-wrapper { height: 260px; border-radius: 24px; }
    .savor-heading { font-size: 22px; padding-top:29px; margin-bottom: 60px !important; }
    .savor-wave-top { margin-top: 0 !important; }
}

/* --- VAULT SECTION STYLES --- */
.h2-vault-section {
    padding: 60px 15px;
    background-color: #ffffff;
    width: 100% !important;
    box-sizing: border-box !important;
}

.h2-vault-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.h2-vault-title {
    text-align: center;
    font-family: var(--vault-title-font-family, 'Montecatini Pro', sans-serif) !important;
    color: var(--vault-title-color, #2E1A47) !important;
    text-transform: uppercase;
    font-size: var(--vault-title-font-size, 45px) !important;
    font-weight: var(--vault-title-font-weight, 700) !important;
    letter-spacing: var(--vault-title-letter-spacing, 1px) !important;
    line-height: var(--vault-title-line-height, 1.15) !important;
    margin-bottom: var(--vault-gap-title-columns, 60px) !important;
    padding: 0 20px;
    box-sizing: border-box;
}

.h2-vault-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 130px; /* Default Desktop Gap */
}

.h2-vault-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 227px;
}

/* Forces the 36px rounded pill shape and 1:1 aspect ratio */
.h2-vault-image {
    border-radius: 36px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    margin-bottom: 25px !important;
    width: 100% !important;
    max-width: 227px !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

/* Forces the #D3A96A tan background and dark text */
.h2-vault-btn {
    background-color: #D3A96A !important;
    color: #2E1A47 !important;
    width: 159px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    font-family: 'Montserrat', sans-serif !important;
    text-decoration: none !important;
    box-sizing: border-box;
    text-transform: uppercase;
    border: none !important;
    box-shadow: none !important;
    transition: background-color 0.3s ease;
}

.h2-vault-btn:hover {
    background-color: #C8A165 !important;
}



/* --- RESPONSIVE BREAKPOINTS --- */

/* Tablet */
@media (max-width: 1024px) {
    .h2-vault-columns {
        gap: 50px !important;
    }
    .h2-vault-title {
        font-size: 38px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .h2-vault-columns {
        gap: 30px !important;
    }
    .h2-vault-title {
        font-size: 30px !important;
        margin-bottom: 40px !important;
    }
}

/* --- GLOBAL BREADCRUMBS --- */
.back-link {
    display: flex;
    align-items: center;
    margin-right: 12px;
}
.back-icon {
    width: 28px;
    height: 28px;
}
.fusion-breadcrumbs {
    width: 100%;
    margin: 40px auto 20px;
    padding: 0 80px;
    box-sizing: border-box;
    max-width: 1440px;
}
.breadcrumbs-container {
    display: flex;
    align-items: center;
    gap: 8px;
}
.breadcrumb-item a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px;
    font-weight: 500 !important;
    line-height: 1.2;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #858283 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}
.breadcrumb-item a:hover {
    color: #B9975B !important;
}
.breadcrumb-separator {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px;
    font-weight: 500 !important;
    line-height: 1.2;
    color: #000000;
    margin: 0 4px;
}
.breadcrumb-item.bread-current {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px;
    font-weight: 500 !important;
    line-height: 1.2;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #858283 !important;
}

/* --- CONTACT US PAGE STYLES --- */
.contact-page-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px 100px 80px;
    box-sizing: border-box;
}

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

.contact-header .cavins-fusionsection-title {
    font-family: var(--contact-title-family) !important;
    font-size: var(--contact-title-size) !important;
    font-weight: var(--contact-title-weight) !important;
    line-height: var(--contact-title-line-height);
    color: var(--contact-title-color) !important;
    text-transform: uppercase;
    letter-spacing: var(--contact-title-letter-spacing);
    margin: 40px 0 16px 0 !important;
}

.contact-header .cavins-fusion-section-subtitle {
    font-family: var(--contact-subtitle-family) !important;
    font-size: var(--contact-subtitle-size) !important;
    font-weight: var(--contact-subtitle-weight) !important;
    line-height: var(--contact-subtitle-line-height) !important;
    color: var(--contact-subtitle-color) !important;
    letter-spacing: var(--contact-subtitle-letter-spacing) !important;
    max-width: 600px;
    margin: 0 auto !important;
}

.contact-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
}

/* Custom Contact Form */
.custom-contact-form {
    width: 100%;
}

.custom-contact-form .form-group {
    margin-bottom: 22px;
}

.custom-contact-form label {
    display: block;
    font-family: var(--contact-label-family) !important;
    font-size: var(--contact-label-size) !important;
    font-weight: var(--contact-label-weight) !important;
    line-height: 20px;
    color: var(--contact-label-color) !important;
    margin-bottom: 14px;
}

.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form input[type="tel"],
.custom-contact-form textarea {
    width: 100%;
    background: transparent !important; 
    border: 1px solid rgba(46, 26, 71, 0.2) !important;
    border-radius: 8px;
    padding: 12px;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #2E1A47;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form input[type="tel"] {
    height: 48px !important;
    padding: 0 16px !important; 
}

.custom-contact-form textarea {
    height: 140px;
    resize: none;
}

.custom-contact-form input::placeholder,
.custom-contact-form textarea::placeholder {
    color: #7F8388;
}

.custom-contact-form input[type="text"]:focus,
.custom-contact-form input[type="email"]:focus,
.custom-contact-form input[type="tel"]:focus,
.custom-contact-form textarea:focus {
    border-color: #B9975B !important;
    background: transparent !important; 
}

.custom-contact-form button[type="submit"] {
    width: 180px;
    height: 52px;
    background: #2E1A47 !important;
    border: none;
    border-radius: 13px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #FFFFFF !important;
    cursor: pointer;
    transition: 0.3s ease;
    display: inline-block !important;
}

.custom-contact-form button[type="submit"]:hover {
    opacity: 0.9;
}

/* Contact Details Info Boxes */
.contact-details h3 {
    font-family: var(--contact-details-title-family) !important;
    font-size: var(--contact-details-title-size) !important;
    font-weight: var(--contact-details-title-weight) !important;
    color: var(--contact-details-title-color) !important;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details .icon-box {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.contact-details .icon-box-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background-color: #2E1A47;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.contact-details .icon-box:hover .icon-box-icon {
    background-color: #B9975B;
}

.contact-details .icon-box-content h4 {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 700;
    color: #2E1A47;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details .icon-box-content p {
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 22px;
    color: #7F8388;
    margin: 0;
}

.contact-details .icon-box-content p a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details .icon-box-content p a:hover {
    color: #B9975B;
}

/* Alert Boxes */
.contact-alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.contact-alert.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-alert.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .contact-page-container {
        padding: 0 40px 60px 40px;
    }
    .contact-grid-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.custom-contact-form .checkbox-options,
.custom-contact-form .radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 12px;
}
.custom-contact-form .option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    color: #2E1A47;
    margin-bottom: 0 !important;
    cursor: pointer;
}
.custom-contact-form .option-label input {
    width: 18px;
    height: 18px;
    accent-color: #B9975B;
    cursor: pointer;
}


@media (max-width: 768px) {
    .fusion-breadcrumbs {
        padding: 0 24px;
        margin: 24px auto 16px;
    }
    .contact-page-container {
        padding: 0 24px 60px 24px;
    }
    .contact-header {
        margin-bottom: 30px;
    }
    .contact-header .cavins-fusionsection-title {
        font-size: var(--contact-title-mobile-size) !important;
        margin: 24px 0 12px 0 !important;
    }
    .contact-header .cavins-fusion-section-subtitle {
        font-size: var(--contact-subtitle-mobile-size) !important;
    }
    .custom-contact-form .submit-btn {
        display: flex !important;
        justify-content: center !important;
    }
}

/* --- HERO SECTION STYLES --- */
.cavins-hero { 
    position: relative; 
    width: 100%; 
    height: 750px; 
    background: #2E1A47; 
    overflow: hidden; 
    font-family: 'Montserrat', sans-serif; 
    color: #fff; 
}


/* ── Wave Backgrounds ── */
.cavins-hero__waves { 
    position: absolute; 
    bottom: -8px; 
    left: 0; 
    right: 0; 
    height: 365px; 
    z-index: 1; 
}
.cavins-hero__wave { 
    position: absolute; 
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0; 
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s; 
}
.cavins-hero__wave.is-active { 
    opacity: 1; 
    visibility: visible;
}
.cavins-hero__wave svg {
    width: 100%;
    height: 100%;
    display: block;
}
.cavins-hero__wave svg path {
    transition: fill 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-wave {
    display: none !important;
}
.desktop-wave {
    display: block;
}

/* ── Fixed Text Top Left ── */
.cavins-hero__text-fixed { 
    position: absolute; 
    top: calc(15% - 60px); 
    left: 8%; 
    z-index: 30; 
    max-width: 650px; 
}
.cavins-hero-title { 
    font-family: var(--hero-title-family) !important; 
    font-size: var(--hero-title-size) !important; 
    font-weight: var(--hero-title-weight) !important; 
    line-height: var(--hero-title-line-height) !important; 
    letter-spacing: var(--hero-title-spacing) !important; 
    text-transform: uppercase; 
    color: var(--hero-title-color) !important; 
    margin: 0 0 20px 0;
}
.cavins-hero__btn { 
    display: inline-block; 
    background: var(--hero-btn-bg-color) !important; 
    color: var(--hero-btn-color) !important; 
    text-decoration: none !important; 
    font-family: var(--hero-btn-family) !important;
    font-size: var(--hero-btn-size) !important; 
    font-weight: var(--hero-btn-weight) !important; 
    letter-spacing: var(--hero-btn-spacing) !important; 
    padding: 18px 24px; 
    border-radius: 16px; 
    transition: all 0.3s ease; 
    text-transform: uppercase;
}
.cavins-hero__btn:hover {
    background-color: #d4b572 !important;
    color: var(--hero-btn-color) !important;
    transform: translateY(-2px);
}

/* ── Flavour Text Bottom Left ── */
.cavins-hero__flavour-block { 
    position: absolute; 
    bottom: calc(12% - 24px); 
    left: 8%; 
    z-index: 40; 
    text-align: left; 
    width: 450px; 
}
.cavins-hero__flavour-script { 
    font-family: 'Lindsey Signature', cursive !important; 
    font-size: 60px; 
    color: #2E1A47; 
    line-height: 1.4; 
    transform: rotate(-6deg); 
    font-weight: normal; 
    margin-bottom: 8px; 
}
.cavins-hero__flavour-names { 
    position: relative; 
    margin-left: 62px; 
    height: 60px; 
}
.cavins-hero__fname { 
    position: absolute; 
    top: 0; 
    left: 0; 
    transform: translateY(10px); 
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px; 
    font-weight: 700; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    color: #2E1A47; 
    opacity: 0; 
    transition: opacity 0.5s ease, transform 0.5s ease; 
    pointer-events: none; 
}
.cavins-hero__fname.is-active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* ── Products Gallery ── */
.cavins-hero__gallery { 
    position: absolute; 
    inset: 0; 
    z-index: 10; 
    pointer-events: none; 
    perspective: 1000px;
}
.cavins-hero__item { 
    position: absolute; 
    bottom: 8%; 
    left: 50%; 
    transform-origin: center bottom; 
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease, visibility 0.8s; 
    pointer-events: auto; 
    width: 680px;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}
.cavins-hero__item img { 
    width: 100%; 
    height: auto; 
    display: block; 
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3)); 
}

.cavins-hero__item.is-active { 
    transform: translate3d(-50%, 28px, 0) scale(1); 
    opacity: 1; 
    z-index: 20; 
    filter: none;
    visibility: visible;
    pointer-events: auto; 
}
.cavins-hero__item.is-next { 
    transform: translate3d(calc(-50% + 33vw), -160px, 0) scale(0.45); 
    opacity: 1; 
    z-index: 15; 
    filter: none;
    visibility: visible;
}
.cavins-hero__item.is-prev { 
    transform: translate3d(calc(-50% - 15vw), 135px, 0) scale(0.6); 
    opacity: 0; 
    filter: blur(8px); 
    z-index: 5; 
    visibility: hidden;
    pointer-events: none; 
}
.cavins-hero__item.is-hidden { 
    opacity: 0; 
    visibility: hidden; 
    pointer-events: none; 
    transform: translate3d(calc(-50% + 80vw), -160px, 0) scale(0.4);
    transition: none !important;
}



/* ── Navigation Arrows ── */
.cavins-hero__arrows { 
    position: absolute; 
    bottom: 8%; 
    right: 8%; 
    z-index: 60; 
    display: flex; 
    gap: 16px; 
}
.cavins-hero__arr { 
    width: 42px; 
    height: 42px; 
    border-radius: 50%; 
    background: transparent; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    border: none;
    padding: 0;
}
.cavins-hero__arr svg {
    width: 100%;
    height: 100%;
    display: block;
}
.cavins-hero__arr--prev svg {
    transform: rotate(180deg);
}
.cavins-hero__arr:hover { 
    transform: scale(1.1); 
}

/* ── Responsive adjustments (Mobile/Tablet) ── */
@media (max-width: 991px) {
    .cavins-hero { 
        height: 580px; 
    }
    .cavins-hero__text-fixed { 
        top: 8%; 
        left: 6%; 
        right: 6%;
        text-align: left;
        max-width: 100%;
    }
    .cavins-hero-title { 
        font-size: var(--hero-title-mobile-size) !important; 
    }
    .cavins-hero__btn {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        background: var(--accent-gold) !important;
        color: var(--primary-bg) !important;
        text-decoration: none !important;
        padding: 16px 20px !important;
        border-radius: 16px !important;
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 700 !important;
        font-size: 12px !important;
        line-height: 16px !important;
        letter-spacing: 1.32px !important;
    }
    .cavins-hero__btn:hover {
        background-color: #d4b572 !important;
    }
    .cavins-hero__flavour-block { 
        display: none; 
    }
    .cavins-hero__waves {
        height: 177px !important;
    }
    .desktop-wave {
        display: none !important;
    }
    .mobile-wave {
        display: block !important;
    }
    .cavins-hero__item { 
        width: 400px !important; 
        bottom: -2%; 
        left: 50%;
    }
    .cavins-hero__item.is-active { 
        transform: translate3d(-50%, 0, 0) scale(1);
        opacity: 1; 
        z-index: 20; 
        filter: none;
        visibility: visible;
    }
    .cavins-hero__item.is-next { 
        transform: translate3d(calc(-50% + 60vw), -200px, 0) scale(0.4); 
        opacity: 1;
        z-index: 15;
        filter: none;
        visibility: visible;
    }
    .cavins-hero__item.is-prev { 
        transform: translate3d(-50%, 100px, 0) scale(0.5);
        opacity: 0;
        filter: blur(8px);
        z-index: 5;
        visibility: hidden;
        pointer-events: none;
    }
    .cavins-hero__item.is-hidden {
        transform: translate3d(calc(-50% + 120vw), -200px, 0) scale(0.3);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: none !important;
    }
    .cavins-hero__arrows { 
        display: none !important; 
    }
}

/* ── Common Section Headers ── */
.fusion-slider-header {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 20px;
    padding: 0 20px;
}
.cavins-section-title {
    font-family: 'Montecatini Pro', serif !important;
    font-size: 52px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.5px;
    color: #2E1A47;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.cavins-section-subtitle {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #2E1A47;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.85;
}

/* ── Fusion Slider Section ── */
.fusion-slider {
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 50% !important;
    transform: translateX(-50%) !important;
    padding-top: 20px !important; 
    height: 680px; 
    background: transparent !important;
    overflow: hidden !important; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.fusion-slider__carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible !important;
}

.fusion-slider__item {
    position: absolute;
    top: 40%; 
    left: 50%;
    transform-origin: center;
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity, filter;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fusion-slider__item img {
    display: block;
    width: 624px;
    height: 416px;
    border-radius: 28px;
    object-fit: cover;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

/* ── Positions ── */
.fusion-slider__item.is-active {
    opacity: 1;
    filter: blur(0px);
    z-index: 10;
    transform: translate(-50%, -50%) scale(1);
    left: 50%;
}
.fusion-slider__item.is-prev {
    opacity: 0.4;
    filter: blur(6px);
    z-index: 5;
    left: 0%; 
    transform: translate(-50%, -50%) scale(0.9);
}
.fusion-slider__item.is-next {
    opacity: 0.4;
    filter: blur(6px);
    z-index: 5;
    left: 100%; 
    transform: translate(-50%, -50%) scale(0.9);
    visibility: visible;
}
.fusion-slider__item.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.5);
    filter: blur(10px);
}

/* ── Bottom Label Tag ── */
.fusion-slider__tag {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 140px;
    z-index: 20;
}

.fusion-slider__tag-bg {
    width: 100%;
    height: 100%;
    display: block;
    transform: rotate(180deg); /* Rotate the svg to match the shape */
}

.fusion-slider__names {
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%; 
    height: 50px;
    overflow: hidden; 
}

.fusion-slider__name {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 100%;
    text-align: center;
    font-size: var(--fusion-name-size, 28px);
    font-weight: var(--fusion-name-weight, 600);
    color: var(--fusion-name-color, #2E1A47);
    letter-spacing: var(--fusion-name-spacing, 0px);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    font-family: var(--fusion-name-family, 'Montecatini Pro', serif); 
}

/* Name Animations */
.fusion-slider__name.is-active { opacity: 1; visibility: visible; transform: translate(0%, -50%); }
.fusion-slider__name.is-next { opacity: 0; visibility: hidden; transform: translate(100%, -50%); }
.fusion-slider__name.is-prev { opacity: 0; visibility: hidden; transform: translate(-100%, -50%); }
.fusion-slider__name.is-hidden { opacity: 0; visibility: hidden; transform: translate(0%, -50%) scale(0.5); transition: none; }

/* ── Responsive Mobile ── */
@media (max-width: 768px) {
    .cavins-section-title {
        font-size: 32px;
    }
    .cavins-section-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }
    .fusion-slider {
        height: 480px;
    }
    .fusion-slider__item img {
        width: 85vw;
        height: auto;
        aspect-ratio: 624 / 416;
        border-radius: 18px;
    }
    .fusion-slider__item.is-prev {
        left: -15%;
    }
    .fusion-slider__item.is-next {
        left: 115%;
    }
    .fusion-slider__tag {
        width: 260px;
        height: 110px;
    }
    .fusion-slider__name {
        font-size: var(--fusion-name-mobile-size, 22px);
    }
}

/* ── Creed Section ── */
.creed-section {
    background-color: #2a1b41;
    padding: 100px 0 60px;
    width: 100vw;
    margin-left: calc(-50vw + 50%); /* Break out of boxed layout */
    overflow-x: hidden;
}

.creed-container { 
    max-width: 1440px; 
    margin: 0 auto; 
}
.creed-heading { 
    font-family: 'Montecatini Pro', serif !important; 
    font-weight: 700; 
    font-size: 52px !important; 
    line-height: 1.15 !important; 
    text-align: center; 
    color: #F1E6FF !important; 
    text-transform: uppercase; 
    margin-bottom: 20px; 
    padding-left: clamp(16px, 5vw, 40px);
    padding-right: clamp(16px, 5vw, 40px);
    box-sizing: border-box;
}
.creed-subheading { 
    font-family: 'Montserrat', sans-serif !important;
    text-align: center; 
    padding: 0 20px 40px; 
    color: #F1E6FF !important; 
    opacity: 0.9;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* ── Container & Cards ── */
.creed-ticker-outer { 
    width: 100%; 
    overflow: hidden; 
    padding: 40px 0 80px; 
}
.creed-cards-wrapper { 
    display: flex; 
    justify-content: center; 
    align-items: flex-end; 
    gap: 40px; 
    width: max-content; 
    margin: 0 auto; 
}

.creed-card {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    background-color: #4b3b5c;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    flex: 0 0 auto;
    overflow: hidden;
}

/* Desktop Hover Lift */
.creed-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

/* Card Dimensions */
.card-square { 
    width: 220px; 
    height: 220px; 
}
.card-portrait { 
    width: 240px; 
    height: 320px; 
}

/* Media (Images / Videos) */
.creed-bg-media {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    pointer-events: none;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

/* Fruit Integrity: Move only the image 40px down in y-axis with visible overflow */
.creed-card--fruit {
    overflow: visible !important;
}
.creed-card--fruit .creed-bg-media {
    transform: translateY(40px);
}
.creed-card--fruit:hover .creed-bg-media {
    transform: translateY(40px);
}

/* Nuts Image: Move only the image 60px up in y-axis with visible overflow */
.creed-card--nuts {
    overflow: visible !important;
    width: 220px;
    height: 270px;
}
.creed-card--nuts .creed-bg-media {
    transform: translateY(-60px);
}
.creed-card--nuts:hover .creed-bg-media {
    transform: translateY(-60px);
}

/* ── Text Content Overlay ── */
.creed-content { 
    position: absolute; 
    display: flex; 
    flex-direction: column; 
    z-index: 2; 
    padding: 24px; 
    width: 100%; 
    box-sizing: border-box;
}
.top-left { 
    top: 0; 
    left: 0; 
}
.top-center { 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    align-items: center; 
    text-align: center;
}
.center-left { 
    top: 24%; 
    left: 0; 
    transform: translateY(-50%); 
}
.bottom-left { 
    bottom: 0; 
    left: 0; 
}
.bottom-center { 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    align-items: center; 
    text-align: center;
}

.dark-text { 
    color: #2a1b41 !important; 
}
.light-text { 
    color: #ffffff !important; 
}

.creed-content span:first-child {
    font-family: 'Lindsey Signature', cursive !important;
    font-size: 38px;
    line-height: 0.9;
    margin-bottom: 2px;
    text-transform: none;
}

.creed-content span:last-child {
    font-family: 'Montecatini Pro', serif !important;
    font-size: 28px;
    font-weight: 700;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Desktop hides the clone */
.mobile-clone { 
    display: none; 
}

/* ── Mobile Layout & Infinite Ticker ── */
@media (max-width: 900px) {
    .creed-section { 
        padding: 60px 0 20px; 
    }
    
    .creed-heading {
        font-size: 32px !important;
    }
    .creed-subheading {
        font-size: 14px !important;
    }

    /* Make the clones visible to double the length of the row */
    .mobile-clone { 
        display: block; 
    }

    /* The Infinite Marquee Animation */
    .creed-cards-wrapper {
        justify-content: flex-start;
        margin: 0;
        gap: 20px;
        animation: ticker 30s linear infinite;
        padding-left: 10px;
    }

    /* Shift left by exactly 50% (plus half the gap) to loop perfectly */
    @keyframes ticker {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-50% - 10px)); }
    }

    /* Pause ticker when user touches screen */
    .creed-ticker-outer:active .creed-cards-wrapper {
        animation-play-state: paused;
    }

    /* Slightly smaller sizes for mobile auto-scroll density */
    .card-square { 
        width: 200px; 
        height: 200px; 
    }
    .card-portrait { 
        width: 190px; 
        height: 270px; 
    }
    .creed-content {
        padding: 16px;
    }
    .creed-content span:first-child {
        font-size: 32px;
    }
    .creed-content span:last-child {
        font-size: 22px;
    }
    .creed-card--nuts {
        width: 200px;
        height: 235px;
    }
}

/* ── Scoop Video Slider Section ── */
.scoop-section-wrapper {
    padding: 80px 0;
    background: #ffffff;
}

.scoop-slider-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.cavka-section {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw; /* Break out of boxed layout */
    padding: 4px 0 4px;
    background: #ffffff;
    overflow: hidden;
}

.cavka-swiper-wrapper-outer {
    width: 100%;
    overflow: visible;
    position: relative;
}

.cavka-splide {
    width: 100%;
    padding: 20px 0 0;
}

.cavka-splide .splide__track {
    overflow: visible !important;
}

/* ── Inactive Slide State ── */
.cavka-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    transform: scale(0.85);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: blur(0.8px);
    cursor: pointer;
}

/* ── Active (Center) Slide State ── */
.cavka-slide.is-active {
    opacity: 1;
    transform: scale(1.08);
    filter: blur(0);
    transition: all 0.4s ease-out;
}

/* Adjacent Slides */
.cavka-slide.is-prev,
.cavka-slide.is-next {
    opacity: 0.4;
    transform: scale(0.85);
    filter: blur(0.8px);
}

/* ── Video Card Container ── */
.cavka-card {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    overflow: hidden !important; 
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.25);
    background: #1a1a2e;
    position: relative; 
}

/* Video Scale Hack */
.cavka-card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transform: scale(1.15); /* Zooms past black letterboxing */
    transform-origin: center center; 
}

/* ── Typography ── */
.cavka-title {
    margin-top: 20px;
    font-family: 'Montecatini Pro', serif;
    font-size: 14px;
    color: #2E1A47;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}
.cavka-slide.is-active .cavka-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f0e38;
}

/* ── Custom Splide Pagination Dots ── */
.cavka-pagination {
    position: relative !important;
    margin-top: 70px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.cavka-pagination .splide__pagination__page {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 0.6;
    margin: 0 !important;
    transition: all 0.4s ease;
    border-radius: 50%;
}
.cavka-pagination .splide__pagination__page.is-active {
    background: #2E1A47 !important;
    width: 24px;
    border-radius: 10px;
    opacity: 1 !important;
    transform: scale(1);
}

/* ── Mobile Overrides ── */
@media (max-width: 1023px) {
    .scoop-section-wrapper {
        padding: 40px 0;
    }
    .cavka-slide {
        opacity: 0.5;
        transform: scale(0.84) !important;
        filter: blur(0);
    }
    .cavka-slide.is-active {
        opacity: 1;
        transform: scale(1) !important;
        filter: blur(0);
    }
    .cavka-slide.is-prev,
    .cavka-slide.is-next {
        opacity: 0.55;
        transform: scale(0.84) !important;
        filter: blur(0);
    }
    .cavka-card {
        border-radius: 22px;
    }
    .cavka-title {
        font-size: 10px;
    }
    .cavka-slide.is-active .cavka-title {
        font-size: 14px;
    }
    .cavka-splide {
        padding-bottom: 0 !important;
    }
}

/* ── Legacy Video Section ── */
.legacy-section {
    background: #fff;
    padding: 80px clamp(12px, 3vw, 20px);
    box-sizing: border-box;
}

.legacy-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 clamp(16px, 5vw, 60px);
    box-sizing: border-box;
}

.legacy-media-wrapper {
    position: relative;
    width: min(100%, 1200px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    margin: 0 auto 40px auto;
    cursor: pointer;
}

.legacy-video {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

/* ── Custom Control Buttons ── */
.legacy-play-btn,
.legacy-mute-btn {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #ffffff;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.3s, transform 0.2s, opacity 0.3s;
    outline: none;
    box-shadow: none;
}

.legacy-play-btn:hover,
.legacy-mute-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    opacity: 1;
    transform: scale(1.05);
}

.legacy-play-btn:active,
.legacy-mute-btn:active {
    transform: scale(0.95);
}

/* Centered Play Button */
.legacy-play-btn {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    font-size: 20px;
    opacity: 1;
    pointer-events: auto;
}

/* Hover reveal logic for Play Button when playing */
.legacy-media-wrapper.is-playing .legacy-play-btn {
    opacity: 0;
    pointer-events: none;
}

.legacy-media-wrapper:hover .legacy-play-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}

.legacy-media-wrapper:hover .legacy-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.legacy-media-wrapper:hover .legacy-play-btn:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Mute Button Bottom Right */
.legacy-mute-btn {
    right: clamp(15px, 3vw, 25px);
    bottom: clamp(15px, 3vw, 25px);
    width: 44px;
    height: 44px;
    font-size: 16px;
}

/* ── Mobile Overrides ── */
@media (max-width: 768px) {
    .legacy-section {
        padding: 40px clamp(12px, 3vw, 20px);
    }
    .legacy-container {
        padding: 0;
    }
    .legacy-media-wrapper {
        width: 100%;
        border-radius: 18px;
    }
    .legacy-video {
        height: 55vw;
        border-radius: 18px;
    }
    .legacy-play-btn {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    .legacy-mute-btn {
        width: 36px;
        height: 36px;
        font-size: 12px;
        right: 14px;
        bottom: 14px;
    }
}

/* ==========================================================================
   ── Instagram Reels Section ──
   ========================================================================== */

/* Main Section Wrapper */
.instagram-reels-section {
    background-color: #ffffff;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
    padding: 60px 0;
    overflow: hidden; /* Clips horizontal cards at viewport edges */
}

/* Reels Section Header */
.reels-slider-header {
    text-align: center;
    margin-bottom: 0;
    padding: 0 20px;
}

.reels-slider-header .cavins-section-title {
    font-family: var(--reels-title-font-family, 'Montecatini Pro', serif) !important;
    font-weight: var(--reels-title-font-weight, 700) !important;
    font-size: var(--reels-title-font-size, 52px) !important;
    line-height: var(--reels-title-line-height, 1.15) !important;
    letter-spacing: var(--reels-title-letter-spacing, 0em) !important;
    color: var(--reels-title-color, #2E1A47) !important;
    text-transform: uppercase;
}

/* Fallback Content */
.reels-fallback-container {
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.reels-fallback-text {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px;
    line-height: 1.6;
    color: #4A3E56;
    margin-bottom: 30px;
}

.reels-fallback-btn {
    display: inline-block;
    background-color: #2E1A47;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 26, 71, 0.2);
}

.reels-fallback-btn:hover {
    background-color: #3b1e54;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 26, 71, 0.3);
}

/* Main Slider Window */
.video-slider {
    width: 100%;
    overflow: visible; /* Prevents vertical scale clipping */
    padding: 0;
    margin-top: calc(var(--reels-gap-title-carousel, 30px) + 36px);
    position: relative;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform .8s cubic-bezier(.4,0,.2,1);
}

/* ── Base Card (Inactive State) ── */
.video-slider .slide {
    position: relative;
    flex: 0 0 267px;
    width: 267px;
    height: 475px; /* Exact 9:16 aspect ratio */
    border-radius: 16px;
    overflow: hidden;
    transform: scale(0.85);
    opacity: 0.4; 
    filter: blur(2px);
    transition: 0.5s ease;
}

.video-slider .slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.video-slider .slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* ── Active Card (Center State) ── */
.video-slider .slide.active {
    transform: scale(1.15);
    opacity: 1;
    filter: none; 
    z-index: 3;
}

/* ── Mute Button ── */
.video-slider .mute-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: opacity 0.3s, transform 0.2s, background 0.3s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0;
    
    /* Hidden by default on all inactive slides */
    opacity: 0;
    pointer-events: none;
}

/* Only reveal button on active slide */
.video-slider .slide.active .mute-btn {
    opacity: 1;
    pointer-events: auto;
}

/* Button hover interactions */
.video-slider .mute-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

.video-slider .mute-btn:active {
    transform: scale(0.95);
}

.video-slider .mute-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* ── Pagination Dots ── */
.dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: calc(var(--reels-gap-carousel-dots, 58px) + 36px);
}

.dots span {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 0.6;
    margin: 0 !important;
    display: inline-block;
    transition: all 0.4s ease;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.dots span.active {
    background: #2E1A47 !important;
    width: 24px;
    border-radius: 10px;
    opacity: 1 !important;
    transform: none;
}

/* ── Mobile Layout Overrides ── */
@media (max-width: 768px) {
    .instagram-reels-section {
        padding: 40px 0;
    }
    
    .reels-fallback-container {
        padding: 20px 15px;
    }
    
    .reels-fallback-text {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .reels-fallback-btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .reels-slider-header .cavins-section-title {
        font-size: 32px !important;
    }
    
    .video-slider {
        padding: 0;
        margin-top: calc(var(--reels-gap-title-carousel, 30px) + 10px);
    }
    
    .dots {
        margin-top: calc(var(--reels-gap-carousel-dots, 58px) + 10px);
    }
  
    /* Enables native touch horizontal scrolling on mobile */
    .slider-wrapper {
        gap: 15px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-left: calc(50% - 100px);
        padding-right: calc(50% - 100px);
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .slider-wrapper::-webkit-scrollbar {
        display: none;
    }

    .video-slider .slide {
        flex: 0 0 200px;
        width: 200px;
        min-width: 200px;
        height: 356px;
        scroll-snap-align: center; /* Snaps cards cleanly to center on swipe */
        transform: scale(0.85);
        opacity: 0.4;
        filter: blur(2px);
        transition: 0.4s ease;
    }
    
    .video-slider .slide.active {
        transform: scale(1.05);
        opacity: 1;
        filter: none;
        z-index: 2;
    }
}

