/*
Theme Name: Elm New
Theme URI: https://elumor.co.id
Author: Elumor Team
Author URI: https://elumor.co.id
Description: Custom theme converted from HTML. Cheerful and Pop style.
Version: 1.0
Text Domain: elm-new
*/

/* --- CHEERFUL THEME VARIABLES --- */
:root {
    --pop-pink: #FF85A2;
    /* Pink cerah tapi lembut */
    --pop-pink-dark: #FF5C85;
    --pop-yellow: #FFDF6C;
    /* Kuning aksen */
    --pop-blue: #A2D2FF;
    /* Biru langit */
    --pop-mint: #9BF6FF;
    /* Mint segar */
    --pop-purple: #CDB4DB;
    /* Ungu pastel */

    --text-main: #4A4A4A;
    /* Hitam tidak pekat */
    --text-light: #7D7D7D;

    --bg-body: #FFFDF9;
    /* Cream sangat muda */

    --radius-box: 24px;
    --radius-pill: 50px;

    /* Shadow gaya 'Soft Pop' */
    --shadow-pop: 4px 4px 0px rgba(0, 0, 0, 0.1);
    --shadow-hover: 6px 6px 0px rgba(0, 0, 0, 0.15);
}

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

h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.btn {
    font-family: 'Fredoka', sans-serif;
    /* Heading font */
}

.handwritten {
    font-family: 'Gloria Hallelujah', cursive;
}

body {
    background-color: var(--bg-body);
    /* Pola buku tulis kotak-kotak pudar */
    background-image:
        linear-gradient(rgba(162, 210, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(162, 210, 255, 0.2) 1px, transparent 1px);
    background-size: 30px 30px;
    color: var(--text-main);
    overflow-x: hidden;
    padding-bottom: 60px;
    /* Space for floating button on mobile */
}

.container {
    max-width: 1100px;
    /* Sedikit lebih ramping agar cozy */
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-box);
}

/* --- BUTTONS POP STYLE --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Efek membal */
    border: 2px solid transparent;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-4px) rotate(-1deg);
    box-shadow: var(--shadow-hover);
}

.btn-pink {
    background-color: var(--pop-pink);
    color: white;
    box-shadow: var(--shadow-pop);
}

.btn-yellow {
    background-color: var(--pop-yellow);
    color: var(--text-main);
    box-shadow: var(--shadow-pop);
}

/* --- MARQUEE (RUNNING TEXT) --- */
.marquee-container {
    background: var(--pop-pink-dark);
    color: white;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 101;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--text-main);
}

.marquee-content {
    display: inline-block;
    /* Diperlambat lagi menjadi 50s agar lebih nyaman dibaca */
    animation: marquee 35s linear infinite;
}

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

    /* Menggeser 50% panjang konten agar looping sempurna (karena teks diduplikasi genap) */
    100% {
        transform: translateX(-50%);
    }
}

/* --- HEADER BUBBLY --- */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 3px dashed var(--pop-blue);
    /* Garis putus-putus lucu */
    margin-bottom: 30px;
}

/* WooCommerce pages: prevent duplicate dashed header line from DesignThemes wrapper */
body.woocommerce-shop #header-wrapper,
body.single-product #header-wrapper,
body.tax-product_cat #header-wrapper,
body.tax-product_tag #header-wrapper {
    display: none;
}

body.woocommerce-shop header.woocommerce-products-header,
body.tax-product_cat header.woocommerce-products-header,
body.tax-product_tag header.woocommerce-products-header {
    display: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 28px;
    color: var(--pop-pink-dark);
    text-shadow: 2px 2px 0px var(--pop-yellow);
}

/* Navigation Menu Styles */
.nav-links {
    display: flex;
    gap: 30px;
    background: white;
    padding: 10px 25px;
    border-radius: 50px;
    border: 2px solid var(--pop-blue);
}

.nav-links a {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--pop-pink);
    transform: scale(1.1);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--pop-pink);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    background: var(--pop-pink-dark);
    transform: rotate(90deg);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid var(--pop-blue);
    border-radius: 15px;
    padding: 10px 0;
    min-width: 150px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 10px;
}

.nav-dropdown .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--pop-blue);
}

.nav-dropdown .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-main);
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

.nav-dropdown .dropdown-menu a:hover {
    background: var(--pop-pink);
    color: white;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

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

.icon-btn {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--pop-pink);
    color: var(--pop-pink);
    transition: all 0.2s;
    cursor: pointer;
}

.icon-btn:hover {
    background: var(--pop-pink);
    color: white;
    transform: rotate(10deg);
}

.cart-badge {
    background: var(--pop-yellow);
    color: var(--text-main);
    border: 2px solid var(--text-main);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    border-radius: var(--radius-box);
    background: var(--pop-mint);
    /* Ganti background image dengan warna solid + elemen */
    height: auto;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: visible;
    /* Biarkan elemen keluar kotak */
    margin-bottom: 60px;
    border: 3px solid var(--text-main);
    box-shadow: 8px 8px 0px var(--text-main);
}

.hero-inner {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 40px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-img-col {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-photo {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50% 50% 40% 60% / 50% 60% 40% 50%;
    /* Bentuk blob organik */
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--pop-pink);
    animation: morph 6s ease-in-out infinite;
    background: white;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 50% 50% 40% 60% / 50% 60% 40% 50%;
    }

    50% {
        border-radius: 40% 60% 50% 50% / 60% 50% 50% 40%;
    }
}

