:root {
    --primary-color: #0e4d92;
    --primary-dark: #0a3a71;
    --secondary-color: #0f766e;
    --accent-color: #f97316;
    --accent-dark: #dd650f;
    --background-color: #f4f7fb;
    --surface-soft: #eef4fb;
    --text-color: #0f172a;
    --muted-text: #5f6f86;
    --panel: #ffffff;
    --border: #d9e3ee;
    --border-strong: #c6d5e5;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 14px 32px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
    --section-space: clamp(60px, 7vw, 80px);
    --transition: 0.24s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    background:
        radial-gradient(circle at top left, rgba(14, 77, 146, 0.08), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, var(--background-color) 100%);
    max-width: 100%;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), opacity var(--transition), transform var(--transition);
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: 100%;
    max-width: 1240px;
    padding-left: 20px;
    padding-right: 20px;
}

.site-main {
    min-height: 60vh;
}

.section-space {
    padding: var(--section-space) 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(14, 77, 146, 0.04), rgba(255, 255, 255, 0.7));
}

.promo-strip {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
}

.promo-strip .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.promo-strip .small {
    font-size: 13px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1025;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(198, 213, 229, 0.7);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.header-shell {
    display: grid;
    grid-template-columns: 240px minmax(340px, 480px) auto;
    align-items: center;
    gap: 22px;
    padding: 18px 0;
    justify-content: space-between;
}

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

.brand-lockup-with-logo {
    gap: 0;
    justify-self: start;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.brand-mark-logo {
    width: 236px;
    height: 76px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(56, 189, 248, 0.22));
}

.brand-logo-image-header {
    filter: none;
}

.brand-lockup strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.brand-lockup small {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: var(--muted-text);
    line-height: 1.5;
}

.site-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 7px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    width: 100%;
    justify-self: center;
    max-width: 480px;
}

.search-quick-links {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 4px;
}

.search-quick-links a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef6ff;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.search-quick-links a:hover {
    background: var(--primary-color);
    color: #fff;
}

.site-search .form-control {
    border: 0;
    min-height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0 12px;
    color: var(--text-color);
}

.site-search .btn {
    min-width: 44px;
    min-height: 44px;
    border-radius: 999px;
    padding: 0 18px;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
    justify-self: end;
}

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

.header-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 13px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    flex: 0 0 auto;
}

.header-action span {
    display: none;
}

.header-action i {
    line-height: 1;
}

.header-action:hover {
    transform: translateY(-1px);
    border-color: rgba(14, 77, 146, 0.35);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.header-action b {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(14, 77, 146, 0.24);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.main-nav {
    border-top: 1px solid rgba(198, 213, 229, 0.7);
    background: rgba(255, 255, 255, 0.96);
}

.main-nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 15px;
    font-weight: 700;
}

.nav-items a {
    position: relative;
    color: #1e293b;
}

.nav-items a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.nav-items a:hover,
.nav-items a:focus-visible {
    color: var(--primary-color);
}

.nav-items a:hover::after,
.nav-items a:focus-visible::after {
    transform: scaleX(1);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow.text-primary,
.eyebrow.text-dark {
    background: rgba(14, 77, 146, 0.08);
    color: var(--primary-color) !important;
}

.hero-block {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, #062654 0%, var(--primary-color) 42%, var(--secondary-color) 100%);
    color: #fff;
    padding: clamp(72px, 8vw, 96px) 0 clamp(64px, 7vw, 84px);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-background-media,
.hero-block-overlay {
    position: absolute;
    inset: 0;
}

.hero-background-media {
    z-index: 0;
}

.hero-background-media picture,
.hero-background-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-block-overlay {
    z-index: 1;
    background: linear-gradient(90deg, rgba(5, 32, 70, 0.94) 0%, rgba(7, 43, 93, 0.9) 34%, rgba(8, 58, 112, 0.68) 58%, rgba(8, 58, 112, 0.26) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.62fr);
    gap: 28px;
    align-items: stretch;
}

.hero-copy h1,
.page-hero h1,
h1 {
    font-size: clamp(32px, 4vw, 40px);
    line-height: 1.12;
    font-weight: 800;
    margin: 16px 0 14px;
}

.hero-copy p,
.page-hero p {
    max-width: 700px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0 16px;
}

.hero-assurance-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.hero-assurance-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 800;
}

.hero-assurance-row i {
    color: #bde7ff;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 720px;
}

.hero-metrics div,
.hero-panel {
    border-radius: var(--radius-lg);
    padding: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.hero-metrics strong {
    display: block;
    margin-bottom: 4px;
    font-size: 22px;
    font-weight: 800;
}

.hero-panels {
    align-self: end;
    display: grid;
    gap: 16px;
    max-width: 360px;
    margin-left: auto;
}

.hero-panel h3 {
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 8px;
}

.hero-panel p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.84);
}

.hero-panel a {
    color: #fff;
    font-weight: 700;
}

.hero-panel {
    background: rgba(8, 34, 71, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-block-background .hero-grid {
    grid-template-columns: minmax(0, 760px);
}

.hero-block-background .hero-copy {
    max-width: 760px;
}

.hero-block-background .hero-panels {
    display: none;
}

.commercial-strip {
    position: relative;
    z-index: 3;
    margin-top: -34px;
}

.commercial-strip-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 24px;
    border: 1px solid rgba(14, 77, 146, 0.14);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 28%),
        #ffffff;
    box-shadow: var(--shadow-lg);
}

.commercial-strip-grid h2 {
    margin: 8px 0 6px;
    font-size: clamp(22px, 2.6vw, 30px);
}

.commercial-strip-grid p {
    max-width: 780px;
    margin: 0;
    color: var(--muted-text);
}

.commercial-strip-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.section-heading h2,
h2 {
    margin: 8px 0 0;
    font-size: clamp(26px, 3vw, 30px);
    line-height: 1.22;
    font-weight: 800;
}

h3,
.product-card-body h3,
.admin-panel h3 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}

