:root {
    --brand: #D83607;
    --brand-dark: #9a2805;
    --brand-darker: #7a1f04;
    --home-primary: #D83607;
    --home-primary-dark: #9a2805;
    --home-gold: #e8a317;
    --home-cream: #faf7f2;
    --home-text: #2b2b2b;
    --home-muted: #6b6b6b;
    --home-shadow: 0 8px 24px rgba(154, 40, 5, 0.08);
    --surface: #ffffff;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Sarabun', sans-serif;
    color: var(--home-text);
    background: var(--home-cream);
    line-height: 1.75;
    overflow-y: auto !important;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

body.home-page #main,
body.catalog-page #main,
body.view-page #main,
body.inner-page #main { margin-top: 0; }

/* Header */
#header {
    height: 70px;
    z-index: 997;
    background: #fff;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

#header .logo h1 {
    font-size: 22px;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.3px;
}

#header .logo h1 a,
#header .logo h1 a:hover {
    color: var(--brand);
    text-decoration: none;
}

#header .logo img {
    max-height: 44px;
    width: auto;
}

.navbar { padding: 0; }
.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}
.navbar li { position: relative; }
.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    transition: 0.3s;
}
.navbar a:hover,
.navbar .active > a,
.navbar li:hover > a { color: var(--brand); }

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 10px);
    min-width: 280px;
    max-height: 70vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border-radius: 8px;
    padding: 10px 0;
    z-index: 99;
}
.navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}
.navbar .dropdown ul a {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: normal;
}

.navbar .dropdown--catalog > ul {
    min-width: 520px;
    width: max-content;
    max-width: min(680px, 94vw);
    padding: 14px 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 2px 10px;
}
.navbar .dropdown--catalog > ul > li {
    min-width: 0;
}
.navbar .dropdown--catalog > ul a {
    padding: 10px 18px;
    font-size: 14px;
    line-height: 1.55;
    border-radius: 8px;
}
.navbar .dropdown--catalog > ul a:hover {
    background: rgba(216, 54, 7, 0.06);
}

.site-search { margin-left: 8px; }
.site-search__form {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 4px 4px 14px;
    border: 1px solid rgba(216, 54, 7, 0.15);
    border-radius: 999px;
    background: var(--home-cream);
}
.site-search__form input {
    width: 130px;
    border: 0;
    background: transparent;
    font-family: 'Sarabun', sans-serif;
    font-size: 14px;
    color: var(--home-text);
    outline: none;
}
.site-search__form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    cursor: pointer;
}
.site-search__form button:hover { background: var(--brand-dark); }

.mobile-nav-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--brand);
    line-height: 1;
    padding: 8px;
    border: 0;
    background: transparent;
    z-index: 1000;
}
.mobile-nav-toggle.bi-x { color: #fff; }

body.nav-open { overflow: hidden; }

/* Home hero */
.home-hero {
    position: relative;
    min-height: 54vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(154, 40, 5, 0.9) 0%, rgba(216, 54, 7, 0.75) 45%, rgba(0, 0, 0, 0.35) 100%),
        url('../images/bgview.jpg') center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}
.home-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--home-gold), transparent);
}
.home-hero .container {
    position: relative;
    z-index: 2;
    padding-top: 88px;
    padding-bottom: 28px;
}
.home-hero__content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.home-hero__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 8px 14px;
    border: 1px solid rgba(232, 163, 23, 0.6);
    border-radius: 999px;
    color: #ffe8b8;
    font-size: 14px;
    letter-spacing: 0.04em;
}
.home-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.4;
    margin: 14px 0 12px;
    color: #fff;
}
.home-hero__lead {
    font-size: clamp(1.15rem, 3.2vw, 1.55rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 22px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 12px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s;
}
.home-btn-primary { background: var(--home-gold); color: var(--brand-dark); }
.home-btn-primary:hover { background: #f0b020; color: var(--brand-dark); }
.home-btn-outline { border: 2px solid rgba(255,255,255,0.85); color: #fff; }
.home-btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.home-btn-line { background: #06c755; color: #fff; }
.home-btn-line:hover { background: #05a847; color: #fff; }
.home-btn-shopee { background: #ee4d2d; color: #fff; }
.home-btn-shopee:hover { background: #d73211; color: #fff; }

/* Catalog hero */
.catalog-hero {
    position: relative;
    padding: 88px 0 36px;
    background:
        linear-gradient(135deg, rgba(154, 40, 5, 0.9) 0%, rgba(216, 54, 7, 0.78) 100%),
        url('../images/bgview.jpg') center/cover no-repeat;
    color: #fff;
}
.catalog-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--home-gold), transparent);
}
.catalog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}
.catalog-breadcrumb a { color: rgba(255,255,255,0.9); }
.catalog-breadcrumb a:hover { color: #ffe8b8; }
.catalog-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #fff;
}
.catalog-hero__lead {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
}
.catalog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--home-muted);
}
.catalog-meta__count { color: var(--brand); font-weight: 600; }
.catalog-meta__page {
    font-size: 13px;
    color: var(--home-muted);
    white-space: nowrap;
    flex-shrink: 0;
}
.catalog-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--home-muted);
}