.hero-tag {
    display: inline-block;
    background: white;
    color: var(--pop-pink-dark);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    font-weight: 800;
    border: 2px solid var(--pop-pink-dark);
    transform: rotate(-2deg);
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero-title span {
    color: white;
    text-shadow: 3px 3px 0px var(--text-main);
    -webkit-text-stroke: 1.5px var(--text-main);
}

.sticker {
    position: absolute;
    pointer-events: none;
    filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.1));
}

.s-1 {
    top: -20px;
    right: -20px;
    font-size: 40px;
    transform: rotate(15deg);
}

.s-2 {
    bottom: 20px;
    left: -30px;
    font-size: 50px;
    transform: rotate(-10deg);
    color: var(--pop-yellow);
}

/* --- CATEGORY LINKS (NEW) --- */
.category-scroll {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

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

.cat-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 2px solid var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--pop-pink-dark);
    box-shadow: 3px 3px 0 var(--pop-blue);
}

.cat-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
}

/* --- INTRO CHAT BUBBLE --- */
.intro {
    text-align: center;
    margin: 0 auto 60px;
    /* Adjusted margin */
    max-width: 700px;
    background: white;
    padding: 30px;
    border-radius: var(--radius-box);
    border: 3px solid var(--pop-purple);
    position: relative;
}

.intro::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: var(--pop-purple) transparent;
    display: block;
    width: 0;
}

.intro h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--pop-pink-dark);
}

.intro p {
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.6;
}

/* --- TRUST BADGES (NEW) --- */
.trust-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid var(--pop-pink);
    font-weight: 700;
    color: var(--pop-pink-dark);
    font-size: 14px;
}

.trust-item i {
    color: var(--pop-yellow);
    font-size: 18px;
    -webkit-text-stroke: 1px var(--pop-pink-dark);
}

/* --- PROMO STICKER BANNER --- */
.promo-banner {
    background-color: var(--pop-yellow);
    border-radius: var(--radius-box);
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
    border: 3px solid var(--text-main);
    box-shadow: 6px 6px 0px var(--pop-pink);
}

.promo-content h3 {
    font-size: 32px;
    color: var(--text-main);
    margin-bottom: 15px;
}

.highlight-marker {
    background: linear-gradient(120deg, white 0%, white 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 80%;
    padding: 0 5px;
}

/* --- PRODUCT CARDS --- */
.section-title {
    font-size: 32px;
    color: var(--text-main);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--pop-mint);
    z-index: -1;
    opacity: 0.6;
    border-radius: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.product-card {
    background: white;
    padding: 15px;
    padding-bottom: 25px;
    box-shadow: var(--shadow-pop);
    border: 2px solid var(--text-main);
    border-radius: 15px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: var(--shadow-hover);
}

.badge-off {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--pop-pink);
    color: white;
    padding: 12px 10px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
    transform: rotate(15deg);
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.product-grid--shop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 80px;
    justify-items: stretch;
}

