/* PRODUCT DETAIL PAGE: BASE STYLES AND RESPONSIVE LAYOUT */
/* ==================================================
   1. RESET DAN VARIABEL
================================================== */
* {
    box-sizing: border-box;
}

:root {
    --pasarwd-brand-gradient: linear-gradient(110deg, #ff4512, #f4512b);
    --orange: #f4512b;
    --red: #ee4d2d;
    --text: #222;
    --muted: #777;
    --line: #eee;
    --soft: #fff7f4;
    --page: rgb(255 106 0 / 12%);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 15px;
}

body {
    margin: 0;
    background: rgb(255 106 0 / 12%);
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

/* ==================================================
   2. HEADER ATAS
================================================== */
.site-header {
    background: var(--pasarwd-brand-gradient);
    color: #fff;
    padding: 0 3.8%;
    box-shadow: 0 2px 4px #00000010;
}

.topline {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    white-space: nowrap;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.top-left>span,
.top-right>span {
    opacity: 0.55;
}

.top-right {
    gap: 18px;
}

.language-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ==================================================
   3. LOGO DAN KOTAK PENCARIAN
================================================== */
.main-header {
    display: grid;
    grid-template-columns: 205px minmax(0, 760px) 54px;
    justify-content: space-between;
    align-items: start;
    column-gap: clamp(12px, 1.6vw, 20px);
    min-height: 100px;
    padding: 12px 0 0;
}

.brand {
    display: flex;
    align-items: center;
    min-width: 0;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 100%;
    max-width: 200px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    object-position: left center;
}

.search-area {
    width: 100%;
    max-width: 760px;
    min-width: 0;
    margin: 0;
}

.search-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 46px;
    min-height: 46px;
    margin: 0;
    padding: 3px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 2px #0002;
}

.search-form input {
    height: 100%;
    width: 0;
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 10px 13px;
    font-size: 15px;
    color: #333;
}

.search-form button {
    height: 100%;
    flex: 0 0 72px;
    width: 72px;
    border: 0;
    border-radius: 2px;
    background: var(--red);
    color: #fff;
    font-size: 27px;
    line-height: 1;
}

.search-suggestions {
    display: flex;
    gap: clamp(9px, 1.35vw, 16px);
    margin: 0;
    padding: 8px 0 12px;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 12px;
    scrollbar-width: none;
}

.search-suggestions::-webkit-scrollbar {
    display: none;
}

.search-suggestions a {
    opacity: 0.95;
}

.cart-button {
    position: relative;
    display: grid;
    place-items: center;
    justify-self: center;
    width: 54px;
    height: 46px;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    color: #fff;
    font-size: 28px;
}

.cart-button span {
    position: absolute;
    top: 0;
    right: 0;
    background: #fff;
    color: var(--red);
    font-size: 11px;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
}

/* ==================================================
   4. IKON SVG
================================================== */
.ui-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    vertical-align: middle;
    stroke: currentColor;
    fill: none;
}

.search-form button .ui-icon {
    width: 21px;
    height: 21px;
}

.cart-button>.ui-icon {
    width: 29px;
    height: 29px;
}

.language-link .ui-icon {
    width: 13px;
    height: 13px;
}

.deal-strip strong .ui-icon {
    width: 16px;
    height: 16px;
}

.safe-note .ui-icon {
    width: 15px;
    height: 15px;
    color: var(--red);
}

.outline-button .ui-icon {
    width: 14px;
    height: 14px;
}

.store-features span .ui-icon {
    width: 19px;
    height: 19px;
}

.faq-plus .ui-icon {
    width: 18px;
    height: 18px;
}

.review-foot .ui-icon {
    width: 13px;
    height: 13px;
    vertical-align: middle;
}

/* ==================================================
   5. KERANGKA HALAMAN DAN BREADCRUMB
================================================== */
.page-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 18px 32px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #888;
    font-size: 12px;
    padding: 18px 2px;
}

.breadcrumbs a {
    color: #687386;
}

.breadcrumbs a:hover {
    color: var(--orange);
}

.breadcrumbs [aria-current="page"],
.breadcrumbs>span:last-child:not([aria-hidden="true"]) {
    color: var(--orange);
    font-weight: 600;
}

/* ==================================================
   6. PANEL DAN GALERI PRODUK
================================================== */
.product-panel {
    background: #fff;
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    grid-template-areas: "gallery title" "gallery info";
    grid-template-rows: auto 1fr;
    gap: 0 24px;
    padding: 22px;
    border-radius: 2px;
}

.page-main-title {
    grid-area: title;
    align-self: center;
}

.gallery {
    grid-area: gallery;
    min-width: 0;
}

.product-info {
    grid-area: info;
}

.main-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: #fff1f5;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.main-product-image>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mobile-banner-actions {
    display: none;
}

.thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 9px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 14px 0 5px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.thumbs::-webkit-scrollbar {
    display: none;
}

.thumb {
    display: block;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    padding: 2px;
    background: #fff;
    border: 1px solid #ddd;
    overflow: hidden;
}

.thumb.active,
.thumb:hover {
    border-color: var(--red);
}

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

/* ==================================================
   7. INFORMASI PRODUK
================================================== */
.product-info {
    min-width: 0;
}

.product-badges {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin: 1px 0 12px;
}

.badge-red {
    background: var(--red);
    color: #fff;
    padding: 4px 7px;
    font-size: 10px;
    font-weight: bold;
}

.badge-outline {
    border: 1px solid #f4a08e;
    color: var(--red);
    padding: 3px 7px;
    font-size: 10px;
}

.product-info h1 {
    font-size: 23px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 13px;
}

.rating-line {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    color: #555;
    font-size: 13px;
}

.rating-line a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.rating-line small {
    color: #777;
}

.rating-line i {
    height: 16px;
    border-left: 1px solid #ddd;
}

.stars {
    color: #f5a623;
    letter-spacing: 1px;
}

.price-box {
    background: linear-gradient(90deg, #f65b3230, #fff8f2);
    padding: 17px 20px;
    margin-bottom: 5px;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 13px;
}

.price-box>div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 3px;
}

.price-box strong {
    font-size: 29px;
    color: var(--red);
}

.discount {
    background: #ffe9e4;
    color: var(--red);
    font-size: 12px;
    padding: 4px 6px;
}

.price-box p {
    margin: 5px 0 0;
    color: #888;
    font-size: 12px;
}

.deal-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: linear-gradient(90deg, #fff1e9, #fff8f2);
    padding: 11px 13px;
    margin-bottom: 17px;
    color: #b84820;
}

.deal-strip strong {
    color: #e64a2e;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.deal-timer {
    margin-left: auto;
    font-weight: bold;
    letter-spacing: 1px;
}

.info-row {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 12px;
    margin: 18px 0;
    color: #444;
}

.info-label {
    color: #888;
}

.muted {
    color: #999;
    font-size: 12px;
}

.info-row p {
    margin: 7px 0 0;
}

.category-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-item {
    border: 1px solid #ddd;
    background: #fff;
    padding: 9px 11px;
    color: #555;
    font: inherit;
    cursor: pointer;
}

.category-item.active,
.category-item:hover {
    border-color: var(--red);
    color: var(--red);
    background: #fff8f6;
}

.category-item:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.quantity {
    display: flex;
    align-items: center;
    gap: 0;
}

.quantity button {
    width: 32px;
    height: 31px;
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
}

.quantity input {
    width: 48px;
    height: 31px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: 0;
    border-right: 0;
    outline: 0;
}

.quantity input::-webkit-inner-spin-button {
    appearance: none;
}

.quantity span {
    margin-left: 15px;
    color: #888;
    font-size: 12px;
}

.buy-actions {
    display: flex;
    gap: 12px;
    margin: 25px 0 13px;
}

.buy-actions a {
    min-height: 46px;
    padding: 0 20px;
    border-radius: 2px;
    font-weight: 500;
}

.buy-actions .add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    background: #fff4f0;
    border: 1px solid var(--red);
    color: var(--red);
}

.buy-actions .buy-now {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    background: var(--red);
    border: 1px solid var(--red);
    color: #fff;
    min-width: 145px;
}

.safe-note {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 12px;
}

/* ==================================================
   8. KEUNGGULAN LAYANAN
================================================== */
.benefits-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: #fff;
    margin-top: 0px;
    padding: 12px 12px;
    border: 1px solid #f0f0f0;
    grid-auto-flow: row;
    align-items: center;
    align-content: start;
    justify-items: stretch;
}

.benefits-strip>div {
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid #eee;
    padding: 4px 10px;
    align-content: center;
    flex-direction: column;
    justify-content: flex-start;
}

.benefits-strip>div:last-child {
    border-right: 0;
}

.benefits-strip strong,
.benefits-strip small {
    display: block;
}

.benefits-strip strong {
    font-size: 15px;
}

.benefits-strip small {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

/* ==================================================
   9. PROFIL TOKO, LOGO, ONLINE
================================================== */
.store-panel {
    background: #fff;
    margin-top: 14px;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 36%) minmax(0, 64%);
    align-items: center;
}

.store-profile {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 0;
    border-right: 1px solid #eee;
    padding-right: 22px;
}

.store-avatar {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    border: 1px solid #eee;
    border-radius: 50%;
    display: block;
    object-fit: contain;
    background: #fff6f0;
    color: #cf4d2d;
    font-size: 22px;
    font-weight: bold;
}

.store-details {
    min-width: 0;
}

.store-details h2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 16px;
    margin: 0 0 7px;
}

.store-mall-logo {
    display: inline-block;
    width: 60px;
    height: auto;
    max-height: 22px;
    object-fit: contain;
    vertical-align: middle;
}

.store-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 12px;
    margin: 0 0 12px;
    flex-wrap: wrap;
}

.store-status .online-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    background: #22c55e;
    border-radius: 50%;
}

.store-status .online-text {
    color: #16a34a;
    font-weight: 600;
}

.store-buttons {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #ddd;
    background: #fff;
    padding: 8px 10px;
    color: #555;
    font-size: 11px;
}

.store-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding-left: 24px;
}

.store-features>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 9px;
    color: #555;
}

.store-features span {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid #f3b3a5;
    border-radius: 50%;
    color: var(--red);
    font-size: 19px;
}

.store-features h3 {
    font-size: 10px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
    color: inherit;
}

/* ==================================================
   10. JUDUL SECTION DAN DESKRIPSI
================================================== */
.content-card {
    background: #fff;
    margin-top: 14px;
    padding: 24px;
    border: 1px solid #eee;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 20px;
    color: #333;
}

