:root {
    --primary: #0f766e;
    --ink: #172033;
    --muted: #667085;
    --soft: #f6f7fb;
    --line: #e5e7eb;
    --accent: #b45309;
    --blue: #1d4ed8
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

button,
input,
select,
textarea {
    font: inherit
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 14px clamp(16px, 4vw, 56px);
    border-bottom: 1px solid var(--line)
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain
}

.site-nav {
    display: flex;
    gap: 18px;
    flex: 1;
    justify-content: center
}

.site-nav-overlay {
    display: none
}

.site-nav a {
    font-weight: 700;
    color: #344054
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.nav-dropdown-toggle {
    display: none
}

.nav-caret {
    color: var(--muted);
    font-size: 13px;
    line-height: 1;
    display: none;
}

.nav-dropdown,
.nav-submenu {
    position: absolute;
    list-style: none;
    margin: 0;
    padding: 8px;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    visibility: hidden;
    z-index: 45
}

.nav-dropdown {
    left: 0;
    top: calc(100% + 10px)
}

.has-dropdown::after,
.has-submenu::after {
    content: "";
    position: absolute
}

.has-dropdown::after {
    height: 12px;
    left: 0;
    right: 0;
    top: 100%
}

.nav-dropdown-item {
    position: relative
}

.nav-dropdown-item>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px;
    border-radius: 6px;
    color: #344054;
    line-height: 1.35;
    white-space: nowrap
}

.nav-dropdown-item>a:hover,
.nav-dropdown-item>a:focus {
    background: var(--soft);
    color: var(--primary)
}

.nav-submenu {
    left: calc(100% + 8px);
    top: -8px;
    transform: translateX(8px)
}

.has-submenu::after {
    bottom: 0;
    right: -10px;
    top: 0;
    width: 12px
}

.has-dropdown:hover>.nav-dropdown,
.has-dropdown:focus-within>.nav-dropdown,
.has-submenu:hover>.nav-submenu,
.has-submenu:focus-within>.nav-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0);
    visibility: visible
}

.hotline,
.btn {
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    padding: 11px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary)
}

.btn-outline {
    background: #fff;
    color: var(--primary)
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .8)
}

.menu-toggle {
    display: none;
    border: 0;
    background: #eef2f7;
    border-radius: 8px;
    padding: 9px 11px
}

.hero {
    min-height: 78vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: clamp(56px, 10vw, 110px) clamp(18px, 6vw, 84px);
    color: #fff
}

.hero-content {
    max-width: 760px
}

.hero h1 {
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1.05;
    margin: 10px 0 18px
}

.hero p {
    font-size: 18px;
    max-width: 650px
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px
}

.section {
    padding: clamp(42px, 7vw, 82px) clamp(18px, 6vw, 84px)
}

.section.faq {
    padding-bottom: 42px;
}

.section.muted {
    background: var(--soft)
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px
}

.section-head h2,
.brand-band h2,
.cta h2,
.page-hero h1 {
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.15;
    margin-bottom: 9px;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

.section-head a,
.section-actions a {
    font-weight: 700;
}

.carousel-controls {
    display: none;
    gap: 8px
}

.featured-products-section .carousel-controls,
.post-carousel-section .carousel-controls {
    display: flex
}

.carousel-btn {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    font-size: 22px;
    font-weight: 700;
    height: 38px;
    justify-content: center;
    line-height: 1;
    width: 38px
}

.carousel-btn:hover,
.carousel-btn:focus {
    border-color: var(--primary);
    color: var(--primary)
}

.category-grid,
.product-grid,
.post-grid,
.collection-grid {
    display: grid;
    gap: 18px
}

.category-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 195px), 1fr))
}

.product-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr))
}

.post-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr))
}

.collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.bootstrap-category-carousel {
    position: relative;
    padding-bottom: 38px
}

.category-carousel-viewport {
    overflow: hidden;
    width: calc(100% + 18px);
    margin: 0 -9px
}

.category-carousel-track {
    display: flex;
    transition: transform .45s ease;
    will-change: transform
}

.category-carousel-track.is-jump-reset {
    transition: none
}

.category-carousel-item {
    flex: 0 0 20%;
    padding: 0 9px
}

.bootstrap-category-carousel .carousel-control-prev,
.bootstrap-category-carousel .carousel-control-next {
    top: 50%;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .14);
    opacity: 1;
    transform: translateY(-95%)
}

.bootstrap-category-carousel .carousel-control-prev {
    left: -21px
}

.bootstrap-category-carousel .carousel-control-next {
    right: -21px
}

.category-carousel-arrow {
    color: var(--primary);
    font-size: 34px;
    line-height: .8
}

.bootstrap-category-carousel .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    gap: 10px;
    margin: 0
}

.bootstrap-category-carousel .carousel-indicators [data-category-slide-to] {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background-color: var(--primary);
    opacity: 0.6;
    transition: width .2s ease, background-color .2s ease
}

.bootstrap-category-carousel .carousel-indicators .active {
    width: 28px;
    background-color: var(--primary);
    opacity: 1
}

.bootstrap-category-carousel.is-static .carousel-control-prev,
.bootstrap-category-carousel.is-static .carousel-control-next,
.bootstrap-category-carousel.is-static .carousel-indicators {
    display: none
}

.category-carousel-item .category-tile {
    height: 100%
}

.category-tile,
.product-card,
.post-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden
}

.category-tile {
    min-height: 195px;
    display: grid;
    place-items: center;
    text-align: center;
    /* font-weight: 700; */
    padding: 21px
}

.category-tile img {
    height: 220px;
    object-fit: contain;
    margin-bottom: 10px
}

.product-img,
.post-img {
    display: block;
    background: #eef2f7
}

.product-img {
    position: relative
}

.product-featured-badge {
    align-items: center;
    background: #ef1717;
    bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    color: #fff;
    display: flex;
    font-size: 11px;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    letter-spacing: 0;
    line-height: 30px;
    position: absolute;
    right: -42px;
    text-transform: uppercase;
    transform: rotate(-45deg);
    width: 148px;
    z-index: 1
}

.featured-carousel {
    display: grid;
    grid-auto-columns: calc((100% - 72px) / 5);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none
}

.featured-carousel::-webkit-scrollbar {
    display: none
}

.featured-carousel .product-card {
    scroll-snap-align: start
}

@media(min-width:768px) and (max-width:1199px) {
    .featured-carousel {
        grid-auto-columns: calc((100% - 36px) / 3)
    }
}

.post-carousel {
    display: grid;
    grid-auto-columns: calc((100% - 54px) / 4);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none
}

.post-carousel::-webkit-scrollbar {
    display: none
}

.post-carousel .post-card {
    scroll-snap-align: start
}

@media(min-width:768px) and (max-width:1199px) {
    .post-carousel {
        grid-auto-columns: calc((100% - 18px) / 2)
    }
}

.product-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover
}

.post-img img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover
}

.product-card>div,
.post-card>div {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px
}

.product-card h3,
.post-card h3 {
    margin: 4px 0 10px;
    font-size: 18px;
    line-height: 1.3
}

.price {
    display: flex;
    gap: 9px;
    align-items: center
}

.price span {
    color: var(--primary);
    font-weight: 700
}

.price del {
    color: var(--muted)
}

.price.big {
    font-size: 26px
}

.collection {
    min-height: 260px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: end
}

.collection span {
    font-size: 24px;
    font-weight: 700
}

