* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* Added text selection highlight style */
::selection {
  background-color: #a5661e; /* Thai milk tea color */
  color: white; /* Text color when selected */
}

::-moz-selection { /* Firefox */
  background-color: #a5661e;
  color: white;
}

html {
    /* Custom scrolling is now handled by JavaScript */
    scroll-behavior: auto;
    overflow-x: hidden;
}

section {
    /* We're using JS-based snapping now */
    scroll-margin-top: 0;
}

/* Top Bar Styles */
.top-bar {
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #a5661e;
    color: white;
    z-index: 1000;
}

.top-bar-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 0;
    max-width: 100%;
    margin: 0;
    position: relative;
    gap: 10px;
}

.logo-container {
    height: 24px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    margin-left: 0;
}

.logo-container a {
    display: flex;
    height: 100%;
    align-items: center;
}

.top-logo {
    height: 100%;
    width: auto;
    filter: none;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-right: 0;
    margin-left: 20px;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

.cycling-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 5px;
    min-width: 300px;
}

.cycling-text {
    position: relative;
    overflow: hidden;
    height: 20px;
    flex: 0 1 auto;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
    min-width: 300px;
    max-width: 500px;
}

.text-slide {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

.text-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.prev-slide,
.next-slide {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    flex: 0 0 auto;
    width: 20px;
    text-align: center;
}

.prev-slide:hover,
.next-slide:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .top-bar-content {
        padding: 8px 0;
        gap: 10px;
    }
    
    .cycling-container {
        min-width: auto;
    }
    
    .cycling-text {
        font-size: 12px;
        min-width: 150px;
    }

    .logo-container {
        height: 20px;
        padding-left: 5px;
    }
    
    .social-links {
        margin-right: 0;
        margin-left: 15px;
    }
    
    .scroll-indicator {
        left: 50%;
        transform: translateX(-50%);
        bottom: 120px;
    }
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #FFF8F2 0%, #FEF3E8 100%);
}

.header {
    position: relative;
    width: 100%;
    background-color: transparent;
    margin-top: 20px;
    z-index: 1;
}

.waves {
    position: relative;
    width: 100%;
    height: 70px;
    margin-bottom: -7px;
    min-height: 50px;
    max-height: 80px;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

.container {
    background-color: #B3652A;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px 60px;
    position: relative;
    z-index: 1;
}

.label {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    backdrop-filter: blur(5px);
}

h1 {
    color: #4A2511;
    font-size: 3rem;
    margin-bottom: 15px;
    letter-spacing: 4px;
}

.divider {
    height: 2px;
    background-color: #8B4513;
    width: 60%;
    margin: 20px auto;
    opacity: 0.3;
}

h2 {
    color: #6B4423;
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: normal;
}

.details {
    margin: 30px 0;
}

.details p {
    color: #6B4423;
    margin: 10px 0;
    font-size: 1.1rem;
}

.social-link {
    margin-top: 40px;
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    background-color: #E1306C;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.3);
}

.instagram-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .waves {
        height: 25px;
        min-height: 25px;
    }

    .container {
        padding: 15px;
    }
    
    .label {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
}

.card {
    width: 22em;
    height: auto;
    min-height: 25em;
    background: linear-gradient(145deg, #FFF8F0 0%, #FFEEDD 100%);
    transition: 1s ease-in-out;
    clip-path: polygon(30px 0%, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0% 30px);
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    display: flex;
    flex-direction: column;
    padding: 25px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border: 1px solid rgba(165, 102, 30, 0.3);
    clip-path: polygon(30px 0%, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0% 30px);
    pointer-events: none;
}

.card .info {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #444;
    display: block;
    text-align: center;
    font-size: 0.95em;
    margin: 1.5em 0.5em;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.card .img {
    width: 10em;
    height: 10em;
    background: transparent;
    margin: 0.5em auto 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card .ingredients {
    margin: 1.5em 1em;
    color: #555;
    text-align: center;
    position: relative;
}

.card .ingredients::before,
.card .ingredients::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background: #a5661e;
}

.card .ingredients::before {
    top: -10px;
}

.card .ingredients::after {
    bottom: -10px;
}

.card .ingredients h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
    margin-bottom: 1em;
    color: #a5661e;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card .ingredients ul {
    list-style: none;
    padding: 0;
}

.card .ingredients li {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85em;
    margin: 0.7em 0;
    color: #555;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.card .share {
    margin-top: 1em;
    display: flex;
    justify-content: center;
    gap: 1em;
}

.card a {
    transition: .4s ease-in-out;
}

.card a:hover {
    color: inherit;
}

.card button {
    padding: 0.9em 1.8em;
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 1.5em auto 0.5em;
    border-radius: 25px;
    border: none;
    font-weight: 500;
    background: linear-gradient(135deg, #a5661e 0%, #8b5219 100%);
    color: white;
    transition: .4s ease-in-out;
    letter-spacing: 0.5px;
    font-size: 0.9em;
}

.card button:hover {
    background: white;
    color: #a5661e;
    cursor: pointer;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(165, 102, 30, 0.3);
}

.card button svg {
    margin-right: 0;
}

/* Remove unused share section */
.card .share {
    display: none;
}

/* Card tagline */
.card-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1.05em;
    font-style: italic;
    color: #3B1F0A;
    text-align: center;
    line-height: 1.65;
    margin: 0.8em 0.5em 1.6em;
}

/* Brand pillars */
.card-pillars {
    display: flex;
    justify-content: space-around;
    gap: 0.5em;
    margin: 0 0.5em 1.8em;
    padding: 1.2em 0.5em;
    border-top: 1px solid rgba(165, 102, 30, 0.18);
    border-bottom: 1px solid rgba(165, 102, 30, 0.18);
}

.card-pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55em;
}

.card-pillar i {
    font-size: 1.35em;
    color: #a5661e;
}

.card-pillar span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6em;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6B4423;
    text-align: center;
}