/* Sections */
.home-section { padding: 32px 0; }
.home-section--welcome { padding-top: 20px; padding-bottom: 8px; }
.home-section--alt { background: #fff; }
.home-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.home-section-head h2,
.home-section-head h3 {
    margin: 0;
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
    font-weight: 700;
    color: var(--brand);
    border-bottom: 3px solid var(--home-gold);
    padding-bottom: 8px;
}
.home-section-link {
    color: var(--brand);
    font-weight: 600;
    white-space: nowrap;
}
.home-section-intro {
    color: var(--home-muted);
    margin: -4px 0 16px;
    font-size: 15px;
}

/* Category chips */
.home-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.home-category-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid rgba(216, 54, 7, 0.08);
    border-radius: 16px;
    box-shadow: var(--home-shadow);
    color: var(--home-text);
    transition: 0.25s;
}
.home-category-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(232, 163, 23, 0.45);
    color: var(--brand);
}
.home-category-chip__icon,
.home-category-chip__thumb {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
}
.home-category-chip__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(216, 54, 7, 0.08);
    color: var(--brand);
    font-size: 20px;
}
.home-category-chip__thumb {
    display: block;
    overflow: hidden;
    background: #f3efe8;
}
.home-category-chip__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.home-category-chip:hover .home-category-chip__thumb img { transform: scale(1.08); }
.home-category-chip__label { font-size: 14px; font-weight: 600; }
.home-category-chip--title {
    justify-content: center;
    text-align: center;
    min-height: 76px;
}
.home-category-chip__title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

/* Product cards */
.home-product-card {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--home-shadow);
    border: 1px solid rgba(216, 54, 7, 0.06);
    display: flex;
    flex-direction: column;
}
.home-product-card__image {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3efe8;
}
.home-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.home-product-card:hover .home-product-card__image img { transform: scale(1.04); }
.home-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}
.home-product-card__badge--new {
    background: #fff;
    color: #c62828;
    font-size: 14px;
}
.home-product-card__body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.home-product-card__body h4 {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 8px;
    min-height: 3.2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-product-card__body h4 a { color: var(--home-text); }
.home-product-card__body h4 a:hover { color: var(--brand); }
.home-product-card__body p {
    color: var(--home-muted);
    font-size: 13px;
    margin: 0 0 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-product-card__link {
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
}

.home-catalog-section { margin-bottom: 28px; }
.home-scroll-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.home-scroll-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--home-shadow);
}
.home-scroll-card__image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.home-scroll-card__image img { width: 100%; height: 100%; object-fit: cover; }
.home-scroll-card h4 {
    font-size: 13px;
    margin: 0;
    padding: 12px;
    min-height: 3.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-scroll-card h4 a { color: var(--home-text); }

/* Trust */
.home-trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.home-trust-item {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--home-shadow);
}
.home-trust-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(232, 163, 23, 0.15);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.home-trust-item h4 { margin: 0 0 6px; font-size: 17px; color: var(--brand); }
.home-trust-item p { margin: 0; color: var(--home-muted); font-size: 15px; }