.brand-band,
.cta {
    margin: 0 clamp(18px, 6vw, 84px);
    border-radius: 8px;
    background: #172033;
    color: #fff;
    padding: clamp(28px, 5vw, 58px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px
}

.brand-band>div {
    max-width: 760px
}

.faq details {
    border: 1px solid var(--line);
    margin-bottom: 14px;
    background: #fff;
    border-color: var(--line);
    border-radius: 8px;
    grid-column: 2;
    padding: 0;
    transition: border-color .2s ease, box-shadow .2s ease
}

.faq summary {
    cursor: pointer;
    /* font-weight: 700 */
}

.cta {
    text-align: center;
    display: grid;
    place-items: center;
    margin-bottom: 56px;
    background: #0f766e
}

.page-hero {
    padding: clamp(46px, 8vw, 86px) clamp(18px, 6vw, 84px);
    background: var(--soft)
}

.page-hero p {
    max-width: 720px
}

.catalog {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start
}

.pagination-wrap {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    margin-top: 26px
}

.pagination-summary {
    color: var(--muted);
    font-size: 14px;
    margin: 0
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0
}

.page-link {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    display: inline-flex;
    font-weight: 700;
    height: 38px;
    justify-content: center;
    line-height: 1;
    min-width: 38px;
    padding: 0 12px
}

.page-item:not(.disabled):not(.active) .page-link:hover,
.page-item:not(.disabled):not(.active) .page-link:focus {
    border-color: var(--primary);
    color: var(--primary)
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff
}

.page-item.disabled .page-link {
    background: #f8fafc;
    color: var(--muted);
    cursor: not-allowed;
    opacity: .55
}

.page-link-gap {
    min-width: 34px
}

.filters {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 18px;
    display: grid;
    gap: 12px;
    position: sticky;
    top: 88px
}

.filters form,
.contact-form {
    display: grid;
    gap: 12px
}

.filters label,
.contact-form label {
    display: grid;
    gap: 6px;
    font-weight: 700;
    color: #344054
}

.filters input,
.filters select,
.contact-form input,
.contact-form textarea {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 10px 12px;
    width: 100%
}

.check {
    display: flex !important;
    align-items: center;
    gap: 8px
}

.check input {
    width: auto
}

.breadcrumb {
    padding: 18px clamp(18px, 6vw, 84px);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 700
}

.product-detail {
    padding: 30px clamp(18px, 6vw, 84px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 34px;
    align-items: start
}

.gallery-main-wrap {
    position: relative
}

.main-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    border-radius: 8px;
    background: #eef2f7
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .18);
    transition: background-color .2s ease, color .2s ease
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
    background: var(--primary);
    color: #fff;
    outline: none
}

.gallery-arrow-prev {
    left: 12px
}

.gallery-arrow-next {
    right: 12px
}

.gallery-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 10px
}

.gallery-thumb {
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    overflow: hidden
}

.gallery-thumb img,
.gallery-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px
}

.gallery-thumb.is-active {
    border-color: var(--primary)
}

.gallery-thumb:focus-visible {
    outline: 3px solid rgba(15, 129, 117, .28);
    outline-offset: 2px
}

.detail-copy h1 {
    font-size: clamp(30px, 5vw, 36px);
    line-height: 1.12;
    margin: 0 0 14px
}

.buy-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 22px 0
}

.specs {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px
}

.specs th,
.specs td {
    border-bottom: 1px solid var(--line);
    padding: 10px;
    text-align: left
}

.specs th {
    width: 36%;
    background: var(--soft)
}

.readable {
    max-width: 900px
}

.readable table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14.5px;
}

.readable table th,
.readable table td {
    border: 1px solid var(--line);
    padding: 12px 15px;
    text-align: left;
}

.readable table th {
    background-color: var(--soft);
    font-weight: 700;
    color: var(--primary-dark);
}

.readable table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.015);
}

.readable h2,
.readable h3 {
    line-height: 1.25
}

.readable img {
    border-radius: 8px
}

.section.readable {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
    margin: 0 auto clamp(28px, 5vw, 54px);
    max-width: 1180px;
    padding: clamp(24px, 4vw, 42px);
    width: calc(100% - (var(--page-x) * 2))
}

.section.readable.muted {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border-color: #dbe3ee
}

.section.readable>h2 {
    color: var(--ink);
    font-size: clamp(28px, 3.4vw, 38px);
    line-height: 1.12;
    margin: 0 0 24px;
    max-width: 760px
}

.section.readable>h2::after {
    background: var(--primary);
    border-radius: 999px;
    content: "";
    display: block;
    height: 3px;
    margin-top: 14px;
    width: 52px
}

.section.readable h2:not(:first-child),
.section.readable h3 {
    color: var(--ink);
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.25;
    margin: 28px 0 10px;
    max-width: 760px
}

.section.readable p,
.section.readable li {
    color: #344054;
    font-size: 16px;
    line-height: 1.75
}

.section.readable p {
    margin: 0 0 14px;
    max-width: 760px
}

.section.readable ul,
.section.readable ol {
    margin: 0 0 18px;
    max-width: 760px;
    padding-left: 22px
}

.category-detail {
    background: var(--surface, var(--soft));
    padding-top: clamp(28px, 4vw, 48px)
}

.category-detail .readable {
    background: transparent;
    border-top: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
    margin: 0 auto;
    max-width: 920px;
    padding-top: clamp(24px, 3vw, 34px)
}

.category-detail .readable h1,
.category-detail .readable h2,
.category-detail .readable h3 {
    color: var(--ink);
    font-family: "Montserrat", "Inter", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0
}

.category-detail .readable h1 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.12;
    margin-bottom: 18px
}

.category-detail .readable h2 {
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.18;
    margin-bottom: 14px;
    margin-top: clamp(28px, 4vw, 42px)
}

.category-detail .readable h3 {
    font-size: clamp(20px, 2.2vw, 25px);
    line-height: 1.25;
    margin-bottom: 12px;
    margin-top: 26px
}

.category-detail .readable p,
.category-detail .readable li {
    color: #344054;
    font-size: 16px;
    line-height: 1.78
}

.category-detail .readable p {
    margin: 0 0 15px;
    max-width: 820px
}

.category-detail .readable a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px
}

.category-detail .readable a:hover,
.category-detail .readable a:focus {
    color: var(--primary-dark);
    text-decoration-thickness: 2px
}

.category-detail .readable ul,
.category-detail .readable ol {
    margin: 0 0 18px;
    max-width: 820px;
    padding-left: 24px
}

.category-detail .readable blockquote {
    border-left: 4px solid var(--primary);
    color: #344054;
    margin: 24px auto;
    max-width: 820px;
    padding: 4px 0 4px 18px
}

.category-detail .readable table {
    margin-left: auto;
    margin-right: auto
}

.category-detail .readable img {
    display: block;
    height: auto;
    margin: 22px auto;
    max-width: 100%
}

.article {
    max-width: 900px;
    margin: auto;
    padding: 34px 18px
}

.article h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    margin: 8px 0 14px
}

.lead {
    font-size: 19px;
    color: #344054
}

.article-cover {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    margin: 24px 0
}