.product-card--shop {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: none;
    padding: 25px 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.product-img-wrapper--shop {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.product-img-wrapper--shop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info--shop {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.product-info--shop h4 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.product-info--shop h4 a {
    color: var(--text-main);
}

.product-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-light);
}

.btn-shop-link {
    width: auto;
    padding: 10px 20px;
}

.badge-off--shop {
    position: absolute;
    top: 12px;
    right: 12px;
    transform: none;
    border-radius: 12px;
    padding: 6px 12px;
    font-size: 11px;
}

@media (max-width: 1200px) {
    .product-grid--shop {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* --- WOOCOMMERCE DEFAULT SHOP GRID MINIMAL --- */
.woocommerce ul.products {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.woocommerce ul.products li.product {
    border: none;
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.woocommerce ul.products li.product a {
    text-decoration: none;
    color: inherit;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding: 0 16px;
    text-align: center;
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .woocommerce-loop-product__rating {
    display: none;
}

.woocommerce ul.products li.product .button {
    margin-bottom: 1.25rem;
    border-radius: 999px;
}

@media (max-width: 1200px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

/* --- CUSTOM SHOP GRID OVERRIDES FOR DE-SIGN THEMES --- */
body.woocommerce-shop .product-grid-view {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
}

body.woocommerce-shop .product-grid-view > li {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    list-style: none;
}

body.woocommerce-shop .product-wrapper {
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: #fff;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

body.woocommerce-shop .product-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

body.woocommerce-shop .product-thumb {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    height: 230px;
    position: relative;
    background: #f7f7f7;
}

body.woocommerce-shop .product-thumb .primary-image,
body.woocommerce-shop .product-thumb .secondary-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
}

body.woocommerce-shop .product-thumb-content,
body.woocommerce-shop .product-buttons-wrapper,
body.woocommerce-shop .product-price,
body.woocommerce-shop .product-rating-wrapper,
body.woocommerce-shop .product-short-description,
body.woocommerce-shop .product-labels {
    display: none !important;
}

body.woocommerce-shop .product-details {
    width: 100%;
    padding: 0;
}

body.woocommerce-shop .product-title h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    text-align: center;
}

body.woocommerce-shop .product-title h5 a {
    color: var(--text-main);
}

body.woocommerce-shop .product-wrapper .button {
    border-radius: 999px;
    padding: 10px 24px;
    font-weight: 600;
}

body.woocommerce-shop .product-wrapper .product-thumb-overlay {
    display: none;
}

@media (max-width: 1200px) {
    body.woocommerce-shop .product-grid-view > li {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    body.woocommerce-shop .product-grid-view > li {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.product-img-wrapper {
    height: 250px;
    width: 100%;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 10px;
    border: 2px solid #eee;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Style deskripsi produk ringkas di kartu */
.product-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-tag {
    display: inline-block;
    background: var(--pop-mint);
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    color: var(--text-main);
    margin-top: auto;
    /* Push price to bottom */
}

.old-price {
    font-size: 12px;
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 5px;
}

/* --- PRODUCT SPOTLIGHT (NEW SECTION) --- */
.spotlight-section {
    margin-bottom: 80px;
}

.spotlight-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Mobile Spotlight layout handled at <= 960px */

.spotlight-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.8));
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: stretch;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
}

.spotlight-card.zigzag-right {
    flex-direction: row-reverse;
}

.spotlight-card .spotlight-img {
    flex: 1;
    max-width: 420px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.spotlight-card .spotlight-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.spotlight-card .spotlight-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spotlight-card .spotlight-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pop-pink-dark);
    font-weight: 700;
}

.spotlight-card h3 {
    font-size: 32px;
    margin: 0;
    color: var(--text-main);
}

.spotlight-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 960px) {
    .spotlight-card {
        flex-direction: column !important;
    }

    .spotlight-card .spotlight-img {
        max-width: 100%;
    }
}

.spotlight-item {
    display: flex;
    align-items: center;
    gap: 40px;
    background: white;
    border-radius: var(--radius-box);
    border: 2px solid var(--text-main);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 6px 6px 0 var(--pop-purple);
}



.spotlight-content {
    flex: 1.2;
    padding: 40px;
}

.spotlight-content h3 {
    font-size: 24px;
    color: var(--pop-pink-dark);
    margin-bottom: 15px;
}

.spotlight-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* --- BLOG SECTION --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.blog-card {
    background: white;
    border-radius: var(--radius-box);
    border: 2px solid var(--text-main);
    overflow: hidden;
    transition: all 0.2s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 12px;
    color: var(--pop-pink-dark);
    font-weight: 700;
}

.blog-title {
    font-size: 16px;
    margin: 10px 0;
    line-height: 1.4;
}

/* --- VALUE SECTION (NOTEBOOK STYLE) --- */
.value-section {
    background: white;
    border-radius: var(--radius-box);
    display: flex;
    overflow: hidden;
    margin-bottom: 80px;
    border: 3px solid var(--text-main);
    background-image: repeating-linear-gradient(transparent, transparent 29px, #A2D2FF 30px);
}

.value-text {
    flex: 1;
    padding: 60px;
    background: rgba(255, 255, 255, 0.95);
}

.value-text h2 {
    font-family: 'Gloria Hallelujah', cursive;
    font-size: 32px;
    color: var(--pop-pink-dark);
    transform: rotate(-2deg);
    margin-bottom: 20px;
}

.value-img {
    flex: 1;
    min-height: 400px;
    position: relative;
    padding: 20px;
}

.value-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border: 6px solid var(--pop-pink-dark);
    border-radius: 20px;
}

.tape {
    position: absolute;
    width: 120px;
    height: 35px;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
    top: 20px;
    left: -30px;
    z-index: 5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* --- TESTIMONIAL SECTION --- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
}

.testi-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius-box);
    border: 2px solid var(--text-main);
    position: relative;
    box-shadow: 4px 4px 0 var(--pop-purple);
}

.testi-stars {
    color: #FFD700;
    margin-bottom: 10px;
    font-size: 14px;
}

.testi-text {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    font-size: 15px;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    background: #eee;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--pop-pink);
}

.testi-name {
    font-weight: 700;
    font-size: 14px;
}

/* --- FAQ SECTION (NEW) --- */
.faq-section {
    margin-bottom: 80px;
}

.faq-item {
    background: white;
    border: 2px solid var(--text-main);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.05);
}

.faq-item summary {
    padding: 15px 20px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 800;
    color: var(--pop-pink);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item[open] summary {
    border-bottom: 1px dashed #eee;
    background: var(--bg-body);
}

.faq-item p {
    padding: 15px 20px;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

/* --- NEWSLETTER SECTION --- */
.newsletter-section {
    background: var(--pop-blue);
    border-radius: var(--radius-box);
    padding: 50px;
    text-align: center;
    border: 3px solid var(--text-main);
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 20px auto 0;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    border: 2px solid var(--text-main);
    font-family: 'Nunito', sans-serif;
    outline: none;
}

.bg-deco {
    position: absolute;
    opacity: 0.15;
    font-size: 150px;
    color: white;
    z-index: 1;
}

/* --- FLOATING WHATSAPP --- */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s;
}

.floating-wa:hover {
    transform: scale(1.1) rotate(10deg);
}

.tooltip-wa {
    position: absolute;
    right: 75px;
    background: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.floating-wa:hover .tooltip-wa {
    opacity: 1;
}

/* --- FOOTER --- */
footer {
    background: var(--pop-purple);
    padding: 60px 0 30px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    border-top: 4px solid var(--text-main);
    color: white;
}

.footer-col h4 {
    color: var(--pop-yellow);
    font-size: 20px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 0 #888;
}

.footer-col ul li a {
    color: white;
    font-weight: 600;
}

.footer-col ul li a:hover {
    color: var(--pop-yellow);
    text-decoration: underline;
    text-decoration-style: wavy;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        padding-top: 30px;
        min-height: auto;
    }

    .hero-inner {
        flex-direction: column-reverse;
        padding: 20px;
        text-align: center;
    }

    .hero-photo {
        width: 250px;
        height: 250px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .value-section {
        flex-direction: column-reverse;
    }

    .spotlight-item,
    .spotlight-item:nth-child(even) {
        flex-direction: column;
    }

    .spotlight-img {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid var(--text-main);
        height: 250px;
    }

    .spotlight-item:nth-child(even) .spotlight-img {
        border-left: none;
        border-bottom: 2px solid var(--text-main);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        border-radius: 0 0 20px 20px;
        border: 2px solid var(--pop-blue);
        border-top: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 0;
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: center;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

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

    .header-inner {
        position: relative;
    }

    /* Mobile Dropdown */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown .dropdown-toggle {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: center;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        transform: none;
        border: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        background: #f9f9f9;
    }

    .nav-dropdown .dropdown-menu::before {
        display: none;
    }

    .nav-dropdown .dropdown-menu a {
        padding: 12px 20px;
        font-size: 14px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .trust-section {
        gap: 10px;
    }

    .trust-item {
        padding: 8px 15px;
        font-size: 12px;
    }

    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    /* Responsive Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 30px !important;
    }

    .footer-col h4 {
        margin-top: 20px;
    }

    .footer-col .social-icons {
        justify-content: center;
    }

    /* Responsive Contact Page */
    .container>div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* FORCE 3 COLUMN GRID FOR DESIGN THEMES PLUGIN */
.dtiva-products-listing-layout1 ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.dt-col-lg-3 {
    width: calc(33.333% - 13.333px) !important;
    flex: 0 0 calc(33.333% - 13.333px) !important;
    max-width: calc(33.333% - 13.333px) !important;
}

.dt-col-md-6 {
    width: calc(50% - 10px) !important;
    flex: 0 0 calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
}

.dt-col-xs-12 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}


/* FORCE GRID FOR WOOCOMMERCE SHOP */
body.woocommerce-shop ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.woocommerce-shop ul.products > li {
    flex: 0 0 calc(33.333% - 20px) !important;
    max-width: calc(33.333% - 20px) !important;
    width: calc(33.333% - 20px) !important;
}

body.woocommerce-shop .dt-col-lg-3 {
    width: 100% !important;
    flex: 1 1 100% !important;
    max-width: 100% !important;
}

body.woocommerce-shop .product-grid-view > .dt-col {
    width: 100% !important;
}

/* FIX IMAGE STRETCH */
body.woocommerce-shop .primary-image,
body.woocommerce-shop .secondary-image {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Mobile shop: 2-column marketplace layout */
@media (max-width: 768px) {
    body.woocommerce-shop ul.products {
        gap: 12px !important;
    }

    body.woocommerce-shop ul.products > li {
        flex: 0 0 calc(50% - 6px) !important;
        max-width: calc(50% - 6px) !important;
        width: calc(50% - 6px) !important;
    }

    body.woocommerce-shop .product-wrapper {
        padding: 12px !important;
        min-height: auto !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06) !important;
    }

    body.woocommerce-shop .product-thumb {
        height: 170px !important;
    }

    body.woocommerce-shop .primary-image {
        height: 100% !important;
        background-size: cover !important;
        background-position: center !important;
    }

    body.woocommerce-shop .secondary-image {
        display: none !important;
    }

    body.woocommerce-shop .product-title h5 {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }
}

/* Very small phones: fallback to 1-column */
@media (max-width: 420px) {
    body.woocommerce-shop ul.products > li {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    body.woocommerce-shop .product-thumb {
        height: 220px !important;
    }
}

/* ==============================================================
   WOOCOMMERCE SINGLE PRODUCT - CUSTOM ELUMOR DESIGN
   ============================================================== */

.elm-single-product-container .woocommerce-breadcrumb {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}
.elm-single-product-container .woocommerce-breadcrumb a {
    color: var(--text-main);
    font-weight: 600;
}

/* 2-Column Layout */
.elm-single-product-content .product {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.elm-single-product-content .woocommerce-product-gallery {
    flex: 1 1 45%;
    max-width: 45%;
}
.elm-single-product-content .summary.entry-summary {
    flex: 1 1 45%;
    max-width: 50%;
}

/* Fix mobile */
@media (max-width: 768px) {
    .elm-single-product-content .woocommerce-product-gallery,
    .elm-single-product-content .summary.entry-summary {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Gallery styling */
.woocommerce-product-gallery img {
    border-radius: var(--radius-box);
    width: 100%;
    height: auto;
}
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding: 0;
    list-style: none;
}
.woocommerce-product-gallery .flex-control-thumbs li {
    width: calc(20% - 8px);
}
.woocommerce-product-gallery .flex-control-thumbs img {
    border-radius: 8px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: 0.3s;
}
.woocommerce-product-gallery .flex-control-thumbs img:hover,
.woocommerce-product-gallery .flex-control-thumbs img.flex-active {
    border-color: var(--pop-pink);
}

/* Official Store Label */
.elm-official-store-label {
    color: var(--pop-pink);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* Title & Rating */
.elm-single-product-content .product_title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 15px;
}
.elm-single-product-content .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* Price block */
.elm-single-product-content p.price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}
.elm-single-product-content p.price ins {
    text-decoration: none;
}
.elm-single-product-content p.price bdi {
    font-size: 36px;
    font-weight: 800;
    color: var(--pop-pink);
}
.elm-single-product-content p.price del {
    opacity: 1;
}
.elm-single-product-content p.price del bdi {
    font-size: 18px;
    color: #888;
    font-weight: 500;
    text-decoration: line-through;
}
.elm-discount-badge {
    background: #ffe4e6;
    color: var(--pop-pink);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 700;
}

/* BPOM & Netto */
.elm-product-meta-custom {
    margin-bottom: 25px;
}
.elm-meta-row {
    display: flex;
    margin-bottom: 8px;
    font-size: 15px;
}
.elm-meta-label {
    width: 120px;
    color: #555;
    font-weight: 600;
}
.elm-meta-value {
    color: var(--text-main);
    font-weight: 700;
}

/* Short Description (Manfaat) */
.elm-single-product-content .woocommerce-product-details__short-description {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}
.elm-single-product-content .woocommerce-product-details__short-description ul {
    list-style: none;
    padding-left: 0;
}
.elm-single-product-content .woocommerce-product-details__short-description ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}
.elm-single-product-content .woocommerce-product-details__short-description ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #10B981;
}

/* Add to cart / quantity */
.elm-single-product-content form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.elm-single-product-content .quantity {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    height: 48px;
}
.elm-single-product-content .quantity input.qty {
    width: 50px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    -moz-appearance: textfield;
}
.elm-single-product-content .quantity input.qty::-webkit-outer-spin-button,
.elm-single-product-content .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.elm-single-product-content .single_add_to_cart_button {
    height: 48px;
    padding: 0 30px;
    background: white;
    color: var(--text-main);
    border: 1px solid #ddd;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.elm-single-product-content .single_add_to_cart_button:hover {
    border-color: var(--pop-pink);
    color: var(--pop-pink);
}

/* Wishlist & Compare Buttons */
.elm-single-product-content .yith-wcwl-add-to-wishlist,
.elm-single-product-content .compare.button {
    margin: 0;
}
.elm-single-product-content .yith-wcwl-add-to-wishlist a,
.elm-single-product-content .compare.button {
    height: 48px;
    padding: 0 20px;
    background: white;
    color: var(--text-main);
    border: 1px solid #ddd;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.elm-single-product-content .yith-wcwl-add-to-wishlist a:hover,
.elm-single-product-content .compare.button:hover {
    border-color: var(--text-main);
}

/* ==============================================================
   ADDITIONAL WOOCOMMERCE SINGLE PRODUCT STYLES
   ============================================================== */

/* Free Shipping Badge */
.elm-free-shipping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef2ff;
    color: #4f46e5;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px dashed #a5b4fc;
}

/* Trust Badges */
.elm-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}
.elm-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}
.elm-trust-item i {
    color: #10b981;
    font-size: 16px;
}

/* Hide Compare Button */
.elm-single-product-content .compare.button {
    display: none !important;
}

/* WooCommerce Tabs (Deskripsi Lengkap) */
.elm-single-product-container .woocommerce-tabs {
    margin-top: 50px;
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-box);
    border: 2px solid #eaeaea;
}
.elm-single-product-container .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    border-bottom: 1px solid #ddd;
}
.elm-single-product-container .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
}
.elm-single-product-container .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 700;
    color: #666;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}
.elm-single-product-container .woocommerce-tabs ul.tabs li.active a,
.elm-single-product-container .woocommerce-tabs ul.tabs li a:hover {
    color: var(--pop-pink);
    border-bottom-color: var(--pop-pink);
}
.elm-single-product-container .woocommerce-tabs .panel {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}
.elm-single-product-container .woocommerce-tabs .panel h2 {
    display: none; /* Hide duplicate title */
}

/* Related Products */
.elm-single-product-container .related.products {
    margin-top: 60px;
}
.elm-single-product-container .related.products > h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 30px;
}

