/* ================================================
   AutoLux – Storefront CSS
   ================================================ */

/* --- Design Tokens --- */
:root {
    --primary: #13395c;
    --primary-deep: #0d2b47;
    --accent: #ef9c52;
    --accent-hover: #db7b2c;
    --surface: #f5f7fb;
    --surface-soft: #eef1f8;
    --line: #dce3ed;
    --muted: #7a8a9e;
    --body-text: #334155;
    --radius: 1rem;
    --shadow: 0 4px 24px rgba(19, 57, 92, 0.06);
    --shadow-hover: 0 8px 32px rgba(19, 57, 92, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--body-text);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(90%, 1280px);
    margin-inline: auto;
}

/* --- Utility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* --- Top Bar --- */
/* --- Promo Top Bar --- */
.promo-bar {
    background: var(--primary-deep);
    color: #fff;
    font-size: 0.82rem;
    padding: 0.5rem 0;
}

.promo-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-bar__items {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.promo-bar__item {
    white-space: nowrap;
}

.promo-bar__item strong {
    color: var(--accent);
}

.promo-bar__sep {
    opacity: 0.3;
}

.promo-bar__hotline a {
    color: #fff;
    font-weight: 600;
}

.promo-bar__hotline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.promo-bar__auth {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.82rem;
}

.promo-bar__auth:hover {
    text-decoration: underline;
}

.promo-bar__hotline .promo-bar__sep {
    opacity: 0.4;
    margin: 0 0.15rem;
}

/* --- Header Middle --- */
.site-header {
    background: var(--primary);
    padding: 1.1rem 0 1rem;
    color: #fff;
}

.header-inner {
    display: grid;
    grid-template-columns: minmax(190px, 240px) minmax(420px, 1fr) minmax(220px, 280px);
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
}

/* Logo */
.logo {
    display: block;
    width: min(100%, 220px);
    height: 82px;
    flex-shrink: 0;
    overflow: hidden;
}

.logo__img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}

.logo__text strong {
    display: block;
    font-size: 1.35rem;
    color: #fff;
    letter-spacing: 0.02em;
}

.logo__text small {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Search */
.header-search-wrap {
    width: 100%;
    max-width: none;
}

.header-search {
    display: flex;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-search input {
    flex: 1;
    border: none;
    min-width: 0;
    padding: 0.95rem 1.2rem;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
}

.header-search button {
    background: var(--accent);
    color: #fff;
    border: none;
    min-width: 76px;
    padding: 0 1.4rem;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background var(--transition);
}

.header-search button:hover {
    background: #db7b2c;
}

/* Quick Links under search */
.header-quicklinks {
    display: flex;
    justify-content: center;
    gap: 1.35rem;
    margin-top: 0.65rem;
    flex-wrap: wrap;
}

.header-quicklinks a {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    transition: color var(--transition);
}

.header-quicklinks a:hover {
    color: var(--accent);
}

/* Hotline & Cart */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.9rem;
    flex-shrink: 0;
}

.header-hotline {
    display: flex;
    flex-direction: column;
    text-align: right;
    color: #fff;
}

.header-hotline__label {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.7);
}

.header-hotline__number {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.header-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary-deep);
    color: #fff;
    padding: 0.8rem 1.35rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
}

.header-cart-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.header-cart-badge {
    background: #e74c3c;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    position: absolute;
    top: -6px;
    right: -6px;
}

/* --- Navigation Bar --- */
.site-nav {
    background: var(--primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
}

/* Category Button */
.nav-category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.2rem;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

.nav-category-icon {
    font-size: 1.1rem;
}

.nav-category-btn .nav-arrow {
    font-size: 0.7rem;
    margin-left: 0.3rem;
}

/* Category Mega Dropdown */
.nav-category-btn .nav-dropdown--mega {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: all 0.25s ease;
    z-index: 200;
    padding: 0.5rem 0;
}

.nav-category-btn:hover .nav-dropdown--mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown--mega a {
    display: block;
    padding: 0.6rem 1.2rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--primary) !important;
    transition: background var(--transition), color var(--transition);
}

.nav-dropdown--mega a:hover {
    background: var(--surface);
    color: var(--accent) !important;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: stretch;
    flex: 1;
}

.nav-links a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Highlighted nav item */
.nav-highlight {
    color: var(--accent) !important;
    font-weight: 700 !important;
}

/* Nav CTA */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.2rem;
    background: var(--primary-deep);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.85rem;
    margin-left: auto;
    white-space: nowrap;
    transition: background var(--transition);
}

.nav-cta:hover {
    background: var(--accent);
}

.nav-arrow {
    font-size: 0.7rem;
    margin-left: 0.2rem;
}

/* --- Buttons --- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.4rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--accent);
    color: white;
}

.button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.button--secondary {
    background: var(--primary);
}

.button--secondary:hover {
    background: var(--primary-deep);
}

.button--ghost {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--line);
}

.button--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* --- Panels & Cards --- */
.panel {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.feature-card,
.seo-copy,
.seo-points,
.sidebar-card,
.cart-summary {
    padding: 1.4rem;
}

/* Category sidebar - simple list (reference: phukiendochoioto.vn) */
.sidebar-card--categories {
    border-radius: 0.6rem;
    border: 1px solid var(--line);
    box-shadow: none;
    background: white;
    position: sticky;
    top: 1.5rem;
    align-self: start;
}

.sidebar-card--categories h2 {
    font-size: 0.95rem !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    padding-bottom: 0.6rem;
    border-bottom: 3px solid var(--accent);
    margin-bottom: 0;
    display: inline-block;
    color: var(--primary-deep);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.category-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list__link {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.2rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    gap: 0.4rem;
}

.category-list__link::before {
    content: "›";
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
    width: 0.8rem;
}

.category-list__link:hover {
    color: var(--accent);
}

.category-list__link.is-active {
    color: var(--accent);
    font-weight: 700;
}

.category-list__link.is-active::before {
    content: "›";
    color: var(--accent);
}

.category-list__name {
    flex: 1;
}

.category-list__count {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Catalog top bar */
.catalog-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

.catalog-topbar__count {
    font-size: 0.88rem;
    color: var(--muted);
}

.catalog-topbar__search {
    display: flex;
    gap: 0.5rem;
}

.catalog-topbar__search input {
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 0.4rem;
    font-size: 0.85rem;
    width: 180px;
}

.catalog-topbar__search .button {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
}

/* --- Eyebrow --- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* --- Headings --- */
.section-heading h2,
.seo-points h3,
.page-hero h1,
.product-summary__price strong,
.cart-summary h2 {
    color: var(--primary-deep);
}

.section-heading h2,
.seo-points h3,
.sidebar-card h2,
.cart-summary h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
}

/* --- Section Heading (Centered) --- */
.section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-heading h2 {
    font-size: 1.8rem;
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-top: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
}

.section-heading a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.5rem;
}

.section-heading a:hover {
    color: var(--accent);
}

/* --- Card hover --- */
.product-card:hover,
.blog-card:hover,
.feature-card:hover,
.header-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* --- Sections & Layout --- */
.section {
    padding: 3rem 0;
}

.section--alt {
    background: var(--surface-soft);
}

.content-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
    color: white;
    padding: 3rem 0;
}