/* Welcome */
.home-welcome {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--home-shadow);
    overflow: hidden;
}
.home-welcome summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 22px;
    font-size: 18px;
    font-weight: 700;
    color: var(--brand);
}
.home-welcome summary::-webkit-details-marker { display: none; }
.home-welcome__content {
    padding: 0 22px 22px;
    font-size: 16px;
    line-height: 1.9;
}

/* Pagination */
.blog-pagination { margin: 30px 0 10px; text-align: center; }
.blog-pagination > p {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--home-muted);
}
.blog-pagination > p strong { font-weight: 600; }
.blog-pagination .pagination { gap: 6px; flex-wrap: wrap; justify-content: center; }
.blog-pagination .pagination li { list-style: none; }
.blog-pagination .pagination li a {
    color: var(--brand);
    border: 1px solid #e8e8e8;
    border-radius: 999px;
    padding: 8px 14px;
    display: inline-flex;
    min-width: 38px;
    justify-content: center;
}
.blog-pagination .pagination li.active a {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.blog-pagination .pagination li.disabled a { opacity: 0.4; pointer-events: none; }

/* AdSense — บล็อก */
.adsense-slot {
    position: relative;
    margin: 18px auto;
    padding: 14px 14px 10px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fffdf9 0%, #fff 100%);
    border: 1px solid rgba(216, 54, 7, 0.08);
    box-shadow: 0 4px 18px rgba(26, 18, 7, 0.04);
    overflow: hidden;
    text-align: center;
}
.adsense-slot__label {
    display: block;
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9a8f82;
}
.adsense-slot ins.adsbygoogle {
    display: block;
    margin: 0 auto;
}
.adsense-slot--blog-list-top {
    max-width: 728px;
    margin-top: 4px;
    margin-bottom: 22px;
}
.adsense-slot--blog-list-infeed {
    margin: 6px 0 10px;
}
.blog-list-grid .col-12 > .adsense-slot--blog-list-infeed {
    margin-bottom: 4px;
}
.adsense-slot--article-mid {
    margin: 24px auto;
}
.adsense-slot--article-end {
    margin-top: 28px;
    margin-bottom: 8px;
    padding-top: 18px;
    border-top: 1px dashed rgba(216, 54, 7, 0.12);
    background: #fff;
    box-shadow: none;
}
.adsense-slot--sidebar {
    margin: 0;
}
.blog-ad-rail {
    position: sticky;
    top: 88px;
}
.blog-layout .view-card {
    margin-bottom: 0;
}
@media (min-width: 992px) {
    .adsense-slot--article-mid {
        display: none;
    }
}


/* View page */
body.view-page { background: var(--home-cream); }

.view-hero {
    position: relative;
    padding: 88px 0 32px;
    background:
        linear-gradient(135deg, rgba(154, 40, 5, 0.9) 0%, rgba(216, 54, 7, 0.78) 100%),
        url('../images/bgview.jpg') center/cover no-repeat;
    color: #fff;
}
.view-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--home-gold), transparent);
}
.view-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 14px;
}
.view-breadcrumb a { color: rgba(255,255,255,0.9); }
.view-breadcrumb a:hover { color: #ffe8b8; }
.view-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.25rem, 3.5vw, 1.85rem);
    font-weight: 700;
    color: #fff;
}
.view-hero__lead {
    margin: 0;
    font-size: 15px;
    color: rgba(255,255,255,0.92);
}
.view-section { padding: 28px 0 40px; }
.view-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--home-shadow);
    border: 1px solid rgba(216, 54, 7, 0.06);
}
.view-cover {
    margin-bottom: 20px;
    border-radius: 14px;
    overflow: hidden;
    background: #f3efe8;
}
.view-cover img { width: 100%; height: auto; display: block; }
.view-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}
.view-gallery__item {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f3efe8;
}
.view-gallery__item a { display: block; }
.view-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    transition: transform 0.3s;
}
.view-gallery__item:hover img { transform: scale(1.03); }
.view-content { font-size: 16px; line-height: 1.9; color: var(--home-text); }
.view-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 12px 0; }
.view-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}
.view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s;
}
.view-btn-primary { background: var(--home-gold); color: var(--brand-dark); }
.view-btn-primary:hover { background: #f0b020; color: var(--brand-dark); }
.view-btn-line { background: #06c755; color: #fff; }
.view-btn-line:hover { background: #05a847; color: #fff; }
.view-btn-shopee { background: #ee4d2d; color: #fff; }
.view-btn-shopee:hover { background: #d73211; color: #fff; }
.list_cart_table + .view-shopee-cta {
    margin-top: -12px;
}
.view-shopee-cta {
    width: 100%;
    margin: 0 0 28px;
    padding: 10px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(216, 54, 7, 0.1);
    box-shadow: 0 8px 28px rgba(216, 54, 7, 0.22);
}
.view-shopee-cta__link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ee4d2d 0%, #ff6b35 100%);
    color: #fff;
    font-family: "Sarabun", sans-serif;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.view-shopee-cta__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(238, 77, 45, 0.38);
    color: #fff;
}
.view-shopee-cta__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
}
.view-shopee-cta__icon img {
    width: 24px;
    height: 24px;
}
.view-shopee-cta__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.view-shopee-cta__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}
.view-shopee-cta__sub {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: #fff;
}
.view-shopee-cta__arrow {
    flex-shrink: 0;
    font-size: 15px;
    color: #fff;
}
@media (max-width: 991px) {
    .view-shopee-cta {
        padding: 8px;
    }
    .view-shopee-cta__link {
        min-height: 52px;
        padding: 10px 12px;
        gap: 10px;
    }
    .view-shopee-cta__icon {
        width: 40px;
        height: 40px;
    }
    .view-shopee-cta__title {
        font-size: 14px;
    }
}
.view-btn-outline {
    border: 2px solid var(--brand);
    color: var(--brand);
    background: #fff;
}
.view-btn-outline:hover { background: var(--brand); color: #fff; }
.view-notice {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--home-cream);
    border: 1px solid rgba(216, 54, 7, 0.1);
    font-size: 14px;
    color: var(--home-muted);
}
.view-sidebar-block {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: var(--home-shadow);
    border: 1px solid rgba(216, 54, 7, 0.06);
}
.view-sidebar-block h3 {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand);
    border-bottom: 2px solid var(--home-gold);
    padding-bottom: 8px;
}
.view-sidebar-list { display: flex; flex-direction: column; gap: 12px; }
.view-sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--home-text);
}
.view-sidebar-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}
.view-sidebar-item span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
}
.view-sidebar-item:hover span { color: var(--brand); }
.view-sidebar-empty { margin: 0; color: var(--home-muted); font-size: 14px; }
.view-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.view-tag-chip {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--home-cream);
    border: 1px solid rgba(216, 54, 7, 0.12);
    color: var(--brand);
    font-size: 13px;
}
.view-tag-chip:hover { background: var(--brand); color: #fff; }
.catalog-section .view-tag-list { gap: 10px; }
.catalog-section .view-tag-chip {
    padding: 8px 16px;
    font-size: 14px;
}

/* Tag index */
.tag-index-search { margin-bottom: 20px; }
.tag-index-search__field {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 420px;
    padding: 10px 14px;
    border: 1px solid rgba(216, 54, 7, 0.14);
    border-radius: 999px;
    background: var(--home-cream);
}
.tag-index-search__field > i {
    color: var(--brand);
    font-size: 16px;
}
.tag-index-search__input {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--home-text);
    font-size: 15px;
    outline: none;
}
.tag-index-search__input::placeholder { color: var(--home-muted); }
.tag-index-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.tag-index-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid rgba(216, 54, 7, 0.08);
    border-radius: 16px;
    box-shadow: var(--home-shadow);
    color: var(--home-text);
    transition: 0.25s;
}
.tag-index-card:hover {
    transform: translateY(-2px);
    border-color: rgba(232, 163, 23, 0.45);
    color: var(--brand);
}
.tag-index-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}
.tag-index-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.tag-index-card__name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}
.tag-index-card__count {
    font-size: 12px;
    color: var(--home-muted);
}
.tag-index-card:hover .tag-index-card__count { color: var(--brand-dark); }
.tag-index-empty {
    margin: 16px 0 0;
    text-align: center;
    color: var(--home-muted);
    font-size: 14px;
}