.section-heading p,
.split-panel p,
.admin-panel p,
.blog-card p,
.testimonial-card p,
.product-card-body p,
.category-tile small,
.brand-tile small {
    color: var(--muted-text);
}

.category-grid,
.product-grid,
.brand-grid,
.testimonial-grid,
.blog-grid,
.compare-grid,
.sitemap-grid,
.trust-grid {
    display: grid;
    gap: 20px;
}

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

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

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

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

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

.category-tile,
.product-card-ui,
.brand-tile,
.testimonial-card,
.blog-card,
.detail-panel,
.empty-card,
.catalog-summary-card,
.filter-card,
.cart-summary-card,
.checkout-summary-card,
.checkout-form-card,
.product-purchase-card,
.auth-card,
.review-card,
.related-item,
.timeline-item,
.mini-record,
.trust-item {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.category-tile:hover,
.product-card-ui:hover,
.brand-tile:hover,
.testimonial-card:hover,
.blog-card:hover,
.related-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 77, 146, 0.22);
}

.category-tile,
.brand-tile,
.related-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-tile,
.brand-tile,
.testimonial-card,
.blog-card {
    padding: 22px;
}

.category-tile {
    min-height: 210px;
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 77, 146, 0.08);
    color: var(--primary-color);
    font-size: 20px;
}

.product-card-ui {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.product-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 220px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.92) 100%),
        url('../images/sources/category-pattern-background.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 52px;
}

.product-card-media img,
.product-visual-stage img,
.thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card-ui:hover .product-card-media img {
    transform: scale(1.04);
}

.product-icon-shell {
    width: 84px;
    height: 84px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
}

.stock-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.deal-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.deal-badge-new {
    background: linear-gradient(135deg, var(--secondary-color), #22a38f);
}

.stock-badge.in-stock {
    background: rgba(15, 118, 110, 0.12);
    color: var(--secondary-color);
}

.stock-badge.out-stock {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
}

.product-card-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    padding: 20px;
}

.product-card-top {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 170px;
}

.product-card-top-compact {
    min-height: 118px;
}

.product-card-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.product-title {
    margin: 0;
    font-size: 19px;
    line-height: 1.35;
    min-height: 52px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-body p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 72px;
    font-size: 14px;
}

.product-meta-line,
.product-card-footer,
.summary-line,
.summary-product,
.mini-record,
.mini-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-meta-line {
    padding-top: 12px;
    border-top: 1px solid #edf2f7;
    font-size: 12px;
    color: var(--muted-text);
}

.price-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.price-block strong {
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1;
    font-weight: 800;
}