.toc {
    border: 1px solid var(--line, #e2e8f0);
    background: #f8fafc;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed var(--line, #e2e8f0);
}

.toc-title {
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.toc-icon {
    color: var(--primary, #0f766e);
    flex-shrink: 0;
}

.toc-toggle {
    background: none;
    border: none;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
}

.toc-toggle:hover {
    color: var(--primary, #0f766e);
    background: rgba(0, 0, 0, 0.04);
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.toc.is-collapsed .toc-list {
    display: none;
}

.toc.is-collapsed .toc-header {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.toc-item {
    margin: 0;
    padding-left: calc(var(--toc-depth, 0) * 18px);
    transition: padding 0.15s ease;
}

.toc-level-1,
.toc-depth-0 {
    font-weight: 600;
    font-size: 15px;
}

.toc-depth-1 {
    font-weight: 500;
    font-size: 14.5px;
}

.toc-depth-2 {
    font-weight: 400;
    font-size: 14px;
}

.toc-depth-3,
.toc-depth-4,
.toc-depth-5 {
    font-weight: 400;
    font-size: 13.5px;
}

.toc-link {
    color: #334155;
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    line-height: 1.5;
    transition: color 0.15s ease, transform 0.15s ease;
}

.toc-bullet {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--primary, #0f766e);
    opacity: 0.7;
    flex-shrink: 0;
    transform: translateY(-2px);
}

.toc-depth-0 > .toc-link > .toc-bullet {
    width: 6px;
    height: 6px;
    opacity: 1;
}

.toc-depth-1 > .toc-link > .toc-bullet {
    opacity: 0.6;
}

.toc-depth-2 > .toc-link > .toc-bullet {
    width: 4px;
    height: 4px;
    opacity: 0.45;
}

.toc-link:hover {
    color: var(--primary, #0f766e);
    text-decoration: underline;
    transform: translateX(3px);
}

.toc-link.is-active {
    color: var(--primary, #0f766e);
    font-weight: 700;
}

.readable h1,
.readable h2,
.readable h3,
.readable h4,
.readable h5,
.readable h6,
.admin-content h1,
.admin-content h2,
.admin-content h3,
.admin-content h4,
.admin-content h5,
.admin-content h6 {
    scroll-margin-top: 100px;
}

.contact-section {
    padding: clamp(34px, 7vw, 72px) clamp(18px, 6vw, 84px);
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 30px
}

.contact-form,
.contact-info {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    background: #fff
}

.contact-form {
    grid-template-columns: repeat(2, 1fr)
}

.span-2 {
    grid-column: span 2
}

.map iframe {
    width: 100%;
    height: 260px;
    border: 0;
    border-radius: 8px
}

.site-footer {
    background: #111827;
    color: #d1d5db;
    padding: 36px clamp(18px, 6vw, 84px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px
}

.site-footer h2 {
    color: #fff
}

.site-footer nav {
    display: grid;
    gap: 8px
}

.floating-cta {
    position: fixed;
    left: 16px;
    bottom: 16px;
    display: grid;
    gap: 8px;
    z-index: 25
}

.floating-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .12);
    text-decoration: none;
}

.floating-cta .cta-zalo {
    color: #0068ff;
    border-color: rgba(0, 104, 255, 0.15);
}

.floating-cta .cta-phone {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.floating-cta .cta-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-cta .cta-icon-zalo {
    object-fit: contain;
}

.floating-cta .cta-icon-phone svg {
    display: block;
}

@keyframes cta-ring {
    0% {
        transform: rotate(0) scale(1);
    }

    10% {
        transform: rotate(-15deg) scale(1.1);
    }

    20% {
        transform: rotate(15deg) scale(1.1);
    }

    30% {
        transform: rotate(-15deg) scale(1.1);
    }

    40% {
        transform: rotate(15deg) scale(1.1);
    }

    50% {
        transform: rotate(0) scale(1);
    }

    100% {
        transform: rotate(0) scale(1);
    }
}

.floating-cta .cta-icon {
    animation: cta-ring 1.8s ease-in-out infinite;
    transform-origin: center;
}

.alert {
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 14px
}

.success {
    background: #ecfdf3;
    color: #027a48
}

.not-found {
    text-align: center
}

@media(max-width:900px) {

    body.nav-open {
        overflow: hidden
    }

    .logo {
        flex: 1
    }

    .menu-toggle {
        display: inline-flex
    }

    .site-nav {
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        top: 70px;
        z-index: 60;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 14px 18px;
        flex-direction: column
    }

    .site-nav-overlay {
        border: 0;
        display: block;
        inset: 70px 0 0;
        z-index: 55;
        background: rgba(2, 8, 23, .68);
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s ease;
        position: absolute;
        top: 70px;
        bottom: 0;
        height: 100dvh;
    }

    .site-nav {
        z-index: 70
    }

    .site-nav.open~.site-nav-overlay,
    body.nav-open .site-nav-overlay {
        opacity: 1;
        pointer-events: auto
    }

    .site-nav.open {
        display: flex
    }

    .nav-item {
        align-items: stretch;
        display: block;
        position: relative;
        width: 100%
    }

    .nav-link {
        justify-content: space-between;
        padding: 10px 48px 10px 0;
        width: 100%
    }

    .nav-dropdown-toggle {
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #f8fafc;
        color: #344054;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        position: absolute;
        right: 0;
        top: 4px;
        width: 38px
    }

    .nav-dropdown-toggle[aria-expanded="true"] span {
        transform: rotate(180deg)
    }

    .nav-dropdown,
    .nav-submenu {
        border: 0;
        border-left: 1px solid var(--line);
        border-radius: 0;
        box-shadow: none;
        display: none;
        left: auto;
        margin: 2px 0 8px 10px;
        min-width: 0;
        opacity: 1;
        padding: 0 0 0 12px;
        pointer-events: auto;
        position: static;
        transform: none;
        visibility: visible;
        width: auto
    }

    .site-nav.open .has-dropdown.is-open>.nav-dropdown,
    .site-nav.open .has-submenu.is-open>.nav-submenu {
        display: block
    }

    .nav-dropdown-item {
        position: relative
    }

    .nav-dropdown-item>a {
        padding: 9px 48px 9px 0;
        white-space: normal
    }

    .nav-dropdown-item .nav-dropdown-toggle {
        top: 3px
    }

    .has-dropdown::after,
    .has-submenu::after {
        display: none
    }

    .hotline {
        display: none
    }

    .hero {
        min-height: 70vh
    }

    .collection-grid,
    .catalog,
    .product-detail,
    .contact-section,
    .site-footer {
        grid-template-columns: 1fr
    }

    .filters {
        position: static
    }

    .brand-band {
        display: grid
    }

    .contact-form {
        grid-template-columns: 1fr
    }

    .span-2 {
        grid-column: span 1
    }

    .gallery-row {
        grid-template-columns: repeat(4, 1fr)
    }

    .category-carousel-item {
        flex-basis: 33.333333%
    }

    .bootstrap-category-carousel .carousel-control-prev {
        left: 8px
    }

    .bootstrap-category-carousel .carousel-control-next {
        right: 8px
    }
}

@media(max-width:560px) {
    .section-head {
        display: block
    }

    .product-grid {
        grid-template-columns: 1fr
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .category-carousel-item {
        flex-basis: 50%
    }

    .hero-actions,
    .buy-actions {
        display: grid
    }

    .btn,
    .hotline {
        width: 100%
    }

    .floating-cta {
        left: 12px;
        right: 12px;
        grid-template-columns: repeat(2, 1fr)
    }

    .floating-cta a {
        text-align: center;
        font-size: 13px;
        padding: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

.danger {
    background: #fff1f3;
    color: #b42318
}

:root {
    --page-x: clamp(54px, 20.475vw, 330px)
}

@media(max-width:1200px) {
    :root {
        --page-x: clamp(24px, 5vw, 64px)
    }
}

@media(max-width:900px) {
    :root {
        --page-x: clamp(11px, 4.095vw, 44px)
    }
}

.site-header {
    padding-left: var(--page-x);
    padding-right: var(--page-x)
}

.hero {
    padding-left: var(--page-x);
    padding-right: var(--page-x)
}

.section {
    padding-left: var(--page-x);
    padding-right: var(--page-x)
}

.page-hero {
    padding-left: var(--page-x);
    padding-right: var(--page-x)
}

.breadcrumb {
    padding-left: var(--page-x);
    padding-right: var(--page-x)
}

.product-detail {
    padding-left: var(--page-x);
    padding-right: var(--page-x)
}

.contact-section {
    padding-left: var(--page-x);
    padding-right: var(--page-x)
}

.site-footer {
    /* padding-left: var(--page-x); */
    /* padding-right: var(--page-x) */
}

.brand-band,
.cta {
    margin-left: var(--page-x);
    margin-right: var(--page-x)
}

.site-footer {
    background: #f3f4f6 !important;
    color: #0f172a !important;
    grid-template-columns: 1.1fr .9fr .9fr 1fr !important;
    align-items: start !important;
    gap: 0 !important;
    padding-top: 46px !important;
    padding-bottom: 46px !important
}

.footer-col {
    min-height: 280px;
    padding: 0 26px;
    border-left: 1px dashed #d9dde5
}

.footer-col:first-child {
    border-left: 0;
    padding-left: 0
}

.footer-col h2,
.site-footer h2 {
    margin: 0 0 18px;
    color: #0b72d9 !important;
    font-size: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 700
}

.footer-contact,
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px
}

.footer-contact li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 8px;
    align-items: start;
    color: #111827
}

.footer-icon {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: #111827;
    font-size: 18px;
    line-height: 1
}

.site-footer a {
    color: #0074e8 !important
}

.footer-map {
    margin-top: 18px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    border: 1px solid #d9dde5;
    border-radius: 8px;
    background: #e5e7eb
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 190px;
    border: 0
}

.footer-links {
    list-style: disc;
    padding-left: 18px;
    gap: 11px
}

.footer-links li::marker {
    color: #111827
}

.footer-facebook iframe {
    width: 100%;
    max-width: 340px;
    height: 250px;
    border: 0;
}

.footer-page-placeholder {
    width: 100%;
    max-width: 340px;
    height: 250px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #0b72d9;
    font-weight: 700
}

@media(max-width:1100px) {
    .site-footer {
        grid-template-columns: 1fr 1fr !important;
        row-gap: 28px !important
    }

    .footer-col:nth-child(3) {
        border-left: 0;
        padding-left: 0
    }
}

@media(max-width:700px) {
    .site-footer {
        grid-template-columns: 1fr !important
    }

    .footer-col {
        border-left: 0;
        border-top: 1px dashed #d9dde5;
        padding: 22px 0 0;
        min-height: auto
    }

    .footer-col:first-child {
        border-top: 0;
        padding-top: 0
    }

    .footer-map {
        max-width: none
    }

    .footer-map iframe {
        height: 220px
    }
}

.intro-video-section {
    background: #fff;
    padding-top: clamp(42px, 7vw, 82px);
    padding-bottom: clamp(42px, 7vw, 82px)
}

.intro-section-head {
    display: block;
    text-align: center;
    margin-bottom: 18px
}

.intro-video-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start
}

.intro-copy {
    color: var(--ink)
}

.intro-copy p {
    margin: 0 0 16px
}

.intro-copy h3 {
    margin: 14px 0 12px;
    font-size: 18px;
    line-height: 1.35;
    color: var(--ink)
}

.intro-copy ul {
    gap: 10px;
    margin: 0 0 18px;
    padding-left: 20px
}

.intro-copy li::marker {
    color: var(--primary)
}

.intro-feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.intro-benefit-list {
    grid-template-columns: 1fr
}

.intro-video-card {
    min-width: 0;
    width: 100%
}

.video-preview {
    position: relative;
    min-height: 390px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .14)
}

/* YouTube embed: padding-bottom hack for reliable 16:9 across all browsers and mobile */
.video-preview--youtube {
    min-height: 0;
    height: 0;
    padding-bottom: 56.25%;
    display: block;
    background: #000;
    overflow: hidden
}

.video-preview--youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
    display: block
}

.video-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #0f172a;
    font-weight: 700
}

.play-button {
    width: 76px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 18px;
    background: var(--primary);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(15, 118, 110, .35)
}

.video-cta {
    position: absolute;
    right: 22px;
    bottom: 22px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .78);
    color: #fff;
    font-weight: 700
}

@media(max-width:900px) {
    .intro-video-grid {
        grid-template-columns: 1fr
    }

    .intro-feature-list {
        grid-template-columns: 1fr
    }

    .video-preview:not(.video-preview--youtube) {
        min-height: 300px
    }

    .video-preview--youtube {
        width: 100%;
        padding-bottom: 56.25%
    }
}

@media(max-width:767px) {
    .featured-products-section {
        overflow: hidden
    }

    .featured-products-section .section-head {
        align-items: flex-end;
        display: flex;
        gap: 12px
    }

    .featured-products-section .section-actions {
        align-items: flex-end;
        flex-direction: column;
        gap: 8px
    }

    .featured-products-section .carousel-controls {
        display: flex
    }

    .featured-carousel {
        display: grid;
        gap: 14px;
        grid-auto-columns: minmax(248px, 82vw);
        grid-auto-flow: column;
        grid-template-columns: none;
        margin-left: calc(var(--page-x) * -1);
        margin-right: calc(var(--page-x) * -1);
        overflow-x: auto;
        padding: 0 var(--page-x) 10px;
        scroll-padding-left: var(--page-x);
        scroll-snap-type: x mandatory;
        scrollbar-width: none
    }

    .featured-carousel::-webkit-scrollbar {
        display: none
    }

    .featured-carousel .product-card {
        scroll-snap-align: start
    }

    .post-carousel-section {
        overflow: hidden
    }

    .post-carousel-section .section-head {
        align-items: flex-end;
        display: flex;
        gap: 12px
    }

    .post-carousel-section .section-actions {
        align-items: flex-end;
        flex-direction: column;
        gap: 8px
    }

    .post-carousel-section .carousel-controls {
        display: flex
    }

    .post-carousel {
        display: grid;
        gap: 14px;
        grid-auto-columns: minmax(248px, 82vw);
        grid-auto-flow: column;
        grid-template-columns: none;
        margin-left: calc(var(--page-x) * -1);
        margin-right: calc(var(--page-x) * -1);
        overflow-x: auto;
        padding: 0 var(--page-x) 10px;
        scroll-padding-left: var(--page-x);
        scroll-snap-type: x mandatory;
        scrollbar-width: none
    }

    .post-carousel::-webkit-scrollbar {
        display: none
    }

    .post-carousel .post-card {
        scroll-snap-align: start
    }
}

@media(max-width:560px) {
    .intro-copy {
        font-size: 16px
    }
}

/* Home refresh based on the supplied mockup */
:root {
    --primary: #0093d3;
    /* New sky blue primary */
    --primary-hover: #007cbe;
    /* Hover blue */
    --primary-light: #e0f2fe;
    /* Light blue accent bg */
    --primary-dark: #005080;
    /* 40% darker primary blue */
    --ink: #1b1c1c;
    --muted: #5f6671;
    --soft: #f5f3f3;
    --line: #e4e2e2;
    --accent: #ff9800;
    /* Warm orange highlight/accent */
    --accent-hover: #e68a00;
    --accent-light: #fff3e0;
    --surface: #fbf9f8;
    --surface-low: #f7f5f4;
    --surface-card: #fff;
    --shadow-soft: 0 18px 45px rgba(0, 147, 211, .08);
    /* Derived from primary */
    --shadow-hover: 0 24px 58px rgba(0, 147, 211, .15);
    /* Derived from primary */
    --page-x: clamp(22px, 6vw, 84px);
    --content-max: 1400px;
    --section-edge: max(var(--page-x), calc((100vw - var(--content-max)) / 2))
}

html {
    background: var(--surface)
}

body {
    background:
        radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--accent) 3.5%, transparent), transparent 28%),
        linear-gradient(180deg, var(--surface) 0%, #fff 44%, var(--surface) 100%);
    color: var(--ink);
    font-family: "Inter", Arial, sans-serif;
    letter-spacing: 0
}

h1,
h2,
h3,
h4,
.logo span {
    font-family: "Montserrat", "Inter", Arial, sans-serif;
    letter-spacing: 0
}

.site-header {
    min-height: 70px;
    padding-bottom: 0;
    padding-top: 0;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(196, 198, 207, .72);
    box-shadow: 0 2px 18px rgba(27, 28, 28, .04)
}

.logo {
    min-height: 70px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase
}

.logo img {
    height: 34px;
    width: 34px
}

.site-nav {
    gap: clamp(12px, 1.7vw, 24px)
}

.site-nav a,
.nav-link {
    color: #44474e;
    font-size: 13px;
    font-weight: 700;
    min-height: 70px;
    padding-top: 2px;
    position: relative;
    transition: color .2s ease, transform .2s ease
}

.site-nav a::after,
.nav-link::after {
    background: var(--accent);
    border-radius: 999px;
    bottom: 17px;
    content: "";
    height: 2px;
    left: 0;
    opacity: 0;
    position: absolute;
    transform: scaleX(.35);
    transform-origin: left;
    transition: opacity .2s ease, transform .2s ease;
    width: 100%
}

.site-nav a:hover,
.site-nav a:focus,
.nav-item:hover>.nav-link {
    color: var(--primary);
    transform: translateY(-1px)
}

.site-nav a:hover::after,
.site-nav a:focus::after,
.nav-item:hover>.nav-link::after {
    opacity: 0;
    transform: scaleX(1)
}



.nav-caret {
    display: inline-flex;
    font-size: 10px;
    opacity: .6
}

.nav-dropdown,
.nav-submenu {
    border-color: rgba(196, 198, 207, .85);
    border-radius: 8px;
    box-shadow: 0 22px 52px rgba(27, 54, 93, .14)
}

.nav-dropdown-item>a {
    min-height: 0;
    padding: 10px 12px
}

.nav-dropdown-item>a::after {
    display: none
}

.hotline {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 32, 70, .18);
    font-size: 13px;
    font-weight: 800;
    min-width: 128px;
    padding: 10px 16px;
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease
}

.hotline:hover,
.hotline:focus {
    background: #123965;
    box-shadow: 0 16px 34px rgba(0, 32, 70, .24);
    color: #fff;
    transform: translateY(-1px)
}

.btn {
    background: var(--accent);
    border-color: var(--accent);
    border-radius: 8px;
    box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 16%, transparent);
    font-size: 14px;
    font-weight: 800;
    min-height: 42px;
    padding: 11px 18px;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease
}

