/*
Theme Name: YensBaby Theme
Theme URI: https://dev.yensbaby.id/
Author: Antigravity Team
Description: YensBaby Custom E-commerce Theme Baseline
Version: 1.0.0
*/

/* ==========================================================================
   YEN'S BABY SHOP SITE ENHANCEMENTS (dev.yensbaby.id)
   - Header & Footer Color Harmonization (#1C3B5E Navy & #2D8ECD Sky Blue)
   - Banner Slider Styles (Pre-Produk Terlaris)
   - Mobile Layout Responsive Fixes
   - LILLA.ID EXACT REPLICA PRODUCT CARDS (COMPACT 100% DEAD-CENTERED + TAMBAH BUTTON)
   - PERFECT LILLA.ID LIGHT BLUE AUTHENTICATION PAGE (STRICT SINGLE CARD SWITCH)
   - LOGGED-IN PROFILE DASHBOARD STYLES (STRICT SIDE-BY-SIDE FLEXBOX)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HEADER & FOOTER COLOR HARMONIZATION (Match Footer Blue Color)
   -------------------------------------------------------------------------- */

.yens-topbar {
    background: #1C3B5E !important;
    color: #ffffff !important;
}

.yens-topbar a {
    color: #A8D5F0 !important;
    transition: color 0.2s ease;
}

.yens-topbar a:hover {
    color: #ffffff !important;
}

.yens-custom-header {
    border-bottom: 1.5px solid #C8E5FA !important;
    box-shadow: 0 4px 20px rgba(28, 59, 94, 0.06) !important;
}

.yens-custom-header a div[style*="background:#3B9BDC"],
.yens-custom-header a div[style*="background: #3B9BDC"] {
    background: #1C3B5E !important;
}

.yens-custom-header div[style*="color:#1C3B5E"],
.yens-custom-header div[style*="color: #1C3B5E"] {
    color: #1C3B5E !important;
}

.yens-custom-header div[style*="color:#3B9BDC"],
.yens-custom-header div[style*="color: #3B9BDC"] {
    color: #2D8ECD !important;
}

.yens-custom-header input[type="search"] {
    border: 1.5px solid #BCE0F7 !important;
    background: #F0F8FF !important;
    color: #1C3B5E !important;
}

.yens-custom-header input[type="search"]:focus {
    border-color: #1C3B5E !important;
    box-shadow: 0 0 0 3px rgba(28, 59, 94, 0.12) !important;
}

.yens-custom-header form span[style*="color:#3B9BDC"],
.yens-custom-header form span[style*="color: #3B9BDC"] {
    color: #1C3B5E !important;
}

.yens-custom-header a[href*="my-account"] {
    background: #1C3B5E !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(28,59,94,0.25) !important;
    transition: all 0.2s ease !important;
}

.yens-custom-header a[href*="my-account"]:hover {
    background: #2A5282 !important;
    transform: translateY(-1px);
}

.yens-custom-header a[href*="cart"] {
    background: #DCEEFB !important;
    color: #1C3B5E !important;
    border: 1px solid #BCE0F7 !important;
}

.yens-custom-header a[href*="cart"]:hover {
    background: #C8E5FA !important;
}

.yens-custom-header div[style*="border-top"] {
    border-top: 1px solid #EBF5FC !important;
}

.yens-custom-header div[style*="border-top"] a {
    color: #1C3B5E !important;
    font-weight: 700 !important;
    transition: color 0.2s ease !important;
}

.yens-custom-header div[style*="border-top"] a:hover {
    color: #2D8ECD !important;
}


/* --------------------------------------------------------------------------
   2. BANNER SLIDER STYLES
   -------------------------------------------------------------------------- */
.yens-banner-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--yens-background, #F8FAFC);
    padding: 20px 0 16px 0;
}

.yens-banner-slider-container {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    aspect-ratio: 1920 / 600;
}

.yens-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    height: 100%;
}

