/* Minimum reset for the custom homepage wrapper to ensure full width */
.milkbar-homepage {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow-x: hidden;
    font-family: "Courier New", Courier, monospace;
    /* Example font closer to the image */
}

.modal-open .milkbar-homepage {
    width: 100%;
    margin-left: 0;
}

/* Typography & Global */
.milkbar-homepage h1,
.milkbar-homepage h2,
.milkbar-homepage h3,
.milkbar-homepage h4 {
    font-family: 'Arial Black', 'Helvetica Neue', sans-serif;
    /* Heavy bold font */
    font-weight: 900;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.milkbar-homepage p {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 1.5rem;
}

.container {
    max-width: 85%;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-black {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    font-family: 'Arial Black', sans-serif;
    border-radius: 4px;
    /* Slight round, or 0 for sharp */
}

/* Section: Why Choose */
.section-why-choose {
    background-color: #FFF6E5;
    /* Cream/Peach */
    padding: 80px 0 60px;
    text-align: center;
}

.section-why-choose .section-title {
    font-size: 3rem;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    max-width: 300px;
}

/* Marquee Banner */
.marquee-banner {
    background: #000;
    color: #fff;
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* Section: Products */
.section-products {
    background: #fff;
    padding: 80px 0;
    text-align: center;
}

.section-products .section-subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
}

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

.product-card {
    text-align: center;
}

.product-image {
    position: relative;
    margin-bottom: 20px;
    background: #F7F0EA;
    /* Cream background for product images */
    border-radius: 8px;
    overflow: hidden;
}

.section-bestsellers .product-image {
    background: transparent;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    color: #000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge.pink {
    background: #FFC0CB;
    /* Pinkish */
}

/* Section: Split Layout */
.section-feature {
    padding: 80px 0;
    overflow: hidden;
}

.section-celebrations {
    padding: 40px 0;
    /* Reduced padding */
}

.section-celebrations .split-image img,
.section-imagine .split-image img {
    height: 600px;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.bg-cream {
    background-color: #FFF6E5;
}

.split-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
}

.split-image img {
    width: 100%;
    border-radius: 8px;
}

.dual-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dual-image .product-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.dual-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

@media (min-width: 1024px) {
    .dual-image {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .dual-image .product-link-wrapper {
        height: 500px;
    }

    .split-image {
        flex: 1.3;
    }

    .split-content {
        flex: 0.9;
    }
}

.split-content h2 {
    font-size: 3rem;
    line-height: 0.9;
    margin-bottom: 20px;
}

/* Section: Gifts */
.section-gifts {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gift-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

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

    .features-grid,
    .product-grid,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .split-container {
        flex-direction: column;
    }

    .reverse-mobile {
        flex-direction: column-reverse;
    }

    .milkbar-homepage h2 {
        font-size: 2rem;
    }

    .section-why-choose .section-title {
        font-size: 1.8rem;
    }
}

/* Testimonials Section */
.section-testimonials {
    background-color: #FFF6E5;
    padding: 80px 0;
}

.text-left {
    text-align: left !important;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    align-items: flex-start;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial-card.card-2 {
    margin-top: 50px;
}

.testimonial-card.card-3 {
    margin-top: 100px;
}

.quote-logo {
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.quote-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #000;
}

.quote-text strong {
    font-weight: 900;
}

/* Starburst Badge */
.badge-starburst {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    background: #000;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.6rem;
    font-weight: bold;
    line-height: 1.1;
    transform: rotate(15deg);
    padding: 10px;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    width: 70px;
    height: 70px;
}

/* Full Width Split Section */
.split-full-container {
    display: flex;
    width: 100%;
    height: 500px;
    /* Reduced height */
}

.split-full-image {
    width: 50%;
    background-color: #FEF7F2;
}

.split-full-image .product-link-wrapper {
    height: 100%;
    width: 100%;
}

.split-full-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.split-full-content {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background-color: #FEF7F2;
}

.content-inner {
    max-width: 500px;
}

.no-padding {
    padding: 0;
}

@media (max-width: 768px) {
    .testimonials-grid {
        flex-direction: column;
    }

    .testimonial-card.card-2,
    .testimonial-card.card-3 {
        margin-top: 0;
    }

    .split-full-container {
        flex-direction: column;
        height: auto;
    }

    .split-full-image,
    .split-full-content {
        width: 100%;
    }

    .split-full-image {
        height: auto;
        padding-bottom: 20px;
    }

    .split-full-image img {
        height: auto;
        max-height: 400px;
    }

    .split-full-content {
        padding: 30px 20px;
    }
}

/* Hero Slideshow */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 790px;
    /* Height adjusted to fit 720px images + margins */
    overflow: hidden;
    background: #fff;
    margin-top: 10px;
    /* Gap from header */
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

/* Slide Grid Layout */
.slide-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    height: 100%;
    padding-left: 70px;
    padding-right: 70px;
    gap: 0;
    column-gap: 70px;
}

.slide-col {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-col img {
    width: 400px;
    height: 720px;
    object-fit: cover;
    display: block;
    margin: 35px auto;
    border-radius: 20px;
}

/* Text Column Styling */
.text-col {
    padding: 60px 0;
    text-align: left;
    /* Default alignment */
}

.text-col .text-content {
    max-width: 400px;
    margin: 0 auto;
}

.shipping-note {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 15px;
}

.text-col h1 {
    font-size: 3rem;
    /* Big impact */
    margin-bottom: 20px;
    line-height: 0.95;
    letter-spacing: -1px;
}

.rating-stars {
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.rating-stars span {
    color: #666;
    margin-left: 5px;
    font-weight: normal;
}

.text-col p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #333;
}

/* Button Pill */
.btn-black-pill {
    background: #000;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 50px;
    /* Pill shape */
    display: inline-block;
}

/* Slider Controls */
.slider-controls.custom-controls {
    position: absolute;
    bottom: 20px;
    /* For dots */
    width: 100%;
    height: 0;
    display: flex;
    justify-content: center;
    z-index: 50;
    /* Super high z-index to be safe */
    padding: 0;
    transform: none;
    top: auto;
    pointer-events: none;
    /* Let clicks pass through container */
}

.prev-slide,
.next-slide {
    position: absolute;
    top: -350px;
    /* Middle of 700px height */
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 60;
    /* Higher than container */
    padding: 20px;
    /* Larger clickable area */
    height: 80px;
    display: flex;
    align-items: center;
    pointer-events: auto;
    /* Re-enable clicks */
    outline: none;
    /* Remove focus outline */
}

.prev-slide {
    left: 10px;
}

.next-slide {
    right: 10px;
}

/* Dots */
.slide-dots {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    pointer-events: auto;
    /* Re-enable for dots */
    z-index: 60;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #E91E63;
    /* Pink outline */
    cursor: pointer;
    background: transparent;
}

.dot.active {
    background: #E91E63;
}

@media (min-width: 1024px) {
    .slide {
        padding-top: 120px;
    }
}

/* Responsive */
/* Tablet Slideshow - Flow Layout (includes iPad Mini at 768px) */
@media (max-width: 1024px) and (min-width: 768px) {

    /* 1. Parent Container Flow */
    .hero-slideshow {
        height: auto !important;
        min-height: 800px;
        /* Increased height for tablet */
        background: #fff;
    }

    .slides {
        height: 100%;
        min-height: 800px;
    }

    /* 2. Slide Flow & Toggle mechanism */
    .slide {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: 100%;
        min-height: 800px;
        opacity: 1;
        display: none;
        flex-direction: column;
    }

    .slide.active {
        display: flex;
        z-index: 1;
    }

    /* 3. Inner Layout - Show 2 images side by side */
    .slide-grid-layout {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        height: 100%;
        min-height: 800px;
        padding: 0 15px;
        gap: 10px;
        box-sizing: border-box;
        align-items: flex-start;
        justify-content: center;
    }

    .slide-col {
        min-height: 0;
    }

    .text-col {
        order: 3;
        padding: 40px 30px 80px 30px;
        text-align: center;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 0 0 100%;
        width: 100%;
        box-sizing: border-box;
        margin-top: 0;
    }

    .image-col {
        order: 1;
        height: 450px;
        /* Increased height for tablet */
        min-height: 450px;
        max-height: 450px;
        width: calc((100% - 10px) / 2);
        flex: 0 0 calc((100% - 10px) / 2);
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        overflow: hidden;
        position: relative;
        align-items: center;
        justify-content: center;
    }

    .image-col img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        object-position: center;
        margin: 0;
        border-radius: 10px;
        display: block;
    }

    /* Ensure product-link-wrapper displays properly */
    .image-col .product-link-wrapper {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 10px;
        overflow: hidden;
        box-sizing: border-box;
        position: relative;
    }

    /* Ensure all image-cols are visible and properly sized */
    .slide-grid-layout>.image-col {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Hide third image-col if it exists */
    .slide-grid-layout>.image-col:nth-of-type(3) {
        display: none !important;
    }

    /* For slide 3 structure (image, text, image), show the image after text */
    .slide-grid-layout>.text-col~.image-col {
        display: flex !important;
    }

    /* 4. Controls Positioning */
    .custom-controls {
        position: absolute;
        bottom: 20px;
        left: 0;
        width: 100%;
        height: auto;
        margin: 0;
        z-index: 55;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .prev-slide,
    .next-slide {
        top: 225px;
        /* Center of 450px image */
        transform: translateY(-50%);
        padding: 10px;
        height: 50px;
        width: 50px;
        justify-content: center;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
    }

    .prev-slide {
        left: 15px;
    }

    .next-slide {
        right: 15px;
    }

    .slide-dots {
        margin-bottom: 0;
    }
}

/* Mobile Slideshow - Flow Layout to fix height issues */
@media (max-width: 767px) {

    /* 1. Parent Container Flow */
    .hero-slideshow {
        height: auto !important;
        min-height: 700px;
        /* Increased minimum height for mobile */
        background: #fff;
    }

    .slides {
        height: 100%;
        min-height: 700px;
    }

    /* 2. Slide Flow & Toggle mechanism */
    /* Switch from fade (absolute) to snap (display:none/flex) so height is calculated correctly */
    .slide {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: 100%;
        min-height: 700px;
        /* Increased minimum height */
        opacity: 1;
        /* Always visible if displayed */
        display: none;
        /* Hidden by default */
        flex-direction: column;
    }

    .slide.active {
        display: flex;
        /* Only active slide takes up space */
        z-index: 1;
    }

    /* 3. Inner Layout - Vertical arrangement with full height */
    .slide-grid-layout {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        height: 100%;
        min-height: 700px;
        padding-left: 10px;
        padding-right: 10px;
        gap: 10px;
        box-sizing: border-box;
    }

    .slide-col {
        width: 100%;
        flex: 1;
        min-height: 0;
    }

    .text-col {
        order: 2;
        padding: 40px 20px 80px 20px;
        /* Extra bottom padding for dots */
        text-align: center;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 0 0 100%;
        width: 100%;
        min-height: 300px;
        /* Minimum height for text content */
    }

    .image-col {
        order: 1;
        height: 350px;
        /* Fixed height for alignment */
        min-height: 350px;
        width: calc(50% - 5px);
        flex: 0 0 calc(50% - 5px);
        display: flex;
        flex-direction: column;
    }

    .slide-col .product-link-wrapper {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 5px !important;
        overflow: hidden;
        position: relative;
        width: 200px !important;

    }

    .image-col img {
        display: block;
        height: 100%;
        width: 100%;
        object-fit: cover !important;
        object-position: center;
        border-radius: 0;
    }

    /* Show all images */
    .image-col:first-child+.image-col {
        display: flex;
    }

    .slide-grid-layout>.image-col:last-child {
        display: flex;
    }

    /* 4. Controls Positioning */
    .custom-controls {
        position: absolute;
        /* Overlay on bottom of card */
        bottom: 10px;
        left: 0;
        width: 100%;
        height: auto;
        margin: 0;
        z-index: 55;
    }

    /* Move arrows to be on the image */
    .prev-slide,
    .next-slide {
        top: 200px;
        /* Center of 400px image */
        transform: translateY(-50%);
        padding: 10px;
        height: 50px;
        width: 50px;
        justify-content: center;
        background: rgba(255, 255, 255, 0.3);
        /* Slight contrast background */
        border-radius: 50%;
    }

    .prev-slide {
        left: 10px;
    }

    .next-slide {
        right: 10px;
    }

    .slide-dots {
        margin-bottom: 0;
    }
}

/* Community Section */
.section-community {
    padding: 60px 0;
    text-align: center;
    background: #fff;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Rough columns for the collage */
    grid-template-rows: auto auto;
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.community-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Specific Card Layouts based on image */
.tiktok-card {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    padding: 0;
    overflow: hidden;
    position: relative;
}

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

.tiktok-card .social-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card-mini {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.instagram-card {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

.twitter-card {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}

/* Styles for Social Cards */
.btn-pill,
.btn-pill-black,
.btn-pill-outline {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.btn-pill {
    background: #000;
    color: #fff;
}

.btn-pill-black {
    background: #000;
    color: #fff;
}

.btn-pill-outline {
    border: 1px solid #000;
    color: #000;
}

.insta-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.insta-profile {
    display: flex;
    gap: 10px;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFC0CB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

.insta-grid {
    display: flex;
    gap: 10px;
}

.insta-grid img {
    border-radius: 8px;
    flex: 1;
}

@media (max-width: 768px) {
    .community-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .tiktok-card,
    .product-card-mini,
    .instagram-card,
    .twitter-card {
        grid-column: auto;
        grid-row: auto;
    }

    .hero-slideshow {
        height: 600px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content h1 {
        font-size: 2rem;
    }
}

/* Utilities */
.margin-top-large {
    margin-top: 50px !important;
}

.bg-white {
    background-color: #fff !important;
}

.bg-cream {
    background-color: #FFF6E5 !important;
}

/* Section Divider */
.section-divider-container {
    width: 100%;
    background-color: transparent;
    /* Or match section bg */
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
    margin-top: -5px;
    /* Pull up slightly to overlap/connect */
    margin-bottom: -5px;
}

.section-divider {
    width: 100%;
    max-width: 1200px;
    /* Or full width */
    height: 10px;
    background: linear-gradient(90deg, #FFFFFF 0%, #E91E63 20%, #E91E63 80%, #FFFFFF 100%);
    opacity: 0.8;
    border-radius: 5px;
}

/* Ensure alternating contrast works well */
.section-testimonials.bg-white {
    background-color: #fff;
}

.padding-top-large {
    padding-top: 50px !important;
}

/* Ensure bestsellers has base structure if missing */
.section-bestsellers {
    padding-bottom: 80px;
}

/* ---------------------------------------------------------
   CUSTOM GLASSMORPHISM HEADER
--------------------------------------------------------- */
.custom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    /* Less transparent, more white per image */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    padding: 0;
}

/* Adjust page content to prevent hiding behind fixed header */
#page {
    padding-top: 30px;
    /* Header is ~120px tall on desktop */
}

.custom-header-wrapper {
    max-width: 100%;
    /* Full width as per image */
    margin: 0 auto;
    padding: 0 40px;
    /* Generous side padding */
}

/* Top Row */
.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 70px;
    /* Taller top row */
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
    /* More space between icons */
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    /* Smaller icons for sophistication */
    color: #000;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.icon-btn:hover {
    opacity: 1;
}

/* Specific Icon Tweaks to match thin look */
.fa-bars,
.fa-map-marker-alt,
.fa-search,
.fa-shopping-cart,
.fa-user {
    font-weight: 300;
    /* Try to use lighter weight if available or simulate */
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: #000;
    color: #fff;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: auto;
    white-space: nowrap;
    /* Prevent wrapping */
}

.header-center .site-branding {
    margin: 0;
}

.header-center h1.site-title {
    font-family: 'Arial Black', sans-serif;
    font-size: 1.5rem;
    /* Reduced size to prevent wrap */
    letter-spacing: -0.5px;
    /* Tighter tracking */
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}

.header-center img {
    max-height: 45px;
    transform: rotate(-3deg);
    width: auto;
}

/* Bottom Row */
.header-bottom-row {
    margin-top: 0;
    border-top: 1px solid #eee;
    padding: 15px 0;
    text-align: center;
    position: relative;
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Navigation Styling - Reset everything between wrapper and ul */
.main-navigation,
.primary-navigation,
.main-navigation div,
.primary-navigation div {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: flex !important;
    justify-content: center !important;
}

.primary-navigation ul.menu,
.primary-navigation ul.nav-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    /* Kill default padding */
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 40px;
    float: none !important;
    width: auto !important;
    /* Let it shrink fitting text */
}

.primary-navigation ul li {
    float: none !important;
    /* Override layout rules */
    display: inline-block;
}

.primary-navigation ul li a {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.5px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: block;
    /* Ensure hit area */
}

/* Mobile Menu Overlay Styles */
#mobile-menu-toggle {
    display: block;
    /* ALWAYS SHOW HAMBURGER as per design */
}

/* Hide hamburger and store locator on desktop */
@media (min-width: 901px) {

    #mobile-menu-toggle {
        display: none !important;
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-navigation ul {
    list-style: none;
    padding: 0;
}

.mobile-navigation ul li {
    margin-bottom: 20px;
    text-align: center;
}

.mobile-navigation ul li a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

/* Responsive Tweaks */
@media (max-width: 900px) {
    #page {
        padding-top: 30px !important;
        /* Header is ~60px tall on mobile */
    }

    .header-bottom-row {
        display: none !important;
        /* Hide ONLY the bottom row on actual mobile */
    }

    /* Hide all icons in the top row EXCEPT the hamburger */
    /* Hide Map Marker */
    .header-left .icon-btn:not(#mobile-menu-toggle) {
        display: none !important;
    }

    /* Hide entire right section (User, Search, Cart) */
    .header-right {
        display: none !important;
    }

    /* Style the hamburger to be standalone */
    .header-left {
        gap: 0;
    }

    /* Center the Logo since it's the only thing sharing space with the hamburger */
    .header-center {
        /* Ensure it stays perfectly centered */
        left: 50%;
        transform: translateX(-50%);
        width: auto;
    }

    .header-center h1.site-title {
        font-size: 1.2rem;
        /* Reasonable size for mobile */
    }

    .custom-header-wrapper {
        padding: 0 20px;
    }

    /* Mobile Menu Utility Links Styling */
    .mobile-utility-links {
        margin-top: 20px;
        border-top: 1px solid #ccc;
        /* Darker border to be sure */
        padding-top: 20px;
        display: flex !important;
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
        /* Flex center */
        width: 100%;
        color: #000;
        /* Force text color */
        visibility: visible !important;
        opacity: 1 !important;
    }

    .mobile-utility-links a {
        font-size: 1rem;
        color: #333 !important;
        /* Force link color */
        text-decoration: none;
        font-weight: 600;
        text-transform: uppercase;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Force Mobile Menu Items Center */
    .mobile-navigation,
    .mobile-navigation ul,
    .mobile-navigation li {
        width: 100%;
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mobile-navigation ul li {
        margin-bottom: 20px;
        width: 100%;
        display: block;
        /* Reset flex for LIs to behave as blocks in flow */
    }

    .mobile-navigation ul li a {
        display: inline-block;
        /* Center text block */
    }

    .header-top-row {
        height: 60px;
    }

    .header-center img {
        max-height: 30px;
    }
}

@media (max-width: 600px) {

    /* Hide secondary icons to prevent overlap on small screens */
    .header-left .fa-map-marker-alt,
    .header-right .fa-user,
    .header-right .fa-search {
        display: none !important;
    }

    /* Reduce spacing between huge icons */
    .header-left,
    .header-right {
        gap: 15px;
    }

    /* Shrink the main title so it fits */
    .header-center h1.site-title {
        font-size: 1.0rem;
        /* Significantly smaller for mobile */
    }

    /* Reduce main container padding */
    .custom-header-wrapper {
        padding: 0 15px;
    }
}

/* Custom Footer Styles */
.site-footer.custom-bakery-footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0;
    margin-top: 0;
}

.site-footer.custom-bakery-footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer.custom-bakery-footer a:hover {
    color: #d1d1d1;
    opacity: 1;
}

.site-footer.custom-bakery-footer .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
}

.footer-right-section {
    display: flex;
    gap: 100px;
}

.footer-social-icons {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

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

.footer-legal-links {
    font-size: 12px;
    color: #999;
    font-family: sans-serif;
    letter-spacing: 0.5px;
}

.footer-legal-links a {
    color: #999;
}

.footer-legal-links .sep {
    margin: 0 10px;
    color: #444;
}

.footer-menu-column {
    min-width: 160px;
}

.footer-heading {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    font-family: sans-serif;
}

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

.footer-menu-list li {
    margin-bottom: 14px;
    padding: 0;
}

.footer-menu-list li a {
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    font-family: sans-serif;
}

/* Ensure footer spans full width if needed */
.site-footer {
    background-color: #000 !important;
}

@media (max-width: 768px) {
    .site-footer.custom-bakery-footer .footer-container {
        flex-direction: column;
        gap: 50px;
    }

    .footer-right-section {
        flex-direction: column;
        gap: 40px;
        order: 1;
        /* Menus on top? Or bottom? Left as per standard or image flow. Usually socials on top in mobile too if present. Let's keep existing order */
        order: 0;
    }

    .footer-left-section {
        order: 1;
        min-height: auto;
    }

    .footer-social-icons {
        margin-bottom: 25px;
    }
}


.site-footer a:not(.button):not(.components-button) {
    color: white;
}


.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer .widget .widget-title,
.site-footer .widget .widgettitle {
    color: white;
}

/* Search Overlay Styles */
#search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 100000;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#search-overlay.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

body.search-active {
    overflow: hidden;
}

#search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #333;
    transition: transform 0.3s ease;
    z-index: 100001;
}

#search-close:hover {
    transform: rotate(90deg);
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    width: 100%;
}

.search-box {
    position: relative;
    margin-bottom: 40px;
}

.search-box .search-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #999;
}

#search-input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #eee;
    font-size: 2rem;
    padding: 15px 15px 15px 40px;
    background: transparent;
    font-family: 'Arial Black', sans-serif;
    color: #000;
    outline: none;
    transition: border-color 0.3s ease;
}

#search-input:focus {
    border-color: #000;
}

#search-input::placeholder {
    color: #ccc;
    font-weight: normal;
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
}

.search-results {
    margin-top: 30px;
}

.search-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-posts-list li {
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.search-posts-list li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 15px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.search-posts-list li a:hover {
    background: #f9f9f9;
}

.search-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
    background: #f1f1f1;
}

.search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-details h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: #000;
    font-family: 'Arial Black', sans-serif;
}

.search-price {
    display: block;
    color: #666;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.search-type {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.5px;
}

.view-all-results {
    text-align: center;
    margin-top: 30px;
}

.view-all-results a {
    display: inline-block;
    border: 2px solid #000;
    color: #000;
    padding: 10px 25px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-results a:hover {
    background: #000;
    color: #fff;
}

.no-results {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-top: 50px;
}

.search-loading {
    text-align: center;
    color: #999;
    font-style: italic;
}

@media (max-width: 768px) {
    .search-container {
        padding: 80px 20px;
    }

    #search-input {
        font-size: 1.5rem;
        margin-top: 40px !important;
    }

    #search-close {
        top: 20px;
        right: 20px;
    }
}

/* =========================================
   CUSTOM AUTHENTICATION PAGES (Login/Reg/LostPW)
   ========================================= */

/* Main Wrapper - Full Screen with Gradient Blur */
.custom-auth-wrapper {
    min-height: 100vh;
    /* Full viewport height to eliminate footer gap */
    width: 100vw;
    /* Full width */
    margin-left: calc(-50vw + 50%);
    /* Breakout of container */
    margin-right: calc(-50vw + 50%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #FAFAFA;
    overflow: hidden;
    padding: 180px 20px 40px 20px;
    /* Significant top padding for fixed header, bottom padding for breathing room */
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    box-sizing: border-box;
    margin-top: 0;
}

/* Hide default page headers when custom auth wrapper is present */
body.woocommerce-account:not(.logged-in) .entry-header,
body.woocommerce-account:not(.logged-in) .storefront-breadcrumb,
body.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-navigation,
body.woocommerce-lost-password .entry-header,
body.woocommerce-lost-password .storefront-breadcrumb,
body.woocommerce-reset-password .entry-header,
body.woocommerce-reset-password .storefront-breadcrumb {
    display: none !important;
}

/* Remove default padding for clean look */
body.woocommerce-account:not(.logged-in) .entry-content,
body.woocommerce-lost-password .entry-content,
body.woocommerce-reset-password .entry-content {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
}

/* Force removal of theme structure spacing on these pages */
body.woocommerce-account:not(.logged-in) .site-content,
body.woocommerce-account:not(.logged-in) .col-full,
body.woocommerce-account:not(.logged-in) #main,
body.woocommerce-lost-password .site-content,
body.woocommerce-lost-password .col-full,
body.woocommerce-lost-password #main,
body.woocommerce-reset-password .site-content,
body.woocommerce-reset-password .col-full,
body.woocommerce-reset-password #main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Ensure main container is full height on auth pages */
body.woocommerce-account:not(.logged-in) #main,
body.woocommerce-lost-password #main,
body.woocommerce-reset-password #main {
    height: 100vh !important;
}

/* Remove footer top margin if present */
body.woocommerce-account:not(.logged-in) .site-footer,
body.woocommerce-lost-password .site-footer,
body.woocommerce-reset-password .site-footer {
    margin-top: 0 !important;
}

/* Specific footer adjustment for auth pages */
body.woocommerce-account:not(.logged-in) .footer-right-section,
body.woocommerce-lost-password .footer-right-section,
body.woocommerce-reset-password .footer-right-section {
    margin-top: 190px;
}

/* Background Animated Gradient Blobs */
.auth-background-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    filter: blur(90px);
    mix-blend-mode: multiply;
    opacity: 0.7;
    animation: drift 12s infinite alternate ease-in-out;
    border-radius: 50%;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: #ffdde1;
    /* Soft Pink */
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: #d9e7ff;
    /* Soft Blue */
    animation-delay: -5s;
}

