/* ==========================================
   SHOPEE CUSTOM CSS FOR WOWY THEME
   ========================================== */

:root {
    --color-brand: #ee4d2d !important;
    --color-brand-2: #ff7337 !important;
    --color-primary: #ee4d2d !important;
    --color-danger: #ee4d2d !important;
    --primary-color: #ee4d2d !important;
}

/* --- HEADER AREA --- */
.header-middle {
    background: linear-gradient(-180deg, #f53d2d, #f63) !important;
    padding: 20px 0 !important;
    border-bottom: none !important;
}

.header-middle a,
.header-middle span,
.header-middle i,
.header-middle strong {
    color: #ffffff !important;
}

/* Search Bar (Shopee Style) */
.search-style-2 {
    max-width: 650px !important;
    width: 100% !important;
    margin: 0 20px !important;
}

.search-style-2 form {
    background: #ffffff !important;
    border-radius: 2px !important;
    padding: 3px !important;
    display: flex !important;
    align-items: center !important;
    border: none !important;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .05) !important;
}

.search-style-2 .search-input-wrapper {
    flex: 1 !important;
    position: relative !important;
}

.search-style-2 input.autocomplete_input {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 8px 15px !important;
    color: #333333 !important;
    font-size: 14px !important;
    height: 38px !important;
}

.search-style-2 input.autocomplete_input:focus {
    outline: none !important;
}

.search-style-2 .btn-header-search {
    background: #fb5533 !important;
    border: none !important;
    border-radius: 2px !important;
    height: 36px !important;
    width: 60px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
    margin-left: auto !important;
}

.search-style-2 .btn-header-search:hover {
    background: #ee4d2d !important;
}

.search-suggestions {
    background: #ffffff !important;
    color: #333333 !important;
}

.search-suggestions a {
    color: #333333 !important;
}

/* Trending tags under search */
.shopee-trending-search {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 5px;
    font-size: 12px;
}

.shopee-trending-search a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
}

.shopee-trending-search a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Cart Icon */
.header-cart .mini-cart-icon i {
    font-size: 26px !important;
    color: #111111 !important;
}

.header-cart .pro-count {
    background-color: #ffffff !important;
    color: #ee4d2d !important;
    border: 2px solid #ee4d2d !important;
    font-weight: bold !important;
    font-size: 11px !important;
    padding: 1px 5px !important;
    top: -5px !important;
    right: -10px !important;
}

/* Hide extra text in cart to make it look like Shopee */
.header-cart .mini-cart-icon div {
    display: none !important;
}

.header-store-location {
    display: none !important;
    /* Hide store locator to match online-only look */
}

/* Header bottom / menu */
.header-bottom {
    background: #ffffff !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

.header-bottom a {
    color: #333333 !important;
    font-weight: 500 !important;
}

.header-bottom a:hover {
    color: #ee4d2d !important;
}

/* Banner section */
#home-slider {
    margin-top: 15px !important;
}

/* --- PRODUCT CARD STYLING (SHOPEE STYLE) --- */
.product-cart-wrap {
    border: 1px solid #eaeaea !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    transition: transform 0.1s, box-shadow 0.1s !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05) !important;
    position: relative !important;
}

.product-cart-wrap:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, .09) !important;
    border-color: #ee4d2d !important;
    z-index: 2 !important;
}

.product-img-action-wrap {
    position: relative !important;
    padding-bottom: 100% !important;
    /* Force 1:1 square ratio */
    height: 0 !important;
    overflow: hidden !important;
    background: #fafafa !important;
}

.product-img-action-wrap a {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.product-img-action-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    /* Contain sandles inside square cleanly */
}

/* Shopee Badges */
.shopee-badge-favorite {
    position: absolute !important;
    top: 6px !important;
    left: -4px !important;
    z-index: 5 !important;
    background: #ee4d2d !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    padding: 1px 6px !important;
    border-top-right-radius: 2px !important;
    border-bottom-right-radius: 2px !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .2) !important;
    line-height: 14px !important;
}