/* ==============================================================
   HOTFIX: WOOCOMMERCE LAYOUT FIXES FOR WORDPRESS
   ============================================================== */
.elm-single-product-content {
    overflow: hidden; /* Clear floats so the white box wraps content properly */
    display: block;
}
.elm-single-product-content .product {
    display: block !important; /* Remove the flex wrap that broke tabs */
}
.elm-single-product-content .woocommerce-product-gallery {
    float: left !important;
    width: 48% !important;
    max-width: none !important;
    margin-bottom: 40px;
}
.elm-single-product-content .summary.entry-summary {
    float: right !important;
    width: 48% !important;
    max-width: none !important;
    margin-bottom: 40px;
}
.elm-single-product-content .woocommerce-tabs,
.elm-single-product-content .related.products,
.elm-single-product-content .upsells.products {
    clear: both !important;
    width: 100% !important;
    float: none !important;
    display: block !important;
}

/* Fix mobile */
@media (max-width: 768px) {
    .elm-single-product-content .woocommerce-product-gallery,
    .elm-single-product-content .summary.entry-summary {
        float: none !important;
        width: 100% !important;
    }
}

/* Hide default WooCommerce Sale Badge since we have a custom one */
.elm-single-product-content span.onsale {
    display: none !important;
}

/* Fix review stars alignment in WordPress */
.elm-single-product-content .woocommerce-product-rating .star-rating {
    float: left;
    margin-right: 10px;
    color: #F59E0B;
}