.price-block span {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
}

.price-block small {
    color: var(--muted-text);
    font-size: 12px;
}

.product-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-card-footer .btn {
    white-space: nowrap;
}

.product-card-actions .btn {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
    white-space: nowrap;
}

.product-card-actions .btn-primary {
    min-width: 84px;
}

.icon-btn {
    width: 40px;
    min-width: 40px !important;
    height: 40px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.split-panel,
.content-layout,
.contact-layout,
.dashboard-grid,
.admin-grid-two,
.cart-layout,
.checkout-layout,
.shop-layout,
.product-detail-grid,
.detail-panels.two-up,
.footer-grid {
    display: grid;
    gap: 24px;
}

.split-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}

.feature-stack {
    display: grid;
    gap: 12px;
}

.feature-stack div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.brand-tile {
    justify-content: center;
    min-height: 156px;
}

.brand-tile span {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 118, 110, 0.1);
    color: var(--secondary-color);
    font-weight: 800;
}

.page-hero {
    padding: 64px 0 56px;
    background: linear-gradient(135deg, #0b3567, var(--primary-color) 54%, var(--secondary-color));
    color: #fff;
}

.compact-hero {
    padding: 54px 0 48px;
}

.checkout-hero {
    padding: 14px 0 10px;
}

.checkout-hero .eyebrow {
    margin-bottom: 4px;
    padding: 5px 11px;
    font-size: 10px;
}

.checkout-hero h1 {
    margin-bottom: 3px;
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.08;
}

.checkout-hero p {
    margin: 0;
    font-size: 13px;
}

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

.shop-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
}

.checkout-layout-compact {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
    gap: 14px;
    align-items: start;
}

.checkout-form-card-compact,
.checkout-summary-card-compact {
    padding: 14px;
}

.checkout-form-card-compact h3,
.checkout-summary-card-compact h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.checkout-form-card-compact .row {
    --bs-gutter-x: 10px;
    --bs-gutter-y: 10px;
}

.checkout-form-card-compact .form-control,
.checkout-form-card-compact .form-select {
    min-height: 38px;
    padding-left: 11px;
    padding-right: 11px;
    font-size: 13px;
    border-radius: 9px;
}

.checkout-form-card-compact textarea.form-control {
    min-height: 52px;
    padding-top: 8px;
}

.checkout-summary-card-compact {
    position: sticky;
    top: 116px;
}

.checkout-summary-card-compact .summary-product-list {
    display: grid;
    gap: 8px;
}

.checkout-summary-card-compact .summary-product {
    padding-bottom: 8px;
    border-bottom: 1px solid #edf2f7;
}

.checkout-summary-card-compact .summary-product:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.checkout-summary-card-compact .summary-product strong,
.checkout-summary-card-compact .summary-line strong {
    font-size: 14px;
}

.checkout-summary-card-compact .mini-note {
    font-size: 11px;
    line-height: 1.4;
}

.checkout-form-card-compact .address-hint {
    margin-top: 10px !important;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fbff;
    border: 1px solid #d9e7f5;
}

.checkout-form-card-compact .address-hint strong {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
}

.checkout-summary-card-compact .btn {
    min-height: 40px;
    margin-top: 10px !important;
}

@media (min-width: 993px) {
    .checkout-hero {
        display: none;
    }
}

.shop-sidebar {
    position: sticky;
    top: 144px;
}

.filter-card,
.cart-summary-card,
.checkout-summary-card,
.checkout-form-card,
.product-purchase-card,
.auth-card {
    padding: 24px;
}

.catalog-sidebar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.catalog-sidebar-head h3 {
    margin: 8px 0 0;
    font-size: 28px;
}

.filter-actions {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #edf2f7;
}

.catalog-summary-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 20px;
    padding: 24px;
    margin-bottom: 18px;
}

.catalog-summary-card h2 {
    margin: 8px 0;
    font-size: clamp(28px, 3vw, 32px);
}

.catalog-summary-card p {
    margin: 0;
    color: var(--muted-text);
}

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

.catalog-summary-meta div {
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #f9fbff 0%, #f2f7fb 100%);
}

.catalog-summary-meta strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
}

.catalog-summary-meta span {
    color: var(--muted-text);
    font-size: 13px;
}