.yens-slide {
    position: relative;
    min-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

.yens-slide-img-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

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

/* Controls */
.yens-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    color: #0F172A;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
}

.yens-slider-arrow:hover {
    background: #FFFFFF;
    transform: translateY(-50%) scale(1.08);
}

.yens-slider-arrow.prev { left: 16px; }
.yens-slider-arrow.next { right: 16px; }

/* Dots */
.yens-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.yens-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.yens-dot.active {
    width: 24px;
    border-radius: 10px;
    background: #FFFFFF;
}


/* --------------------------------------------------------------------------
   3. LILLA.ID PRODUCT CARD (COMPACT 100% DEAD-CENTERED + TAMBAH BUTTON)
   -------------------------------------------------------------------------- */

.woocommerce ul.products li.product .button:not(.yens-btn-tambah),
.woocommerce ul.products li.product a.button:not(.yens-btn-tambah),
.woocommerce a.button.add_to_cart_button:not(.yens-btn-tambah),
.yens-hover-cart-btn,
.lilla-hover-add-to-cart,
.lilla-btn-add-bag:not(.yens-btn-tambah),
.added_to_cart {
    display: none !important;
}

/* ABSOLUTE SIBLING HIDING TO KILL ALL DOUBLE DUPLICATES */
.lilla-product-card ~ * {
    display: none !important;
}

.woocommerce ul.products li.product > *:not(.lilla-product-card),
ul.products li.product > *:not(.lilla-product-card) {
    display: none !important;
}

.woocommerce ul.products li.product,
ul.products.columns-4 li.product {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 24px !important;
    position: relative !important;
}

.lilla-product-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    position: relative !important;
    font-family: inherit !important;
}

.lilla-img-wrap {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    background: #F8FAFC !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
    transition: transform 0.25s ease !important;
}

.lilla-img-wrap a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.lilla-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    margin: 0 !important;
    transition: transform 0.3s ease !important;
}

.lilla-product-card:hover img {
    transform: scale(1.03) !important;
}

.lilla-wishlist-btn {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    color: #94A3B8 !important;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
    transition: all 0.2s ease !important;
    z-index: 12 !important;
}

.lilla-wishlist-btn:hover {
    color: #E11D48 !important;
    background: #ffffff !important;
}

/* LILLA.ID HOVER OVERLAY (FLEXBOX DEAD CENTER CONTAINER) */
.lilla-hover-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(15, 23, 42, 0.16) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: all 0.2s ease !important;
    z-index: 10 !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
}

.lilla-img-wrap:hover .lilla-hover-overlay,
.lilla-product-card:hover .lilla-hover-overlay {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* COMPACT PURPLE BUTTON: 🛒 + TAMBAH */
.woocommerce ul.products li.product a.yens-btn-tambah,
.woocommerce ul.products li.product .button.yens-btn-tambah,
a.yens-btn-tambah,
.yens-btn-tambah {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: auto !important;
    min-width: 104px !important;
    max-width: 110px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 14px !important;
    border-radius: 99px !important;
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%) !important;
    color: #ffffff !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4) !important;
    border: none !important;
    outline: none !important;
    margin: 0 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    line-height: 32px !important;
    white-space: nowrap !important;
}