/* Price font fix */
.elm-single-product-content p.price ins .woocommerce-Price-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--pop-pink);
}
.elm-single-product-content p.price del .woocommerce-Price-amount {
    font-size: 18px;
    color: #888;
    font-weight: 500;
    text-decoration: line-through;
}

/* ==============================================================
   HOTFIX 2: EXACT PREVIEW MATCH
   ============================================================== */
/* Force title font */
.elm-single-product-content .product_title {
    font-family: 'Fredoka', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    margin-top: 10px !important;
}

/* Force Tabs Styling to override WooCommerce Defaults */
.woocommerce div.product .woocommerce-tabs ul.tabs,
.elm-single-product-container .woocommerce-tabs ul.tabs {
    display: flex !important;
    gap: 30px !important;
    border-bottom: 2px solid #eee !important;
    margin-bottom: 30px !important;
    padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.elm-single-product-container .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important; /* hide default woo curves */
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.elm-single-product-container .woocommerce-tabs ul.tabs li a {
    font-family: 'Nunito', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #888 !important;
    padding: 10px 0 !important;
    border-bottom: 3px solid transparent !important;
    transition: 0.3s !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.elm-single-product-container .woocommerce-tabs ul.tabs li.active a {
    color: var(--pop-pink) !important;
    border-bottom: 3px solid var(--pop-pink) !important;
}

/* Fix YITH Wishlist position */
.woocommerce div.product .summary .yith-wcwl-add-to-wishlist {
    margin-top: 15px !important;
    display: inline-block !important;
}
.woocommerce div.product .summary .yith-wcwl-add-to-wishlist a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 48px !important;
    padding: 0 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    color: var(--text-main) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
.woocommerce div.product .summary .yith-wcwl-add-to-wishlist a:hover {
    border-color: var(--pop-pink) !important;
    color: var(--pop-pink) !important;
}

/* Short Description Bullet Points (if user doesn't use UL) */
.woocommerce-product-details__short-description p {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 15px;
}
.woocommerce-product-details__short-description p:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #10B981;
}
/* If they do use UL */
.woocommerce-product-details__short-description ul {
    list-style: none !important;
    padding-left: 0 !important;
}
.woocommerce-product-details__short-description ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 15px;
}
.woocommerce-product-details__short-description ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #10B981;
}