.btn:hover,
.btn:focus {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
    box-shadow: 0 18px 34px color-mix(in srgb, var(--accent) 22%, transparent);
    transform: translateY(-1px)
}

.btn-outline,
.btn-outline-light {
    box-shadow: none
}

.btn-outline {
    background: #fff;
    border-color: var(--primary);
    color: var(--primary)
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff
}

.btn-outline-light {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .86);
    color: #fff
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: #fff;
    border-color: #fff;
    color: var(--primary)
}

.hero {
    min-height: min(760px, 82vh);
    position: relative;
    overflow: hidden;
    background-position: center;
    isolation: isolate
}

.hero::after {
    background: linear-gradient(90deg, rgba(0, 32, 70, .82) 0%, rgba(0, 32, 70, .64) 38%, rgba(0, 32, 70, .1) 76%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1
}

.hero-content {
    max-width: 720px;
    transform: translateY(8px)
}

.hero .eyebrow {
    background: var(--accent);
    border-radius: 3px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    letter-spacing: 0;
    margin-bottom: 16px;
    padding: 7px 10px
}

.hero h1 {
    color: #fff;
    font-size: clamp(38px, 5.2vw, 64px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.04;
    max-width: 720px
}

.hero p:not(.eyebrow) {
    color: rgba(255, 255, 255, .9);
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.72;
    max-width: 660px
}

.hero-actions {
    gap: 14px;
    margin-top: 30px
}

/* Staggered fadeInLeft Animation for Hero Elements */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translate3d(-35px, 0, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.hero .eyebrow,
.hero h1,
.hero p:not(.eyebrow),
.hero-actions {
    opacity: 0;
    animation: fadeInLeft 0.85s cubic-bezier(0.215, 0.610, 0.355, 1) forwards;
}

.hero .eyebrow {
    animation-delay: 0.1s;
}

.hero h1 {
    animation-delay: 0.22s;
}

.hero p:not(.eyebrow) {
    animation-delay: 0.34s;
}

.hero-actions {
    animation-delay: 0.46s;
}

.section,
.intro-video-section {
    padding-bottom: clamp(24px, 3.5vw, 42px);
    padding-top: clamp(24px, 3.5vw, 42px)
}

.section.muted,
.featured-categories-section {
    background: var(--surface-low)
}

.section-head {
    margin-bottom: 26px
}

.section-head h2,
.brand-band h2,
.cta h2 {
    color: var(--primary-dark);
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.12
}

.eyebrow {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 9px
}

.intro-section-head {
    text-align: left
}

.intro-video-grid {
    grid-template-columns: minmax(0, .95fr) minmax(380px, 1fr);
    gap: clamp(28px, 6vw, 74px);
    align-items: center
}

.intro-copy {
    max-width: 670px
}

.intro-copy p,
.intro-copy li,
.post-card p,
.collection small,
.brand-band p,
.cta p {
    color: #44474e;
    line-height: 1.76
}

.intro-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    margin: 22px 0;
    padding: 0
}

.intro-feature-list li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 138px;
    padding: 18px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease
}

.intro-feature-list li::before {
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    border-radius: 7px;
    color: var(--accent);
    content: "\2713";
    display: grid;
    font-weight: 800;
    height: 28px;
    margin-bottom: 10px;
    place-items: center;
    width: 28px
}

.intro-feature-list li:hover {
    border-color: color-mix(in srgb, var(--accent) 32%, transparent);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px)
}

