/*
Theme Name: kaelen-astra-child
Theme URI: 
Description: Astra Child Theme for Kaelen
Author: Developer
Author URI: 
Template: astra
Version: 1.0.0
Text Domain: kaelen-astra-child
*/

/*
=====================================================
  KAELEN FRONT PAGE CUSTOM STYLES
=====================================================
*/

/* Variables */
:root {
    --k-bg-main: #FFFFFF;
    --k-bg-alt: #F9F8F6;
    --k-bg-dark: #121212;
    --k-text-dark: #1C1C1C;
    --k-text-light: #FFFFFF;
    --k-text-muted: #666666;
    --k-brand-color: #6353A3;
    /* Elegant product-related brand color */
    --k-brand-hover: #8C6A4F;
    --k-border: rgba(0, 0, 0, 0.08);
    --k-font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --k-font-heading: 'GoudyOldStyleT-Bold', Georgia, serif;
}

/* Reset for custom home */
.kaelen-custom-home {
    font-family: var(--k-font-main);
    color: var(--k-text-dark);
    line-height: 1.6;
    background: var(--k-bg-main);
    /* Guarantee Full-Width Breakout */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: hidden;
}

.kaelen-custom-home h1,
.kaelen-custom-home h2,
.kaelen-custom-home h3 {
    font-family: var(--k-font-heading);
    font-weight: normal;
    line-height: 1.15;
    margin-top: 0;
    color: var(--k-text-dark);
    letter-spacing: -0.01em;
}

.kaelen-section {
    padding: 5rem 0;
}

.kaelen-bg-alt {
    background-color: var(--k-bg-alt);
}

.kaelen-bg-dark {
    background-color: var(--k-bg-dark);
    color: var(--k-text-light);
}

.kaelen-bg-dark h2,
.kaelen-bg-dark p {
    color: var(--k-text-light);
}

.kaelen-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.kaelen-grid {
    display: grid;
    gap: 2rem;
}

/* Typography & General Classes */
.kaelen-tagline {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--k-text-muted);
}