/* Sitemap */
.sitemap-page .catalog-meta {
    justify-content: flex-start;
    gap: 20px;
}
.sitemap-quick {
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(216, 54, 7, 0.1);
}
.sitemap-quick__title {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand);
}
.sitemap-quick__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sitemap-quick__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(216, 54, 7, 0.14);
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--home-shadow);
    transition: 0.2s ease;
}
.sitemap-quick__link:hover {
    color: #000;
    border-color: rgba(232, 163, 23, 0.45);
    transform: translateY(-1px);
}
.sitemap-quick__link i {
    color: #222;
    font-size: 16px;
}
.sitemap-quick__link:hover i {
    color: #000;
}
.sitemap-search { margin-bottom: 22px; }
.sitemap-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}
.sitemap-card {
    padding: 18px 18px 14px;
    border: 1px solid rgba(216, 54, 7, 0.1);
    border-radius: 14px;
    background: #fffdf9;
}
.sitemap-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.sitemap-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}
.sitemap-card__title a {
    color: #111;
}
.sitemap-card__title a:hover {
    color: #000;
}
.sitemap-card__count {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--home-muted);
    background: rgba(216, 54, 7, 0.06);
    padding: 4px 10px;
    border-radius: 999px;
}
.sitemap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}
.sitemap-list__item a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    transition: background 0.15s ease, color 0.15s ease;
}
.sitemap-list__item a:hover {
    background: rgba(216, 54, 7, 0.06);
    color: #000;
}
.sitemap-list__item a::before {
    content: '›';
    margin-right: 6px;
    color: #333;
    font-weight: 700;
}
.sitemap-list__item a:hover::before {
    color: #000;
}
.sitemap-card__empty,
.sitemap-empty {
    margin: 0;
    font-size: 14px;
    color: var(--home-muted);
}
.sitemap-empty {
    margin-top: 16px;
    text-align: center;
}
@media (min-width: 768px) {
    .sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
    .sitemap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .tag-index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
    .tag-index-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Tag view */
.tagview-related {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(216, 54, 7, 0.12);
}
.tagview-related__title {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand);
}
.tagview-related__more {
    margin: 14px 0 0;
    font-size: 14px;
}
.tagview-related__more a {
    color: var(--brand);
    font-weight: 600;
}
.tagview-related__more a:hover { color: var(--brand-dark); }