.page-hero--compact {
    padding: 2rem 0;
}

.page-hero h1 {
    color: white;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.page-hero p {
    opacity: 0.85;
    margin-top: 0.5rem;
}

/* --- Banner --- */
.hero-banner {
    position: relative;
    overflow: hidden;
    max-height: 500px;
}

.banner-slider {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.banner-slide {
    min-width: 100%;
    display: none;
}

.banner-slide.is-active {
    display: block;
}

.banner-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition);
    display: grid;
    place-items: center;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.banner-arrow:hover {
    background: var(--accent);
    color: white;
}

.banner-arrow--prev {
    left: 1rem;
}

.banner-arrow--next {
    right: 1rem;
}

.banner-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: background var(--transition);
}

.banner-dot.is-active {
    background: var(--accent);
    border-color: var(--accent);
}

/* Banner Overlay Card */
.banner-overlay-card {
    position: absolute;
    right: 2rem;
    bottom: 3rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 1rem;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    max-width: 360px;
    z-index: 10;
    display: grid;
    gap: 1rem;
    backdrop-filter: blur(8px);
}

.overlay-card__item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.overlay-card__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.overlay-card__item strong {
    display: block;
    font-size: 1rem;
    color: var(--primary-deep);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.overlay-card__item p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.overlay-card__phone {
    color: var(--accent) !important;
    font-size: 1.2rem;
    font-weight: 800;
}

/* --- Feature Strip --- */
.feature-strip {
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 1.2rem 0;
}

.feature-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.feature-strip__item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem;
}

.feature-strip__icon {
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--surface-soft);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-strip__item strong {
    display: block;
    font-size: 0.88rem;
    color: var(--primary-deep);
}

.feature-strip__item p {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.15rem;
}

/* --- Product Grid & Cards --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card__image {
    display: block;
    position: relative;
    overflow: hidden;
    background: var(--surface-soft);
}

.product-card__image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__badge,
.product-card__discount {
    position: absolute;
    top: 0.8rem;
    padding: 0.25rem 0.65rem;
    border-radius: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.product-card__badge {
    left: 1rem;
    background: white;
    color: var(--primary);
}

.product-card__discount {
    right: 1rem;
    background: var(--accent);
    color: white;
}

.product-card__stock {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    color: #fff;
    background: rgba(220, 59, 40, 0.92);
}

.product-card__body,
.blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.1rem 1.1rem;
    flex: 1;
}

.product-card__body>p {
    display: none;
}

.product-card__category {
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #c96f29;
    font-weight: 700;
}

.product-card h3,
.blog-card h3 {
    font-size: 1.1rem;
    line-height: 1.4;
}

.product-card__price,
.product-summary__price {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.product-card__price strong {
    font-size: 1.15rem;
    color: var(--primary-deep);
}

.product-card__price span {
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: line-through;
}

.product-card__action {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.3rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.product-card__action form {
    display: flex;
    flex: 1;
}

.product-card__action .button {
    flex: 1;
}

/* Compact product grid for listing pages (reference style) */
.product-grid--compact {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.8rem !important;
}

.product-grid--compact .product-card {
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
}

.product-grid--compact .product-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.product-grid--compact .product-card__image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-grid--compact .product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-grid--compact .product-card__body {
    padding: 0.6rem 0.7rem 0.8rem;
    gap: 0.25rem;
}

.product-grid--compact .product-card__category {
    display: none;
}

.product-grid--compact .product-card__body>p {
    display: none;
}

.product-grid--compact .product-card h3 {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--primary-deep);
}

.product-grid--compact .product-card__price {
    margin-top: 0.2rem;
}

.product-grid--compact .product-card__price strong {
    color: var(--accent) !important;
    font-size: 0.95rem;
}

.product-grid--compact .product-card__price span {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 0.8rem;
}

.product-grid--compact .product-card__discount {
    background: #d0021b !important;
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
    font-weight: 700;
}

.product-grid--compact .product-card__action {
    display: none;
}

.catalog-interest {
    margin-top: 1.35rem;
}

.catalog-interest-wrap {
    padding-top: 0;
}

.promo-page .catalog-interest {
    margin-top: 1.75rem;
}

.catalog-interest__title {
    margin: 0 0 0.95rem;
    font-size: 1.35rem;
    line-height: 1.3;
    color: var(--primary);
}

.catalog-interest__grid {
    margin-top: 0;
}

/* --- Blog Grid --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card__image {
    display: block;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card time {
    font-size: 0.78rem;
    color: var(--muted);
}

/* --- About Section --- */
.about-section {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
    color: white;
    padding: 4rem 0;
}

.about-content {
    max-width: 700px;
}

.about-content .eyebrow {
    color: var(--accent);
}

.about-content h2 {
    color: white;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 1rem;
}