/* Hide extra "Manfaat produk" heading if it messes up */
.woocommerce-product-details__short-description p strong {
    display: block;
    margin-bottom: 15px;
    margin-left: -25px; /* offset the padding */
    color: #333;
}
.woocommerce-product-details__short-description p strong:before {
    display: none; /* remove checkmark from bold heading */
}

/* ==============================================================
   HOTFIX 3: FIX BROKEN BUTTON ICONS
   ============================================================== */
/* HOTFIX 3 rules moved to functions.php inline CSS */

/* ==============================================================
   HOTFIX 4: KILL ROGUE ICONS & FORCE RELATED PRODUCTS
   ============================================================== */
/* Kill any stray <i> tags inside buttons injected by other plugins */
.elm-single-product-content .single_add_to_cart_button i,
.elm-single-product-content .yith-wcwl-add-to-wishlist a i {
    display: none !important;
}

/* Ensure the Wishlist heart survives if it uses the ::before pseudo */
.elm-single-product-content .yith-wcwl-add-to-wishlist a::before {
    display: inline-block !important;
    content: '\f004' !important; /* fa-heart */
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 400 !important;
    margin-right: 8px !important;
}

/* Style the forced related products section */
.elm-force-related .related.products {
    margin-top: 0 !important;
}
.elm-force-related .related.products h2 {
    font-family: 'Fredoka', sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    margin-bottom: 30px !important;
}

/* ==============================================================
   HOTFIX 5: PAGINATION STYLES FOR SHOP PAGE
   ============================================================== */