/* ViewProduct / content */
.ViewProduct { padding: 28px 0 40px; }
.ViewProduct .container,
.catalog-section .container,
.content-page {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: var(--home-shadow);
}
.catalog-section { padding: 28px 0 36px; }
.catalog-detail {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--home-shadow);
}
.catalog-detail.entry-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--home-text);
    overflow-wrap: anywhere;
    word-break: break-word;
}
.catalog-detail.entry-content > :last-child {
    margin-bottom: 0;
}
.ViewProduct h1 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--brand); font-weight: 700; margin-bottom: 20px; }
.ViewProduct .entry-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--home-text);
}
.entry-content a {
    color: inherit;
    text-decoration: none;
}
.entry-content a:hover,
.entry-content a:focus {
    color: inherit;
    text-decoration: none;
}
.entry-content img:not(.view-product-media img) {
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 12px auto;
    display: block;
    border-radius: 8px;
}
.catalog-detail.entry-content img:not(.view-product-media img) {
    width: min(100%, 560px);
}

/* รูปสินค้า + iframe ให้กว้างเท่ากัน */
.ViewProduct .entry-content .view-product-media {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 12px auto 8px;
}
.ViewProduct .entry-content .view-product-media a {
    display: block;
}
.ViewProduct .entry-content .view-product-media img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: 8px;
}

/* Responsive iframe embeds */
.ViewProduct .entry-content .view-embed,
.entry-content .view-embed {
    position: relative;
    width: min(100%, var(--view-embed-width, 560px));
    max-width: 100%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    background: #111;
    aspect-ratio: 16 / 9;
}
.entry-content .view-embed__iframe,
.entry-content .view-embed iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    border: 0;
    margin: 0;
}
.entry-content iframe:not(.view-embed__iframe) {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
    margin: 20px 0;
    border: 0;
    border-radius: 10px;
    background: #111;
}
.ViewProduct .entry-content h3 {
    margin: 28px 0 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-dark);
}
.ViewProduct .entry-content h4 {
    margin: 24px 0 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--home-text);
}
.ViewProduct .entry-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}
.ViewProduct .entry-content ol li {
    margin-bottom: 0.5rem;
}