.active-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.active-filter-chip,
.chip,
.blog-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(14, 77, 146, 0.08);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

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

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.pagination-link {
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.pagination-link:hover {
    border-color: rgba(14, 77, 146, 0.35);
    color: var(--primary-color);
}

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

.pagination-link.disabled {
    pointer-events: none;
    opacity: 0.45;
}

.hero-visual-card {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
}

.hero-visual-card picture,
.hero-visual-card img,
.category-tile-media picture,
.category-tile-media img,
.blog-card-media picture,
.blog-card-media img,
.offer-banner-card picture,
.offer-banner-card img,
.offer-product-image picture,
.offer-product-image img,
.compare-product-media picture,
.compare-product-media img,
.testimonial-avatar picture,
.testimonial-avatar img,
.detail-hero-media picture,
.detail-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-visual-image,
.category-tile-image,
.blog-card-image,
.offer-banner-image,
.compare-product-image,
.testimonial-avatar-image,
.detail-hero-image,
.product-picture,
.product-detail-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-visual-image {
    object-position: center center;
}

.category-tile {
    padding: 0;
    gap: 0;
    overflow: hidden;
}

.category-tile-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.9) 100%),
        url('../images/sources/category-pattern-background.png') center/cover no-repeat;
}

.category-tile-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px 22px;
}

.blog-card {
    padding: 0;
    overflow: hidden;
}

.blog-card-media {
    display: block;
    aspect-ratio: 12 / 7;
    overflow: hidden;
    background: linear-gradient(180deg, #dceaf9 0%, #cfe7e5 100%);
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
}

.testimonial-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.testimonial-avatar {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    overflow: hidden;
    flex: 0 0 auto;
    background: linear-gradient(180deg, #e8f1fb 0%, #edf7f6 100%);
    border: 1px solid var(--border);
}

.testimonial-head small {
    display: block;
    margin-top: 4px;
    color: var(--muted-text);
}

.offer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 22px;
    align-items: stretch;
}

.offer-banner-card,
.offer-list-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.offer-banner-card {
    position: relative;
    min-height: 360px;
}

.offer-banner-copy {
    position: absolute;
    left: 24px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 420px;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: rgba(8, 36, 68, 0.72);
    backdrop-filter: blur(12px);
    color: #fff;
}

.offer-banner-copy h3 {
    margin: 12px 0 10px;
    color: #fff;
}

.offer-banner-copy p {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.82);
}

.offer-list-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
    gap: 14px;
}

.offer-product-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.offer-product-item:hover {
    transform: translateY(-2px);
    border-color: rgba(14, 77, 146, 0.22);
    box-shadow: var(--shadow-sm);
}

.offer-product-item strong,
.offer-product-item span {
    display: block;
}

.offer-product-item span {
    margin-top: 6px;
    color: var(--primary-color);
    font-weight: 700;
}

.offer-product-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #eef4fb 0%, #dfeef0 100%);
}

.detail-hero-media,
.compare-product-media {
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #edf5ff 0%, #e7f2ef 100%);
}

.detail-hero-media {
    margin-bottom: 22px;
    aspect-ratio: 12 / 5;
}

.compare-product-media {
    margin-bottom: 18px;
    aspect-ratio: 1 / 1;
}

.product-detail-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: start;
}

.product-detail-grid > *,
.product-purchase-card,
.product-visual {
    min-width: 0;
}

.visual-stage,
.map-placeholder {
    min-height: 440px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #eef4fb 0%, #dfeef0 100%);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: var(--primary-color);
    font-size: 52px;
    box-shadow: var(--shadow-sm);
}

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

.thumb-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.thumb-card {
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    color: var(--muted-text);
    font-size: 13px;
}