.shop-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #eaeaea;
    color: var(--text-main);
    font-weight: 600;
    transition: 0.3s;
}
.shop-pagination .page-numbers:hover,
.shop-pagination .page-numbers.current {
    background: var(--pop-pink);
    color: #fff;
    border-color: var(--pop-pink);
}
/* FIX SINGLE PRODUCT LAYOUT - DESKTOP & MOBILE */
.elm-single-product-container {
    max-width: 1050px !important; /* Prevent it from being too wide on desktop */
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .elm-single-product-container {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
    .elm-single-product-content {
        padding: 15px !important;
    }
    
    .elm-single-product-content .product {
        gap: 20px !important;
    }

    .elm-single-product-container .woocommerce-tabs {
        padding: 15px !important;
        margin-top: 30px !important;
    }

    .elm-single-product-container .woocommerce-tabs ul.tabs {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 20px !important;
    }

    .elm-single-product-container .woocommerce-tabs ul.tabs li a {
        padding: 10px 15px !important;
        font-size: 15px !important;
        background: #f9f9f9;
        border-radius: 8px;
        border-bottom: none !important;
    }

    .elm-single-product-container .woocommerce-tabs ul.tabs li.active a {
        background: var(--pop-pink);
        color: white !important;
    }
    
    .elm-single-product-container .woocommerce-tabs .panel {
        font-size: 14px !important;
    }
    
    form.cart .quantity {
        margin-bottom: 15px;
    }
    
    .single_add_to_cart_button {
        width: 100% !important;
        margin-bottom: 15px;
    }
}
/* FINAL MOBILE FIXES FOR TABS AND LAYOUT */
@media (max-width: 768px) {
    /* Ensure tabs and content take full width */
    .elm-single-product-content .woocommerce-tabs,
    .elm-single-product-content .related.products {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Fix invisible pink text on active tab */
    .woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
    .elm-single-product-container .woocommerce-tabs ul.tabs li.active a {
        background: var(--pop-pink) !important;
        color: white !important;
    }
}

/* V16: COMPLETE MOBILE LAYOUT OVERHAUL BASED ON LATEST FEEDBACK */
@media (max-width: 768px) {
    
    /* 1. HEADER FIXES: Give more room, adjust logo size so it's not squished */
    .header-inner {
        justify-content: space-between !important;
        gap: 10px;
    }
    .logo img {
        max-width: 120px !important; /* Make logo smaller so icons have space */
        height: auto !important;
    }
    .mobile-menu-toggle {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
        margin-right: 5px;
    }
    .header-icons {
        gap: 8px !important;
    }
    .header-icons .icon-btn {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
    }

    /* 2. TABS FIXES: Add more padding to the tab buttons so they aren't tight */
    .elm-single-product-container .woocommerce-tabs ul.tabs li a {
        padding: 14px 20px !important;
        margin-bottom: 8px !important;
    }

    /* 3. RELATED PRODUCTS FIX: 1 Column List View for Mobile */
    .product-grid--shop {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .product-card--shop {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        padding: 10px !important;
    }
    .product-img-wrapper--shop {
        height: 110px !important;
        width: 110px !important;
        flex: 0 0 110px !important;
        margin-bottom: 0 !important;
        margin-right: 15px !important;
        border-radius: 8px !important;
        overflow: hidden;
    }
    .product-img-wrapper--shop img {
        height: 100% !important;
        object-fit: cover !important;
    }
    .product-info--shop {
        text-align: left !important;
        flex: 1 !important;
    }
    .product-info--shop h4 {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }
    .product-info--shop .btn-shop-link {
        display: inline-block !important;
        width: auto !important;
        padding: 6px 12px !important;
        font-size: 12px !important;
        margin-top: 5px !important;
    }

    /* 4. FOOTER FULL WIDTH FIX: Ensure footer container resets padding */
    footer {
        padding: 40px 15px 20px !important;
        border-top-left-radius: 30px !important;
        border-top-right-radius: 30px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 30px !important;
    }
    .footer-col .logo img {
        margin: 0 auto;
    }
    .footer-col .social-icons {
        justify-content: center !important;
    }
}
/* V17: FIX OVERLAPPING TEXT IN MOBILE RELATED PRODUCTS & ENLARGE PRODUCT TITLE */

/* 1. Fix overlapping text in mobile list view */
@media (max-width: 768px) {
    .product-info--shop h4 {
        height: auto !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.4 !important;
        margin-bottom: 5px !important;
    }
    
    .product-info--shop .product-cat {
        display: block !important;
        margin-bottom: 3px !important;
        line-height: 1.2 !important;
    }
    
    /* Ensure the price block inside related products doesn't overlap */
    .product-info--shop > div[style*="color: var(--pop-pink)"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        line-height: 1.2 !important;
    }
    
    .product-info--shop > div[style*="color: var(--pop-pink)"] del {
        font-size: 11px !important;
        color: #999 !important;
    }
    
    .product-info--shop > div[style*="color: var(--pop-pink)"] ins {
        font-size: 15px !important;
        color: var(--pop-pink) !important;
        text-decoration: none !important;
    }
}

/* 2. Enlarge Single Product Title (Desktop and Mobile) */
.elm-single-product-content .product_title.entry-title {
    font-size: 38px !important;
    font-family: 'Fredoka', sans-serif !important;
    color: var(--text-main) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
}

@media (max-width: 768px) {
    .elm-single-product-content .product_title.entry-title {
        font-size: 28px !important;
    }
}

/* V18: FINAL POLISH BASED ON SCREENSHOTS */

/* 1. Fix "Kamu Mungkin Juga Suka" alignment so text is left-aligned, not centered */
@media (max-width: 768px) {
    .product-info--shop {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        text-align: left !important;
        width: 100% !important;
    }
    .product-info--shop h4 {
        text-align: left !important;
        width: 100% !important;
    }
    .product-info--shop .btn-shop-link {
        align-self: flex-start !important;
        margin-top: 10px !important;
    }
    .product-info--shop .product-cat {
        text-align: left !important;
        width: 100% !important;
    }
}

/* 2. Enlarge Single Product Title EVEN MORE */
h1.product_title.entry-title,
.elm-single-product-content h1.product_title.entry-title,
.elm-single-product-content .product_title.entry-title {
    font-size: 46px !important;
    font-family: 'Fredoka', sans-serif !important;
    color: var(--text-main) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
}

@media (max-width: 768px) {
    h1.product_title.entry-title,
    .elm-single-product-content h1.product_title.entry-title,
    .elm-single-product-content .product_title.entry-title {
        font-size: 30px !important;
    }
}

/* 3. Widen the Pink Box for Tabs (More padding left & right) */
@media (max-width: 768px) {
    .woocommerce div.product .woocommerce-tabs ul.tabs li a,
    .elm-single-product-container .woocommerce-tabs ul.tabs li a,
    .woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
    .elm-single-product-container .woocommerce-tabs ul.tabs li.active a {
        padding: 14px 40px !important;
        margin-bottom: 12px !important;
        display: inline-block !important;
        text-align: center !important;
        width: 100% !important;
    }
}

/* V19: FORCE PRODUCT TITLE ENLARGEMENT */
h1.product_title, 
.product_title, 
.summary.entry-summary h1, 
.summary.entry-summary .product_title,
.elm-single-product-content h1.product_title,
body.single-product h1.product_title {
    font-size: 50px !important;
    font-family: 'Fredoka', sans-serif !important;
    color: var(--text-main) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
    text-transform: none !important;
}

@media (max-width: 768px) {
    h1.product_title, 
    .product_title, 
    .summary.entry-summary h1, 
    .summary.entry-summary .product_title,
    .elm-single-product-content h1.product_title,
    body.single-product h1.product_title {
        font-size: 30px !important;
    }
}

/* V21: FIX SHORT DESCRIPTION ALIGNMENT AND OVERLAPS */
.woocommerce-product-details__short-description p strong {
    margin-left: 0 !important; /* Remove negative margin causing overlap */
    display: inline-block !important;
    margin-bottom: 10px !important;
}

.woocommerce-product-details__short-description p::before,
.woocommerce-product-details__short-description strong::before,
.woocommerce-product-details__short-description h3::before,
.woocommerce-product-details__short-description h4::before {
    display: none !important;
    content: none !important;
}

/* Ensure list items are properly spaced */
.elm-single-product-content .woocommerce-product-details__short-description ul li {
    padding-left: 30px !important;
    position: relative !important;
}

.woocommerce-product-details__short-description ul li::before {
    content: '\f00c' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    color: #10B981 !important;
}

/* V23: FIX MOBILE PRODUCT TITLE SIZE */
@media (max-width: 768px) {
    h1.elm-forced-product-title {
        font-size: 30px !important;
    }
}


/* V25: FIX LOGO CLIPPING AND REMOVE BROKEN ::BEFORE ICONS */
.logo {
    display: inline-flex !important;
    align-items: center !important;
    overflow: visible !important;
}
.logo img {
    display: block !important;
}

/* V25 ::before rules moved to functions.php inline CSS */

/* V26: FIX ICONS AND LOGO CLIPPING */
/* Force padding on the logo image to prevent descender clipping */
.logo img {
    padding-bottom: 6px !important;
    padding-top: 2px !important;
    box-sizing: content-box !important;
}

/* V26 cart icon ::before moved to functions.php inline CSS */

/* 2. Wishlist Icon (Base64 SVG Mask) & Hide Default */
.elm-single-product-content .yith-wcwl-add-to-wishlist a i {
    display: none !important; /* Hide the plugin's default icon(s) */
}
.elm-single-product-content .yith-wcwl-add-to-wishlist a::before {
    content: '' !important;
    display: inline-block !important;
    width: 14px !important;
    height: 14px !important;
    margin-right: 8px !important;
    background-color: currentColor !important;
    -webkit-mask: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNNDcuNiAzMDAuNEwyMjguMyA0NjkuMWM3LjUgNyAxNy40IDEwLjkgMjcuNyAxMC45czIwLjItMy45IDI3LjctMTAuOUw0NjQuNCAzMDAuNGMzMC40LTI4LjMgNDcuNi02OCA0Ny42LTEwOS41di01LjhjMC02OS45LTUwLjUtMTI5LjUtMTE5LjQtMTQxQzM0NyAzNi41IDMwMC42IDUxLjQgMjY4IDg0TDI1NiA5NiAyNDQgODRjLTMyLjYtMzIuNi03OS00Ny41LTEyNC42LTM5LjlDNTAuNSA1NS42IDAgMTE1LjIgMCAxODUuMXY1LjhjMCA0MS41IDE3LjIgODEuMiA0Ny42IDEwOS41eiIvPjwvc3ZnPg==') no-repeat center / contain !important;
    mask: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNNDcuNiAzMDAuNEwyMjguMyA0NjkuMWM3LjUgNyAxNy40IDEwLjkgMjcuNyAxMC45czIwLjItMy45IDI3LjctMTAuOUw0NjQuNCAzMDAuNGMzMC40LTI4LjMgNDcuNi02OCA0Ny42LTEwOS41di01LjhjMC02OS45LTUwLjUtMTI5LjUtMTE5LjQtMTQxQzM0NyAzNi41IDMwMC42IDUxLjQgMjY4IDg0TDI1NiA5NiAyNDQgODRjLTMyLjYtMzIuNi03OS00Ny41LTEyNC42LTM5LjlDNTAuNSA1NS42IDAgMTE1LjIgMCAxODUuMXY1LjhjMCA0MS41IDE3LjIgODEuMiA0Ny42IDEwOS41eiIvPjwvc3ZnPg==') no-repeat center / contain !important;
    vertical-align: middle !important;
    transform: translateY(-1px);
}

/* V27: LOGO CLIPPING FINAL FIX */
/* Force padding INSIDE the image bounding box so the edge of the image is pushed away from the clipping boundary */
.logo {
    overflow: visible !important;
}
.logo img {
    height: 44px !important; /* Slightly taller */
    width: auto !important;
    object-fit: contain !important;
    padding: 4px !important;
    box-sizing: border-box !important;
}

/* V28: EXTRA LOGO LINE-HEIGHT FIX */
.logo {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    overflow: visible !important;
}
.logo img {
    height: 44px !important;
    width: auto !important;
    object-fit: contain !important;
    padding-bottom: 8px !important; /* Huge padding at bottom to force it up */
    box-sizing: content-box !important;
}

/*/* V29+ button styles moved to functions.php inline CSS for cache bypass */

