:root {
    --aczen-radius-xs: 10px;
    --aczen-radius-sm: 14px;
    --aczen-radius-md: 20px;
    --aczen-radius-lg: 28px;
    --aczen-shadow-sm: 0 8px 28px rgba(17, 19, 24, .07);
    --aczen-shadow-md: 0 20px 55px rgba(17, 19, 24, .12);
    --aczen-border: #e7e9ee;
    --aczen-safe-bottom: env(safe-area-inset-bottom, 0px);
}

html { scroll-behavior: smooth; }
body {
    background: var(--aczen-canvas);
    color: var(--aczen-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
::selection { background: rgba(var(--primary-color-rgb), .18); color: var(--aczen-ink); }
main { overflow: clip; }
a, button { -webkit-tap-highlight-color: transparent; }

/* Header */
.aczen-header .tp-header-top,
.aczen-header .tp-header-top-2 {
    min-height: 38px;
    background: linear-gradient(90deg, #08090c, #171a20) !important;
    border: 0;
}
.aczen-header .tp-header-top-menu-item,
.aczen-header .tp-header-top-menu-item a,
.aczen-header .tp-header-top-menu-item > span { color: rgba(255,255,255,.82) !important; font-size: 12px; }
.aczen-header-main {
    border-bottom: 1px solid rgba(17,19,24,.06);
    box-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.aczen-header-grid {
    min-height: 86px;
    display: grid;
    grid-template-columns: minmax(150px, 210px) minmax(340px, 1fr) auto;
    align-items: center;
    gap: 32px;
}
.aczen-header-logo .logo img { max-height: 43px !important; width: auto; }
.aczen-header-tools { display: flex; justify-content: flex-end; align-items: center; gap: 15px; }
.aczen-account-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    color: var(--aczen-ink);
}
.aczen-account-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #f1f2f5;
    font-size: 21px;
}
.aczen-account-pill small,
.aczen-hotline small { display: block; color: var(--aczen-muted); font-size: 11px; line-height: 1.1; }
.aczen-account-pill strong,
.aczen-hotline strong { display: block; margin-top: 3px; color: var(--aczen-ink); font-size: 13px; line-height: 1.1; }
.aczen-header .tp-header-search-wrapper,
.aczen-header [class*="tp-header-search-form"] { width: 100%; }
.aczen-header .tp-header-search-box,
.aczen-header .tp-header-search-input,
.aczen-header .tp-header-search-input-box {
    border-radius: 18px !important;
}
.aczen-header .tp-header-search-box {
    background: #f1f3f6;
    border: 1px solid transparent;
    transition: .2s ease;
}
.aczen-header .tp-header-search-box:focus-within {
    background: #fff;
    border-color: rgba(var(--primary-color-rgb), .45);
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), .09);
}
.aczen-header .tp-header-search-input input { height: 52px; background: transparent; }
.aczen-header .tp-header-search-btn { border-radius: 0 16px 16px 0; min-width: 58px; }
.aczen-header .tp-header-action { gap: 8px; }
.aczen-header .tp-header-action-item { margin: 0 !important; }
.aczen-header .tp-header-action-btn {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid var(--aczen-border);
    border-radius: 14px;
    background: #fff;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.aczen-header .tp-header-action-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--primary-color-rgb), .4);
    box-shadow: var(--aczen-shadow-sm);
}
.aczen-header .tp-header-action-badge {
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border: 2px solid #fff;
    background: var(--aczen-accent);
    font-size: 10px;
}
.aczen-header-nav { background: rgba(255,255,255,.96); border-color: var(--aczen-border) !important; }
.aczen-nav-grid {
    min-height: 58px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}