.video-preview {
    border: 1px solid rgba(196, 198, 207, .74);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    min-height: 380px;
    transition: box-shadow .25s ease, transform .25s ease
}

.intro-video-card:hover .video-preview {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px)
}

.video-badge,
.video-cta {
    border-radius: 8px;
    font-size: 13px
}

.play-button {
    background: rgba(0, 32, 70, .9);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(0, 32, 70, .24);
    height: 58px;
    width: 58px
}

.featured-categories-section {
    border-top: 1px solid rgba(228, 226, 226, .8);
    border-bottom: 1px solid rgba(228, 226, 226, .8)
}

.bootstrap-category-carousel {
    padding-bottom: 0
}

.category-carousel-viewport {
    margin: 0 -8px;
    width: calc(100% + 16px)
}

.category-carousel-item {
    padding: 0 8px
}

.category-tile,
.product-card,
.post-card {
    border-color: var(--line);
    border-radius: 8px;
    background: var(--surface-card);
    box-shadow: 0 1px 0 rgba(17, 24, 39, .02);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease
}

.product-card,
.post-card {
    display: flex;
    flex-direction: column;
    height: 100%
}

.category-tile:hover,
.product-card:hover,
.post-card:hover {
    border-color: color-mix(in srgb, var(--accent) 35%, transparent);
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px)
}

.category-tile {
    min-height: 188px;
    padding: 16px
}

.category-tile img {
    aspect-ratio: 1;
    border-radius: 999px;
    height: auto;
    margin-bottom: 12px;
    object-fit: cover;
    transition: transform .45s ease;
    width: min(132px, 82%)
}

.category-tile:hover img {
    transform: scale(1.06)
}

.category-tile span {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3
}

.bootstrap-category-carousel .carousel-control-prev,
.bootstrap-category-carousel .carousel-control-next {
    background: #fff;
    border-color: var(--line);
    box-shadow: none;
    height: 36px;
    top: -54px;
    transform: none;
    width: 36px
}

.bootstrap-category-carousel .carousel-control-prev {
    left: auto;
    right: 46px
}

.bootstrap-category-carousel .carousel-control-next {
    right: 0
}

.category-carousel-arrow {
    color: var(--primary);
    font-size: 26px
}

.bootstrap-category-carousel .carousel-control-prev:hover,
.bootstrap-category-carousel .carousel-control-next:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.bootstrap-category-carousel .carousel-indicators {
    display: none
}

.post-grid,
.collection-grid {
    gap: clamp(16px, 2vw, 24px)
}

.product-grid {
    gap: clamp(16px, 2vw, 17px)
}

.product-card {
    overflow: hidden
}

.product-img {
    background: #eef2f7;
    overflow: hidden
}

.product-img img,
.post-img img {
    transition: transform .55s ease
}