/* Order CTA */
.card-order-btn {
    display: block;
    text-align: center;
    padding: 0.85em 2.2em;
    margin: 0 auto 0.5em;
    border-radius: 25px;
    background: linear-gradient(135deg, #F0933A 0%, #E07830 100%);
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.88em;
    letter-spacing: 1px;
    transition: background 0.35s ease, color 0.35s ease,
                box-shadow 0.35s ease, transform 0.35s ease;
}

.card-order-btn:hover {
    background: linear-gradient(135deg, #FFB86C 0%, #F0933A 100%);
    color: white;
    box-shadow: 0 5px 18px rgba(224, 120, 48, 0.4);
    transform: translateY(-2px);
}

/* Landing page styles */
.landing {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: linear-gradient(145deg, #FFEEDD 0%, #FFD8B8 100%);
    overflow: hidden;
    padding-top: 0;
    z-index: 1;
}

.landing-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 5% 0 10%;
    position: relative;
    z-index: 1;
}

.landing-text {
    flex: 1;
    max-width: 600px;
}

.landing-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 2px;
    white-space: nowrap;
    margin-bottom: 30px;
}

.landing-text h1 .tea-text {
    color: #a5661e;
    display: inline;
    white-space: nowrap;
}

.landing-text h1 .tea-text .thai {
    color: #333;
}

.buy-now-btn {
    display: inline-block;
    background-color: #a5661e;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(165, 102, 30, 0.3);
    margin-top: 10px;
}

.buy-now-btn:hover {
    background-color: white;
    color: #a5661e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(165, 102, 30, 0.4);
}

.bottle-image {
    flex: 1.4;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 95vh;
    max-height: 960px;
    padding-left: 25%;
    padding-right: 0;
}

.bottle-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(165, 102, 30, 0.2));
}

@keyframes bottle-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-18px); }
}

.bottle-float {
    animation: bottle-float 4s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 10%;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: fadeInOut 2s infinite;
    z-index: 1;
}

.scroll-indicator span {
    font-size: 0.9em;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator .arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    transform: rotate(45deg);
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.7; transform: translateY(10px); }
}

/* Main content styles */
.main-content {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    z-index: 5;
    background: linear-gradient(180deg, #FFB86C 0%, #D4782E 55%, #B3652A 100%);
}

@media (max-width: 768px) {
    .landing-content {
        flex-direction: column;
        padding: 20px 5%;
        justify-content: center;
        gap: 2rem;
    }

    .landing-text {
        text-align: center;
    }

    .landing-text h1 {
        font-size: 3.5rem;
        margin-bottom: 20px;
    }

    .buy-now-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .bottle-image {
        height: 50vh;
        width: 100%;
        justify-content: center;
        padding-right: 0;
    }

    .bottle-image img {
        height: 100%;
        transform: translateX(0);
    }

    .scroll-indicator {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .waves {
        height: 25px;
        min-height: 25px;
    }

    .container {
        padding: 15px;
    }
    
    .label {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
}

/* Product Showcase Section */
.product-showcase {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: linear-gradient(145deg, #FFE2C4 0%, #FFCCA0 60%, #FFE2C4 100%);
    border-radius: 48px 48px 0 0;
    margin-top: -48px;
    box-shadow: 0 -8px 40px rgba(165, 102, 30, 0.12);
    overflow: hidden;
    z-index: 2;
    padding-top: 0;
}

.showcase-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 10%;
    position: relative;
    z-index: 1;
}

.showcase-text {
    flex: 1;
    max-width: 600px;
}

.showcase-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin: 0 0 30px 0;
    letter-spacing: 2px;
}

.showcase-text p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.product-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.feature i {
    color: #a5661e;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(165, 102, 30, 0.3);
}

.feature span {
    color: #444;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.showcase-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75vh;
    max-height: 750px;
}

.showcase-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(165, 102, 30, 0.2));
    transform: rotate(-5deg);
}

.section-photo {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 20px;
    transform: translateX(11rem) !important;
    filter: none !important;
    box-shadow: 0 20px 50px rgba(59, 31, 10, 0.25);
}