.kaelen-h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.kaelen-h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.kaelen-h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.kaelen-subtitle {
    font-size: 1.125rem;
    color: var(--k-text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.kaelen-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 0px;
    cursor: pointer;
    border: 1px solid transparent;
}

.kaelen-btn-primary {
    background: var(--k-brand-color);
    color: var(--k-text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.kaelen-btn-primary:hover {
    background: var(--k-brand-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.kaelen-btn-secondary {
    background: transparent;
    color: var(--k-text-dark);
    border-color: var(--k-border);
}

.kaelen-btn-secondary:hover {
    background: var(--k-bg-alt);
    color: var(--k-text-dark);
    border-color: var(--k-text-dark);
}

.kaelen-btn-outline {
    display: block;
    text-align: center;
    background: transparent;
    color: var(--k-text-dark);
    border: 1px solid var(--k-border);
    padding: 1rem;
    font-size: 0.85rem;
    width: 100%;
}

.kaelen-btn-outline:hover {
    border-color: var(--k-text-dark);
    background: var(--k-text-dark);
    color: var(--k-text-light);
}

/* Animations */
@keyframes kaelenFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.kaelen-animate-up {
    animation: kaelenFadeUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
}

.kaelen-delay-1 {
    animation-delay: 0.1s;
}

.kaelen-delay-2 {
    animation-delay: 0.2s;
}

.kaelen-delay-3 {
    animation-delay: 0.3s;
}

/* 1. Hero Section */
.kaelen-hero {
    padding: 2rem 0 8rem;
    background: linear-gradient(135deg, var(--k-bg-main) 0%, var(--k-bg-alt) 100%);
    overflow: hidden;
}

.kaelen-hero-grid {
    grid-template-columns: 0.9fr 1.15fr;
    align-items: center;
    gap: 3rem;
}

.kaelen-hero-main-img {
    width: 100%;
    max-width: 850px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.08));
    transform: scale(1.18);
    transform-origin: center right;
}

.kaelen-desc {
    font-size: 1.2rem;
    color: var(--k-text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.kaelen-hero-heading {
    font-size: 3.5rem;
}

.kaelen-hero-ctas {
    display: flex;
    gap: 1.5rem;
}

.kaelen-hero-image-placeholder {
    background: linear-gradient(to bottom right, #EBE8E1, #DCD8CF);
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
}

.kaelen-hero-image-placeholder::after {
    content: '';
    position: absolute;
    inset: -15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: -1;
}

.kaelen-hero-slider {
    position: relative;
    width: 100%;
}

.kaelen-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 4s ease-in-out;
    transform: scale(1.05);
    display: block;
    /* Important for anchor tags */
}

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

.kaelen-hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.kaelen-hero-slider-dots {
    position: absolute;
    bottom: 25px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.kaelen-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.kaelen-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.3);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 2. Trust Badges */
.kaelen-trust-badges {
    padding: 4rem 0;
    border-top: 1px solid var(--k-border);
    border-bottom: 1px solid var(--k-border);
    background: #fbfafc;
    /* Extremely subtle tint of brand color */
}

.kaelen-badges-grid {
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 2.5rem;
}

.kaelen-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 2.5rem 1.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(99, 83, 163, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.kaelen-badge:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(99, 83, 163, 0.12);
    /* Branded shadow */
}

.kaelen-badge-icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(99, 83, 163, 0.05);
    /* brand color background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--k-brand-color);
    transition: all 0.4s ease;
}

.kaelen-badge:hover .kaelen-badge-icon-wrap {
    background: var(--k-brand-color);
    color: #fff;
    transform: scale(1.05);
}

.kaelen-badge strong {
    font-family: var(--k-font-main);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--k-text-dark);
    transition: color 0.3s ease;
}

.kaelen-badge:hover strong {
    color: var(--k-brand-color);
}

.kaelen-icon {
    color: currentColor;
    transition: all 0.4s ease;
}

/* 3. Featured Products */
.kaelen-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.kaelen-product-card {
    background: #fff;
    border: none;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.kaelen-product-card:hover {
    transform: translateY(-10px);
}

.kaelen-product-img-link {
    display: block;
    background: var(--k-bg-alt);
    overflow: hidden;
    position: relative;
}

.kaelen-product-img-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.02);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kaelen-product-card:hover .kaelen-product-img-link::after {
    opacity: 1;
}

.kaelen-product-img-link img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

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

.kaelen-product-info {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.kaelen-product-info .kaelen-h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.kaelen-product-info .kaelen-h3 a {
    text-decoration: none;
    color: inherit;
}

.kaelen-product-price {
    color: var(--k-text-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
    flex: 1;
}

/* 4. Benefits Section */
.kaelen-benefits {
    padding: 8rem 0;
}

.kaelen-benefits-layout {
    display: flex;
    gap: 6rem;
    align-items: center;
    margin-top: 5rem;
}

@media (max-width: 991px) {
    .kaelen-benefits-layout {
        flex-direction: column;
        gap: 3rem;
    }
}

.kaelen-benefits-image {
    flex: 0 0 45%;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    /* elegant deep shadow */
}

.kaelen-benefits-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 12px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.kaelen-benefits-image img.active {
    opacity: 1;
    z-index: 2;
}

/* Base structural filler to give container height */
.kaelen-benefits-image::before {
    content: "";
    display: block;
    padding-top: 125%;
    /* 4/5 aspect ratio */
}

.kaelen-benefits-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.kaelen-benefits-list li {
    display: flex;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

@media (max-width: 768px) {
    .kaelen-benefits-list li {
        gap: 1.2rem;
        padding: 1.75rem 0;
    }
}

.kaelen-benefits-list li:hover,
.kaelen-benefits-list li.active {
    transform: translateX(10px);
}

.kaelen-benefits-list li:first-child {
    padding-top: 0;
}

.kaelen-benefits-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.k-benefit-num {
    font-family: Georgia, serif;
    font-size: 2.5rem;
    color: var(--k-text-dark);
    line-height: 1;
    opacity: 0.15;
    transition: opacity 0.3s ease;
}

.kaelen-benefits-list li:hover .k-benefit-num,
.kaelen-benefits-list li.active .k-benefit-num {
    opacity: 0.8;
    color: var(--k-brand-color, #c8a35e);
    /* gold/bronze accent if available, else dark */
}

.k-benefit-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--k-text-dark);
    font-weight: 500;
}

.k-benefit-content p {
    color: var(--k-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* 5. Trusted Consumers Section */
.kaelen-trusted-section {
    padding: 8rem 0;
}

.kaelen-trusted-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    gap: 4rem;
}

.kaelen-trusted-image {
    width: 100%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-radius: 2px;
}

.kaelen-trusted-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

.kaelen-trusted-card {
    background: #fff;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.kaelen-trusted-card .kaelen-h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
}

.kaelen-trusted-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kaelen-trusted-list li {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--k-border);
    display: flex;
    flex-direction: column;
}

.kaelen-trusted-list li:first-child {
    padding-top: 0;
}

.kaelen-trusted-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.kaelen-trusted-list strong {
    font-size: 1.1rem;
    color: var(--k-text-dark);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.kaelen-trusted-list span {
    color: var(--k-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 6. Our Range Section */
.kaelen-range {
    padding: 8rem 0;
    text-align: center;
}

.kaelen-range .kaelen-section-header {
    margin-bottom: 4rem;
}

.kaelen-range-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.kaelen-range-card {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.kaelen-range-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.kaelen-range-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

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

.kaelen-range-label {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 2;
    font-size: 1rem;
    font-weight: 600;
    color: var(--k-text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
}

/* 7. Testimonials Section */
.kaelen-testimonials {
    padding: 4rem 0 5rem 0;
    /* Reduced from 8rem to match mockup space */
}

.kaelen-slider-wrapper {
    position: relative;
    padding: 0;
    /* Removed horizontal padding since arrows are gone */
    margin-top: 6rem;
    /* Slightly reduced Room for protruding image */
}

.kaelen-slider-dots-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.kaelen-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kaelen-dot.active {
    background: #212121;
    width: 24px;
    border-radius: 4px;
}

.kaelen-testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    padding: 2rem 0;
    align-items: center;
    /* keep cards vertically aligned */
}

.kaelen-testimonials-slider::-webkit-scrollbar {
    display: none;
}

.kaelen-testimonial-slide {
    flex: 0 0 calc(33.333% - 1.33rem);
    /* 3 visible on desktop */
    min-width: 320px;
    scroll-snap-align: center;
    position: relative;
    transition: transform 0.4s ease;
}

.kaelen-testimonial-modern-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 60px;
    /* Offset for image overlap */
    transition: all 0.4s ease;
}

.kaelen-testimonial-slide:hover .kaelen-testimonial-modern-card {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.kaelen-testimonial-photo {
    position: absolute;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 130px;
    border-radius: 30px 30px 20px 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.kaelen-testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kaelen-testimonial-modern-content {
    margin-top: 65px;
    /* Space from top after photo */
}

.kaelen-testimonial-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kaelen-stars {
    color: var(--k-text-dark);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.kaelen-product-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--k-text-dark);
}

.kaelen-testimonial-body {
    display: block;
}

.kaelen-test-text {
    position: relative;
    padding-left: 25px;
    /* keep room for the large quote icon */
}

.kaelen-quote-icon {
    font-size: 5rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.04);
    position: absolute;
    top: -20px;
    left: -15px;
    font-family: Georgia, serif;
    z-index: 0;
}

.kaelen-test-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--k-text-muted);
    margin: 0 0 1.5rem;
    position: relative;
    z-index: 1;
}

.kaelen-test-author {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--k-text-dark);
}

/* 8. FAQ */
.kaelen-faq-container {
    max-width: 800px;
}

.kaelen-accordion {
    margin-top: 3rem;
}

.kaelen-accordion-item {
    border: 1px solid var(--k-border);
    margin-bottom: 1rem;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.kaelen-accordion-trigger {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--k-text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: all 0.3s ease;
}

.kaelen-accordion-trigger:hover {
    background: #fcfcfc;
    color: var(--k-brand-color);
}

.kaelen-accordion-trigger[aria-expanded="true"] {
    background: var(--k-brand-color);
    color: #fff;
}

.kaelen-accordion-trigger[aria-expanded="true"]:hover {
    background: var(--k-brand-color);
    color: #fff;
}

.kaelen-accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.kaelen-accordion-trigger[aria-expanded="true"] .kaelen-accordion-icon {
    transform: rotate(45deg);
}

.kaelen-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
}

.kaelen-accordion-content p {
    padding: 1.5rem;
    margin: 0;
    color: var(--k-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* 7. Subscribe */
.kaelen-subscribe {
    padding: 8rem 0;
}

.kaelen-subscribe-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.kaelen-subscribe-card .kaelen-h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.kaelen-subscribe-text {
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.8;
}

.kaelen-subscribe-form {
    display: flex;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.03);
}

.kaelen-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: #FFF;
    font-size: 1rem;
}

.kaelen-input:focus {
    outline: none;
}

.kaelen-subscribe-form .kaelen-btn {
    padding: 1rem 2.5rem;
    background: #FFF;
    color: var(--k-bg-dark);
    font-weight: 600;
}

.kaelen-subscribe-form .kaelen-btn:hover {
    background: #E5E5E5;
}

/* Responsive adjustments */
@media (max-width: 900px) {

    .kaelen-hero-grid,
    .kaelen-benefits-layout,
    .kaelen-benefits-grid,
    .kaelen-trusted-layout,
    .kaelen-range-grid {
        grid-template-columns: 1fr;
    }

    .kaelen-trusted-card {
        margin: 0;
        padding: 0;
    }

    .kaelen-testimonial-slide {
        flex: 0 0 calc(50% - 1rem);
        /* 2 visible on tablet */
    }

    .kaelen-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kaelen-h1 {
        font-size: 2.5rem;
    }

    .kaelen-hero-ctas {
        flex-direction: column;
    }

    .kaelen-btn {
        width: 100%;
    }
}

@media (max-width: 600px) {

    .kaelen-badges-grid,
    .kaelen-products-grid {
        grid-template-columns: 1fr;
    }

    .kaelen-testimonial-slide {
        flex: 0 0 100%;
        /* 1 visible on mobile */
    }

    .kaelen-slider-wrapper {
        padding: 0;
        /* Remove side padding on mobile */
    }

    .kaelen-slider-btn {
        display: none;
        /* Hide buttons on mobile, allow swipe */
    }

    .kaelen-subscribe-form {
        flex-direction: column;
    }

    .kaelen-section {
        padding: 3rem 0;
    }

    .kaelen-h1 {
        font-size: 2rem;
    }

    .kaelen-h2 {
        font-size: 1.75rem;
    }
}

/*
=====================================================
  KAELEN HEADER CUSTOM STYLES
=====================================================
*/

/* Font Face for Kaelen Logo */
@font-face {
    font-family: 'GoudyOldStyleT-Bold';
    src: local('GoudyOldStyleT-Bold');
    /* Note: Please upload the actual font file to child theme /fonts/ and update src if local is not installed */
}

.kaelen-custom-header {
    background-color: #ffffff;
    position: relative;
    z-index: 100;
}

.kaelen-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background-color: #ffffff;
}

/* Logo Styling exactly as requested */
.kaelen-header-center {
    display: flex;
    justify-content: center;
    text-align: center;
    flex: 2;
    /* Keeps logo completely centered */
}

.kaelen-logo-link {
    text-decoration: none;
    display: inline-block;
    line-height: 1;
}

.kaelen-logo-text {
    font-family: 'GoudyOldStyleT-Bold', serif;
    fill: #212121;
    color: #212121;
    letter-spacing: 2px;
    /* Reduced responsive font scale for a more balanced header */
    font-size: clamp(28px, 4.5vw, 48px);
    text-transform: capitalize;
}

/* Left & Right align base (Mobile/Tablet) */
.kaelen-header-left,
.kaelen-header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.kaelen-header-left {
    justify-content: flex-start;
    position: relative;
}

.kaelen-header-right {
    justify-content: flex-end;
}

/* Spacer layout for Desktop ensuring perfect symmetry & 24px icon gap */
@media (min-width: 1024px) {
    .kaelen-header-container {
        width: 100%;
        justify-content: space-between;
    }

    .kaelen-header-center {
        flex: 0 0 auto;
        padding: 0;
        display: flex;
        justify-content: center;
    }

    .kaelen-header-left,
    .kaelen-header-right {
        gap: 24px;
        flex: 1;
    }

    .kaelen-header-left {
        justify-content: flex-start;
    }

    .kaelen-header-right {
        justify-content: flex-end;
    }
}

/* Icons */
.kaelen-search-toggle,
.kaelen-mobile-toggle {
    background: transparent;
    border: none;
    padding: 0;
    color: #212121;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.kaelen-header-icon {
    color: #212121;
    display: flex;
    position: relative;
    text-decoration: none;
}

/* Cart dynamic count bubble */
.kaelen-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: #212121;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Nav Menu */
.kaelen-header-nav {
    display: flex;
    justify-content: center;
    margin-top: 0;
    position: relative;
    background-color: #ffffff;
}

.kaelen-primary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2.5rem;
}

.kaelen-primary-menu li {
    position: relative;
}

.kaelen-primary-menu a {
    text-decoration: none;
    color: #212121;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.25rem 0;
    display: block;
    position: relative;
}

/* Elegant minimal hover underline */
.kaelen-primary-menu a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: #212121;
    transition: width 0.3s ease;
}

.kaelen-primary-menu a:hover::after {
    width: 100%;
}

/* Search Dropdown */
.kaelen-search-dropdown {
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    background: #ffffff;
    padding: 0.5rem;
    border: 1px solid var(--k-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 10;
}

.kaelen-search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kaelen-search-dropdown .search-form {
    display: flex;
}

.kaelen-search-input {
    border: 1px solid #ccc;
    padding: 0.5rem;
    font-size: 0.9rem;
    outline: none;
    width: 200px;
}

.kaelen-search-dropdown .search-submit {
    background: #212121;
    color: #fff;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Mobile Toggles */
.kaelen-mobile-toggle {
    display: none;
}

/* Responsive Overrides */
@media (min-width: 901px) {
    .kaelen-custom-header {
        display: contents;
    }

    .kaelen-header-container {
        position: sticky;
        top: 0;
        z-index: 101;
    }

    .kaelen-header-container::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        background-color: #ffffff;
        z-index: -1;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    .kaelen-header-nav {
        border-top: 1px solid var(--k-border);
    }

    .kaelen-header-nav::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        background-color: #ffffff;
        z-index: -1;
        border-top: 1px solid var(--k-border);
        border-bottom: 1px solid var(--k-border);
    }
}

@media (max-width: 900px) {
    .kaelen-custom-header {
        position: sticky;
        top: 0;
        z-index: 101;
        border-bottom: 1px solid var(--k-border);
        background-color: #ffffff;
    }

    .kaelen-header-container {
        padding: 1rem 1.5rem;
    }

    .kaelen-header-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 0;
        border-top: 1px solid var(--k-border);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    }

    .kaelen-header-nav.active {
        display: flex;
    }

    .kaelen-primary-menu {
        flex-direction: column;
        gap: 0;
    }

    .kaelen-primary-menu a {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--k-border);
    }

    .kaelen-primary-menu a::after {
        display: none;
        /* No hover underline on mobile */
    }

    .kaelen-mobile-toggle {
        display: flex;
    }

    .kaelen-header-left {
        gap: 1.25rem;
    }

    .kaelen-logo-text {
        font-size: 28px;
        /* Increased from 24px */
    }

    /* Hide search icon on mobile */
    .kaelen-icon-search {
        display: none !important;
    }

    /* Increase size of remaining header icons and menu toggle */
    .kaelen-icon-btn svg,
    .kaelen-mobile-toggle svg {
        width: 26px !important;
        height: 26px !important;
    }

    .kaelen-cart-count {
        width: 18px;
        height: 18px;
        font-size: 11px;
        top: -6px;
        right: -6px;
    }

    /* Hero Section Mobile */
    .kaelen-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .kaelen-hero-main-img {
        transform: scale(1) !important;
        transform-origin: center center !important;
        max-width: 100% !important;
    }

    .kaelen-hero-content {
        max-width: 100% !important;
        margin: 0 auto;
    }

    .kaelen-hero-content>div:first-child {
        justify-content: center;
    }

    .kaelen-hero-heading {
        font-size: 2.2rem !important;
    }

    .kaelen-hero-desc {
        font-size: 1.05rem !important;
        text-align: justify;
    }

    .kaelen-hero-ctas {
        justify-content: center;
        flex-direction: column;
        gap: 1.5rem;
    }

    .kaelen-hero-ctas .kaelen-btn {
        width: 100%;
    }

    .kaelen-hero-ctas>div {
        margin-left: 0 !important;
        justify-content: center;
    }

    /* Trust Badges Mobile */
    .kaelen-badges-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }

    .kaelen-badge {
        padding: 1.5rem 1rem !important;
        gap: 0.8rem !important;
    }
}

/* Floating Cart */
.kaelen-floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: var(--k-brand-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(99, 83, 163, 0.4);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.kaelen-floating-cart:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(99, 83, 163, 0.6);
    color: #fff;
}

.kaelen-floating-cart .kaelen-icon {
    width: 26px;
    height: 26px;
    color: #fff;
}

.kaelen-floating-cart-count {
    position: absolute;
    top: -5px;
    right: -2px;
    background: #FF5A5F;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--k-font-main);
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .kaelen-floating-cart {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* 
=====================================================
  ABOUT US PAGE STYLES
=====================================================
*/
.kaelen-about-page {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: hidden;
}

.kaelen-about-hero {
    padding: 2rem 0 6rem;
}

.kaelen-about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.kaelen-about-hero-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.kaelen-philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.kaelen-philosophy-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
}

.k-philosophy-block {
    margin-bottom: 3rem;
}

.k-philosophy-block:last-child {
    margin-bottom: 0;
}

.kaelen-commitment-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 3rem;
}

.kaelen-commitment-card {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--k-border);
    transition: transform 0.3s ease;
}

.kaelen-commitment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 83, 163, 0.08);
    /* brand shadow */
}