.yens-btn-tambah:hover {
    background: linear-gradient(135deg, #7E22CE 0%, #6D28D9 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.55) !important;
}

.yens-btn-tambah::before,
.yens-btn-tambah::after,
.lilla-hover-overlay::before,
.lilla-hover-overlay::after {
    display: none !important;
    content: none !important;
}

.lilla-card-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

.lilla-brand-tag {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    color: #7C3AED !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
}

/* STRICT TITLE CLAMPING: MAXIMUM 2 LINES STRICT NO BLEED */
.lilla-product-title {
    font-size: 0.81rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 2px 0 5px 0 !important;
    height: 2.7em !important;
    max-height: 2.7em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    line-clamp: 2 !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
}

.lilla-product-title a {
    color: #1E293B !important;
    text-decoration: none !important;
    display: block !important;
    max-height: 2.7em !important;
    overflow: hidden !important;
}

.lilla-product-title a:hover { color: #7C3AED !important; }

.lilla-price-row {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    color: #E11D48 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
    margin-bottom: 2px !important;
}

.lilla-price-row del {
    font-size: 0.72rem !important;
    color: #94A3B8 !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
}

.lilla-price-row ins {
    text-decoration: none !important;
    color: #E11D48 !important;
    font-weight: 800 !important;
}

.lilla-rating-row {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    font-size: 0.75rem !important;
    color: #1E293B !important;
    margin-top: 1px !important;
}

.lilla-rating-row .lilla-star {
    color: #9333EA !important;
    font-size: 0.85rem !important;
}

.lilla-rating-row .lilla-score {
    font-weight: 800 !important;
    color: #1E293B !important;
}

.lilla-rating-row .lilla-count {
    color: #64748B !important;
    font-weight: 500 !important;
}


/* --------------------------------------------------------------------------
   4. PERFECT LILLA.ID LIGHT BLUE AUTHENTICATION PAGE (STRICT SINGLE CARD TOGGLE)
   -------------------------------------------------------------------------- */

body.woocommerce-account,
body.page-id-9 {
    background-color: #DCEEFB !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-account main#wp--skip-link--target,
body.woocommerce-account .entry-content,
body.woocommerce-account .wp-block-post-content,
body.woocommerce-account .woocommerce,
body.page-id-9 main#wp--skip-link--target,
body.page-id-9 .entry-content,
body.page-id-9 .wp-block-post-content,
body.page-id-9 .woocommerce {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

body.woocommerce-account h1.wp-block-post-title,
body.page-id-9 h1.wp-block-post-title {
    display: none !important;
}

/* Full Width Light Blue Wrapper */
.yens-lilla-login-wrapper {
    width: 100% !important;
    min-height: 85vh !important;
    background: linear-gradient(135deg, #DCEEFB 0%, #BCE0F7 50%, #EBF5FC 100%) !important;
    padding: 60px 24px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

/* Decorative Background Glows */
.yens-lilla-login-wrapper::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    filter: blur(90px);
    pointer-events: none;
}

.yens-lilla-login-wrapper::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(45, 142, 205, 0.2);
    filter: blur(100px);
    pointer-events: none;
}

/* STRICT SIDE-BY-SIDE FLEX CONTAINER ON DESKTOP & TABLET */
.yens-lilla-auth-container {
    max-width: 1050px !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 48px !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 2 !important;
}

/* LEFT HERO COLUMN (50% WIDTH) */
.yens-login-hero {
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 500px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

.yens-hero-title {
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    color: #1C3B5E !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    letter-spacing: -0.5px !important;
}

.yens-hero-desc {
    font-size: 0.98rem !important;
    color: #334155 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.yens-hero-features {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 4px !important;
}

.yens-feat-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #1C3B5E !important;
}

.yens-hero-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 12px !important;
}

.yens-hero-badges span {
    background: rgba(255, 255, 255, 0.8) !important;
    color: #1C3B5E !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    padding: 6px 14px !important;
    border-radius: 99px !important;
    border: 1px solid rgba(28, 59, 94, 0.1) !important;
    box-shadow: 0 2px 6px rgba(28, 59, 94, 0.04) !important;
}

/* RIGHT ELEVATED WHITE LOGIN CARD (50% WIDTH) */
#customer_login,
.col2-set {
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 450px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

#customer_login .col-1,
#customer_login .u-column1,
#customer_login .col-2,
#customer_login .u-column2,
.col2-set .col-1,
.col2-set .u-column1,
.col2-set .col-2,
.col2-set .u-column2 {
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 48px rgba(28, 59, 94, 0.14) !important;
    padding: 40px 36px !important;
    box-sizing: border-box !important;
    border: 1px solid #EBF5FC !important;
    float: none !important;
    margin: 0 !important;
}

/* ABSOLUTE PREVENT STACKING: DEFAULT HIDE REGISTER CARD (col-2) */
#customer_login .col-2,
#customer_login .u-column2,
.col2-set .col-2,
.col2-set .u-column2 {
    display: none !important;
}

#customer_login .col-1,
#customer_login .u-column1,
.col2-set .col-1,
.col2-set .u-column1 {
    display: block !important;
}

/* SHOW REGISTER STATE: HIDE LOGIN (col-1), SHOW REGISTER (col-2) */
#customer_login.show-register .col-1,
#customer_login.show-register .u-column1,
.col2-set.show-register .col-1,
.col2-set.show-register .u-column1 {
    display: none !important;
}

#customer_login.show-register .col-2,
#customer_login.show-register .u-column2,
.col2-set.show-register .col-2,
.col2-set.show-register .u-column2 {
    display: block !important;
}

#customer_login h2,
.col2-set h2 {
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    color: #1C3B5E !important;
    margin: 0 0 20px 0 !important;
    text-align: center !important;
}

/* SOCIAL BUTTONS (GOOGLE & FACEBOOK SIDE-BY-SIDE) */
.yens-social-login-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
}

.yens-social-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 44px !important;
    border-radius: 12px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.yens-social-btn.btn-google {
    background: #ffffff !important;
    border: 1.5px solid #CBD5E1 !important;
    color: #1E293B !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.yens-social-btn.btn-google:hover {
    border-color: #94A3B8 !important;
    background: #F8FAFC !important;
    transform: translateY(-1px) !important;
}

.yens-social-btn.btn-facebook {
    background: #1877F2 !important;
    border: 1.5px solid #1877F2 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25) !important;
}

.yens-social-btn.btn-facebook:hover {
    background: #166FE5 !important;
    transform: translateY(-1px) !important;
}

/* AUTH DIVIDER */
.yens-auth-divider {
    display: flex !important;
    align-items: center !important;
    text-align: center !important;
    color: #94A3B8 !important;
    font-size: 0.8rem !important;
    margin: 18px 0 22px 0 !important;
}

.yens-auth-divider::before,
.yens-auth-divider::after {
    content: '' !important;
    flex: 1 !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

.yens-auth-divider span {
    padding: 0 12px !important;
    font-weight: 500 !important;
}

/* FORM FIELDS */
#customer_login form .form-row,
.col2-set form .form-row {
    margin-bottom: 16px !important;
    padding: 0 !important;
}

#customer_login form label,
.col2-set form label {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

#customer_login form input.input-text,
.col2-set form input.input-text {
    width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    border: 1.5px solid #CBD5E1 !important;
    font-size: 0.92rem !important;
    color: #1E293B !important;
    background: #F8FAFC !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

#customer_login form input.input-text:focus,
.col2-set form input.input-text:focus {
    border-color: #2D8ECD !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(45, 142, 205, 0.15) !important;
}

/* LOST PASSWORD */
#customer_login .lost_password,
.col2-set .lost_password {
    text-align: right !important;
    margin-top: 4px !important;
    margin-bottom: 16px !important;
}

#customer_login .lost_password a,
.col2-set .lost_password a {
    color: #E11D48 !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* SUBMIT BUTTON */
#customer_login button.button,
#customer_login button[type="submit"],
.col2-set button.button,
.col2-set button[type="submit"] {
    width: 100% !important;
    height: 48px !important;
    border-radius: 99px !important;
    background: linear-gradient(135deg, #1C3B5E 0%, #2D8ECD 100%) !important;
    color: #ffffff !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(28, 59, 94, 0.2) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#customer_login button.button:hover,
#customer_login button[type="submit"]:hover,
.col2-set button.button:hover,
.col2-set button[type="submit"]:hover {
    background: linear-gradient(135deg, #2D8ECD 0%, #1C3B5E 100%) !important;
    transform: translateY(-1px) !important;
}

/* TOGGLE FOOTER */
.yens-auth-toggle-footer {
    margin-top: 24px !important;
    background: #F0F8FF !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    text-align: center !important;
    font-size: 0.88rem !important;
    color: #475569 !important;
}

.yens-auth-toggle-footer a {
    color: #2D8ECD !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    margin-left: 4px !important;
}

/* STYLING WOOCOMMERCE ERROR & INFO NOTICES MATCHING LILLA.ID */
.woocommerce-NoticeGroup,
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 14px 18px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    list-style: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce-error {
    background: #FFF1F2 !important;
    border: 1.5px solid #F43F5E !important;
    color: #9F1239 !important;
}

.woocommerce-info {
    background: #F0F9FF !important;
    border: 1.5px solid #0284C7 !important;
    color: #075985 !important;
}

.woocommerce-message {
    background: #F0FDF4 !important;
    border: 1.5px solid #16A34A !important;
    color: #166534 !important;
}

.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}


/* --------------------------------------------------------------------------
   5. LOGGED-IN PROFILE DASHBOARD STYLES (STRICT SIDE-BY-SIDE FLEXBOX)
   -------------------------------------------------------------------------- */

body.logged-in.woocommerce-account {
    background-color: #DCEEFB !important;
}

body.logged-in.woocommerce-account main#wp--skip-link--target,
body.logged-in.woocommerce-account .entry-content,
body.logged-in.woocommerce-account .wp-block-post-content,
body.logged-in.woocommerce-account .woocommerce {
    max-width: 1140px !important;
    width: 100% !important;
    margin: 40px auto !important;
    padding: 0 16px !important;
    background: transparent !important;
}

/* STRICT FLEXBOX SIDE-BY-SIDE CONTAINER FOR DESKTOP */
body.logged-in.woocommerce-account .woocommerce {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 32px !important;
    box-sizing: border-box !important;
}

body.logged-in.woocommerce-account .woocommerce::before,
body.logged-in.woocommerce-account .woocommerce::after {
    display: none !important;
}

/* LEFT NAVIGATION SIDEBAR CARD (280px STRICT FIXED WIDTH) */
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 280px !important;
    width: 280px !important;
    max-width: 280px !important;
    min-width: 280px !important;
    float: none !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 24px 18px !important;
    box-shadow: 0 16px 40px rgba(28, 59, 94, 0.08) !important;
    border: 1px solid #EBF5FC !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 20px !important;
    border-radius: 14px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: #F0F8FF !important;
    color: #2D8ECD !important;
    transform: translateX(3px) !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: linear-gradient(135deg, #1C3B5E 0%, #2D8ECD 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(28, 59, 94, 0.22) !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #E11D48 !important;
    margin-top: 10px !important;
    border-top: 1px solid #F1F5F9 !important;
    padding-top: 16px !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #FFF1F2 !important;
    color: #BE123C !important;
}

/* RIGHT CONTENT CARD (EXPANDS TO FILL REMAINING SPACE) */
body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1 1 auto !important;
    width: calc(100% - 312px) !important;
    max-width: 820px !important;
    float: none !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 38px 34px !important;
    box-shadow: 0 16px 40px rgba(28, 59, 94, 0.08) !important;
    border: 1px solid #EBF5FC !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    color: #1E293B !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content p:first-of-type {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #1C3B5E !important;
    background: #F0F8FF !important;
    padding: 18px 22px !important;
    border-radius: 16px !important;
    border-left: 5px solid #2D8ECD !important;
    margin-bottom: 24px !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content form .form-row {
    margin-bottom: 18px !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content form label {
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content form input.input-text {
    width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    border: 1.5px solid #CBD5E1 !important;
    font-size: 0.92rem !important;
    color: #1E293B !important;
    background: #F8FAFC !important;
    outline: none !important;
    box-sizing: border-box !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content button.button {
    height: 46px !important;
    padding: 0 28px !important;
    border-radius: 99px !important;
    background: linear-gradient(135deg, #1C3B5E 0%, #2D8ECD 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.9rem !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 6px 18px rgba(28, 59, 94, 0.2) !important;
}


/* --------------------------------------------------------------------------
   6. MOBILE HP BREAKPOINT ONLY (SCREEN WIDTH <= 768PX)
   -------------------------------------------------------------------------- */


@media (max-width: 768px) {
    /* Global Container Overflow Fix */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    body.logged-in.woocommerce-account .woocommerce {
        flex-direction: column !important;
        gap: 20px !important;
        padding: 0 14px !important;
        margin: 20px auto !important;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        padding: 18px 14px !important;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px 18px !important;
    }

    .yens-lilla-login-wrapper {
        padding: 30px 16px !important;
        min-height: auto !important;
    }

    .yens-lilla-auth-container {
        flex-direction: column !important;
        gap: 28px !important;
        max-width: 100% !important;
    }

    .yens-login-hero {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        align-items: center !important;
    }

    .yens-hero-title {
        font-size: 1.5rem !important;
    }

    .yens-hero-desc {
        font-size: 0.88rem !important;
    }

    .yens-hero-features {
        align-items: center !important;
    }

    .yens-hero-badges {
        justify-content: center !important;
    }

    #customer_login,
    .col2-set {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #customer_login .col-1,
    #customer_login .u-column1,
    #customer_login .col-2,
    #customer_login .u-column2,
    .col2-set .col-1,
    .col2-set .u-column1,
    .col2-set .col-2,
    .col2-set .u-column2 {
        padding: 28px 20px !important;
        border-radius: 18px !important;
    }

    /* Topbar Mobile Alignment */
    .yens-topbar {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }

    .yens-topbar > div {
        flex-direction: column !important;
        gap: 6px !important;
        text-align: center !important;
    }

    .yens-topbar div[style*="display:flex;align-items:center;gap:15px"] {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    /* Header Layout Mobile */
    .yens-custom-header {
        position: relative !important;
    }

    .yens-custom-header > div:first-child {
        padding: 10px 14px !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    /* Logo & Actions Top Row */
    .yens-custom-header a[href="https://dev.yensbaby.id/"] {
        order: 1;
    }

    .yens-custom-header div[style*="display:flex;align-items:center;gap:12px"] {
        order: 2;
        gap: 8px !important;
    }

    .yens-custom-header a[href*="my-account"] {
        padding: 6px 12px !important;
        font-size: 0.78rem !important;
    }

    .yens-custom-header a[href*="cart"] {
        padding: 6px 10px !important;
        font-size: 0.78rem !important;
    }

    /* Full Width Search Bar Underneath */
    .yens-custom-header div[style*="flex:1;max-width:500px"] {
        order: 3;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-top: 2px;
    }

    /* Category Nav Bar Mobile Horizontal Scroll */
    .yens-custom-header div[style*="border-top"] {
        padding: 6px 12px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .yens-custom-header div[style*="border-top"] > div {
        gap: 14px !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }



    /* WooCommerce Product Grid Mobile Fix (2 Columns) */
    .woocommerce ul.products,
    ul.products.columns-4 {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .yens-btn-tambah {
        font-size: 0.7rem !important;
        min-width: 96px !important;
        max-width: 96px !important;
        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
        line-height: 28px !important;
    }

    /* Footer Mobile Adjustments */
    .yens-lilla-footer-banner > div {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
    }

    .yens-lilla-footer > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}


/* ==========================================================================
   AUTHORITATIVE CART VISUAL SECTION (PHASE 10.48)
   ========================================================================== */
.woocommerce-cart .site-main {
  padding-top: 32px !important;
  padding-bottom: 48px !important;
  background-color: #F8FAFC !important;
}

.woocommerce-cart .woocommerce {
  max-width: 1280px !important;
  width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  display: block !important;
}

.woocommerce-cart .woocommerce::before,
.woocommerce-cart .woocommerce::after {
  display: none !important;
}

/* Empty Cart Presentation */
.woocommerce-cart .wc-empty-cart-message {
  display: none !important;
}

.woocommerce-cart .yens-empty-cart-wrap {
  display: block !important;
  width: 100% !important;
  max-width: 600px !important;
  margin: 40px auto !important;
  text-align: center !important;
}

.woocommerce-cart .yens-empty-cart-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 48px 32px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  text-align: center !important;
}

.woocommerce-cart .yens-empty-cart-icon {
  font-size: 3rem !important;
  color: #0984E3 !important;
  margin-bottom: 16px !important;
}

.woocommerce-cart .yens-empty-cart-title {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  margin-bottom: 8px !important;
}

.woocommerce-cart .yens-empty-cart-sub {
  font-size: 1rem !important;
  color: #64748B !important;
  margin-bottom: 24px !important;
}

.woocommerce-cart .yens-empty-cart-cta-row {
  text-align: center !important;
}

@media (max-width: 991px) {
  .woocommerce-cart .woocommerce {
    display: block !important;
    width: 100% !important;
  }
}

/* ==========================================================================
   AUTHORITATIVE CHECKOUT VISUAL SECTION (PHASE 10.48)
   ========================================================================== */
.woocommerce-checkout .site-main {
  padding-top: 32px !important;
  padding-bottom: 48px !important;
  background-color: #F8FAFC !important;
}

.woocommerce-checkout .woocommerce {
  max-width: 1280px !important;
  width: calc(100% - 48px) !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.woocommerce-checkout .woocommerce::before,
.woocommerce-checkout .woocommerce::after {
  display: none !important;
}

.yens-checkout-layout-grid,
form.checkout.woocommerce-checkout {
  display: grid !important;
  grid-template-columns: 1fr 440px !important;
  gap: 32px !important;
  align-items: start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.yens-checkout-main-col,
#customer_details {
  width: 100% !important;
  max-width: 100% !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  box-sizing: border-box !important;
}

.yens-checkout-sidebar-col,
#order_review_heading,
#order_review {
  width: 100% !important;
  max-width: 100% !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  box-sizing: border-box !important;
}

/* ORDER SUMMARY TABLE (STEP 9) */
.woocommerce-checkout-review-order-table,
table.shop_table {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}

.woocommerce-checkout-review-order-table th.product-name,
.woocommerce-checkout-review-order-table td.product-name {
  width: 70% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  padding: 12px 14px !important;
}

.woocommerce-checkout-review-order-table th.product-total,
.woocommerce-checkout-review-order-table td.product-total {
  width: 30% !important;
  white-space: nowrap !important;
  text-align: right !important;
  padding: 12px 14px !important;
}

/* XENDIT CARD VISUAL (STEP 10) */
#payment,
.woocommerce-checkout-payment {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #F8FAFC !important;
  border-radius: 12px !important;
  padding: 20px !important;
}

#payment ul.payment_methods label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 600 !important;
  white-space: normal !important;
  word-break: normal !important;
}

#payment .payment_box {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 14px 16px !important;
  margin-top: 10px !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

.place-order {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 16px 0 0 0 !important;
  margin-top: 20px !important;
}

#place_order {
  width: 100% !important;
  display: block !important;
  height: 52px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  border-radius: 10px !important;
  background-color: #0984E3 !important;
  color: #FFFFFF !important;
  border: none !important;
  cursor: pointer !important;
}

@media (max-width: 991px) {
  .yens-checkout-layout-grid,
  form.checkout.woocommerce-checkout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}