.content-card .section-title:before,
.related-heading .section-title:before {
    content: "";
    display: block;
    flex: 0 0 4px;
    width: 4px;
    height: 22px;
    background: var(--orange);
    border-radius: 2px;
}

.description-banner {
    width: 100%;
    max-height: 360px;
    overflow: hidden;
    background: #fff1f5;
}

.description-banner img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    display: block;
}

.description-copy {
    max-width: 900px;
    line-height: 1.8;
    color: #555;
    padding: 17px 0 0;
}

.description-copy h3 {
    font-size: 16px;
    color: #333;
    margin: 0 0 8px;
}

.description-copy p {
    margin: 8px 0;
}

.description-copy ul {
    padding-left: 22px;
}

/* ==================================================
   11. SPESIFIKASI PRODUK
================================================== */
.spec-table {
    border: 1px solid #eee;
}

.spec-table>div {
    display: grid;
    grid-template-columns: minmax(130px, 27%) minmax(0, 1fr);
    border-bottom: 1px solid #eee;
    min-height: 44px;
}

.spec-table>div:last-child {
    border-bottom: 0;
}

.spec-table span {
    background: #fafafa;
    color: #777;
    padding: 13px 15px;
}

.spec-table strong,
.spec-table .spec-value {
    padding: 13px 15px;
    font-weight: 400;
    color: #444;
    line-height: 1.5;
}

/* ==================================================
   12. PENILAIAN DAN ULASAN
================================================== */
.rating-summary {
    display: flex;
    align-items: center;
    gap: 35px;
    background: #fff9f6;
    border: 1px solid #ffe2d8;
    padding: 22px;
    margin-bottom: 20px;
}

.rating-score {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 4px 12px;
    color: var(--red);
}

.rating-score strong {
    font-size: 34px;
    font-weight: 500;
}

.rating-score .stars {
    font-size: 18px;
}

.rating-score small {
    grid-column: 1/-1;
    color: #888;
}

.rating-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rating-filters button {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
}

.rating-filters button.active,
.rating-filters button:hover {
    border-color: var(--red);
    color: var(--red);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.review-card {
    border: 1px solid #eee;
    padding: 17px;
    min-width: 0;
}

.review-card.hidden {
    display: none;
}

.review-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f8e6e0;
    color: #b95b43;
    font-weight: bold;
}

.review-head strong {
    font-size: 13px;
}

.small-stars {
    font-size: 12px;
    margin-top: 4px;
}

.review-date,
.review-variant {
    font-size: 11px;
    color: #999;
    margin: 12px 0 0;
}

.review-text {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin: 10px 0;
}

.review-photo img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border: 1px solid #eee;
}

.review-foot {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 11px;
    border-top: 1px solid #f2f2f2;
    padding-top: 12px;
    margin-top: 12px;
}

.load-more {
    display: block;
    margin: 22px auto 0;
    padding: 10px 22px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
}

/* ==================================================
   13. FAQ: PERTANYAAN ABU-ABU, JAWABAN KREM
================================================== */
.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid #f2ddd5;
    border-radius: 12px;
    background: linear-gradient(145deg, #fff, #fffaf8);
    box-shadow: 0 4px 13px rgba(92, 43, 24, 0.045);
    transition:
        transform 0.2s,
        border-color 0.2s,
        box-shadow 0.2s;
}

.faq-item:hover {
    transform: translateY(-2px);
    border-color: #f0a28e;
    box-shadow: 0 9px 20px rgba(92, 43, 24, 0.09);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 15px 17px;
    color: #252a34;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
}

.faq-question:hover {
    background: #fff8f4;
    color: #e94d2d;
}

.faq-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    color: var(--red);
    transition: transform 0.2s ease;
}

.faq-answer {
    display: none;
    padding: 0 17px 16px;
    background: #fff8f4;
    color: #5f6672;
    border-top: 1px solid #f5e4dd;
    line-height: 1.7;
    font-size: 13px;
}

.faq-answer p {
    margin: 0;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open {
    border-color: #f0a28e;
    background: #fff8f4;
}

.faq-item.open .faq-question {
    background: #fff8f4;
    color: #e94d2d;
}

.faq-item.open .faq-plus {
    transform: rotate(45deg);
}

/* ==================================================
   14. PRODUK LAIN DAN CAROUSEL
================================================== */
.related-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.carousel-controls {
    display: flex;
    gap: 7px;
}

.carousel-controls button {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
    font-size: 22px;
    line-height: 1;
}

.products-viewport {
    overflow: hidden;
}

.products-track {
    display: flex;
    gap: 14px;
    transition: transform 0.35s ease;
    will-change: transform;
}

.product-card {
    flex: 0 0 calc((100% - 42px) / 4);
    min-width: 0;
    border: 1px solid #eee;
    background: #fff;
    transition: border-color 0.2s;
}

.product-card:hover {
    border-color: #f3a18f;
}

.product-card>img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    background: #fff7f8;
}

.product-card-body {
    padding: 11px;
}