.k-commit-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 83, 163, 0.05);
    /* brand color background */
    color: var(--k-brand-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.kaelen-commitment-card p {
    color: var(--k-text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.kaelen-offer-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 3rem;
}

.kaelen-offer-card {
    background: #fbfafc;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
    border: 1px solid var(--k-border);
}

.kaelen-offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.k-offer-img {
    aspect-ratio: 1/1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.k-offer-img img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.k-offer-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.k-offer-content p {
    color: var(--k-text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.k-offer-link {
    color: var(--k-brand-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.kaelen-promise {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    color: #fff;
}

.kaelen-promise-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Changed from -2 */
}

.kaelen-promise-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kaelen-promise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.7);
    /* dark overlay */
    z-index: 1;
    /* Changed from -1 */
}

.kaelen-promise .kaelen-container {
    position: relative;
    z-index: 2;
}

.kaelen-promise .kaelen-h2 {
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    font-size: 2.75rem;
    line-height: 1.3;
}

@media (max-width: 991px) {

    .kaelen-about-hero-grid,
    .kaelen-philosophy-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .kaelen-philosophy-image {
        order: -1;
    }

    .kaelen-commitment-grid,
    .kaelen-offer-grid {
        grid-template-columns: 1fr;
    }

    .kaelen-promise .kaelen-h2 {
        font-size: 2rem;
    }
}

/* 
=====================================================
  CONTACT US PAGE STYLES
=====================================================
*/
.kaelen-contact-page {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: hidden;
}

.kaelen-contact-hero {
    padding: 2rem 0 6rem;
}

.kaelen-contact-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.kaelen-contact-hero-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.kaelen-contact-main {
    padding: 6rem 0;
}

.kaelen-contact-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.kaelen-info-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.kaelen-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.k-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 83, 163, 0.08);
    /* brand color */
    color: var(--k-brand-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.k-info-text {
    display: flex;
    flex-direction: column;
}

.k-info-text strong {
    font-family: var(--k-font-main);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--k-text-dark);
    margin-bottom: 0.25rem;
}

.k-info-text span {
    color: var(--k-text-muted);
    line-height: 1.6;
}

.k-info-text .k-info-sub {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Social Icons */
.kaelen-contact-socials {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.kaelen-contact-socials a {
    width: 45px;
    height: 45px;
    background: #fbfafc;
    border: 1px solid var(--k-border);
    color: var(--k-brand-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.kaelen-contact-socials a:hover {
    background: var(--k-brand-color);
    color: #fff;
    border-color: var(--k-brand-color);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(99, 83, 163, 0.25);
}

.kaelen-contact-socials svg {
    width: 20px;
    height: 20px;
}

/* Form Styles */
.kaelen-contact-form-wrapper {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.kaelen-contact-form-wrapper .kaelen-h3 {
    margin-bottom: 0.5rem;
}

.kaelen-contact-form-wrapper p {
    color: var(--k-text-muted);
    margin-bottom: 2.5rem;
}

.kaelen-custom-form .k-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.k-form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.k-form-group label {
    font-family: var(--k-font-main);
    font-weight: 500;
    color: var(--k-text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.k-form-group input,
.k-form-group textarea {
    padding: 1rem 1.25rem;
    border: 1px solid var(--k-border);
    border-radius: 6px;
    font-family: var(--k-font-main);
    font-size: 1rem;
    color: var(--k-text-dark);
    background: #fbfafc;
    transition: all 0.3s ease;
    outline: none;
}

.k-form-group input:focus,
.k-form-group textarea:focus {
    border-color: var(--k-brand-color);
    box-shadow: 0 0 0 3px rgba(99, 83, 163, 0.1);
    background: #fff;
}

.k-submit-btn {
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 900px) {

    .kaelen-contact-hero-grid,
    .kaelen-contact-main-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .kaelen-custom-form .k-form-row {
        grid-template-columns: 1fr;
    }

    .kaelen-contact-form-wrapper {
        padding: 2rem;
    }
}

/* 
=====================================================
  GLOBAL FOOTER STYLES
=====================================================
*/
.kaelen-footer {
    background-color: var(--k-text-dark);
    color: #fff;
    padding: 6rem 0 0;
    margin-top: auto;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.kaelen-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.kaelen-footer-brand .kaelen-logo-text {
    color: #fff;
    font-size: 2rem;
}

.kaelen-footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.kaelen-footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 320px;
    font-size: 0.95rem;
}

.kaelen-footer-heading {
    color: #fff;
    font-family: var(--k-font-main);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.kaelen-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kaelen-footer-menu li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.kaelen-footer-menu li a:hover {
    color: var(--k-brand-color);
    padding-left: 5px;
}

/* Newsletter */
.kaelen-footer-social p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.kaelen-footer-subscribe {
    display: flex;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

.kaelen-footer-subscribe input {
    background: transparent;
    border: none;
    color: #fff;
    flex: 1;
    font-family: var(--k-font-main);
    padding: 0.5rem 0;
    outline: none;
}

.kaelen-footer-subscribe input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.kaelen-footer-subscribe button {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
}

.kaelen-footer-subscribe button:hover {
    color: var(--k-brand-color);
}

/* Social Icons */
.kaelen-footer-social-icons {
    display: flex;
    gap: 1rem;
}

.kaelen-footer-social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.kaelen-footer-social-icons a:hover {
    background: var(--k-brand-color);
    transform: translateY(-3px);
}

/* Bottom Footer */
.kaelen-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.kaelen-footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.85rem;
}

.kaelen-footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.kaelen-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.kaelen-footer-bottom-links a:hover {
    color: #fff;
}

@media (max-width: 991px) {
    .kaelen-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .kaelen-footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .kaelen-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* 
=====================================================
  LEGAL / POLICY PAGE STYLES
=====================================================
*/
.kaelen-legal-page {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: hidden;
}

.kaelen-legal-hero {
    padding: 2rem 0 4rem;
}

.kaelen-legal-content {
    padding: 2rem 0 6rem;
}

.kaelen-content-box {
    background: #fff;
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--k-border);
    max-width: 900px;
    margin: 0 auto;
}

.kaelen-content-box p {
    color: var(--k-text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.kaelen-content-box ul {
    margin-bottom: 2rem;
    color: var(--k-text-muted);
}

.kaelen-content-box li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .kaelen-content-box {
        padding: 2rem;
    }
}

/* 
=====================================================
  BLOG / ARCHIVE PAGE STYLES
=====================================================
*/
.kaelen-blog-page {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: hidden;
}

.kaelen-blog-hero {
    padding: 2rem 0 4rem;
}

.kaelen-blog-main {
    padding: 2rem 0 6rem;
}

.kaelen-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    margin-bottom: 4rem;
}

.kaelen-blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--k-border);
    display: flex;
    flex-direction: column;
}

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

.k-blog-img-link {
    display: block;
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.k-blog-img {
    width: 100%;
    height: 100%;
    position: relative;
}

.k-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.kaelen-blog-card:hover .k-blog-img img {
    transform: scale(1.05);
}

.k-blog-placeholder {
    width: 100%;
    height: 100%;
    background: #fbfafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.k-blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.k-blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.k-blog-date {
    color: var(--k-text-muted);
}

.k-blog-cat {
    color: var(--k-brand-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.k-blog-title {
    font-family: var(--k-font-main);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.k-blog-title a {
    color: var(--k-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.k-blog-title a:hover {
    color: var(--k-brand-color);
}

.k-blog-excerpt {
    color: var(--k-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.k-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--k-text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: auto;
}

.k-blog-read-more:hover {
    color: var(--k-brand-color);
}

/* Pagination */
.kaelen-pagination {
    margin-top: 4rem;
    text-align: center;
}

.kaelen-pagination .nav-links {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.kaelen-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 0.5rem;
    background: #fff;
    border: 1px solid var(--k-border);
    color: var(--k-text-dark);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.kaelen-pagination .page-numbers:hover {
    border-color: var(--k-brand-color);
    color: var(--k-brand-color);
}

.kaelen-pagination .page-numbers.current {
    background: var(--k-brand-color);
    border-color: var(--k-brand-color);
    color: #fff;
}

.kaelen-pagination .prev,
.kaelen-pagination .next {
    padding: 0 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.kaelen-pagination .prev svg,
.kaelen-pagination .next svg {
    margin: 0 -0.25rem;
}

@media (max-width: 991px) {
    .kaelen-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .kaelen-blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   WOOCOMMERCE BRAND STYLING
   ========================================================================== */

/* Page Header & Title */
.woocommerce .page-title {
    font-family: var(--k-font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--k-text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
    margin-top: 0;
}

.woocommerce .woocommerce-products-header {
    padding: 1rem 0 2rem;
    text-align: center;
}

.woocommerce .woocommerce-breadcrumb {
    text-align: center;
    font-size: 0.9rem;
    color: var(--k-text-muted);
    margin-bottom: 2rem;
    margin-top: 0;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--k-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce .woocommerce-breadcrumb a:hover {
    color: var(--k-brand-color);
}

/* Shop Controls (Sorting, Results) */
.woocommerce .woocommerce-result-count {
    color: var(--k-text-muted);
    font-size: 0.95rem;
}

.woocommerce .woocommerce-ordering select {
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid var(--k-border);
    border-radius: 4px;
    background-color: #fff;
    color: var(--k-text-dark);
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: none;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Product Grid Layout */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 2rem;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product {
    width: 100%;
    margin: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
    border: 1px solid var(--k-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

/* Product Image */
.woocommerce ul.products li.product a img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    margin: 0;
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--k-bg-alt);
    margin-bottom: 0;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.05);
}

/* Sale Badge */
.woocommerce span.onsale {
    background: var(--k-brand-color);
    color: #fff;
    border-radius: 4px;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-height: auto;
    min-width: auto;
    line-height: 1.2;
    top: 1rem;
    left: 1rem;
    right: auto;
    z-index: 10;
}

/* Product Info */
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--k-text-dark);
    margin: 1rem 0 0.8rem;
    padding: 0 1.5rem;
    font-family: var(--k-font-body);
    display: block;
    line-height: 1.3;
}

.woocommerce ul.products li.product .price {
    color: var(--k-text-muted);
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 0;
    margin-top: auto;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.woocommerce ul.products li.product .price del {
    opacity: 0.6;
    margin-right: 0.5rem;
}

.woocommerce ul.products li.product .price ins {
    color: var(--k-text-dark);
    font-weight: 600;
    text-decoration: none;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button {
    background: var(--k-brand-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 1.5rem;
    display: block;
    width: auto;
    margin-top: auto;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--k-text-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.woocommerce ul.products li.product .button.added::after {
    display: none;
}

/* Custom Shop Layout with Sidebar */
.kaelen-shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: start;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.kaelen-shop-sidebar {
    position: sticky;
    top: 120px;
}

.kaelen-sidebar-widget {
    margin-bottom: 3rem;
}

.kaelen-sidebar-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-family: var(--k-font-heading);
    color: var(--k-text-dark);
}

/* Category Capsules */
.kaelen-capsule-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.kaelen-capsule-categories li {
    margin: 0;
    padding: 0;
}

.kaelen-capsule-categories a.kaelen-capsule-link {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background: #fff;
    border: 1px solid var(--k-border);
    color: var(--k-text-muted);
    border-radius: 50px;
    /* Capsule shape */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.kaelen-capsule-categories a.kaelen-capsule-link:hover,
.kaelen-capsule-categories a.kaelen-capsule-link.active {
    background: var(--k-brand-color);
    color: #fff;
    border-color: var(--k-brand-color);
}

.kaelen-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--k-border);
    padding-bottom: 1rem;
}

.kaelen-shop-toolbar .woocommerce-result-count {
    margin: 0;
}

.kaelen-shop-toolbar .woocommerce-ordering {
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .kaelen-shop-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .kaelen-shop-sidebar {
        position: static;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .woocommerce .page-title {
        font-size: 2.5rem;
    }

    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .kaelen-shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ==========================================================================
   WOOCOMMERCE CART & CHECKOUT OPTIMIZATION (D2C)
   ========================================================================== */

/* Cart Page Flexbox Layout */
@media (min-width: 992px) {
    .woocommerce-cart .woocommerce {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        max-width: 1300px;
        margin: 0 auto;
    }

    .woocommerce-cart .woocommerce-notices-wrapper {
        width: 100%;
        flex: 0 0 100%;
    }

    .woocommerce-cart .woocommerce-cart-form {
        width: 63%;
        flex: 0 0 63%;
    }

    .woocommerce-cart .cart-collaterals {
        width: 33%;
        flex: 0 0 33%;
        position: sticky;
        top: 2rem;
        margin-top: 0;
    }
}

/* Cart Left Column Forms */
.woocommerce-cart-form {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    padding: 2.5rem;
    border: 1px solid var(--k-border);
}

.woocommerce-cart-form .shop_table.cart {
    border: none;
    margin-bottom: 1rem;
}

.woocommerce-cart-form .shop_table.cart th {
    background: transparent;
    padding: 1rem 0;
    border: none;
    border-bottom: 2px solid var(--k-border);
    font-family: var(--k-font-heading);
    color: var(--k-text-dark);
}

.woocommerce-cart-form .shop_table.cart td {
    padding: 1.5rem 0;
    border-color: var(--k-border);
}

/* Order Summary Box */
.cart-collaterals .cart_totals {
    width: 100% !important;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    padding: 2.5rem;
    border: none;
    float: none !important;
}

.cart_totals h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--k-border);
    padding-bottom: 1.2rem;
    font-family: var(--k-font-heading);
    color: #1c1c1c;
    font-weight: 600;
}

.cart_totals table.shop_table {
    border: none;
    margin: 0;
    border-radius: 0;
}

.cart_totals table.shop_table th {
    background: transparent;
    padding: 1.2rem 0;
    font-weight: 500;
    color: var(--k-text-muted);
    border: none;
    border-bottom: 1px dashed var(--k-border);
    font-family: var(--k-font-body);
}

.cart_totals table.shop_table td {
    background: transparent;
    padding: 1.2rem 0;
    text-align: right;
    font-weight: 600;
    color: #1c1c1c;
    border: none;
    border-bottom: 1px dashed var(--k-border);
}

.cart_totals table.shop_table tr.order-total th,
.cart_totals table.shop_table tr.order-total td {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1c1c1c;
    border-bottom: none;
    padding-top: 2rem;
    border-top: 1px solid var(--k-border);
}

/* Actions & Coupon Area Enhancement */
.woocommerce-cart-form table.cart td.actions {
    padding-top: 2.5rem;
    border-top: 1px solid var(--k-border);
}

.woocommerce-cart-form .coupon {
    display: flex;
    gap: 1rem;
    width: 100%;
    align-items: center;
    margin-bottom: 1rem;
}

.woocommerce-cart-form .coupon .input-text {
    flex: 1;
    width: 100% !important;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--k-border);
    font-size: 1rem;
    height: 52px;
}

.woocommerce-cart-form .coupon .button {
    padding: 0 2.5rem;
    height: 52px;
    border-radius: 8px;
    background: #f4f4f4;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.woocommerce-cart-form .coupon .button:hover {
    background: #e0e0e0;
    color: #111;
}

/* Subtle Update Cart Button */
button[name="update_cart"],
.woocommerce-cart-form .actions>.button {
    background: transparent !important;
    color: var(--k-text-muted) !important;
    border: none !important;
    padding: 0 !important;
    text-decoration: underline;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: none !important;
    margin-top: 0.5rem;
}

button[name="update_cart"]:hover,
.woocommerce-cart-form .actions>.button:hover {
    color: #111 !important;
}

/* Checkout Button UI Upgrade */
.woocommerce-cart .checkout-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #1c1c1c;
    color: #fff;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.woocommerce-cart .checkout-button::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3e%3c/rect%3e%3cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3e%3c/path%3e%3c/svg%3e");
    background-size: cover;
}

.woocommerce-cart .checkout-button:hover {
    background: var(--k-brand-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Cart Savings Banner & Delivery Promise */
.kaelen-cart-savings-banner {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 1.25rem 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #c8e6c9;
    line-height: 1.6;
}

.kaelen-delivery-promise {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--k-border);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.kaelen-delivery-promise-icon {
    color: var(--k-brand-color);
}

.kaelen-delivery-promise-text {
    font-size: 0.95rem;
    color: var(--k-text-dark);
    font-weight: 500;
    margin: 0;
}

/* Form inputs & Quantity UI */
.woocommerce .quantity .qty {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.5rem;
    width: 70px;
    height: 44px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

/* Micro Trust Below CTA */
.kaelen-cart-trust {
    display: grid !important;
    grid-template-columns: max-content max-content;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-top: 1.5rem;
    text-align: left;
}

.kaelen-cart-trust-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

/* Responsive Cart Mobile */
@media (max-width: 991px) {
    .woocommerce-cart .woocommerce {
        display: block;
    }

    .woocommerce-cart .cart-collaterals {
        margin-top: 3rem;
    }

    /* Make Cart UI touch-friendly on mobile */
    .woocommerce-cart-form .shop_table.cart th {
        display: none;
    }

    .woocommerce-cart-form .shop_table.cart tr.cart_item {
        display: block;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid var(--k-border);
    }

    .woocommerce-cart-form .shop_table.cart td {
        display: block;
        text-align: center;
        border: none;
        padding: 0.5rem 0;
    }

    .woocommerce-cart-form .shop_table.cart td.product-remove {
        position: absolute;
        right: 1.5rem;
        margin-top: -1.5rem;
    }

    .woocommerce-cart-form .coupon {
        flex-direction: column;
    }
}

/* ==========================================================================
   WOOCOMMERCE CHECKOUT OPTIMIZATION (D2C)
   ========================================================================== */

/* Hide "Additional information" title */
.woocommerce-checkout .woocommerce-additional-fields h3 {
    display: none !important;
}

/* Reduce Form Friction & Boost Heights */
.woocommerce-checkout .woocommerce-billing-fields p.form-row {
    margin-bottom: 1.2rem;
}

.woocommerce-checkout .woocommerce-billing-fields input.input-text,
.woocommerce-checkout .woocommerce-billing-fields select {
    height: 50px;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--k-border);
    font-size: 1rem;
    background: #fdfdfd;
    transition: border-color 0.2s;
}

.woocommerce-checkout .woocommerce-billing-fields input.input-text:focus,
.woocommerce-checkout .woocommerce-billing-fields select:focus {
    border-color: var(--k-brand-color);
    box-shadow: 0 0 0 2px rgba(200, 163, 94, 0.2);
}

/* Make "To Pay" Visually Dominant */
.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total td {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1c1c1c;
    border-top: 2px solid var(--k-border);
    padding-top: 1.5rem;
    background: linear-gradient(to right, transparent, rgba(200, 163, 94, 0.05));
}

.woocommerce-checkout-review-order-table tr.order-total th {
    font-size: 1.4rem;
    background: transparent;
}

/* Payment Method Highlighting */
#payment .payment_methods li {
    padding: 1.2rem;
    border: 1px solid var(--k-border);
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #fff;
    transition: all 0.2s ease;
}

/* Highlight specifically the first gateway (Razorpay) */
#payment .payment_methods li:first-child {
    border-color: var(--k-brand-color);
    background: rgba(200, 163, 94, 0.02);
    box-shadow: 0 4px 15px rgba(200, 163, 94, 0.1);
}

#payment .payment_methods li input[type="radio"] {
    margin-right: 1rem;
    transform: scale(1.2);
}

/* Complete Secure Order Button */
#payment #place_order.kaelen-checkout-secure-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #1c1c1c;
    color: #fff;
    padding: 1.25rem 2rem;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 8px;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#payment #place_order.kaelen-checkout-secure-btn:hover {
    background: var(--k-brand-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Soften Error States */
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 1px rgba(231, 76, 60, 0.1) !important;
}

.woocommerce form .form-row.woocommerce-invalid label {
    color: inherit;
    /* Remove aggressive fast red label */
}

.woocommerce-checkout .woocommerce-error {
    background: #fdf2f2 !important;
    border-left: 4px solid #e74c3c !important;
    border-top: none;
    border-right: none;
    border-bottom: none;
    color: #c0392b !important;
    padding: 1rem 1.2rem !important;
    border-radius: 6px !important;
    font-size: 0.9rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 500;
}

.woocommerce-checkout .woocommerce-error::before {
    display: none !important;
    /* Hide native icon if it clashes */
}

/* --------------------------------------------------------------------------
   APP-LIKE MOBILE CHECKOUT UX (< 768px ONLY)
   -------------------------------------------------------------------------- */
.kaelen-hide-desktop {
    display: none !important;
}

.kaelen-desktop-only {
    display: block !important;
}

@media (max-width: 768px) {
    .kaelen-hide-desktop {
        display: flex !important;
    }

    .kaelen-desktop-only,
    .kaelen-desk-microcopy {
        display: none !important;
    }

    /* 1. Kill Header / Footer for clean App Mode */
    body.woocommerce-checkout #masthead,
    body.woocommerce-cart #masthead,
    body.woocommerce-checkout #colophon,
    body.woocommerce-cart #colophon,
    body.woocommerce-checkout .site-footer,
    body.woocommerce-cart .site-footer,
    body.woocommerce-checkout footer,
    body.woocommerce-cart footer,
    body.woocommerce-checkout .elementor-location-footer,
    body.woocommerce-cart .elementor-location-footer,
    body.woocommerce-checkout .ast-footer-wrapper,
    body.woocommerce-cart .ast-footer-wrapper,
    body.woocommerce-checkout .hfeed>footer,
    body.woocommerce-cart .hfeed>footer {
        display: none !important;
    }

    /* 2. App-like base & Top Bar padding */
    body.woocommerce-checkout,
    body.woocommerce-cart {
        background: #fdfdfd;
        padding-top: 60px !important;
    }

    .kaelen-mobile-checkout-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: #fff;
        justify-content: space-between;
        align-items: center;
        padding: 0 1.5rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        z-index: 10000;
        font-family: var(--k-font-heading);
    }

    .kaelen-mobile-checkout-header a {
        color: #111;
        text-decoration: none;
        font-weight: 700;
        font-size: 1.1rem;
        align-items: center;
        gap: 0.5rem;
    }

    .kaelen-mobile-checkout-header .mobile-savings {
        font-size: 0.85rem;
        color: #2e7d32;
        background: #e8f5e9;
        padding: 4px 10px;
        border-radius: 50px;
        font-weight: 600;
    }

    /* 3. Reorder layout & Height compression */
    .woocommerce-checkout .woocommerce {
        display: flex;
        flex-direction: column;
    }

    .woocommerce-checkout .col2-set {
        order: 1;
        margin-bottom: 2rem;
    }

    .woocommerce-checkout #order_review_heading {
        display: none;
        /* Hide default title */
    }

    .woocommerce-checkout #order_review {
        order: 2;
    }

    .woocommerce-checkout .woocommerce-billing-fields p.form-row {
        margin-bottom: 0.8rem;
    }

    .woocommerce-checkout .woocommerce-billing-fields label {
        font-size: 0.85rem;
    }

    .woocommerce-checkout .woocommerce-billing-fields input.input-text,
    .woocommerce-checkout .woocommerce-billing-fields select {
        height: 50px;
        background: #fff;
    }

    .woocommerce-checkout #customer_details {
        margin-bottom: 0;
    }

    /* 4. Collapsible Order Summary */
    .kaelen-mobile-summary-toggle {
        background: #fff;
        padding: 1rem 1.25rem;
        border: 1px solid var(--k-border);
        border-radius: 8px;
        margin-bottom: 1.5rem;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    }

    .kaelen-mobile-summary-toggle span {
        display: flex;
        flex-direction: column;
        gap: 2px;
        font-size: 0.85rem;
        color: var(--k-text-muted);
    }

    .kaelen-mobile-summary-toggle span strong {
        font-size: 1.25rem;
        color: #111;
    }

    .kaelen-mobile-summary-toggle .view-items {
        color: var(--k-brand-color);
        font-weight: 600;
        font-size: 0.85rem;
        align-items: flex-end;
    }

    .woocommerce-checkout-review-order-table.kaelen-mobile-hidden {
        display: none !important;
    }

    /* 5. Sticky Bottom Bar */
    #payment {
        background: transparent !important;
        padding: 0 !important;
        padding-bottom: 150px !important;
        /* Breathing space so sticky container doesn't overlap payment methods */
    }

    #payment .place-order {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        /* Softer shadow */
        z-index: 9999;
        margin: 0;
        border-top: 1px solid #f0f0f0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        padding-bottom: env(safe-area-inset-bottom);
        box-sizing: border-box;
    }

    .kaelen-mobile-sticky-total {
        display: none !important;
        /* Deprecated - keeping clean override */
    }

    .kaelen-mobile-sticky-total .label {
        font-size: 0.75rem;
        color: #666;
        text-transform: uppercase;
        font-weight: 600;
    }

    .kaelen-mobile-sticky-total .val {
        font-size: 1.5rem;
        font-weight: 800;
        color: #111;
        letter-spacing: -0.5px;
    }

    .kaelen-btn-wrapper {
        display: none !important;
    }

    #payment #place_order.kaelen-checkout-secure-btn {
        flex: 1;
        background: #1c1c1c;
        color: #fff;
        height: 54px;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin: 0;
        padding: 0;
        width: auto;
    }

    .kaelen-lock-icon-btn::before {
        content: "";
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-right: 6px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        position: relative;
        top: 2px;
    }

    .kaelen-mobile-microcopy {
        width: 100%;
        margin-top: 0.8rem !important;
        padding-bottom: 0.8rem;
    }

    /* 6. Mobile Cart App-Like UX */
    .woocommerce-cart .woocommerce {
        display: flex;
        flex-direction: column;
    }

    .woocommerce-cart .cart-collaterals {
        margin-top: 1rem;
    }

    /* Hide redundant desktop cart buttons/trust */
    .woocommerce-cart-form .actions .button,
    .kaelen-cart-savings-banner.kaelen-hide-desktop,
    .checkout-button.button.alt.wc-forward.kaelen-hide-desktop {
        display: none !important;
    }

    .kaelen-mobile-coupon-toggle {
        background: #f8f9fa;
        padding: 1rem;
        border-radius: 8px;
        text-align: center;
        font-weight: 600;
        color: #111;
        cursor: pointer;
        border: 1px dashed var(--k-border);
        margin-bottom: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .woocommerce-cart-form .coupon.kaelen-mobile-hidden {
        display: none !important;
    }

    .cart_totals .shop_table.kaelen-mobile-hidden {
        display: none !important;
    }

    .kaelen-cart-summary-toggle {
        background: #fff;
        padding: 1.2rem;
        border: 1px solid var(--k-border);
        border-radius: 8px;
        margin-bottom: 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    }

    .kaelen-cart-summary-toggle span {
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: 0.9rem;
        color: var(--k-text-muted);
    }

    .kaelen-cart-summary-toggle span strong {
        font-size: 1.4rem;
        color: #111;
    }

    .kaelen-cart-summary-toggle .view-items {
        color: var(--k-brand-color);
        font-weight: 600;
        font-size: 0.9rem;
        align-items: flex-end;
    }

    body.woocommerce-cart {
        padding-bottom: 180px !important;
        /* Offset for massive sticky cart bar */
    }

    .kaelen-cart-sticky-mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        border-top: 1px solid #f0f0f0;
        padding-bottom: env(safe-area-inset-bottom);
        /* iOS support */
    }

    .mobile-cart-savings-top {
        background: #e8f5e9;
        color: #2e7d32;
        font-size: 0.8rem;
        font-weight: 600;
        text-align: center;
        padding: 6px 10px;
        width: 100%;
        order: -2;
    }

    .mobile-cart-urgency {
        background: transparent;
        color: #d35400;
        font-size: 0.8rem;
        font-weight: 600;
        text-align: center;
        padding: 6px 10px 4px;
        width: 100%;
        border-bottom: 1px dotted #eaeaea;
        order: -1;
    }

    .sticky-cart-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.8rem 1.15rem 0.5rem 1.15rem;
        width: 100%;
        box-sizing: border-box;
    }

    .sticky-cart-total {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
        width: 45%;
    }

    .sticky-cart-total .label {
        font-size: 0.75rem;
        color: #666;
        text-transform: uppercase;
        font-weight: 600;
    }

    .sticky-cart-total .val {
        font-size: 1.5rem;
        font-weight: 800;
        color: #111;
        letter-spacing: -0.5px;
    }

    .kaelen-cart-sticky-mobile .kaelen-mobile-cart-btn {
        flex: 1;
        background: #1c1c1c;
        color: #fff;
        height: 54px;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        font-weight: 700;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .kaelen-cart-sticky-mobile .kaelen-mobile-microcopy {
        padding-bottom: 0.8rem;
    }
}

/* ==========================================================================
   KAELEN FIRST ORDER POPUP (D2C)
   ========================================================================== */
.kaelen-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.kaelen-popup-overlay.kaelen-popup-visible {
    opacity: 1;
    visibility: visible;
}

.kaelen-popup-content {
    background: #fff;
    width: 90%;
    max-width: 440px;
    border-radius: 12px;
    position: relative;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.kaelen-popup-overlay.kaelen-popup-visible .kaelen-popup-content {
    transform: translateY(0);
}

.kaelen-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

.kaelen-popup-close:hover {
    color: #111;
}

.kaelen-popup-hl {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.5rem;
    font-family: var(--k-font-heading, inherit);
}

.kaelen-popup-sh {
    font-size: 1.25rem;
    color: var(--k-brand-color, #c8a35e);
    margin-bottom: 1rem;
    font-weight: 600;
}

.kaelen-popup-bd {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.kaelen-popup-form input[type="email"] {
    width: 100%;
    height: 50px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 1.2rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    background: #fdfdfd;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.kaelen-popup-form input[type="email"]:focus {
    border-color: var(--k-brand-color, #c8a35e);
    box-shadow: 0 0 0 2px rgba(200, 163, 94, 0.2);
    outline: none;
}

.kaelen-popup-cta {
    width: 100%;
    height: 54px;
    background: #1c1c1c;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kaelen-popup-cta:hover {
    background: var(--k-brand-color, #c8a35e);
    transform: translateY(-2px);
}

.kaelen-popup-st {
    font-size: 0.75rem;
    color: #888;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Mobile-First: Slide from Bottom Modal */
@media (max-width: 768px) {
    .kaelen-popup-overlay {
        align-items: flex-end;
    }

    .kaelen-popup-content {
        width: 100%;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        padding: 2.5rem 1.5rem 1.5rem;
        transform: translateY(100%);
        margin-bottom: 0;
    }
}

/* Shop by Health Concern Grid */
.kaelen-shop-concerns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.kaelen-shop-concerns-grid>a {
    display: block;
    background: #fff;
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.kaelen-shop-concerns-grid>a h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.kaelen-shop-concerns-grid>a p {
    font-size: 0.85rem;
    color: var(--k-text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .kaelen-shop-concerns-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .kaelen-shop-concerns-grid>a {
        padding: 1.25rem 0.5rem;
    }

    .kaelen-shop-concerns-grid>a h3 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }

    .kaelen-shop-concerns-grid>a p {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   KAELEN SINGLE PRODUCT CRO SECTIONS
   ========================================================================== */

.kaelen-cro-sections {
    padding: 6rem 0;
    border-top: 1px solid var(--k-border);
}

.kaelen-cro-block {
    margin-bottom: 5rem;
    background: #fff;
    padding: 4rem;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.03);
}

.kaelen-cro-block:last-child {
    margin-bottom: 0;
}

.kaelen-cro-block .kaelen-h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

/* 1. Who Is This Perfect For */
.kaelen-perfect-for-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
}

.kaelen-perfect-for-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--k-text-dark);
}

.kaelen-perfect-for-list li .k-check-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(200, 163, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.2rem;
}

/* 2. Timeline */
.kaelen-timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.kaelen-timeline-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--k-border);
    z-index: 0;
}

.kaelen-timeline-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.k-week-badge {
    background: var(--k-brand-color);
    color: #fff;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kaelen-timeline-item p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--k-text-muted);
}

/* 3. How It Works */
.kaelen-how-it-works-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--k-text-dark);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* 4. Comparison Grid */
.kaelen-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--k-border);
}

.kaelen-compare-col {
    padding: 3rem;
}

.kaelen-compare-col.kaelen-brand {
    background: rgba(200, 163, 94, 0.05);
    border-right: 1px solid var(--k-border);
}

.kaelen-compare-col.kaelen-regular {
    background: #fafafa;
}

.kaelen-compare-col h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.kaelen-brand-color {
    color: var(--k-brand-color);
}

.kaelen-compare-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kaelen-compare-col ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

/* 5. FAQ Accordion */
.kaelen-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.kaelen-faq-item {
    border-bottom: 1px solid var(--k-border);
    padding: 1.5rem 0;
}

.kaelen-faq-item:first-child {
    border-top: 1px solid var(--k-border);
}

.kaelen-faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--k-text-dark);
    cursor: pointer;
    position: relative;
    padding-right: 2rem;
    list-style: none;
    /* remove default arrow */
}

.kaelen-faq-question::-webkit-details-marker {
    display: none;
}

.kaelen-faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--k-brand-color);
    transition: transform 0.3s ease;
}

details[open] .kaelen-faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.kaelen-faq-answer {
    padding-top: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--k-text-muted);
}

/* 6. Cross Sell Banner */
.kaelen-cross-sell-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(200, 163, 94, 0.05);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(200, 163, 94, 0.2);
}

.k-upsell-tag {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--k-brand-color);
}

/* Mobile Responsive Adjustments */
@media (max-width: 900px) {
    .kaelen-cro-block {
        padding: 3rem 1.5rem;
        margin-bottom: 3rem;
    }

    .kaelen-cro-block .kaelen-h2 {
        font-size: 1.8rem;
    }

    .kaelen-timeline-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .kaelen-timeline-grid::before {
        display: none;
    }

    .kaelen-compare-grid {
        grid-template-columns: 1fr;
    }

    .kaelen-compare-col.kaelen-brand {
        border-right: none;
        border-bottom: 1px solid var(--k-border);
    }

    .kaelen-compare-col {
        padding: 2rem 1.5rem;
    }

    .kaelen-cross-sell-banner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem 1.5rem;
    }
}