.shopee-badge-favorite::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -3px !important;
    border-left: 3px solid transparent !important;
    border-top: 3px solid #b83b21 !important;
}

.shopee-badge-mall {
    position: absolute !important;
    top: 6px !important;
    left: -4px !important;
    z-index: 5 !important;
    background: #d0011b !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: bold !important;
    padding: 1px 6px !important;
    border-top-right-radius: 2px !important;
    border-bottom-right-radius: 2px !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .2) !important;
    line-height: 14px !important;
}

.shopee-badge-mall::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -3px !important;
    border-left: 3px solid transparent !important;
    border-top: 3px solid #8f0112 !important;
}

/* Discount Ribbon */
.shopee-discount-ribbon {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 5 !important;
    background-color: rgba(255, 212, 36, .9) !important;
    width: 36px !important;
    height: 32px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 2px !important;
}

.shopee-discount-ribbon::after {
    content: '' !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 0 !important;
    border-left: 18px solid rgba(255, 212, 36, .9) !important;
    border-right: 18px solid rgba(255, 212, 36, .9) !important;
    border-bottom: 4px solid transparent !important;
}

.shopee-discount-percent {
    color: #ee4d2d !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 12px !important;
}

.shopee-discount-label {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 9px !important;
    line-height: 10px !important;
    text-transform: uppercase !important;
}

/* Product Content */
.product-content-wrap {
    padding: 8px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-content-wrap h3 {
    font-size: 12px !important;
    line-height: 16px !important;
    height: 32px !important;
    /* Fix to exactly 2 lines */
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin-bottom: 8px !important;
    font-weight: 400 !important;
}

.product-content-wrap h3 a {
    color: #333333 !important;
    text-decoration: none !important;
}

.product-content-wrap h3 a:hover {
    color: #ee4d2d !important;
}

.product-price {
    margin-top: auto !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #ee4d2d !important;
    min-height: 22px !important;
}

.product-price span:first-child {
    font-size: 15px !important;
    color: #ee4d2d !important;
}

.product-price .old-price {
    font-size: 11px !important;
    text-decoration: line-through !important;
    color: #888888 !important;
    margin-right: 2px !important;
}

.product-price .text-danger {
    font-size: 10px !important;
    color: #ee4d2d !important;
    font-weight: bold !important;
}

/* Rating and Sold Count (Shopee Style alignment) */
.product-meta-shopee {
    display: flex !important;
    align-items: center !important;
    margin-top: 6px !important;
    font-size: 11px !important;
    color: #757575 !important;
    min-height: 16px !important;
}

.product-meta-shopee .rating-stars {
    color: #ffcc00 !important;
    margin-right: 4px !important;
    font-size: 10px !important;
}

.product-meta-shopee .sold-text {
    font-size: 11px !important;
    border-left: 1px solid #e8e8e8 !important;
    padding-left: 6px !important;
    margin-left: 2px !important;
    white-space: nowrap !important;
}

/* Buttons style like Shopee */
.btn-primary,
.btn-brand,
.add-to-cart-button {
    background-color: #ee4d2d !important;
    border-color: #ee4d2d !important;
    color: #ffffff !important;
    border-radius: 2px !important;
}

.btn-primary:hover,
.btn-brand:hover,
.add-to-cart-button:hover {
    background-color: #d0011b !important;
    border-color: #d0011b !important;
}

/* --- CATEGORIES STYLING (SHOPEE STYLE) --- */
#featured-product-categories {
    background: #ffffff !important;
    padding: 20px !important;
    margin-top: 20px !important;
    border-radius: 2px !important;
}

.categories-grid-all {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
    gap: 15px !important;
}

.categories-grid-all .card-1 {
    border: 1px solid #f2f2f2 !important;
    background: #ffffff !important;
    text-align: center !important;
    transition: box-shadow 0.2s !important;
    padding: 10px 5px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.categories-grid-all .card-1:hover {
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .05) !important;
    border-color: #ee4d2d !important;
}