.thumb-card img {
    max-height: 130px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.purchase-chip-row,
.variant-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.price-stack {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.price-stack strong {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.price-stack span {
    font-size: 16px;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-order-form .form-control {
    min-width: 0;
}

.product-order-form .btn {
    flex: 0 0 148px;
    white-space: nowrap;
}

.detail-panels {
    display: grid;
    gap: 20px;
    margin-top: 24px;
}

.detail-panel {
    padding: 24px;
}

.product-spec-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.product-spec-table {
    width: 100%;
    min-width: 560px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
}

.product-spec-table th,
.product-spec-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.product-spec-table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 800;
}

.product-spec-table tr:last-child td {
    border-bottom: 0;
}

.product-spec-table td:last-child,
.product-spec-table th:last-child {
    text-align: right;
    white-space: nowrap;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
    gap: 24px;
    align-items: start;
}

.about-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.about-image-stack {
    display: grid;
    gap: 14px;
}

.about-image,
.about-image-pair img {
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    background: #e2e8f0;
}

.about-image {
    display: block;
    aspect-ratio: 16 / 11;
}

.about-image img,
.about-image-pair img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.about-image-pair img {
    aspect-ratio: 1 / 0.82;
}

.about-business-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
    gap: 24px;
    margin-top: 24px;
    align-items: start;
}

.about-support-links {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.about-support-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #f8fafc;
    color: #334155;
    font-weight: 800;
    text-decoration: none;
}

.about-support-links i {
    color: var(--primary-color);
}

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

.compact-heading {
    margin-bottom: 22px;
}

.compact-heading h2 {
    margin-bottom: 8px;
    font-size: clamp(24px, 2.2vw, 34px);
}

.faq-panel .accordion-button {
    gap: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.faq-panel .accordion-body {
    color: #475569;
    line-height: 1.75;
}

.faq-support-card {
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.faq-support-media {
    display: block;
    aspect-ratio: 16 / 10;
    background: #e2e8f0;
}

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

.faq-support-body {
    padding: 22px;
}

.faq-support-body h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.faq-support-list {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.faq-support-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.faq-support-list i {
    color: var(--secondary-color);
}

.prose-block p:last-child,
.detail-panel p:last-child {
    margin-bottom: 0;
}

.review-card,
.related-item,
.timeline-item,
.mini-record {
    margin-bottom: 12px;
    padding: 16px 18px;
}

.review-stars,
.testimonial-stars {
    color: #f59e0b;
    letter-spacing: 0.1em;
}

.trust-ribbon {
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(198, 213, 229, 0.7);
    border-bottom: 1px solid rgba(198, 213, 229, 0.7);
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
}

.site-footer {
    background:
        radial-gradient(circle at top right, rgba(14, 77, 146, 0.32), transparent 18%),
        #091323;
    color: #fff;
    padding: 56px 0 22px;
}

.footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
}

.footer-brand-image {
    display: block;
    width: min(260px, 100%);
    height: auto;
    margin-bottom: 14px;
    border-radius: 12px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.chat-toggle {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    box-shadow: 0 18px 40px rgba(14, 77, 146, 0.24);
}

.chat-toggle:hover {
    transform: translateY(-2px);
}

.auth-card {
    max-width: 520px;
    margin: 0 auto;
}

.auth-card-wide {
    max-width: 820px;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    font-size: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: clamp(6px, var(--button-radius, 8px), 10px);
    font-weight: 700;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0f68b6);
    border: 0;
    box-shadow: 0 10px 22px rgba(14, 77, 146, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 12px 26px rgba(14, 77, 146, 0.24);
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-light {
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: rgba(14, 77, 146, 0.24);
}

.btn-outline-primary:hover {
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-secondary {
    border-color: var(--border);
    color: var(--text-color);
}

.btn-outline-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.46);
}

.form-control,
.form-select {
    min-height: 48px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    padding-left: 14px;
    padding-right: 14px;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

textarea.form-control {
    min-height: auto;
    padding-top: 12px;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(14, 77, 146, 0.55);
    box-shadow: 0 0 0 4px rgba(14, 77, 146, 0.12);
}

.form-label.small {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #475569;
}

.accordion-item {
    overflow: hidden;
    border-radius: 12px !important;
    border: 1px solid var(--border);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.empty-card {
    padding: 34px 24px;
    text-align: center;
}

.toast-stack {
    position: fixed;
    top: 110px;
    right: 20px;
    z-index: 1080;
    width: min(360px, calc(100vw - 24px));
    display: grid;
    gap: 10px;
}

.toast-note {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    font-size: 14px;
}

.toast-note.is-success {
    border-color: rgba(15, 118, 110, 0.22);
}

.toast-note.is-danger {
    border-color: rgba(220, 38, 38, 0.2);
}

.toast-note.is-info {
    border-color: rgba(14, 77, 146, 0.2);
}

.alert {
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.lead-widget-panel {
    position: fixed;
    right: 22px;
    bottom: 88px;
    z-index: 1045;
    width: min(360px, calc(100vw - 24px));
}

.lead-widget-card {
    border: 1px solid rgba(14, 77, 146, 0.12);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.lead-widget-panel.is-open .lead-widget-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.lead-widget-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px 12px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.lead-widget-body {
    max-height: min(54vh, 430px);
    overflow-y: auto;
    padding: 14px 16px 16px;
}

.lead-modal-kicker {
    display: inline-flex;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
}

.lead-widget-title {
    font-size: 18px;
    line-height: 1.15;
    margin: 0;
}

.lead-chat-intro {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f8ff 100%);
    border: 1px solid rgba(14, 77, 146, 0.08);
}

.lead-chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0f766e 100%);
    color: #fff;
    flex: 0 0 auto;
}

.lead-chat-intro strong {
    display: block;
    font-size: 13px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.lead-chat-intro p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #5b6f84;
}

.lead-widget-body .form-control,
.lead-widget-body .form-select {
    min-height: 44px;
    font-size: 14px;
}

.lead-widget-body textarea.form-control {
    min-height: 112px;
}

.lead-wizard-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 12px;
}

.lead-wizard-progress span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 30px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef4fb;
    color: #61758a;
    font-size: 11px;
    font-weight: 700;
}

.lead-wizard-progress span.is-active {
    background: rgba(14, 77, 146, 0.12);
    color: var(--primary-color);
}

.lead-wizard-intro {
    margin-bottom: 12px;
    color: var(--muted-text);
    font-size: 13px;
}

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

.lead-quick-picks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lead-pick-chip {
    border: 1px solid rgba(14, 77, 146, 0.14);
    background: #f8fbff;
    color: var(--primary-color);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.lead-pick-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(14, 77, 146, 0.3);
    box-shadow: var(--shadow-sm);
}

.lead-wizard-note {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid rgba(14, 77, 146, 0.08);
    padding: 10px 12px;
    color: #516579;
    font-size: 12px;
}

.lead-wizard-note i {
    color: var(--primary-color);
}

.lead-wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.lead-wizard-actions .btn {
    min-width: 104px;
}

@media (max-width: 1200px) {
    .product-grid,
    .shop-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .header-shell {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .header-shell > .header-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 992px) {
    .header-shell,
    .hero-grid,
    .shop-layout,
    .product-detail-grid,
    .cart-layout,
    .checkout-layout,
    .content-layout,
    .about-intro-grid,
    .about-business-grid,
    .faq-layout,
    .contact-layout,
    .dashboard-grid,
    .split-panel,
    .offer-layout,
    .commercial-strip-grid,
    .footer-grid,
    .admin-grid-two,
    .catalog-summary-card,
    .catalog-summary-meta {
        grid-template-columns: 1fr;
    }

    .commercial-strip {
        margin-top: 0;
        padding-top: 18px;
    }

    .commercial-strip-actions {
        justify-content: flex-start;
    }

    .header-shell {
        gap: 14px;
    }

    .site-search {
        order: 3;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        justify-self: end;
    }

    .header-shell > .header-actions {
        display: none;
    }

    .nav-mobile-actions {
        display: flex;
        width: 100%;
        justify-content: flex-start;
    }

    .main-nav {
        display: none;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav-shell {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .nav-items a::after {
        display: none;
    }

    .product-grid,
    .category-grid,
    .testimonial-grid,
    .blog-grid,
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .shop-sidebar {
        position: static;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .offer-banner-copy {
        left: 18px;
        right: 18px;
        top: auto;
        bottom: 18px;
        transform: none;
        max-width: none;
        padding: 18px;
    }

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

    .checkout-summary-card-compact {
        position: static;
        top: auto;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .promo-strip {
        padding: 8px 0;
    }

    .promo-strip .container {
        justify-content: center;
        gap: 6px;
        text-align: center;
    }

    .promo-strip .small {
        width: 100%;
        min-width: 0;
        justify-content: center;
        overflow-wrap: anywhere;
    }

    .promo-strip .small.d-flex {
        flex-wrap: wrap;
        row-gap: 4px;
        column-gap: 10px !important;
    }

    .promo-strip .small.d-flex span {
        flex: 1 1 100%;
        min-width: 0;
        justify-content: center;
        overflow-wrap: anywhere;
    }

    .promo-strip .container,
    .section-heading,
    .footer-bottom,
    .auth-links,
    .catalog-sidebar-head,
    .product-card-footer,
    .product-meta-line {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-grid,
    .category-grid,
    .testimonial-grid,
    .blog-grid,
    .brand-grid,
    .trust-grid,
    .compare-grid,
    .sitemap-grid {
        grid-template-columns: 1fr;
    }

    .header-shell {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 14px 0;
    }

    .brand-lockup {
        grid-column: 1 / 2;
    }

    .brand-mark-logo {
        width: 184px;
        height: 58px;
    }

    .site-search {
        grid-column: 1 / -1;
        flex-wrap: wrap;
        border-radius: 22px;
        padding: 9px;
        max-width: 100%;
        min-width: 0;
    }

    .site-search .form-control {
        flex: 1 1 calc(100% - 62px);
    }

    .search-quick-links {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding: 4px 2px 0;
    }

    .page-hero,
    .compact-hero {
        padding: 42px 0 38px;
        overflow: hidden;
    }

    .page-hero .container {
        padding-right: 28px;
    }

    .page-hero h1,
    .hero-copy h1,
    h1 {
        font-size: 31px;
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    .page-hero p,
    .hero-copy p {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.65;
        overflow-wrap: anywhere;
    }

    .site-main,
    .section-space,
    .section-space .container,
    .product-detail-grid,
    .detail-panels,
    .product-visual,
    .product-purchase-card,
    .detail-panel,
    .prose-block {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .product-purchase-card,
    .detail-panel,
    .visual-stage {
        overflow: hidden;
    }

    .product-detail-grid {
        gap: 18px;
    }

    .visual-stage {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .product-visual-stage img,
    .product-detail-picture {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .product-purchase-card,
    .detail-panel {
        padding: 18px;
        padding-right: 28px;
    }

    .price-stack {
        display: grid;
        gap: 6px;
    }

    .price-stack strong {
        font-size: 31px;
        line-height: 1.08;
    }

    .product-order-form {
        flex-direction: column;
        width: 100%;
    }

    .product-order-form .form-control {
        width: 100%;
    }

    .product-order-form .btn {
        flex: 0 0 auto !important;
        width: 100%;
        min-height: 52px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .product-purchase-card > .d-flex.gap-2 {
        flex-wrap: wrap;
    }

    .product-purchase-card > .d-flex.gap-2 form,
    .product-purchase-card > .d-flex.gap-2 .btn {
        width: 100%;
    }

    .commercial-strip-grid {
        padding: 18px;
        border-radius: 18px;
    }

    .commercial-strip-actions .btn {
        width: 100%;
    }

    .hero-actions .btn,
    .product-card-actions .btn,
    .checkout-layout .btn,
    .cart-layout .btn {
        width: 100%;
    }

    .offer-product-item {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .product-card-actions {
        width: 100%;
    }

    .chat-toggle span {
        display: none;
    }

    .lead-widget-panel {
        right: 12px;
        left: 12px;
        bottom: 82px;
        width: auto;
    }

    .lead-grid-two {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lead-wizard-step {
        min-height: auto;
    }

    .lead-wizard-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .lead-wizard-actions .btn {
        width: 100%;
    }

    .product-spec-table-wrap {
        overflow: visible;
    }

    .product-spec-table {
        min-width: 0;
        border: 0;
        background: transparent;
    }

    .product-spec-table thead {
        display: none;
    }

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

    .product-spec-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: #fff;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
    }

    .product-spec-table td {
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 10px;
        padding: 11px 12px;
        border-bottom: 1px solid var(--border);
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .product-spec-table td:last-child {
        border-bottom: 0;
        text-align: left;
        white-space: normal;
    }

    .product-spec-table td::before {
        color: var(--muted-text);
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .product-spec-table td:nth-child(1)::before {
        content: "Code";
    }

    .product-spec-table td:nth-child(2)::before {
        content: "Description";
    }

    .product-spec-table td:nth-child(3)::before {
        content: "Pack Qty";
    }

    .toast-stack {
        left: 12px;
        right: 12px;
        top: 96px;
        width: auto;
    }
}