.about-content p {
    opacity: 0.85;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.about-stat {
    text-align: center;
}

.about-stat strong {
    display: block;
    font-size: 1.8rem;
    color: var(--accent);
}

.about-stat span {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* --- Alerts --- */
.alert {
    padding: 0.8rem 1.2rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.alert--success {
    background: #d1fae5;
    color: #065f46;
}

.alert--error {
    background: #fee2e2;
    color: #991b1b;
}

/* --- Footer --- */
.site-footer {
    background: var(--primary-deep);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

/* Footer Brand Column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-logo__img {
    height: 48px;
    width: auto;
    border-radius: 6px;
}

.footer-logo__text {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: background var(--transition);
    text-decoration: none;
}

.footer-social__link:hover {
    background: var(--accent);
}

.footer-col h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-col p {
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

/* Footer Contact */
.footer-contact li {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact a:hover {
    color: var(--accent);
    padding-left: 0;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    font-size: 0.82rem;
}

.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom__badges {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Empty state --- */
.empty-state {
    text-align: center;
    padding: 3rem;
}

.empty-state h2 {
    margin-bottom: 0.5rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .header-inner {
        grid-template-columns: minmax(160px, 190px) minmax(280px, 1fr) auto;
        gap: 1rem;
    }

    .logo {
        width: 190px;
        height: 72px;
    }

    .logo__img {
        object-position: center;
    }

    .header-hotline__number {
        font-size: 1.15rem;
    }

    .header-cart-btn {
        padding-inline: 1.1rem;
        font-size: 0.88rem;
    }

    .product-grid,
    .product-grid--compact {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .feature-strip__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-layout {
        grid-template-columns: 220px 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 0.6rem;
        align-items: center;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .logo {
        width: 120px;
        height: 46px;
        grid-column: 1;
        grid-row: 1;
    }

    .logo__img {
        object-position: center;
    }

    .header-search-wrap {
        grid-column: 1 / -1;
        grid-row: 2;
        order: unset;
    }

    .header-quicklinks {
        display: none;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-end;
    }

    .header-hotline {
        display: none;
    }

    .header-cart-btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }

    /* --- Mobile Drawer Nav --- */
    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: var(--primary);
        z-index: 1001;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav-inner {
        flex-direction: column;
        padding: 0;
        overflow: visible;
    }

    .nav-category-btn {
        width: 100%;
        border-radius: 0;
    }

    .nav-category-btn .nav-dropdown--mega {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        min-width: 0;
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-dropdown--mega a {
        color: rgba(255, 255, 255, 0.85) !important;
        padding: 0.65rem 1.5rem;
    }

    .nav-dropdown--mega a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff !important;
    }

    .nav-links {
        flex-direction: column;
    }

    .nav-links a {
        padding: 0.85rem 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-cta {
        margin: 0;
        padding: 0.9rem 1.2rem;
        text-align: center;
        justify-content: center;
    }

    .product-grid,
    .product-grid--compact {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-card--categories {
        position: static;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .banner-overlay-card {
        display: none;
    }

    .feature-strip__inner {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {

    .product-grid,
    .product-grid--compact {
        grid-template-columns: 1fr !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem 1rem;
        padding-bottom: 1.2rem;
    }

    .site-footer {
        padding-top: 1.5rem;
    }

    .footer-desc {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .footer-logo__img {
        height: 36px;
    }

    .footer-logo__text {
        font-size: 1.05rem;
    }

    .footer-col h3 {
        font-size: 0.88rem;
        margin-bottom: 0.6rem;
        padding-bottom: 0.4rem;
    }

    .footer-col a,
    .footer-col p,
    .footer-contact li {
        font-size: 0.8rem;
    }

    .footer-col li {
        margin-bottom: 0.3rem;
    }

    .footer-social__link {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding: 0.7rem 0;
    }

    .footer-bottom__inner {
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
    }

    .footer-bottom__badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}


/* ================================================
   Breadcrumb
   ================================================ */
.breadcrumb {
    background: var(--surface-soft);
    padding: 0.75rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--line);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb__sep {
    color: var(--line);
}

.breadcrumb span:last-child {
    color: var(--primary);
    font-weight: 600;
}

/* ================================================
   Product Detail Page
   ================================================ */
.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Gallery */
.pd-gallery__main {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 1;
}

.pd-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pd-gallery__main:hover img {
    transform: scale(1.05);
}

.pd-gallery__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #e74c3c;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.pd-gallery__thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.pd-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    padding: 0;
    transition: border-color var(--transition);
}

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

.pd-thumb.is-active,
.pd-thumb:hover {
    border-color: var(--accent);
}

/* Info Panel */
.pd-info {
    padding: 0.5rem 0;
}

.pd-info__category {
    display: inline-block;
    background: var(--surface-soft);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}

.pd-info__name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.pd-info__badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    padding: 0.2rem 0.7rem;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pd-info__price-box {
    background: linear-gradient(135deg, #fff8f0, #ffecd2);
    border: 1px solid #f0d4a0;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pd-info__price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #e74c3c;
}

.pd-info__stock {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.pd-info__stock.is-in {
    color: #166534;
    background: rgba(34, 197, 94, 0.12);
}

.pd-info__stock.is-out {
    color: #b42318;
    background: rgba(220, 59, 40, 0.12);
}

.pd-info__price-note {
    font-size: 0.82rem;
    color: var(--muted);
    width: 100%;
}

.pd-info__original {
    font-size: 1.1rem;
    color: var(--muted);
    text-decoration: line-through;
}

.pd-info__save {
    background: #e74c3c;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.pd-info__short {
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.pd-fitment {
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    border: 1px solid #d7e5f3;
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.pd-fitment__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.pd-fitment__header h2 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.pd-fitment__header p {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.pd-fitment__selected {
    flex-shrink: 0;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.pd-fitment__group+.pd-fitment__group {
    margin-top: 1rem;
}

.pd-fitment__selected-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pd-fitment__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 999px;
    white-space: nowrap;
}

.pd-fitment__change-btn {
    padding: 0.3rem 0.7rem;
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.pd-fitment__change-btn:hover {
    background: var(--accent);
    color: #fff;
}

.pd-fitment__label,
.pd-fitment__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--primary);
}

.pd-fitment__hint {
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--muted);
}

.pd-brand-content {
    display: block;
}

.pd-select-shell {
    position: relative;
}

.pd-select-dropdown {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 0.75rem;
    border: 1px solid #d7e5f3;
    border-radius: 0.95rem;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 16px 32px rgba(15, 47, 77, 0.12);
}

.pd-select-dropdown[hidden] {
    display: none !important;
}

.pd-brand-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    max-height: 16rem;
    overflow-y: auto;
    padding-right: 0.2rem;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.pd-year-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* Ensure [hidden] overrides display on collapsible fitment sections */
.pd-brand-content[hidden],
.pd-brand-grid[hidden],
.pd-model-list[hidden],
.pd-fitment__model-content[hidden],
.pd-year-content[hidden],
.pd-fitment__selected-summary[hidden] {
    display: none !important;
}

.pd-brand-chip,
.pd-year-chip,
.pd-model-chip {
    border: 1px solid #cfe0f0;
    background: #fff;
    color: var(--primary);
    border-radius: 0.8rem;
    padding: 0.7rem 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
}

.pd-brand-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 3.2rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    word-break: break-word;
}

.pd-brand-search {
    margin-bottom: 0;
}

.pd-brand-chip:hover,
.pd-year-chip:hover,
.pd-model-chip:hover,
.pd-brand-chip.is-active,
.pd-year-chip.is-active,
.pd-model-chip.is-active {
    border-color: var(--accent);
    background: #fff7ef;
    box-shadow: 0 6px 18px rgba(239, 156, 82, 0.12);
}

.pd-brand-chip.is-disabled {
    background: #f3f6fb;
    border-style: dashed;
    color: var(--muted);
    cursor: not-allowed;
    box-shadow: none;
}

.pd-model-search {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0.8rem;
    border: 1px solid var(--line);
    font: inherit;
    outline: none;
    background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.pd-model-search:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(239, 156, 82, 0.12);
}

.pd-model-search:disabled {
    background: #f3f6fb;
    color: var(--muted);
    cursor: not-allowed;
}

.pd-model-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    max-height: 16rem;
    overflow-y: auto;
    padding-right: 0.2rem;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.pd-model-chip {
    text-align: left;
}

.pd-model-chip strong,
.pd-model-chip span {
    display: block;
}

.pd-model-chip strong {
    font-size: 0.92rem;
}

.pd-model-chip span {
    color: var(--muted);
    font-size: 0.76rem;
    margin-top: 0.15rem;
}

.pd-fitment__empty {
    padding: 0.85rem 1rem;
    border: 1px dashed #c8d9e8;
    background: #f8fbff;
    border-radius: 0.8rem;
    color: var(--muted);
    font-size: 0.84rem;
}

.pd-fitment__empty--stack {
    display: grid;
    gap: 0.75rem;
}

.pd-brand-chip--manual {
    justify-content: flex-start;
    border-style: dashed;
}

.pd-fitment__manual-link {
    margin-top: 0.75rem;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--accent);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.pd-fitment__manual-link:hover {
    text-decoration: underline;
}

.pd-fitment__result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.9rem;
    background: #0f2f4d;
    color: #fff;
}

.pd-fitment__result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.pd-fitment__badge {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.74rem;
    font-weight: 700;
}

.pd-fitment__badge.is-alert {
    background: rgba(239, 156, 82, 0.18);
    border-color: rgba(239, 156, 82, 0.28);
    color: #ffd3a7;
}

.pd-fitment__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.pd-fitment__fact {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.8rem;
    padding: 0.75rem 0.85rem;
}

.pd-fitment__fact span,
.pd-fitment__note {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}

.pd-fitment__fact strong {
    display: block;
    font-size: 0.95rem;
    margin-top: 0.2rem;
}

.pd-fitment__note {
    margin-top: 0.75rem;
}

.pd-fitment__connector {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pd-fitment__connector span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    margin-bottom: 0.55rem;
}

.pd-fitment__connector img {
    display: block;
    max-width: 180px;
    max-height: 90px;
    width: auto;
    height: auto;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.35rem;
}

/* Features */
.pd-info__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.pd-feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--body-text);
}

.pd-feature span {
    color: #27ae60;
    font-weight: 700;
}

/* Quantity */
.pd-qty {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pd-qty label {
    font-weight: 600;
    font-size: 0.9rem;
}

.pd-qty__control {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    overflow: hidden;
}

.pd-qty__btn {
    width: 40px;
    height: 40px;
    background: var(--surface-soft);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-qty__btn:hover {
    background: var(--line);
}

.pd-qty__control input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    font-size: 1rem;
    font-weight: 600;
}

/* Buttons */
.pd-info__buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.button--large {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.button--accent {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
}

.button--accent:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-1px);
}

.button--full {
    width: 100%;
    text-align: center;
}

.button:disabled {
    background: #cbd5e1;
    color: #fff;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Contact */
.pd-info__contact {
    background: var(--surface-soft);
    border-radius: var(--radius);
    padding: 1rem;
    font-size: 0.9rem;
}

.pd-info__contact p {
    margin-bottom: 0.3rem;
}

.pd-info__contact a {
    color: var(--accent);
}

/* Tabs */
.pd-tabs {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.pd-tabs__nav {
    display: flex;
    border-bottom: 2px solid var(--line);
    overflow-x: auto;
}

.pd-tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    position: relative;
    transition: color var(--transition);
    white-space: nowrap;
}

.pd-tab-btn:hover {
    color: var(--primary);
}

.pd-tab-btn.is-active {
    color: var(--accent);
}

.pd-tab-btn.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
}

.pd-tabs__content {
    padding: 1.5rem;
}

.pd-tab-panel {
    display: none;
}

.pd-tab-panel.is-active {
    display: block;
}

.pd-description {
    line-height: 1.8;
    color: var(--body-text);
}

.pd-spec-table {
    width: 100%;
    border-collapse: collapse;
}

.pd-spec-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
}

.pd-spec-table td:first-child {
    font-weight: 600;
    color: var(--primary);
    width: 35%;
    background: var(--surface-soft);
}

.pd-policy h3 {
    color: var(--primary);
    margin: 1.25rem 0 0.5rem;
    font-size: 1.05rem;
}

.pd-policy ul {
    margin: 0 0 0.75rem 1.25rem;
}

.pd-policy li {
    margin-bottom: 0.4rem;
    color: var(--body-text);
    font-size: 0.9rem;
}

.rich-text {
    color: var(--body-text);
    line-height: 1.8;
}

.rich-text::after {
    content: "";
    display: block;
    clear: both;
}

.rich-text> :first-child {
    margin-top: 0;
}

.rich-text> :last-child {
    margin-bottom: 0;
}

.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text h4,
.rich-text h5,
.rich-text h6 {
    margin: 1.35rem 0 0.75rem;
    color: var(--primary);
    line-height: 1.3;
}

.rich-text h1 {
    font-size: 1.9rem;
}

.rich-text h2 {
    font-size: 1.5rem;
}

.rich-text h3 {
    font-size: 1.2rem;
}

.rich-text p,
.rich-text blockquote,
.rich-text pre,
.rich-text table,
.rich-text figure {
    margin: 0 0 1rem;
}

.rich-text ul,
.rich-text ol {
    margin: 0.75rem 0 1rem 1.5rem;
}

.rich-text li {
    margin-bottom: 0.35rem;
}

.rich-text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.rich-text strong {
    font-weight: 700;
}

.rich-text img,
.rich-text figure img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

.rich-text figure {
    max-width: 100%;
}

.rich-text figcaption {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.rich-text blockquote {
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--accent);
    background: var(--surface-soft);
    border-radius: 0.75rem;
    font-style: italic;
}

.rich-text hr {
    margin: 1.5rem 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.rich-text table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.rich-text th,
.rich-text td {
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    vertical-align: top;
}

.rich-text th {
    background: var(--surface-soft);
    color: var(--primary);
    font-weight: 700;
}

.rich-text pre {
    padding: 1rem 1.25rem;
    overflow-x: auto;
    background: #111827;
    border-radius: 0.75rem;
    color: #f9fafb;
}

.rich-text code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.92em;
}

.rich-text .text-tiny {
    font-size: 0.75rem;
}

.rich-text .text-small {
    font-size: 0.875rem;
}

.rich-text .text-big {
    font-size: 1.25rem;
}

.rich-text .text-huge {
    font-size: 1.6rem;
}

.rich-text .image-style-block-align-left {
    margin-right: auto;
}

.rich-text .image-style-block {
    margin-left: auto;
    margin-right: auto;
}

.rich-text .image-style-align-left {
    float: left;
    margin-right: 1.5rem;
}

.rich-text .image-style-align-right {
    float: right;
    margin-left: 1.5rem;
}

.rich-text .image-style-block-align-center {
    margin-left: auto;
    margin-right: auto;
}

.rich-text .image-style-block-align-right {
    margin-left: auto;
}

.rich-text .image-style-side {
    float: right;
    max-width: min(50%, 320px);
    margin-left: 1.5rem;
}

/* ================================================
   Cart Page
   ================================================ */
.cart-section {
    padding-bottom: 3rem;
}

.cart-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.cart-messages {
    margin-bottom: 1rem;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.alert--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

.cart-items {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cart-table-head {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 40px;
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 40px;
    padding: 1rem 1.25rem;
    align-items: center;
    border-bottom: 1px solid var(--line);
    transition: background var(--transition);
}

.cart-item:hover {
    background: var(--surface-soft);
}

.cart-item--warning {
    background: #fff7ed;
}

.cart-col-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-item__img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.cart-item__name {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.2rem;
}

.cart-item__name:hover {
    color: var(--accent);
}

.cart-item__category {
    font-size: 0.75rem;
    color: var(--muted);
}

.cart-item__stock {
    display: inline-flex;
    align-items: center;
    margin-top: 0.4rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.cart-item__stock--out {
    color: #fff;
    background: #dc3b28;
}

.cart-item__stock--warn {
    color: #9a3412;
    background: #ffedd5;
}

.cart-item__fitment {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 0.45rem;
    font-size: 0.76rem;
    color: var(--muted);
}

.cart-item__price {
    font-size: 0.9rem;
    color: var(--body-text);
}

.cart-item__subprice {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.74rem;
    color: var(--muted);
}

.cart-col-total strong {
    color: var(--accent);
    font-size: 0.95rem;
}

/* Cart Quantity */
.cart-qty-form {
    display: inline;
}

.cart-qty-control {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 0.4rem;
    overflow: hidden;
}

.cart-qty-btn {
    width: 30px;
    height: 32px;
    background: var(--surface-soft);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.cart-qty-btn:hover {
    background: var(--line);
}

.cart-qty-btn:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
}

.cart-qty-input {
    width: 42px;
    height: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    font-size: 0.85rem;
    font-weight: 600;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 50%;
    transition: all var(--transition);
}

.cart-remove-btn:hover {
    background: #fde8e8;
    transform: scale(1.2);
}

/* Order Summary */
.cart-summary__card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    position: sticky;
    top: 1rem;
}

.cart-summary__card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--line);
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.cart-summary__row--total {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    padding: 0.75rem 0;
}

.cart-summary__row--total span:last-child {
    color: #e74c3c;
}

.cart-summary__free {
    color: #27ae60;
    font-weight: 600;
}

.cart-summary__divider {
    height: 1px;
    background: var(--line);
    margin: 0.25rem 0;
}

.cart-summary__card .button {
    margin-top: 1rem;
}

.cart-summary__stock-note {
    margin-top: 0.7rem;
    font-size: 0.8rem;
    color: #9a3412;
}

.cart-summary__continue {
    display: block;
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.cart-summary__continue:hover {
    color: var(--accent);
}

.cart-summary__trust {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.cart-trust-item {
    font-size: 0.8rem;
    color: var(--muted);
    padding: 0.25rem 0;
}

/* Empty Cart */
.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cart-empty__icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.cart-empty h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.cart-empty p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* ================================================
   Blog Pages
   ================================================ */
.blog-section {
    padding-bottom: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.blog-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.blog-card__image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-card--featured .blog-card__image {
    aspect-ratio: auto;
    min-height: 280px;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.08);
}

.blog-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 43, 71, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.blog-card:hover .blog-card__overlay {
    opacity: 1;
}

.blog-card__read {
    color: #fff;
    font-weight: 600;
    background: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.9rem;
}

.blog-card__body {
    padding: 1.25rem;
}

.blog-card--featured .blog-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.blog-card__date {
    font-size: 0.8rem;
    color: var(--muted);
    display: block;
    margin-bottom: 0.5rem;
}

.blog-card__body h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-card--featured .blog-card__body h3 {
    font-size: 1.4rem;
}

.blog-card__body h3 a {
    color: var(--primary);
}

.blog-card__body h3 a:hover {
    color: var(--accent);
}

.blog-card__body p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.blog-card__link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
}

.blog-card__link:hover {
    text-decoration: underline;
}

/* Blog Detail */
.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

.blog-article {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.blog-article__header {
    padding: 2rem 2rem 1rem;
}

.blog-article__header h1 {
    font-size: 1.6rem;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.blog-article__meta {
    display: flex;
    gap: 1.5rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.blog-article__cover {
    padding: 0 2rem;
}

.blog-article__cover img {
    width: 100%;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.blog-article__content {
    padding: 1rem 2rem 2rem;
    line-height: 1.8;
    color: var(--body-text);
}

.blog-article__footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.blog-article__share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.share-btn {
    padding: 0.35rem 0.8rem;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.share-btn--fb {
    background: #1877f2;
}

.share-btn--zalo {
    background: #0068ff;
}

.share-btn:hover {
    opacity: 0.85;
    color: #fff;
}

.blog-article__back {
    color: var(--muted);
    font-size: 0.85rem;
}

.blog-article__back:hover {
    color: var(--accent);
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 1rem;
}

.blog-sidebar__card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.blog-sidebar__card h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}

.blog-recent {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
}

.blog-recent:last-child {
    border-bottom: none;
}

.blog-recent img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.4rem;
    flex-shrink: 0;
}

.blog-recent__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: block;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.blog-recent:hover .blog-recent__title {
    color: var(--accent);
}

.blog-recent__info time {
    font-size: 0.75rem;
    color: var(--muted);
}

.blog-sidebar__contact p {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.blog-sidebar__empty {
    color: var(--muted);
    font-size: 0.85rem;
}

/* ================================================
   Promotions Page
   ================================================ */
.promo-page {
    padding: 1rem 0 3rem;
}

.promo-page__layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.promo-sidebar {
    padding: 1rem;
    position: sticky;
    top: 1rem;
}

.promo-sidebar__card+.promo-sidebar__card {
    margin-top: 1rem;
}

.promo-sidebar__card h2,
.promo-sidebar__card h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.85rem;
}

.promo-sidebar__links {
    display: grid;
    gap: 0.55rem;
}

.promo-sidebar__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    border-radius: 0.8rem;
    background: var(--surface);
    color: var(--body-text);
    border: 1px solid transparent;
    font-size: 0.88rem;
    transition: all var(--transition);
}

.promo-sidebar__link strong {
    color: var(--primary);
    font-size: 0.82rem;
}

.promo-sidebar__link:hover,
.promo-sidebar__link.is-active {
    background: #fff7ef;
    border-color: #f0d4b3;
    color: var(--primary);
}

.promo-sidebar__deals {
    display: grid;
    gap: 0.75rem;
}

.promo-sidebar__deal {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0.75rem;
    align-items: center;
}

.promo-sidebar__deal img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 0.75rem;
}

.promo-sidebar__deal strong,
.promo-sidebar__deal span {
    display: block;
}

.promo-sidebar__deal strong {
    color: var(--primary);
    font-size: 0.84rem;
    line-height: 1.4;
}

.promo-sidebar__deal span {
    margin-top: 0.2rem;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
}

.promo-main {
    min-width: 0;
}

.promo-flash {
    padding: 1.2rem;
    background: linear-gradient(180deg, #fffaf4, #ffffff);
    border: 1px solid #f2dcc0;
}

.promo-flash__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.promo-flash__eyebrow {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: #fff0de;
    color: #c8641c;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.promo-flash h1 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.promo-flash p {
    max-width: 740px;
    color: var(--muted);
    line-height: 1.7;
}

.promo-flash__countdown {
    flex-shrink: 0;
    min-width: 160px;
    text-align: center;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #e85d3b, #d63a2a);
    color: #fff;
    box-shadow: 0 12px 30px rgba(214, 58, 42, 0.18);
}

.promo-flash__countdown span {
    display: block;
    font-size: 0.76rem;
    opacity: 0.82;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.promo-flash__countdown strong {
    display: block;
    margin-top: 0.3rem;
    font-size: 1.45rem;
    letter-spacing: 0.08em;
}

.promo-tabs {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.promo-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d9e3ef;
    color: var(--primary);
    font-size: 0.84rem;
    font-weight: 700;
    transition: all var(--transition);
}

.promo-tab:hover,
.promo-tab.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.promo-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.promo-metric {
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: #fff;
    border: 1px solid #e6edf6;
}

.promo-metric span,
.promo-metric strong {
    display: block;
}

.promo-metric span {
    color: var(--muted);
    font-size: 0.8rem;
}

.promo-metric strong {
    margin-top: 0.25rem;
    color: var(--primary);
    font-size: 1.15rem;
}

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

.promo-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e8edf4;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(15, 47, 77, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 47, 77, 0.12);
}

.promo-card__image {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--surface);
}

.promo-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-card__discount,
.promo-card__tag {
    position: absolute;
    top: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
}

.promo-card__discount {
    left: 0.75rem;
    background: #dc3b28;
}

.promo-card__tag {
    right: 0.75rem;
    background: rgba(15, 47, 77, 0.88);
}

.promo-card__stock {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    background: rgba(220, 59, 40, 0.92);
}

.promo-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem;
}

.promo-card__category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.promo-card h3 {
    font-size: 0.98rem;
    line-height: 1.45;
}

.promo-card h3 a {
    color: var(--primary);
}

.promo-card p {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.promo-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.promo-card__price strong {
    color: #e85d3b;
    font-size: 1.18rem;
}

.promo-card__price span {
    color: var(--muted);
    font-size: 0.82rem;
    text-decoration: line-through;
}

.promo-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.76rem;
    color: var(--muted);
}

.promo-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 0.15rem;
}

.promo-card__actions form {
    display: contents;
}

.promo-card__actions .button {
    width: 100%;
}

.promo-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.2rem;
    padding: 1rem 1.1rem;
}

.promo-trust__item {
    padding: 0.9rem;
    border-radius: 0.9rem;
    background: var(--surface);
}

.promo-trust__item strong,
.promo-trust__item span {
    display: block;
}

.promo-trust__item strong {
    color: var(--primary);
    font-size: 0.88rem;
}

.promo-trust__item span {
    margin-top: 0.3rem;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.55;
}

/* ================================================
   Contact Page
   ================================================ */
.contact-hero {
    padding: 1.2rem 0 2rem;
}

.contact-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 360px;
    gap: 1.5rem;
    align-items: stretch;
}

.contact-hero__content {
    padding: 2rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #f8fbff, #ffffff 62%, #fff4e7);
    border: 1px solid #e5edf6;
}

.contact-hero__content h1 {
    max-width: 720px;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 0.85rem;
}

.contact-hero__content p {
    max-width: 720px;
    color: var(--muted);
    line-height: 1.75;
}

.contact-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.contact-hero__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.35rem;
    background: linear-gradient(180deg, var(--primary), var(--primary-deep));
    color: #fff;
}

.contact-hero__card>strong {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.72;
}

.contact-hero__card>a {
    display: block;
    margin-top: 0.45rem;
    color: #fff;
    font-size: 1.9rem;
    font-weight: 800;
}

.contact-hero__card>span {
    display: block;
    margin-top: 0.6rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.contact-hero__mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.contact-hero__mini-grid div {
    padding: 0.85rem 0.95rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hero__mini-grid small,
.contact-hero__mini-grid strong {
    display: block;
}

.contact-hero__mini-grid small {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-hero__mini-grid strong {
    margin-top: 0.35rem;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-layout {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-card {
    padding: 1.25rem;
}

.contact-card h2,
.contact-card h3,
.contact-form__head h2 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.contact-info__list {
    display: grid;
    gap: 0.8rem;
}

.contact-info__item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 0.8rem;
    align-items: start;
    padding: 0.9rem;
    border-radius: 0.95rem;
    background: var(--surface);
}

.contact-info__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 0.9rem;
    background: #fff;
    font-size: 1.15rem;
}

.contact-info__item strong,
.contact-info__item p {
    display: block;
}

.contact-info__item strong {
    color: var(--primary);
    font-size: 0.9rem;
}

.contact-info__item p {
    margin-top: 0.25rem;
    color: var(--muted);
    line-height: 1.6;
}

.contact-info__item a {
    color: var(--accent);
}

.contact-tips {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--body-text);
}

.contact-tips li+li {
    margin-top: 0.55rem;
}

.contact-form-wrap {
    padding: 1.4rem;
}

.contact-form__head p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-map iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 1.2rem;
}

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

.contact-service {
    padding: 1rem 1.05rem;
}

.contact-service strong,
.contact-service span {
    display: block;
}

.contact-service strong {
    color: var(--primary);
    font-size: 0.92rem;
}

.contact-service span {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

/* ================================================
   Empty State (shared)
   ================================================ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.empty-state__icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.empty-state h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.section-heading__sub {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* ================================================
   Responsive – New Pages
   ================================================ */
@media (max-width: 900px) {
    .pd-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pd-fitment__header,
    .pd-fitment__label-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .pd-model-list,
    .pd-fitment__facts {
        grid-template-columns: 1fr;
    }

    .pd-brand-grid {
        grid-template-columns: 1fr;
        max-height: 14rem;
        gap: 0.5rem;
    }

    .pd-brand-chip {
        padding: 0.8rem 0.7rem;
        min-height: 3.45rem;
        font-size: 0.86rem;
    }

    .pd-select-dropdown {
        padding: 0.65rem;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

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

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

    .cart-col-product {
        order: 1;
    }

    .cart-col-price {
        order: 2;
    }

    .cart-col-qty {
        order: 3;
    }

    .cart-col-total {
        order: 4;
    }

    .cart-col-action {
        order: 5;
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }

    .cart-item {
        position: relative;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card--featured {
        grid-template-columns: 1fr;
    }

    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .rich-text .image-style-side {
        float: none;
        max-width: 100%;
        margin-left: 0;
    }

    .rich-text .image-style-align-left,
    .rich-text .image-style-align-right {
        float: none;
        margin-left: 0;
        margin-right: 0;
    }

    .promo-page__layout {
        grid-template-columns: 1fr;
    }

    .promo-sidebar {
        position: static;
    }

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

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

    .promo-flash__header {
        flex-direction: column;
    }

    .contact-hero__inner,
    .contact-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 600px) {
    .pd-info__buttons {
        flex-direction: column;
    }

    .pd-info__features {
        grid-template-columns: 1fr;
    }

    .pd-brand-grid,
    .pd-year-grid {
        gap: 0.45rem;
    }

    .pd-brand-chip,
    .pd-year-chip,
    .pd-model-chip {
        width: 100%;
    }

    .promo-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .promo-tab {
        width: 100%;
    }

    .promo-metrics,
    .promo-grid,
    .promo-trust,
    .promo-card__actions {
        grid-template-columns: 1fr;
    }

    .contact-hero__content,
    .contact-form-wrap,
    .contact-card {
        padding: 1rem;
    }

    .contact-form__grid,
    .contact-service-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero__actions {
        flex-direction: column;
    }
}


/* ================================================
   Checkout Page
   ================================================ */
.checkout-section {
    padding-bottom: 3rem;
}

.checkout-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.checkout-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.checkout-card h2 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--line);
}

/* Form Inputs */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.required {
    color: #e74c3c;
}

.form-input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--line);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(241, 156, 55, 0.15);
}

.form-input::placeholder {
    color: #bbb;
}

textarea.form-input {
    resize: vertical;
}

.form-error {
    display: block;
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-option {
    display: block;
    border: 2px solid var(--line);
    border-radius: 0.75rem;
    padding: 1rem;
    cursor: pointer;
    transition: all var(--transition);
}

.payment-option--active {
    border-color: var(--accent);
    background: linear-gradient(135deg, #fff8f0, #ffecd2);
}

.payment-option--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.payment-option__content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.payment-option__icon {
    font-size: 1.5rem;
}

.payment-option__content strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.15rem;
}

.payment-option__content p {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0;
}

.payment-option__coming {
    color: #e74c3c !important;
    font-weight: 600;
}

.payment-option input[type="radio"] {
    display: none;
}

/* Checkout Summary */
.checkout-summary__card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    position: sticky;
    top: 1rem;
}

.checkout-summary__card h2 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--line);
}

.checkout-items {
    margin-bottom: 0.75rem;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 0.4rem;
    flex-shrink: 0;
}

.checkout-item__info {
    flex: 1;
}

.checkout-item__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: block;
    line-height: 1.3;
}

.checkout-item__meta {
    display: block;
    margin-top: 0.15rem;
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.45;
}

.checkout-item__qty {
    font-size: 0.75rem;
    color: var(--muted);
}

.checkout-item__price {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.9rem;
    white-space: nowrap;
}

.checkout-summary__divider {
    height: 1px;
    background: var(--line);
    margin: 0.5rem 0;
}

.checkout-summary__row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.9rem;
}

.checkout-summary__row--total {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    padding: 0.75rem 0;
}

.checkout-summary__row--total span:last-child {
    color: #e74c3c;
}

.checkout-summary__free {
    color: #27ae60;
    font-weight: 600;
}

.checkout-submit {
    margin-top: 1rem;
}

.checkout-trust {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
    font-size: 0.8rem;
    color: var(--muted);
}

.checkout-trust div {
    padding: 0.2rem 0;
}

/* ================================================
   Order Success Page
   ================================================ */
.success-section {
    padding: 3rem 0;
}

.success-card {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-card h1 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.success-order-id {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.success-message {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.success-details {
    text-align: left;
    background: var(--surface-soft);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.success-details h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.success-table {
    width: 100%;
    margin-bottom: 1.25rem;
}

.success-table td {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
    vertical-align: top;
}

.success-table td:first-child {
    font-weight: 600;
    color: var(--primary);
    width: 130px;
}

.success-items {
    margin-bottom: 0.75rem;
}

.success-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.25rem 1rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--line);
}

.success-item:last-child {
    border-bottom: none;
}

.success-item__name {
    color: var(--body-text);
}

.success-item__meta {
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.success-item__qty {
    color: var(--muted);
    font-size: 0.8rem;
}

.success-item__price {
    font-weight: 600;
    color: var(--accent);
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
}

.success-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    padding-top: 0.75rem;
    border-top: 2px solid var(--line);
    margin-top: 0.5rem;
}

.success-total span:last-child {
    color: #e74c3c;
}

.success-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.button--outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.button--outline:hover {
    background: var(--accent);
    color: #fff;
}

.success-contact {
    font-size: 0.85rem;
    color: var(--muted);
}

.success-contact a {
    color: var(--accent);
}

/* Checkout Responsive */
@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary__card {
        position: static;
    }
}

@media (max-width: 600px) {
    .success-card {
        padding: 1.5rem;
    }

    .success-actions {
        flex-direction: column;
    }
}

/* ================================================
   Voucher / Coupon
   ================================================ */
.voucher-section {
    padding: 0.75rem 0 0.25rem;
}

.voucher-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.voucher-input-group {
    display: flex;
    gap: 0.5rem;
}

.voucher-input {
    flex: 1;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.voucher-apply-btn {
    white-space: nowrap;
    padding: 0.6rem 1.2rem;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 0.5rem;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.voucher-apply-btn:hover {
    background: var(--accent-dark, #d4851e);
    transform: translateY(-1px);
}

.voucher-apply-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.voucher-applied {
    background: #27ae60 !important;
    cursor: default !important;
}

.voucher-message {
    font-size: 0.82rem;
    margin-top: 0.4rem;
    min-height: 1.2em;
    transition: color var(--transition);
}

.voucher-message--success {
    color: #27ae60;
    font-weight: 600;
}

.voucher-message--error {
    color: #e74c3c;
    font-weight: 600;
}

.voucher-login-prompt {
    padding: 0.8rem 1rem;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #6d4c00;
}

.voucher-login-prompt a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

.checkout-summary__discount {
    color: #27ae60;
    font-weight: 600;
}

/* Success page voucher display */
.success-voucher {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    padding: 0.6rem 0.9rem;
    border-radius: 0.5rem;
    margin: 0.75rem 0 0.5rem;
    font-size: 0.88rem;
    color: #2e7d32;
}

.success-subtotal,
.success-discount {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    color: var(--body-text);
}

.success-discount span:last-child {
    color: #27ae60;
    font-weight: 600;
}

/* ================================================
   Conservative mobile refinements
   ================================================ */
html {
    scroll-padding-top: 92px;
}

body {
    overflow-x: hidden;
}

.container {
    width: min(1280px, calc(100% - 1.5rem));
}

.button {
    min-height: 44px;
}

.footer-bottom__badges {
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 72px;
    }

    .promo-bar__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .promo-bar__sep {
        display: none;
    }

    .header-search input {
        min-height: 46px;
        font-size: 0.95rem;
    }

    .header-quicklinks {
        justify-content: flex-start;
        gap: 0.65rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.15rem;
        scrollbar-width: none;
    }

    .header-quicklinks::-webkit-scrollbar {
        display: none;
    }

    .header-quicklinks a {
        padding: 0.45rem 0.8rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-category-btn,
    .nav-links a,
    .nav-cta {
        padding: 0.7rem 0.9rem;
    }

    .nav-category-btn {
        flex-shrink: 0;
    }

    .nav-category-btn .nav-dropdown--mega {
        display: none !important;
    }

    .section {
        padding: 2.25rem 0;
    }

    .page-hero,
    .page-hero--compact {
        padding: 1.75rem 0;
    }

    .banner-slide img {
        height: clamp(220px, 54vw, 340px);
    }

    .catalog-topbar__search {
        width: 100%;
    }

    .catalog-topbar__search input {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .product-card__body {
        padding: 0.9rem;
    }

    .product-card h3 {
        font-size: 0.98rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-card__action {
        flex-direction: column;
    }

    .product-card__action form,
    .product-card__action .button {
        width: 100%;
    }

    .cart-items {
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .cart-item {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 1rem;
        box-shadow: var(--shadow);
        margin-bottom: 1rem;
    }

    .cart-col-price,
    .cart-col-qty,
    .cart-col-total {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .cart-col-price::before,
    .cart-col-qty::before,
    .cart-col-total::before {
        content: attr(data-label);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--muted);
    }

    .cart-summary__card,
    .checkout-summary__card {
        position: static;
    }

    .blog-article__meta,
    .blog-article__share {
        flex-wrap: wrap;
        gap: 0.6rem;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(1280px, calc(100% - 1rem));
    }

    .banner-arrow {
        display: none;
    }

    .product-grid,
    .product-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.75rem;
    }

    .product-card__body {
        padding: 0.75rem;
        gap: 0.35rem;
    }

    .product-card__badge,
    .product-card__discount {
        top: 0.5rem;
        padding: 0.2rem 0.45rem;
        font-size: 0.68rem;
    }

    .product-card__badge {
        left: 0.5rem;
    }

    .product-card__discount {
        right: 0.5rem;
    }

    .product-card__stock {
        left: 0.5rem;
        bottom: 0.5rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.68rem;
    }

    .product-card h3,
    .product-grid--compact .product-card h3 {
        font-size: 0.9rem;
    }

    .product-card__price strong,
    .product-grid--compact .product-card__price strong {
        font-size: 0.92rem;
    }

    .product-card__price span,
    .product-grid--compact .product-card__price span {
        font-size: 0.74rem;
    }

    .pd-qty {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }

    .pd-qty__control {
        width: 100%;
    }

    .pd-qty__btn {
        width: 48px;
        height: 48px;
    }

    .pd-qty__control input {
        flex: 1;
        width: auto;
        height: 48px;
    }

    .pd-info__buttons {
        flex-direction: column;
    }

    .pd-info__buttons .button {
        width: 100%;
    }

    .pd-spec-table,
    .pd-spec-table tbody,
    .pd-spec-table tr,
    .pd-spec-table td {
        display: block;
        width: 100%;
    }

    .pd-spec-table tr {
        padding: 0.55rem 0;
        border-bottom: 1px solid var(--line);
    }

    .pd-spec-table td {
        padding: 0.15rem 0;
        border: none;
    }

    .pd-spec-table td:first-child {
        width: 100%;
        background: none;
        padding-bottom: 0.3rem;
    }

    .cart-col-product {
        align-items: flex-start;
        padding-right: 1.75rem;
    }

    .cart-item__img {
        width: 84px;
        height: 84px;
    }

    .cart-col-price,
    .cart-col-qty,
    .cart-col-total {
        flex-wrap: wrap;
    }

    .voucher-input-group {
        flex-direction: column;
    }

    .voucher-apply-btn {
        width: 100%;
    }

    .checkout-card,
    .checkout-summary__card,
    .contact-hero__content,
    .contact-form-wrap,
    .contact-card {
        padding: 1rem;
    }

    .contact-map iframe {
        min-height: 280px;
    }

    .blog-article__header,
    .blog-article__cover,
    .blog-article__content,
    .blog-article__footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 360px) {

    .product-grid,
    .product-grid--compact,
    .feature-strip__inner {
        grid-template-columns: 1fr !important;
    }
}

/* ================================================
   Mobile Hamburger Button & Drawer
   ================================================ */
.mobile-menu-btn {
    display: none;
}

.mobile-overlay {
    display: none;
}

.mobile-drawer-header {
    display: none;
}

.mobile-drawer-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
}

.mobile-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-drawer-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        padding: 9px;
        border: 1.5px solid rgba(255, 255, 255, 0.4);
        border-radius: 6px;
        background: transparent;
        cursor: pointer;
        flex-shrink: 0;
    }

    .mobile-menu-btn span {
        display: block;
        height: 3px;
        background: #fff;
        border-radius: 2px;
        transition: transform 0.3s, opacity 0.3s;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .mobile-overlay.is-open {
        display: block;
        opacity: 1;
    }
}

/* ================================================
   Auth Pages (Login / Register)
   ================================================ */

/* Header account button */
.header-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity var(--transition);
}

.header-account-btn:hover {
    opacity: 0.8;
}

/* Mobile drawer auth links */
.nav-auth-mobile {
    display: none;
}

@media (max-width: 768px) {

    .header-account-btn span,
    .header-account-btn {
        font-size: 0.78rem;
    }

    .nav-auth-mobile {
        display: flex;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }

    .nav-auth-mobile a {
        display: block;
        padding: 0.7rem 1rem;
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.95rem;
        text-decoration: none;
        transition: background var(--transition);
    }

    .nav-auth-mobile a:hover {
        background: rgba(255, 255, 255, 0.08);
    }
}

/* Auth page layout */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    padding: 2.5rem 2rem;
}

.auth-card__title {
    font-size: 1.6rem;
    color: var(--primary-deep);
    margin-bottom: 0.3rem;
    text-align: center;
}

.auth-card__subtitle {
    font-size: 0.9rem;
    color: var(--muted);
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-messages {
    margin-bottom: 1rem;
}

.auth-form__group {
    margin-bottom: 1.2rem;
}

.auth-form__group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.form-input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color var(--transition);
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(19, 57, 92, 0.1);
}

.auth-form__error {
    display: block;
    font-size: 0.8rem;
    color: #dc3b28;
    margin-top: 0.25rem;
}

.auth-form__submit {
    width: 100%;
    margin-top: 0.5rem;
}

.auth-card__footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.auth-card__footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-card__footer a:hover {
    text-decoration: underline;
}