.categories-grid-all .card-1 figure {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    /* Circle shape */
    overflow: hidden !important;
    margin: 0 auto 10px auto !important;
    background: #f8f8f8 !important;
    border: 1px solid #eeeeee !important;
}

.categories-grid-all .card-1 figure img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.categories-grid-all .card-1 h3 {
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 15px !important;
    height: 30px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin: 0 !important;
}

.categories-grid-all .card-1 h3 a {
    color: #333333 !important;
    text-decoration: none !important;
}

/* --- PRODUCT DETAILS PAGE (SHOPEE STYLE) --- */
.product-detail .title-detail span {
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #222222 !important;
}

/* Price Box */
.product-detail .product-price-cover {
    background: #fafafa !important;
    padding: 15px 20px !important;
    border-radius: 2px !important;
    margin: 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    border: none !important;
}

.product-detail .product-price {
    font-size: 30px !important;
    color: #ee4d2d !important;
    font-weight: 500 !important;
}

.product-detail .product-price ins {
    text-decoration: none !important;
}

.product-detail .product-price ins span {
    font-size: 30px !important;
    color: #ee4d2d !important;
    font-weight: 500 !important;
}

.product-detail .product-price .old-price {
    font-size: 16px !important;
    color: #929292 !important;
    text-decoration: line-through !important;
    margin-left: 10px !important;
}

.product-detail .product-price .sale-percent {
    font-size: 12px !important;
    color: #ee4d2d !important;
    font-weight: bold !important;
    background: rgba(238, 77, 45, 0.1) !important;
    padding: 2px 6px !important;
    border-radius: 2px !important;
    margin-left: 10px !important;
}