/* External share */
.view-share {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(216, 54, 7, 0.12);
    text-align: center;
}
.view-share__title {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-dark);
    text-align: center;
}
.view-share__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 22px;
}
.ViewProduct .entry-content .view-share a,
.ViewProduct .entry-content .view-share a:hover,
.ViewProduct .entry-content .view-share a:focus,
.view-content.entry-content .view-share a,
.view-content.entry-content .view-share a:hover,
.view-content.entry-content .view-share a:focus {
    text-decoration: none;
}
.view-share__item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 72px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--home-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}
.view-share__item > i {
    font-size: 26px;
    line-height: 1;
}
.view-share__item:hover,
.view-share__item:focus {
    transform: translateY(-2px);
    text-decoration: none;
}
.view-share__name {
    display: block;
}
.view-share__item.is-facebook > i { color: #1877f2; }
.view-share__item.is-line > i { color: #06c755; }
.view-share__item.is-x > i { color: #111; }
.view-share__item.is-pinterest > i { color: #e60023; }
.view-share__item.is-blogger > i { color: #ff5722; }
.view-share__item.is-facebook:hover,
.view-share__item.is-facebook:focus { color: #1877f2; }
.view-share__item.is-line:hover,
.view-share__item.is-line:focus { color: #06c755; }
.view-share__item.is-x:hover,
.view-share__item.is-x:focus { color: #111; }
.view-share__item.is-pinterest:hover,
.view-share__item.is-pinterest:focus { color: #e60023; }
.view-share__item.is-blogger:hover,
.view-share__item.is-blogger:focus { color: #ff5722; }
.view-share__copy-box {
    max-width: 640px;
    margin: 18px auto 0;
    text-align: left;
}
.view-share__copy-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--home-muted);
}
.view-share__copy-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.view-share__url {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid rgba(216, 54, 7, 0.2);
    border-radius: 10px;
    background: #fff;
    color: var(--home-text);
    font-size: 13px;
    line-height: 1.4;
}
.view-share__url:focus {
    outline: none;
    border-color: rgba(216, 54, 7, 0.45);
    box-shadow: 0 0 0 3px rgba(216, 54, 7, 0.1);
}
.view-share__copy-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.view-share__copy-action:hover,
.view-share__copy-action:focus {
    background: var(--brand-dark);
    color: #fff;
    transform: translateY(-1px);
}
.view-share__copy-action.is-copied {
    background: #058f3d;
}
.view-share__toast {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #058f3d;
    word-break: break-all;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.view-share__toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 575px) {
    .catalog-section .container {
        padding: 16px 12px;
        border-radius: 12px;
    }
    .catalog-detail {
        padding: 14px 12px;
        margin-bottom: 16px;
        border-radius: 12px;
    }
    .catalog-detail.entry-content {
        font-size: 15px;
        line-height: 1.75;
    }
    .catalog-detail.entry-content img:not(.view-product-media img) {
        width: 100%;
        max-width: 100%;
        margin: 10px auto;
    }
    .catalog-meta {
        gap: 8px;
    }
    .catalog-meta__page {
        font-size: 11px;
        line-height: 1.2;
    }
    .catalog-section .home-section-head {
        gap: 8px;
        align-items: flex-end;
    }
    .blog-pagination > p {
        font-size: 11px;
        line-height: 1.2;
    }
    .view-share__copy-row {
        flex-direction: column;
    }
    .view-share__copy-action {
        justify-content: center;
    }
}

.ViewProduct .ViewNotice {
    margin: 24px 0;
    padding: 16px;
    background: #fff8f6;
    border-left: 4px solid var(--brand);
    border-radius: 4px;
}
.ViewProduct .cta-buttons { text-align: center; margin: 24px 0; }
.ViewProduct .cta-buttons img { max-width: 260px; margin: 8px; }
.ViewProduct .cta-buttons a {
    text-decoration: none;
}

.list_cart_table,
.ViewProduct .entry-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0 28px;
    border: 1px solid rgba(216, 54, 7, 0.12);
    border-radius: 12px;
    overflow: hidden;
    font-size: 15px;
    background: #fff;
}
.list_cart_table thead th,
.ViewProduct .entry-content table thead th {
    background: rgba(216, 54, 7, 0.08);
    color: var(--brand-dark);
    font-weight: 700;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(216, 54, 7, 0.12);
    text-align: left;
}
.list_cart_table tbody td,
.ViewProduct .entry-content table tbody td,
.ViewProduct .entry-content table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    vertical-align: top;
    line-height: 1.6;
    color: var(--home-text);
}
.list_cart_table tbody tr:last-child td,
.ViewProduct .entry-content table tbody tr:last-child td,
.ViewProduct .entry-content table tr:last-child td {
    border-bottom: 0;
}
.list_cart_table tbody tr:nth-child(even),
.ViewProduct .entry-content table tbody tr:nth-child(even) {
    background: rgba(250, 247, 242, 0.65);
}
.list_cart_table .text-end,
.ViewProduct .entry-content table .text-end {
    text-align: right;
}
.list_cart_table tbody td.text-end {
    font-weight: 600;
    color: var(--brand-dark);
    white-space: nowrap;
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud .btn-tag {
    padding: 8px 18px;
    border: 2px solid var(--brand);
    border-radius: 24px;
    color: var(--brand);
    font-weight: 600;
    background: #fff;
}
.tag-cloud .btn-tag:hover { background: var(--brand); color: #fff; }

.bottonPage, .bottoncal, .buttoncolor {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.bottonPage:hover, .bottoncal:hover { background: var(--brand-dark); color: #fff !important; }

.page-404 { text-align: center; padding: 40px 20px; }
.page-404 .code { font-size: 72px; font-weight: 700; color: var(--brand); }

/* 404 */
.error-page .catalog-section { padding-top: 8px; }
.error-panel { margin-bottom: 28px; }
.error-panel__card {
    text-align: center;
    padding: 32px 24px 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(216, 54, 7, 0.08);
    box-shadow: var(--home-shadow);
}
.error-panel__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(216, 54, 7, 0.08);
    color: var(--brand);
    font-size: 28px;
}
.error-panel__code {
    margin: 0 0 8px;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    line-height: 1;
    color: var(--brand);
    letter-spacing: -0.03em;
}
.error-panel__title {
    margin: 0 0 10px;
    font-size: clamp(1.1rem, 2.8vw, 1.45rem);
    font-weight: 700;
    color: var(--home-text);
}
.error-panel__text {
    margin: 0 auto 22px;
    max-width: 520px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--home-muted);
}
.error-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.error-panel__actions .home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}
.home-btn-outline {
    background: #fff;
    color: var(--brand-dark);
    border: 2px solid rgba(216, 54, 7, 0.2);
}
.home-btn-outline:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
}
.error-panel__search {
    max-width: 520px;
    margin: 18px auto 0;
}
.error-panel__search .tag-index-search__field {
    width: 100%;
}
.error-quick { margin-bottom: 26px; }
.error-categories { margin-top: 8px; }
.error-categories .home-section-head { margin-bottom: 14px; }

/* Footer */
#footer { background: var(--brand-dark); color: #fff; font-size: 14px; }
#footer .footer-top { background: var(--brand-darker); padding: 50px 0 30px; }
#footer h4 { font-size: 20px; color: #fff; margin-bottom: 16px; }
#footer p, #footer a, #footer li { color: #fff; line-height: 1.7; }
#footer a:hover { color: #ffd4c8; }
#footer ul { list-style: none; padding: 0; margin: 0; }
#footer ul li { margin-bottom: 8px; }
#footer .social-links a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
}
#footer .copyright { text-align: center; padding: 20px 0 30px; }

/* Product grid (legacy home / listing) */
.product { padding: 28px 0 36px; }
.product .container {
    padding: 25px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--home-shadow);
}
.product h3 {
    width: 100%;
    font-size: 22px;
    font-weight: 700;
    color: var(--brand);
    border-bottom: 3px solid var(--home-gold);
    padding-bottom: 8px;
    margin-bottom: 20px;
}
.product .member {
    margin-bottom: 20px;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(216, 54, 7, 0.08);
    box-shadow: var(--home-shadow);
    height: 100%;
}
.product .member .member-img {
    height: 220px;
    overflow: hidden;
    background: #f3efe8;
}
.product .member .member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.product .member:hover .member-img img { transform: scale(1.05); }
.product .member .member-info {
    padding: 14px;
}
.product .member .member-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.6;
}
.product .member .member-info h4 a { color: var(--home-text); }
.product .member .member-info h4 a:hover { color: var(--brand); }
.product .member .member-info p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--home-muted);
    margin: 0;
}

.wrapbox, .wrapsemibox, .pageheader-default, .bghead { display: none !important; }

#titlepage {
    position: relative;
    padding: 88px 0 36px;
    background:
        linear-gradient(135deg, rgba(154, 40, 5, 0.9) 0%, rgba(216, 54, 7, 0.78) 100%),
        url('../images/bgview.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
}
#titlepage::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--home-gold), transparent);
}
#titlepage h1 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #fff;
}
#titlepage h2,
#titlepage h3 {
    margin: 0 0 8px;
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}
body:not(.home-page):not(.catalog-page):not(.view-page) #main { margin-top: 0; }

