html {
    font-size: 14px;
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

body {
    margin: 0;
    font-family: "Open Sans",sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #747d88;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0,0,0,0)
}

.product-detail-breadcrumb {
    margin-bottom: 16px;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}

.product-detail-main {
    display: grid;
    gap: 10px;
}

.product-title-row,
.product-gallery-panel,
.product-commitments,
.product-info-panel,
.product-review-panel,
.product-buy-box,
.product-category-card {
    background: #fff;
    border: 1px solid #edf1f5;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(21, 35, 54, 0.05);
}

.product-title-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom-color: transparent;
    border-radius: 8px 8px 4px 4px;
    box-shadow: 0 4px 14px rgba(21, 35, 54, 0.035);
}

/* Nhãn loại quạt luôn nằm dòng riêng phía trên tên (h1 là inline-flex, sẽ dồn lên cùng dòng khi có chỗ). */
.product-title-row .product-detail-category {
    display: block;
}

.product-title-row h1 {
    margin: 6px 0 0;
    color: #243b4a;
    font-size: 1.65rem;
    line-height: 1.25;
}

.product-title-rating {
    min-width: 132px;
    text-align: right;
    color: #6a7682;
    text-decoration: none;
}

.product-title-rating strong,
.rating-score strong {
    color: #ff8a00;
    font-size: 1.65rem;
}

.product-title-rating span,
.rating-score span,
.review-item span {
    display: block;
    color: #c8d0d8;
    white-space: nowrap;
}

.product-title-rating .active,
.rating-score .active,
.review-item .active {
    color: #ffb300;
}

.product-gallery-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(240px, 330px);
    gap: 18px;
    padding: 18px;
}

.product-gallery-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    background: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
}

.product-gallery-image img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.product-gallery-highlights {
    display: grid;
    gap: 10px;
    align-content: center;
}

.product-gallery-highlights div,
.product-commitments span {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #425466;
    line-height: 1.45;
}

.product-gallery-highlights i,
.product-commitments i {
    color: #76c900;
    margin-top: 3px;
}

.product-gallery-thumbs {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.product-gallery-thumbs img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border: 1px solid #e4eaf0;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
}

.product-commitments {
    padding: 16px 18px;
}

.product-commitments h2,
.product-info-panel h2,
.product-review-panel h2,
.product-category-card h2 {
    margin: 0 0 12px;
    color: #243b4a;
    font-size: 1.05rem;
}

.product-commitments div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-info-panel,
.product-review-panel {
    padding: 18px;
}

/* Tiêu đề gộp vào khối ảnh, "Cam kết" gộp vào khối thông số: bỏ khung thẻ của khối con. */
.product-gallery-panel > .product-title-row,
.product-info-panel > .product-commitments {
    border: 0;
    border-radius: 0 !important;
    box-shadow: none;
    background: transparent !important;
}

.product-gallery-panel > .product-title-row {
    grid-column: 1 / -1;
    order: -1;
    padding: 0 0 4px;
}

.product-info-panel > .product-commitments {
    padding: 0 0 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #edf1f5;
}

.product-buy-box .product-price-note {
    margin: -4px 0 12px;
    color: #ea580c;
    font-size: .9rem;
    font-style: italic;
    font-weight: 600;
}

.product-info-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.product-info-tabs button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid #bfe58d;
    border-radius: 6px;
    background: #fff;
    color: #76c900;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.product-info-tabs button.active {
    border-color: #76c900;
    background: #f4fbeb;
}

.product-spec-table {
    display: grid;
    margin: 0 0 20px;
    border-top: 1px solid #eef2f6;
}

.product-spec-table div {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f6;
}

.product-spec-table dt {
    color: #25384a;
    font-weight: 700;
}

.product-spec-table dd {
    margin: 0;
    color: #4f5f6f;
}

.product-description-section p,
.product-buy-box p {
    color: #5d6b78;
    line-height: 1.65;
}

.product-description-content {
    position: relative;
    overflow: hidden;
}

.product-description-content p {
    white-space: pre-line;
}

.product-description-content.is-collapsed {
    max-height: 560px;
}

.product-description-content.is-collapsed::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 92px;
    background: linear-gradient(rgba(255, 255, 255, 0), #fff 82%);
    pointer-events: none;
}

.product-description-toggle {
    min-width: 150px;
    min-height: 40px;
    margin: 14px auto 0;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #76c900;
    border-radius: 999px;
    background: #fff;
    color: #76c900;
    font-weight: 800;
    cursor: pointer;
}

.product-description-toggle:hover,
.product-description-toggle:focus {
    background: #76c900;
    color: #fff;
}

.product-detail-sidebar {
    position: sticky;
    top: 84px;
    display: grid;
    gap: 16px;
}

.product-buy-box,
.product-category-card {
    padding: 16px;
}

.product-buy-box .product-detail-price {
    display: block;
    margin: 8px 0;
}

.sidebar-primary-action,
.sidebar-secondary-action,
.review-form button,
.product-review-heading a,
.product-review-heading button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    gap: 8px;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.sidebar-primary-action,
.review-form button {
    border: 1px solid #76c900;
    background: #76c900;
    color: #fff;
}

.sidebar-secondary-action,
.product-review-heading a,
.product-review-heading button {
    margin-top: 10px;
    border: 1px solid #ff9f1c;
    background: #fff;
    color: #ff8a00;
    cursor: pointer;
}

.sidebar-zalo-action {
    border-color: #76c900;
    background: #76c900;
    color: #fff;
}

.sidebar-zalo-action:hover {
    border-color: #62ad00;
    background: #62ad00;
    color: #fff;
}

.sidebar-zalo-action i {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--color-primary);
    font-size: .78rem;
    transition: color .15s ease;
}

.sidebar-zalo-action:hover i,
.sidebar-zalo-action:focus i {
    color: var(--color-primary-hover);
}

.product-review-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.product-review-heading a,
.product-review-heading button {
    width: 150px;
    margin-top: 0;
}

.product-rating-summary {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef2f6;
}

.rating-score {
    text-align: center;
}

.rating-bars {
    display: grid;
    gap: 8px;
}

.rating-bars div {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 42px;
    gap: 8px;
    align-items: center;
    color: #5d6b78;
}

.rating-bars progress {
    width: 100%;
    height: 8px;
    overflow: hidden;
    border: none;
    border-radius: 999px;
}

.rating-bars progress::-webkit-progress-bar {
    background: #edf2f7;
}

.rating-bars progress::-webkit-progress-value {
    background: #0b74de;
}

.review-list {
    display: grid;
    gap: 14px;
    margin: 18px 0;
}

.review-item {
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f6;
}

.review-item div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.review-item p {
    margin: 8px 0;
    color: #33495c;
}

.review-item small,
.empty-review {
    color: #7a8793;
}

.review-form {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #edf1f5;
    border-radius: 8px;
}

.review-form h3 {
    margin: 0;
    color: #243b4a;
    font-size: 1rem;
}

.review-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.review-form label {
    display: grid;
    gap: 6px;
    color: #425466;
    font-weight: 700;
}

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cad6e2;
    border-radius: 6px;
    padding: 10px 12px;
    color: #243b4a;
    background: #fff;
}

.review-form button {
    width: 160px;
}

.review-modal[hidden] {
    display: none;
}

.review-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: grid;
    place-items: center;
    padding: 24px;
}

.review-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 20, 28, .68);
}

.review-modal-dialog {
    position: relative;
    width: min(680px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .26);
}

.review-modal-dialog h2 {
    margin: 0;
    padding: 20px 56px 18px;
    border-bottom: 1px solid #eef2f6;
    color: #111827;
    text-align: center;
    font-size: 1.15rem;
}

.review-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #3f4650;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.review-modal-product {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 18px 24px 8px;
    text-align: center;
}

.review-modal-product img {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.review-modal-product strong {
    color: #111827;
    font-size: 1.22rem;
    line-height: 1.35;
}

.review-form-modal {
    margin: 0 30px 28px;
    padding: 0;
    border: 0;
    background: transparent;
}

.review-star-picker {
    margin: 0;
    padding: 0;
    border: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    direction: rtl;
}

.review-star-picker legend {
    grid-column: 1 / -1;
    margin-bottom: 2px;
    color: #425466;
    font-size: .95rem;
    font-weight: 700;
}

.review-form-modal button[type="submit"] {
    width: 100%;
}

.review-star-picker label {
    display: grid;
    justify-items: center;
    gap: 4px;
    color: #536170;
    cursor: pointer;
    font-weight: 500;
    direction: ltr;
}

.review-star-picker input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.review-star-icons {
    display: inline-flex;
    justify-content: center;
    gap: 2px;
    min-height: 30px;
}

.review-star-icons i {
    color: #d4dbe3;
    font-size: 2.2rem;
}

.review-star-icons i:not(:first-child) {
    display: none;
}

.review-star-picker label.filled .review-star-icons i:first-child,
.review-star-picker label.selected .review-star-icons i:first-child {
    color: #ffab00;
}

.review-star-picker label.selected > span:last-child {
    color: #ff8a00;
    font-weight: 700;
}

.review-star-picker input:focus-visible + .review-star-icons {
    outline: 2px solid #0b74de;
    outline-offset: 4px;
    border-radius: 4px;
}

.review-consent {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px !important;
    font-size: .9rem;
    font-weight: 500 !important;
}

.review-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.review-policy-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: .86rem;
}

.review-policy-links a,
.review-consent a {
    color: #0b74de;
    text-decoration: none;
}

.review-modal-open {
    overflow: hidden;
}

.policy-page {
    padding: 160px 0 56px;
    background: #f4f7fb;
}

.policy-shell {
    max-width: 980px;
    display: grid;
    gap: 16px;
}

.policy-document {
    border: 1px solid #e5edf5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(21, 35, 54, .06);
}

/* Các mục trong tài liệu: không khung riêng, ngăn bằng đường kẻ. */
.policy-document > .policy-card {
    border-top: 1px solid #edf1f5;
}

.policy-hero {
    padding: 26px 30px;
}

.policy-hero span {
    color: #76c900;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.policy-hero h1 {
    margin: 8px 0 10px;
    color: #243b4a;
    font-size: 2rem;
    line-height: 1.25;
}

.policy-hero p {
    max-width: 780px;
    margin: 0 0 12px;
    color: #536577;
    line-height: 1.75;
}

.policy-hero small {
    color: #8a96a4;
}

.policy-card {
    padding: 22px 30px;
}

.policy-card h2 {
    margin: 0 0 12px;
    color: #243b4a;
    font-size: 1.18rem;
}

.policy-card p {
    margin: 0 0 12px;
    color: #4c5f72;
    line-height: 1.75;
}

.policy-card ul {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 8px;
}

.policy-card li {
    color: #4c5f72;
    line-height: 1.65;
}

.policy-card a {
    color: #0b74de;
    text-decoration: none;
    font-weight: 700;
}

.policy-note {
    margin-top: 14px !important;
    padding: 12px 14px;
    border-left: 4px solid #76c900;
    border-radius: 6px;
    background: #f4fbeb;
}

.policy-contact {
    display: grid;
    gap: 8px;
}

.policy-contact a {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: #243b4a;
}

.policy-contact i {
    color: #76c900;
}

.review-alert {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: 700;
}

.review-alert.success {
    color: #237300;
    background: #f0f9e8;
    border: 1px solid #cdeab8;
}

.review-alert.error {
    color: #b42318;
    background: #fff1f0;
    border: 1px solid #ffd0cc;
}