.ingredients-img {
    transform: rotate(6deg) !important;
    height: 130% !important;
    margin-left: 20%;
    margin-right: -8%;
}

@media (max-width: 768px) {
    .showcase-content {
        flex-direction: column-reverse;
        padding: 20px 5%;
        justify-content: center;
        gap: 2rem;
    }

    .showcase-text {
        text-align: center;
    }

    .showcase-text h2 {
        font-size: 2.8rem;
    }

    .product-features {
        align-items: center;
    }

    .showcase-image {
        height: 40vh;
        width: 100%;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.active {
    opacity: 1;
    transform: scale(1);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Main Navigation */
.main-nav {
    width: 100%;
    background: rgba(255, 248, 242, 0.6);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 32px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 990;
    border-bottom: 1px solid rgba(247, 149, 98, 0.18);
    box-shadow: 0 4px 24px rgba(165, 102, 30, 0.1);
    transition: background 0.45s ease, backdrop-filter 0.45s ease,
                box-shadow 0.45s ease, padding 0.45s ease, border-color 0.45s ease;
}

/* Hero variant — subtle glass before scrolling */
.main-nav.nav-hero {
    background: rgba(255, 248, 242, 0.08);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none;
    padding: 22px 32px;
}

/* Frosted glass once scrolled */
.main-nav.nav-hero.scrolled {
    background: rgba(255, 248, 242, 0.6);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid rgba(247, 149, 98, 0.18);
    box-shadow: 0 4px 24px rgba(165, 102, 30, 0.1);
    padding: 10px 32px;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo {
    height: 36px;
    width: auto;
    transition: height 0.4s ease;
}

.nav-hero .nav-logo {
    height: 72px;
}

.nav-hero.scrolled .nav-logo {
    height: 36px;
}

.nav-spacer {
    height: 60px; /* always compensates for fixed nav on non-hero pages */
}

.main-nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 60px;
    padding: 0;
    margin: 0;
    flex: 1;
}

.main-nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    white-space: nowrap;
    padding: 5px 0;
    position: relative;
}

/* Remove the ::after pseudo-element from all links by default */
.main-nav ul li a::after {
    content: none;
}

/* Only show the line for active links */
.main-nav ul li a.active-link::after {
    width: 100%;
}

/* Change color on hover, but don't show line */
.main-nav ul li a:hover {
    color: #a5661e;
}

/* Navigation link transition effect - this will be handled with JS */

/* Section Styles for new sections */
.about-section,
.purchase-section {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: linear-gradient(145deg, #FFD8B0 0%, #FFC890 100%);
    border-radius: 48px 48px 0 0;
    margin-top: -48px;
    box-shadow: 0 -8px 40px rgba(165, 102, 30, 0.12);
    overflow: hidden;
    z-index: 3;
    padding-top: 0;
}

.contact-section {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: linear-gradient(180deg, #FFCA8C 0%, #FFB86C 100%);
    border-radius: 48px 48px 0 0;
    margin-top: -48px;
    box-shadow: 0 -8px 40px rgba(165, 102, 30, 0.12);
    overflow: hidden;
    z-index: 4;
    padding-top: 0;
}

/* Purchase section specific styles */
.pricing {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-tag {
    margin: 50px 0 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.price-tag span {
    font-size: 1.2rem;
    font-weight: 400;
    margin-left: 5px;
}

.price-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-details span {
    color: #444;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.purchase-btn {
    margin-top: 30px;
    background-color: #a5661e;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.purchase-btn:hover {
    background-color: white;
    color: #a5661e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Contact section specific styles */
.contact-details {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    color: #a5661e;
    font-size: 1.2rem;
    width: 30px;
}

.contact-item span {
    color: #444;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.business-hours {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.business-hours h3 {
    color: #a5661e;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.business-hours p {
    color: #444;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .top-bar-content {
        padding: 8px 0;
        gap: 10px;
    }
    
    .cycling-text {
        font-size: 12px;
        min-width: 150px;
    }

    .logo-container {
        padding-left: 5px;
    }
    
    .main-nav {
        padding: 8px 16px;
    }

    .nav-logo {
        height: 28px;
    }

    .main-nav ul {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 4px;
    }
    
    .main-nav ul li a {
        font-size: 0.9rem;
    }
    
    .about-section,
    .purchase-section,
    .contact-section {
        height: auto;
        min-height: 100vh;
        padding: 60px 0;
    }
    
    .price-tag {
        font-size: 2.5rem;
    }
    
    .contact-details {
        align-items: flex-start;
    }
    
    .landing-content {
        flex-direction: column;
        padding: 20px 5%;
        justify-content: center;
        gap: 2rem;
    }

    .landing-text {
        text-align: center;
    }

    .landing-text h1 {
        font-size: 3.5rem;
    }

    .bottle-image {
        height: 50vh;
        width: 100%;
        justify-content: center;
        padding-right: 0;
    }

    .bottle-image img {
        height: 100%;
        transform: translateX(0);
    }

    .scroll-indicator {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .waves {
        height: 25px;
        min-height: 25px;
    }

    .container {
        padding: 15px;
    }
    
    .label {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    .showcase-content {
        flex-direction: column-reverse;
        padding: 20px 5%;
        justify-content: center;
        gap: 2rem;
    }

    .showcase-text {
        text-align: center;
    }

    .showcase-text h2 {
        font-size: 2.8rem;
    }

    .product-features {
        align-items: center;
    }

    .showcase-image {
        height: 40vh;
        width: 100%;
    }
}

/* Purchase Page Styles */
.purchase-page {
    min-height: 100vh;
    padding: 60px 10% 80px;
    background-color: white;
}

/* Enhanced Purchase Header Styling */
.purchase-header {
    text-align: center;
    padding: 3rem 1rem 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f9f1e5, #e8d1b5);
    border-radius: 1rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 20px rgba(165, 102, 30, 0.1);
}

.purchase-header::before,
.purchase-header::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M0 20 L20 0 L40 20 L20 40 Z' fill='none' stroke='rgba(165, 102, 30, 0.3)' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: 0;
}

.purchase-header::before {
    top: -50px;
    left: -50px;
    transform: rotate(15deg);
}

.purchase-header::after {
    bottom: -50px;
    right: -50px;
    transform: rotate(-15deg);
}

.purchase-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #a5661e;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
}

.purchase-header h1::before, 
.purchase-header h1::after {
    content: "✼";
    position: absolute;
    font-size: 2rem;
    color: rgba(165, 102, 30, 0.5);
    top: 50%;
    transform: translateY(-50%);
}

.purchase-header h1::before {
    left: -3rem;
}

.purchase-header h1::after {
    right: -3rem;
}

.purchase-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.tea-bubble {
    position: absolute;
    background-color: rgba(165, 102, 30, 0.2);
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
}

.bubble-1 {
    width: 60px;
    height: 60px;
    top: 30%;
    left: 15%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    left: 10%;
    animation-delay: 1s;
}

.bubble-3 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.bubble-4 {
    width: 50px;
    height: 50px;
    top: 70%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@media (max-width: 768px) {
    .purchase-header {
        padding: 2rem 1rem 3rem;
    }
    
    .purchase-header h1 {
        font-size: 2.5rem;
    }
    
    .purchase-header h1::before, 
    .purchase-header h1::after {
        font-size: 1.5rem;
    }
    
    .purchase-header h1::before {
        left: -2rem;
    }
    
    .purchase-header h1::after {
        right: -2rem;
    }
    
    .purchase-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .tea-bubble {
        opacity: 0.5;
    }
}

/* Enhanced Product Details and Form Styling */
.purchase-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    padding: 0.5rem;
}

.product-details {
    flex: 1 1 500px;
    background: #fff;
    border-radius: 0.8rem;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.product-details::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(165, 102, 30, 0.7), rgba(165, 102, 30, 0.3), rgba(165, 102, 30, 0));
    border-radius: 0 0 0.8rem 0.8rem;
}

.product-image-gallery {
    margin-bottom: 3rem;
    margin-bottom: 2rem;
    position: relative;
}

.gallery-main {
    position: relative;
    height: 350px;
    background: #f9f6f2;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.gallery-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 70%, rgba(165, 102, 30, 0.1));
    z-index: 1;
}

.gallery-main img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.gallery-main img:hover {
    transform: scale(1.05);
}

.thumbnail-container {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    margin: 0 1.5rem;
}

.thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail:hover {
    opacity: 0.9;
}

.thumbnail.active {
    border-color: rgba(165, 102, 30, 0.7);
}

.product-info {
    padding: 0.5rem 0;
    margin-top: 8rem;
}

.product-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.product-info h2::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40%;
    height: 2px;
    background-color: rgba(165, 102, 30, 0.3);
}

.price-tag {
    margin: 50px 0 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.price-main {
    font-size: 2.2rem;
    font-weight: 600;
    color: #a5661e;
}

.price-details {
    margin-top: 0.3rem;
    font-size: 0.9rem;
    color: #777;
}

.special-offers {
    background: #f9f6f2;
    border-radius: 0.5rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.special-offers::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: rgba(165, 102, 30, 0.5);
}

.special-offers h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.special-offers ul {
    padding-left: 0.5rem;
}

.special-offers li {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.special-offers li i {
    color: #a5661e;
}

/* Order Summary Styling */
.order-summary {
    flex: 1 1 400px;
    background: #fff;
    border-radius: 0.8rem;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.order-summary h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.order-summary h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40%;
    height: 2px;
    background-color: rgba(165, 102, 30, 0.3);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(165, 102, 30, 0.5);
    box-shadow: 0 0 0 3px rgba(165, 102, 30, 0.1);
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.3rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    margin-bottom: 0;
}

.quantity-controls.form-controls {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(165, 102, 30, 0.3);
    border-radius: 50px;
    overflow: hidden;
    background: linear-gradient(to right, rgba(255, 248, 240, 0.5), rgba(255, 245, 235, 0.5));
    box-shadow: 0 1px 6px rgba(165, 102, 30, 0.05);
    transition: all 0.3s ease;
    height: 38px;
    max-width: 145px;
}

.quantity-controls.form-controls:hover {
    box-shadow: 0 3px 12px rgba(165, 102, 30, 0.1);
    border-color: rgba(165, 102, 30, 0.5);
}

.quantity-btn {
    width: 40px;
    height: 38px;
    background-color: transparent;
    color: #a5661e;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
    position: relative;
}

.quantity-btn:hover {
    color: #834f14;
    background-color: rgba(165, 102, 30, 0.1);
}

.quantity-btn:active {
    transform: scale(0.95);
    background-color: rgba(165, 102, 30, 0.15);
}

.form-minus-btn {
    border-radius: 50px 0 0 50px;
    padding-right: 5px;
}

.form-plus-btn {
    border-radius: 0 50px 50px 0;
    padding-left: 5px;
}

.quantity-controls input {
    width: 35px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #a5661e;
    padding: 0 2px;
    line-height: 38px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.quantity-controls input:focus {
    background-color: rgba(255, 248, 240, 0.8);
}

input[type="number"].no-arrows::-webkit-inner-spin-button,
input[type="number"].no-arrows::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"].no-arrows {
    -moz-appearance: textfield;
}

@keyframes pulse-tea {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.quantity-controls.form-controls:focus-within {
    border-color: rgba(165, 102, 30, 0.7);
    box-shadow: 0 4px 12px rgba(165, 102, 30, 0.15);
    animation: pulse-tea 0.4s ease-in-out;
}

.promo-code-input {
    display: flex;
    gap: 0.5rem;
}

.promo-code-input input {
    flex: 1;
}

.promo-code-input button {
    background-color: #a5661e;
    color: white;
    border: none;
    border-radius: 0.4rem;
    padding: 0 1.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.promo-code-input button:hover {
    background-color: #8b5319;
}

.order-calculation {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.calc-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.calc-item.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.2rem;
    font-weight: 600;
}

.submit-order-btn {
    display: block;
    position: relative;
    width: 100%;
    padding: 1rem;
    min-height: 55px;
    margin-top: 1.5rem;
    background-color: #a5661e;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 5px 15px rgba(165, 102, 30, 0.3);
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-order-btn:hover {
    background-color: #8b5319;
}

.submit-order-btn:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .purchase-content {
        gap: 1.5rem;
    }
    
    .product-details,
    .order-summary {
        padding: 1.5rem;
    }
    
    .gallery-main {
        height: 280px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-info h2 {
        font-size: 1.7rem;
    }
    
    .price-main {
        font-size: 1.8rem;
    }
}

/* Footer */
footer {
    background-color: #f0f0f0;
    padding: 50px 0 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    width: 100px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #a5661e;
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #a5661e;
}

.copyright {
    color: #777;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .purchase-page {
        padding: 40px 5% 60px;
    }
    
    .purchase-header h1 {
        font-size: 2.5rem;
    }
    
    .product-details {
        flex-direction: column;
        padding: 20px;
    }
    
    .product-image {
        flex: 0 0 auto;
        margin-bottom: 20px;
    }
    
    .product-image img {
        height: 200px;
    }
    
    .purchase-actions {
        flex-direction: column;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

/* Navigation underline animation element */
.nav-underline {
    display: none;
    position: absolute;
    height: 2px;
    background-color: #a5661e;
    bottom: 8px;
    transition: width 0.6s ease, left 0.6s ease;
    z-index: 1;
    pointer-events: none;
}


/* Order Form Styles */
.customer-form {
    margin-top: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 10px 15px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #a5661e;
    outline: none;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-weight: 400;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group.half {
    flex: 1;
}

.hidden {
    display: none !important;
}

/* Add a more specific version of hidden class for the order calculation items */
.order-calculation .calc-item.hidden,
.calc-item.bulk-discount.hidden,
.calc-item.promo-discount.hidden {
    display: none !important;
}

.promo-code-input {
    display: flex;
    gap: 10px;
}

.promo-code-input input {
    flex: 1;
}

.promo-code-input button,
#apply-promo {
    padding: 10px 15px;
    background-color: #a5661e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.promo-code-input button:hover,
#apply-promo:hover {
    background-color: #8b5219;
}

.order-calculation {
    margin: 20px 0;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.calc-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.calc-item.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.calc-item.bulk-discount,
.calc-item.promo-discount {
    color: #e45b5b;
}

.submit-order-btn {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: #a5661e;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(165, 102, 30, 0.3);
    transition: all 0.3s ease;
}

.submit-order-btn:hover {
    background-color: #8b5319;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(165, 102, 30, 0.4);
}

/* Confirmation Message Styles */
#confirmation-message {
    padding: 25px 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.confirmation-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.confirmation-header i {
    font-size: 28px;
    color: #4CAF50;
}

.confirmation-header h3 {
    font-family: 'Playfair Display', serif;
    color: #4CAF50;
    margin: 0;
}

.bank-details {
    margin: 25px 0;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #a5661e;
}

.bank-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.bank-item span:first-child {
    font-weight: 500;
    color: #555;
}

.bank-item span:last-child {
    font-weight: 600;
}

.confirmation-note {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-top: 20px;
}

.new-order-btn {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background-color: white;
    color: #a5661e;
    border: 2px solid #a5661e;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

/* Product Image Gallery */
.product-image-gallery {
    flex: 0 0 300px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f9f9f9;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.gallery-main img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-main img.active-image {
    opacity: 1;
    z-index: 1;
}

.gallery-thumbnails {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.thumbnail-indicators {
    display: flex;
    gap: 8px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #a5661e;
}

.gallery-nav {
    background: #f0f0f0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background-color: #e0e0e0;
}

.gallery-nav i {
    color: #555;
}

/* Hide default arrows in number inputs */
input[type="number"].no-arrows::-webkit-inner-spin-button,
input[type="number"].no-arrows::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"].no-arrows {
    /* Replace non-standard -moz-appearance with appearance property with all vendor prefixes */
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Replace dot indicators with thumbnail images */
.thumbnail-container {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 0 5px;
}

.thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 0.9;
}

.thumbnail.active {
    border-color: #a5661e;
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
} 

#product p {
    text-align: justify;
}

.landing-text p,
.showcase-text p,
.product-info p,
.about-section p,
.contact-section p {
    text-align: justify;
}

/* Highlighted text animation */
@keyframes highlight-animation {
    0% {
        background-position: -100% 0;
        color: inherit;
    }
    50% {
        background-position: 0 0;
        color: white;
    }
    100% {
        background-position: 100% 0;
        color: inherit;
    }
}

.highlight-text {
    display: inline;
    background: linear-gradient(90deg, #a5661e 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: background-position 0.3s, color 0.3s;
    padding: 2px 6px;
    border-radius: 3px;
}

.highlight-animate {
    animation: highlight-animation 4s ease-in-out forwards;
    animation-iteration-count: 1;
}

.product-info p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Custom Radio Button Styling for Delivery Options */
.radio-input {
  display: flex;
  flex-direction: row; /* Changed to row to make them side by side */
  gap: 15px;
  margin-top: 10px;
}

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

.radio-input label.label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0px 15px;
  width: 130px; /* Reduced width for side by side */
  cursor: pointer;
  height: 45px;
  position: relative;
  /* Explicitly add border-radius to match the ::before */
  border-radius: 10px;
  /* Add overflow hidden to clip the ::before if it exceeds boundaries */
  overflow: hidden;
}

.radio-input label.label::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%; /* Changed height to 100% to match the label */
  z-index: -1;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.radio-input label.label:hover::before {
  transition: all 0.2s ease;
  background-color: rgba(165, 102, 30, 0.1); /* Changed to Thai milk tea color */
}

.radio-input .label:has(input:checked)::before {
  background-color: rgba(165, 102, 30, 0.15); /* Changed to Thai milk tea color */
  border-color: #a5661e; /* Changed to Thai milk tea color */
  height: 100%; /* Keep height at 100% */
}

.radio-input .label .text {
  color: #555; /* Darker text color */
  font-weight: 500;
}

.radio-input .label:has(input:checked) .text {
  color: #a5661e; /* Text color when selected */
}

.radio-input .label input[type="radio"] {
  background-color: #f5f5f5; /* Changed background color */
  appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ddd;
}

.radio-input .label input[type="radio"]:checked {
  background-color: #a5661e; /* Changed to Thai milk tea color */
  animation: pulse 0.7s forwards;
  border-color: #a5661e;
}

.radio-input .label input[type="radio"]:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transition: all 0.1s cubic-bezier(0.165, 0.84, 0.44, 1);
  background-color: #fff;
  transform: scale(0);
}

.radio-input .label input[type="radio"]:checked::before {
  transform: scale(1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(165, 102, 30, 0.4); /* Changed to Thai milk tea color */
  }
  70% {
    box-shadow: 0 0 0 8px rgba(165, 102, 30, 0); /* Changed to Thai milk tea color */
  }
  100% {
    box-shadow: 0 0 0 0 rgba(165, 102, 30, 0); /* Changed to Thai milk tea color */
  }
}

/* Style for the out-of-area message */
#out-of-area-message {
    margin-top: 10px;
    padding: 15px;
    background-color: #fff9e6; /* Light yellow background */
    border: 1px solid #ffe082; /* Yellow border */
    border-radius: 5px;
    color: #795548; /* Brownish text color */
    font-size: 0.9em;
    line-height: 1.5;
}

#out-of-area-message a {
    color: #a5661e; /* Match main theme color */
    font-weight: bold;
    text-decoration: underline;
}

#out-of-area-message.hidden {
    display: none;
}

/* Custom Notification Styles */
.notification-box {
    position: fixed;
    bottom: 25px;
    left: 25px;
    min-width: 280px;
    max-width: 350px;
    background: linear-gradient(145deg, #f9f6f2, #efe8dd);
    color: #6b4f34;
    border-radius: 8px;
    padding: 18px 40px 18px 20px; /* More padding on right for close button */
    box-shadow: 0 5px 20px rgba(165, 102, 30, 0.15);
    border: 1px solid rgba(165, 102, 30, 0.2);
    border-left: 4px solid #a5661e;
    z-index: 1050;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 14px;
    line-height: 1.5;
}

.notification-box.show {
    opacity: 1;
    transform: translateY(0);
}

.hidden-notification {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    pointer-events: none;
}

.notification-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    color: rgba(165, 102, 30, 0.6);
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.notification-close-btn:hover {
    color: #a5661e;
}

.notification-message {
    margin: 0;
}

.notification-timer-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: rgba(165, 102, 30, 0.3);
    border-radius: 0 0 0 8px; /* Match bottom-left corner */
    transform-origin: left;
    /* The animation will be controlled by JS/inline style */
    transition: transform 0.1s linear; /* For smoother updates */
}

/* Three-Body Loader Animation with Thai Milk Tea Theme */
.three-body {
  --uib-size: 28px;
  --uib-speed: 0.8s;
  --uib-color: #ffffff;
  position: relative;
  display: inline-block;
  height: var(--uib-size);
  width: var(--uib-size);
  animation: spin78236 calc(var(--uib-speed) * 2.5) infinite linear;
}

.three-body__dot {
  position: absolute;
  height: 100%;
  width: 30%;
}

.three-body__dot:after {
  content: '';
  position: absolute;
  height: 0%;
  width: 100%;
  padding-bottom: 100%;
  background-color: var(--uib-color);
  border-radius: 50%;
}

.three-body__dot:nth-child(1) {
  bottom: 5%;
  left: 0;
  transform: rotate(60deg);
  transform-origin: 50% 85%;
}

.three-body__dot:nth-child(1)::after {
  bottom: 0;
  left: 0;
  animation: wobble1 var(--uib-speed) infinite ease-in-out;
  animation-delay: calc(var(--uib-speed) * -0.3);
}

.three-body__dot:nth-child(2) {
  bottom: 5%;
  right: 0;
  transform: rotate(-60deg);
  transform-origin: 50% 85%;
}

.three-body__dot:nth-child(2)::after {
  bottom: 0;
  left: 0;
  animation: wobble1 var(--uib-speed) infinite
     calc(var(--uib-speed) * -0.15) ease-in-out;
}

.three-body__dot:nth-child(3) {
  bottom: -5%;
  left: 0;
  transform: translateX(116.666%);
}

.three-body__dot:nth-child(3)::after {
  top: 0;
  left: 0;
  animation: wobble2 var(--uib-speed) infinite ease-in-out;
}

@keyframes spin78236 {
  0% {
   transform: rotate(0deg);
  }

  100% {
   transform: rotate(360deg);
  }
}

@keyframes wobble1 {
  0%,
   100% {
   transform: translateY(0%) scale(1);
   opacity: 1;
  }

  50% {
   transform: translateY(-66%) scale(0.65);
   opacity: 0.8;
  }
}

@keyframes wobble2 {
  0%,
   100% {
   transform: translateY(0%) scale(1);
   opacity: 1;
  }

  50% {
   transform: translateY(66%) scale(0.65);
   opacity: 0.8;
  }
}

/* Loader container for the submit button */
.submit-btn-container {
  position: relative;
  width: 100%;
}

.loader-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #a5661e;
  border-radius: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.loader-container.show {
  opacity: 1;
  pointer-events: auto;
}

/* Animated Success Check Icon */
.check-animation-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  filter: url(#goo-check);
  margin-right: 5px;
}

.check-animation-wrapper > svg.filter-svg {
  position: absolute;
  top: -130%;
  left: -170%;
  width: 180px; /* Larger filter area for more exaggerated effect */
  pointer-events: none;
}

.check-animation-wrapper * {
  box-sizing: border-box;
}

.animated-check {
  width: 50px;
  height: 50px;
  position: relative;
}

.animated-check input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.animated-check .check-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border: 3px solid #4CAF50;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.animated-check svg.check-mark {
  position: absolute;
  top: 12px;
  left: 11px;
  width: 28px;
  height: 28px;
  z-index: 1;
  pointer-events: none;
}

.animated-check svg.check-mark path {
  stroke: #fff;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 25;
  stroke-dashoffset: 25;
  transition: stroke-dashoffset 0.4s ease;
  transition-delay: 0.3s;
}

.animated-check.checked .check-icon {
  animation: success-animation 0.8s ease forwards;
}

.animated-check.checked svg.check-mark path {
  stroke-dashoffset: 0;
}

@keyframes success-animation {
  40% {
    background: #4CAF50;
    box-shadow: 
      0 -25px 0 -10px #4CAF50, 
      23px -12px 0 -10px #4CAF50, 
      23px 12px 0 -10px #4CAF50, 
      0 25px 0 -10px #4CAF50, 
      -23px 12px 0 -10px #4CAF50, 
      -23px -12px 0 -10px #4CAF50;
  }

  100% {
    background: #4CAF50;
    box-shadow:
      0 -48px 0 -12px transparent,
      40px -22px 0 -12px transparent,
      40px 22px 0 -12px transparent,
      0 48px 0 -12px transparent,
      -40px 22px 0 -12px transparent,
      -40px -22px 0 -12px transparent;
  }
}

/* Footer styles */
.site-footer {
    background-color: #3B1F0A;
    color: #FDDCB5;
    padding: 2.5rem 1.5rem 1.5rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 38px;
    width: auto;
}

.footer-tagline {
    font-size: 0.78rem;
    opacity: 0.5;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    align-items: center;
}

.footer-nav a {
    color: #FDDCB5;
    text-decoration: none;
    font-size: 0.875rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.04em;
    transition: color 0.25s ease;
}

.footer-nav a:hover {
    color: #F79562;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-self: end;
}

.footer-social a {
    color: #FDDCB5;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-social a:hover {
    color: #F79562;
}

.footer-bottom {
    max-width: 1100px;
    margin: 1.5rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(253, 220, 181, 0.12);
    text-align: center;
    font-size: 0.72rem;
    font-family: 'Montserrat', sans-serif;
    opacity: 0.45;
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-social {
        justify-self: center;
    }

    .footer-nav {
        justify-content: center;
    }
}

/* =============================================
   PURCHASE PAGE — new layout styles
   ============================================= */

/* Page background: warm gradient matching the main site theme */
.purch-page {
    background: linear-gradient(160deg, #FFF0E0 0%, #FFD8A8 50%, #F0B870 100%);
    min-height: 100vh;
}

/* Main content wrapper — adds nav offset + padding */
.purch-main {
    padding: 100px 5% 80px;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Two-column grid: product info left, form right */
.purch-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    width: 100%;
    max-width: 1160px;
    align-items: start;
}

/* LEFT panel — product display */
.purch-product {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 90px;
}

/* Bottle image wrapper */
.purch-bottle-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, rgba(255,248,240,0.55) 0%, rgba(255,224,180,0.35) 100%);
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 12px 40px rgba(59,31,10,0.13);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(247,149,98,0.2);
}

.purch-bottle {
    height: 340px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(165,102,30,0.28));
    animation: bottle-float 4s ease-in-out infinite;
}

/* Product info block */
.purch-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.purch-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #3B1F0A;
    letter-spacing: 1px;
    margin: 0;
}

/* Price row */
.purch-price {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #a5661e;
    line-height: 1;
}

.purch-price span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #6B4423;
}

/* Short description */
.purch-desc {
    color: #5C3A18;
    font-size: 0.97rem;
    line-height: 1.75;
    letter-spacing: 0.2px;
}

/* Badge pills: Authentic / Premium / Handcrafted */
.purch-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.25rem;
}

.purch-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,248,240,0.75);
    border: 1px solid rgba(165,102,30,0.25);
    color: #7a4a1e;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    backdrop-filter: blur(6px);
}