@media (min-width: 768px) {
    .home-category-grid { grid-template-columns: repeat(3, 1fr); }
    .home-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .home-scroll-card { flex-basis: 220px; }
    .view-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    .home-category-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
    .mobile-nav-toggle { display: block; }

    .navbar ul { display: none; }

    .navbar-mobile {
        position: fixed;
        inset: 0;
        z-index: 999;
        overflow: hidden;
        background: rgba(34, 36, 29, 0.92);
        transition: 0.3s;
    }
    .navbar-mobile .mobile-nav-toggle {
        position: fixed;
        top: 14px;
        right: 14px;
    }
    .navbar-mobile > ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 58px;
        right: 12px;
        bottom: 12px;
        left: 12px;
        margin: 0;
        padding: 8px 0;
        background: #fff;
        border-radius: 16px;
        box-shadow: var(--shadow);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .navbar-mobile > ul > li {
        border-bottom: 1px solid rgba(216, 54, 7, 0.08);
    }
    .navbar-mobile > ul > li:last-child {
        border-bottom: 0;
    }
    .navbar-mobile a,
    .navbar-mobile a:focus {
        padding: 14px 18px;
        width: 100%;
        min-height: 48px;
        font-size: 16px;
        white-space: normal;
    }
    .navbar-mobile .dropdown > a .bi-chevron-down {
        transition: transform 0.25s;
    }
    .navbar-mobile .dropdown > a.dropdown-open .bi-chevron-down {
        transform: rotate(180deg);
    }
    .navbar-mobile .site-search {
        margin: 0;
        padding: 12px 16px 16px;
        width: 100%;
    }
    .navbar-mobile .site-search__form {
        width: 100%;
        padding: 6px 6px 6px 16px;
    }
    .navbar-mobile .site-search__form input {
        width: 100%;
        flex: 1;
        font-size: 16px;
        min-height: 40px;
    }
    .navbar-mobile .site-search__form button {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    .navbar-mobile .dropdown ul {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        min-width: 0;
        max-height: none;
        margin: 0 12px 10px;
        padding: 6px 0;
        background: var(--home-cream);
        border: 1px solid rgba(216, 54, 7, 0.1);
        border-radius: 12px;
        box-shadow: none;
        overflow: hidden;
    }
    .navbar-mobile .dropdown ul.dropdown-active {
        display: block;
    }
    .navbar-mobile .dropdown--catalog > ul.dropdown-active {
        display: grid;
        grid-template-columns: 1fr;
        max-height: min(50vh, 320px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .navbar-mobile .dropdown ul a {
        padding: 12px 14px;
        font-size: 15px;
        min-height: 44px;
    }
}