@media (max-width: 992px) {
    /* Một cột: đưa khối giá + nút gọi lên ngay sau ảnh. Trước đây nó nằm sau thông số và đánh giá,
       khách trên điện thoại phải cuộn ~2000px mới thấy giá. */
    .product-detail-layout {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .product-detail-main {
        display: contents;
    }

    /* Tiêu đề nằm trong .product-gallery-panel nên không cần order riêng. */
    .product-gallery-panel { order: 1; }
    .product-detail-sidebar { order: 2; }
    .product-detail-main > :not(.product-gallery-panel) { order: 3; }

    .product-detail-sidebar {
        position: static;
    }

    /* Danh mục đã có ở menu; trên màn hình hẹp chỉ đẩy nội dung chính xuống. */
    .product-category-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .product-title-row,
    .product-gallery-panel,
    .product-rating-summary,
    .product-commitments div,
    .review-form-grid {
        grid-template-columns: 1fr;
    }

    .product-title-row {
        display: grid;
    }

    .product-title-rating {
        text-align: left;
    }

    .product-spec-table div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .review-star-picker {
        grid-template-columns: repeat(5, minmax(48px, 1fr));
        gap: 6px;
    }

    .review-star-icons i {
        font-size: 1.75rem;
    }

    .review-form-modal {
        margin: 0 18px 22px;
    }
}

.brand-name {
    color: inherit;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.storefront-navbar-brand {
    flex-shrink: 0;
    margin-right: 1rem;
}

.storefront-nav-account {
    flex-shrink: 0;
}

.auth-links {
    gap: .5rem;
}

.auth-link {
    color: var(--color-text, #26383b);
    font-size: .92rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.auth-link:hover {
    color: var(--color-primary, #70bf17);
}

.auth-link-divider {
    color: #c7cdd1;
}

.brand-mark-emblem {
    height: 60px;
    width: auto;
    flex-shrink: 0;
}

.brand-mark-text {
    font-size: .95rem;
    font-weight: 700;
    white-space: nowrap;
}

.brand-mark-line1 {
    display: block;
    color: #ff9f0a;
    font-size: .68em;
    font-weight: 500;
    font-style: italic;
    line-height: 1.1;
}

.brand-mark-line2 {
    display: block;
    color: #4a9c0d;
    font-size: 1.5em;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: .2px;
}

.brand-name-fan {
    color: #ff9f0a;
}

.brand-name-store {
    color: #70bf17;
}

.brand-name-store-strong {
    color: #70bf17;
    font-weight: 800;
}

.navbar-brand .brand-name-fan,
.mobile-drawer-head .brand-name-fan {
    display: block;
}

.navbar-brand .brand-name-store,
.mobile-drawer-head .brand-name-store {
    display: block;
    font-weight: 800;
}

.store-breadcrumb {
    margin: 0 0 .55rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    align-items: center;
    color: #8a9698;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: 0;
    list-style: none;
    text-transform: none;
}

.store-breadcrumb li {
    display: inline-flex;
    gap: .3rem;
    align-items: center;
}

.store-breadcrumb li + li::before {
    content: "/";
    color: #b8c4c5;
}

.store-breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
}

.store-breadcrumb a:hover,
.store-breadcrumb a:focus {
    color: var(--color-primary-hover);
}

.store-breadcrumb span,
.store-breadcrumb [aria-current="page"] {
    color: #5f6f72;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: 0;
    text-transform: none;
}

.storefront .btn-primary:not(.auth-pill):not(.add-to-cart-btn),
.storefront .home-section-heading > a,
.storefront .home-highlight a,
.storefront .home-cta a {
    border-color: var(--bs-primary) !important;
    background: var(--bs-primary) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(var(--bs-primary-rgb), .2);
}

.storefront .btn-primary:not(.auth-pill):not(.add-to-cart-btn):hover,
.storefront .btn-primary:not(.auth-pill):not(.add-to-cart-btn):focus,
.storefront .home-section-heading > a:hover,
.storefront .home-section-heading > a:focus,
.storefront .home-highlight a:hover,
.storefront .home-highlight a:focus,
.storefront .home-cta a:hover,
.storefront .home-cta a:focus {
    border-color: var(--color-primary-hover) !important;
    background: var(--color-primary-hover) !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(var(--bs-primary-rgb), .26);
}

.storefront .btn-outline-primary:not(.add-to-cart-btn) {
    border-color: var(--bs-primary) !important;
    background: var(--bs-primary) !important;
    color: #fff !important;
}

.storefront .btn-outline-primary:not(.add-to-cart-btn):hover,
.storefront .btn-outline-primary:not(.add-to-cart-btn):focus {
    border-color: var(--color-primary-hover) !important;
    background: var(--color-primary-hover) !important;
    color: #fff !important;
}

.storefront .home-highlight a,
.storefront .home-cta a {
    background: #fff !important;
    color: var(--bs-primary) !important;
}

.storefront .home-highlight a:hover,
.storefront .home-highlight a:focus,
.storefront .home-cta a:hover,
.storefront .home-cta a:focus {
    background: var(--color-primary-light) !important;
    color: var(--color-primary-hover) !important;
}

.storefront .btn-primary.auth-pill {
    border-color: var(--bs-primary) !important;
    background: var(--bs-primary) !important;
    color: #fff !important;
}

.storefront .btn-primary.auth-pill:hover,
.storefront .btn-primary.auth-pill:focus {
    border-color: var(--color-primary-hover) !important;
    background: var(--color-primary-hover) !important;
    color: #fff !important;
}

.auth-pill {
    border-radius: 999px;
    padding: .45rem 1.2rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.storefront .btn-outline-secondary.auth-pill {
    border-color: var(--bs-secondary) !important;
    background: transparent !important;
    color: var(--bs-secondary) !important;
}

.storefront .btn-outline-secondary.auth-pill:hover,
.storefront .btn-outline-secondary.auth-pill:focus {
    border-color: var(--color-secondary-hover) !important;
    background: var(--color-secondary-light) !important;
    color: var(--color-secondary-hover) !important;
}

.avatar-circle {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(129, 196, 8, .14);
    color: #679d06;
    font-size: .85rem;
    font-weight: 800;
}

.auth-page {
    min-height: 720px;
    padding: 210px 0 90px;
    background: #f7faf2;
}

.auth-card {
    max-width: 520px;
    margin: 0 auto;
    padding: 32px;
    border: 1px solid #edf2e5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
}

.auth-heading {
    margin-bottom: 24px;
}

.auth-heading h1 {
    margin: 6px 0 8px;
    color: #45595b;
    font-size: 2rem;
}

.auth-heading p {
    margin-bottom: 0;
}

.auth-eyebrow {
    color: var(--color-primary);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.auth-submit {
    border-radius: 999px;
    padding: .75rem 1rem;
    font-weight: 700;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
    color: #849294;
    font-size: .9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid #e2e8e9;
}

.auth-google-submit {
    border: 1px solid #d8e0e2;
    border-radius: 999px;
    padding: .75rem 1rem;
    font-weight: 700;
    background: #fff;
    color: #45595b;
}

.auth-google-submit .fa-google {
    color: #ea4335;
}

.auth-google-submit:hover,
.auth-google-submit:focus {
    border-color: var(--color-primary);
    background: var(--color-primary-lightest);
    color: #263238;
}

.auth-verification-note {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid #e4ecd9;
    border-radius: 12px;
    background: #f7faf2;
    color: #5f6f72;
    font-size: .92rem;
    line-height: 1.5;
}

.auth-verification-note strong {
    color: #45595b;
}

.auth-code-input {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .22em;
}

.auth-captcha {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 42px;
    gap: 10px;
    align-items: center;
}

.auth-captcha span {
    min-height: 46px;
    padding: 7px 12px;
    border: 1px solid #d7dfd0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(129, 196, 8, .08), rgba(255, 181, 36, .12)),
        repeating-linear-gradient(-12deg, transparent 0 8px, rgba(69, 89, 91, .05) 8px 9px);
    color: #26383b;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    transform: skew(-8deg) rotate(-2deg);
    user-select: none;
}

.auth-captcha input {
    min-height: 46px;
}

.auth-captcha button {
    width: 42px;
    height: 46px;
    border: 1px solid #e4e8df;
    border-radius: 10px;
    background: #fff;
    color: #679d06;
}

.auth-captcha button:hover,
.auth-captcha button:focus {
    border-color: var(--color-primary);
    background: var(--color-primary-lightest);
}

.auth-resend-form {
    margin-top: 12px;
    text-align: center;
}

.auth-resend-form .btn-link {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

.auth-resend-form .btn-link:hover,
.auth-resend-form .btn-link:focus {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.password-toggle {
    min-width: 46px;
    border: 1px solid #ced4da;
    color: var(--color-primary);
}

.password-toggle:hover,
.password-toggle:focus {
    border-color: var(--color-primary);
    color: var(--color-primary-hover);
}

.auth-footer {
    margin-top: 22px;
    text-align: center;
}

.auth-footer a {
    color: var(--color-primary);
    font-weight: 700;
}

.account-shell {
    max-width: 1040px;
    margin: 0 auto;
}

.account-hero {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 24px;
}

.account-hero h1 {
    margin: 6px 0 4px;
    color: #45595b;
    font-size: 2rem;
}

.account-hero p {
    margin-bottom: 0;
}

.account-avatar {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(129, 196, 8, .14);
    color: #679d06;
    font-size: 1.2rem;
    font-weight: 800;
}

.account-alert {
    border-radius: 12px;
}

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

.account-card {
    padding: 28px;
    border: 1px solid #edf2e5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .07);
}

.account-section-heading {
    display: flex;
    gap: 14px;
    min-height: 72px;
    margin-bottom: 20px;
}

.account-section-heading h2 {
    margin-bottom: 4px;
    color: #45595b;
    font-size: 1.2rem;
}

.account-section-heading p {
    margin-bottom: 0;
    font-size: .9rem;
}

.account-section-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bs-primary-rgb), .14);
    color: var(--color-primary);
}

.account-readonly {
    min-height: 38px;
    padding: .375rem .75rem;
    border: 1px solid #e4e8df;
    border-radius: .25rem;
    display: flex;
    gap: 10px;
    align-items: center;
    background: #f7faf2;
    color: #6c757d;
}

.account-readonly i {
    color: var(--color-primary);
}

.account-footer {
    display: flex;
    margin-top: 28px;
}

@media (max-width: 991.98px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .account-hero {
        align-items: flex-start;
    }

    .account-card {
        padding: 22px;
    }

    .account-footer .btn {
        width: 100%;
    }
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 48px;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 72px;
}

.contact-page {
    background: #f7faf2;
}

.contact-hero {
    margin-top: 132px;
    padding: 2.2rem 1rem 2rem;
    border-bottom: 1px solid #e4ecd9;
    background:
        radial-gradient(circle at 15% 15%, rgba(129, 196, 8, .16), transparent 28%),
        linear-gradient(135deg, #f7fbeF, #eef7df);
    text-align: center;
}

.contact-hero h1 {
    margin: .35rem 0 .45rem;
    color: #34484b;
    font-size: 2rem;
    font-weight: 800;
}

.contact-hero p {
    margin: 0 auto .7rem;
    color: #6f7e80;
    font-size: .92rem;
}

.contact-hero .breadcrumb-item,
.contact-hero .breadcrumb-item a {
    color: #6f7e80;
    font-size: .78rem;
}

.contact-hero .breadcrumb-item a {
    color: var(--bs-primary);
    font-weight: 700;
}

.contact-heading {
    max-width: 680px;
}

.contact-heading h2,
.contact-form-panel h3 {
    color: #45595b;
}

.contact-eyebrow {
    color: var(--color-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-info-card {
    height: 100%;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-main);
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--color-card);
    color: var(--color-text);
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.contact-info-card:hover {
    color: #45595b;
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .09);
}

.contact-info-card strong,
.contact-info-card small {
    display: block;
}

.contact-info-card small {
    margin-top: 5px;
    color: #6c757d;
    line-height: 1.45;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: calc(var(--radius-main) * 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 1.1rem;
}

.contact-owner-panel {
    margin-bottom: 1.5rem;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
    gap: 1.25rem;
    align-items: start;
    border: 1px solid #edf2e5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .055);
}

.contact-owner-panel h2 {
    margin: .35rem 0 0;
    color: #45595b;
    font-size: 1.35rem;
    font-weight: 800;
}

.contact-owner-list {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem 1rem;
}

.contact-owner-list div {
    min-width: 0;
}

.contact-owner-list dt {
    margin-bottom: .18rem;
    color: #7b888a;
    font-size: .72rem;
    font-weight: 800;
}

.contact-owner-list dd {
    margin: 0;
    color: #45595b;
    font-size: .88rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-owner-list a {
    color: #5f8f07;
}

.contact-shell {
    overflow: hidden;
    border: 1px solid #edf2e5;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .07);
}

.contact-map-wrap {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.contact-map {
    width: 100%;
    min-height: 430px;
    flex: 1 1 auto;
    border: 0;
    display: block;
}

.contact-directions {
    min-height: 58px;
    margin: 24px 30px 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.25rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
}

.contact-form-panel {
    height: 100%;
    padding: 30px;
}

.contact-input {
    border-color: var(--color-border);
    border-radius: 10px;
    padding: .78rem .9rem;
}

.contact-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .15);
}

.contact-captcha {
    display: grid;
    grid-template-columns: 112px minmax(90px, 1fr) 42px;
    gap: 8px;
    align-items: center;
}

.contact-captcha span {
    min-height: 44px;
    padding: 6px 10px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(var(--bs-primary-rgb), .08), rgba(var(--bs-secondary-rgb), .12)),
        repeating-linear-gradient(-12deg, transparent 0 8px, rgba(69, 89, 91, .05) 8px 9px);
    color: #26383b;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    transform: skew(-8deg) rotate(-2deg);
    user-select: none;
}

.contact-captcha button {
    width: 42px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
    color: var(--color-primary);
}

.contact-captcha button:hover,
.contact-captcha button:focus {
    border-color: var(--color-primary);
    background: var(--color-primary-lightest);
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .contact-hero {
        margin-top: 84px;
    }

    .contact-map {
        min-height: 360px;
    }

    .contact-owner-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .contact-form-panel {
        padding: 28px 22px;
    }

    .contact-directions {
        min-height: 54px;
        margin: 24px 22px 28px;
    }

    .contact-owner-panel {
        padding: 20px;
    }

    .contact-owner-list {
        grid-template-columns: 1fr;
    }
}

.floating-contact {
    position: fixed;
    right: 24px;
    bottom: 116px;
    z-index: 1030;
    display: grid;
    gap: 12px;
}

.floating-contact-link {
    width: 56px;
    height: 56px;
    border: 3px solid #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    transition: transform .2s ease, box-shadow .2s ease;
}

.floating-contact-link:hover,
.floating-contact-link:focus {
    color: #fff;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .22);
}

.floating-contact-phone {
    background: #2196f3;
    font-size: 1.45rem;
}

.floating-contact-messenger {
    background: linear-gradient(145deg, #ff4f89 8%, #8a3ffc 52%, #168aff 100%);
    font-size: 1.7rem;
}

.floating-contact-zalo {
    background: #0098e9;
}

.floating-contact-zalo span {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.06em;
}

@media (max-width: 575.98px) {
    .floating-contact {
        right: 14px;
        bottom: 96px;
        gap: 9px;
    }

    .floating-contact-link {
        width: 50px;
        height: 50px;
    }
}

/* Keep storefront sections compact without affecting the admin layout. */
.storefront .topbar {
    padding: 14px 18px;
    overflow: hidden;
}

.storefront .fixed-top {
    background-color: #fff !important;
}

.storefront .desktop-storefront-header {
    background-color: transparent !important;
}

.storefront .navbar {
    height: 84px;
    border-bottom: none !important;
}

.storefront .page-header.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.storefront .featurs > .container.py-5,
.storefront .vesitable > .container.py-5,
.storefront .fruite > .container.py-5,
.storefront .banner > .container.py-5 {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
}

.storefront .fruite.py-5 {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
}

.storefront .fruite.py-5 > .container.py-5 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.storefront .page-header + .container-fluid.py-5 {
    margin-top: 0 !important;
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.storefront .page-header + .container-fluid.py-5 > .container.py-5 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.storefront .featurs .featurs-item {
    padding: 1.25rem !important;
}

.storefront .featurs .featurs-item .featurs-icon {
    width: 86px;
    height: 86px;
    margin-bottom: 1.5rem !important;
}

.storefront .featurs .featurs-item .featurs-icon i {
    font-size: 2rem;
}

.storefront .vesitable .owl-stage {
    margin: 28px 0;
}

.storefront .position-relative.mx-auto.mb-5,
.storefront .tab-class .mb-5,
.storefront .vesitable .text-center.mb-5 {
    margin-bottom: 2rem !important;
}

.storefront .vesitable-item .p-4,
.storefront .fruite-item .p-4 {
    padding: 1.25rem !important;
}

.storefront .banner.my-5 {
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;
}

.storefront .banner .py-4 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.storefront .footer.pt-5 {
    padding-top: 2rem !important;
}

.storefront .footer.mt-5 {
    margin-top: 2.5rem !important;
}

.storefront .auth-page {
    min-height: 640px;
    padding: 170px 0 64px;
}

.storefront .account-card {
    padding: 24px;
}

.storefront .contact-page.py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.storefront .contact-page > .container.py-4 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.storefront .contact-map {
    min-height: 430px;
}

.storefront .contact-form-panel {
    padding: 30px;
}

@media (min-width: 992px) {
    .storefront .hero-header,
    .storefront .page-header {
        margin-top: 132px !important;
    }

    .storefront .hero-header {
        height: 370px;
    }

    .storefront .page-header {
        height: auto;
        min-height: 170px;
    }

    .storefront .carousel-item img {
        height: 300px !important;
    }
}

@media (max-width: 991.98px) {
    .storefront .hero-header,
    .storefront .page-header {
        margin-top: 84px !important;
    }

    .storefront .hero-header {
        height: 330px;
    }

    .storefront .carousel-item img {
        height: 280px !important;
    }

    .storefront .contact-map {
        min-height: 360px;
    }
}

@media (max-width: 575.98px) {
    .storefront .page-header.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .storefront .featurs > .container.py-5,
    .storefront .vesitable > .container.py-5,
    .storefront .fruite > .container.py-5,
    .storefront .banner > .container.py-5,
    .storefront .fruite.py-5,
    .storefront .contact-page.py-5 {
        padding-top: 1.75rem !important;
        padding-bottom: 1.75rem !important;
    }

    .storefront .auth-page {
        padding: 132px 0 44px;
    }

    .storefront .contact-form-panel {
        padding: 24px 20px;
    }

    .storefront .contact-directions {
        margin: 24px 20px 24px;
    }
}

/* Normalize product and component cards across grids and carousels. */
.storefront .product-card-grid > [class*="col-"]:not(.col-12) {
    display: flex;
}

.storefront .fruite-item,
.storefront .vesitable-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

.storefront .fruite-img,
.storefront .vesitable-img {
    height: 210px;
    flex: 0 0 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.storefront .fruite-img a,
.storefront .vesitable-img a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.storefront .fruite-img img,
.storefront .vesitable-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.storefront .fruite-item > .p-4,
.storefront .vesitable-item > .p-4 {
    min-height: 180px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.storefront .fruite-item > .p-4 > a,
.storefront .vesitable-item > .p-4 > a {
    min-height: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.storefront .fruite-item h4,
.storefront .vesitable-item h4 {
    min-height: 29px;
    margin-bottom: .6rem;
    font-size: 1.15rem;
}

.storefront .fruite-item p.text-dark,
.storefront .vesitable-item p.text-dark {
    height: auto;
}

.storefront .fruite-item p.text-dark:not(.fw-bold),
.storefront .vesitable-item p.text-dark:not(.fw-bold) {
    min-height: 48px;
    margin-bottom: .8rem;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.storefront .fruite-item .fw-bold,
.storefront .vesitable-item .fw-bold {
    height: auto;
    margin-top: auto;
}

.storefront .fruite-item > .p-4 > .d-flex,
.storefront .vesitable-item > .p-4 > .d-flex,
.storefront .fruite-item > .p-4 > a > .d-flex,
.storefront .vesitable-item > .p-4 > a > .d-flex {
    margin-top: auto;
}

.storefront .vegetable-carousel .owl-stage {
    display: flex;
}

.storefront .vegetable-carousel .owl-item {
    display: flex;
    min-height: 100%;
}

.storefront .vegetable-carousel .owl-item > .vesitable-item {
    flex: 1 1 auto;
}

@media (max-width: 575.98px) {
    .storefront .fruite-img,
    .storefront .vesitable-img {
        height: 190px;
        flex-basis: 190px;
    }
}

/* Mobile storefront navigation. */
.mobile-storefront-header {
    height: 68px;
    padding: .7rem .75rem;
    display: flex;
    gap: .65rem;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bs-primary);
    box-shadow: 0 5px 16px rgba(var(--bs-primary-rgb), .22);
    transition: padding .18s ease, box-shadow .18s ease;
}

.mobile-menu-toggle,
.mobile-header-cart,
.mobile-header-search button {
    border: 0;
    color: #fff;
}

.mobile-menu-toggle {
    width: 34px;
    flex: 0 0 34px;
    padding: 0;
    position: absolute;
    left: .8rem;
    top: 50%;
    z-index: 2;
    background: transparent;
    font-size: 1.55rem;
    transform: translateY(-50%);
}

.mobile-header-logo {
    width: min(230px, calc(100vw - 112px));
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: #fff;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.mobile-header-logo img {
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}

.mobile-header-logo .brand-mark-emblem {
    height: 52px;
}

.mobile-header-logo .brand-mark-text {
    font-size: .85rem;
}

.mobile-header-search {
    height: 42px;
    min-width: 0;
    flex: 1 1 auto;
    display: none;
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
}

.mobile-header-scrolled .mobile-storefront-header {
    justify-content: flex-start;
}

.mobile-header-scrolled .mobile-menu-toggle {
    position: static;
    transform: none;
}

.mobile-header-scrolled .mobile-header-logo {
    width: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
}

.mobile-header-scrolled .mobile-header-search {
    display: flex;
}

.mobile-header-search input {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0 .75rem;
    border: 0;
    color: #45595b;
    font-size: .82rem;
    outline: 0;
}

.mobile-header-search button {
    width: 42px;
    flex: 0 0 42px;
    background: #679d06;
}

.mobile-header-cart {
    height: 42px;
    min-width: 58px;
    padding: 0 .55rem;
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 5px;
    font-size: .95rem;
}

.mobile-header-cart span {
    min-width: 18px;
    padding: .05rem .18rem;
    border-radius: 3px;
    background: #fff;
    color: #679d06;
    font-size: .72rem;
    font-weight: 800;
    text-align: center;
}

.mobile-header-cart .d-none {
    display: inline-block !important;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1040;
    visibility: hidden;
    background: rgba(10, 29, 51, .68);
    opacity: 0;
    transition: opacity .22s ease, visibility .22s ease;
}

.mobile-storefront-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    width: min(82vw, 310px);
    overflow-y: auto;
    background: #fff;
    box-shadow: 10px 0 24px rgba(0, 0, 0, .2);
    transform: translateX(-105%);
    transition: transform .22s ease;
}

.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu-open .mobile-menu-overlay {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-open .mobile-storefront-drawer {
    transform: translateX(0);
}

.mobile-drawer-head {
    min-height: 70px;
    padding: .8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bs-primary);
    color: #fff;
}

.mobile-drawer-head > div {
    justify-content: center;
}

.mobile-drawer-head img {
    max-width: min(210px, calc(100vw - 116px));
}

.mobile-drawer-head span,
.mobile-drawer-head strong {
    display: block;
}

.mobile-drawer-head span {
    color: #f4ffe3;
    font-size: .72rem;
}

.mobile-drawer-head strong {
    font-size: 1.15rem;
}

.mobile-drawer-head button {
    border: 0;
    position: absolute;
    right: 1rem;
    top: 50%;
    background: transparent;
    color: #fff;
    font-size: 1.25rem;
    transform: translateY(-50%);
}

.mobile-drawer-nav,
.mobile-drawer-account {
    padding: .75rem 1rem;
    display: grid;
}

.mobile-drawer-nav {
    border-bottom: 1px solid #e7edf2;
}

.mobile-drawer-nav a,
.mobile-drawer-account a {
    min-height: 44px;
    padding: .72rem .15rem;
    display: flex;
    gap: .75rem;
    align-items: center;
    border-bottom: 1px solid #f0f3f5;
    color: #26383b;
    font-size: .84rem;
    font-weight: 700;
}

.mobile-drawer-nav i,
.mobile-drawer-account i {
    width: 18px;
    color: #679d06;
    text-align: center;
}

@media (max-width: 1199.98px) {
    .storefront .fixed-top {
        padding: 0;
    }

    .home-marketplace,
    .catalog-page {
        padding-top: 68px;
    }

    .contact-hero {
        margin-top: 68px;
    }

    .cart-hero {
        margin-top: 68px;
    }

    .storefront .hero-header,
    .storefront .page-header {
        margin-top: 68px !important;
    }
}

/* Compact product grids on narrow phones while carousel cards remain vertical. */
@media (max-width: 991.98px) {
    .storefront .hero-header,
    .storefront .page-header {
        margin-top: 76px !important;
    }
}

@media (max-width: 575.98px) {
    .storefront .product-card-grid {
        --bs-gutter-y: .85rem;
    }

    .storefront .product-card-grid > [class*="col-"]:not(.col-12) {
        width: 100%;
    }

    .storefront .product-card-grid .fruite-item {
        min-height: 144px;
        flex-direction: row;
        align-items: stretch;
    }

    .storefront .product-card-grid .fruite-img {
        width: 118px;
        height: auto;
        min-height: 144px;
        flex: 0 0 118px;
        border-radius: 10px 0 0 10px;
    }

    .storefront .product-card-grid .fruite-item > .p-4 {
        min-width: 0;
        min-height: 144px;
        padding: .85rem !important;
        border-top: 1px solid var(--bs-secondary) !important;
        border-left: 0 !important;
        border-radius: 0 10px 10px 0 !important;
    }

    .storefront .product-card-grid .fruite-item h4 {
        min-height: 0;
        margin-bottom: .35rem;
        font-size: 1rem;
    }

    .storefront .product-card-grid .fruite-item p.text-dark:not(.fw-bold) {
        min-height: 39px;
        margin-bottom: .4rem;
        font-size: .82rem;
        line-height: 1.45;
    }

    .storefront .product-card-grid .fruite-item .fw-bold {
        font-size: 1rem !important;
    }

    .storefront .product-card-grid .fruite-item > .position-absolute,
    .storefront .product-card-grid .fruite-item > .bg-secondary {
        max-width: 104px;
        padding: .2rem .45rem !important;
        overflow: hidden;
        font-size: .7rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: .2rem;
    }

    .storefront .page-link {
        padding: .45rem .65rem;
    }
}

/* Marketplace-style homepage inspired by a dense catalog storefront. */
.home-marketplace {
    padding-top: 132px;
    background: #f5f7f3;
    color: #45595b;
}

.home-marketplace a {
    text-decoration: none;
}

.home-utility-bar {
    border-bottom: 1px solid #e7ecdf;
    background: #fff;
}

.home-utility-bar .container {
    min-height: 44px;
    display: flex;
    gap: 1.6rem;
    align-items: center;
    justify-content: center;
}

.home-utility-bar a {
    /* Padding rather than the bar's own min-height: the 44px belongs to each tap
       target, not to the row that happens to contain them. */
    min-height: 44px;
    padding: .55rem 0;
    display: inline-flex;
    align-items: center;
    color: #45595b;
    font-size: .82rem;
    font-weight: 700;
}

.home-utility-bar i {
    margin-right: .35rem;
    color: var(--bs-primary);
}

.home-hero {
    padding: 1.25rem 0 1rem;
}

.home-search {
    width: min(760px, 100%);
    min-height: 52px;
    margin: 0 auto 1.05rem;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #dce8ce;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(64, 89, 60, .08);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-search:focus-within {
    border-color: #b8dc7a;
    box-shadow: 0 10px 28px rgba(103, 157, 6, .16);
}

.home-search input {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0 1rem 0 1.08rem;
    border: 0;
    outline: 0;
    color: #45595b;
    font-size: .95rem;
    line-height: 52px;
}

.home-search input::placeholder {
    color: #8a9698;
}

.home-search button {
    min-width: 128px;
    padding: 0 1.15rem;
    border: 0;
    background: var(--bs-primary);
    color: #fff;
    font-size: .92rem;
    font-weight: 800;
    line-height: 52px;
    transition: background .2s ease;
}

.home-search button:hover,
.home-search button:focus {
    background: #679d06;
}

.home-search button i {
    margin-right: .4rem;
    font-size: .95rem;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 235px;
    gap: .85rem;
}

.home-category-panel,
.home-main-banner,
.home-side-banners a {
    overflow: hidden;
    border: 1px solid #e6ecdf;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(64, 89, 60, .05);
}

.home-category-panel h2 {
    margin: 0;
    padding: .78rem .85rem;
    background: var(--bs-primary);
    color: #fff;
    font-size: .92rem;
}

.home-category-panel h2 i {
    margin-right: .45rem;
}

.home-category-panel a {
    min-height: 36px;
    padding: .48rem .7rem;
    display: flex;
    gap: .55rem;
    align-items: center;
    border-bottom: 1px solid #edf2e9;
    color: #57666a;
    font-size: .78rem;
    transition: .2s ease;
}

.home-category-panel a:last-child {
    border-bottom: 0;
}

.home-category-panel a:hover {
    padding-left: .9rem;
    background: rgba(129, 196, 8, .1);
    color: var(--bs-primary);
}

.home-category-panel a i {
    color: var(--bs-primary);
    font-size: .58rem;
}

/* Banner chính giãn cao theo cả hàng (cột danh mục quyết định chiều cao, ~334px),
   nếu cố định 294px thì đáy banner hụt so với cột danh mục và 2 ô phụ. */
.home-main-banner {
    height: auto;
    min-height: 294px;
}

.home-main-banner .carousel-inner,
.home-main-banner .carousel-item {
    height: 100%;
}

.home-main-banner picture,
.home-side-banners picture {
    width: 100%;
    height: 100%;
    display: block;
}

.home-main-banner img,
.home-side-banners img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

/* Rule cũ ".storefront .carousel-item img { height: 280/300px !important }" (dành cho hero carousel
   kiểu cũ) cũng khớp banner trang chủ, làm ảnh cao hơn khung 294/190px -> ảnh lệch xuống, mất phần đáy. */
.storefront .home-main-banner .carousel-item img {
    height: 100% !important;
}

/* <=991px: tỉ lệ khung thay đổi theo máy (1.58..3.9). Ảnh dự phòng ở dải này được làm rộng hơn khung,
   nội dung nằm trong vùng lõi giữa ảnh -> cover chỉ cắt bớt nền hai bên, không hở viền trắng. */
@media (max-width: 991.98px) {
    .home-main-banner img {
        object-fit: cover;
    }
}

.home-side-banners {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}

.home-side-banners a {
    display: block;
}

.home-promo-grid {
    margin-top: .9rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.home-promo-grid a {
    min-height: 60px;
    padding: .75rem .85rem;
    display: flex;
    gap: .7rem;
    align-items: center;
    border-radius: 8px;
    background: #fff;
    color: #45595b;
    box-shadow: 0 4px 14px rgba(64, 89, 60, .05);
    font-size: .84rem;
    font-weight: 700;
}

.home-promo-grid i {
    color: var(--bs-primary);
    font-size: 1.15rem;
}

.home-section {
    padding: 1.45rem 0;
}

.home-section-heading {
    margin-bottom: .9rem;
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    justify-content: space-between;
}

.home-section-heading h2,
.home-keywords h2 {
    margin-bottom: .2rem;
    color: #34484b;
    font-size: 1.2rem;
    font-weight: 800;
}

.home-section-heading p {
    margin-bottom: 0;
    color: #819093;
    font-size: .78rem;
}

.home-section-heading > a {
    padding: .35rem .65rem;
    border-radius: 5px;
    background: var(--bs-primary);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
}

.home-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
}

.home-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(129, 196, 8, 0.6);
}

.home-product-image {
    height: 150px;
    padding: .45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-product-body {
    min-width: 0;
    padding: .7rem .75rem .78rem;
    border-top: 1px solid #edf2e9;
}

.home-product-category {
    max-width: 100%;
    margin-bottom: .35rem;
    padding: .14rem .38rem;
    display: inline-block;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(129, 196, 8, .12);
    color: #679d06;
    font-size: .72rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-product-name {
    /* Đúng 2 dòng (line-height 1.45 × 2). Cao hơn dù 1px là lộ đầu dòng thứ 3 dưới dấu "…". */
    height: 2.9em;
    display: -webkit-box;
    overflow: hidden;
    color: #3f5053;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-product-description {
    /* Height tracks font-size × line-height × 2 clamped lines — bump both together
       or the second line gets cut off mid-glyph. */
    height: 38px;
    margin: .35rem 0 .45rem;
    display: -webkit-box;
    overflow: hidden;
    color: #8a9698;
    font-size: .78rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-product-price {
    color: var(--bs-primary);
    font-size: .88rem;
}

.home-product-meta {
    margin-top: .55rem;
    display: grid;
    gap: .34rem;
}

.home-keywords {
    padding: 1.15rem 0 1.6rem;
    background: #f7faf2;
}

.home-keyword-grid {
    margin-top: .75rem;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .75rem;
}

.home-keyword-grid a {
    padding: .85rem .5rem;
    border: 1px solid #e4efd7;
    border-radius: 8px;
    background: #fff;
    color: #49605f;
    text-align: center;
    font-size: .78rem;
    font-weight: 800;
    box-shadow: 0 5px 14px rgba(64, 89, 60, .06);
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.home-keyword-grid a:hover,
.home-keyword-grid a:focus {
    border-color: var(--color-primary-light);
    background: var(--color-primary-lightest);
    color: var(--color-primary-hover);
    transform: translateY(-1px);
}

.home-keyword-grid a:nth-child(3n + 1) {
    border-color: var(--color-primary-light);
    background: var(--color-primary-lightest);
    color: var(--color-primary-hover);
}

.home-keyword-grid a:nth-child(3n + 2) {
    border-color: var(--color-secondary-light);
    background: var(--color-secondary-light);
    color: var(--color-secondary-hover);
}

.home-keyword-grid a:nth-child(3n) {
    border-color: var(--color-border);
    background: var(--color-card);
    color: var(--color-text);
}

.home-keyword-grid a:nth-child(3n + 1):hover,
.home-keyword-grid a:nth-child(3n + 1):focus,
.home-keyword-grid a:nth-child(3n + 2):hover,
.home-keyword-grid a:nth-child(3n + 2):focus,
.home-keyword-grid a:nth-child(3n):hover,
.home-keyword-grid a:nth-child(3n):focus {
    border-color: var(--color-primary-light);
    background: var(--color-primary-lightest);
    color: var(--color-primary-hover);
}

.home-highlight {
    padding: 1.9rem 0;
    background: linear-gradient(125deg, var(--color-primary-hover), var(--color-primary) 62%, var(--color-primary-light));
    color: #fff;
}

.home-highlight .container,
.home-cta .container {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.home-highlight span {
    color: #fff1c7;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-highlight h2,
.home-cta h2 {
    margin: .35rem 0;
    color: #fff;
    font-size: 1.65rem;
}

.home-highlight p,
.home-cta p {
    margin-bottom: 0;
    opacity: .9;
}

.home-highlight a,
.home-cta a {
    flex: 0 0 auto;
    padding: .75rem 1rem;
    border-radius: 999px;
    background: #fff;
    color: var(--color-primary);
    font-size: .84rem;
    font-weight: 800;
}

.home-brand-section:nth-of-type(even) {
    background: #f0f4ec;
}

.home-components-section {
    background: #eff5e8;
}

.home-cta {
    padding: 1.7rem 0;
    background: #34484b;
    color: #fff;
}

@media (max-width: 1199.98px) {
    .home-marketplace {
        padding-top: 68px;
    }

    .home-hero-grid {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .home-side-banners {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .home-utility-bar {
        display: none;
    }

    .home-hero {
        padding-top: .8rem;
    }

    .home-search {
        display: none;
    }

    .home-search input {
        padding: .72rem .8rem;
        font-size: .86rem;
    }

    .home-search button {
        padding: .65rem .8rem;
    }

    .home-search button span {
        display: none;
    }

    .home-search button i {
        margin-right: 0;
    }

    .home-hero-grid {
        display: block;
    }

    .home-category-panel {
        display: none;
    }

    .home-main-banner,
    .home-main-banner .carousel-inner,
    .home-main-banner .carousel-item {
        height: 190px;
        min-height: 0;
    }

    .home-promo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .55rem;
    }

    .home-promo-grid a {
        min-height: 50px;
        padding: .58rem .6rem;
        gap: .45rem;
        font-size: .7rem;
    }

    .home-section {
        padding: 1.1rem 0;
    }

    .home-section-heading {
        align-items: center;
    }

    .home-section-heading h2,
    .home-keywords h2 {
        font-size: 1.05rem;
    }

    .home-section-heading p {
        display: none;
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
    }

    .home-product-image {
        height: 112px;
        padding: .3rem;
    }

    .home-product-body {
        padding: .55rem;
    }

    .home-product-name {
        height: 2.9em;
        font-size: .82rem;
    }

    .home-product-description {
        display: none;
    }

    .home-product-price {
        display: block;
        margin-top: .4rem;
        font-size: .86rem;
    }

    .home-keyword-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .5rem;
    }

    .home-keyword-grid a {
        min-height: 44px;
        padding: .55rem .35rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .7rem;
        line-height: 1.2;
        box-shadow: 0 4px 10px rgba(64, 89, 60, .045);
    }

    .home-highlight {
        padding: 1.35rem 0;
    }

    .home-highlight .container,
    .home-cta .container {
        align-items: flex-start;
        flex-direction: column;
        gap: .85rem;
    }

    .home-highlight h2,
    .home-cta h2 {
        font-size: 1.25rem;
    }

    .home-highlight p,
    .home-cta p {
        font-size: .8rem;
    }
}

/* Dense search and listing pages. */
.catalog-page {
    min-height: 620px;
    padding: 160px 0 2rem;
    background: #f5f7f3;
    color: #45595b;
}

.catalog-heading {
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    justify-content: space-between;
}

.catalog-heading > div > span {
    color: var(--bs-primary);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.catalog-heading .store-breadcrumb + span {
    display: none;
}

.catalog-heading h1 {
    margin: 0 0 .22rem;
    color: #34484b;
    font-size: 1.8rem;
    font-weight: 800;
}

.catalog-heading p {
    margin-bottom: 0;
    color: #839092;
    font-size: .82rem;
}

.catalog-home-link {
    flex: 0 0 auto;
    color: var(--bs-primary);
    font-size: .78rem;
    font-weight: 700;
    opacity: .9;
}

.catalog-filter {
    margin-bottom: .7rem;
    padding: .8rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1.45fr 1fr 1fr auto;
    gap: .65rem;
    align-items: end;
    border: 1px solid #e3eadc;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(64, 89, 60, .045);
}

.catalog-filter label {
    min-width: 0;
}

.catalog-filter label span {
    margin-bottom: .2rem;
    display: block;
    color: #849092;
    font-size: .66rem;
}

.catalog-filter input,
.catalog-filter select {
    width: 100%;
    height: 40px;
    padding: .48rem .62rem;
    border: 1px solid #dce5d5;
    border-radius: 5px;
    background: #fff;
    color: #45595b;
    font-size: .8rem;
    outline: 0;
}

.catalog-filter input:focus,
.catalog-filter select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .18rem rgba(129, 196, 8, .13);
}

.catalog-filter-submit {
    height: 40px;
    padding: 0 .85rem;
    border: 0;
    border-radius: 5px;
    background: var(--bs-primary);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
}

.catalog-filter-submit i {
    margin-right: .25rem;
}

.catalog-filter-reset {
    grid-column: 1 / -1;
    width: max-content;
    padding: .1rem 0;
    border: 0;
    background: transparent;
    color: #dc5b52;
    font-size: .74rem;
    font-weight: 700;
}

.catalog-filter-reset i {
    margin-right: .25rem;
}

.component-detail {
    padding: 1.25rem;
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 1.5rem;
    border: 1px solid #e3eadc;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(64, 89, 60, .06);
}

.component-detail-image {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: #f8faf6;
}

.component-detail-image img {
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.component-detail-content h2 {
    margin: .45rem 0 .75rem;
    color: #34484b;
    font-size: 1.75rem;
    font-weight: 800;
}

.component-detail-category {
    color: var(--bs-primary);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.component-detail-price {
    display: block;
    color: var(--bs-primary);
    font-size: 1.35rem;
}

.component-detail-content p {
    margin: 1rem 0;
    color: #6f7e80;
    line-height: 1.7;
}

.component-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.component-related {
    margin-top: 2rem;
}

.product-detail-heading {
    margin-bottom: 1.1rem;
}

.product-detail-shell {
    padding: 1.35rem;
    display: grid;
    grid-template-columns: minmax(340px, 44%) 1fr;
    gap: 1.75rem;
    border: 1px solid #e3eadc;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(64, 89, 60, .06);
}

.product-detail-image {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #f8faf6;
}

.product-detail-image img {
    max-width: 100%;
    max-height: 440px;
    object-fit: contain;
}

.product-detail-category {
    color: var(--bs-primary);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-detail-content h2,
.product-description-card h2,
.product-category-card h2 {
    color: #34484b;
    font-weight: 800;
}

.product-detail-content h2 {
    margin: .45rem 0 .75rem;
    font-size: 1.85rem;
}

.product-detail-price {
    display: block;
    color: var(--bs-primary);
    font-size: 1.55rem;
}

.product-detail-meta {
    margin: 1.1rem 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}

.product-detail-meta div {
    padding: .75rem;
    border: 1px solid #e5ecdE;
    border-radius: 10px;
    background: #fbfcf9;
}

.product-detail-meta i,
.product-detail-meta span,
.product-detail-meta strong {
    display: block;
}

.product-detail-meta i {
    margin-bottom: .45rem;
    color: var(--bs-primary);
}

.product-detail-meta span {
    color: #8a9698;
    font-size: .68rem;
}

.product-detail-meta strong {
    margin-top: .16rem;
    color: #45595b;
    font-size: .78rem;
}

.product-detail-summary,
.product-description-card p,
.product-category-card p {
    color: #6f7e80;
    line-height: 1.7;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.product-detail-actions .btn {
    min-height: 46px;
    padding: .62rem 1.15rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 7px 16px rgba(103, 157, 6, .18);
}

.product-detail-actions .add-to-cart-btn {
    border-color: var(--bs-primary) !important;
    background: var(--bs-primary) !important;
    color: #fff !important;
}

.product-detail-actions .add-to-cart-btn i {
    color: inherit;
}

.product-detail-actions .add-to-cart-btn:hover,
.product-detail-actions .add-to-cart-btn:focus {
    border-color: #679d06 !important;
    background: #679d06 !important;
    color: #fff !important;
    box-shadow: 0 9px 20px rgba(86, 133, 5, .24);
}

.product-detail-note {
    margin-top: 1rem;
    display: flex;
    gap: .55rem;
    align-items: center;
    color: #7b898b;
    font-size: .78rem;
    line-height: 1.45;
}

.product-detail-note i {
    flex: 0 0 auto;
    line-height: 1;
    color: var(--bs-primary);
}

.product-detail-lower {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr minmax(260px, 32%);
    gap: 1rem;
}

.product-description-card,
.product-category-card {
    padding: 1.2rem;
    border: 1px solid #e3eadc;
    border-radius: 14px;
    background: #fff;
}

.product-description-card h2,
.product-category-card h2 {
    margin: .35rem 0 .65rem;
    font-size: 1.15rem;
}

.product-description-card p,
.product-category-card p {
    margin-bottom: 0;
    font-size: .86rem;
}

.product-category-links {
    margin-top: .7rem;
    display: grid;
    gap: .3rem;
}

.product-category-links a {
    padding: .35rem 0;
    color: #5d6d6f;
    font-size: .82rem;
    font-weight: 700;
}

.product-category-links i {
    margin-right: .45rem;
    color: var(--bs-primary);
    font-size: .62rem;
}

.product-related {
    margin-top: 2rem;
}

@media (max-width: 991.98px) {
    .product-detail-shell {
        grid-template-columns: 1fr;
    }

    .product-detail-image {
        min-height: 320px;
    }

    .product-detail-lower {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .product-detail-shell {
        padding: .85rem;
        gap: 1rem;
    }

    .product-detail-image {
        min-height: 240px;
    }

    .product-detail-content h2 {
        font-size: 1.35rem;
    }

    .product-detail-price {
        font-size: 1.3rem;
    }

    .product-detail-meta {
        grid-template-columns: 1fr;
        gap: .45rem;
    }

    .product-detail-meta div {
        padding: .65rem;
    }

    .product-detail-actions .btn {
        width: 100%;
    }
}

.catalog-results-meta {
    margin: .85rem 0 .65rem;
    display: flex;
    justify-content: space-between;
    color: #839092;
    font-size: .76rem;
}

.catalog-results-meta strong {
    color: #45595b;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
}

.catalog-grid .home-product-card {
    height: 100%;
}

.catalog-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-main);
    background: var(--color-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
}

.catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px color-mix(in srgb, var(--color-primary) 14%, transparent) !important;
    border-color: var(--color-primary) !important;
}

.catalog-card-image {
    height: 158px;
    padding: .4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.catalog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.catalog-card-body {
    padding: .65rem .7rem .75rem;
    border-top: 1px solid var(--color-border);
}

.catalog-card-category {
    max-width: 100%;
    margin-bottom: .28rem;
    padding: .12rem .32rem;
    display: inline-block;
    overflow: hidden;
    border-radius: 4px;
    background-color: var(--color-bg);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    font-size: .62rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-card-name {
    height: 39px;
    display: -webkit-box;
    overflow: hidden;
    color: var(--color-text);
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalog-card-description {
    height: 33px;
    margin: .3rem 0 .45rem;
    display: -webkit-box;
    overflow: hidden;
    color: #8b9698;
    font-size: .66rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalog-card-price {
    color: var(--color-price);
    font-size: .86rem;
    font-weight: 700;
}

.home-product-cart-btn,
.add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.home-product-cart-btn {
    width: 100%;
    margin-top: .55rem;
    padding: .42rem .55rem;
    border: 1px solid var(--bs-primary);
    border-radius: 999px;
    background: #fff;
    color: var(--bs-primary);
    font-size: .72rem;
    transition: .2s ease;
}

.home-product-cart-btn:hover,
.home-product-cart-btn:focus,
.home-product-cart-btn.cart-added,
.add-to-cart-btn.cart-added {
    background: var(--bs-primary);
    color: #fff;
}

.home-product-rating {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: #536170;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
}

.home-product-rating i {
    color: #ffae00;
    font-size: .82rem;
}

.add-to-cart-btn {
    min-width: 120px;
}

.cart-toast {
    position: fixed;
    right: 24px;
    bottom: 30px;
    z-index: 1100;
    max-width: calc(100vw - 48px);
    padding: 12px 18px;
    border-radius: 999px;
    background: #45595b;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
    opacity: 0;
    transform: translateY(14px);
    transition: .25s ease;
}

.cart-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.cart-nav-link {
    position: relative;
}

.cart-nav-link,
.mobile-header-cart,
.mobile-drawer-nav a[href="/gio-hang"] {
    display: none !important;
}

.cart-count-badge {
    min-width: 20px;
    height: 20px;
    margin-left: .25rem;
    padding: 0 .35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-secondary);
    color: #45595b;
    font-size: .72rem;
    font-weight: 800;
}

.cart-page {
    background: #f7faf2;
}

.cart-hero {
    margin-top: 132px;
    padding: 2rem 1rem 1.8rem;
    border-bottom: 1px solid #e4ecd9;
    background:
        radial-gradient(circle at 85% 15%, rgba(129, 196, 8, .18), transparent 28%),
        linear-gradient(135deg, #f7fbef, #eef7df);
    text-align: center;
}

.cart-hero h1 {
    margin: .35rem 0 .45rem;
    color: #34484b;
    font-size: 2rem;
    font-weight: 800;
}

.cart-hero p {
    margin: 0 auto .7rem;
    color: #6f7e80;
    font-size: .92rem;
}

.cart-hero .breadcrumb-item,
.cart-hero .breadcrumb-item a {
    color: #6f7e80;
    font-size: .78rem;
}

.cart-hero .breadcrumb-item a {
    color: var(--bs-primary);
    font-weight: 700;
}

@media (max-width: 1199.98px) {
    .cart-hero {
        margin-top: 68px;
    }
}

.cart-heading h2 {
    margin: .2rem 0 .35rem;
    color: #45595b;
    font-size: 2rem;
    font-weight: 800;
}

.cart-heading p {
    max-width: 720px;
    margin-bottom: 0;
}

.cart-eyebrow {
    color: var(--bs-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cart-card,
.cart-summary,
.cart-empty {
    border: 1px solid #edf2e5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .06);
}

.cart-table-head,
.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) .7fr .8fr .8fr;
    gap: 1rem;
    align-items: center;
}

.cart-table-head {
    padding: 18px 22px;
    border-bottom: 1px solid #edf2e5;
    color: #45595b;
    font-size: .82rem;
    font-weight: 800;
}

.cart-item {
    padding: 18px 22px;
    border-bottom: 1px solid #edf2e5;
}

.cart-item:last-child {
    border-bottom: 0;
}

.cart-product {
    min-width: 0;
    display: flex;
    gap: 14px;
    align-items: center;
}

.cart-product-image {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    padding: 6px;
    border: 1px solid #edf2e5;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-product-name {
    display: block;
    color: #45595b;
    font-weight: 800;
    line-height: 1.35;
}

.cart-remove {
    margin-top: .35rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #dc3545;
    font-size: .8rem;
    font-weight: 700;
}

.cart-price,
.cart-line-total {
    color: #45595b;
    font-weight: 800;
}

.cart-item-field {
    min-width: 0;
}

.cart-mobile-label {
    display: none;
}

.cart-line-total {
    color: var(--bs-primary);
}

.cart-quantity {
    width: 146px;
    display: flex;
    overflow: hidden;
    border: 1px solid #e1ead9;
    border-radius: 999px;
}

.cart-quantity button,
.cart-quantity input {
    width: 40px;
    height: 38px;
    border: 0;
    background: #fff;
    color: #45595b;
    text-align: center;
    font-weight: 800;
}

.cart-quantity button {
    background: #f7faf2;
    color: var(--bs-primary);
}

.cart-quantity input {
    width: 66px;
    border-right: 1px solid #e1ead9;
    border-left: 1px solid #e1ead9;
    outline: 0;
    appearance: textfield;
    -moz-appearance: textfield;
}

.cart-quantity input::-webkit-inner-spin-button,
.cart-quantity input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.cart-summary {
    position: sticky;
    top: 150px;
    padding: 24px;
}

.cart-summary h3 {
    margin-bottom: 20px;
    color: #45595b;
    font-size: 1.25rem;
    font-weight: 800;
}

.cart-summary-row {
    padding: 14px 0;
    border-bottom: 1px solid #edf2e5;
    display: flex;
    justify-content: space-between;
    color: #45595b;
}

.cart-summary-note {
    margin-top: 18px;
    padding: 14px;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    background: rgba(129, 196, 8, .12);
    color: #5f6f72;
    font-size: .9rem;
}

.cart-summary-note i {
    margin-top: 3px;
    color: var(--bs-primary);
}

.cart-empty {
    padding: 54px 20px;
    text-align: center;
}

.cart-empty i {
    margin-bottom: 18px;
    color: var(--bs-primary);
    font-size: 3rem;
}

.cart-empty h3 {
    color: #45595b;
    font-weight: 800;
}

.cart-empty p {
    margin-bottom: 22px;
}

.catalog-empty {
    padding: 3rem 1rem;
    border: 1px solid #e3eadc;
    border-radius: 8px;
    background: #fff;
    color: #839092;
    text-align: center;
}

.catalog-empty i {
    margin-bottom: .7rem;
    color: var(--bs-primary);
    font-size: 1.8rem;
}

.catalog-empty h2 {
    color: #45595b;
    font-size: 1.1rem;
}

.catalog-empty p {
    margin-bottom: 0;
    font-size: .82rem;
}

.error-404-page {
    min-height: 680px;
}

.not-found-panel {
    min-height: 360px;
    padding: 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 2rem;
    align-items: center;
    overflow: hidden;
    border: 1px solid #e3eadc;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(64, 89, 60, .07);
}

.not-found-content {
    max-width: 620px;
}

.not-found-kicker {
    margin-bottom: .65rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--bs-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.not-found-content h2 {
    margin-bottom: .75rem;
    color: #34484b;
    font-size: clamp(1.75rem, 4vw, 3.15rem);
    line-height: 1.08;
    font-weight: 800;
}

.not-found-content p {
    max-width: 560px;
    margin-bottom: 1.4rem;
    color: #718082;
    font-size: .98rem;
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    align-items: center;
}

.not-found-actions .btn {
    min-height: 46px;
    padding: .7rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    font-weight: 800;
}

.not-found-link,
.not-found-back {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #5f8f07;
    font-size: .86rem;
    font-weight: 800;
}

.not-found-link:hover,
.not-found-back:hover {
    color: var(--bs-primary);
}

.not-found-back {
    margin-top: 1rem;
    padding: 0;
    border: 0;
    background: transparent;
}

.not-found-visual {
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.not-found-visual::before {
    width: 260px;
    height: 260px;
    content: "";
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(129, 196, 8, .18), rgba(255, 181, 36, .18));
}

.not-found-code {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .35rem;
    color: #34484b;
    font-size: clamp(4.25rem, 11vw, 7.2rem);
    line-height: 1;
    font-weight: 800;
}

.not-found-code i {
    width: 92px;
    height: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffb524;
    border-radius: 24px;
    background: #fff8e9;
    color: #ff9f0a;
    font-size: 2.8rem;
    transform: rotate(-8deg);
}

.not-found-card {
    min-width: 210px;
    padding: .85rem 1rem;
    position: absolute;
    right: .3rem;
    bottom: 1.4rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .65rem;
    border: 1px solid #e5ecd8;
    border-radius: 8px;
    background: #fff;
    color: #617174;
    font-size: .82rem;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(64, 89, 60, .12);
}

.not-found-card i {
    color: var(--bs-primary);
    font-size: 1.15rem;
}

.catalog-pagination {
    margin-top: 1.3rem;
}

.catalog-pagination .pagination {
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: .22rem;
}

.catalog-pagination .page-link {
    border-radius: 5px !important;
    color: #679d06;
}

.catalog-pagination .active .page-link {
    border-color: var(--bs-primary);
    background: var(--bs-primary);
    color: #fff;
}

@media (max-width: 1199.98px) {
    .catalog-page {
        padding-top: 100px;
    }

    /* Breadcrumb mọi trang nằm ngang hàng với .catalog-page. */
    .policy-page {
        padding-top: 100px;
    }

    .catalog-filter {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .not-found-panel {
        grid-template-columns: 1fr;
    }

    .not-found-visual {
        min-height: 240px;
    }
}

@media (max-width: 767.98px) {
    .catalog-page {
        padding: 92px 0 1.5rem;
    }

    .catalog-heading {
        align-items: flex-start;
    }

    .catalog-heading h1 {
        font-size: 1.35rem;
    }

    .catalog-heading p {
        display: none;
    }

    .not-found-panel {
        padding: 1.1rem;
        gap: 1.2rem;
    }

    .not-found-content h2 {
        font-size: 1.8rem;
    }

    .not-found-content p {
        font-size: .86rem;
    }

    .not-found-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .not-found-actions .btn,
    .not-found-link,
    .not-found-back {
        justify-content: center;
    }

    .not-found-visual {
        min-height: 185px;
    }

    .not-found-visual::before {
        width: 170px;
        height: 170px;
    }

    .not-found-code {
        font-size: 4rem;
    }

    .not-found-code i {
        width: 62px;
        height: 62px;
        border-radius: 18px;
        font-size: 1.9rem;
    }

    .not-found-card {
        min-width: 0;
        right: .2rem;
        bottom: .1rem;
        padding: .65rem .75rem;
        font-size: .72rem;
    }

    .catalog-home-link {
        font-size: .72rem;
    }

    .catalog-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem;
        padding: .65rem;
    }

    .catalog-filter-search {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .catalog-filter-submit {
        grid-column: 1 / -1;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .62rem;
    }

    .catalog-card-image {
        height: 112px;
        padding: .25rem;
    }

    .catalog-card-body {
        padding: .5rem;
    }

    .catalog-card-name {
        height: 35px;
        font-size: .73rem;
    }

    .catalog-card-description {
        display: none;
    }

    .catalog-card-price {
        margin-top: .35rem;
        display: block;
        font-size: .76rem;
    }

    .home-product-cart-btn,
    .add-to-cart-btn {
        font-size: .7rem;
        white-space: normal;
    }

    .cart-table-head {
        display: none;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: .65rem;
        padding: 14px;
    }

    .cart-product-image {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }

    .cart-item-field {
        display: flex;
        gap: .75rem;
        align-items: center;
        justify-content: space-between;
    }

    .cart-mobile-label {
        display: block;
        color: #8a9698;
        font-size: .72rem;
        font-weight: 700;
    }

    .cart-quantity {
        width: 134px;
    }

    .cart-quantity input {
        width: 54px;
    }

    .cart-summary {
        position: static;
    }

    .component-detail {
        grid-template-columns: 1fr;
        padding: .9rem;
    }

    .component-detail-image {
        min-height: 220px;
    }

    .component-detail-content h2 {
        font-size: 1.35rem;
    }

    .component-detail-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem;
    }

    .component-detail-actions .btn {
        min-height: 46px;
        padding: .55rem .65rem !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: .72rem;
        line-height: 1.25;
        text-align: center;
        white-space: normal;
    }
}

@media (max-width: 389.98px) {
    .component-detail-actions {
        grid-template-columns: 1fr;
    }
}

/* Mega Menu Custom Styling */
.mega-menu-panel {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border-radius: 16px !important;
    margin-top: 10px !important;
    overflow: hidden;
    border: 1px solid #edf2e5 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
    background: #fff !important;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease !important;
}

@media (min-width: 1200px) {
    .navbar .nav-item:hover > .mega-menu-panel {
        transform: rotateX(0deg) !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.mega-sidebar-item {
    transition: all 0.2s ease;
    border-left: 3px solid transparent !important;
}
.mega-sidebar-item:hover, .mega-sidebar-item.active {
    background-color: rgba(var(--bs-primary-rgb), 0.08) !important;
    color: var(--color-primary) !important;
    border-left-color: var(--color-primary) !important;
}

.brand-shortcut-card {
    box-shadow: 0 1px 3px rgba(39, 62, 44, .06) !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    border: 1px solid var(--color-border) !important;
}
.brand-shortcut-card:hover {
    background-color: rgba(var(--bs-primary-rgb), .04) !important;
    box-shadow: 0 1px 3px rgba(39, 62, 44, .06) !important;
    border-color: rgba(var(--bs-primary-rgb), .45) !important;
}

.brand-avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(var(--bs-primary-rgb), 0.14);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.mega-product-card {
    box-shadow: 0 1px 4px rgba(39, 62, 44, .06) !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    border: 1px solid var(--color-border) !important;
}
.mega-product-card:hover {
    background-color: rgba(var(--bs-primary-rgb), .025) !important;
    box-shadow: 0 2px 6px rgba(39, 62, 44, .08) !important;
    border-color: rgba(var(--bs-primary-rgb), .45) !important;
}

.mega-product-card img {
    transition: transform 0.3s ease;
}
.mega-product-card:hover img {
    transform: scale(1.02);
}

.mega-view-all-link {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .1rem 0;
    text-underline-offset: .18em;
    transition: color .18s ease;
}

.mega-menu-panel .mega-view-all-link:hover,
.mega-menu-panel .mega-view-all-link:focus {
    background: transparent !important;
    color: var(--color-primary) !important;
    text-decoration: underline !important;
}

.mega-view-all-link i {
    transition: transform .18s ease;
}

.mega-view-all-link:hover i,
.mega-view-all-link:focus i {
    transform: translateX(1px);
}

/* Premium Icon-based Dropdown Menu */
.dropdown-menu-premium {
    min-width: 260px !important;
    border-radius: 14px !important;
    border: 1px solid #edf2e5 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    padding: 0.5rem 0 !important;
    background: #fff !important;
    margin-top: 10px !important;
}

.dropdown-item-premium {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0.75rem 1.25rem !important;
    color: #45595b !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    background: transparent !important;
}

.dropdown-item-premium:last-child {
    border-bottom: none !important;
}

.dropdown-item-premium:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.08) !important;
    color: var(--color-primary) !important;
}

.dropdown-item-premium i {
    font-size: 1.05rem !important;
    color: var(--color-primary) !important;
    width: 20px !important;
    text-align: center !important;
    transition: transform 0.2s ease !important;
}

.dropdown-item-premium:hover i {
    transform: scale(1.15);
}

/* About page. */
.about-page {
    padding-top: 154px;
    background: #f6f8f4;
    color: #253638;
}

.about-hero {
    padding: 6px 0 2.5rem;
    background: linear-gradient(135deg, #f9fbf6 0%, #eef5e6 55%, #f7fbff 100%);
}

/* page + 6px đệm hero = breadcrumb ngang hàng .catalog-page (160 / 100 / 92px). */
@media (max-width: 1199.98px) {
    .about-page {
        padding-top: 94px;
    }
}

@media (max-width: 767.98px) {
    .about-page {
        padding-top: 86px;
    }
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr);
    gap: 1.5rem;
    align-items: center;
}

.about-hero-copy,
.about-hero-media,
.about-values article,
.about-contact-card {
    border: 1px solid #e2ead8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(42, 65, 72, .08);
}

.about-hero-copy {
    padding: 1.75rem;
}

.about-eyebrow {
    display: inline-flex;
    margin-bottom: .55rem;
    color: #6aa405;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.about-hero h1,
.about-section h2 {
    margin: 0;
    color: #243b4a;
    line-height: 1.2;
}

.about-hero h1 {
    font-size: 3.1rem;
}

.about-hero p,
.about-intro p,
.about-service-copy p,
.about-contact-card p,
.about-values p {
    color: #526575;
    line-height: 1.75;
}

.about-hero p {
    max-width: 680px;
    margin: 1rem 0 1.35rem;
    font-size: 1.02rem;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.about-hero-media {
    overflow: hidden;
}

.about-hero-media img {
    width: 100%;
    min-height: 360px;
    display: block;
    object-fit: cover;
}

.about-section {
    padding: 2.5rem 0;
}

.about-intro {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1.25rem;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.about-values article {
    padding: 1.25rem;
}

.about-values i {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: #eef7df;
    color: #6aa405;
    font-size: 1.15rem;
}

.about-values h3 {
    margin: 1rem 0 .45rem;
    color: #243b4a;
    font-size: 1.05rem;
}

.about-values p {
    margin: 0;
    font-size: .95rem;
}

/* Tiêu đề + khẩu hiệu xếp dọc một cột (không chia 2 cột như .about-intro mặc định). */
.about-intro--stacked {
    display: block;
    max-width: 760px;
}

.about-intro--stacked p {
    margin: .5rem 0 0;
    font-size: 1.05rem;
}

/* 4 thẻ có tiêu đề dài → lưới 2×2 (≤991px về 1 cột theo rule chung .about-values). */
.about-values--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-values-cta {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    margin-top: 1.25rem;
    color: #243b4a;
    font-size: 1.05rem;
}

.about-values-cta > i {
    margin-top: .3rem;
    color: #5c9a1b;
}

.about-values-cta strong {
    display: block;
}

.about-values-cta a {
    color: #3f7d12;
    white-space: nowrap;
}

.about-band {
    background: #eef4f7;
}

.about-gallery-section {
    background: #fff;
}

.about-gallery {
    display: grid;
    grid-template-columns: 1.25fr .9fr .9fr;
    gap: .8rem;
}

.about-gallery figure {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e2ead8;
    border-radius: 8px;
    background: #f6f8f4;
}

.about-gallery figure:first-child {
    grid-row: span 2;
}

.about-gallery img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    display: block;
    object-fit: cover;
}

.about-service-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(300px, .75fr);
    gap: 1.5rem;
    align-items: center;
}

.about-service-list {
    display: grid;
    gap: .75rem;
}

.about-service-list a,
.about-contact-actions a {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border: 1px solid #dce8d0;
    border-radius: 8px;
    background: #fff;
    color: #243b4a;
    text-decoration: none;
    font-weight: 800;
}

.about-service-list a {
    padding: 1rem 1.1rem;
}

.about-service-list span {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
}

.about-service-list i,
.about-contact-actions i {
    color: #6aa405;
}

.about-contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem;
}

.about-contact-actions {
    display: grid;
    gap: .75rem;
}

.about-contact-actions a {
    padding: .9rem 1rem;
}

@media (max-width: 991.98px) {
    .about-hero-grid,
    .about-intro,
    .about-values,
    .about-gallery,
    .about-service-grid,
    .about-contact-card {
        grid-template-columns: 1fr;
    }

    .about-gallery figure:first-child {
        grid-row: auto;
    }

    .about-hero-media img {
        min-height: 260px;
    }

    .about-hero h1 {
        font-size: 2.35rem;
    }
}

@media (max-width: 575.98px) {
    .about-hero-copy,
    .about-values article,
    .about-contact-card {
        padding: 1rem;
    }

    .about-actions .btn {
        width: 100%;
    }

    .about-hero h1 {
        font-size: 2rem;
    }
}

/* Store information footer. */
.store-footer {
    padding: 3rem 0 1.5rem;
    background:
        radial-gradient(circle at 10% 10%, rgba(var(--bs-primary-rgb), .16), transparent 26%),
        linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 12%, #1a1d20), color-mix(in srgb, var(--color-primary) 6%, #111416));
    color: rgba(255, 255, 255, .74);
}

.store-footer-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 1rem;
}

.store-footer-about,
.store-footer-card {
    min-width: 0;
}

.store-footer-about {
    padding-right: 1rem;
}

.store-footer-logo {
    width: fit-content;
    max-width: 100%;
    margin: 1rem auto .95rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .6rem;
}

.store-footer-logo img {
    width: auto;
    max-height: 64px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}

.store-footer-eyebrow {
    display: block;
    text-align: center;
    color: var(--color-secondary);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.store-footer h2 {
    margin: .4rem 0 .8rem;
    color: #fff;
    font-size: 1.65rem;
    font-weight: 800;
}

.store-footer h2 strong,
.store-footer-slogan {
    color: var(--color-secondary);
}

.store-footer p {
    margin-bottom: .7rem;
    font-size: .82rem;
    line-height: 1.7;
}

.store-footer-slogan {
    font-weight: 700;
}

.store-footer-owner {
    margin: 1rem 0;
    padding: .85rem;
    display: grid;
    gap: .55rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(0, 0, 0, .12);
}

.store-footer-owner div {
    min-width: 0;
}

.store-footer-owner dt {
    color: var(--color-secondary);
    font-size: .68rem;
    font-weight: 800;
}

.store-footer-owner dd {
    margin: .08rem 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: .76rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.store-footer-owner a {
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
}

.store-footer-owner a:hover {
    color: var(--color-secondary);
}

.store-footer-contact {
    margin-top: 1rem;
    display: grid;
    gap: .55rem;
}

.store-footer-contact a,
.store-footer-contact > span {
    min-width: 0;
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    color: rgba(255, 255, 255, .78);
    font-size: .78rem;
    line-height: 1.5;
    text-decoration: none;
}

.store-footer-contact a:hover {
    color: var(--color-secondary);
}

.store-footer-contact i {
    width: 15px;
    margin-top: .2rem;
    color: var(--color-secondary);
    text-align: center;
}

.store-footer-card {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .055);
}

.store-footer-card h3 {
    margin-bottom: .8rem;
    color: #fff;
    font-size: .94rem;
    font-weight: 800;
}

.store-footer-card h3 i {
    margin-right: .38rem;
    color: var(--color-secondary);
}

.store-footer-list,
.store-footer-checklist {
    margin: 0;
    padding: 0;
    display: grid;
    gap: .48rem;
    list-style: none;
}

.store-footer-list li,
.store-footer-checklist li {
    position: relative;
    padding-left: 1rem;
    color: rgba(255, 255, 255, .72);
    font-size: .76rem;
    line-height: 1.45;
}

.store-footer-list li::before,
.store-footer-checklist li::before {
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

.store-footer-list li::before {
    content: "\2022";
}

.store-footer-checklist li::before {
    content: "\2713";
    font-weight: 800;
}

.store-footer-policies {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.store-footer-policy {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, .12);
}

.store-footer-policy summary {
    padding: .9rem 1rem;
    display: flex;
    gap: .75rem;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 800;
    list-style: none;
}

.store-footer-policy summary::-webkit-details-marker {
    display: none;
}

.store-footer-policy summary span i {
    margin-right: .45rem;
    color: var(--color-secondary);
}

.store-footer-policy summary > i {
    color: var(--color-secondary);
    font-size: .65rem;
    transition: transform .2s ease;
}

.store-footer-policy[open] summary > i {
    transform: rotate(180deg);
}

.store-footer-policy-content {
    padding: 0 1rem .9rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.store-footer-policy-content p {
    margin: .75rem 0 0;
}

.store-footer-policy-content h4 {
    margin: .85rem 0 .25rem;
    color: var(--color-secondary);
    font-size: .84rem;
    font-weight: 800;
}

.store-footer-policy-content strong {
    display: block;
    margin-top: .7rem;
    color: #fff;
    font-size: .78rem;
}

.store-footer-policy-content ul {
    margin: .45rem 0 0;
    padding-left: 1.1rem;
}

.store-footer-policy-content li {
    margin-bottom: .32rem;
    font-size: .78rem;
    line-height: 1.55;
}

.store-footer-policy-link {
    display: inline-flex;
    margin-top: .55rem;
    color: var(--color-secondary);
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.store-footer-policy-link:hover {
    color: #fff;
}

.store-footer-shop {
    grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(150px, .75fr));
    gap: 2rem;
    align-items: start;
}

.store-footer-brand {
    min-width: 0;
}

.store-footer-brand .store-footer-logo {
    width: fit-content;
    max-width: 100%;
    margin: 0 0 1rem;
    display: inline-flex;
}

.store-footer-brand p {
    max-width: 420px;
    margin: 0;
    color: rgba(255, 255, 255, .74);
}

.store-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.store-footer-socials a {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--color-secondary) 28%, transparent);
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
    color: var(--color-secondary);
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.store-footer-socials a:hover {
    background: var(--color-secondary);
    color: color-mix(in srgb, var(--color-primary) 12%, #1a1d20);
}

.store-footer-column {
    min-width: 0;
}

.store-footer-column h3 {
    margin: 0 0 .9rem;
    color: #fff;
    font-size: .96rem;
    font-weight: 800;
}

.store-footer-column ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: .55rem;
    list-style: none;
}

.store-footer-column a {
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
    line-height: 1.45;
    text-decoration: none;
}

.store-footer-column a:hover {
    color: var(--color-secondary);
}

.store-footer-bottom {
    margin-top: 1.9rem;
    padding-top: 1.1rem;
    display: grid;
    gap: .65rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.store-footer-contact-line,
.store-footer-owner-line {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.4rem;
    align-items: center;
}

.store-footer-contact-line a,
.store-footer-contact-line span,
.store-footer-owner-line span,
.store-footer-owner-line a {
    min-width: 0;
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
    line-height: 1.45;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.store-footer-contact-line i {
    margin-right: .45rem;
    color: var(--color-secondary);
}

.store-footer-contact-line a:hover,
.store-footer-owner-line a:hover {
    color: var(--color-secondary);
}

@media (max-width: 991.98px) {
    .store-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .store-footer-brand {
        grid-column: 1 / -1;
    }

    .store-footer-about {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .store-footer-about p,
    .store-footer-slogan {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .back-to-top {
        display: none !important;
    }

    .policy-page {
        padding: 92px 0 36px;
    }

    .policy-hero,
    .policy-card {
        padding: 18px;
    }

    .policy-hero h1 {
        font-size: 1.55rem;
    }

    .store-footer {
        padding-top: 2rem;
    }

    .store-footer-main,
    .store-footer-policies {
        grid-template-columns: 1fr;
    }

    .store-footer-shop {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .store-footer-bottom {
        margin-top: 1.25rem;
    }

    .store-footer-contact-line,
    .store-footer-owner-line {
        display: grid;
        gap: .55rem;
    }

    .store-footer h2 {
        font-size: 1.4rem;
    }

    .store-footer-logo {
        width: fit-content;
        max-width: 100%;
        padding: .6rem .85rem;
    }
}

/* ==========================================================================
   WEBSITE DYNAMIC THEME & LAYOUT OVERRIDES
   ========================================================================== */

body.storefront {
    font-family: var(--font-main), "Open Sans", sans-serif !important;
    font-size: var(--font-size-base) !important;
    background-color: var(--color-bg) !important;
    color: var(--color-text) !important;
}

.home-section-heading h2,
.product-title-row h1,
.home-keywords h2,
.store-footer-column h3,
.repair-hero-body h1,
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main), "Raleway", sans-serif !important;
}

/* Primary & Secondary Color Overrides */
.text-primary,
.text-primary a,
a.text-primary,
.spinner-grow.text-primary {
    color: var(--color-primary) !important;
}

.bg-primary,
.topbar.bg-primary,
.carousel-control-prev,
.carousel-control-next,
.home-product-cart-btn,
.sidebar-primary-action,
.review-form button,
.sidebar-zalo-action {
    background-color: var(--color-primary) !important;
}

.border-primary,
.border-3.border-primary,
.carousel-control-prev,
.carousel-control-next,
.back-to-top,
.sidebar-primary-action,
.review-form button,
.sidebar-zalo-action {
    border-color: var(--color-primary) !important;
}

.sidebar-primary-action:hover,
.sidebar-primary-action:focus,
.sidebar-zalo-action:hover,
.sidebar-zalo-action:focus {
    background-color: var(--color-primary-hover) !important;
    border-color: var(--color-primary-hover) !important;
    color: #fff !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}

.border-secondary {
    border-color: var(--color-secondary) !important;
}

.btn-primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    filter: brightness(0.9);
}

.btn-outline-primary {
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
}

/* Dynamic storefront colors and hover states */
.home-marketplace,
.catalog-page {
    background-color: var(--color-bg) !important;
    color: var(--color-text) !important;
}

.home-utility-bar,
.home-search,
.home-category-panel,
.home-main-banner,
.home-side-banners a,
.home-promo-grid a,
.home-keyword-grid a {
    background-color: var(--color-card) !important;
    border-color: var(--color-border) !important;
}

.home-utility-bar a,
.home-search input,
.home-promo-grid a,
.home-keyword-grid a,
.home-category-panel a {
    color: var(--color-text) !important;
}

.home-search input::placeholder,
.home-section-heading p,
.home-product-description,
.home-product-rating span {
    color: var(--color-muted) !important;
}

.home-search:focus-within {
    border-color: var(--color-primary) !important;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--color-primary) 20%, transparent) !important;
}

.home-search button,
.home-category-panel h2,
.home-section-heading > a {
    background-color: var(--color-primary) !important;
    color: #fff !important;
}

.home-search button:hover,
.home-search button:focus,
.home-section-heading > a:hover,
.home-section-heading > a:focus {
    background-color: var(--color-primary) !important;
    color: #fff !important;
    filter: brightness(.9);
}

.home-category-panel a {
    border-bottom-color: var(--color-border) !important;
}

.home-category-panel a:hover,
.home-category-panel a:focus,
.home-keyword-grid a:hover,
.home-keyword-grid a:focus,
.home-keyword-grid a:nth-child(3n + 1):hover,
.home-keyword-grid a:nth-child(3n + 1):focus,
.home-keyword-grid a:nth-child(3n + 2):hover,
.home-keyword-grid a:nth-child(3n + 2):focus,
.home-keyword-grid a:nth-child(3n):hover,
.home-keyword-grid a:nth-child(3n):focus {
    background-color: color-mix(in srgb, var(--color-primary) 12%, var(--color-card)) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
}

.home-utility-bar i,
.home-category-panel a i,
.home-promo-grid i {
    color: var(--color-primary) !important;
}

.home-section-heading h2,
.home-keywords h2 {
    color: var(--color-text) !important;
}

.home-keywords,
.home-brand-section:nth-of-type(even),
.home-components-section {
    background-color: color-mix(in srgb, var(--color-bg) 88%, var(--color-card)) !important;
}


.home-cta {
    background-color: color-mix(in srgb, var(--color-text) 88%, #000) !important;
}

.home-highlight a,
.home-cta a {
    background-color: var(--color-card) !important;
    color: var(--color-primary) !important;
}

/* Dynamic Grid & Gap Configuration */
.home-product-grid, .catalog-grid {
    display: grid !important;
    gap: var(--product-grid-gap) !important;
    grid-template-columns: repeat(var(--product-grid-mobile, 2), minmax(0, 1fr)) !important;
}

@media (min-width: 768px) {
    .home-product-grid, .catalog-grid {
        grid-template-columns: repeat(var(--product-grid-tablet, 3), minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1200px) {
    .home-product-grid, .catalog-grid {
        grid-template-columns: repeat(var(--product-grid-desktop, 4), minmax(0, 1fr)) !important;
    }
}

/* Masonry Layout Overrides */
body.grid-layout-masonry .home-product-grid,
body.grid-layout-masonry .catalog-grid {
    display: block !important;
    column-count: var(--product-grid-mobile, 2) !important;
    column-gap: var(--product-grid-gap) !important;
}
body.grid-layout-masonry .home-product-grid > article,
body.grid-layout-masonry .catalog-grid > article,
body.grid-layout-masonry .home-product-grid > div,
body.grid-layout-masonry .catalog-grid > div {
    display: inline-block !important;
    width: 100% !important;
    margin-bottom: var(--product-grid-gap) !important;
    break-inside: avoid !important;
}
@media (min-width: 768px) {
    body.grid-layout-masonry .home-product-grid,
    body.grid-layout-masonry .catalog-grid {
        column-count: var(--product-grid-tablet, 3) !important;
    }
}
@media (min-width: 1200px) {
    body.grid-layout-masonry .home-product-grid,
    body.grid-layout-masonry .catalog-grid {
        column-count: var(--product-grid-desktop, 4) !important;
    }
}

/* Cards & Text colors based on Theme Settings */
.home-product-card,
.product-title-row,
.product-gallery-panel,
.product-commitments,
.product-info-panel,
.product-review-panel,
.product-buy-box,
.product-category-card,
.cart-item {
    background-color: var(--color-card) !important;
    border-color: var(--color-border) !important;
    border-radius: var(--radius-main) !important;
}

.home-product-image {
    background-color: var(--color-card) !important;
    border-radius: var(--radius-main) var(--radius-main) 0 0 !important;
}

.home-product-body {
    background-color: var(--color-card) !important;
    border-top: 1px solid var(--color-border) !important;
    border-radius: 0 0 var(--radius-main) var(--radius-main) !important;
}

.home-product-category {
    background-color: var(--color-bg) !important;
    /* Brand primary is picked for fills, not for text: on the light card background it
       lands around 2.5:1. Darkening it here keeps whatever hue the admin chose while
       clearing the 4.5:1 text minimum, without forcing a second colour picker on them. */
    color: color-mix(in srgb, var(--color-primary) 62%, black) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 4px !important;
}

.home-product-name {
    color: var(--color-text) !important;
}

.home-product-description {
    color: var(--color-muted) !important;
}

.home-product-price,
.product-detail-price strong {
    color: var(--color-price) !important;
    font-weight: 700 !important;
}

.home-product-rating i {
    /* Same reasoning as the category badge: the raw secondary (amber) star sits at
       1.8:1 on white, under the 3:1 minimum for meaningful graphics. */
    color: color-mix(in srgb, var(--color-secondary) 72%, black) !important;
}

.home-product-rating span {
    color: var(--color-muted) !important;
}

/* Max Container Width */
.container,
.container-fluid.storefront-nav-container {
    max-width: var(--container-width) !important;
}

/* Category Prominent Focus Cards */
.category-focus-card {
    background-color: var(--color-card) !important;
    border-color: var(--color-border) !important;
    border-radius: var(--radius-main) !important;
}
.category-focus-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary) !important;
    box-shadow: 0 10px 20px color-mix(in srgb, var(--color-primary) 16%, transparent) !important;
}
.category-focus-card i {
    color: var(--color-primary) !important;
}

.home-product-card:hover {
    border-color: var(--color-primary) !important;
    box-shadow: 0 20px 40px color-mix(in srgb, var(--color-primary) 14%, transparent) !important;
}

.home-product-name:hover,
.home-product-name:focus {
    color: var(--color-primary) !important;
}

/* Navigation, mega menu, account and floating widgets follow active theme */
.storefront .topbar.bg-primary,
.storefront .desktop-storefront-header .topbar,
.storefront .marquee-container {
    background-color: var(--color-primary) !important;
}

.storefront .topbar .text-secondary,
.storefront .topbar i.text-secondary {
    color: var(--color-secondary) !important;
}

.storefront .navbar,
.storefront .navbar-collapse,
.storefront .storefront-nav-container,
.storefront .mega-menu-panel {
    background-color: var(--color-card) !important;
    border-color: var(--color-border) !important;
}

.storefront .navbar .navbar-nav .nav-link,
.storefront .cart-nav-link,
.storefront .storefront-nav-account,
.storefront .storefront-nav-account a,
.storefront .storefront-nav-account .dropdown-toggle,
.storefront .mega-sidebar-item,
.storefront .brand-shortcut-card,
.storefront .mega-product-card,
.storefront .mega-view-all-link {
    color: var(--color-text) !important;
}

.storefront .navbar .navbar-nav .nav-link:hover,
.storefront .navbar .navbar-nav .nav-link:focus,
.storefront .navbar .navbar-nav .nav-link.active,
.storefront .cart-nav-link:hover,
.storefront .cart-nav-link:focus,
.storefront .mega-view-all-link:hover,
.storefront .mega-view-all-link:focus {
    color: var(--color-primary) !important;
}

.storefront .mega-sidebar-item:hover,
.storefront .mega-sidebar-item.active,
.storefront .brand-shortcut-card:hover,
.storefront .brand-shortcut-card:focus,
.storefront .mega-product-card:hover,
.storefront .mega-product-card:focus {
    background-color: color-mix(in srgb, var(--color-primary) 10%, var(--color-card)) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
}

.storefront .brand-avatar-circle,
.storefront .avatar-circle {
    background-color: color-mix(in srgb, var(--color-primary) 14%, var(--color-card)) !important;
    border-color: var(--color-border) !important;
    color: var(--color-primary) !important;
}



.storefront .floating-contact-phone,
.storefront .floating-contact-zalo {
    background: var(--color-primary) !important;
    border-color: var(--color-card) !important;
}

.storefront .floating-contact-link:hover,
.storefront .floating-contact-link:focus {
    box-shadow: 0 12px 26px color-mix(in srgb, var(--color-primary) 28%, transparent) !important;
}

.storefront .floating-contact-messenger {
    background: linear-gradient(145deg, var(--color-secondary), color-mix(in srgb, var(--color-primary) 60%, var(--color-secondary)), var(--color-primary)) !important;
    border-color: var(--color-card) !important;
}

.storefront .dropdown-menu,
.storefront .dropdown-menu-premium,
.storefront .mobile-storefront-header,
.storefront .mobile-storefront-drawer {
    background-color: var(--color-card) !important;
    border-color: var(--color-border) !important;
    color: var(--color-text) !important;
}

.storefront .dropdown-item,
.storefront .mobile-storefront-drawer a,
.storefront .mobile-drawer-account a {
    color: var(--color-text) !important;
}

.storefront .dropdown-item:hover,
.storefront .dropdown-item:focus,
.storefront .mobile-storefront-drawer a:hover,
.storefront .mobile-storefront-drawer a:focus,
.storefront .mobile-storefront-drawer a.active {
    background-color: color-mix(in srgb, var(--color-primary) 10%, var(--color-card)) !important;
    color: var(--color-primary) !important;
}

.storefront .mobile-menu-toggle,
.storefront .mobile-drawer-account i {
    color: var(--color-primary) !important;
}

/* CARD LAYOUT VARIANT STYLINGS */

/* 1. Compact Layout */
.layout-compact .compact-img {
    height: 120px !important;
}
.layout-compact .compact-body {
    padding: .5rem !important;
}
.layout-compact .compact-name {
    font-size: 0.78rem !important;
    height: 34px !important;
    -webkit-line-clamp: 2;
}
.layout-compact .compact-meta {
    margin-top: 0.35rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* 2. Horizontal Layout */
.layout-horizontal {
    flex-direction: row !important;
    align-items: center !important;
    height: 100% !important;
}
.layout-horizontal .horizontal-img {
    width: 120px !important;
    height: 100% !important;
    min-height: 130px !important;
    border-right: 1px solid var(--color-border) !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: var(--radius-main) !important;
    padding: 0.5rem !important;
}
.layout-horizontal .horizontal-body {
    padding: 0.65rem !important;
    border-top: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
.layout-horizontal .home-product-name {
    height: auto !important;
    -webkit-line-clamp: 1 !important;
}
.layout-horizontal .home-product-description {
    height: auto !important;
    margin: 0.2rem 0 !important;
    -webkit-line-clamp: 1 !important;
}

/* 3. Image Focus Layout */
.layout-image-focus .focus-img {
    height: 190px !important;
    overflow: hidden !important;
    padding: 0 !important;
}
.layout-image-focus .focus-img img {
    transition: transform 0.5s ease !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.layout-image-focus:hover .focus-img img {
    transform: scale(1.08) !important;
}
.layout-image-focus .focus-body {
    padding: .6rem .75rem !important;
}
.layout-image-focus .focus-name {
    font-size: 0.85rem !important;
}

/* 4. Sale Badge Layout */
.layout-sale-badge .product-badge {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
    font-family: var(--font-main) !important;
}

/* Fix marquee background and navigation item word-wrapping */
.marquee-container {
    background-color: var(--color-primary) !important;
}
.navbar .navbar-nav .nav-link {
    white-space: nowrap !important;
}

/* Travel-inspired homepage skin. Data remains fully driven by the store models. */
.travel-inspired-home {
    padding-top: 132px;
    background: #f6fbff !important;
    color: #173b61;
}

.travel-inspired-home .container {
    max-width: min(var(--container-width, 1200px), calc(100% - 28px)) !important;
}

.travel-hero {
    position: relative;
    min-height: 520px;
    overflow: visible;
    background: #dff4ff;
}

.travel-hero-media,
.travel-hero-media .carousel-inner,
.travel-hero-media .carousel-item,
.travel-hero-media picture {
    height: 420px;
}

.travel-hero-media {
    overflow: hidden;
}

.travel-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(246, 251, 255, .08), rgba(246, 251, 255, .72) 92%);
    pointer-events: none;
}

.travel-hero-media img {
    width: 100%;
    height: 100% !important;
    display: block;
    object-fit: cover;
    object-position: center;
}

.travel-hero-media .carousel-control-prev,
.travel-hero-media .carousel-control-next {
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 0;
    background: rgba(8, 94, 175, .72) !important;
}

.travel-hero-copy {
    position: absolute;
    top: 70px;
    left: 50%;
    z-index: 2;
    width: min(920px, calc(100% - 32px));
    transform: translateX(-50%);
    color: #0a4285;
    text-align: center;
    text-shadow: 0 2px 14px rgba(255, 255, 255, .85);
}

.travel-hero-copy span {
    display: block;
    color: #e57c22;
    font-family: "Raleway", var(--font-main), sans-serif;
    font-size: clamp(1.6rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1;
}

.travel-hero-copy h1 {
    margin: .25rem 0 .45rem;
    color: #084b98;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.travel-hero-copy p {
    max-width: 760px;
    margin: 0 auto;
    color: #123f69;
    font-size: clamp(.95rem, 1.5vw, 1.35rem);
    font-weight: 700;
}

.travel-search-wrap {
    position: relative;
    z-index: 4;
    margin-top: -108px;
}

.travel-search-card {
    overflow: hidden;
    border: 1px solid rgba(8, 96, 176, .12);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(25, 96, 147, .18);
}

.travel-search-tabs {
    min-height: 48px;
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #e6edf5;
}

.travel-search-tabs a {
    min-width: 170px;
    padding: .8rem 1rem;
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e6edf5;
    color: #173b61 !important;
    font-size: .88rem;
    font-weight: 800;
}

.travel-search-tabs a.active,
.travel-search-tabs a:hover {
    color: #075eb5 !important;
    background: #f0f8ff;
}

.travel-search-fields {
    padding: 1.05rem;
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) minmax(190px, 1fr) minmax(190px, 1fr) 160px;
    gap: .8rem;
    align-items: end;
}

.travel-search-fields label {
    min-width: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: .05rem .55rem;
    align-items: center;
}

.travel-search-fields label > i {
    grid-row: 1 / 3;
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #eff7ff;
    color: #075eb5;
    font-size: 1rem;
}

.travel-search-fields span {
    color: #5d7188;
    font-size: .72rem;
    font-weight: 700;
}

.travel-search-fields input,
.travel-search-fields select {
    min-width: 0;
    width: 100%;
    height: 30px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid transparent;
    outline: 0;
    background: transparent;
    color: #122f4d;
    font-size: .88rem;
    font-weight: 800;
}

.travel-search-fields input:focus,
.travel-search-fields select:focus {
    border-bottom-color: #075eb5;
}

.travel-search-fields button {
    height: 48px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #ff8a22, #ff5a1f);
    color: #fff;
    font-size: .9rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(255, 103, 31, .25);
}

.travel-benefits {
    padding: .9rem 0 0;
}

.travel-benefits .container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
}

.travel-benefits div,
.travel-why-grid div {
    min-width: 0;
    padding: .9rem;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: .1rem .75rem;
    align-items: center;
    border: 1px solid #e4edf6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(28, 86, 132, .07);
}

.travel-benefits i,
.travel-why-grid i {
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #eaf6ff;
    color: #075eb5;
    font-size: 1.05rem;
}

.travel-benefits strong,
.travel-why-grid strong {
    color: #183b5f;
    font-size: .82rem;
}

.travel-benefits span,
.travel-why-grid span {
    color: #65788d;
    font-size: .72rem;
    line-height: 1.45;
}

.travel-section {
    padding: 1.25rem 0;
}

.travel-section-head {
    margin-bottom: .85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.travel-section-head h2,
.travel-why h2 {
    margin: 0;
    color: #0c4b91;
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
}

.travel-section-head a {
    display: inline-flex;
    gap: .4rem;
    align-items: center;
    color: #0c4b91 !important;
    font-size: .82rem;
    font-weight: 800;
}

.travel-destination-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .9rem;
}

.travel-destination-card {
    overflow: hidden;
    border: 1px solid #e2ebf5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(28, 86, 132, .08);
}

.travel-destination-card img {
    width: 100%;
    aspect-ratio: 1.45 / 1;
    display: block;
    object-fit: cover;
}

.travel-destination-card span {
    padding: .65rem .7rem .75rem;
    display: block;
    color: #173b61;
    font-size: .82rem;
    font-weight: 900;
}

.travel-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: .9rem !important;
}

.travel-inspired-home .home-product-card {
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-main) !important;
    background: var(--color-card) !important;
    box-shadow: 0 8px 22px rgba(28, 86, 132, .08) !important;
}

.travel-inspired-home .home-product-card:hover {
    border-color: var(--color-primary) !important;
    box-shadow: 0 16px 34px rgba(28, 86, 132, .14) !important;
}

.travel-inspired-home .home-product-image {
    height: 160px;
    background: var(--color-bg) !important;
}

.travel-inspired-home .home-product-category {
    border-color: var(--color-primary-lighter) !important;
    background: var(--color-primary-lightest) !important;
    color: var(--color-primary) !important;
}

.travel-inspired-home .home-product-name {
    color: var(--color-text) !important;
    font-weight: 900;
}

.travel-inspired-home .home-product-price {
    color: var(--color-price) !important;
}

.travel-promo-band {
    padding: 1.35rem 0;
}

.travel-promo-band .container {
    min-height: 170px;
    overflow: hidden;
    padding: 1.4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 8px;
    background: linear-gradient(100deg, #bcecff, #eaf9ff 48%, #9ddcff);
    color: #0d477c;
}

.travel-promo-band span {
    color: #0d69b1;
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.travel-promo-band h2 {
    margin: .25rem 0;
    color: #064b98;
    font-size: clamp(1.6rem, 4vw, 3.5rem);
    font-weight: 900;
}

.travel-promo-band p {
    margin: 0 0 .75rem;
    color: #315f82;
    font-weight: 700;
}

.travel-promo-band a {
    padding: .55rem 1rem;
    display: inline-flex;
    border-radius: 6px;
    background: #ff7022;
    color: #fff !important;
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.travel-promo-stack {
    min-width: 330px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.travel-promo-stack img {
    width: 135px;
    height: 105px;
    object-fit: contain;
    margin-left: -34px;
    padding: .45rem;
    border: 6px solid #fff;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(20, 72, 112, .18);
    transform: rotate(-4deg);
}

.travel-promo-stack img:nth-child(2) {
    transform: rotate(5deg);
}

.travel-promo-stack img:nth-child(3) {
    transform: rotate(-2deg);
}

.travel-why {
    padding: .75rem 0 1.3rem;
    text-align: center;
}

.travel-why-grid {
    margin-top: .95rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
    text-align: left;
}

.travel-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
}

@media (min-width: 1200px) {
    body.home-layout-travel_go .desktop-storefront-header .topbar {
        border-radius: 0 !important;
        padding: .45rem 1rem !important;
    }

    body.home-layout-travel_go .desktop-storefront-header .storefront-navbar {
        height: 88px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 8px 24px rgba(23, 59, 97, .08);
    }

    body.home-layout-travel_go .desktop-storefront-header .navbar .navbar-nav .nav-link {
        color: var(--color-text) !important;
        font-size: .82rem;
        font-weight: 900;
        text-transform: uppercase;
    }

    body.home-layout-travel_go .desktop-storefront-header .navbar .navbar-nav .nav-link.active {
        color: var(--color-primary) !important;
    }
}

@media (max-width: 1199.98px) {
    .travel-inspired-home {
        padding-top: 68px;
    }

    .travel-hero {
        min-height: 500px;
    }

    .travel-hero-media,
    .travel-hero-media .carousel-inner,
    .travel-hero-media .carousel-item,
    .travel-hero-media picture {
        height: 360px;
    }

    .travel-search-fields,
    .travel-benefits .container,
    .travel-why-grid,
    .travel-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .travel-search-fields button {
        grid-column: 1 / -1;
    }

    .travel-destination-grid,
    .travel-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767.98px) {
    .travel-hero {
        min-height: auto;
        padding-bottom: 1rem;
    }

    .travel-hero-media,
    .travel-hero-media .carousel-inner,
    .travel-hero-media .carousel-item,
    .travel-hero-media picture {
        height: 285px;
    }

    .travel-hero-copy {
        top: 42px;
    }

    .travel-hero-copy h1 {
        font-size: 1.65rem;
    }

    .travel-hero-copy p {
        display: none;
    }

    .travel-search-wrap {
        margin-top: -38px;
    }

    .travel-search-tabs {
        overflow-x: auto;
    }

    .travel-search-tabs a {
        min-width: 138px;
        font-size: .78rem;
    }

    .travel-search-fields,
    .travel-benefits .container,
    .travel-why-grid,
    .travel-news-grid {
        grid-template-columns: 1fr;
    }

    .travel-benefits {
        padding-top: .35rem;
    }

    .travel-section {
        padding: 1rem 0;
    }

    .travel-section-head h2,
    .travel-why h2 {
        font-size: 1.05rem;
    }

    .travel-destination-grid,
    .travel-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .7rem !important;
    }

    .travel-inspired-home .home-product-image {
        height: 135px;
    }

    .travel-promo-band .container {
        display: block;
        padding: 1.1rem;
    }

    .travel-promo-stack {
        min-width: 0;
        margin-top: 1rem;
        justify-content: center;
    }

    .travel-promo-stack img {
        width: 96px;
        height: 78px;
        margin-left: -18px;
    }
}
/* Public blog/news listing */
.blog-page {
    background: #f6f7f5;
}

.blog-detail-page {
    background: #f6f7f5;
}

.blog-detail-page > .container.py-5 {
    padding-top: 0 !important;
}

@media (min-width: 992px) {
    .blog-detail-sidebar {
        position: sticky;
        top: 84px;
        align-self: flex-start;
    }
}

.blog-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 28px;
}

.blog-eyebrow {
    margin: 0 0 8px;
    color: var(--color-primary, #68b000);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.blog-heading h1 {
    max-width: 760px;
    margin: 0;
    color: #27343f;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
}

.blog-lead {
    max-width: 760px;
    margin: 14px 0 0;
    color: #687782;
    font-size: 1rem;
    line-height: 1.7;
}

.blog-service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 12px 18px;
    border: 1px solid rgba(104, 176, 0, .24);
    border-radius: 999px;
    background: #fff;
    color: var(--color-primary, #68b000);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(32, 41, 50, .08);
}

.blog-service-link:hover {
    color: #fff;
    background: var(--color-primary, #68b000);
}

.blog-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 64px;
}

.blog-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e7ece7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(32, 41, 50, .06);
}

.blog-search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #dfe6df;
    border-radius: 10px;
    color: #93a09a;
    background: #fff;
}

.blog-search-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #27343f;
    background: transparent;
}

.blog-search button,
.blog-clear-filter,
.blog-side-action {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: var(--color-primary, #68b000);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.blog-search button {
    min-width: 118px;
}

.blog-clear-filter {
    display: inline-flex;
    align-items: center;
    background: #eef3ed;
    color: #4e6155;
}

.blog-result-note {
    margin: 12px 0 0;
    color: #687782;
    font-size: .92rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 22px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    border: 1px solid #e7ece7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(32, 41, 50, .07);
}

.blog-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef3ed;
}

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

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--color-primary, #68b000);
    font-size: 2.5rem;
    background: linear-gradient(135deg, #eef6ea 0%, #ffffff 100%);
}

.blog-card-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ffb000;
    color: #242b2f;
    font-size: .75rem;
    font-weight: 800;
}

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
    color: #7a8892;
    font-size: .82rem;
}

.blog-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card h2 {
    margin: 0 0 10px;
    font-size: 1.18rem;
    line-height: 1.35;
}

.blog-card h2 a {
    color: #27343f;
    text-decoration: none;
}

.blog-card h2 a:hover,
.blog-read-more:hover,
.blog-side-card a:hover {
    color: var(--color-primary, #68b000);
}

.blog-card p {
    margin: 0;
    color: #687782;
    line-height: 1.62;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--color-primary, #68b000);
    font-weight: 800;
    text-decoration: none;
}

/* Dính theo khi cuộn, giống .product-detail-sidebar. */
.blog-sidebar {
    position: sticky;
    top: 84px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.blog-side-card {
    padding: 22px;
    border: 1px solid #e7ece7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(32, 41, 50, .07);
}

.blog-side-card h2 {
    margin: 0 0 10px;
    color: #27343f;
    font-size: 1.18rem;
    font-weight: 800;
}

.blog-side-card p {
    margin: 0 0 18px;
    color: #687782;
    line-height: 1.65;
}

.blog-side-card a {
    color: var(--color-primary, #68b000);
    font-weight: 800;
    text-decoration: none;
}

.blog-side-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.blog-side-card .blog-side-action {
    color: #fff;
    background: var(--color-primary, #68b000);
}

.blog-side-action:hover {
    color: #fff;
    background: #4c8200;
}

.blog-side-card-accent {
    border-top: 4px solid #ffb000;
}

.blog-side-icon {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #fff5dc;
    color: #e79a00;
}

.blog-empty {
    margin-top: 22px;
    padding: 52px 24px;
    border: 1px dashed #d7dfd5;
    border-radius: 16px;
    background: #fff;
    color: #687782;
    text-align: center;
}

.blog-empty i {
    color: var(--color-primary, #68b000);
    font-size: 3rem;
}

.blog-empty h2 {
    margin: 16px 0 8px;
    color: #27343f;
    font-size: 1.35rem;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.blog-pagination a {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #e0e7df;
    border-radius: 10px;
    background: #fff;
    color: #4e6155;
    font-weight: 800;
    text-decoration: none;
}

.blog-pagination a.active {
    border-color: var(--color-primary, #68b000);
    background: var(--color-primary, #68b000);
    color: #fff;
}

.blog-pagination a.disabled {
    pointer-events: none;
    opacity: .45;
}

@media (max-width: 991.98px) {
    .blog-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-content {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .blog-heading {
        padding-top: 0;
    }

    .blog-search {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Reduced motion
   Users who set "reduce motion" at the OS level get vestibular symptoms from
   the card lift transitions, the auto-advancing hero carousel and smooth
   scrolling. seasonal-effects.css already honoured the preference for the
   snow/confetti layer; this covers the rest of the storefront.
   The hero carousel also stops auto-advancing — see Views/Home/Index.cshtml.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .home-product-card:hover,
    .home-keyword-grid a:hover,
    .home-keyword-grid a:focus {
        transform: none !important;
    }
}

/* Bảng trong nội dung bài viết (bài so sánh nhiều cột): cuộn ngang thay vì ép cột hẹp làm chữ gãy từng từ trên điện thoại */
.article-detail-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: .95rem;
    -webkit-overflow-scrolling: touch;
}

.article-detail-content th,
.article-detail-content td {
    min-width: 76px;
    padding: .55rem .6rem;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
    vertical-align: top;
    text-align: left;
}

.article-detail-content th {
    background: var(--color-primary-lightest, #f7fbf2);
}

.article-detail-content td:first-child {
    min-width: 150px;
}