.product-card h3 {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    margin: 0 0 9px;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-body>strong {
    display: block;
    color: var(--red);
    font-size: 16px;
    margin-bottom: 8px;
}

.product-card-body>div {
    font-size: 11px;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-body small {
    color: #999;
    margin-left: 5px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding-top: 18px;
}

.carousel-dots button {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    background: #ddd;
    padding: 0;
}

.carousel-dots button.active {
    width: 20px;
    border-radius: 8px;
    background: var(--red);
}

/* ==================================================
   15. FOOTER
================================================== */
.site-footer {
    font-family: "Samsung One", Arial, sans-serif;
    background: var(--pasarwd-brand-gradient);
    color: #fff;
    padding: 34px max(28px, calc((100% - 1200px) / 2)) 0;
}

.site-footer .footer-heading,
.site-footer .footer-columns a,
.site-footer .payment-area,
.site-footer .payment-area strong,
.site-footer .footer-bottom,
.site-footer .footer-bottom a {
    font-family: "Samsung One", Arial, sans-serif;
}

.site-footer .footer-heading,
.site-footer .footer-columns a {
    color: #fff;
}

.site-footer .footer-bottom {
    color: #fff;
}

.site-footer .footer-bottom>span:nth-child(2) {
    color: #ffef4c;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid #ffffff55;
    border-bottom: 1px solid #ffffff55;
}

.footer-columns>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 22px 24px 28px;
    border-right: 1px solid #ffffff55;
    min-width: 0;
}

.footer-columns>div:first-child {
    padding-left: 0;
}

.footer-columns>div:last-child {
    border-right: 0;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    line-height: 1.4;
}

.footer-columns a {
    display: block;
    width: 100%;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.footer-columns a:hover {
    color: #fff;
    text-decoration: underline;
}

.payment-area {
    padding: 18px 0 16px;
    border-bottom: 1px solid #ffffff55;
}

.payment-area>strong {
    display: block;
    margin: 0 0 12px;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.4px;
}

.payment-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer .payment-logos img {
    display: block;
    flex: 0 0 92px !important;
    box-sizing: border-box;
    width: 60px !important;
    min-width: 75px !important;
    max-width: 70px !important;
    height: 27px !important;
    min-height: 30px !important;
    max-height: 35px !important;
    padding: 8px 8px;
    object-fit: contain;
    background: #fff;
    border: 0;
    border-radius: 4px;
    box-shadow: none;
    transition: transform 0.25s ease;
    cursor: pointer;
}

.payment-logos img:hover {
    transform: translateY(-2px);
}

.payment-logos img:active {
    transform: translateY(0) scale(0.99);
}

.footer-bottom {
    border-top: 1px solid #ffffff55;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 18px 0;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
}

.footer-bottom>span {
    order: 0;
    margin-right: 0;
}

.footer-bottom>span:nth-child(2) {
    margin-left: 0;
    margin-right: auto;
    color: #ffef4c;
    font-weight: 700;
}

.footer-bottom>div:not(.footer-social) {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-left: auto;
    margin-right: 0;
}

.footer-bottom .footer-social {
    order: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-left: 0;
}

.footer-social a {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.footer-social a img {
    display: block;
    width: 17px;
    height: 17px;
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 1;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 18px 16px 0;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-columns>div {
        padding: 16px 12px;
        border-bottom: 1px solid #ffffff33;
    }

    .footer-columns>div:first-child {
        padding-left: 12px;
    }

    .footer-columns>div:nth-child(2n) {
        border-right: 0;
    }

    .footer-columns>div:last-child {
        border-bottom: 0;
    }

    .footer-heading {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .footer-columns a {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .payment-area {
        padding: 16px 0 14px;
    }

    .payment-area>strong {
        margin: 0 0 10px;
    }

    .payment-logos {
        gap: 8px;
    }

    .site-footer .payment-logos img {
        flex-basis: 82px !important;
        width: 82px !important;
        min-width: 82px !important;
        max-width: 82px !important;
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        padding: 4px 6px;
    }

    .footer-bottom {
        gap: 10px;
        padding: 14px 0;
    }

    .footer-bottom>div:not(.footer-social) {
        gap: 10px;
    }

    .footer-bottom .footer-social {
        gap: 7px;
    }
}

@media (hover: none) {
    .payment-logos img:hover {
        transform: none;
    }

    .footer-social a:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .payment-logos img,
    .footer-social a {
        transition: none;
    }
}

/* ==================================================
   16. TOAST NOTIFIKASI
================================================== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 20px);
    background: #252525;
    color: #fff;
    padding: 12px 18px;
    border-radius: 5px;
    box-shadow: 0 5px 20px #0002;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
    z-index: 1050;
    max-width: calc(100vw - 30px);
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ==================================================
   17. TABLET
================================================== */
@media (max-width: 900px) {
    .site-header {
        padding-left: 18px;
        padding-right: 18px;
    }

    .topline {
        font-size: 11px;
    }

    .top-left {
        gap: 6px;
    }

    .top-right {
        gap: 10px;
    }

    .cart-button {
        width: 44px;
        height: 42px;
    }

    .page-wrap {
        padding: 0 12px 24px;
    }

    .product-panel {
        gap: 18px;
        padding: 17px;
    }

    .product-info h1 {
        font-size: 20px;
    }

    .store-panel {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .store-profile {
        border-right: 0;
        border-bottom: 1px solid #eee;
        padding: 0 0 18px;
    }

    .store-features {
        padding-left: 0;
    }

    .benefits-strip {
        padding: 15px 8px;
    }

    .benefits-strip>div {
        padding: 4px 6px;
    }

    .benefits-strip small {
        line-height: 1.35;
    }

    .product-card {
        flex-basis: calc((100% - 28px) / 3);
    }
}

/* ==================================================
   18. TOMBOL STICKY: DEFAULT TERSEMBUNYI DI DESKTOP
================================================== */
.mobile-sticky-buy {
    display: none;
}

/* ==================================================
   19. HP: HEADER DAN PENCARIAN
================================================== */
@media (max-width: 600px) {
    body {
        padding-bottom: 82px;
    }

    .site-header {
        padding-left: 12px;
        padding-right: 12px;
    }

    .topline {
        height: auto;
        min-height: 28px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0;
        padding: 5px 0 2px;
        font-size: 10px;
        white-space: nowrap;
    }

    .top-left {
        display: none !important;
    }

    .top-right {
        display: flex;
        width: 100%;
        max-width: 100%;
        justify-content: flex-end;
        align-items: center;
        gap: clamp(7px, 2vw, 13px);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .top-right::-webkit-scrollbar {
        display: none;
    }

    .top-right a {
        display: inline-flex !important;
        align-items: center;
        gap: 3px;
        flex: 0 0 auto;
    }

    .language-link .ui-icon {
        width: 12px;
        height: 12px;
    }

    .top-right>span {
        display: inline !important;
    }

    .main-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 10px;
        row-gap: 0;
        min-height: 0;
        padding: 9px 0 8px;
        align-items: center;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        gap: 6px;
        overflow: hidden;
        white-space: nowrap;
    }

    .brand-logo {
        display: block;
        width: 100%;
        max-width: 100%;
        max-height: 60px;
        height: auto;
        object-fit: contain;
        object-position: left center;
    }

    .search-area {
        display: contents;
    }

    .search-form {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        max-width: none;
        min-width: 0;
        height: 40px;
        min-height: 40px;
        margin: 0;
    }

    .search-form input {
        width: 0;
        min-width: 0;
        flex: 1;
        font-size: 11px;
        padding: 7px;
    }

    .search-form button {
        flex: 0 0 34px;
        width: 34px;
    }

    .search-suggestions {
        grid-column: 1/-1;
        grid-row: 2;
        display: flex;
        width: 100%;
        min-width: 0;
        padding: 9px 0 2px;
        gap: 12px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .search-suggestions::-webkit-scrollbar {
        display: none;
    }

    .main-header>.cart-button {
        display: none !important;
    }

    /* ==================================================
   20. GALERI MOBILE: BANNER, AKSI, JUDUL, THUMBNAIL
================================================== */
    .page-wrap {
        padding: 0 0 20px;
    }

    .breadcrumbs {
        font-size: 10px;
        gap: 6px;
        padding: 12px 10px;
    }

    .product-panel {
        display: block;
        padding: 0;
        border-radius: 0;
    }

    .gallery {
        width: 100%;
        min-width: 0;
    }

    .main-product-image {
        position: relative;
        width: 100%;
        aspect-ratio: 1/1;
        max-height: none;
        overflow: hidden;
        background: #fff;
    }

    .main-product-image>img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .mobile-banner-actions {
        position: absolute;
        top: 12px;
        right: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        z-index: 5;
    }

    .mobile-banner-actions button {
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.94);
        color: #333;
        box-shadow: 0 1px 5px #0002;
        font-size: 25px;
        line-height: 1;
    }

    .mobile-banner-actions .ui-icon {
        width: 18px;
        height: 18px;
    }

    .thumbs {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 10px 12px 12px;
        background: #fff;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .thumbs::-webkit-scrollbar {
        display: none;
    }

    .thumb {
        display: block;
        flex: 0 0 22%;
        width: 22%;
        min-width: 68px;
        max-width: 100px;
        aspect-ratio: 1/1;
        height: auto;
        padding: 2px;
        border: 1px solid #ddd;
        background: #fff;
        overflow: hidden;
        scroll-snap-align: start;
    }

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

    .thumb.active {
        border: 2px solid var(--red);
    }

    /* ==================================================
   21. INFORMASI PRODUK MOBILE
================================================== */
    .product-info {
        background: #fff;
        padding: 14px 12px;
    }

    .product-info h1 {
        font-size: 18px;
        line-height: 1.4;
    }

    .product-badges {
        margin-bottom: 8px;
    }

    .rating-line {
        gap: 8px;
        font-size: 11px;
        margin-bottom: 13px;
    }

    .price-box {
        padding: 13px;
    }

    .price-box strong {
        font-size: 25px;
    }

    .info-row {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 8px;
        margin: 14px 0;
        font-size: 12px;
    }

    .category-item {
        font-size: 11px;
        padding: 8px;
    }

    .buy-actions {
        display: flex;
        gap: 8px;
        margin: 18px 0 12px;
    }

    .buy-actions a {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        min-width: 0;
        min-height: 46px;
        padding: 10px 8px;
        font-size: 12px;
        line-height: 1.3;
        white-space: normal;
    }

    .safe-note {
        font-size: 11px;
    }

    /* ==================================================
   22. LAYANAN DAN TOKO MOBILE
================================================== */
    .benefits-strip {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 12px;
        padding: 10px 8px;
    }

    .benefits-strip>div {
        justify-content: flex-start;
        border-right: 0;
        padding: 0 4px;
    }

    .benefits-strip>div:nth-child(odd) {
        border-right: 1px solid #eee;
    }

    .benefits-strip strong {
        font-size: 11px;
    }

    .benefits-strip small {
        font-size: 10px;
    }

    .store-panel {
        padding: 15px;
        gap: 15px;
    }

    .store-avatar {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .store-details h2 {
        font-size: 14px;
        gap: 5px;
    }

    .store-mall-logo {
        width: 50px;
        max-height: 19px;
    }

    .store-status {
        font-size: 11px;
        gap: 5px;
    }

    .store-buttons .outline-button {
        padding: 7px;
        font-size: 10px;
    }

    .store-features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
    }

    .store-features span {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .store-features h3 {
        font-size: 8px;
    }

    /* ==================================================
   23. KONTEN DAN SPESIFIKASI MOBILE
================================================== */
    .content-card {
        padding: 15px;
        margin-top: 10px;
    }

    .section-title {
        font-size: 16px;
        margin-bottom: 15px;
        gap: 8px;
    }

    .content-card .section-title:before,
    .related-heading .section-title:before {
        height: 20px;
        width: 4px;
        flex-basis: 4px;
    }

    .description-banner img {
        min-height: 130px;
    }

    .description-copy {
        font-size: 12px;
        line-height: 1.7;
    }

    .spec-table>div {
        grid-template-columns: 38% 62%;
    }

    .spec-table span,
    .spec-table strong,
    .spec-table .spec-value {
        padding: 11px 9px;
        font-size: 12px;
    }

    /* ==================================================
   24. ULASAN MOBILE
================================================== */
    .rating-summary {
        display: block;
        padding: 14px;
        margin-bottom: 14px;
    }

    .rating-score {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 15px;
    }

    .rating-score strong {
        font-size: 29px;
    }

    .rating-score small {
        margin-left: auto;
    }

    .rating-filters {
        gap: 6px;
    }

    .rating-filters button {
        font-size: 10px;
        padding: 7px 8px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .review-card {
        padding: 13px;
    }

    .review-text {
        font-size: 12px;
    }

    /* ==================================================
   25. FAQ MOBILE
================================================== */
    .faq-question {
        padding: 14px;
        font-size: 12px;
    }

    .faq-answer {
        padding: 14px;
        font-size: 12px;
    }

    /* ==================================================
   26. CAROUSEL MOBILE
================================================== */
    .related-heading {
        align-items: flex-start;
    }

    .carousel-controls button {
        width: 29px;
        height: 29px;
    }

    .products-track {
        gap: 9px;
    }

    .product-card {
        flex: 0 0 calc((100% - 9px) / 2);
    }

    .product-card-body {
        padding: 8px;
    }

    .product-card h3 {
        font-size: 11px;
        height: 32px;
    }

    .product-card-body>strong {
        font-size: 14px;
    }

    .product-card-body>div {
        font-size: 10px;
    }

    /* ==================================================
   27. FOOTER MOBILE
================================================== */
    .site-footer {
        padding: 26px 16px 0;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 22px;
        padding-bottom: 22px;
    }

    .footer-columns h3 {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .footer-columns a {
        font-size: 11px;
        margin: 9px 0;
    }

    .payment-logos {
        gap: 7px;
    }

    .site-footer .payment-logos img {
        flex-basis: clamp(76px, 22vw, 92px) !important;
        width: clamp(76px, 22vw, 92px) !important;
        min-width: 60px !important;
        max-width: 60px !important;
        height: 35px !important;
        min-height: 30px !important;
        max-height: 30px !important;
        padding: 6px 6px;
        object-fit: contain;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-align: center;
        padding: 18px 0 22px;
        font-size: 10px;
    }

    .footer-bottom .footer-social {
        order: 1;
        width: 100%;
        justify-content: center;
        margin: 0;
        gap: 9px;
    }

    .footer-bottom>div:not(.footer-social) {
        order: 2;
        width: 100%;
        justify-content: center;
        gap: 14px;
        margin: 0;
    }

    .footer-bottom>span {
        order: 3;
        width: 100%;
        margin: 0;
        padding-top: 12px;
        border-top: 1px solid #ffffff55;
    }

    .footer-social a {
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
    }

    .footer-social a img {
        width: 17px;
        height: 17px;
    }

    /* ==================================================
   28. TOMBOL PEMBELIAN LENGKET MOBILE
================================================== */
    .mobile-sticky-buy {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        display: grid;
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 10px;
        align-items: stretch;
        padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #e8e8e8;
        box-shadow: 0 -3px 14px #0000000d;
    }

    .sticky-cart {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        background: #fff;
        border: 1px solid #ddd;
        color: #d92e2e;
        border-radius: 4px;
        font-size: 11px;
        min-height: 52px;
    }

    .sticky-cart-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sticky-cart .ui-icon {
        width: 22px;
        height: 22px;
        stroke: #d92e2e;
    }

    .sticky-buy {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-height: 52px;
        border: 0;
        border-radius: 4px;
        background: #d90020;
        color: #fff;
        font-size: 14px;
        line-height: 1.2;
    }

    .sticky-buy strong {
        font-size: 15px;
    }
}

/* ==================================================
   29. HP KECIL
================================================== */
@media (max-width: 380px) {
    .top-right {
        gap: 6px;
        font-size: 9px;
    }

    .language-link .ui-icon {
        width: 11px;
        height: 11px;
    }

    .main-header {
        gap: 7px;
        padding-top: 7px;
    }

    .search-form {
        height: 38px;
        min-height: 38px;
    }

    .search-form input {
        font-size: 11px;
        padding: 7px 8px;
    }

    .search-form button {
        flex-basis: 38px;
        width: 38px;
    }

    .mobile-sticky-buy {
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 8px;
        padding-left: 9px;
        padding-right: 9px;
    }

    .sticky-buy {
        font-size: 13px;
    }

    .sticky-buy strong {
        font-size: 14px;
    }
}

/* ==================================================
   30. GALERI BANNER DAN FAVORIT
================================================== */
.gallery {
    min-width: 0;
    overflow: hidden;
}

.main-product-image {
    position: relative;
    aspect-ratio: 1/1;
    background: #fff;
}

.main-product-image>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mobile-banner-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 7px;
}

.mobile-banner-actions button {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffffed;
    color: #333;
    box-shadow: 0 1px 5px #0003;
    font-size: 22px;
}

.mobile-banner-actions .ui-icon {
    width: 17px;
    height: 17px;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #ffffffc9;
    color: #444;
    font-size: 26px;
}

.banner-prev {
    left: 8px;
}

.banner-next {
    right: 8px;
}

.banner-counter {
    position: absolute;
    right: 9px;
    bottom: 9px;
    z-index: 5;
    border-radius: 12px;
    padding: 4px 8px;
    background: #0008;
    color: #fff;
    font-size: 11px;
}

.banner-product-title {
    display: none;
    margin: 0;
    padding: 9px 10px 5px;
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 600;
}

.thumbs {
    gap: 6px;
    padding: 8px 0 10px;
    scroll-snap-type: x mandatory;
}

.thumb {
    position: relative;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    scroll-snap-align: start;
}

.thumb.active {
    border: 2px solid var(--red);
}

.rating-favorite {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #555;
    white-space: nowrap;
    font-size: 12px;
}

.rating-favorite .ui-icon {
    width: 16px;
    height: 16px;
}

.rating-favorite.active {
    color: var(--red);
}

/* HEADER DAN GALERI: TABLET MENGIKUTI LAYOUT MOBILE */
@media (max-width: 900px) {
    .main-header {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 10px;
        row-gap: 0;
        min-height: 0;
        padding: 10px 0 8px;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        justify-self: stretch;
        width: 100%;
        min-width: 0;
        overflow: hidden;
        gap: 6px;
    }

    .search-area {
        display: contents;
    }

    .search-form {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        width: 100%;
        height: 40px;
        min-height: 40px;
    }

    .search-form input {
        min-width: 0;
        width: 0;
        flex: 1;
        padding: 7px;
        font-size: 12px;
    }

    .search-form button {
        flex: 0 0 36px;
        width: 36px;
    }

    .search-suggestions {
        grid-column: 1/-1;
        grid-row: 2;
        min-width: 0;
        width: 100%;
        padding: 9px 0 2px;
        overflow-x: auto;
    }

    .main-header>.cart-button {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .main-header {
        padding: 9px 0 8px;
        column-gap: 8px;
    }

    .search-form {
        height: 38px;
        min-height: 38px;
    }

    .search-form input {
        font-size: 11px;
        padding: 6px;
    }

    .search-form button {
        flex-basis: 32px;
        width: 32px;
    }

    .main-product-image {
        aspect-ratio: 1/1;
    }

    .mobile-banner-actions {
        top: 8px;
        right: 8px;
        left: auto;
        display: flex;
    }

    .mobile-banner-actions button {
        width: 30px;
        height: 30px;
    }

    .banner-product-title {
        display: none;
        padding: 8px 10px 5px;
        font-size: 11px;
        border-bottom: 0;
    }

    .thumbs {
        gap: 5px;
        padding: 7px 10px 10px;
    }

    .thumb {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        min-width: 48px;
        max-width: 48px;
    }

    .rating-line {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .rating-favorite {
        margin-left: auto;
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .main-header {
        column-gap: 5px;
    }

    .search-form {
        height: 36px;
        min-height: 36px;
    }

    .search-form button {
        flex-basis: 30px;
        width: 30px;
    }
}

/* ==================================================
   31. FIX FINAL HEADER: SEJAJAR DENGAN KONTEN
   Aturan ini menjadi acuan terakhir untuk header.
================================================== */
@media (min-width: 901px) {
    .site-header {
        padding-left: 0;
        padding-right: 0;
    }

    .site-header>.topline,
    .site-header>.main-header {
        width: 100%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .main-header {
        display: grid;
        grid-template-columns: 205px minmax(0, 1fr) 54px;
        justify-content: initial;
        align-items: start;
        column-gap: 20px;
        min-height: 100px;
        padding: 12px 0 0;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        width: 100%;
        max-width: 205px;
        min-width: 0;
        margin: 0;
    }

    .brand-logo {
        display: block;
        width: 100%;
        max-width: 200px;
        max-height: 70px;
        height: auto;
        object-fit: contain;
        object-position: left center;
    }

    .search-area {
        display: block;
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
    }

    .search-form {
        display: flex;
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        max-width: none;
        height: 46px;
        min-height: 46px;
        margin: 0;
    }

    .search-suggestions {
        display: flex;
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .main-header>.cart-button {
        display: grid !important;
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        width: 54px;
        margin: 0;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .site-header {
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-header>.topline,
    .site-header>.main-header {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .main-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 10px;
        row-gap: 0;
        min-height: 0;
        padding: 10px 0 8px;
        align-items: center;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .search-area {
        display: contents;
    }

    .search-form {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        height: 40px;
        min-height: 40px;
    }

    .search-suggestions {
        grid-column: 1/-1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
    }

    .main-header>.cart-button {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-header>.topline,
    .site-header>.main-header {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .main-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 10px;
        row-gap: 0;
        min-height: 0;
        padding: 9px 0 8px;
        align-items: center;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        gap: 6px;
        overflow: hidden;
    }

    .brand-logo {
        display: block;
        width: 100%;
        max-width: 100%;
        max-height: 55px;
        height: auto;
        object-fit: contain;
        object-position: left center;
    }

    .search-area {
        display: contents;
    }

    .search-form {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        width: 100%;
        max-width: none;
        min-width: 0;
        height: 38px;
        min-height: 38px;
        margin: 0;
    }

    .search-form input {
        width: 0;
        min-width: 0;
        flex: 1;
        padding: 6px;
        font-size: 11px;
    }

    .search-form button {
        width: 32px;
        flex: 0 0 32px;
    }

    .search-suggestions {
        grid-column: 1/-1;
        grid-row: 2;
        display: flex;
        width: 100%;
        min-width: 0;
        gap: 12px;
        padding: 9px 0 2px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .search-suggestions::-webkit-scrollbar {
        display: none;
    }

    .main-header>.cart-button {
        display: none !important;
    }
}

/* PROMO SPECIAL MOBILE */
@media (max-width: 600px) {
    .deal-strip {
        display: grid;
        grid-template-columns: 18px minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        column-gap: 20px;
        row-gap: 0px;
        align-items: center;
        padding: 10px 15px;
        margin-bottom: 10px;
    }

    .deal-strip>strong {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: start;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .deal-strip>strong .ui-icon {
        width: 30px;
        height: 30px;
    }

    .deal-strip>strong {
        font-size: 0;
    }

    .deal-strip>strong .ui-icon {
        font-size: initial;
    }

    .deal-strip>strong:after {
        content: "";
        display: none;
    }

    .deal-strip>span:not(.deal-timer) {
        grid-column: 2;
        grid-row: 1;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
        color: #e64a2e;
    }

    .deal-strip .deal-timer {
        grid-column: 3;
        grid-row: 1 / 3;
        align-self: center;
        justify-self: end;
        margin: 0;
        padding: 0;
        font-size: 12px;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    .deal-strip>span:not(.deal-timer):after {
        content: "Penawaran terbatas";
        display: block;
        margin-top: 4px;
        font-size: 11px;
        font-weight: 400;
        color: #b84820;
    }
}

/* PREVIEW GAMBAR PRODUK MOBILE: 2–4 GAMBAR SEJAJAR */
@media (max-width: 600px) {
    .thumbs {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: stretch;
        gap: 6px;
        width: 100%;
        padding: 8px 10px 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .thumbs::-webkit-scrollbar {
        display: none;
    }

    .thumb {
        display: block;
        flex: 0 0 calc((100% - 30px) / 4);
        width: calc((100% - 30px) / 4);
        min-width: 0;
        max-width: none;
        height: auto;
        aspect-ratio: 1/1;
        padding: 2px;
        overflow: hidden;
        scroll-snap-align: start;
    }

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

    .thumb.active {
        border: 2px solid var(--red);
    }
}

/* ==================================================
   32. POPUP BANNER PASARWD — ORANGE LUXURY
================================================== */

/* OVERLAY & CONTAINER */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-sizing: border-box;
}

.popup-overlay.is-visible {
    display: flex;
}

.popup-container.popup-pasarwd {
    position: relative;
    isolation: isolate;
    flex: 0 1 400px;
    width: 100%;
    max-width: 400px;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ff6a00;
    border-radius: 16px;
    background: linear-gradient(145deg, #171717, #080808);
    box-shadow:
        0 0 18px rgba(255, 106, 0, 0.3),
        0 18px 50px rgba(0, 0, 0, 0.65);
    color: #fff;
    text-align: center;
    animation: popupOrangeIn 0.4s ease-out;
}

.popup-container.popup-pasarwd::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(115deg,
            transparent 35%,
            rgba(255, 125, 0, 0.09) 50%,
            transparent 65%);
    background-size: 200% 200%;
    animation: popupShine 4s linear infinite;
}

.popup-container.popup-pasarwd>* {
    position: relative;
    z-index: 1;
}

@keyframes popupOrangeIn {
    0% {
        opacity: 0;
        transform: scale(0.94) translateY(8px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes popupShine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* TOMBOL CLOSE */
.popup-close {
    position: absolute !important;
    top: 12px;
    right: 12px;
    z-index: 20 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 1px solid #ff7900;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.9);
    color: #ff8a24;
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.4);
    transition:
        background 0.25s,
        transform 0.25s,
        color 0.25s;
}

.popup-close:hover {
    background: #ff6a00;
    color: #fff;
    transform: rotate(90deg);
}

/* RUNNING TEXT */
.popup-marquee {
    display: block !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin: 8px 0;
    padding: 8px 0;
    box-sizing: border-box;
    border: 1px solid #ff6a00;
    border-radius: 8px;
    background: #080808;
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.2);
}

.popup-marquee-track {
    display: flex;
    width: max-content;
    min-width: max-content;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    will-change: transform;
    animation: popupMarquee 14s linear infinite;
}

.popup-marquee-track span {
    display: block;
    flex: 0 0 auto;
    padding-right: 24px;
    color: #ff982f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.popup-marquee:hover .popup-marquee-track {
    animation-play-state: paused;
}

@keyframes popupMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* BANNER */
.popup-banner-frame {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 9px;
    background: #161616;
    line-height: 0;
}

.popup-banner-frame a {
    display: block;
    width: 100%;
    line-height: 0;
}

.popup-banner-frame img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 52vh;
    max-height: 52dvh;
    object-fit: contain;
    margin: 0 auto;
}

/* INDIKATOR BANNER */
.popup-banner-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
}

.popup-banner-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #777;
    cursor: pointer;
    transition: all 0.25s;
}

.popup-banner-dot.active {
    width: 22px;
    border-radius: 8px;
    background: #ff7900;
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.65);
}

/* TOMBOL DAFTAR & LOGIN */
.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 2px 0 0;
    box-sizing: border-box;
}

.popup-buttons a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1px;
    transition:
        transform 0.2s,
        box-shadow 0.2s,
        border-color 0.2s;
}

.popup-buttons a:hover {
    transform: translateY(-2px);
}

.popup-buttons a.popup-register {
    border: 1px solid #ff9a28;
    background: linear-gradient(180deg, #ff9d26, #ff6500);
    color: #fff;
    box-shadow:
        0 0 10px rgba(255, 106, 0, 0.55),
        inset 0 1px rgba(255, 255, 255, 0.25);
    animation: registerBlink 1.8s ease-in-out infinite;
}

.popup-buttons a.popup-login {
    border: 1px solid #ff7900;
    background: linear-gradient(180deg, #252525, #090909);
    color: #ff982f;
    box-shadow: 0 0 7px rgba(255, 106, 0, 0.25);
    animation: loginBlink 2s ease-in-out infinite;
}

.popup-buttons a::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -80%;
    width: 35%;
    height: 200%;
    pointer-events: none;
    transform: skewX(-25deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: buttonFlash 3.5s ease-in-out infinite;
}

.popup-buttons a.popup-login::after {
    animation-delay: 1s;
}

@keyframes registerBlink {

    0%,
    100% {
        box-shadow:
            0 0 7px rgba(255, 106, 0, 0.35),
            inset 0 1px rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow:
            0 0 20px rgba(255, 106, 0, 0.8),
            inset 0 1px rgba(255, 255, 255, 0.3);
    }
}

@keyframes loginBlink {

    0%,
    100% {
        border-color: #a94300;
        box-shadow: 0 0 5px rgba(255, 106, 0, 0.2);
    }

    50% {
        border-color: #ff982f;
        box-shadow: 0 0 15px rgba(255, 106, 0, 0.65);
    }
}

@keyframes buttonFlash {

    0%,
    65%,
    100% {
        left: -80%;
    }

    35% {
        left: 150%;
    }
}

/* FOOTER */
.popup-footer {
    padding: 10px 0 1px;
    color: #ddd;
    font-size: 12px;
    line-height: 1.6;
}

.popup-footer span {
    color: #ff982f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-shadow: 0 0 6px rgba(255, 106, 0, 0.35);
}

/* RESPONSIVE MOBILE */
@media (max-width: 480px) {
    .popup-overlay {
        padding: 6px;
    }

    .popup-container.popup-pasarwd {
        flex-basis: 370px;
        max-width: 370px;
        max-height: calc(100vh - 12px);
        max-height: calc(100dvh - 12px);
        padding: 8px;
        border-radius: 13px;
    }

    .popup-close {
        top: 10px;
        right: 10px;
        width: 29px;
        height: 29px;
        font-size: 23px;
    }

    .popup-marquee {
        margin: 7px 0;
        padding: 6px 0;
    }

    .popup-marquee-track span {
        font-size: 9px;
    }

    .popup-banner-frame img {
        max-height: 49vh;
        max-height: 49dvh;
    }

    .popup-banner-dots {
        gap: 7px;
        padding: 8px 0;
    }

    .popup-buttons {
        gap: 8px;
    }

    .popup-buttons a {
        min-height: 43px;
        font-size: 14px;
    }

    .popup-footer {
        padding-top: 8px;
        font-size: 11px;
    }

    .popup-footer span {
        font-size: 9px;
    }
}

/* ==================================================
   20. SEMANTIC HEADING STRUCTURE
================================================== */
.page-main-title {
    display: block;
    margin: 8px 0 12px;
    padding: 0;
    background: transparent;
    color: #222;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.35;
}

.banner-product-title {
    display: none;
    font-size: 16px;
    line-height: 1.45;
    margin: 0;
}

.info-heading {
    margin: 0;
    color: #888;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.info-subheading {
    display: inline;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: #444;
}

.category-item h3 {
    margin: 0;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.3;
}

.spec-value h3,
.spec-table .spec-value h3 {
    display: inline;
    margin: 0;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
    color: inherit;
}

.review-text {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin: 10px 0;
    font-weight: 400;
}

.faq-question-title {
    display: block;
    margin: 0;
    flex: 1;
    font-size: inherit;
    font-weight: 600;
    line-height: inherit;
}

.footer-heading {
    display: block;
    margin: 0 0 18px;
}

.footer-columns a h3 {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: #fff;
}

.payment-heading {
    display: block;
    margin: 0 0 12px;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.4px;
}

.payment-logos {
    align-items: center;
}

.payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 900px) {
    .page-main-title {
        font-size: 20px;
        margin: 10px 0 12px;
    }
}

@media (max-width: 600px) {
    .page-main-title {
        font-size: 17px;
        padding: 0;
        margin: 10px 0 12px;
    }

    .banner-product-title {
        display: none;
        font-size: 13px;
    }

    .info-heading {
        font-size: 12px;
    }

    .info-subheading {
        font-size: 12px;
    }

    .footer-columns a h3 {
        font-size: 12px;
        margin-bottom: 10px;
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 14px 0 4px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c9c9c9;
    cursor: pointer;
    transition:
        width 0.25s,
        background 0.25s;
}

.carousel-dot.active {
    width: 22px;
    border-radius: 6px;
    background: #ff5a1f;
}

/* Bonus banner headings follow the primary product H1 in document order. */
.banner-seo-headings {
    margin: 0 0 14px;
}

.banner-seo-headings h2 {
    display: none;
}

.banner-seo-headings,
.banner-product-title {
    display: block !important;
    visibility: visible !important;
    margin: 3px 0;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
    color: #444;
}

/* Keep the main H1 inside the mobile content width */
@media (max-width: 600px) {
    .page-main-title {
        display: block;
        grid-area: auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        margin: 0;
        padding: 11px 10px 9px;
        font-size: clamp(17px, 4.6vw, 19px);
        line-height: 1.35;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .product-panel {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }
}

/* Mobile product order: gallery first, product H1 in its usual details position */
@media (max-width: 600px) {
    .product-panel {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "gallery" "title" "info";
        grid-template-rows: auto auto auto;
        gap: 0;
        overflow-x: clip;
    }

    .gallery {
        grid-area: gallery;
        min-width: 0;
        width: 100%;
    }

    .page-main-title {
        grid-area: title;
        align-self: auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        margin: 0;
        padding: 14px 12px 8px;
        font-size: clamp(17px, 4.6vw, 19px);
        line-height: 1.35;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .product-info {
        grid-area: info;
        min-width: 0;
    }
}

/* Keep the product header logo and search box aligned on mobile */
@media (max-width: 600px) {
    .main-header {
        grid-template-columns: minmax(96px, 0.76fr) minmax(0, 1.24fr);
        grid-template-rows: auto;
        align-items: center;
        column-gap: 9px;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        width: 100%;
        overflow: hidden;
    }

    .brand-logo {
        max-width: 100%;
        max-height: 46px;
        object-fit: contain;
        object-position: left center;
    }

    .search-area {
        display: block;
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        padding: 0;
        margin: 0;
    }

    .search-form {
        display: flex;
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        min-width: 0;
    }

    .search-suggestions {
        display: none;
    }

    .main-header>.cart-button {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .main-header {
        grid-template-columns: minmax(88px, 0.7fr) minmax(0, 1.3fr);
        column-gap: 6px;
    }
}

/* Keep shared primary navigation available on small screens */
@media (max-width: 600px) {
    .site-header .topline {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 5px;
        padding: 6px 0 4px;
        overflow: hidden;
    }

    .site-header .top-left {
        display: flex !important;
        order: 1;
        width: 100%;
        max-width: 100%;
        gap: 15px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .site-header .top-left::-webkit-scrollbar {
        display: none;
    }

    .site-header .top-left a {
        display: inline-flex !important;
        flex: 0 0 auto;
        align-items: center;
        padding: 3px 0;
    }

    .site-header .top-right {
        order: 2;
        width: 100%;
        max-width: 100%;
        justify-content: flex-end;
        gap: clamp(9px, 2.5vw, 14px);
    }
}

/* Marketplace header adapted from the supplied PASARWD reference. */
.marketplace-reference-header {
    background: linear-gradient(108deg, #f45132 0%, #ed332b 100%);
    color: #fff;
    box-shadow: 0 5px 18px #7b201822;
}

.marketplace-reference-header .market-header-topline {
    box-sizing: border-box;
    width: min(1200px, 100%);
    height: 38px;
    min-height: 38px;
    margin: 0 auto;
    padding: 0;
    border-bottom: 1px solid #ffffff35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.marketplace-reference-header .market-header-links,
.marketplace-reference-header .market-header-account {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    white-space: nowrap;
}

.marketplace-reference-header .market-header-links a,
.marketplace-reference-header .market-header-account a,
.marketplace-reference-header .language-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
    opacity: 0.96;
}

.marketplace-reference-header .market-header-links a:hover,
.marketplace-reference-header .market-header-account a:hover {
    opacity: 1;
    text-decoration: underline;
}

.marketplace-reference-header .market-header-links a+a:before {
    content: "|";
    margin-right: 1px;
    color: #ffffff9c;
}

.marketplace-reference-header .market-header-account {
    justify-content: flex-end;
    gap: 14px;
}

.marketplace-reference-header .market-header-account .top-login {
    padding: 4px 9px;
    border: 1px solid #ffffff85;
    border-radius: 5px;
}

.marketplace-reference-header .market-header-icon-link svg,
.marketplace-reference-header .market-header-help svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.marketplace-reference-header .market-header-main {
    box-sizing: border-box;
    width: min(1200px, 100%);
    min-height: 116px;
    margin: 0 auto;
    padding: 14px 0 12px;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 54px;
    align-items: center;
    gap: 10px;
}

.marketplace-reference-header .market-header-brand {
    align-self: center;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.marketplace-reference-header .brand-logo {
    display: block;
    width: 100%;
    max-width: 100px;
    max-height: 68px;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.marketplace-reference-header .market-header-search-area {
    min-width: 0;
    display: block;
    align-self: center;
}

.marketplace-reference-header .market-header-search {
    height: 46px;
    min-height: 46px;
    display: flex;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 5px;
    background: #fff;
}

.marketplace-reference-header .market-header-search input {
    min-width: 0;
    flex: 1;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: #fff;
    color: #4b5563;
    font-size: 14px;
}

.marketplace-reference-header .market-header-search input::placeholder {
    color: #7a7f88;
    opacity: 1;
}

.marketplace-reference-header .market-header-search button {
    width: 72px;
    min-width: 72px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 2px;
    background: #f04a2e;
    color: #fff;
    cursor: pointer;
}

.marketplace-reference-header .market-header-search button:hover {
    background: #df3b2b;
}

.marketplace-reference-header .market-header-search button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.marketplace-reference-header .market-header-suggestions {
    display: flex;
    gap: 17px;
    margin: 0;
    padding: 10px 0 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.marketplace-reference-header .market-header-suggestions::-webkit-scrollbar {
    display: none;
}

.marketplace-reference-header .market-header-suggestions a {
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    opacity: 0.96;
}

.marketplace-reference-header .market-header-suggestions a:hover {
    text-decoration: underline;
}

.marketplace-reference-header .market-header-catalog {
    align-self: center;
    justify-self: end;
    position: relative;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
}

.marketplace-reference-header .market-header-catalog svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.marketplace-reference-header .market-header-catalog:hover {
    transform: translateY(-1px);
    opacity: 0.85;
}

@media (max-width: 800px) {
    .marketplace-reference-header .market-header-topline {
        height: 34px;
        min-height: 34px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .marketplace-reference-header .market-header-main {
        grid-template-columns: minmax(115px, 0.7fr) minmax(0, 1.3fr);
        grid-template-rows: auto auto;
        gap: 0 12px;
        min-height: 0;
        padding: 10px 12px 11px;
    }

    .marketplace-reference-header .market-header-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .marketplace-reference-header .brand-logo {
        max-width: 100%;
        max-height: 48px;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-column: 2;
        grid-row: 1;
    }

    .marketplace-reference-header .market-header-search {
        height: 40px;
        min-height: 40px;
    }

    .marketplace-reference-header .market-header-search button {
        width: 48px;
        min-width: 48px;
    }

    .marketplace-reference-header .market-header-suggestions {
        grid-column: 1/-1;
        grid-row: 2;
        gap: 14px;
        padding-top: 9px;
    }

    .marketplace-reference-header .market-header-catalog {
        display: none;
    }
}

@media (max-width: 520px) {
    .marketplace-reference-header .market-header-topline {
        height: auto;
        min-height: 32px;
        padding: 5px 10px;
        gap: 8px;
    }

    .marketplace-reference-header .market-header-links {
        flex: 1;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .marketplace-reference-header .market-header-links::-webkit-scrollbar {
        display: none;
    }

    .marketplace-reference-header .market-header-links a {
        font-size: 10px;
    }

    .marketplace-reference-header .market-header-links a:nth-child(n + 4) {
        display: none;
    }

    .marketplace-reference-header .market-header-account {
        gap: 9px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .marketplace-reference-header .market-header-account::-webkit-scrollbar {
        display: none;
    }

    .marketplace-reference-header .market-header-account a,
    .marketplace-reference-header .market-header-account .language-link {
        font-size: 10px;
    }

    .marketplace-reference-header .market-header-main {
        grid-template-columns: minmax(90px, 0.72fr) minmax(0, 1.28fr);
        column-gap: 9px;
        padding: 9px 10px 10px;
    }

    .marketplace-reference-header .market-header-brand {
        max-height: 43px;
    }

    .marketplace-reference-header .brand-logo {
        max-height: 42px;
    }

    .marketplace-reference-header .market-header-search {
        height: 37px;
        min-height: 37px;
        border-width: 2px;
    }

    .marketplace-reference-header .market-header-search input {
        padding: 0 9px;
        font-size: 12px;
    }

    .marketplace-reference-header .market-header-search button {
        width: 40px;
        min-width: 40px;
    }

    .marketplace-reference-header .market-header-suggestions {
        gap: 12px;
        padding-top: 8px;
    }

    .marketplace-reference-header .market-header-suggestions a {
        font-size: 10px;
    }
}

@media (max-width: 520px) {
    .marketplace-reference-header .market-header-topline {
        justify-content: space-between;
        gap: 8px;
    }

    .marketplace-reference-header .market-header-links {
        flex: 0 1 auto;
        gap: 8px;
    }

    .marketplace-reference-header .market-header-links a:nth-child(n + 3) {
        display: none;
    }

    .marketplace-reference-header .market-header-account {
        flex: 0 0 auto;
        gap: 10px;
    }

    .marketplace-reference-header .market-header-account .market-header-help,
    .marketplace-reference-header .market-header-account .language-link {
        display: none !important;
    }

    .marketplace-reference-header .market-header-account>a:not(.market-header-register):not(.market-header-login) {
        display: none !important;
    }

    .marketplace-reference-header .market-header-label-mobile {
        display: inline;
    }

    .marketplace-reference-header .market-header-label-desktop {
        display: none;
    }

    .marketplace-reference-header .market-header-main {
        grid-template-columns: max-content minmax(0, 1fr) 32px;
        grid-template-rows: auto auto;
        column-gap: 7px;
        row-gap: 0;
        align-items: center;
        padding: 9px 10px 0;
    }

    .marketplace-reference-header .market-header-brand {
        grid-column: 1;
        grid-row: 1;
        width: auto;
        max-width: 68px;
        max-height: 43px;
        overflow: hidden;
    }

    .marketplace-reference-header .market-header-brand .brand-logo {
        width: auto;
        max-width: 58px;
        max-height: 43px;
        object-fit: contain;
        object-position: left center;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .marketplace-reference-header .market-header-search {
        width: 100%;
        height: 37px;
        min-height: 37px;
    }

    .marketplace-reference-header .market-header-search input {
        padding: 0 8px;
        font-size: 11px;
    }

    .marketplace-reference-header .market-header-search button {
        width: 34px;
        min-width: 34px;
    }

    .marketplace-reference-header .market-header-catalog {
        display: grid !important;
        grid-column: 3;
        grid-row: 1;
        width: 30px;
        height: 36px;
        justify-self: end;
    }

    .marketplace-reference-header .market-header-catalog svg {
        width: 25px;
        height: 25px;
    }

    .marketplace-reference-header .market-header-suggestions {
        display: flex;
        grid-column: 1/-1;
        grid-row: 2;
        min-width: 0;
        width: 100%;
        gap: 12px;
        padding: 9px 0;
        overflow-x: auto;
    }

    .marketplace-reference-header .market-header-suggestions a {
        flex: 0 0 auto;
        font-size: 10px;
    }
}

.marketplace-reference-header .market-header-label-mobile {
    display: none;
}

@media (max-width: 800px) {
    .marketplace-reference-header .market-header-topline {
        justify-content: space-between;
        gap: 8px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .marketplace-reference-header .market-header-links {
        flex: 0 1 auto;
        gap: 8px;
    }

    .marketplace-reference-header .market-header-links a:nth-child(n + 3) {
        display: none;
    }

    .marketplace-reference-header .market-header-account {
        flex: 0 0 auto;
        gap: 10px;
    }

    .marketplace-reference-header .market-header-account .market-header-help,
    .marketplace-reference-header .market-header-account .language-link {
        display: none !important;
    }

    .marketplace-reference-header .market-header-account>a:not(.market-header-register):not(.market-header-login) {
        display: none !important;
    }

    .marketplace-reference-header .market-header-label-mobile {
        display: inline;
    }

    .marketplace-reference-header .market-header-label-desktop {
        display: none;
    }

    .marketplace-reference-header .market-header-main {
        grid-template-columns: max-content minmax(0, 1fr) 34px;
        grid-template-rows: auto auto;
        column-gap: 8px;
        row-gap: 0;
        align-items: center;
        min-height: 0;
        padding: 9px 12px 0;
    }

    .marketplace-reference-header .market-header-brand {
        grid-column: 1;
        grid-row: 1;
        width: auto;
        max-width: 75px;
        max-height: 47px;
        overflow: hidden;
    }

    .marketplace-reference-header .market-header-brand .brand-logo {
        width: auto;
        max-width: 65px;
        max-height: 47px;
        object-fit: contain;
        object-position: left center;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .marketplace-reference-header .market-header-search {
        width: 100%;
        height: 40px;
        min-height: 40px;
    }

    .marketplace-reference-header .market-header-search input {
        padding: 0 9px;
        font-size: 12px;
    }

    .marketplace-reference-header .market-header-search button {
        width: 38px;
        min-width: 38px;
    }

    .marketplace-reference-header .market-header-catalog {
        display: grid !important;
        grid-column: 3;
        grid-row: 1;
        width: 32px;
        height: 38px;
        justify-self: end;
    }

    .marketplace-reference-header .market-header-catalog svg {
        width: 26px;
        height: 26px;
    }

    .marketplace-reference-header .market-header-suggestions {
        display: flex;
        grid-column: 1/-1;
        grid-row: 2;
        min-width: 0;
        width: 100%;
        gap: 13px;
        padding: 9px 0;
        overflow-x: auto;
    }

    .marketplace-reference-header .market-header-suggestions a {
        flex: 0 0 auto;
        font-size: 10px;
    }
}

@media (max-width: 800px) {
    .marketplace-reference-header .market-header-topline {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .marketplace-reference-header .market-header-links {
        width: auto;
        max-width: none;
        order: 0;
    }

    .marketplace-reference-header .market-header-account {
        width: auto;
        max-width: none;
        order: 0;
        justify-content: flex-end;
    }
}

@media (max-width: 800px) {
    .marketplace-reference-header .market-header-links a:nth-child(n + 3) {
        display: none !important;
    }
}

/* Final mobile header: two links, compact logo + search, category row; no cart. */
@media (max-width: 800px) {
    .marketplace-reference-header .market-header-topline {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px;
    }

    .marketplace-reference-header .market-header-topline .market-header-links {
        display: flex !important;
        flex: 0 1 auto !important;
        order: 0 !important;
        width: auto !important;
        max-width: none !important;
        gap: 8px !important;
        overflow: hidden !important;
    }

    .marketplace-reference-header .market-header-topline .market-header-links>a:nth-child(n + 3) {
        display: none !important;
    }

    .marketplace-reference-header .market-header-topline .market-header-account {
        display: flex !important;
        flex: 0 0 auto !important;
        order: 0 !important;
        width: auto !important;
        max-width: none !important;
        justify-content: flex-end !important;
        gap: 10px !important;
    }

    .marketplace-reference-header .market-header-account .market-header-help,
    .marketplace-reference-header .market-header-account .language-link {
        display: none !important;
    }

    .marketplace-reference-header .market-header-account>a:not(.market-header-register):not(.market-header-login) {
        display: none !important;
    }

    .marketplace-reference-header .market-header-label-mobile {
        display: inline !important;
    }

    .marketplace-reference-header .market-header-label-desktop {
        display: none !important;
    }

    .marketplace-reference-header .market-header-main {
        display: grid !important;
        grid-template-columns: max-content minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        column-gap: 8px !important;
        row-gap: 0 !important;
        align-items: center !important;
        min-height: 0 !important;
        padding: 9px 12px 0 !important;
    }

    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: auto !important;
        max-width: 68px !important;
        max-height: 44px !important;
        overflow: hidden !important;
    }

    .marketplace-reference-header .market-header-brand .brand-logo {
        width: auto !important;
        max-width: 58px !important;
        max-height: 42px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    .marketplace-reference-header .market-header-search-area {
        display: block !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .marketplace-reference-header .market-header-search {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
    }

    .marketplace-reference-header .market-header-search input {
        min-width: 0 !important;
        padding: 0 9px !important;
        font-size: 12px !important;
    }

    .marketplace-reference-header .market-header-search button {
        width: 38px !important;
        min-width: 38px !important;
    }

    .marketplace-reference-header .market-header-catalog {
        display: none !important;
    }

    .marketplace-reference-header .market-header-suggestions {
        display: flex !important;
        grid-column: 1/-1 !important;
        grid-row: 2 !important;
        min-width: 0 !important;
        width: 100% !important;
        gap: 12px !important;
        padding: 9px 0 !important;
        overflow-x: auto !important;
    }

    .marketplace-reference-header .market-header-suggestions a {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        font-size: 10px !important;
    }
}

/* Category links occupy their own row below the complete logo/search row. */
.marketplace-reference-header>.market-header-suggestions {
    box-sizing: border-box;
    width: min(1200px, 100%);
    min-height: 30px;
    margin: 0 auto;
    padding: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 17px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.marketplace-reference-header>.market-header-suggestions::-webkit-scrollbar {
    display: none;
}

@media (max-width: 800px) {
    .marketplace-reference-header>.market-header-suggestions {
        width: 100%;
        min-height: 0;
        padding: 9px 12px 10px;
        gap: 13px;
    }

    .marketplace-reference-header .market-header-main {
        grid-template-rows: auto !important;
        padding-bottom: 0 !important;
    }
}

/* Desktop categories align under search; the logo spans both desktop rows. */
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-main {
        grid-template-rows: auto auto !important;
        min-height: 122px !important;
        align-items: center !important;
    }

    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1/3 !important;
        align-self: center !important;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-catalog {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
        box-sizing: border-box;
        width: auto !important;
        min-height: 26px !important;
        margin: 0 !important;
        padding: 8px 0 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 17px !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
}

@media (min-width: 801px) {
    .marketplace-reference-header .brand-logo {
        max-width: 100px !important;
        max-height: 96px !important;
    }
}

@media (max-width: 1100px) {
    .marketplace-reference-header .market-header-links>a:nth-child(4) {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .marketplace-reference-header .market-header-links>a:nth-child(3) {
        display: none !important;
    }
}

@media (max-width: 800px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: max-content minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        min-height: 0 !important;
    }

    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        max-width: 68px !important;
        max-height: 44px !important;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-catalog {
        display: none !important;
    }

    .marketplace-reference-header .market-header-suggestions {
        grid-column: 1/-1 !important;
        grid-row: 2 !important;
        box-sizing: border-box;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        padding: 9px 12px 10px !important;
        display: flex !important;
        gap: 12px !important;
        overflow-x: auto !important;
    }

    .marketplace-reference-header .market-header-brand .brand-logo {
        width: auto !important;
        max-width: 58px !important;
        max-height: 42px !important;
    }
}

/* Desktop header matches the compact mobile arrangement: logo and search share row one, categories sit under search. */
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: 110px minmax(0, 1fr) 54px !important;
        grid-template-rows: auto auto !important;
        min-height: 0 !important;
        padding: 14px 0 12px !important;
        align-items: center !important;
        column-gap: 10px !important;
        row-gap: 0 !important;
    }

    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        max-width: 100px !important;
        max-height: 100px !important;
        align-self: center !important;
    }

    .marketplace-reference-header .market-header-brand .brand-logo {
        width: 100% !important;
        max-width: 100px !important;
        max-height: 100px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-catalog {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
        width: auto !important;
        min-height: 26px !important;
        margin: 0 !important;
        padding: 8px 0 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 17px !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
}

/* Brand wordmark sits beside the logo icon. */
.marketplace-reference-header .market-header-brand {
    gap: 8px !important;
    white-space: nowrap !important;
}

@media (min-width: 801px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: 205px minmax(0, 1fr) 54px !important;
    }

    .marketplace-reference-header .market-header-brand {
        max-width: 205px !important;
    }

    .marketplace-reference-header .market-header-brand .brand-logo {
        flex: 0 0 100px !important;
        width: 100px !important;
        max-width: 100px !important;
        max-height: 100px !important;
    }
}

@media (max-width: 800px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: minmax(116px, auto) minmax(0, 1fr) !important;
    }

    .marketplace-reference-header .market-header-brand {
        width: auto !important;
        max-width: 116px !important;
        gap: 5px !important;
        overflow: visible !important;
    }

    .marketplace-reference-header .market-header-brand .brand-logo {
        flex: 0 0 48px !important;
        width: 48px !important;
        max-width: 48px !important;
        max-height: 42px !important;
    }
}

/* Polished desktop header spacing and alignment. */
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-topline {
        box-sizing: border-box;
        width: min(1200px, 100%);
        height: 38px;
        min-height: 38px;
        margin: 0 auto;
        padding: 0 4px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    }

    .marketplace-reference-header .market-header-links,
    .marketplace-reference-header .market-header-account {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
        white-space: nowrap;
    }

    .marketplace-reference-header .market-header-links>a,
    .marketplace-reference-header .market-header-account>a,
    .marketplace-reference-header .market-header-account .language-link {
        font-size: 11px;
        line-height: 1.2;
    }

    .marketplace-reference-header .market-header-main {
        box-sizing: border-box;
        width: min(1200px, 100%);
        min-height: 82px;
        margin: 0 auto;
        padding: 5px 0 8px;
        display: grid;
        grid-template-columns: 205px minmax(0, 1fr) 54px !important;
        grid-template-rows: 42px 25px !important;
        align-items: center;
        column-gap: 10px;
        row-gap: 0;
    }

    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1/3 !important;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        width: 205px;
        max-width: 205px;
        max-height: 74px;
        overflow: hidden;
    }

    .marketplace-reference-header .market-header-brand .brand-logo {
        display: block;
        flex: 0 0 100px;
        width: 100px;
        max-width: 100px;
        max-height: 74px;
        object-fit: contain;
        object-position: left center;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
        min-width: 0;
    }

    .marketplace-reference-header .market-header-search {
        height: 42px;
        min-height: 42px;
        border: 2px solid #fff;
        border-radius: 4px;
    }

    .marketplace-reference-header .market-header-search input {
        padding: 0 14px;
        font-size: 14px;
    }

    .marketplace-reference-header .market-header-search button {
        width: 66px;
        min-width: 66px;
    }

    .marketplace-reference-header .market-header-catalog {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end;
        width: 46px;
        height: 46px;
    }

    .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
        display: flex;
        align-items: center;
        gap: 16px;
        min-width: 0;
        width: auto;
        margin: 0;
        padding: 4px 0 0;
        overflow-x: auto;
        white-space: nowrap;
    }

    .marketplace-reference-header .market-header-suggestions a {
        font-size: 11px;
        font-weight: 600;
    }
}

/* Footer composition aligned to the supplied six-column marketplace reference. */
.site-footer {
    box-sizing: border-box;
    padding: 30px max(24px, calc((100% - 1080px) / 2)) 0 !important;
    color: #fff !important;
}

.site-footer .footer-columns {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.site-footer .footer-columns>div {
    padding: 20px 20px 25px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.35) !important;
    min-width: 0;
}

.site-footer .footer-columns>div:first-child {
    padding-left: 0 !important;
}

.site-footer .footer-columns>div:last-child {
    border-right: 0 !important;
}

.site-footer .footer-heading,
.site-footer .footer-subheading {
    margin: 0 0 16px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
}

.site-footer .footer-subheading {
    margin: 12px 0 14px !important;
}

.site-footer .footer-columns a {
    margin: 0 0 12px !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    text-decoration: none;
}

.site-footer .footer-columns a:hover {
    text-decoration: underline;
}

.site-footer .payment-area {
    padding: 16px 0 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.site-footer .payment-heading {
    margin: 0 0 10px !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.site-footer .payment-logos {
    gap: 8px !important;
}

.site-footer .payment-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 34px;
    padding: 4px 7px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 4px;
}

.site-footer .payment-logos img {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
}

.site-footer .footer-bottom {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 14px 0 18px !important;
    border-top: 0 !important;
    color: #fff !important;
    font-size: 11px !important;
}

.site-footer .footer-bottom>span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer .footer-seo-link {
    color: #ffe94a;
    text-decoration: none;
}

.site-footer .footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.site-footer .footer-social span {
    display: block;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.site-footer .footer-legal {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

.site-footer .footer-legal a,
.site-footer .footer-country {
    color: #fff;
    text-decoration: none;
    font-size: 11px;
}

@media (max-width: 800px) {
    .site-footer {
        padding: 24px 16px 0 !important;
    }

    .site-footer .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .site-footer .footer-columns>div {
        padding: 16px 12px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
    }

    .site-footer .footer-columns>div:first-child {
        padding-left: 12px !important;
    }

    .site-footer .footer-columns>div:nth-child(2n) {
        border-right: 0 !important;
    }

    .site-footer .footer-heading {
        font-size: 13px !important;
    }

    .site-footer .footer-columns a {
        font-size: 11px !important;
        margin-bottom: 9px !important;
    }

    .site-footer .payment-logos {
        gap: 7px !important;
    }

    .site-footer .payment-item {
        width: 64px;
        height: 32px;
    }

    .site-footer .footer-bottom {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        text-align: center;
    }

    .site-footer .footer-social {
        order: 0;
    }

    .site-footer .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }

    .site-footer .footer-bottom>span {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Header final alignment: desktop logo/search on one line; no wordmark on mobile. */
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: 205px minmax(0, 1fr) 54px !important;
        grid-template-rows: 42px 25px !important;
        min-height: 82px !important;
    }

    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1/3 !important;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-catalog {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }
}

@media (max-width: 800px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: minmax(0, 68px) minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
    }

    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 68px !important;
        max-width: 68px !important;
        justify-content: flex-start !important;
    }

    .marketplace-reference-header .market-header-brand .brand-logo {
        width: auto !important;
        max-width: 58px !important;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-suggestions {
        grid-column: 1/-1 !important;
        grid-row: 2 !important;
    }
}

/* Enforce six desktop footer columns with clearly visible dividers. */
@media (min-width: 801px) {
    .site-footer .footer-columns {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.72) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.72) !important;
    }

    .site-footer .footer-columns>.footer-column {
        display: flex !important;
        min-width: 0 !important;
        border-right: 1px solid rgba(255, 255, 255, 0.72) !important;
        border-bottom: 0 !important;
        padding-top: 20px !important;
        padding-bottom: 25px !important;
    }

    .site-footer .footer-columns>.footer-column:first-child {
        border-left: 1px solid rgba(255, 255, 255, 0.72) !important;
        padding-left: 20px !important;
    }

    .site-footer .footer-columns>.footer-column:last-child {
        border-right: 1px solid rgba(255, 255, 255, 0.72) !important;
    }

    .site-footer .footer-columns>.footer-column:nth-child(2n) {
        border-right: 1px solid rgba(255, 255, 255, 0.72) !important;
    }
}

@media (max-width: 800px) {
    .site-footer .footer-columns {
        border-top: 1px solid rgba(255, 255, 255, 0.65) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.65) !important;
    }

    .site-footer .footer-columns>.footer-column {
        border-right: 1px solid rgba(255, 255, 255, 0.55) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.55) !important;
    }

    .site-footer .footer-columns>.footer-column:nth-child(2n) {
        border-right: 0 !important;
    }

    .site-footer .footer-columns>.footer-column:first-child {
        border-left: 1px solid rgba(255, 255, 255, 0.55) !important;
    }
}

/* Final requested alignment: center desktop icon on the search row, hide its wordmark on mobile. */
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-main {
        grid-template-rows: minmax(74px, auto) 25px !important;
        align-items: center !important;
    }

    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        align-self: center !important;
        max-height: 74px !important;
    }

    .marketplace-reference-header .market-header-brand .brand-logo {
        width: 100px !important;
        max-width: 100px !important;
        max-height: 74px !important;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
    }

    .marketplace-reference-header .market-header-catalog {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }
}

@media (max-width: 800px) {
    .marketplace-reference-header .market-header-brand {
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-suggestions {
        grid-row: 2 !important;
    }
}

/* Footer separators follow the reference: internal dividers only, no boxed outer frame. */
.site-footer .footer-columns {
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42) !important;
}

.site-footer .footer-columns>.footer-column {
    border-right: 1px solid rgba(255, 255, 255, 0.42) !important;
    border-left: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.site-footer .footer-columns>.footer-column:first-child {
    border-left: 0 !important;
    padding-left: 0 !important;
}

.site-footer .footer-columns>.footer-column:last-child {
    border-right: 0 !important;
}

@media (max-width: 800px) {
    .site-footer .footer-columns {
        border: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.42) !important;
    }

    .site-footer .footer-columns>.footer-column {
        border-right: 1px solid rgba(255, 255, 255, 0.38) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.28) !important;
        border-left: 0 !important;
    }

    .site-footer .footer-columns>.footer-column:first-child {
        border-left: 0 !important;
        padding-left: 12px !important;
    }

    .site-footer .footer-columns>.footer-column:nth-child(2n) {
        border-right: 0 !important;
    }

    .site-footer .footer-columns>.footer-column:last-child,
    .site-footer .footer-columns>.footer-column:nth-last-child(2) {
        border-bottom: 0 !important;
    }
}

/* Match the supplied desktop header: full logo image left, search on the same row, categories below search. */
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: 205px minmax(0, 1fr) 54px !important;
        grid-template-rows: minmax(74px, auto) 25px !important;
        align-items: center !important;
    }

    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 195px !important;
        max-width: 195px !important;
        max-height: 74px !important;
        gap: 0 !important;
        align-self: center !important;
        overflow: visible !important;
    }

    .marketplace-reference-header .market-header-brand .brand-logo {
        display: block !important;
        flex: 0 0 190px !important;
        width: 190px !important;
        max-width: 190px !important;
        max-height: 74px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
    }

    .marketplace-reference-header .market-header-search {
        height: 42px !important;
        min-height: 42px !important;
    }

    .marketplace-reference-header .market-header-catalog {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
        justify-self: start !important;
        margin: 0 !important;
        padding-top: 4px !important;
    }
}

/* Correct header: desktop keeps PASARWD DIGITAL beside icon; mobile hides only that text. */
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: 205px minmax(0, 1fr) 54px !important;
        grid-template-rows: 74px 25px !important;
        min-height: 0 !important;
        align-items: center !important;
    }

    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        width: 205px !important;
        max-width: 205px !important;
        height: 74px !important;
        max-height: 74px !important;
        align-self: center !important;
        overflow: visible !important;
    }

    .marketplace-reference-header .market-header-brand .brand-logo {
        display: block !important;
        flex: 0 0 100px !important;
        width: 100px !important;
        max-width: 100px !important;
        height: auto !important;
        max-height: 74px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
    }

    .marketplace-reference-header .market-header-catalog {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
        align-self: center !important;
        margin: 0 !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 800px) {
    .marketplace-reference-header .market-header-brand {
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-suggestions {
        grid-row: 2 !important;
    }
}

/* Header brand assets: horizontal PASARWD logo on desktop, favicon icon on mobile. */
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: 250px minmax(0, 1fr) 54px !important;
        grid-template-rows: 74px 25px !important;
    }

    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 235px !important;
        max-width: 235px !important;
        height: 74px !important;
        max-height: 74px !important;
        gap: 0 !important;
        overflow: visible !important;
    }

    .marketplace-reference-header .market-header-logo-picture {
        display: block !important;
        flex: 0 0 230px !important;
        width: 230px !important;
        height: 62px !important;
        max-width: 230px !important;
    }

    .marketplace-reference-header .market-header-logo-picture .brand-logo {
        display: block !important;
        width: 230px !important;
        max-width: 230px !important;
        height: 62px !important;
        max-height: 62px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }
}

@media (max-width: 800px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: 68px minmax(0, 1fr) !important;
    }

    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 58px !important;
        max-width: 58px !important;
        height: 44px !important;
        max-height: 44px !important;
        overflow: hidden !important;
    }

    .marketplace-reference-header .market-header-logo-picture {
        display: block !important;
        flex: 0 0 58px !important;
        width: 58px !important;
        height: 44px !important;
        max-width: 58px !important;
    }

    .marketplace-reference-header .market-header-logo-picture .brand-logo {
        display: block !important;
        width: 58px !important;
        max-width: 58px !important;
        height: 44px !important;
        max-height: 44px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .marketplace-reference-header .market-header-suggestions {
        grid-column: 1/-1 !important;
        grid-row: 2 !important;
    }
}

/* Shared card borders and hover states for site, product, editorial, and payment pages. */
.site-listing-intro,
.site-product-card,
.editorial-listing,
.editorial-card,
.editorial-article,
.content-card,
.review-card,
.related-card,
.product-card {
    border-color: #dfe3ea;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(28, 39, 56, 0.09);
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease;
}

.site-product-card,
.editorial-card,
.product-card {
    overflow: hidden;
}

.site-product-card:hover,
.editorial-card:hover,
.content-card:hover,
.review-card:hover,
.related-card:hover,
.product-card:hover {
    transform: translateY(-3px);
    border-color: #f0a28e;
    box-shadow: 0 13px 28px rgba(28, 39, 56, 0.15);
}

.site-footer .payment-area {
    background: rgba(255, 255, 255, 0.035);
    box-shadow: 0 8px 22px rgba(110, 20, 0, 0.11);
}

.site-footer .payment-item {
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 12px rgba(85, 24, 10, 0.16);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.site-footer .payment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 17px rgba(85, 24, 10, 0.24);
}

.related-product-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.related-product-link:focus-visible {
    outline: 2px solid #f65b32;
    outline-offset: -2px;
}

/* Prevent legacy desktop footer sizing from widening the mobile document. */
@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .site-footer {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .site-footer .footer-columns,
    .site-footer .payment-area,
    .site-footer .footer-bottom {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .site-footer .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
    }

    .site-footer .footer-columns>.footer-column {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-right: 8px !important;
        overflow-wrap: anywhere;
    }

    .site-footer .payment-logos {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 7px;
    }

    .site-footer .payment-logos img {
        box-sizing: border-box;
        flex: 0 1 64px !important;
        width: 64px !important;
        min-width: 0 !important;
        max-width: 64px !important;
    }

    .site-footer .footer-bottom>* {
        box-sizing: border-box;
        max-width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
    }
}

@media (hover: none) {

    .site-product-card:hover,
    .editorial-card:hover,
    .content-card:hover,
    .review-card:hover,
    .related-card:hover,
    .product-card:hover {
        transform: none;
    }
}