/* Buy Buttons */
.button-add-to-cart,
.button.button-add-to-cart {
    background-color: #ee4d2d !important;
    color: #ffffff !important;
    border: 1px solid #ee4d2d !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    border-radius: 2px !important;
    transition: background-color 0.2s !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.button-add-to-cart:hover,
.button.button-add-to-cart:hover {
    background-color: #d0011b !important;
    border-color: #d0011b !important;
}

/* Variation Swatches (Shopee Style) */
/* Swatches wrappers & styling like Shopee */
.product-attributes {
    margin-bottom: 20px !important;
}

.attribute-swatches-wrapper {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 16px !important;
    font-size: 14px !important;
}

.attribute-swatches-wrapper .attribute-name {
    width: 110px !important;
    flex-shrink: 0 !important;
    color: #757575 !important;
    font-weight: 400 !important;
    padding-top: 5px !important;
    font-size: 14px !important;
    text-transform: capitalize !important;
}

.attribute-swatches-wrapper .attribute-values {
    flex-grow: 1 !important;
}

.attribute-values ul.attribute-swatch {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.attribute-swatch .attribute-swatch-item {
    display: inline-block !important;
    position: relative !important;
    margin: 0 !important;
}

.attribute-swatch .attribute-swatch-item label {
    display: block !important;
    cursor: pointer !important;
    border: 1px solid rgba(0, 0, 0, .09) !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    padding: 8px 16px !important;
    min-width: 60px !important;
    text-align: center !important;
    color: rgba(0, 0, 0, .8) !important;
    font-size: 14px !important;
    transition: all 0.1s ease !important;
    margin-bottom: 0 !important;
}

.attribute-swatch .attribute-swatch-item label:hover {
    border-color: #ee4d2d !important;
    color: #ee4d2d !important;
}

.attribute-swatch .attribute-swatch-item input[type="radio"] {
    display: none !important;
}

.attribute-swatch .attribute-swatch-item input[type="radio"]:checked~label,
.attribute-swatch .attribute-swatch-item.active label {
    border-color: #ee4d2d !important;
    color: #ee4d2d !important;
    background: #ffffff !important;
}

/* Diagonal tick mark in bottom-right corner for selected */
.attribute-swatch .attribute-swatch-item input[type="radio"]:checked~label::after,
.attribute-swatch .attribute-swatch-item.active label::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 0 !important;
    height: 0 !important;
    border-style: solid !important;
    border-width: 0 0 10px 10px !important;
    border-color: transparent transparent #ee4d2d transparent !important;
    z-index: 2 !important;
}

/* Visual / Color Swatches */
.visual-swatches-wrapper .visual-swatch.color-swatch {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.visual-swatch.color-swatch .attribute-swatch-item label {
    padding: 3px !important;
    min-width: 40px !important;
    height: 40px !important;
    border-radius: 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.visual-swatch.color-swatch .attribute-swatch-item label span {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 2px !important;
    border: 1px solid rgba(0, 0, 0, .1) !important;
}

/* Quantity selector Shopee style */
.shopee-quantity-selector {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 20px !important;
}

.shopee-quantity-label {
    width: 110px !important;
    color: #757575 !important;
    font-size: 14px !important;
}

.shopee-quantity-buttons {
    display: flex !important;
    align-items: center !important;
    border: 1px solid rgba(0, 0, 0, .09) !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.shopee-quantity-btn {
    width: 32px !important;
    height: 32px !important;
    background: #ffffff !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    font-size: 16px !important;
    color: rgba(0, 0, 0, .8) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.1s !important;
}

.shopee-quantity-btn:hover {
    background: #f8f8f8 !important;
}

.shopee-quantity-buttons input.qty-input {
    width: 50px !important;
    height: 32px !important;
    border-left: 1px solid rgba(0, 0, 0, .09) !important;
    border-right: 1px solid rgba(0, 0, 0, .09) !important;
    border-top: none !important;
    border-bottom: none !important;
    text-align: center !important;
    font-size: 16px !important;
    color: #ee4d2d !important;
    outline: none !important;
    background: transparent !important;
    -moz-appearance: textfield !important;
}

.shopee-quantity-buttons input.qty-input::-webkit-outer-spin-button,
.shopee-quantity-buttons input.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Buy buttons actions */
.shopee-product-actions {
    display: flex !important;
    gap: 15px !important;
    margin-top: 25px !important;
}

.btn-add-to-cart-shopee {
    background-color: #ffeee8 !important;
    color: #ee4d2d !important;
    border: 1px solid #ee4d2d !important;
    border-radius: 2px !important;
    height: 48px !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    min-width: 200px !important;
    transition: background-color 0.2s !important;
}

.btn-add-to-cart-shopee:hover {
    background-color: #fff5f1 !important;
}

.btn-buy-now-shopee {
    background-color: #ee4d2d !important;
    color: #ffffff !important;
    border: 1px solid #ee4d2d !important;
    border-radius: 2px !important;
    height: 48px !important;
    padding: 0 30px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    min-width: 180px !important;
    transition: background-color 0.2s !important;
}

.btn-buy-now-shopee:hover {
    background-color: #d0011b !important;
    border-color: #d0011b !important;
}

/* --- CART PAGE STYLING (SHOPEE STYLE) --- */
.table--cart {
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    background: transparent !important;
}

.table--cart thead tr {
    background: #ffffff !important;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .05) !important;
}

.table--cart thead th {
    border: none !important;
    padding: 15px 10px !important;
    color: #888888 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}

.table--cart tbody tr {
    background: #ffffff !important;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .05) !important;
}

.table--cart tbody td {
    border: none !important;
    padding: 20px 10px !important;
    vertical-align: middle !important;
}

.table--cart td.product-thumbnail img {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain !important;
    border: 1px solid #eeeeee !important;
    border-radius: 2px !important;
}

.table--cart .qty-val {
    width: 50px !important;
    text-align: center !important;
    border: 1px solid rgba(0, 0, 0, .09) !important;
    border-left: none !important;
    border-right: none !important;
    height: 28px !important;
    font-size: 14px !important;
}

.table--cart .qty-down,
.table--cart .qty-up {
    width: 28px !important;
    height: 28px !important;
    border: 1px solid rgba(0, 0, 0, .09) !important;
    background: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #555555 !important;
    text-decoration: none !important;
}

.table--cart .qty-down {
    border-top-left-radius: 2px !important;
    border-bottom-left-radius: 2px !important;
}

.table--cart .qty-up {
    border-top-right-radius: 2px !important;
    border-bottom-right-radius: 2px !important;
}

.table--cart .detail-qty {
    display: inline-flex !important;
    align-items: center !important;
    border: none !important;
}

.cart-totals {
    border: none !important;
    background: #ffffff !important;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .05) !important;
    padding: 25px !important;
    border-radius: 2px !important;
}

.cart-totals table td {
    padding: 12px 0 !important;
    font-size: 14px !important;
    border-bottom: 1px solid #f6f6f6 !important;
}

.cart-totals .text-price,
.cart-totals strong span {
    color: #ee4d2d !important;
}

.cart-totals .btn {
    background-color: #ee4d2d !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 2px !important;
    padding: 12px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    margin-top: 15px !important;
}

.cart-totals .btn:hover {
    background-color: #d0011b !important;
}

/* --- CHECKOUT PAGE (SHOPEE STYLE) --- */
.shopee-checkout-address-card {
    background: #ffffff !important;
    border-radius: 3px !important;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .05) !important;
    margin-bottom: 20px !important;
    position: relative !important;
    padding: 24px !important;
}

.shopee-address-border {
    height: 3px !important;
    width: 100% !important;
    background-position: center !important;
    background-size: cover !important;
    background-image: repeating-linear-gradient(45deg, #6fa6d6, #6fa6d6 33px, transparent 0, transparent 41px, #f18d9b 0, #f18d9b 74px, transparent 0, transparent 82px) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.shopee-checkout-section {
    background: #ffffff !important;
    padding: 24px !important;
    border-radius: 3px !important;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .05) !important;
    margin-bottom: 20px !important;
}

.shopee-checkout-section-title {
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #ee4d2d !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #f2f2f2 !important;
    padding-bottom: 10px !important;
}

/* Form floating labels Shopee style */
.form-input-wrapper {
    position: relative !important;
    margin-bottom: 15px !important;
}

.form-input-wrapper input,
.form-input-wrapper select,
.form-input-wrapper textarea {
    border: 1px solid rgba(0, 0, 0, .14) !important;
    border-radius: 2px !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    width: 100% !important;
    outline: none !important;
    box-shadow: none !important;
}

.form-input-wrapper input:focus,
.form-input-wrapper select:focus,
.form-input-wrapper textarea:focus {
    border-color: #ee4d2d !important;
}

/* Checkout summary card right */
.shopee-checkout-summary-card {
    background: #fff8f5 !important;
    border: 1px solid rgba(238, 77, 45, .15) !important;
    padding: 24px !important;
    border-radius: 3px !important;
    margin-bottom: 20px !important;
}

.shopee-checkout-summary-row {
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
    color: #555555 !important;
}

.shopee-checkout-summary-row.total {
    border-top: 1px dashed rgba(0, 0, 0, .09) !important;
    padding-top: 15px !important;
    margin-top: 15px !important;
    color: #222222 !important;
    font-size: 16px !important;
}

.shopee-checkout-summary-row.total .price-text {
    font-size: 22px !important;
    color: #ee4d2d !important;
    font-weight: 600 !important;
}

.payment-checkout-btn-step {
    background-color: #ee4d2d !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 2px !important;
    padding: 14px 30px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    width: 100% !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .09) !important;
    transition: background-color 0.2s !important;
}

.payment-checkout-btn-step:hover {
    background-color: #d0011b !important;
    color: #ffffff !important;
}

/* Shipping / Payment options styled like Shopee */
.list_payment_method .list-group-item {
    border: 1px solid rgba(0, 0, 0, .09) !important;
    border-radius: 2px !important;
    margin-bottom: 10px !important;
    padding: 15px !important;
    cursor: pointer !important;
}

.list_payment_method .list-group-item:hover {
    border-color: #ee4d2d !important;
    background: #fffcfb !important;
}

.list_payment_method .magic-radio:checked+label {
    color: #ee4d2d !important;
}

.magic-radio+label::before {
    border-color: rgba(0, 0, 0, .15) !important;
}

.magic-radio:checked+label::before {
    border-color: #ee4d2d !important;
}

.magic-radio:checked+label::after {
    background: #ee4d2d !important;
}

/* --- CATEGORY INLINE MENU OVERRIDES --- */
.category-inline-wrapper {
    background: #ffffff !important;
    border-bottom: 1px solid #e8e8e8 !important;
    display: block !important;
}

.category-inline-wrapper .scroll-style-inline {
    background: #ffffff !important;
    padding: 0 !important;
}

.category-inline-wrapper ul.mega-parent-menu {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.category-inline-wrapper li.mega-menu-parent {
    margin: 0 !important;
}

.category-inline-wrapper li.mega-menu-parent>a {
    color: #333333 !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    padding: 12px 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-transform: none !important;
    transition: color 0.2s !important;
}

.category-inline-wrapper li.mega-menu-parent>a:hover {
    color: #ee4d2d !important;
}

.category-inline-wrapper li.mega-menu-parent>a img {
    height: 18px !important;
    width: auto !important;
    object-fit: contain !important;
}

.category-inline-wrapper li.mega-menu-parent>a i {
    color: #555555 !important;
    font-size: 15px !important;
}

.category-inline-wrapper li.mega-menu-parent>a:hover i {
    color: #ee4d2d !important;
}

/* Ensure header-bottom is visible and styled properly */
.header-bottom {
    display: block !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e8e8e8 !important;
}





/* --- EXTENDING OVERRIDES --- */

/* Brand Color Scheme: Black (#000000, #111111) & Lime (#e6e797) */
:root {
    --color-brand: #111111 !important;
    --color-brand-2: #000000 !important;
    --color-primary: #111111 !important;
    --color-accent: #e6e797 !important;
    --color-brand-accent: #e6e797 !important;
}

/* Header style fixes and overrides */
.shopee-top-bar,
.header-top-bar,
.top-bar-area {
    background: #111111 !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}
.shopee-top-bar a,
.shopee-top-bar span,
.shopee-top-bar .text-white {
    color: #ffffff !important;
}
.shopee-top-bar a:hover {
    color: #000000 !important;
}
.header-middle {
    background: #e6e797 !important;
    padding: 0 !important;
    border-bottom: none !important;
}
.sticky-bar.stick {
    background: #e6e797 !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08) !important;
}

/* Override conflicting theme styles that break dx-nav-col */
.dx-nav-col ul,
.dx-nav-col li,
.dx-nav-col a {
    all: unset;
}
.dx-nav-col ul.mega-parent-menu {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.dx-nav-col li.mega-menu-parent > a {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #111111 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    padding: 20px 14px !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    transition: background 0.18s !important;
    white-space: nowrap !important;
    position: relative !important;
}
.dx-nav-col li.mega-menu-parent > a:hover {
    background: rgba(0, 0, 0, 0.06) !important;
    text-decoration: none !important;
}
.dx-nav-col li.mega-menu-parent > a img {
    width: 15px !important;
    height: 15px !important;
    object-fit: contain !important;
}

/* dx-search-wrap: Compact search bar */
.dx-search-wrap form {
    display: flex !important;
    align-items: center !important;
    background: rgba(0, 0, 0, 0.09) !important;
    border-radius: 20px !important;
    padding: 0 8px 0 14px !important;
    height: 36px !important;
    width: 190px !important;
    border: 1px solid transparent !important;
    transition: background 0.2s, border-color 0.2s, width 0.3s !important;
}
.dx-search-wrap form:focus-within {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    width: 240px !important;
}
.dx-search-wrap input.autocomplete_input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    font-size: 12.5px !important;
    color: #222 !important;
    outline: none !important;
    height: 100% !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Slick and dots styling */
.slick-prev::before, .slick-next::before {
    color: #e6e797 !important;
}
.product-sugget-nav {
    background: #111111 !important;
}
.product-sugget-nav:hover {
    background: #000000 !important;
}
.product-sugget-dots .dot.active {
    background: #e6e797 !important;
}

/* Mobile search style */
.mobile-search {
    background-color: #111111 !important;
}
.mobile-search button {
    color: #e6e797 !important;
}

/* Accent element coloring */
.shopee-flash-sale-logo {
    color: #e6e797 !important;
}
.shopee-countdown-box {
    background: #e6e797 !important;
    color: #111111 !important;
}
.flash-sale-progress {
    background: #333333 !important;
}
.flash-sale-progress-bar {
    background: linear-gradient(90deg, #e6e797, #d4e075) !important;
}
.shopee-suggestions-tab-item {
    color: #111111 !important;
    border-bottom: 4px solid #e6e797 !important;
}
.text-brand {
    color: #e6e797 !important;
}
.text-brand:hover {
    color: #d4e075 !important;
}

/* Prices styling: highlight new prices in bold black and old in muted gray line-through */
.product-card .price, 
.product-price .current-price, 
.product-price span {
    color: #111111 !important;
    font-weight: 700 !important;
}
.product-card .old-price, 
.product-price .old-price {
    color: #999999 !important;
    text-decoration: line-through !important;
}

/* Category grid item hover shadow */
.shopee-category-item:hover {
    box-shadow: 0 2px 10px 0 rgba(230, 231, 151, 0.3) !important;
}

/* Footer overrides */
.footer-bottom {
    border-top: 1px solid #f1f1f1 !important;
}
footer.main {
    background-color: #fbfbfb !important;
    border-top: 4px solid #e6e797 !important;
}
footer.main a {
    color: #666666 !important;
}
footer.main a:hover {
    color: #e6e797 !important;
}

/* --- SHOPEE HOMEPAGE OVERRIDES --- */
.shopee-hero-section {
    margin-top: 15px !important;
}
.shopee-slider-wrapper {
    border-radius: 2px !important;
    overflow: hidden !important;
}
.shopee-banner-stacked {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    height: 100% !important;
}
.shopee-banner-item {
    flex: 1 !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    position: relative !important;
}
.shopee-banner-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}
.shopee-categories-card {
    background: #ffffff !important;
    border-radius: 2px !important;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05) !important;
    margin-top: 20px !important;
    padding: 15px 0 !important;
    border: 1px solid rgba(0,0,0,.05) !important;
}
.shopee-categories-title {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: rgba(0,0,0,.54) !important;
    padding: 0 20px 15px 20px !important;
    border-bottom: 1px solid #f2f2f2 !important;
    margin-bottom: 0px !important;
    text-transform: uppercase !important;
}
.shopee-categories-grid {
    display: grid !important;
    grid-template-columns: repeat(10, 1fr) !important;
}
.shopee-category-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px 5px !important;
    border-right: 1px solid #f5f5f5 !important;
    border-bottom: 1px solid #f5f5f5 !important;
    transition: box-shadow 0.1s !important;
    text-decoration: none !important;
    background: #ffffff !important;
}
.shopee-category-item:hover {
    box-shadow: 0 2px 10px 0 rgba(0,0,0,.05) !important;
    z-index: 1 !important;
}
.shopee-category-img-wrap {
    width: 56px !important;
    height: 56px !important;
    background-color: #f5f5f5 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 10px !important;
}
.shopee-category-img {
    width: 36px !important;
    height: 36px !important;
    object-fit: contain !important;
}
.shopee-category-name {
    font-size: 12px !important;
    color: rgba(0,0,0,.87) !important;
    text-align: center !important;
    line-height: 14px !important;
    height: 28px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}
.shopee-flash-sale-card {
    background: #ffffff !important;
    border-radius: 2px !important;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05) !important;
    margin-top: 20px !important;
    padding: 15px 20px !important;
    border: 1px solid rgba(0,0,0,.05) !important;
}
.shopee-flash-sale-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 15px !important;
}
.shopee-flash-sale-title {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}
.shopee-flash-sale-logo {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #ee4d2d !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    letter-spacing: -1px;
}
.shopee-countdown {
    display: flex !important;
    gap: 5px !important;
    align-items: center !important;
}
.shopee-countdown-box {
    background: #000000 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    font-size: 12px !important;
    padding: 2px 5px !important;
    border-radius: 2px !important;
}
.shopee-flash-sale-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 12px !important;
}
.flash-sale-progress {
    background: #ffbda6 !important;
    border-radius: 10px !important;
    height: 16px !important;
    position: relative !important;
    margin-top: 10px !important;
    overflow: hidden !important;
}
.flash-sale-progress-bar {
    background: linear-gradient(90deg, #ff7337, #ee4d2d) !important;
    height: 100% !important;
    border-radius: 10px !important;
}
.flash-sale-progress-text {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    font-size: 9px !important;
    color: #ffffff !important;
    text-align: center !important;
    line-height: 16px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}
.shopee-suggestions-section {
    margin-top: 20px !important;
}
.shopee-suggestions-tabs {
    background: #ffffff !important;
    border-bottom: 2px solid #ee4d2d !important;
    display: flex !important;
    justify-content: center !important;
    z-index: 10 !important;
}
.shopee-suggestions-tab-item {
    color: #ee4d2d !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 15px 30px !important;
    text-transform: uppercase !important;
    border-bottom: 4px solid #ee4d2d !important;
    margin-bottom: -2px !important;
    cursor: default !important;
}
.shopee-suggestions-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 12px !important;
    margin-top: 15px !important;
}
@media screen and (max-width: 1199px) {
    .shopee-categories-grid {
        grid-template-columns: repeat(5, 1fr) !important;
    }
    .shopee-flash-sale-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .shopee-suggestions-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media screen and (max-width: 767px) {
    .shopee-categories-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    .shopee-flash-sale-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .shopee-suggestions-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Force overflow visible to prevent collapsing or clipping of lazy-loaded images */
.product-img-action-wrap {
    position: relative !important;
    overflow: visible !important;
}

.product-img {
    overflow: visible !important;
    position: relative !important;
}
.product-cart-wrap .product-img-action-wrap .product-img {
    overflow: visible !important;
}

/* Overlay that fades and slides up slightly from bottom on hover (no overflow:hidden needed) */
.pc-action-overlay {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(4px) !important;
    border-radius: 8px !important;
    transform: translateY(8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
    z-index: 10;
}

/* Trigger on hover of the full product card OR just the image area */
.product-cart-wrap:hover .pc-action-overlay,
.product-img-action-wrap:hover .pc-action-overlay {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Shared button base */
.pc-btn-cart,
.pc-btn-buy {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 6px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
    line-height: 1;
}
.pc-btn-cart i,
.pc-btn-buy i {
    font-size: 12px;
    flex-shrink: 0;
}

/* Add to Cart - Lime (Brand Accent) */
.pc-btn-cart {
    background: #e6e797;
    color: #111111 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.20);
}
.pc-btn-cart:hover {
    background: #d4d560;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    opacity: 1;
}
.pc-btn-cart.active {
    background: #26bc94;
    color: #fff !important;
}
.pc-btn-cart.button-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Buy Now - Dark/Black */
.pc-btn-buy {
    background: #111111;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.pc-btn-buy:hover {
    background: #333333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.30);
    opacity: 1;
}

/* Mobile: hide hover action overlay to avoid covering product image and match Shopee layout */
@media screen and (max-width: 767px) {
    .pc-action-overlay {
        display: none !important;
    }
}