.product-card:hover .product-img img,
.post-card:hover .post-img img {
    transform: scale(1.055)
}

.product-card>div,
.post-card>div {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px
}

.product-card h3,
.post-card h3 {
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.36;
    margin-bottom: 10px
}

.product-card h3 a,
.post-card h3 a {
    transition: color .2s ease
}

.product-card:hover h3 a,
.post-card:hover h3 a {
    color: var(--accent)
}

.product-card .eyebrow,
.post-card .eyebrow {
    color: #74777f;
    display: -webkit-box;
    font-size: 10px;
    line-height: 1.4;
    min-height: 14px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1
}

.price span {
    color: var(--accent);
    font-weight: 800
}

.product-card .btn {
    background: #fff;
    border-color: var(--primary);
    box-shadow: none;
    color: var(--primary);
    margin-top: auto;
    min-height: 36px;
    padding: 8px 12px;
    padding-top: 12px;
    width: 100%
}

.product-card .btn:hover {
    background: var(--primary);
    color: #fff
}

.collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.collection {
    border-radius: 8px;
    box-shadow: 0 15px 38px rgba(27, 28, 28, .08);
    min-height: 244px;
    overflow: hidden;
    padding: 26px;
    position: relative;
    transition: box-shadow .28s ease, transform .28s ease
}

.collection::after {
    background: linear-gradient(180deg, transparent, rgba(0, 32, 70, .2));
    content: "";
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity .28s ease
}

.collection:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px)
}

.collection:hover::after {
    opacity: 1
}

.collection span,
.collection small {
    position: relative;
    z-index: 1
}

.collection span {
    color: #fff;
    font-size: clamp(20px, 2.2vw, 27px);
    line-height: 1.14
}

.collection small {
    color: rgba(255, 255, 255, .82);
    max-width: 420px
}

.brand-band {
    background:
        linear-gradient(135deg, #0b2b59 0%, #002046 100%);
    border: 1px solid rgba(174, 199, 247, .16);
    border-radius: 8px;
    box-shadow: 0 24px 54px rgba(0, 32, 70, .19);
    overflow: hidden;
    position: relative
}

.brand-band::after {
    border: 18px solid rgba(255, 255, 255, .06);
    border-radius: 28px;
    content: "";
    height: 150px;
    position: absolute;
    right: clamp(28px, 7vw, 120px);
    top: 50%;
    transform: translateY(-50%) rotate(30deg);
    width: 150px
}

.brand-band>* {
    position: relative;
    z-index: 1
}

.brand-band h2,
.brand-band .eyebrow {
    color: #fff
}

.brand-band p {
    color: rgba(255, 255, 255, .78)
}

.brand-band .btn {
    background: #fff;
    border-color: #fff;
    color: var(--primary);
    min-width: 172px
}

.brand-band .btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff
}

.post-card {
    background: transparent;
    border-color: transparent;
    box-shadow: none
}

.post-card:hover {
    background: #fff;
    border-color: var(--line)
}

.post-img {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden
}

.post-card p:last-child {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2
}

.faq {
    background: var(--surface);
    display: grid;
    grid-template-columns: minmax(240px, .85fr) minmax(0, 2fr)
}

.faq .section-head {
    align-self: start;
    display: block;
    grid-column: 1;
    grid-row: 1 / span 20;
    margin-bottom: 0;
    max-width: 360px
}



.faq details:hover,
.faq details[open] {
    border-color: color-mix(in srgb, var(--accent) 35%, transparent);
    box-shadow: 0 14px 34px rgba(27, 54, 93, .07)
}

.faq summary {
    color: var(--primary-dark);
    font-weight: 800;
    list-style: none;
    padding: 17px 52px 17px 18px;
    position: relative;
    cursor: pointer;
    user-select: none;
    transition: color .2s ease;
}

.faq summary:hover {
    color: var(--primary);
}

.faq summary::-webkit-details-marker {
    display: none
}

.faq summary::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005080' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq details[open] summary::after {
    transform: translateY(-50%) rotate(180deg)
}

