/* =========================================================================
   ENWAN REPLICA CSS (TOQUEMONOS -> SMILEMAKERS)
   A pristine, theme-agnostic stylesheet for the custom WooCommerce layout.
========================================================================= */

/* Typography Base */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&display=swap');

html,
body.enwan-replica-active {
    font-family: 'Figtree', sans-serif !important;
    background-color: #F8F6F4 !important;
    /* Soft cream background */
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.enwan-replica-wrapper {
    width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Announcement Bar */
.smile-top-announcement {
    background-color: #f7cdcd;
    /* Softer pink */
    color: #7d2a2a;
    text-align: center;
    padding: 6px 0;
    font-size: 11px;
    font-weight: 700;
    width: 100%;
    position: fixed;
    /* Keep it sticky at the VERY top */
    top: 0;
    left: 0;
    z-index: 1000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================================================
   PC ONLY STYLES (Isolating to prevent Mobile damage)
========================================================================= */
@media (min-width: 1025px) {

    /* PC Capsule Header */
    .smile-pc-capsule-container {
        position: fixed;
        top: 35px;
        left: 0;
        width: 100%;
        z-index: 9999;
        pointer-events: none;
    }

    .smile-pc-header-capsule {
        max-width: 1360px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 50px;
        height: 80px;
        padding: 0 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
        pointer-events: auto;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    /* ... other PC-only header styles ... */
    .smile-pc-left,
    .smile-pc-right {
        display: flex;
        align-items: center;
        gap: 25px;
    }

    .smile-pc-center {
        flex: 1;
        max-width: 500px;
        margin: 0 40px;
    }

    .smile-btn-productos {
        background: #8DC63F;
        color: #fff;
        border-radius: 50px;
        padding: 10px 22px;
        font-weight: 600;
        font-size: 14px;
        text-decoration: none !important;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .smile-search-capsule {
        background: #f5f5f5;
        border-radius: 50px;
        padding: 10px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #777;
        cursor: pointer;
        font-size: 14px;
    }

    /* PC GRID */
    .smile-pc-layout {
        max-width: 1360px;
        margin: 0 auto;
        padding: 100px 30px 60px 30px;
    }

    .smile-pc-3col-grid {
        display: grid;
        grid-template-columns: 320px 1fr 280px;
        gap: 60px;
        align-items: start;
    }

    .smile-pc-col-info {
        position: sticky;
        top: 100px;
    }

    .smile-pc-col-gallery {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 500px;
        /* LIMIT WIDTH OF GALLERY */
        margin: 0 auto;
    }

    .smile-pc-col-gallery .smile-image-wrapper img {
        max-height: 65vh !important;
        /* PREVENT GIANT IMAGE */
        width: auto !important;
        margin: 0 auto;
        display: block;
        object-fit: contain;
    }

    .smile-pc-col-benefits {
        position: sticky;
        top: 100px;
    }

    .smile-benefits-box {
        background: #fff;
        border-radius: 20px;
        padding: 30px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
        display: flex;
        flex-direction: column;
        gap: 25px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
}


/* =========================================================================
   UNIFIED PRODUCT LAYOUT (Responsive)
========================================================================= */
.smile-responsive-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* PC 3-COLUMN GRID */
@media (min-width: 1025px) {
    .smile-responsive-layout {
        display: grid;
        grid-template-columns: 350px 1fr 280px;
        gap: 60px;
        align-items: start;
        padding-top: 120px;
        /* Space for fixed header */
        padding-bottom: 80px;
    }

    .smile-pc-col-info {
        position: sticky;
        top: 120px;
    }

    .smile-pc-col-gallery {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .smile-pc-col-benefits {
        position: sticky;
        top: 120px;
    }

    .smile-benefits-box {
        background: #fff;
        border-radius: 20px;
        padding: 30px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
        display: flex;
        flex-direction: column;
        gap: 25px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .smile-benefits-box .smile-trust-pill {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        background: transparent;
        padding: 0;
        border: none;
    }

    .smile-trust-icon {
        width: 45px;
        height: 45px;
        background: #FBE6E8;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .smile-benefits-box span {
        font-size: 13px;
        font-weight: 500;
        color: #333;
    }
}

.smile-image-wrapper {
    width: 100%;
    height: auto;
    margin-bottom: 0px;
}

.smile-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* =========================================================================
   MOBILE BEHAVIOR (Under 1024px)
========================================================================= */
/* Floating Pill Header */
/* =========================================================================
   MOBILE ONLY STYLES (Restored from Stable V41.2 Base)
========================================================================= */
@media (max-width: 1024px) {
    .smile-mobile-inner {
        padding: 0 16px;
        box-sizing: border-box;
    }

    .smile-mobile-layout {
        padding-top: 140px;
        /* Reduced for better balance */
        padding-bottom: 90px;
        background-color: #F8F6F4;
    }

    .smile-floating-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 80px;
        /* Aligned with top bar */
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 420px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 100px;
        padding: 8px 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        z-index: 999999;
    }

    .smile-breadcrumbs-row {
        padding: 0 20px 20px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .smile-image-wrapper.smile-image-float {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .smile-image-wrapper.smile-image-float img {
        width: 80%;
        max-width: 300px;
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    }

    .smile-info-col {
        padding: 0 20px;
    }

    .smile-product-title {
        font-size: 32px;
        margin-bottom: 10px;
    }
}


/* =========================================================================
   UNIVERSAL COMPONENT STYLING (PC & Mobile)
========================================================================= */

/* Typography & Badges */
.smile-breadcrumbs {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
    width: 100%;
}

.smile-breadcrumbs a {
    color: #555;
    text-decoration: none;
}

.smile-title-wrapper {
    margin-bottom: 15px;
}

.smile-pill-bestseller {
    background-color: #FFF3EB;
    color: #A66551;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}

.smile-product-title {
    font-family: 'Figtree', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #B5575F;
    letter-spacing: -1px;
    line-height: 1.1;
    margin: 0;
}

@media (max-width: 1024px) {
    .smile-product-title {
        font-size: 36px;
    }
}

/* Pricing */
.smile-price-wrapper {
    margin-bottom: 25px;
}

.smile-price-wrapper del {
    font-size: 20px;
    color: #888;
    margin-right: 15px;
    font-weight: 500;
}

.smile-price-wrapper ins {
    font-size: 28px;
    color: #B5575F;
    font-weight: 700;
    text-decoration: none;
}

/* Trust List */
.smile-trust-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.smile-trust-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.smile-trust-list svg {
    color: #B5575F;
}

/* Short Description */
.smile-short-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 35px;
}

/* Custom "Add to Cart" Native Integration */
.smile-add-to-cart-wrapper form.cart {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.smile-add-to-cart-wrapper .quantity {
    display: none !important;
}

/* Hide WooCommerce Qty selector */
.smile-add-to-cart-wrapper .single_add_to_cart_button,
.smile-mb-sticky-button-form .single_add_to_cart_button {
    background-color: #CA767E !important;
    color: #FFF !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    font-family: 'Figtree', sans-serif !important;
    padding: 20px 0 !important;
    border: none !important;
    border-radius: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
    display: block;
}

.smile-add-to-cart-wrapper .single_add_to_cart_button:hover {
    background-color: #B5575F !important;
}


/* =========================================================================
   MOBILE BOTTOM FIXED CART ("Sticky Pill")
========================================================================= */
.smile-mb-sticky-cart {
    display: none;
}

@media (max-width: 1024px) {
    .smile-mb-sticky-cart {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        position: fixed;
        bottom: 20px;
        /* Lifted slightly from bottom */
        left: 5%;
        width: 90%;
        background-color: #FFF;
        padding: 6px 6px 6px 20px;
        border-radius: 12px;
        /* Outer soft rectangle */
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08), 0 0 0 4px rgba(255, 255, 255, 0.4);
        /* Glowing white shadow effect */
        z-index: 100000;
        box-sizing: border-box;
        border: 1px solid rgba(0, 0, 0, 0.04);

        /* Animation / Visibility Logic */
        opacity: 0;
        visibility: hidden;
        transform: translateY(100%);
        /* Slide in entirely from below */
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .smile-mb-sticky-cart.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .smile-mb-sticky-price {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .smile-mb-sticky-price del {
        font-size: 13px;
        display: block;
        color: #999;
        font-weight: 500;
        line-height: 1;
        margin-bottom: 2px;
    }

    .smile-mb-sticky-price ins {
        font-size: 16px;
        /* Slightly smaller to match ref */
        color: #333;
        font-weight: 600;
        text-decoration: none;
        display: block;
        line-height: 1;
    }

    .smile-mb-sticky-button-form {
        flex: 0 0 auto;
        min-width: 160px;
    }

    .smile-mb-sticky-button-form form.cart {
        margin: 0;
        padding: 0;
    }

    .smile-mb-sticky-button-form .quantity {
        display: none !important;
    }

    .smile-mb-sticky-button-form .single_add_to_cart_button {
        padding: 12px 25px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        /* Soft rectangle button match */
        background-color: #CA767E !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        box-shadow: none !important;
    }
}

/* =========================================================================
   RESET WOODMART INTERFERENCES ON WPB_CONTENT
========================================================================= */
.smile-long-content-wrapper {
    padding: 50px 0;
    background: #fff;
    width: 100%;
    border-top: 1px solid #EAEAEA;
}

.smile-long-content-wrapper .wpb_column {
    margin-bottom: 0 !important;
}

/* SEARCH CLOSE BUTTON REPOSITIONING */
.wd-search-full-screen-2 .wd-close-search.wd-style-icon {
    top: 120px !important;
    right: 20px !important;
    background: white !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.wd-search-full-screen-2 .wd-close-search.wd-style-icon a::before {
    font-size: 18px !important;
    color: #000 !important;
}

/* Ensure the search content starts below our floating header */
.wd-search-full-screen-2 .container {
    padding-top: 100px !important;
}

/* TITLE ROTATOR (Snippet 971) - MOBILE THINNER REFINEMENT */
@media (max-width: 768px) {
    .liontec-rotator-bar {
        height: 24px !important;
        /* Extremely thin as requested */
        padding: 0 !important;
        font-size: 11px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* SEARCH EXTRA CONTENT VISIBILITY FIX */
.wd-search-full-screen-2 .wd-search-results {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* =========================================================================
   WOODMART MOBILE NAV - FIX Z-INDEX ABOVE FLOATING HEADER
========================================================================= */
@media (max-width: 1024px) {

    .mobile-nav.wd-side-hidden,
    .mobile-nav {
        z-index: 1000000 !important;
    }

    .wd-close-side {
        z-index: 999998 !important;
    }

    .mobile-nav.wd-opened {
        padding-top: 90px !important;
    }
}

/* =========================================================================
   WOODMART MOBILE NAV - FORCE VERTICAL STACKED LAYOUT
   Items were displaying as horizontal flex rows, force them vertical
========================================================================= */
@media (max-width: 1024px) {

    /* Force the nav list to be a vertical column */
    .mobile-nav .wd-nav,
    .mobile-nav .menu,
    .mobile-nav ul.wd-nav-mobile {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Each menu item fills the full width */
    .mobile-nav .menu-item,
    .mobile-nav li {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    }

    /* Style the links nicely */
    .mobile-nav .menu-item>a,
    .mobile-nav li>a {
        display: block !important;
        padding: 14px 25px !important;
        font-size: 15px !important;
        font-family: 'Figtree', sans-serif !important;
        color: #333 !important;
        text-decoration: none !important;
        font-weight: 500 !important;
    }

    .mobile-nav .menu-item>a:hover {
        color: #CA767E !important;
    }

    /* Ensure the nav panel doesn't clip */
    .mobile-nav,
    .mobile-nav.wd-side-hidden {
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
}

/* =========================================================================
   WOODMART POPUPS & SIDE PANELS - Z-INDEX OVERRIDE
   All Woodmart modals/panels must appear above our floating header (z: 999999)
========================================================================= */
/* Login popup, side cart, wishlists, all modals */
.wd-login-form-popup,
.wd-side-hidden.wd-cart-sidebar,
.wd-login-popup-wrapper,
.wd-wishlist-wrapper,
.wd-side-hidden:not(.mobile-nav),
.whb-popup-wrapper,
.woodmart-popup {
    z-index: 1000001 !important;
}

/* The dark overlay/backdrop that accompanies these panels */
.wd-close-side,
.wd-overlay,
.woocommerce-cart-overlay {
    z-index: 1000000 !important;
}

/* =========================================================================
   MOBILE NAV - HIDE MY ACCOUNT SUBMENU ITEMS
   Only show the top-level 'Mi cuenta / My Account' link, not subitems
========================================================================= */
@media (max-width: 1024px) {

    /* Hide sub-items under My Account / WooCommerce account pages */
    .mobile-nav .menu-item-type-post_type .sub-menu,
    .mobile-nav #menu-mobile-navigation .menu-item-has-children.current-menu-item .sub-menu,
    .mobile-nav .menu-item-has-children.menu-item-type-post_type.current-menu-item>ul {
        display: none !important;
    }

    /* More targeted: hide subitems of the My Account menu item (WC adds orders/downloads) */
    /* WooCommerce adds 'wcae-account' class or 'menu-item-woocommerce' to account links */
    .mobile-nav .woocommerce-account-page .sub-menu,
    .mobile-nav .menu-item-object-page.current-menu-ancestor>ul.sub-menu {
        display: none !important;
    }
}

/* =========================================================================
   HIDE WOOCOMMERCE MY ACCOUNT SUB-ITEMS IN MOBILE NAV
   The .menu-item-account has dynamically generated subitems (Orders, etc.)
   Only show the parent 'Mi Cuenta' link, not the WC dashboard children
========================================================================= */
@media (max-width: 1024px) {

    /* Hide children of the Account menu item */
    .mobile-nav .menu-item-account .sub-menu,
    .mobile-nav .menu-item-account>ul,
    .mobile-nav .login-side-opener .sub-menu,
    .mobile-nav .login-side-opener>ul,
    .mobile-nav .menu-item-type-post_type.current-page-ancestor.menu-item-account>ul {
        display: none !important;
    }
}

/* =========================================================================
   BREADCRUMB ROW + IMAGE FLOAT ANIMATION (SMILEMAKERS REPLICA)
========================================================================= */

/* Breadcrumb row: flex with best-seller pill on the right */
.smile-breadcrumbs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 120px 50px 15px 50px;
    /* PC */
    box-sizing: border-box;
}

.smile-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
    padding: 0;
    margin: 0;
}

.smile-breadcrumbs a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.smile-breadcrumbs a:hover {
    color: #B5575F;
}

.smile-bc-sep {
    color: #aaa;
    font-size: 15px;
    line-height: 1;
}

/* Best Seller pill - in breadcrumb row */
.smile-breadcrumbs-row .smile-pill-bestseller {
    flex-shrink: 0;
    background-color: #FFF3EB;
    color: #A66551;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    white-space: nowrap;
}

/* ---- Float animation for product image ---- */
@keyframes smile-float {

    0%,
    100% {
        transform: translateY(0);
        filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.18));
    }

    50% {
        transform: translateY(-8px);
        filter: drop-shadow(0 35px 50px rgba(0, 0, 0, 0.12));
    }
}

.smile-image-float img {
    animation: smile-float 4s ease-in-out infinite;
}

/* Responsive visibility helpers */
.hidden-on-pc {
    display: none;
}

/* mobile wrapper hidden on PC by default */
.hidden-on-mobile {
    display: block;
}

@media (max-width: 1024px) {

    /* Breadcrumb row mobile */
    .smile-breadcrumbs-row {
        padding: 15px 18px 5px 18px;
    }

    .smile-breadcrumbs a,
    .smile-breadcrumbs span {
        font-size: 12px;
    }

    /* Show mobile float image, hide PC stack */
    .hidden-on-pc {
        display: block;
    }

    .hidden-on-mobile {
        display: none !important;
    }

    /* Mobile: single image centered, compact, floating */
    .smile-image-float {
        width: 75%;
        max-width: 160px;
        margin: 10px auto 30px auto;
        display: block;
        overflow: visible;
    }

    .smile-image-float img {
        width: 100%;
        border-radius: 0;
        display: block;
    }
}

/* Remove old generic breadcrumbs styles (overridden by breadcrumbs-row) */
.smile-breadcrumbs {
    padding: 0;
    margin: 0;
    margin-bottom: 0;
    width: auto;
}

/* OVERRIDE: Stronger float animation + smaller image size */
@keyframes smile-float {

    0%,
    100% {
        transform: translateY(0);
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.20));
    }

    50% {
        transform: translateY(-14px);
        filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.12));
    }
}

@media (max-width: 1024px) {
    .smile-image-float {
        width: 60% !important;
        max-width: 150px !important;
    }

    /* Ensure no background color bleeds through wrapper */
    .smile-image-float,
    .smile-gallery-col {
        background: transparent !important;
    }
}

/* =========================================================================
   SMILEMAKERS PRODUCT INFO SECTION STYLES
========================================================================= */

/* Price & Rating Row */
.smile-price-rating-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.smile-price-wrapper .woocommerce-Price-amount {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

/* Ratings */
.smile-rating-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.smile-stars {
    display: flex;
    gap: 2px;
}

.smile-rating-count {
    font-size: 13px;
    color: #888;
    text-decoration: underline;
}

/* Trust Pills */
.smile-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.smile-trust-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* Short Description */
.smile-short-description {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.smile-short-description p {
    margin-bottom: 12px;
}

/* Inline ATC button price styling */
.smile-btn-sep {
    padding: 0 5px;
    opacity: 0.7;
}

.smile-btn-price {
    font-weight: 600;
}

/* Afterpay Section */
.smile-afterpay {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
    color: #333;
    margin-top: 25px;
    margin-bottom: 30px;
}

.smile-afterpay-logo {
    border-radius: 4px;
}

/* Feature Grid Icons */
.smile-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background: #fff;
    border-radius: 16px;
    padding: 24px 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.smile-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.smile-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFF3EB;
    /* Soft pink background like SmileMakers */
    display: flex;
    align-items: center;
    justify-content: center;
}

.smile-feature-label {
    font-size: 12px;
    line-height: 1.3;
    color: #555;
}

/* Overall info column spacing on mobile */
@media (max-width: 1024px) {
    .smile-info-col {
        padding: 0 20px 40px 20px;
    }

    /* Even smaller max-width as requested (30% smaller) */
    .smile-image-float {
        max-width: 105px !important;
    }
}

/* =========================================================================
   PRODUCT INFO AND IMAGE TWEAKS (BASED ON REFERENCE)
========================================================================= */

/* Image Size + Blend Mode for fake PNGs */
@media (max-width: 1024px) {
    .smile-image-float {
        width: 50% !important;
        max-width: 110px !important;
        /* Approx 30% smaller than previous 150px */
        margin: 0px auto 20px auto !important;
    }
}

/* Title Styling */
.smile-title-wrapper {
    margin-bottom: 5px;
}

.smile-product-title {
    font-family: 'Figtree', sans-serif !important;
    font-size: 38px !important;
    /* Much larger */
    font-weight: 500 !important;
    color: #CA767E !important;
    /* Pinkish color matching reference */
    line-height: 1.1 !important;
    margin: 0 0 8px 0 !important;
}

/* Price and Rating Row Layout */
.smile-price-rating-row {
    margin-bottom: 12px !important;
    /* Closer spacing */
    align-items: center;
}

/* Price Text */
.smile-price-wrapper .woocommerce-Price-amount {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #111 !important;
}

/* Trust Pills Layout & Tighter spacing */
.smile-trust-pills {
    gap: 6px !important;
    margin-bottom: 20px !important;
}

.smile-trust-pill {
    padding: 4px 10px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    color: #333 !important;
    border-color: #EEE !important;
}

.smile-trust-pill svg {
    width: 14px;
    height: 14px;
}

/* Read Reviews Link */
.smile-rating-count {
    font-size: 11px !important;
    color: #CA767E !important;
    text-decoration: underline !important;
}

.smile-stars svg {
    width: 12px !important;
    height: 12px !important;
}

/* =========================================================================
   PRODUCT INFO - TIGHTER SPACING & SIZING FIXES
========================================================================= */

/* Title */
.smile-product-title {
    font-size: 45px !important;
    /* Huge title, user requested */
    margin: 0 0 -8px 0 !important;
    /* Negative margin to pull price up */
    padding: 0 !important;
    line-height: 0.9 !important;
    /* Cut through font leading */
}

/* Price & Rating Row Layout */
.smile-price-rating-row {
    margin: 0 0 -12px 0 !important;
    /* Negative margin to pull pills up drastically */
    padding-bottom: 0 !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Strip inner WooCommerce margins */
.smile-price-wrapper .price,
.smile-price-wrapper p.price {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* Price Text (S/129.90 in example is bold but not huge) */
.smile-price-wrapper .woocommerce-Price-amount {
    font-size: 16px !important;
}

/* Ratings row styling to match screenshot precisely */
.smile-rating-wrapper {
    gap: 4px !important;
}

.smile-stars svg {
    width: 14px !important;
    height: 14px !important;
    margin: 0 -1px !important;
    /* Tighter star spacing */
}

.smile-rating-count {
    font-size: 12px !important;
    color: #666 !important;
    text-decoration: none !important;
    /* Remove underline from count */
    margin-left: 2px !important;
}

.smile-rating-wrapper a.smile-rating-count:after {
    content: ' Read Reviews';
    text-decoration: underline;
    color: #CA767E;
}

/* Trust Pills - tighter gap and margin */
.smile-trust-pills {
    margin-top: 0 !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
    /* Tighter gap to text below */
}

.smile-trust-pill {
    padding: 3px 8px !important;
    font-size: 11px !important;
    border-radius: 4px !important;
    border: 1px solid #EBEBEB !important;
    background: #fff !important;
}

.smile-trust-pill svg {
    width: 12px !important;
    height: 12px !important;
}

/* =========================================================================
   SUBTITLE, LONG DESCRIPTION & ADD TO CART BUTTON
========================================================================= */

/* Short Description as Subtitle */
.smile-short-description {
    font-family: 'Figtree', sans-serif !important;
    font-size: 20px !important;
    color: #9e5b61 !important;
    /* Slightly darker pink matching reference */
    margin-bottom: 15px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

.smile-short-description p {
    margin: 0 !important;
}

/* Long Description (Main Content moved up) */
.smile-long-description {
    font-size: 14px !important;
    color: #222 !important;
    line-height: 1.5 !important;
    margin-bottom: 25px !important;
}

/* Add to Cart Button Full Width Pink */
.smile-add-to-cart-wrapper form.cart {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 25px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.smile-add-to-cart-wrapper .quantity {
    display: none !important;
    /* Hide quantity to match reference */
}

.smile-add-to-cart-wrapper .single_add_to_cart_button {
    width: 100% !important;
    background-color: #D17B88 !important;
    /* Pink from screenshot */
    color: #fff !important;
    border-radius: 8px !important;
    padding: 16px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: background-color 0.2s !important;
}

.smile-add-to-cart-wrapper .single_add_to_cart_button:hover {
    background-color: #B56772 !important;
}

.smile-add-to-cart-wrapper .single_add_to_cart_button .smile-btn-sep {
    margin: 0 5px !important;
    opacity: 0.6 !important;
}

/* Force mobile Add to Cart to display */
.smile-mb-sticky-cart form.cart {
    display: flex !important;
    visibility: visible !important;
}


/* Force unified background on product page to help PNG blend */
.enwan-replica-wrapper {
    background-color: transparent !important;
}

/* Aggressive force-display of button */
.smile-add-to-cart-wrapper form,
.smile-add-to-cart-wrapper .single_add_to_cart_button,
.smile-mb-sticky-cart form,
.smile-mb-sticky-cart .single_add_to_cart_button {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}


/* Ensure mobile wrapper is also completely transparent */
@media (max-width: 1024px) {
    .enwan-replica-wrapper {
        background-color: transparent !important;
    }
}


/* Aggressive force-display of the entire cart wrapper on mobile */
@media (max-width: 1024px) {

    .smile-add-to-cart-wrapper,
    .smile-add-to-cart-wrapper div,
    .smile-add-to-cart-wrapper form {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        position: static !important;
    }

    /* Except the form which we want flex */
    .smile-add-to-cart-wrapper form.cart {
        display: flex !important;
    }
}


/* Feature Icons - allow Font Awesome rendering properly */
.smile-feature-icon i {
    font-size: 20px !important;
    color: #CA767E !important;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Add pinkish drop shadow to the product image as requested */
.smile-image-float img,
.woocommerce-product-gallery__image img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.20)) !important;
}


/* Force pure transparency on image to remove any artifact borders */
.smile-image-float img,
.woocommerce-product-gallery__image img {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.20)) !important;
    mix-blend-mode: multiply !important;
    /* Re-applies the magic eraser for white halos */
}


/* V180: Kill all thematic image wrapper backgrounds that cause the white box on Mobile */
body.single-product .smile-image-float,
body.single-product .smile-image-float a,
body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image,
body.single-product .product-wrapper,
body.single-product .product-element-top {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}


/* V185: Nuke all Woodmart structural backgrounds causing the split white/cream look */
body.single-product #main,
body.single-product .main-page-wrapper,
body.single-product .site-content,
body.single-product .wd-page-wrapper,
body.single-product .container,
body.single-product .content-area,
body.single-product .row,
.enwan-replica-wrapper {
    background-color: transparent !important;
    background: transparent !important;
}

/* Unified cream background directly on the body */
html,
body.single-product {
    background-color: #F8F6F4 !important;
}

/* =========================================================================
   ACCORDION & SPECS SECTION (SMILEMAKERS REPLICA)
========================================================================= */

.smile-item-separator {
    width: 100%;
    height: 1px;
    background-color: #EBEBEB;
    margin: 30px 0;
}

/* Accordion Styles */
.smile-accordion-item {
    border-bottom: 1px solid #EBEBEB;
}

.smile-accordion-header {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Figtree', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: color 0.2s;
}

.smile-accordion-header:hover {
    color: #CA767E;
}

.smile-accordion-icon {
    font-size: 20px;
    font-weight: 300;
    color: #888;
    transition: transform 0.3s ease;
}

.smile-accordion-item.active .smile-accordion-icon {
    transform: rotate(45deg);
}

.smile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.smile-accordion-inner {
    padding-bottom: 20px;
}

/* Specs Grid (What's in the box) */
.smile-specs-section {
    margin-top: 40px;
}

.smile-specs-title {
    font-family: 'Figtree', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

.smile-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
    column-gap: 30px;
}

.smile-spec-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.smile-spec-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF3EB;
    border-radius: 50%;
    color: #CA767E;
}

.smile-spec-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.smile-spec-label {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.smile-spec-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}


/* =========================================================================
   RELATED PRODUCTS CAROUSEL (SMILEMAKERS REPLICA)
========================================================================= */
.smile-related-section {
    width: 100%;
    background-color: #F8F6F4;
    padding: 80px 0 120px 0;
    border-top: 1px solid #EBEBEB;
    overflow: hidden;
}

.smile-related-title {
    font-family: 'Figtree', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
}

.smile-related-carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0 30px 0;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Hide scrollbar for clean look */
.smile-related-carousel::-webkit-scrollbar {
    display: none;
}

.smile-related-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.smile-related-item {
    flex: 0 0 85%; /* Mobile: 1.2 items visible */
    scroll-snap-align: center;
    background: #FFF;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1025px) {
    .smile-related-item {
        flex: 0 0 calc(25% - 19px); /* EXACTLY 4 ITEMS on PC */
        scroll-snap-align: start;
    }
    
    .smile-carousel-arrow {
        display: flex !important;
    }
}

@media (max-width: 1024px) {
    .smile-carousel-arrow {
        display: none !important;
    }
}

.smile-related-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Image Box and Internal Tags */
.smile-rel-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1.1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
}

.smile-related-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.smile-related-item:hover .smile-related-image {
    transform: scale(1.05);
}

.smile-rel-price-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #f5f5f5;
}

.smile-rel-price-tag .woocommerce-Price-amount {
    font-weight: 700;
}

.smile-rel-price-tag del {
    color: #999;
    margin-right: 5px;
    font-weight: 400;
}

/* Meta info below image */
.smile-rel-meta {
    padding: 20px 25px 25px 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.smile-rel-category {
    font-size: 10px;
    font-weight: 600;
    color: #CA767E;
    letter-spacing: 1px;
}

.smile-related-name {
    font-family: 'Figtree', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

/* Lower main image slightly as requested */
.smile-image-float img {
    margin-top: 40px !important;
}


/* =========================================================================
   FEATURES CAROUSEL (SMILEMAKERS REPLICA)
========================================================================= */
.smile-features-section {
    width: 100%;
}

.smile-features-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.smile-features-title {
    font-family: 'Figtree', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.smile-features-arrows {
    display: flex;
    gap: 12px;
}

.smile-f-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    font-size: 16px;
    color: #333;
    transition: background 0.2s, transform 0.2s;
    user-select: none;
}

.smile-f-arrow:hover {
    background: #F0F0F0;
    transform: scale(1.05);
}

.smile-features-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 30px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    -webkit-overflow-scrolling: touch;
}

.smile-features-carousel::-webkit-scrollbar {
    display: none;
}

.smile-feature-card {
    flex: 0 0 85%;
    max-width: 320px;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    scroll-snap-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.smile-feature-card:hover,
.smile-feature-card:active {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.smile-feature-card-img-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    background: #FBE6E8;
    /* Soft pink background */
    overflow: hidden;
    position: relative;
    padding: 0;
}

.smile-feature-card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
}

.smile-feature-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.smile-feature-card-title {
    font-family: 'Figtree', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.smile-feature-card-text {
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}