.purch-badges span i {
    color: #a5661e;
    font-size: 0.82rem;
}

/* Special offers block */
.purch-offers {
    background: rgba(255,248,240,0.6);
    border: 1px solid rgba(165,102,30,0.2);
    border-left: 4px solid #a5661e;
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    backdrop-filter: blur(6px);
}

.purch-offers h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #3B1F0A;
    margin-bottom: 0.75rem;
}

.purch-offers ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.purch-offers li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.9rem;
    color: #5C3A18;
    line-height: 1.5;
}

.purch-offers li i {
    color: #a5661e;
    font-size: 0.88rem;
    margin-top: 0.18em;
    flex-shrink: 0;
}

/* RIGHT panel — form card */
.purch-form-card {
    background: linear-gradient(160deg, #FFFAF5 0%, #FFF3E6 100%);
    border-radius: 24px;
    padding: 2.5rem 2.2rem;
    box-shadow: 0 16px 50px rgba(59,31,10,0.14);
    border: 1px solid rgba(247,149,98,0.18);
}

.purch-form-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #3B1F0A;
    margin-bottom: 1.4rem;
    position: relative;
    display: inline-block;
}

.purch-form-card h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 45%;
    height: 2px;
    background: rgba(165,102,30,0.4);
    border-radius: 2px;
}

/* Stripe security note under submit button */
.stripe-note {
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: #9a7050;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    letter-spacing: 0.02em;
}

.stripe-note i {
    font-size: 0.75rem;
    color: #a5661e;
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
    .purch-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .purch-product {
        position: static;
    }

    .purch-bottle {
        height: 240px;
    }

    .purch-main {
        padding: 90px 4% 60px;
    }

    .purch-form-card {
        padding: 2rem 1.4rem;
    }
}

@media (max-width: 480px) {
    .purch-info h1 {
        font-size: 1.9rem;
    }

    .purch-price {
        font-size: 1.6rem;
    }
}