@keyframes faq-slide-down {
    0% {
        opacity: 0;
        transform: translateY(-8px);
        max-height: 0;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
}

.faq details>div {
    color: #44474e;
    line-height: 1.75;
    padding: 0 18px 18px;
    overflow: hidden;
}

.faq details[open]>div {
    animation: faq-slide-down 0.28s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cta {
    background: var(--accent);
    border-radius: 8px;
    box-shadow: 0 18px 44px color-mix(in srgb, var(--accent) 16%, transparent);
    margin-bottom: clamp(46px, 7vw, 76px);
    min-height: 210px
}

.cta h2 {
    color: #fff
}

.cta p {
    color: rgba(255, 255, 255, .86);
    width: 100%;
    text-align: left;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.cta .btn {
    background: #fff;
    border-color: #fff;
    color: var(--accent);
    min-width: 150px
}

.cta .btn-outline-light {
    background: transparent;
    color: #fff
}

.cta .btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff
}

.site-footer {
    background: #f3f4f6 !important;
    border-top: 1px solid var(--line);
    color: #44474e !important;
    font-family: "Inter", Arial, sans-serif;
    padding-bottom: 48px !important;
    padding-top: 48px !important
}

.footer-col {
    border-left-color: #dde1e8
}

.footer-col h2,
.site-footer h2 {
    color: var(--primary) !important;
    font-family: "Montserrat", "Inter", Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 0
}

.footer-contact li,
.footer-links li {
    color: #44474e;
    font-size: 14px;
    line-height: 1.55
}

.site-footer a {
    color: #44474e !important;
    transition: color .2s ease
}

.site-footer a:hover {
    color: var(--accent) !important
}

.footer-map,
.footer-page-placeholder {
    border-color: var(--line);
    border-radius: 8px
}

.floating-cta a {
    box-shadow: 0 12px 30px rgba(27, 54, 93, .16);
    transition: transform .2s ease, box-shadow .2s ease
}

.floating-cta a:hover {
    box-shadow: 0 18px 36px rgba(27, 54, 93, .22);
    transform: translateY(-2px)
}

@media(max-width:1100px) {
    .intro-video-grid {
        grid-template-columns: 1fr
    }

    .video-preview {
        min-height: 330px
    }
}

@media(max-width:900px) {
    .site-header {
        min-height: 64px
    }

    .logo {
        min-height: 64px
    }

    .site-nav {
        top: 64px
    }

    .site-nav a,
    .nav-link {
        min-height: 0
    }

    .site-nav a::after,
    .nav-link::after {
        display: none
    }

    .site-nav-overlay {
        inset: 64px 0 0;
        top: 64px
    }

    .collection-grid,
    .faq {
        grid-template-columns: 1fr
    }

    .faq .section-head,
    .faq details {
        grid-column: 1;
        grid-row: auto
    }

    .brand-band {
        align-items: flex-start
    }
}

@media(max-width:700px) {
    .hero {
        min-height: 620px
    }

    .hero-actions {
        display: grid
    }

    .hero-actions .btn {
        width: 100%
    }

    .intro-feature-list {
        grid-template-columns: 1fr
    }

    .bootstrap-category-carousel .carousel-control-prev,
    .bootstrap-category-carousel .carousel-control-next {
        top: auto;
        bottom: -48px
    }

    .bootstrap-category-carousel {
        padding-bottom: 44px
    }

    .brand-band,
    .cta {
        margin-left: var(--section-edge);
        margin-right: var(--section-edge)
    }
}

/* Keep section backgrounds full-bleed while centering content around 1400px. */
.site-header,
.hero,
.section,
.page-hero,
.breadcrumb,
.product-detail,
.contact-section {
    padding-left: var(--section-edge);
    padding-right: var(--section-edge)
}

.site-footer {
    padding-left: var(--section-edge) !important;
    padding-right: var(--section-edge) !important
}

.brand-band,
.cta {
    margin-left: var(--section-edge);
    margin-right: var(--section-edge)
}

.section.readable {
    padding: clamp(24px, 4vw, 42px);
    width: calc(100% - (var(--section-edge) * 2))
}

/* --- Redesigned Site Header --- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 !important;
    /* Override standard padding */
    border-bottom: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    gap: 0 !important;
}

.header-inner {
    width: 100%;
    padding: 0 var(--section-edge);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Header Top */
.header-top {
    background-color: var(--primary);
    /* Use dynamic primary color */
    color: #e6f3ef;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-top-right {
    display: flex;
    gap: 20px;
}

.header-top-right a {
    color: #e6f3ef;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.header-top-right a:hover {
    color: #fff;
}

/* Header Middle */
.header-middle {
    background: #fff;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
}

.header-middle .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-height: 0 !important;
}

.header-middle .logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.header-middle .logo span {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Search Form */
.search-form {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 450px;
    border: 1.5px solid var(--primary);
    border-radius: 6px;
    overflow: hidden;
    margin: 0 20px;
}

.search-form input {
    flex: 1;
    border: none;
    padding: 9px 14px;
    font-size: 14px;
    outline: none;
    background: transparent;
    color: var(--ink);
}

.search-form button {
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 9px 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.search-form button:hover {
    filter: brightness(90%);
}

/* Header Right Area */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-hotline {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.header-hotline:hover {
    transform: translateY(-1px);
}

.hotline-icon-circle {
    background: var(--primary);
    /* Theme accent color */
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.25);
}

.hotline-text {
    display: flex;
    flex-direction: column;
}

.hotline-label {
    font-size: 10px;
    color: #9ca3af;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.hotline-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

/* Header Bottom (Desktop Nav) */
.header-bottom {
    background: var(--primary-dark);
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-bottom .header-inner {
    justify-content: flex-start;
}

.header-bottom .site-nav {
    display: flex !important;
    gap: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-bottom: none;
    flex: 1;
    justify-content: flex-start;
    position: static;
    max-height: none;
    overflow-y: visible;
    flex-direction: row;
}

.header-bottom .site-nav .nav-item {
    display: inline-flex;
    align-items: center;
}

.header-bottom .site-nav .nav-link {
    display: inline-flex;
    color: #fff !important;
    padding: 14px 22px;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
    min-height: 0;
}

.header-bottom .site-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.header-bottom .site-nav .nav-caret {
    color: rgba(255, 255, 255, 0.6);
    display: inline-block;
    margin-left: 4px;
}

/* Hide original floating bottom-right hotline in site header */
.site-header>.hotline {
    display: none !important;
}

/* --- Responsive Adaptations (Mobile & Tablet) --- */
@media (max-width: 900px) {
    .header-top {
        display: none !important;
    }

    .header-middle {
        padding: 10px 0;
        position: relative !important;
        z-index: 100 !important;
        background: #fff !important;
    }

    .header-middle .header-inner {
        flex-wrap: wrap;
        gap: 8px;
    }

    .header-middle .logo {
        flex: 1;
        min-height: 0;
    }

    .header-middle .logo img {
        height: 38px;
    }

    .header-middle .logo span {
        font-size: 15px;
    }

    .search-form {
        order: 3;
        margin: 6px 0 0 0;
        max-width: 100%;
        width: 100%;
    }

    .header-right {
        order: 2;
        gap: 12px;
    }

    .hotline-text {
        display: none !important;
        /* Hide label on small screens */
    }

    .hotline-icon-circle {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .header-bottom {
        display: block !important;
        height: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        border: none !important;
    }

    .header-bottom .site-nav {
        display: none !important;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: 112px !important;
        /* Adjusted top due to wrapped search box */
        z-index: 99 !important;
        max-height: calc(100vh - 112px) !important;
        background: #fff !important;
        flex-direction: column !important;
        padding: 14px 18px !important;
        border-bottom: 1px solid var(--line) !important;
        overflow-y: auto !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    }

    .header-bottom .site-nav.open {
        display: flex !important;
    }

    .header-bottom .site-nav .nav-item {
        width: 100% !important;
        position: relative !important;
        display: block !important;
    }

    .header-bottom .site-nav .nav-link {
        width: 100% !important;
        color: var(--ink) !important;
        padding: 12px 48px 12px 0 !important;
        border-bottom: 1px solid var(--soft) !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        min-height: 0 !important;
    }

    .header-bottom .site-nav .nav-link:hover,
    .header-bottom .site-nav .nav-link:focus {
        color: var(--primary) !important;
        background: none !important;
        background-color: transparent !important;
    }

    .header-bottom .site-nav .nav-dropdown-toggle {
        position: absolute !important;
        right: 0 !important;
        top: 6px !important;
        z-index: 10 !important;
        display: inline-flex !important;
    }

    .header-bottom .site-nav .nav-dropdown {
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 0 0 16px !important;
        margin: 0 !important;
    }

    .header-bottom .site-nav .nav-dropdown a {
        color: var(--muted) !important;
        font-weight: 500 !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
        display: block !important;
    }

    .header-bottom .site-nav .nav-dropdown a:hover {
        color: var(--primary) !important;
    }

    .site-nav-overlay {
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        background: rgba(9, 26, 46, 0.5) !important;
        z-index: 98 !important;
        display: block !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity .25s ease !important;
    }

    body.nav-open .site-nav-overlay {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: #f3f4f6;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        width: 34px;
        height: 34px;
        cursor: pointer;
        font-size: 16px;
    }
}

/* --- Ringing Phone Animation --- */
@keyframes phone-ring {

    0%,
    50%,
    100% {
        transform: rotate(0) scale(1);
    }

    5%,
    15%,
    25%,
    35%,
    45% {
        transform: rotate(-12deg) scale(1.08);
    }

    10%,
    20%,
    30%,
    40% {
        transform: rotate(12deg) scale(1.08);
    }
}

.hotline-icon-circle svg {
    animation: phone-ring 1.8s infinite ease-in-out;
    transform-origin: center;
    display: block;
}

/* --- Banner Color Adaptations --- */
.hero::after {
    background: linear-gradient(90deg,
            color-mix(in srgb, var(--primary) 82%, transparent) 0%,
            color-mix(in srgb, var(--primary) 64%, transparent) 38%,
            color-mix(in srgb, var(--primary) 10%, transparent) 76%) !important;
}

.brand-band {
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--primary) 80%, #fff) 0%,
            var(--primary) 100%) !important;
    box-shadow: 0 24px 54px color-mix(in srgb, var(--primary) 19%, transparent) !important;
}

.collection::after {
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--primary) 20%, transparent)) !important;
}

/* --- Consultation Section with Scrolling Marquee --- */

.consultation-section {
    position: relative;
    background: #fff;
    color: var(--ink);
    overflow: hidden;
}

/* Marquee Ribbons Wrapper */
.marquee-ribbons {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    z-index: 10;
    height: 120px;
    pointer-events: none;
}

/* Single Ribbon styling */
.marquee-ribbon {
    display: flex;
    white-space: nowrap;
    position: absolute;
    width: 120%;
    left: -10%;
    height: 44px;
    align-items: center;
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 30px;
    flex-shrink: 0;
}

.marquee-dot {
    color: var(--accent);
    font-size: 16px;
}

/* Ribbon 1: Sky Blue background, white text, slides left */
.marquee-ribbon-1 {
    background: var(--primary);
    color: #fff;
    transform: rotate(-2.5deg) translateY(20px);
    z-index: 2;
}

.marquee-ribbon-1 .marquee-content {
    animation: marquee-left 25s linear infinite;
}

/* Ribbon 2: Light Blue background, primary color text, slides right */
.marquee-ribbon-2 {
    background: var(--primary-light);
    color: var(--primary);
    transform: rotate(2deg) translateY(25px);
    z-index: 1;
    border-top: 1px solid var(--primary-light);
    border-bottom: 1px solid var(--primary-light);
}

.marquee-ribbon-2 .marquee-content {
    animation: marquee-right 25s linear infinite;
    color: var(--primary);
}

.marquee-ribbon-2 .marquee-dot {
    color: var(--primary);
}

/* Infinite sliding keyframes */
@keyframes marquee-left {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes marquee-right {
    0% {
        transform: translate3d(-50%, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* Layout Container */
.consultation-container {
    width: 100%;
    padding: 0 var(--section-edge);
    background: #fff;
    padding-top: 150px;
    padding-bottom: 50px;
    display: none
}



.consultation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.consultation-info h2 {
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.25;
    color: var(--primary-dark);
    font-family: "Montserrat", sans-serif;
}

.consultation-info .subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 20px;
}

.consultation-info .experience {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
}

.consultation-info .highlight {
    color: var(--accent);
    /* Orange highlight color */
    font-weight: 700;
}

/* Form Container styling */
.consultation-form-wrap {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 15px 38px rgba(0, 0, 0, 0.04);
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.consultation-form .form-group {
    position: relative;
    width: 100%;
}

.consultation-form .form-group input,
.consultation-form .form-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--line);
    color: var(--ink);
    padding: 10px 0;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    border-radius: 0;
}

/* options styling inside light select */
.consultation-form .form-group select option {
    background-color: #fff;
    color: var(--ink);
}

.consultation-form .form-group input:focus,
.consultation-form .form-group select:focus {
    border-color: var(--primary);
}

.consultation-form .form-group label {
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--muted);
    font-size: 15px;
    pointer-events: none;
    transition: all 0.2s ease;
}

.consultation-form .form-group select~label {
    pointer-events: none;
}

/* Floating Label Animation */
.consultation-form .form-group input:focus~label,
.consultation-form .form-group input:not(:placeholder-shown)~label,
.consultation-form .form-group select:focus~label,
.consultation-form .form-group select:valid~label {
    top: -16px;
    font-size: 12.5px;
    color: var(--primary);
}

.consultation-form .select-arrow {
    position: absolute;
    right: 0;
    top: 14px;
    color: var(--muted);
    font-size: 10px;
    pointer-events: none;
}

.consultation-form .btn-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-top: 10px;
}

.consultation-form .btn-submit:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px color-mix(in srgb, var(--accent) 30%, transparent);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .consultation-section {
        padding: 120px 0 60px 0;
    }

    .consultation-container {
        padding-top: 80px !important;
    }

    .consultation-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .consultation-form-wrap {
        padding: 30px 20px;
    }

    .marquee-ribbon {
        height: 38px;
        font-size: 12px;
    }

    .marquee-ribbon-1 {
        transform: rotate(-3deg) translateY(12px) !important;
    }

    .marquee-ribbon-2 {
        transform: rotate(2deg) translateY(38px) !important;
    }
}