.shape-3 {
    top: 40%;
    left: 30%;
    width: 40vw;
    height: 40vw;
    background: #fff4d9;
    /* Soft Yellow */
    animation-duration: 20s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

/* Glassmorphism Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    z-index: 10;
    position: relative;
}

/* Typography & Headers */
.custom-auth-wrapper h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: -0.03em;
}

.auth-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Tabbed Navigation (Login/Register) */
.auth-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
    background: rgba(0, 0, 0, 0.03);
    padding: 5px;
    border-radius: 16px;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: #fff;
    color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.auth-tab:hover:not(.active) {
    color: #333;
}

/* Forms Visibility */
.auth-form-block {
    display: none;
    animation: fadeIn 0.4s ease;
}

.auth-form-block.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Form Styles */
.woocommerce-form-row {
    margin-bottom: 1.5rem !important;
}

.woocommerce-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
    letter-spacing: 0.02em;
}

.woocommerce-Input {
    width: 100%;
    padding: 14px 18px !important;
    border: 2px solid transparent !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 16px !important;
    font-size: 1rem !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

.woocommerce-Input:focus {
    outline: none !important;
    background: #fff !important;
    border-color: #000 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

/* Buttons */
.woocommerce-button,
.woocommerce-Button {
    width: 100%;
    display: block;
    padding: 16px !important;
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 16px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin-top: 1rem !important;
    transition: transform 0.2s, background-color 0.2s !important;
}

.woocommerce-button:hover,
.woocommerce-Button:hover {
    background: #333 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Additional Links (Lost Password, Remember Me) */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.form-actions a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
}

.form-actions a:hover {
    text-decoration: underline;
}

.login .form-submit-row {
    margin-bottom: 0 !important;
}

/* Lost Password Page Specific */
.woocommerce-ResetPassword {
    margin-top: 2rem;
}

.auth-footer-link {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.auth-footer-link a {
    font-weight: 600;
    color: #000;
}


/* Switch Link (Login/Register) */
.auth-switch-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.auth-switch-link a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    margin-left: 5px;
    transition: all 0.2s ease;
}

.auth-switch-link a:hover {
    color: #E91E63;
    text-decoration: underline;
}

/* Responsive Adjustments */

@media (max-width: 768px) {
    .glass-panel {
        padding: 2rem;
        max-width: 90%;
    }

    .shape-1,
    .shape-2 {
        width: 80vw;
        height: 80vw;
    }

    .custom-auth-wrapper h2 {
        font-size: 1.75rem;
    }
}

/* =========================================
   My Account Dashboard Redesign
   ========================================= */

/* 1. Global Layout for Account Page (Elegant & Minimalist) */
.woocommerce-account.logged-in .site-content {
    background-color: #f7f7f7;
    /* Soft soothing gray */
}

.woocommerce-account.logged-in .col-full {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* Flex Container */
.woocommerce-account.logged-in .woocommerce {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    /* Spacious gap */
}

/* Sidebar Navigation */
.woocommerce-MyAccount-navigation {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
    /* Stays visible on scroll */
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
    border: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 24px;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: #fff;
    color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: #000;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 3. Main Content Card */
.woocommerce-MyAccount-content {
    flex: 1;
    background: #fff;
    border-radius: 24px;
    /* Modern large radius */
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    /* Soft floating shadow */
    border: 1px solid rgba(0, 0, 0, 0.02);
    min-height: 600px;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    position: relative;
    overflow: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Typography styles inside content */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-family: 'Arial Black', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    color: #111;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

.woocommerce-MyAccount-content p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.woocommerce-MyAccount-content a {
    color: #000;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}

.woocommerce-MyAccount-content a:hover {
    color: #555;
}

/* 4. Elegant Tables */
.woocommerce table.shop_table {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    /* For rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    width: 100%;
    margin-bottom: 3rem;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    table-layout: fixed;
    /* Better for sizing columns */
}

/* Ensure mobile responsiveness for tables */
@media (max-width: 768px) {
    .woocommerce table.shop_table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.woocommerce table.shop_table th {
    background: #fafafa;
    padding: 24px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #999;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.woocommerce table.shop_table td {
    background: #fff;
    padding: 24px;
    border-bottom: 1px solid #f5f5f5;
    color: #333;
    font-size: 0.95rem;
    vertical-align: middle;
    text-align: left;
    transition: background-color 0.2s ease;
}

.woocommerce table.shop_table tr:hover td {
    background-color: #fcfcfc;
}

.woocommerce table.shop_table tr:last-child td {
    border-bottom: none;
}

/* Order Number Link */
.woocommerce table.shop_table td.woocommerce-orders-table__cell-order-number a {
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    color: #000;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.woocommerce table.shop_table td.woocommerce-orders-table__cell-order-number a:hover {
    border-color: #000;
}

/* Status Badges */
.woocommerce table.shop_table td.woocommerce-orders-table__cell-order-status {
    font-weight: 700;
    text-transform: capitalize;
    font-size: 0.85rem;
}

/* Status Colors - purely text color based or small dot */
.woocommerce table.shop_table td.woocommerce-orders-table__cell-order-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: #ddd;
    /* default */
}

/* Specific Status Colors */
/* Completed - Green */
.order-status-completed .woocommerce-orders-table__cell-order-status::before {
    background-color: #4CAF50;
}

.order-status-completed .woocommerce-orders-table__cell-order-status {
    color: #2E7D32;
}

/* Processing - Blue/Orange */
.order-status-processing .woocommerce-orders-table__cell-order-status::before {
    background-color: #2196F3;
}

.order-status-processing .woocommerce-orders-table__cell-order-status {
    color: #1565C0;
}

/* On Hold - Orange */
.order-status-on-hold .woocommerce-orders-table__cell-order-status::before {
    background-color: #FF9800;
}

.order-status-on-hold .woocommerce-orders-table__cell-order-status {
    color: #EF6C00;
}

/* Cancelled/Failed - Red */
.order-status-cancelled .woocommerce-orders-table__cell-order-status::before,
.order-status-failed .woocommerce-orders-table__cell-order-status::before {
    background-color: #F44336;
}

.order-status-cancelled .woocommerce-orders-table__cell-order-status,
.order-status-failed .woocommerce-orders-table__cell-order-status {
    color: #C62828;
}

/* Action Buttons (View) */
.woocommerce table.shop_table .woocommerce-button.button {
    background: #fff;
    color: #000;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    display: inline-block;
    border: 1px solid #eee;
}

.woocommerce-button.button:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* 5. Addresses Grid */
.u-columns.woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.woocommerce-Address {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.woocommerce-Address:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #e0e0e0;
}

.woocommerce-Address-title h3 {
    font-size: 1.4rem;
    border-bottom: none;
    margin-bottom: 15px;
    padding-bottom: 0;
}

.woocommerce-Address address {
    font-style: normal;
    color: #666;
    line-height: 1.8;
}

.edit-link {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* 6. Form Inputs Styling */
/* 6. Form Inputs Styling (Apple-Style) */
.woocommerce-form-row {
    margin-bottom: 24px;
}

.woocommerce-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    color: #1d1d1f;
    /* Apple dark grey */
    letter-spacing: -0.01em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.woocommerce-form-row label .required {
    color: #e30000;
    /* Apple red for errors/required */
    text-decoration: none;
    border: none;
}

/* =========================================================
   NUCLEAR OPTION: High Specificity Apple Input Styles
   ========================================================= */

/* Target every possible input types with Body ID scoping */
body.woocommerce-account .woocommerce form .form-row input.input-text,
body.woocommerce-account .woocommerce form .form-row textarea,
body.woocommerce-account .woocommerce form .form-row select,
body.woocommerce-account .woocommerce form .form-row .select2-container .select2-selection--single,
body.woocommerce-account .woocommerce form .form-row .select2-selection,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    padding: 0 16px !important;
    background-color: #ffffff !important;
    /* Pure White */
    background-image: none !important;
    /* Remove gradients */
    border: 1px solid #d2d2d7 !important;
    /* Apple Neutral Grey */
    border-radius: 12px !important;
    /* Softer curve */
    font-size: 17px !important;
    /* Readable size */
    color: #1d1d1f !important;
    /* Apple Dark Text */
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    height: 50px !important;
    /* Slightly taller */
    min-height: 50px !important;
    line-height: normal !important;
    box-shadow: none !important;
    /* Kill inset shadows */
    outline: none !important;
    margin: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

/* Specific Focus State - The "Apple Glow" */
body.woocommerce-account .woocommerce form .form-row input.input-text:focus,
body.woocommerce-account .woocommerce form .form-row textarea:focus,
body.woocommerce-account .woocommerce form .form-row select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus {
    background-color: #ffffff !important;
    border-color: #0071e3 !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12) !important;
    /* Distinct Apple Blue Glow */
}

/* =========================================================
   PASSWORD SECTION STYLING - Edit Account Page
   ========================================================= */

/* Password Section Container */
body.woocommerce-account .woocommerce form .woocommerce-form-row--password,
body.woocommerce-account .woocommerce form .form-row.password-field-wrapper,
body.woocommerce-account .woocommerce form .password-change-section {
    position: relative;
    margin-bottom: 24px !important;
}

/* Password Input Wrapper - For fields with visibility toggle */
body.woocommerce-account .woocommerce form .form-row .password-input-wrapper,
body.woocommerce-account .woocommerce form .form-row .password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Password Input Fields - Ensure proper styling */
body.woocommerce-account .woocommerce form input[type="password"],
body.woocommerce-account .woocommerce form input#password_current,
body.woocommerce-account .woocommerce form input#password_1,
body.woocommerce-account .woocommerce form input#password_2,
body.woocommerce-account .woocommerce form input[name="password_current"],
body.woocommerce-account .woocommerce form input[name="password_1"],
body.woocommerce-account .woocommerce form input[name="password_2"] {
    padding: 0 50px 0 16px !important;
    /* Extra right padding for toggle button */
    background-color: #ffffff !important;
    border: 1px solid #d2d2d7 !important;
    border-radius: 12px !important;
    font-size: 17px !important;
    color: #1d1d1f !important;
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Password Input Focus State */
body.woocommerce-account .woocommerce form input[type="password"]:focus {
    border-color: #0071e3 !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12) !important;
    outline: none !important;
    background-color: #ffffff !important;
}

/* Password Visibility Toggle Button */
body.woocommerce-account .woocommerce form .password-toggle,
body.woocommerce-account .woocommerce form .password-toggle-btn,
body.woocommerce-account .woocommerce form .show-password,
body.woocommerce-account .woocommerce form button[type="button"].password-toggle,
body.woocommerce-account .woocommerce form .woocommerce-form-row button[type="button"],
body.woocommerce-account .woocommerce form .password-input-wrapper button,
body.woocommerce-account .woocommerce form .password-wrapper button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
    padding: 8px !important;
    cursor: pointer;
    color: #86868b !important;
    font-size: 18px !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    z-index: 10;
    box-shadow: none !important;
    outline: none !important;
}

/* Password Toggle Button Hover */
body.woocommerce-account .woocommerce form .password-toggle:hover,
body.woocommerce-account .woocommerce form .password-toggle-btn:hover,
body.woocommerce-account .woocommerce form .show-password:hover,
body.woocommerce-account .woocommerce form button[type="button"].password-toggle:hover,
body.woocommerce-account .woocommerce form .password-input-wrapper button:hover,
body.woocommerce-account .woocommerce form .password-wrapper button:hover {
    background-color: #f5f5f7 !important;
    color: #1d1d1f !important;
}

/* Password Toggle Button Active/Focus */
body.woocommerce-account .woocommerce form .password-toggle:active,
body.woocommerce-account .woocommerce form .password-toggle-btn:active,
body.woocommerce-account .woocommerce form .show-password:active,
body.woocommerce-account .woocommerce form button[type="button"].password-toggle:active,
body.woocommerce-account .woocommerce form .password-input-wrapper button:active,
body.woocommerce-account .woocommerce form .password-wrapper button:active {
    background-color: #e8e8ed !important;
    transform: translateY(-50%) scale(0.95) !important;
}

/* Password Section Title/Heading */
body.woocommerce-account .woocommerce form fieldset,
body.woocommerce-account .woocommerce form legend {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    letter-spacing: -0.02em !important;
    background-color: transparent !important;
    margin-top: 20px !important;
}

/* Password Change Section Spacing */
body.woocommerce-account .woocommerce form .woocommerce-form-row--password,
body.woocommerce-account .woocommerce form fieldset .woocommerce-form-row {
    margin-bottom: 24px !important;
}

/* Ensure password fields don't have background issues */
body.woocommerce-account .woocommerce form input[type="password"]::-webkit-credentials-auto-fill-button {
    display: none !important;
}

/* Password field when visible (type="text" after toggle) */
body.woocommerce-account .woocommerce form input[type="text"][id*="password"],
body.woocommerce-account .woocommerce form input[type="text"][name*="password"] {
    padding: 0 50px 0 16px !important;
    background-color: #ffffff !important;
    border: 1px solid #d2d2d7 !important;
    border-radius: 12px !important;
    font-size: 17px !important;
    color: #1d1d1f !important;
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
}

/* Password Labels */
body.woocommerce-account .woocommerce form label[for*="password"],
body.woocommerce-account .woocommerce form .woocommerce-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Special styling for password section description/help text */
body.woocommerce-account .woocommerce form .password-change-description,
body.woocommerce-account .woocommerce form .woocommerce-form-row--password .description {
    font-size: 0.8rem;
    color: #86868b;
    margin-top: 6px;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Additional selectors for password visibility toggle (common plugins/scripts) */
body.woocommerce-account .woocommerce form .input-group,
body.woocommerce-account .woocommerce form .input-group-btn,
body.woocommerce-account .woocommerce form .password-eye,
body.woocommerce-account .woocommerce form .toggle-password,
body.woocommerce-account .woocommerce form [class*="password-toggle"],
body.woocommerce-account .woocommerce form [class*="show-password"],
body.woocommerce-account .woocommerce form .fa-eye,
body.woocommerce-account .woocommerce form .fa-eye-slash {
    color: #86868b !important;
    cursor: pointer;
    transition: color 0.2s ease;
}

body.woocommerce-account .woocommerce form .fa-eye:hover,
body.woocommerce-account .woocommerce form .fa-eye-slash:hover,
body.woocommerce-account .woocommerce form [class*="password-toggle"]:hover {
    color: #1d1d1f !important;
}

/* Ensure password input fields work well with any wrapper structure */
body.woocommerce-account .woocommerce form .form-row input[type="password"],
body.woocommerce-account .woocommerce form .form-row input[type="text"][name*="password"],
body.woocommerce-account .woocommerce form .form-row input[type="text"][id*="password"] {
    padding-right: 50px !important;
}

body.woocommerce-account .woocommerce form .form-row,
body.woocommerce-account .woocommerce form .form-row,
body.woocommerce-account .woocommerce form .form-row {
    margin-bottom: 20px !important;
}

/* Fix for password fields that might be inside divs with relative positioning */
body.woocommerce-account .woocommerce form .form-row {
    position: relative;
}

/* Ensure consistent spacing between password fields */
body.woocommerce-account .woocommerce form .woocommerce-form-row--wide.form-row--password {
    margin-bottom: 24px !important;
}

/* Hover State */
body.woocommerce-account .woocommerce form .form-row input.input-text:hover,
textarea:hover {
    border-color: #888 !important;
}

/* Select2 Specific Overrides - The Tricky Dropdown */
body .select2-container .select2-selection--single {
    height: 50px !important;
    /* Match input height */
    border: 1px solid #d2d2d7 !important;
    border-radius: 12px !important;
    background-color: #fff !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: none !important;
}

body .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 50px !important;
    color: #1d1d1f !important;
    padding-left: 16px !important;
    padding-right: 30px !important;
    font-size: 17px !important;
}

body .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    width: 30px !important;
    top: 1px !important;
    right: 1px !important;
}

/* Open State for Select2 */
body .select2-container--open .select2-selection--single {
    border-color: #0071e3 !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12) !important;
}

/* Placeholders */
::placeholder {
    color: #86868b !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}

/* 7. Form Layout Fixes (Modern Flexbox) */
.woocommerce-address-fields__field-wrapper,
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 24px;
}

.woocommerce-form-row {
    width: 100%;
    float: none !important;
    margin: 0 !important;
    /* Let gap handle spacing */
}

/* Half width adjustments */
.woocommerce-form-row.form-row-first,
.woocommerce-form-row.form-row-last {
    width: calc(50% - 10px) !important;
}

/* Fix Select2 Arrow to be elegant */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #86868b transparent transparent transparent !important;
    border-width: 5px 4px 0 4px !important;
    top: 50% !important;
    margin-left: -4px !important;
    margin-top: -2px !important;
}

@media (max-width: 768px) {

    .woocommerce-form-row.form-row-first,
    .woocommerce-form-row.form-row-last {
        width: 100% !important;
    }
}

/* Save Button */
.woocommerce-Button.button,
button[name="save_account_details"],
button[name="save_address"] {
    background: #000 !important;
    color: #fff !important;
    padding: 18px 50px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem !important;
    letter-spacing: 1px;
    margin-top: 20px;
    display: inline-block;
}

.woocommerce-Button.button:hover,
button[name="save_account_details"]:hover,
button[name="save_address"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #222 !important;
}

/* Hide Default Storefront Borders/Backgrounds if interfering */
.col-full {
    background: transparent !important;
    box-shadow: none !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .woocommerce-account.logged-in .woocommerce {
        flex-direction: column;
        /* Already column, but ensures it */
        gap: 40px;
    }

    .woocommerce-MyAccount-content {
        padding: 30px;
        border-radius: 16px;
        order: 1;
        /* Move content to top */

        /* New: Center Content Horizontally and Vertically */
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100%;

        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 40vh;
        /* Ensure vertical centering has space */
    }

    .woocommerce-MyAccount-navigation {
        width: 100%;
        position: relative;
        top: 0;
        overflow-x: visible;
        padding-bottom: 0;
        order: 2;
        /* Move navigation to bottom */
    }

    .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
        gap: 15px;
        /* Increased gap for better spacing */
        min-width: auto;

        /* Purple Vertical Line on Parent */
        border-left: 3px solid #6f42c1 !important;
        /* Purple color */
        padding-left: 25px !important;
        /* Space between line and items */
        margin-left: 10px;
    }

    .woocommerce-MyAccount-navigation ul li,
    .hentry .entry-content .woocommerce-MyAccount-navigation ul li {
        width: 100%;
        border-bottom: none !important;
        margin: 0 !important;
        /* Reset margin */
    }

    .woocommerce-MyAccount-navigation ul li a,
    .hentry .entry-content .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link a {
        padding: 16px 20px !important;
        white-space: normal;
        background: #000 !important;
        /* Black background */
        color: #fff !important;
        /* White text */
        border: none !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: flex;
        /* alignment */
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 12px;
        font-weight: 600;
        transition: all 0.2s ease;
        width: 100% !important;
        /* Equal width */
        min-height: 54px;
        /* Ensure equal visual height */
        border-top: none !important;
    }

    /* Ensure ALL icons are white */
    .woocommerce-MyAccount-navigation ul li a::before,
    .hentry .entry-content .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link a::before,
    .woocommerce-MyAccount-navigation ul li a i,
    .woocommerce-MyAccount-navigation ul li a span {
        color: #fff !important;
        opacity: 1 !important;
        /* Ensure no transparency */
        -webkit-text-fill-color: #fff !important;
        /* Force fill */
    }

    /* Ensure Order "View" buttons are visible and styled nicely on mobile */
    .woocommerce-orders-table__cell-order-actions .button,
    .woocommerce-orders-table__cell-order-actions .view {
        background: #000 !important;
        color: #fff !important;
        padding: 10px 20px !important;
        border-radius: 20px !important;
        text-transform: uppercase;
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        display: inline-block;
        text-decoration: none;
    }

    .woocommerce-MyAccount-navigation ul li a:active {
        transform: scale(0.98);
    }

    .woocommerce-MyAccount-navigation ul li.is-active a {
        background: #000;
        border-color: #000;
        color: #fff;
    }

    .woocommerce table.shop_table th,
    .woocommerce table.shop_table td {
        padding: 15px;
    }
}

.storefront-breadcrumb {
    display: none;
}

.entry-title {
    display: none;
}

.hentry .entry-content .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link a {
    padding: 14px !important;
}

/* 8. Empty States (High Specificity Overrides) */

/* Base Reset for Info/Message/Error Boxes */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    background-color: #FAFAFA !important;
    color: #333 !important;
    border: none !important;
    /* Kill the blue/green border */
    border-radius: 12px !important;
    padding: 20px 30px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    font-weight: 500 !important;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Kill default before/after icons completely */
.woocommerce-info::before,
.woocommerce-info::after,
.woocommerce-message::before,
.woocommerce-message::after,
.woocommerce-error::before,
.woocommerce-error::after {
    display: none !important;
    content: none !important;
}

/* Specific "No Orders" Empty State Styling */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 80px 40px !important;
    background: #fff !important;
    border: 1px solid #f1f1f1 !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03) !important;
    margin-top: 20px;
    gap: 25px !important;
}

/* Custom Icon for No Orders (Pure CSS Bag) */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before {
    display: block !important;
    content: '' !important;
    width: 60px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'%3E%3C/path%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.15;
    /* Subtle and elegant */
    margin-bottom: 10px;
}

/* The "No order has been made yet" text */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
    font-size: 1.25rem !important;
    color: #111 !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* The "Browse Products" Button */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button {
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background-color: #000 !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    padding: 16px 36px !important;
    border-radius: 50px !important;
    margin-top: 15px !important;
    text-transform: none !important;
    /* Case sensitive for Apple vibe */
    letter-spacing: 0.3px !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    width: auto !important;
    /* Prevent full width */
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button:hover {
    transform: scale(1.02) translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    background-color: #222 !important;
}

/* Add an icon arrow to the button text via pseudo if text content allows, 
   but usually text is fixed in PHP. We'll trust the button style alone is enough. */

@media (max-width: 992px) {

    /* Mobile: Helper Text Center */
    .woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
        text-align: center !important;
        justify-content: center !important;
    }

    /* Mobile: Center Info Icon */
    .woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before {
        display: block !important;
        margin-left: 55px;
        width: 50px;
        /* Ensure it behaves as a block to accept margins */
    }

    /* Mobile: Adjust Button Dimensions & Center */
    .woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button {
        width: 100% !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        min-height: 44px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: flex !important;
        border-radius: 10px !important;
        /* Ensure flex for internal centering */
    }
}

/* ---------------------------------------------------------
   9. ADDRESSES / EDIT ADDRESS PAGE (Apple Style)
   --------------------------------------------------------- */

/* Container Layout */
.woocommerce-account .woocommerce-Addresses,
.woocommerce-account .u-columns.woocommerce-Addresses,
.woocommerce-account .col2-set.addresses {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    margin-top: 40px !important;
    width: 100% !important;
    float: none !important;
}

/* Individual Address Card (Flex Container) */
.woocommerce-account .woocommerce-Address,
.woocommerce-account .col-1.address,
.woocommerce-account .col-2.address {
    float: none !important;
    width: 100% !important;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 32px;
    padding: 40px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    /* IMPORTANT for reordering children */
    flex-direction: column;
    min-height: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.woocommerce-account .woocommerce-Address:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: #d1d1d1;
}

/* Unwrap the Header so we can reorder the Edit button independently */
.woocommerce-account .woocommerce-Address-title {
    display: contents !important;
    /* This makes h3 and .edit direct children of the flex card */
}

/* 1. Title (Top) */
.woocommerce-account .woocommerce-Address-title h3 {
    order: 1;
    font-size: 3rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    color: #000;
    margin-bottom: 20px !important;
    letter-spacing: -1px;
    text-transform: capitalize !important;
    width: 100%;
    align-self: flex-start;
    /* Keep title left aligned */
}

/* 2. Address Content (Middle) */
.woocommerce-account .woocommerce-Address address {
    order: 2;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #666;
    font-style: normal;
    line-height: 1.6;
    flex-grow: 1;
    /* Pushes content to fill space */
}

/* If address is empty text */
.woocommerce-account .woocommerce-Address address:empty::before {
    content: "You have not set up this type of address yet.";
    color: #888;
}

/* 3. Edit Button (Bottom & Centered) */
.woocommerce-account .woocommerce-Address-title .edit {
    order: 3;
    display: inline-flex !important;
    /* Use inline-flex for better centering */
    align-self: center !important;
    align-items: center !important;
    justify-content: center !important;

    /* Button Aesthetics */
    background: #000 !important;
    color: #fff !important;
    font-size: 14px !important;
    /* Force explicit size in px */
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    padding: 16px 40px !important;
    border-radius: 50px !important;
    letter-spacing: 1px !important;
    line-height: normal !important;

    /* RESET: Ensure no icon or hidden text from previous steps */
    width: auto !important;
    height: auto !important;
    min-width: 150px !important;
    /* Ensure min width for presence */
    background-image: none !important;
    /* Kill the SVG background */
    border: none !important;
    opacity: 1 !important;
    text-indent: 0 !important;
    /* Crucial if text was hidden via indent */
    margin-top: auto;
    transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-Address-title .edit:hover {
    background: #333 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    color: #fff !important;
}

/* Hide any internal icons if they exist (SVG/I/FontAwesome) */
.woocommerce-account .woocommerce-Address-title .edit i,
.woocommerce-account .woocommerce-Address-title .edit svg,
.woocommerce-account .woocommerce-Address-title .edit::before,
.woocommerce-account .woocommerce-Address-title .edit::after {
    display: none !important;
    content: none !important;
}

/* Intro Text */
p.myaccount_address {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 600px;
}

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

    .woocommerce-account .woocommerce-Addresses,
    .woocommerce-account .u-columns.woocommerce-Addresses,
    .woocommerce-account .col2-set.addresses {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .woocommerce-account .woocommerce-Address-title .edit {
        border-radius: 10px !important;
    }

    .hentry .entry-content .woocommerce-MyAccount-navigation ul {
        border-top: none !important;
    }
}

/* Product Link Wrapper for Homepage Images */
.product-link-wrapper {
    display: block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-link-wrapper img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    width: 100%;
}

.product-link-wrapper:hover img {
    transform: scale(1.05);
    /* Elegant zoom */
}

/* Specific overrides for Slide Images to maintain layout */
.slide-col .product-link-wrapper {
    height: 520px;
    margin: 35px 0;
    border-radius: 20px;
    border-radius: 20px;
    /* Duplicate? fix in next turn if needed, but harmless */
    overflow: hidden;
}

.slide-col .product-link-wrapper img {
    margin: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
}

/* Specific overrides for Product Grid Images */
.product-image .product-link-wrapper {
    width: 100%;
    height: 100%;
}

/* =========================================
   MILK BAR STYLE PRODUCT PAGE
   ========================================= */

/* Main Product Page Container */
.milkbar-product-page {
    background: #ffffff;
    min-height: 100vh;
}

.milkbar-product-page .storefront-breadcrumb {
    display: none;
}

.milkbar-product-page .col-full {
    max-width: 100%;
    padding: 0;
}

.milkbar-product-page .hentry {
    margin: 0;
    padding: 0;
}

/* Single Product Container */
.milkbar-single-product {
    padding: 0;
    margin: 0;
    background: transparent;
}

.milkbar-product-container {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 60px;
    align-items: start;
    padding: 40px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Product Gallery Section */
.milkbar-product-gallery {
    display: flex;
    gap: 15px;
    position: sticky;
    top: 100px;
}

/* Vertical Thumbnails */
.milkbar-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 70px;
    flex-shrink: 0;
}

.milkbar-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    background: #F5EDE4;
}

.milkbar-thumb:hover,
.milkbar-thumb.active {
    border-color: #1d1d1f;
}

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

.milkbar-video-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E91E8C;
}

.milkbar-video-icon {
    width: 30px;
    height: 30px;
    color: #fff;
}

.milkbar-video-icon svg {
    width: 100%;
    height: 100%;
}

/* Main Image Slider */
.milkbar-main-image {
    flex: 1;
    position: relative;
}

.milkbar-image-wrapper {
    position: relative;
    background: #F5EDE4;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.milkbar-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.milkbar-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.milkbar-slide.active {
    opacity: 1;
}

.milkbar-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Navigation Arrows - Pink/Magenta */
.milkbar-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E91E8C;
    transition: all 0.2s ease;
}