.aczen-category-menu .tp-category-menu-btn {
    min-width: 230px;
    height: 44px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 11px;
    border-radius: 14px;
    background: var(--aczen-ink);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
}
.aczen-main-menu .tp-main-menu-content > ul { display: flex; align-items: center; gap: 4px; }
.aczen-main-menu .tp-main-menu-content > ul > li { margin: 0; }
.aczen-main-menu .tp-main-menu-content > ul > li > a {
    min-height: 58px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 650;
}
.aczen-hotline { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.aczen-hotline > span:first-child {
    width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px;
    background: rgba(var(--primary-color-rgb), .1); color: var(--aczen-accent); font-size: 19px;
}
.tp-header-sticky-area { backdrop-filter: blur(18px); border-bottom: 1px solid rgba(17,19,24,.08); }

/* General surfaces */
.tp-page-area > .container,
.tp-shop-area > .container { position: relative; }
.tp-breadcrumb-area { background: transparent !important; }
.tp-breadcrumb-content { padding: 10px 0; }
.tp-section-title, .tp-section-title-2, .tp-section-title-3, .tp-section-title-4 { letter-spacing: -.035em; }
.tp-btn, .tp-btn-2, .tp-btn-3, .tp-btn-border, .tp-btn-border-2,
button[type="submit"], .btn-primary {
    border-radius: 14px !important;
    font-weight: 750;
    box-shadow: none;
}
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
    border-radius: 13px !important;
}

/* Hero and shortcode blocks */
[class*="tp-slider-area"], [class*="tp-slider-item"],
.tp-banner-item, .tp-banner-item-2, .tp-banner-item-3,
.tp-collection-item, .tp-deal-wrapper {
    border-radius: var(--aczen-radius-lg);
    overflow: hidden;
}
.tp-slider-area, .tp-slider-area-2, .tp-slider-area-3, .tp-slider-area-4, .tp-slider-area-5 { margin-top: 20px; }
.tp-slider-title, .tp-slider-title-2, .tp-slider-title-3 { letter-spacing: -.045em; }