/* Display Featured Categories as a Grid on Desktop */
@media (min-width: 901px) {
    .featured-categories-section .category-carousel-viewport {
        overflow: visible !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .featured-categories-section .category-carousel-track {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
        gap: 18px !important;
        transform: none !important;
        transition: none !important;
        width: 100% !important;
    }

    .featured-categories-section .category-carousel-item {
        flex: none !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .featured-categories-section .carousel-control-prev,
    .featured-categories-section .carousel-control-next,
    .featured-categories-section .carousel-indicators {
        display: none !important;
    }
}

/* Xưởng sản xuất Linear Marquee */
.xuong-marquee-section {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    background-color: #f8fafc;
}

.xuong-marquee-track {
    display: flex;
    width: max-content;
}

.xuong-marquee-content {
    display: flex;
    gap: 20px;
    animation: xuongMarquee 45s linear infinite;
    padding-right: 20px;
}

.xuong-marquee-section:hover .xuong-marquee-content {
    animation-play-state: paused;
}

.xuong-marquee-content img {
    height: 252px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.xuong-marquee-content img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@keyframes xuongMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .xuong-marquee-content img {
        height: 182px;
    }

    .xuong-marquee-section {
        padding: 20px 0;
    }
}

/* Purchase Process */
.purchase-process-section {
    background:
        linear-gradient(180deg, #fff 0%, #f4fbff 100%);
    overflow: hidden;
}

.purchase-process-head {
    align-items: flex-end;
}

.purchase-process-head p:last-child {
    color: var(--muted);
    max-width: 520px;
    margin: 0;
}

.purchase-process-track {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin: 0 auto;
    max-width: var(--content-max);
}

.purchase-process-card {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background: #fff;
    border: 2px solid #b7dcff;
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(0, 147, 211, .12);
    animation: process-card-in .72s ease both, process-card-float 4.8s ease-in-out infinite;
    animation-delay: calc(var(--step-index) * .1s), calc(var(--step-index) * .18s);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.purchase-process-card:hover {
    border-color: var(--primary);
    box-shadow: 0 24px 46px rgba(0, 147, 211, .2);
    transform: translateY(-6px);
}

.purchase-process-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / .96;
    padding: 10px 8px 4px;
}

.purchase-process-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center bottom;
    animation: process-image-bob 4.2s ease-in-out infinite;
    animation-delay: calc(var(--step-index) * .16s);
}

.purchase-process-card h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    margin: 0 10px 10px;
    padding: 10px 8px;
    border-radius: 10px;
    background: linear-gradient(180deg, #1f72dc 0%, #155cc3 100%);
    color: #fff;
    font-family: "Montserrat", "Inter", Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}

.purchase-process-card h3 span {
    display: block;
}

.purchase-process-arrow {
    position: relative;
    flex: 0 0 34px;
    align-self: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 10px 24px rgba(0, 147, 211, .22);
    overflow: hidden;
}

.purchase-process-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 4px solid #fff;
    border-right: 4px solid #fff;
    transform: translate(-62%, -50%) rotate(45deg);
}

.purchase-process-arrow::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: translateX(-100%);
    animation: process-arrow-shine 1.8s ease-in-out infinite;
}

@keyframes process-card-in {
    from {
        opacity: 0;
        transform: translateY(22px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes process-card-float {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -5px;
    }
}

@keyframes process-image-bob {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(.8deg);
    }
}

@keyframes process-arrow-shine {
    0% {
        transform: translateX(-110%);
    }

    52%,
    100% {
        transform: translateX(110%);
    }
}

@media (max-width: 1180px) {
    .purchase-process-track {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 18px;
        overflow: visible;
    }

    .purchase-process-card {
        min-height: 100%;
    }

    .purchase-process-arrow {
        display: none;
    }
}

@media (max-width: 900px) {
    .purchase-process-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .purchase-process-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .purchase-process-head {
        gap: 8px;
        margin-bottom: 18px;
    }

    .purchase-process-head h2 {
        font-size: 24px;
    }

    .purchase-process-head p:last-child {
        font-size: 14px;
        line-height: 1.55;
    }

    .purchase-process-track {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        overflow: visible !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .purchase-process-card {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 8px !important;
        overflow: hidden !important;
        border-radius: 14px !important;
        box-shadow: 0 10px 22px rgba(0, 147, 211, .1);
        animation: none !important;
        transform: none !important;
        translate: none !important;
    }

    .purchase-process-card:hover {
        box-shadow: 0 10px 22px rgba(0, 147, 211, .1);
        transform: none !important;
    }

    .purchase-process-image {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 1 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .purchase-process-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
        object-fit: contain !important;
        animation: none !important;
        transform: none !important;
    }

    .purchase-process-card h3 {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 42px !important;
        margin: 8px 0 0 !important;
        padding: 9px 8px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        line-height: 1.32 !important;
        text-align: center !important;
    }
}

@media (max-width: 420px) {
    .purchase-process-card {
        padding: 7px !important;
    }

    .purchase-process-card h3 {
        font-size: 11px !important;
        padding: 9px 8px !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    .purchase-process-card,
    .purchase-process-image img,
    .purchase-process-arrow::after {
        animation: none;
    }
}