.milkbar-nav-arrow:hover {
    color: #C4177A;
}

.milkbar-nav-arrow svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.milkbar-nav-prev {
    left: 10px;
}

.milkbar-nav-next {
    right: 10px;
}

/* Image Counter */
.milkbar-image-counter {
    text-align: right;
    padding: 15px 0;
    font-size: 0.85rem;
    color: #86868b;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

/* Product Summary Section */
.milkbar-product-summary {
    padding: 0 20px 0 0;
}

/* Hide default WooCommerce elements we're replacing */
.milkbar-product-summary .woocommerce-product-gallery,
.milkbar-product-summary .product_title,
.milkbar-product-summary .woocommerce-product-rating,
.milkbar-product-summary .price,
.milkbar-product-summary .woocommerce-product-details__short-description,
.milkbar-product-summary .product_meta {
    display: none !important;
}

/* Product Title */
.milkbar-product-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin: 0 0 12px 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Rating Section */
.milkbar-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.milkbar-stars {
    font-size: 1rem;
    letter-spacing: 2px;
}

.milkbar-stars .star {
    color: #1d1d1f;
}

.milkbar-stars .star.empty {
    color: #d2d2d7;
}

.milkbar-stars .star.half {
    background: linear-gradient(90deg, #1d1d1f 50%, #d2d2d7 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.milkbar-review-count {
    font-size: 0.9rem;
    color: #86868b;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.milkbar-review-count:hover {
    color: #1d1d1f;
}

/* Description */
.milkbar-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #1d1d1f;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.milkbar-description p {
    margin: 0 0 10px 0;
}

/* Serving Size */
.milkbar-serving-size {
    font-size: 0.9rem;
    color: #1d1d1f;
    margin-bottom: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

/* Feature Icons */
.milkbar-features {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 25px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.milkbar-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.milkbar-feature-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
}

.milkbar-feature-icon svg {
    width: 100%;
    height: 100%;
}

.milkbar-feature span {
    font-size: 0.8rem;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    font-weight: 500;
}

/* Upgrade Option */
.milkbar-upgrade {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.milkbar-upgrade:hover {
    border-color: #1d1d1f;
}

.milkbar-upgrade.active {
    border-color: #1d1d1f;
    background: #fafafa;
}

.milkbar-upgrade-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.milkbar-upgrade-badge {
    font-size: 1rem;
    color: #E91E8C;
}

.milkbar-upgrade-text {
    font-size: 0.9rem;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.milkbar-upgrade-text strong {
    font-weight: 600;
}

.milkbar-upgrade-toggle {
    width: 44px;
    height: 24px;
    background: #e5e5e5;
    border-radius: 12px;
    position: relative;
    transition: background 0.3s ease;
}

.milkbar-upgrade.active .milkbar-upgrade-toggle {
    background: #1d1d1f;
}

.milkbar-toggle-circle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.milkbar-upgrade.active .milkbar-toggle-circle {
    transform: translateX(20px);
}

/* Add to Cart Section */
.milkbar-add-to-cart {
    margin-bottom: 15px;
}

.milkbar-add-to-cart form.cart {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.milkbar-add-to-cart .quantity {
    display: none;
}

.milkbar-add-to-cart .single_add_to_cart_button {
    width: 100%;
    height: 54px;
    background: #1d1d1f;
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    text-transform: uppercase;
}

.milkbar-add-to-cart .single_add_to_cart_button:hover {
    background: #333333;
}

/* Bundle Text */
.milkbar-bundle-text {
    font-size: 0.95rem;
    color: #1d1d1f;
    margin-bottom: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

/* Accordion Sections */
.milkbar-accordion {
    border-top: 1px solid #e5e5e5;
}

.milkbar-accordion-item {
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    transition: background 0.2s ease;
}

.milkbar-accordion-item:hover {
    background: #fafafa;
}

.milkbar-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 0.95rem;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    font-weight: 400;
}

.milkbar-accordion-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 15px;
}

.milkbar-mini-stars {
    font-size: 0.85rem;
    color: #1d1d1f;
    letter-spacing: 1px;
}

.milkbar-review-num {
    font-size: 0.85rem;
    color: #86868b;
}

.milkbar-accordion-arrow {
    width: 16px;
    height: 16px;
    color: #86868b;
    flex-shrink: 0;
}

/* Promotional Banner */
.milkbar-promo-banner {
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, #E91E8C 0%, #C4177A 100%);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 30px;
    color: #fff;
}

.milkbar-promo-content {
    flex: 1;
    padding: 25px;
}

.milkbar-promo-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    display: block;
    margin-bottom: 8px;
}

.milkbar-promo-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 15px 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.milkbar-promo-link {
    font-size: 0.85rem;
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
}

.milkbar-promo-link:hover {
    color: #fff;
    opacity: 0.8;
}

.milkbar-promo-image {
    width: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.milkbar-promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sticky Add to Cart Bar */
.milkbar-sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 12px 30px;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.milkbar-sticky-cart.visible {
    transform: translateY(0);
}

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

.milkbar-sticky-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.milkbar-sticky-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    background: #F5EDE4;
}

.milkbar-sticky-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.milkbar-sticky-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.milkbar-sticky-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.milkbar-sticky-price {
    font-size: 0.85rem;
    color: #86868b;
}

.milkbar-sticky-button {
    height: 44px;
    padding: 0 30px;
    background: #1d1d1f;
    color: #fff;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.milkbar-sticky-button:hover {
    background: #333;
}

/* Modal Styles */
.milkbar-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.milkbar-modal.active {
    opacity: 1;
    visibility: visible;
}

.milkbar-modal-content {
    background: #fff;
    width: 100%;
    max-width: 500px;
    height: 100%;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.milkbar-modal.active .milkbar-modal-content {
    transform: translateX(0);
}

.milkbar-modal-large {
    max-width: 600px;
}

.milkbar-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #86868b;
    transition: color 0.2s ease;
}

.milkbar-modal-close:hover {
    color: #1d1d1f;
}

.milkbar-modal-close svg {
    width: 24px;
    height: 24px;
}

.milkbar-modal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 25px 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.milkbar-modal-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 20px 0 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.milkbar-modal-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.milkbar-modal-body p {
    margin: 0 0 15px 0;
}

/* Reviews Modal Specific */
.milkbar-reviews-summary {
    display: flex;
    gap: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.milkbar-reviews-score {
    text-align: center;
}

.milkbar-reviews-score .score-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    display: block;
}

.milkbar-reviews-score .score-stars {
    font-size: 1.2rem;
    color: #1d1d1f;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.milkbar-reviews-score .score-based {
    font-size: 0.75rem;
    color: #86868b;
}

.milkbar-reviews-bars {
    flex: 1;
}

.reviews-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 0.8rem;
    color: #1d1d1f;
}

.reviews-bar .bar {
    flex: 1;
    height: 8px;
    background: #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.reviews-bar .bar-fill {
    height: 100%;
    background: #1d1d1f;
    border-radius: 4px;
}

.milkbar-reviews-recommend {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.milkbar-reviews-recommend .recommend-percent {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    display: block;
    margin-bottom: 5px;
}

.milkbar-reviews-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.milkbar-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #1d1d1f;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.milkbar-filter-btn:hover {
    background: #f5f5f5;
}

.milkbar-write-review-btn {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #1d1d1f;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.milkbar-write-review-btn:hover {
    background: #1d1d1f;
    color: #fff;
}

/* Hide default WooCommerce tabs */
.milkbar-product-page .woocommerce-tabs {
    display: none !important;
}

/* Related Products */
.milkbar-product-page .related.products {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px;
    border-top: 1px solid #e5e5e5;
}

.milkbar-product-page .related.products h2 {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin: 0 0 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

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

    .milkbar-product-gallery {
        position: relative;
        top: 0;
    }

    .milkbar-product-summary {
        padding: 0;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .milkbar-product-page {
        padding-top: 60px;
    }

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

    .milkbar-product-gallery {
        flex-direction: column-reverse;
    }

    .milkbar-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 10px;
    }

    .milkbar-thumb {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .milkbar-product-title {
        font-size: 1.6rem;
    }

    .milkbar-features {
        gap: 15px;
        padding: 20px 0;
    }

    .milkbar-feature span {
        font-size: 0.7rem;
    }

    .milkbar-modal-content {
        max-width: 100%;
        padding: 25px;
    }

    .milkbar-sticky-content {
        padding: 0 15px;
    }

    .milkbar-sticky-title {
        font-size: 0.85rem;
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .milkbar-promo-banner {
        flex-direction: column;
    }

    .milkbar-promo-image {
        width: 100%;
        height: 120px;
    }

    .milkbar-reviews-summary {
        flex-direction: column;
        gap: 20px;
    }

    .milkbar-related.products {
        padding: 40px 20px;
    }
}

/* =========================================
   MILK BAR CART DRAWER
   ========================================= */

/* Cart Drawer Overlay */
.milkbar-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.milkbar-cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cart Drawer */
.milkbar-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.milkbar-cart-drawer.active {
    transform: translateX(0);
}

.milkbar-cart-drawer-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Cart Drawer Header */
.milkbar-cart-drawer-header {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.milkbar-cart-drawer-header h2 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #1d1d1f;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.milkbar-cart-drawer-close {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1f;
    margin-right: 15px;
    padding: 0;
    transition: color 0.2s ease;
}

.milkbar-cart-drawer-close:hover {
    color: #666;
}

.milkbar-cart-drawer-close svg {
    width: 18px;
    height: 18px;
}

/* Shipping Progress */
.milkbar-cart-drawer-shipping {
    padding: 20px 25px;
    text-align: center;
    background: #fafafa;
    flex-shrink: 0;
}

.milkbar-cart-drawer-shipping .shipping-message {
    font-size: 0.85rem;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    display: block;
    margin-bottom: 12px;
}

.shipping-progress-bar {
    width: 100%;
    height: 6px;
    background: #e5e5e5;
    border-radius: 3px;
    overflow: hidden;
}

.shipping-progress-fill {
    height: 100%;
    background: #1d1d1f;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Cart Items */
.milkbar-cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 25px;
}

.milkbar-cart-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.milkbar-cart-item:last-child {
    border-bottom: none;
}

.milkbar-cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: #F5EDE4;
    flex-shrink: 0;
}

.milkbar-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.milkbar-cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.milkbar-cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.milkbar-cart-item-variation {
    font-size: 0.75rem;
    color: #86868b;
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.milkbar-cart-item-remove {
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #86868b;
    padding: 0;
    transition: color 0.2s ease;
}

.milkbar-cart-item-remove:hover {
    color: #1d1d1f;
}

.milkbar-cart-item-remove svg {
    width: 14px;
    height: 14px;
}

.milkbar-cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 5px 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    line-height: 1.3;
}

.milkbar-cart-item-price {
    font-size: 0.9rem;
    color: #86868b;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    margin-bottom: 12px;
}

.milkbar-cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    width: fit-content;
}

.milkbar-cart-item-quantity .qty-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.milkbar-cart-item-quantity .qty-btn:hover {
    background: #f5f5f5;
}

.milkbar-cart-item-quantity .qty-value {
    width: 32px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

/* Empty Cart */
.milkbar-cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.milkbar-cart-empty p {
    font-size: 1rem;
    color: #86868b;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

/* Cart Drawer Footer */
.milkbar-cart-drawer-footer {
    padding: 20px 25px;
    border-top: 1px solid #e5e5e5;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.milkbar-view-cart-btn,
.milkbar-checkout-btn {
    display: block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.2s ease;
}

.milkbar-view-cart-btn {
    background: #ffffff;
    color: #1d1d1f;
    border: 1px solid #1d1d1f;
}

.milkbar-view-cart-btn:hover {
    background: #f5f5f5;
    color: #1d1d1f;
}

.milkbar-checkout-btn {
    background: #1d1d1f;
    color: #ffffff;
    border: 1px solid #1d1d1f;
}

.milkbar-checkout-btn:hover {
    background: #333;
    color: #ffffff;
}

/* Hide default WooCommerce notices on product page */
.milkbar-product-page .woocommerce-message,
.milkbar-product-page .woocommerce-info,
.milkbar-product-page .woocommerce-notices-wrapper {
    display: none !important;
}

/* Cart Drawer Responsive - Mobile */
@media (max-width: 480px) {
    .milkbar-cart-drawer {
        max-width: 100%;
    }

    .milkbar-cart-drawer-header {
        padding: 15px 20px;
    }

    .milkbar-cart-drawer-shipping {
        padding: 15px 20px;
    }

    .milkbar-cart-drawer-items {
        padding: 15px 20px;
    }

    .milkbar-cart-item-image {
        width: 70px;
        height: 70px;
    }

    .milkbar-cart-drawer-footer {
        padding: 15px 20px;
    }

    .milkbar-view-cart-btn,
    .milkbar-checkout-btn {
        height: 46px;
        line-height: 46px;
        font-size: 0.85rem;
    }
}

/* =========================================
   LEGACY ELEGANT APPLE-STYLE PRODUCT PAGE
   (Keeping for backwards compatibility)
   ========================================= */

/* Main Product Page Container */
.elegant-product-page {
    background: #ffffff;
    min-height: 100vh;
}

.elegant-product-page .woocommerce-product-gallery {
    position: relative;
}

.elegant-product-page .col-full {
    margin: 0 auto;
    padding: 0;
}

/* Single Product Container */
.elegant-single-product {
    padding: 0;
    margin: 0;
    background: transparent;
}

.elegant-product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    padding: 60px 80px;
    max-width: 1600px;
    margin: 0 auto;
    margin-top: 100px;
}

/* Product Images Section */
.elegant-product-images {
    position: sticky;
    top: 120px;
    width: 100%;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.elegant-product-images .woocommerce-product-gallery {
    width: 100%;
    margin: 0;
    display: flex;
    gap: 20px;
    flex: 1;
    flex-direction: row;
}

.elegant-product-images .woocommerce-product-gallery__wrapper {
    margin: 0;
    flex: 1;
    position: relative;
    order: 2;
}

.elegant-product-images .woocommerce-product-gallery__image {
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    background: #fafafa;
    position: relative;
}

.elegant-product-images .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    object-fit: contain;
    background: #fafafa;
}

.elegant-product-images .woocommerce-product-gallery__image:hover img {
    transform: scale(1.02);
}

/* Product Gallery Thumbnails - Vertical on Left */
.elegant-product-images .flex-control-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 600px;
    width: 100px;
    flex-shrink: 0;
    order: 1;
    -webkit-overflow-scrolling: touch;
}

.elegant-product-images .flex-control-thumbs li {
    flex: 0 0 auto;
    width: 100px;
    height: 100px;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #fafafa;
}

.elegant-product-images .flex-control-thumbs li:hover,
.elegant-product-images .flex-control-thumbs li.flex-active {
    border-color: #000;
}

.elegant-product-images .flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Product Summary Section */
.elegant-product-summary {
    padding: 0;
    max-width: 100%;
}

.elegant-product-summary .product_title {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin: 0 0 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.elegant-product-summary .woocommerce-product-rating {
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.elegant-product-summary .woocommerce-product-rating .star-rating {
    margin: 0;
    font-size: 1rem;
    color: #1d1d1f;
}

.elegant-product-summary .woocommerce-product-rating .woocommerce-review-link {
    font-size: 0.9rem;
    color: #86868b;
    text-decoration: none;
    margin-left: 8px;
    transition: color 0.2s ease;
}

.elegant-product-summary .woocommerce-product-rating .woocommerce-review-link:hover {
    color: #1d1d1f;
    text-decoration: underline;
}

/* Price */
.elegant-product-summary .price {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    letter-spacing: -0.01em;
}

.elegant-product-summary .price .woocommerce-Price-amount {
    font-weight: 600;
}

.elegant-product-summary .price del {
    font-size: 1.5rem;
    color: #86868b;
    margin-right: 10px;
    opacity: 0.7;
}

.elegant-product-summary .price ins {
    text-decoration: none;
}

/* Product Description */
.elegant-product-summary .woocommerce-product-details__short-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #1d1d1f;
    margin: 0 0 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    max-width: 600px;
}

.elegant-product-summary .woocommerce-product-details__short-description p {
    margin-bottom: 1.2em;
}

/* Serving Size */
.elegant-product-summary .product-serving-size {
    font-size: 0.95rem;
    color: #1d1d1f;
    margin: 0 0 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    font-weight: 400;
}

/* Feature Icons Section */
.elegant-product-features {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #f5f5f7;
    border-bottom: 1px solid #f5f5f7;
}

.elegant-product-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.elegant-product-feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elegant-product-feature-icon svg {
    width: 100%;
    height: 100%;
    fill: #1d1d1f;
}

.elegant-product-feature-item span {
    font-size: 0.9rem;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    font-weight: 400;
}

/* Upgrade Toggle Option */
.elegant-product-upgrade {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #d2d2d7;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.elegant-product-upgrade:hover {
    border-color: #000;
}

.elegant-product-upgrade-label {
    font-size: 0.95rem;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    font-weight: 400;
}

.elegant-product-upgrade-toggle {
    width: 44px;
    height: 26px;
    background: #d2d2d7;
    border-radius: 13px;
    position: relative;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.elegant-product-upgrade-toggle.active {
    background: #000;
}

.elegant-product-upgrade-toggle::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

.elegant-product-upgrade-toggle.active::after {
    transform: translateX(18px);
}

/* Collapsible Sections */
.elegant-product-section {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f5f5f7;
}

.elegant-product-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

.elegant-product-section-header:hover {
    color: #1d1d1f;
}

.elegant-product-section-title {
    font-size: 1rem;
    font-weight: 400;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    margin: 0;
}

.elegant-product-section-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
    color: #86868b;
}

.elegant-product-section.active .elegant-product-section-arrow {
    transform: rotate(90deg);
}

.elegant-product-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.elegant-product-section.active .elegant-product-section-content {
    max-height: 2000px;
    padding: 0 0 30px 0;
}

.elegant-product-section-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    margin: 0 0 15px 0;
}

.elegant-product-section-content p:last-child {
    margin-bottom: 0;
}

.elegant-product-section-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.elegant-product-section-content li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    padding: 5px 0;
}

/* Bundle Offer */
.elegant-product-bundle {
    margin: 20px 0 0 0;
    padding: 15px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #86868b;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

/* Add to Cart Form */
.elegant-product-summary form.cart {
    margin: 0 0 30px 0;
    padding: 0;
    border: none;
}

.elegant-product-summary .quantity {
    margin: 0 0 20px 0;
    display: inline-block;
}

.elegant-product-summary .quantity .qty {
    width: 80px;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 1.1rem;
    text-align: center;
    background: #fff;
    color: #1d1d1f;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.elegant-product-summary .quantity .qty:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

/* Add to Cart Button - Black Elegant Style */
.elegant-product-summary .single_add_to_cart_button {
    width: 100%;
    max-width: 500px;
    height: 56px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    text-transform: uppercase;
    margin: 0;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elegant-product-summary .single_add_to_cart_button:hover {
    background: #333333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.elegant-product-summary .single_add_to_cart_button:active {
    transform: translateY(0);
}

.elegant-product-summary .single_add_to_cart_button:disabled {
    background: #86868b;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Gallery Navigation Arrows */
.elegant-product-images .woocommerce-product-gallery__image {
    position: relative;
}

.elegant-product-images .flex-direction-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.elegant-product-images .flex-direction-nav a {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    z-index: 10;
    text-decoration: none;
    transition: all 0.3s ease;
}

.elegant-product-images .flex-direction-nav .flex-prev {
    left: 20px;
}

.elegant-product-images .flex-direction-nav .flex-next {
    right: 20px;
}

.elegant-product-images .flex-direction-nav a:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

/* Variations */
.elegant-product-summary .variations {
    margin: 0 0 30px 0;
    width: 100%;
    max-width: 500px;
}

.elegant-product-summary .variations tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.elegant-product-summary .variations td {
    padding: 0;
    border: none;
    display: block;
}

.elegant-product-summary .variations label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.elegant-product-summary .variations select,
.elegant-product-summary .variations .value select {
    width: 100%;
    max-width: 500px;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 1rem;
    background: #fff;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231d1d1f' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

.elegant-product-summary .variations select:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

/* Product Meta */
.elegant-product-summary .product_meta {
    margin: 50px 0 0 0;
    padding: 30px 0 0 0;
    border-top: 1px solid #f5f5f7;
    font-size: 0.9rem;
    color: #86868b;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.elegant-product-summary .product_meta>span {
    display: block;
    margin-bottom: 12px;
}

.elegant-product-summary .product_meta>span:last-child {
    margin-bottom: 0;
}

.elegant-product-summary .product_meta a {
    color: #0071e3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.elegant-product-summary .product_meta a:hover {
    color: #0077ed;
    text-decoration: underline;
}

/* Product Tabs */
.elegant-product-page .woocommerce-tabs {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 60px;
    border-top: 1px solid #f5f5f7;
}

.elegant-product-page .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 40px;
    margin: 0 0 50px 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #f5f5f7;
}

.elegant-product-page .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    border: none;
}

.elegant-product-page .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #86868b;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    letter-spacing: -0.01em;
}

.elegant-product-page .woocommerce-tabs ul.tabs li.active a,
.elegant-product-page .woocommerce-tabs ul.tabs li a:hover {
    color: #1d1d1f;
    border-bottom-color: #1d1d1f;
}

.elegant-product-page .woocommerce-tabs .panel {
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.elegant-product-page .woocommerce-tabs .panel h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 30px 0;
    letter-spacing: -0.02em;
    color: #1d1d1f;
}

/* Sale Badge */
.elegant-product-images .onsale {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff3b30;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

/* Related Products */
.elegant-product-page .related.products {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 60px;
    border-top: 1px solid #f5f5f7;
}

.elegant-product-page .related.products h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    margin: 0 0 50px 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .elegant-product-container {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 60px 40px;
    }

    .elegant-product-images {
        position: relative;
        top: 0;
    }

    .elegant-product-summary .product_title {
        font-size: 2.8rem;
    }

    .elegant-product-summary .price {
        font-size: 1.8rem;
    }

    .elegant-product-page .woocommerce-tabs,
    .elegant-product-page .related.products {
        padding: 60px 40px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .elegant-product-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }

    .elegant-product-images {
        position: relative;
        top: 0;
    }

    .elegant-product-summary .product_title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .elegant-product-summary .woocommerce-product-rating {
        margin-bottom: 20px;
    }

    .elegant-product-summary .price {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .elegant-product-summary .woocommerce-product-details__short-description {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .elegant-product-summary .single_add_to_cart_button {
        height: 50px;
        font-size: 1rem;
        max-width: 100%;
    }

    .elegant-product-summary .variations select,
    .elegant-product-summary .variations .value select {
        max-width: 100%;
    }

    .elegant-product-images {
        flex-direction: column;
    }

    .elegant-product-images .woocommerce-product-gallery {
        flex-direction: column;
    }

    .elegant-product-images .woocommerce-product-gallery__wrapper {
        order: 1;
    }

    .elegant-product-images .flex-control-thumbs {
        flex-direction: row;
        gap: 8px;
        margin-top: 15px;
        width: 100%;
        max-height: none;
        order: 2;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .elegant-product-images .flex-control-thumbs li {
        width: 60px;
        height: 60px;
    }

    .elegant-product-page .woocommerce-tabs {
        padding: 40px 20px;
    }

    .elegant-product-page .woocommerce-tabs ul.tabs {
        flex-direction: column;
        gap: 0;
        border-bottom: none;
    }

    .elegant-product-page .woocommerce-tabs ul.tabs li {
        border-bottom: 1px solid #f5f5f7;
    }

    .elegant-product-page .woocommerce-tabs ul.tabs li a {
        padding: 15px 0;
    }

    .elegant-product-page .woocommerce-tabs .panel h2 {
        font-size: 1.6rem;
    }

    .elegant-product-page .related.products {
        padding: 40px 20px;
    }

    .elegant-product-page .related.products h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .elegant-product-summary .product_meta {
        margin-top: 40px;
        padding-top: 30px;
    }
}

/* Hide breadcrumbs on product page for cleaner look */
.elegant-product-page .storefront-breadcrumb {
    display: none;
}

/* Ensure proper spacing */
.elegant-product-page .site-content {
    padding: 0;
}

.elegant-product-page #main {
    padding: 0;
}

.woocommerce-message {
    margin-top: 10em !important;
    margin-bottom: -100px !important;
}

.wp-block-woocommerce-cart {
    margin-top: 70px;
}

.milkbar-product-container {
    margin-top: 150px;
}

.col-full {
    max-width: 100% !important;
}

.storefront-product-pagination {
    display: none !important;
}

.search-icon-svg {
    display: none !important;
}

.wp-block-woocommerce-checkout {
    margin-top: 50px;
}

/* Fix overlapping labels and input text in checkout form fields */
.wp-block-woocommerce-checkout .wc-block-components-text-input input[type="text"],
.wp-block-woocommerce-checkout .wc-block-components-text-input input[type="email"],
.wp-block-woocommerce-checkout .wc-block-components-text-input input[type="tel"],
.wp-block-woocommerce-checkout .wc-block-components-text-input input[type="password"],
.wp-block-woocommerce-checkout .wc-block-components-text-input input[type="number"],
.wp-block-woocommerce-checkout .wc-block-components-textarea textarea {
    padding-top: 24px !important;
    padding-bottom: 8px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
}

/* Ensure floating labels are properly positioned */
.wp-block-woocommerce-checkout .wc-block-components-text-input label {
    font-size: 12px !important;
    top: 8px !important;
    transform: none !important;
    line-height: 1 !important;
}

/* Fix for when input has value - ensure label stays small and on top */
.wp-block-woocommerce-checkout .wc-block-components-text-input.is-active label,
.wp-block-woocommerce-checkout .wc-block-components-text-input:focus-within label {
    font-size: 11px !important;
    top: 6px !important;
    color: #666 !important;
}

/* Select/dropdown fields fix */
.wp-block-woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
.wp-block-woocommerce-checkout .wc-block-components-country-input input,
.wp-block-woocommerce-checkout .wc-block-components-state-input input {
    padding-top: 32px !important;
    padding-bottom: 14px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    font-size: 14px !important;
}

.wp-block-woocommerce-checkout .wc-block-components-combobox label,
.wp-block-woocommerce-checkout .wc-block-components-country-input label,
.wp-block-woocommerce-checkout .wc-block-components-state-input label {
    font-size: 11px !important;
    top: 6px !important;
    line-height: 1 !important;
}

/* Ensure proper height for input fields */
.wp-block-woocommerce-checkout .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-block-components-combobox input {
    min-height: 52px !important;
    height: auto !important;
}

/* Additional dropdown/combobox fixes for all select-type fields */
.wp-block-woocommerce-checkout .wc-block-components-combobox-control {
    position: relative !important;
}

.wp-block-woocommerce-checkout .wc-block-components-combobox-control input.components-combobox-control__input {
    padding-top: 32px !important;
    padding-bottom: 14px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    font-size: 14px !important;
    min-height: 72px !important;
    line-height: 1.5 !important;
}

.wp-block-woocommerce-checkout .wc-block-components-combobox-control label.components-base-control__label {
    position: absolute !important;
    top: 10px !important;
    left: 16px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    color: #666 !important;
    transform: none !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Fix for combobox when it has a value selected */
.wp-block-woocommerce-checkout .wc-block-components-combobox.has-value .wc-block-components-combobox-control label,
.wp-block-woocommerce-checkout .wc-block-components-combobox.is-active .wc-block-components-combobox-control label {
    font-size: 10px !important;
    top: 8px !important;
}

/* Country and State specific selectors */
.wp-block-woocommerce-checkout .wc-block-components-country-input .wc-block-components-combobox-control input,
.wp-block-woocommerce-checkout .wc-block-components-state-input .wc-block-components-combobox-control input {
    padding-top: 32px !important;
    padding-bottom: 14px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    min-height: 72px !important;
    font-size: 14px !important;
}

.wp-block-woocommerce-checkout .wc-block-components-country-input .wc-block-components-combobox-control label,
.wp-block-woocommerce-checkout .wc-block-components-state-input .wc-block-components-combobox-control label {
    position: absolute !important;
    top: 10px !important;
    left: 16px !important;
    font-size: 11px !important;
    transform: none !important;
}

/* Ensure the selected value text doesn't overlap with label */
.wp-block-woocommerce-checkout .wc-block-components-combobox-control .components-flex {
    padding-top: 28px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    min-height: 72px !important;
}

/* Target the actual selected value display */
.wp-block-woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control .components-flex-item {
    margin-top: 10px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Reduce selected value text size specifically */
.wp-block-woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control .components-flex-item span,
.wp-block-woocommerce-checkout .wc-block-components-combobox-control input.components-combobox-control__input[value]:not([value=""]),
.wp-block-woocommerce-checkout .wc-block-components-combobox.has-value .wc-block-components-combobox-control input,
.wp-block-woocommerce-checkout .wc-block-components-combobox.is-active .wc-block-components-combobox-control input {
    font-size: 14px !important;
    font-weight: 400 !important;
}

/* Fix dropdown arrow positioning */
.wp-block-woocommerce-checkout .wc-block-components-combobox-control button.components-button {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Overall combobox container height */
.wp-block-woocommerce-checkout .wc-block-components-combobox {
    min-height: 72px !important;
    margin-bottom: 20px !important;
}

select#shipping-country {
    padding: 16px 9px 0 !important;
}

select#shipping-state {
    padding: 16px 9px 0 !important;
}

/* Contact Us Page Styles */
.contact-us-page-container {
    width: 100%;
    margin-top: 150px;
}

.contact-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.faq-column {
    flex: 1;
    background-color: #FFFFFF;
    padding: 60px 5%;
}

.contact-info-column {
    flex: 1;
    background-color: #FDEAD6;
    /* Peach */
    padding: 60px 5%;
}

.faq-column h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    font-family: 'Arial Black', sans-serif;
    color: #000;
}

.faq-section h2,
.contact-info-column h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Arial Black', sans-serif;
    text-transform: uppercase;
    color: #000;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #000;
}

.faq-question .icon {
    color: #FF007F;
    /* Hot pink */
    font-size: 1.5rem;
    font-weight: 300;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Approximate max height */
}

/* Right Column */
.support-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #000;
}

.support-info .note {
    font-style: italic;
    font-weight: 600;
    margin-bottom: 30px;
}

.highlight-link {
    color: #FF007F;
    text-decoration: none;
    font-weight: bold;
}

.locations-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 30px;
    color: #000;
}

.form-intro p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #333;
}

/* WP Forms Overrides */
.wpforms-container {
    margin-top: 30px;
}

.wpforms-field-label {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 5px;
}

.wpforms-field {
    margin-bottom: 20px;
}

.wpforms-field input,
.wpforms-field textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #000;
    background: #fff;
    font-size: 1rem;
    box-sizing: border-box;
}

.wpforms-submit-container button {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 40px;
    text-transform: uppercase;
    font-weight: 800;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .faq-column,
    .contact-info-column {
        padding: 40px 20px;
    }
}

a:focus,
button:focus,
.button.alt:focus,
input:focus,
textarea:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus {
    outline-color: transparent;
}

/* Community Section (Instagram) */
.section-community {
    padding: 80px 0;
    background: #fff;
    text-align: center;
    overflow: hidden;
}

.community-header {
    margin-bottom: 50px;
}

.community-grid {
    display: flex;
    gap: 30px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    /* Changed to wrap */
}

/* Left: Vertical Reel Card */
.item-reel {
    flex: 0 0 300px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 9/16;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.item-reel:hover {
    transform: translateY(-5px);
}

.item-reel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.reel-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    text-align: left;
}

.btn-reel-pill {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(5px);
}

/* Middle: Small Product Card */
.item-small {
    flex: 0 0 200px;
}

.insta-small-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.insta-small-card:hover {
    transform: translateY(-5px);
}

.insta-small-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.insta-small-card h4 {
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.3;
}

/* Right: Profile Card */
.item-profile {
    flex: 1;
    /* Takes remaining space */
    max-width: 500px;
}

.insta-profile-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Premium shadow */
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.profile-pic-container {
    position: relative;
}

.profile-pic {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #E91E63;
    /* Brand Pink ring */
    padding: 2px;
    background: #fff;
}

.profile-info {
    flex: 1;
}

.profile-handle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.profile-handle {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #000;
}

.verified-icon {
    color: #3897f0;
    /* Insta blue */
    width: 16px;
    height: 16px;
}

.btn-follow {
    background: #000;
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.btn-facebook {
    background: #1877F2;
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.profile-bio {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.profile-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 6px;
    background: #f0f0f0;
}

/* Responsive */
@media (max-width: 1024px) {
    .community-grid {
        flex-wrap: wrap;
    }

    .item-profile {
        flex: 0 0 100%;
        max-width: 600px;
        order: 3;
    }
}

@media (max-width: 768px) {
    .community-grid {
        flex-direction: column;
        gap: 40px;
    }

    .item-reel,
    .item-small,
    .item-profile {
        flex: auto;
        width: 100%;
        max-width: 400px;
    }

    .community-header h2 {
        font-size: 2rem;
    }

    /* Fix Follow Button Alignment on Mobile */
    .profile-handle-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .profile-handle {
        width: 100%;
        /* Force handle to own line if needed, or just let it flow */
        margin-bottom: 5px;
    }

    .btn-follow {
        margin-left: 0;
    }

    .contact-us-page-container {
        width: 100%;
        margin-top: 80px;
    }
}

.btn-facebook {
    background: #1877F2;
    /* Facebook Blue */
    color: #fff;
}

.follow-buttons {
    display: flex;
    gap: 8px;
}

/* Milk Bar Reviews List Styles */
.milkbar-reviews-list {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    text-align: left;
}

.milkbar-review-item {
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.milkbar-review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.review-meta {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
}

.review-date {
    font-size: 0.8rem;
    color: #999;
    margin-top: 2px;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars .star {
    font-size: 1rem;
    color: #ffd700;
}

.review-stars .star.empty {
    color: #e0e0e0;
}

.review-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

.milkbar-reviews-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}


/* You May Also Like Section (Milk Bar Style) */
.milkbar-related-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    clear: both;
}

.milkbar-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #1d1d1f;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
}

.milkbar-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.milkbar-product-card {
    display: flex;
    flex-direction: column;
}

.milkbar-card-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #FDF6ED;
    /* Light peach/beige background from screenshot */
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.milkbar-card-image:hover {
    transform: translateY(-5px);
}

.milkbar-card-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    /* Or cover, depending on actual assets */
    padding: 20px;
    /* Give some breathing room if using 'contain' on a color bg */
    mix-blend-mode: multiply;
    /* Helps blend white bg images into the beige card */
}

.milkbar-info-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: #a0a0a0;
    padding: 0;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 2;
}