/* Product cards */
.tp-product-item,
.tp-product-item-2,
.tp-product-item-3,
.tp-product-item-4,
.tp-product-item-5,
.tp-product-list-item {
    height: 100%;
    border: 1px solid var(--aczen-border);
    border-radius: var(--aczen-radius-md);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(17,19,24,.02);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.tp-product-item:hover,
.tp-product-item-2:hover,
.tp-product-item-3:hover,
.tp-product-item-4:hover,
.tp-product-item-5:hover,
.tp-product-list-item:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--primary-color-rgb), .24);
    box-shadow: var(--aczen-shadow-md);
}
[class*="tp-product-thumb"] { background: linear-gradient(180deg, #f7f8fa, #f0f2f5); overflow: hidden; }
[class*="tp-product-thumb"] img { transition: transform .45s cubic-bezier(.2,.75,.25,1); }
.tp-product-item:hover [class*="tp-product-thumb"] img,
.tp-product-item-2:hover [class*="tp-product-thumb"] img,
.tp-product-item-3:hover [class*="tp-product-thumb"] img { transform: scale(1.035); }
[class*="tp-product-content"] { padding-left: 16px; padding-right: 16px; padding-bottom: 17px; }
[class*="tp-product-title"] { font-weight: 700; letter-spacing: -.015em; line-height: 1.35; }
.new-price, [data-bb-value="product-price"] { color: var(--aczen-accent); font-weight: 800; }
.old-price, [data-bb-value="product-original-price"] {
    color: #8a9099 !important;
    font-weight: 600 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1.5px !important;
}
.tp-product-badge span, [class*="product-badge"] span { border-radius: 9px; font-weight: 750; }
.tp-product-action-btn, [class*="tp-product-action"] button, [class*="tp-product-action"] a { border-radius: 12px !important; }

/* Categories and content cards */
.tp-product-category-item,
.tp-category-item,
.tp-blog-grid-item,
.tp-blog-item,
.tp-feature-item,
.tp-testimonial-item,
.widget {
    border-radius: var(--aczen-radius-md);
}
.tp-blog-grid-item, .tp-blog-item { overflow: hidden; background: #fff; border: 1px solid var(--aczen-border); }
.tp-sidebar-wrapper, .bb-shop-sidebar { background: #fff; border: 1px solid var(--aczen-border); border-radius: var(--aczen-radius-md); padding: 22px; }
.pagination .page-link { border-radius: 11px !important; margin: 0 3px; }

/* Cart, checkout, account */
.tp-cart-list, .tp-cart-checkout-wrapper, .checkout-order-summary, .customer-page, .auth-card {
    border-radius: var(--aczen-radius-md);
}
.table-responsive, .tp-cart-list { overflow: hidden; background: #fff; border: 1px solid var(--aczen-border); }

/* Trust strip + footer */
.aczen-trust-strip { padding: 28px 0; background: #fff; border-top: 1px solid var(--aczen-border); }
.aczen-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.aczen-trust-item { display: flex; align-items: center; gap: 13px; min-width: 0; }
.aczen-trust-item > span {
    flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center;
    border-radius: 16px; background: rgba(var(--primary-color-rgb), .09); color: var(--aczen-accent); font-size: 23px;
}
.aczen-trust-item strong { display: block; font-size: 14px; color: var(--aczen-ink); }
.aczen-trust-item small { display: block; margin-top: 3px; color: var(--aczen-muted); font-size: 12px; }
.aczen-footer { background: #0b0d12; color: #cbd0da; }
.aczen-footer .tp-footer-top { padding-top: 70px; }
.aczen-footer .tp-footer-widget-title { color: #fff; }
.aczen-footer a { color: #cbd0da; }
.aczen-footer a:hover { color: var(--aczen-accent); }
.aczen-footer-fallback { padding: 66px 0 44px; display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.aczen-footer-fallback p { max-width: 570px; margin: 18px 0 0; color: #a9b0bc; }
.aczen-footer-logo img { max-height: 44px !important; }
.aczen-footer-contact { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; }
.aczen-footer-contact > svg { color: var(--aczen-accent); }
.aczen-footer-contact small { display: block; color: #929aa7; }
.aczen-footer-contact strong { display: block; color: #fff; }
.aczen-footer .tp-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.aczen-footer-bottom { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #929aa7; font-size: 13px; }
.aczen-pwa-ready { display: inline-flex; align-items: center; gap: 8px; }
.aczen-pwa-ready i { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 5px rgba(46,204,113,.12); }

/* PWA install and status */
.aczen-install-card {
    position: fixed; z-index: 9999; left: 50%; bottom: calc(22px + var(--aczen-safe-bottom));
    width: min(92vw, 560px); padding: 14px 15px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px;
    border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(11,13,18,.96); color: #fff;
    box-shadow: 0 24px 70px rgba(0,0,0,.28); backdrop-filter: blur(18px); transform: translate(-50%, 130%); opacity: 0;
    transition: transform .24s ease, opacity .24s ease;
}
.aczen-install-card.is-visible { transform: translate(-50%, 0); opacity: 1; }
.aczen-install-card__icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; background: var(--aczen-accent); font-size: 22px; }
.aczen-install-card__content strong, .aczen-install-card__content span { display: block; }
.aczen-install-card__content strong { font-size: 14px; }
.aczen-install-card__content span { margin-top: 2px; color: #aeb5c1; font-size: 12px; }
.aczen-install-card__button { border: 0; border-radius: 12px; padding: 11px 16px; background: #fff; color: #111318; font-weight: 800; }
.aczen-install-card__close { position: absolute; top: -10px; right: -8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #30343c; color: #fff; }
.aczen-network-status { position: fixed; z-index: 10000; top: 18px; left: 50%; transform: translateX(-50%); padding: 10px 15px; border-radius: 999px; background: #111318; color: #fff; font-size: 12px; font-weight: 700; box-shadow: var(--aczen-shadow-md); }
.aczen-network-status[data-mode="offline"] { background: #b42318; }
.aczen-network-status[data-mode="online"] { background: #16794a; }

/* Mobile app navigation */
.aczen-app-nav { display: none; }

@media (max-width: 1199px) {
    .aczen-header-grid { grid-template-columns: 170px minmax(300px,1fr) auto; gap: 20px; }
    .aczen-nav-grid { grid-template-columns: auto 1fr; }
    .aczen-hotline { display: none; }
}

@media (max-width: 991px) {
    body { padding-bottom: calc(74px + var(--aczen-safe-bottom)); }
    body.aczen-sensitive-page { padding-bottom: 0; }
    .aczen-header .tp-header-top { display: none; }
    .aczen-header-grid { min-height: 68px; grid-template-columns: 1fr auto; gap: 12px; }
    .aczen-header-logo .logo img { max-height: 36px !important; }
    .aczen-header-tools { gap: 4px; }
    .aczen-header .tp-header-action-item-compare,
    .aczen-header .tp-header-action-item-cart,
    .aczen-header .tp-header-action-item-menu { display: none !important; }
    .aczen-header .tp-header-action-item-search { display: block !important; }
    .aczen-header .tp-header-action-btn { width: 41px; height: 41px; }
    .tp-header-sticky-area { display: none !important; }
    .aczen-app-nav {
        position: fixed; z-index: 999; left: 10px; right: 10px; bottom: calc(8px + var(--aczen-safe-bottom));
        min-height: 64px; padding: 7px 8px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
        border: 1px solid rgba(17,19,24,.1); border-radius: 22px; background: rgba(255,255,255,.94);
        box-shadow: 0 18px 50px rgba(17,19,24,.18); backdrop-filter: blur(18px);
    }
    body.aczen-sensitive-page .aczen-app-nav { display: none; }
    .aczen-app-nav__item {
        position: relative; min-width: 0; height: 50px; padding: 3px; border: 0; background: transparent; color: #69717d;
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; font-weight: 700;
    }
    .aczen-app-nav__item svg { width: 21px; height: 21px; }
    .aczen-app-nav__item.is-active { color: var(--aczen-accent); }
    .aczen-app-nav__search { transform: translateY(-13px); }
    .aczen-app-nav__search-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 17px; background: var(--aczen-accent); color: #fff; box-shadow: 0 11px 23px rgba(var(--primary-color-rgb), .28); }
    .aczen-app-nav__search > span:last-child { color: var(--aczen-ink); }
    .aczen-app-nav__badge-wrap { position: relative; line-height: 1; }
    .aczen-app-nav__badge-wrap em { position: absolute; top: -7px; right: -10px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 999px; background: var(--aczen-accent); color: #fff; font-size: 9px; font-style: normal; }
    .aczen-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .aczen-install-card { bottom: calc(84px + var(--aczen-safe-bottom)); }
    body.aczen-sensitive-page .aczen-install-card { bottom: calc(20px + var(--aczen-safe-bottom)); }
}

@media (max-width: 767px) {
    .container { --bs-gutter-x: 24px; }
    main .tp-slider-title { font-size: clamp(31px, 9vw, 42px); line-height: 1.08; }
    [class*="tp-slider-area"], [class*="tp-slider-item"], .tp-banner-item, .tp-banner-item-2, .tp-banner-item-3 { border-radius: 20px; }
    .tp-section-title, .tp-section-title-2, .tp-section-title-3 { font-size: 27px !important; }
    .aczen-trust-strip { padding: 21px 0; }
    .aczen-trust-grid { gap: 16px 10px; }
    .aczen-trust-item { align-items: flex-start; gap: 9px; }
    .aczen-trust-item > span { width: 40px; height: 40px; border-radius: 13px; font-size: 19px; }
    .aczen-trust-item strong { font-size: 12px; }
    .aczen-trust-item small { font-size: 10px; line-height: 1.35; }
    .aczen-footer-fallback { padding: 48px 0 32px; flex-direction: column; align-items: flex-start; }
    .aczen-footer-bottom { min-height: 90px; padding: 18px 0; flex-direction: column; align-items: flex-start; justify-content: center; }
    .aczen-install-card { grid-template-columns: auto 1fr; padding: 13px; }
    .aczen-install-card__button { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 575px) {
    .tp-product-item, .tp-product-item-2, .tp-product-item-3, .tp-product-item-4, .tp-product-item-5 { border-radius: 16px; }
    [class*="tp-product-content"] { padding-left: 11px; padding-right: 11px; padding-bottom: 13px; }
    [class*="tp-product-title"] { font-size: 13px !important; line-height: 1.32; }
    [class*="tp-product-price"] { font-size: 15px !important; }
    .aczen-install-card__content span { display: none; }
}

@media (display-mode: standalone) {
    body { min-height: calc(var(--aczen-vh, 1vh) * 100); }
    .aczen-header-main { padding-top: env(safe-area-inset-top, 0px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ACZEN product enhancements v1.6.0 — original Shofy width, brand pill, visible model and safe mobile actions */

/* Header cleanup: the Shofy pseudo-element supplies the only dropdown arrow. */
.aczen-category-menu .tp-category-menu-btn {
    position: relative;
    justify-content: flex-start !important;
    padding-inline: 18px 44px !important;
}
.aczen-category-menu .tp-category-menu-btn::after {
    inset-inline-end: 18px !important;
}
.aczen-category-menu__icon {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    margin: 0 10px 0 0 !important;
}
.aczen-category-menu__icon svg {
    width: 19px;
    height: 19px;
}
.aczen-category-menu__label {
    display: block;
    min-width: 0;
    margin: 0 !important;
}

/* Product information: compact red brand button + visible gray model pill. */
.aczen-product-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    width: 100%;
    margin: 0 0 9px !important;
    padding: 0 !important;
    overflow: hidden;
    font-family: "DM Sans", var(--primary-font), var(--tp-ff-body), Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 18px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap;
}
.tp-product-content .aczen-product-meta > .aczen-product-meta__brand,
.tp-product-content-2 .aczen-product-meta > .aczen-product-meta__brand,
.tp-product-content-3 .aczen-product-meta > .aczen-product-meta__brand,
.tp-product-content-4 .aczen-product-meta > .aczen-product-meta__brand,
.tp-product-content-5 .aczen-product-meta > .aczen-product-meta__brand,
.tp-product-list-content .aczen-product-meta > .aczen-product-meta__brand {
    display: block !important;
    flex: 0 1 auto;
    max-width: 40%;
    min-width: 0;
    min-height: 24px;
    margin: 0 !important;
    padding: 2px 9px !important;
    overflow: hidden;
    color: #ef1b23 !important;
    background: #fff !important;
    border: 1px solid #ef1b23 !important;
    border-radius: 999px !important;
    font-family: inherit !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    text-decoration: none !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.tp-product-content .aczen-product-meta > .aczen-product-meta__brand:hover,
.tp-product-content-2 .aczen-product-meta > .aczen-product-meta__brand:hover,
.tp-product-content-3 .aczen-product-meta > .aczen-product-meta__brand:hover,
.tp-product-content-4 .aczen-product-meta > .aczen-product-meta__brand:hover,
.tp-product-content-5 .aczen-product-meta > .aczen-product-meta__brand:hover,
.tp-product-list-content .aczen-product-meta > .aczen-product-meta__brand:hover,
.aczen-product-meta__brand:focus-visible {
    color: #fff !important;
    background: #ef1b23 !important;
    border-color: #ef1b23 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 27, 35, .18);
    outline: 0;
}
.tp-product-content .aczen-product-meta > .aczen-product-meta__sku,
.tp-product-content-2 .aczen-product-meta > .aczen-product-meta__sku,
.tp-product-content-3 .aczen-product-meta > .aczen-product-meta__sku,
.tp-product-content-4 .aczen-product-meta > .aczen-product-meta__sku,
.tp-product-content-5 .aczen-product-meta > .aczen-product-meta__sku,
.tp-product-list-content .aczen-product-meta > .aczen-product-meta__sku {
    display: block !important;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 24px;
    margin: 0 !important;
    padding: 2px 8px !important;
    overflow: hidden;
    color: #505966 !important;
    background: #f3f5f7 !important;
    border: 1px solid #dfe3e8 !important;
    border-radius: 999px !important;
    font-family: inherit !important;
    font-size: 11.5px !important;
    font-weight: 550 !important;
    line-height: 18px !important;
    text-align: start !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* Backward compatibility for cached markup from v1.7.0. */
.aczen-product-meta__sku-label {
    color: #6c7480 !important;
    font-weight: 600 !important;
}
.aczen-product-meta__separator { display: none !important; }

/* Product detail: same brand interaction and a clearer model badge. */
.tp-product-details-category > span > a {
    display: inline-flex !important;
    align-items: center;
    min-height: 27px;
    padding: 3px 11px !important;
    color: #ef1b23 !important;
    background: #fff !important;
    border: 1px solid #ef1b23 !important;
    border-radius: 999px !important;
    font-family: "DM Sans", var(--primary-font), var(--tp-ff-body), Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 19px !important;
    text-decoration: none !important;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.tp-product-details-category > span > a:hover,
.tp-product-details-category > span > a:focus-visible {
    color: #fff !important;
    background: #ef1b23 !important;
    border-color: #ef1b23 !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(239, 27, 35, .18);
    outline: 0;
}
.tp-product-details-query-item:has([data-bb-value="product-sku"]) {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}
.tp-product-details-query-item:has([data-bb-value="product-sku"]) > span:first-child {
    color: #343b45 !important;
    font-weight: 600 !important;
}
.tp-product-details-query-item [data-bb-value="product-sku"] {
    display: inline-block !important;
    max-width: 100%;
    padding: 4px 10px !important;
    overflow: hidden;
    color: #4e5763 !important;
    background: #f1f3f5 !important;
    border: 1px solid #dce1e6 !important;
    border-radius: 999px !important;
    font-family: "DM Sans", var(--primary-font), var(--tp-ff-body), Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    letter-spacing: .01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Amerce-style sale ribbon. It moves away while card actions are selected. */
.tp-product-thumb,
.tp-product-thumb-2,
.tp-product-thumb-3,
.tp-product-thumb-4,
.tp-product-thumb-5,
.tp-product-list-thumb {
    position: relative !important;
}
.aczen-offer-marquee {
    --aczen-marquee-duration: 8s;
    position: absolute !important;
    z-index: 8 !important;
    right: 12px !important;
    bottom: 12px !important;
    left: 12px !important;
    display: flex !important;
    align-items: center;
    min-width: 0;
    height: 24px;
    padding: 4px 10px !important;
    overflow: hidden !important;
    color: #fff !important;
    background: #000 !important;
    border: 0 !important;
    border-radius: 100px !important;
    box-shadow: none !important;
    pointer-events: none;
    isolation: isolate;
    opacity: 1;
    transform: translateY(0);
    transition: transform .3s ease, opacity .3s ease;
}
.aczen-offer-marquee__track {
    display: flex;
    flex: none;
    align-items: center;
    width: max-content;
    min-width: max-content;
    animation: aczenOfferMarquee var(--aczen-marquee-duration, 8s) linear infinite;
    will-change: transform;
}
.aczen-offer-marquee__group {
    display: flex;
    flex: none;
    align-items: center;
    gap: 4px;
    padding-inline-end: 4px;
}
.aczen-offer-marquee__item {
    display: inline-flex;
    flex: none;
    align-items: center;
    padding: 0;
    color: #fff !important;
    font-family: "DM Sans", var(--primary-font), var(--tp-ff-body), Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 16px !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
}
.aczen-offer-marquee__star {
    display: inline-flex;
    flex: none;
    align-items: center;
    color: #ef1b23 !important;
    font-family: "DM Sans", var(--primary-font), var(--tp-ff-body), Arial, sans-serif !important;
    font-size: 11px;
    font-weight: 400;
    line-height: 16px;
}
@keyframes aczenOfferMarquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@media (hover: hover) and (pointer: fine) {
    .tp-product-item:hover .aczen-offer-marquee,
    .tp-product-item-2:hover .aczen-offer-marquee,
    .tp-product-item-3:hover .aczen-offer-marquee,
    .tp-product-item-4:hover .aczen-offer-marquee,
    .tp-product-item-5:hover .aczen-offer-marquee,
    .tp-product-list-item:hover .aczen-offer-marquee {
        opacity: 0;
        transform: translateY(44px);
    }
}
.tp-product-item:focus-within .aczen-offer-marquee,
.tp-product-item-2:focus-within .aczen-offer-marquee,
.tp-product-item-3:focus-within .aczen-offer-marquee,
.tp-product-item-4:focus-within .aczen-offer-marquee,
.tp-product-item-5:focus-within .aczen-offer-marquee,
.tp-product-list-item:focus-within .aczen-offer-marquee {
    opacity: 0;
    transform: translateY(44px);
}

/* Rounded cards and controls, without changing price elements. */
.tp-product-item,
.tp-product-item-2,
.tp-product-item-3,
.tp-product-item-4,
.tp-product-item-5,
.tp-product-list-item {
    border-radius: 20px !important;
}
.tp-btn,
.tp-btn-2,
.tp-btn-3,
.tp-product-details-add-to-cart-btn,
.tp-product-details-buy-now-btn,
.tp-product-list-add-to-cart-btn,
.tp-checkout-btn,
.tp-cart-checkout-proceed-btn,
button[data-bb-toggle="add-to-cart"],
a[data-bb-toggle="add-to-cart"] {
    border-radius: 14px !important;
}
.tp-product-details-action-sm-btn,
.tp-product-action-btn,
.tp-product-action-btn-2,
.tp-product-action-btn-3,
.tp-product-action-btn-4,
.tp-cart-plus,
.tp-cart-minus {
    border-radius: 12px !important;
}

/* Product-detail brand/SKU: clean text instead of heavy capsules. */
.tp-product-details-category span,
.tp-product-details-query-item [data-bb-value="product-sku"] {
    display: inline;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    font-family: "DM Sans", var(--primary-font), var(--tp-ff-body), Arial, sans-serif !important;
    font-size: 13px;
    font-weight: 400 !important;
}
.tp-product-details-category span { color: #ef1b23 !important; }
.tp-product-details-query-item [data-bb-value="product-sku"] { color: #737b86 !important; }

/* Keep Shofy's sticky Add to cart / Buy now panel above the ACZEN app bar. */
@media (max-width: 991px) {
    body.aczen-product-page {
        padding-bottom: calc(154px + var(--aczen-safe-bottom)) !important;
    }
    body.aczen-product-page .tp-product-details-action-wrapper {
        scroll-margin-bottom: calc(150px + var(--aczen-safe-bottom));
        margin-bottom: 28px !important;
    }
    body.aczen-product-page .tp-product-details-sticky-actions {
        z-index: 998 !important;
        bottom: calc(82px + var(--aczen-safe-bottom)) !important;
        padding: 8px 10px !important;
    }
    body.aczen-product-page .tp-product-details-sticky-actions .container {
        padding-inline: 0 !important;
    }
    body.aczen-product-page .tp-product-details-sticky-actions .sticky-actions-button {
        width: 100%;
        gap: 8px !important;
    }
    body.aczen-product-page .tp-product-details-sticky-actions .sticky-actions-button button {
        width: 50%;
        min-height: 46px;
        padding: 9px 8px !important;
        font-size: 13px;
        line-height: 1.2;
    }
}

@media (max-width: 575px) {
    .aczen-product-meta {
        gap: 4px;
        margin-bottom: 7px !important;
        font-size: 11px !important;
    }
    .aczen-product-meta__brand { max-width: 42% !important; }
    .aczen-offer-marquee {
        right: 8px !important;
        bottom: 8px !important;
        left: 8px !important;
        height: 24px;
        padding: 4px 9px !important;
    }
    .aczen-offer-marquee__item {
        font-size: 11px !important;
        line-height: 16px !important;
    }
    .aczen-offer-marquee__star {
        font-size: 10px;
        line-height: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aczen-offer-marquee__track {
        animation: none !important;
        transform: none !important;
    }
}

/* ACZEN Modern PWA v1.8.0 — direct model code without SKU label on desktop and mobile */

/* A cleaner search field: soft neutral border, separated category selector and compact red action. */
.aczen-header .tp-header-search-wrapper {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    height: 56px !important;
    padding: 3px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid #dfe3e8 !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(17, 19, 24, .06) !important;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.aczen-header .tp-header-search-wrapper:focus-within {
    border-color: rgba(var(--primary-color-rgb), .55) !important;
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), .09), 0 10px 26px rgba(17, 19, 24, .07) !important;
}
.aczen-header .tp-header-search-box {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 48px !important;
    overflow: hidden !important;
    background: #f4f6f8 !important;
    border: 0 !important;
    border-radius: 14px 0 0 14px !important;
}
.aczen-header .tp-header-search-box input {
    width: 100% !important;
    height: 48px !important;
    padding: 0 20px !important;
    color: #20252d !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    outline: 0 !important;
    box-shadow: none !important;
}
.aczen-header .tp-header-search-box input::placeholder {
    color: #7d8590 !important;
    opacity: 1;
}
.aczen-header .tp-header-search-category {
    position: relative !important;
    flex: 0 0 166px !important;
    width: 166px !important;
    height: 48px !important;
    padding: 0 !important;
    background: #ffffff !important;
    border-inline-start: 1px solid #e4e7eb !important;
}
.aczen-header .tp-header-search-category::after {
    display: none !important;
}
.aczen-header .tp-header-search-category .product-category-label {
    width: 100% !important;
    height: 48px !important;
    padding: 0 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 9px !important;
    color: #303741 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    letter-spacing: .01em;
}
.aczen-header .tp-header-search-category .product-category-label span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.aczen-header .tp-header-search-category .product-category-label svg {
    flex: 0 0 auto;
    width: 18px !important;
    height: 18px !important;
    stroke-width: 1.8;
}
.aczen-header .tp-header-search-category select {
    inset: 0 !important;
    width: 100% !important;
    height: 48px !important;
}
.aczen-header .tp-header-search-btn {
    position: static !important;
    flex: 0 0 54px !important;
    width: 54px !important;
    height: 48px !important;
    margin-inline-start: 3px !important;
}
.aczen-header .tp-header-search-btn button {
    width: 54px !important;
    height: 48px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    color: #ffffff !important;
    background: var(--aczen-accent) !important;
    border: 0 !important;
    border-radius: 14px !important;
    line-height: 1 !important;
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.aczen-header .tp-header-search-btn button:hover,
.aczen-header .tp-header-search-btn button:focus-visible {
    transform: translateY(-1px);
    filter: brightness(.94);
    box-shadow: 0 8px 18px rgba(var(--primary-color-rgb), .24);
    outline: 0;
}
.aczen-header .tp-header-search-btn button svg {
    width: 23px !important;
    height: 23px !important;
    stroke-width: 1.8;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .aczen-header .tp-header-search-category {
        flex-basis: 142px !important;
        width: 142px !important;
    }
    .aczen-header .tp-header-search-category .product-category-label {
        padding-inline: 12px !important;
        font-size: 12px !important;
    }
    .aczen-header .tp-header-search-box input {
        padding-inline: 16px !important;
    }
}

/* Mobile product cards: brand always keeps its space; only a long model code is truncated. */
@media (max-width: 767px) {
    .aczen-product-meta {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .tp-product-content .aczen-product-meta > .aczen-product-meta__brand,
    .tp-product-content-2 .aczen-product-meta > .aczen-product-meta__brand,
    .tp-product-content-3 .aczen-product-meta > .aczen-product-meta__brand,
    .tp-product-content-4 .aczen-product-meta > .aczen-product-meta__brand,
    .tp-product-content-5 .aczen-product-meta > .aczen-product-meta__brand,
    .tp-product-list-content .aczen-product-meta > .aczen-product-meta__brand {
        flex: 0 0 auto !important;
        max-width: none !important;
        min-width: max-content !important;
        min-height: 23px !important;
        padding: 2px 8px !important;
        font-size: 11px !important;
        font-weight: 650 !important;
        line-height: 17px !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }
    .tp-product-content .aczen-product-meta > .aczen-product-meta__sku,
    .tp-product-content-2 .aczen-product-meta > .aczen-product-meta__sku,
    .tp-product-content-3 .aczen-product-meta > .aczen-product-meta__sku,
    .tp-product-content-4 .aczen-product-meta > .aczen-product-meta__sku,
    .tp-product-content-5 .aczen-product-meta > .aczen-product-meta__sku,
    .tp-product-list-content .aczen-product-meta > .aczen-product-meta__sku {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        min-height: 23px !important;
        padding: 2px 7px !important;
        font-size: 10.5px !important;
        font-weight: 600 !important;
        line-height: 17px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    /* Backward compatibility for cached markup from v1.7.0. */
.aczen-product-meta__sku-label {
        font-weight: 700 !important;
    }
}

@media (max-width: 390px) {
    .tp-product-content .aczen-product-meta > .aczen-product-meta__brand,
    .tp-product-content-2 .aczen-product-meta > .aczen-product-meta__brand,
    .tp-product-content-3 .aczen-product-meta > .aczen-product-meta__brand,
    .tp-product-content-4 .aczen-product-meta > .aczen-product-meta__brand,
    .tp-product-content-5 .aczen-product-meta > .aczen-product-meta__brand,
    .tp-product-list-content .aczen-product-meta > .aczen-product-meta__brand {
        padding-inline: 7px !important;
        font-size: 10.5px !important;
    }
    .tp-product-content .aczen-product-meta > .aczen-product-meta__sku,
    .tp-product-content-2 .aczen-product-meta > .aczen-product-meta__sku,
    .tp-product-content-3 .aczen-product-meta > .aczen-product-meta__sku,
    .tp-product-content-4 .aczen-product-meta > .aczen-product-meta__sku,
    .tp-product-content-5 .aczen-product-meta > .aczen-product-meta__sku,
    .tp-product-list-content .aczen-product-meta > .aczen-product-meta__sku {
        font-size: 10px !important;
    }
}