.milkbar-info-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1;
}

.milkbar-card-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.milkbar-card-price {
    font-size: 0.9rem;
    color: #1d1d1f;
    font-weight: 500;
}

.milkbar-card-price .amount {
    color: #1d1d1f !important;
}

.milkbar-card-title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

.milkbar-card-title a {
    text-decoration: none;
    color: #1d1d1f;
}

/* Custom Add Button Style */
.milkbar-card-add-btn.button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    color: #1d1d1f !important;
    font-weight: 700 !important;
    padding: 0 !important;
    border-radius: 4px !important;
    margin-top: 12px !important;
    text-transform: uppercase;
    font-size: 0.9rem !important;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    line-height: 1 !important;
}

.milkbar-card-add-btn.button:hover {
    border-color: #000 !important;
    background: #f9f9f9 !important;
    color: #000 !important;
}

.milkbar-card-add-btn.loading {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .milkbar-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .milkbar-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .milkbar-section-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {

    /* Optional: Side scrolling on mobile like the screenshot? */
    .milkbar-related-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 20px;
        scroll-snap-type: x mandatory;
    }

    .milkbar-product-card {
        min-width: 240px;
        /* fixed width for scrolling items */
        scroll-snap-align: start;
    }
}

/* Product Page Price Style */
.milkbar-product-price {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1d1d1f;
    margin: 10px 0;
}

.milkbar-product-price .amount {
    color: #1d1d1f !important;
}

.milkbar-product-price del {
    color: #999;
    font-size: 1rem;
    margin-right: 10px;
}

.milkbar-product-price ins {
    text-decoration: none;
}

/* Custom Section Divider (CSS Generated) */
.custom-css-divider {
    width: 90%;
    /* Cap width on large screens */
    height: 8px;
    /* Thickness of the line */
    background: linear-gradient(90deg, #FAD0C4 0%, #E91E63 50%, #FAD0C4 100%);
    /* Premium Gradient: Peach -> Pink -> Peach */
    margin: 40px auto;
    /* Spacing above and below */
    border-radius: 10px;
    /* Rounded edges */
    opacity: 0.9;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .custom-css-divider {
        width: 95%;
        margin: 30px auto;
        height: 6px;
    }
}

@media (min-width: 938px) {
    .editorial-hero {
        margin-top: 130px !important;
    }
}