:root {
    --background: #f4f7fa;
    --card: #ffffff;
    --text: #042037;
    --muted: #496c89;
    --border: #d6e0e8;
    --primary: #2a4f6e;
    --primary-text: #ffffff;
    --accent: #718da5;
    --accent-soft: #e8eef3;
    --aqua: #496c89;
    --aqua-soft: #edf3f7;
    --leaf-soft: #edf3f7;
    --ink: #042037;
    --danger: #dc2626;
    --success: #16a34a;
    --warning: #d97706;
    --focus: #496c89;
    --radius: 8px;
    --shadow: 0 8px 24px rgba(4, 32, 55, 0.06);
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--background);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.page {
    flex: 1 0 auto;
    padding: 36px 0 72px;
}

.page-wide {
    width: 100%;
    padding: 0;
}

.page-wide > .alert {
    width: min(1120px, calc(100% - 32px));
    margin: 84px auto -64px;
    position: relative;
    z-index: 5;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--border);
    background: rgba(244, 247, 250, 0.94);
    backdrop-filter: blur(14px);
}

.navbar-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-logo,
.admin-brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0;
}

.brand-logo-image {
    display: block;
    width: clamp(200px, 20vw, 260px);
    height: auto;
    max-height: 76px;
    object-fit: contain;
    flex: 0 0 auto;
    filter:
        drop-shadow(0 2px 8px rgba(0, 0, 0, 0.36))
        drop-shadow(0 0 6px rgba(255, 255, 255, 0.24))
        saturate(1.15) brightness(1.05);
}

.footer-logo .brand-logo-image,
.admin-brand .brand-logo-image,
.auth-logo .brand-logo-image {
    width: 240px;
    height: auto;
    max-height: 84px;
    filter:
        drop-shadow(0 2px 8px rgba(0, 0, 0, 0.36))
        drop-shadow(0 0 6px rgba(255, 255, 255, 0.24))
        saturate(1.15) brightness(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a,
.admin-nav a {
    border-radius: 10px;
    color: var(--muted);
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.permission-fieldset {
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
}

.permission-fieldset legend {
    padding: 0 6px;
    color: var(--text);
    font-weight: 850;
}

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

.permission-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #f7fafc;
    padding: 10px 12px;
    cursor: pointer;
}

.permission-option:has(input:checked) {
    border-color: var(--primary);
    background: #eaf2f8;
    color: var(--primary-dark);
}

.permission-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.admin-user-list {
    display: grid;
    gap: 10px;
}

.admin-user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.admin-user-row:first-child { padding-top: 0; }
.admin-user-row:last-child { border-bottom: 0; padding-bottom: 0; }
.admin-user-row div { display: grid; gap: 5px; }
.admin-user-row small { color: var(--muted); line-height: 1.45; }

.protected-account-badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #eef3f7;
    padding: 8px 11px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.password-change-card {
    width: min(100%, 620px);
}

@media (max-width: 640px) {
    .permission-grid { grid-template-columns: 1fr; }
    .admin-user-row { align-items: stretch; flex-direction: column; }
    .nav-logo .brand-logo-image {
        width: 176px;
        max-height: 46px;
    }

    .footer-logo .brand-logo-image,
    .admin-brand .brand-logo-image,
    .auth-logo .brand-logo-image {
        width: 198px;
        max-height: 58px;
    }
}

.nav-links a:hover,
.admin-nav a:hover,
.admin-nav a.is-active {
    background: var(--leaf-soft);
    color: var(--text);
}

.cart-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--card);
    min-height: 38px;
    padding: 0 8px 0 12px;
    font-size: 14px;
    font-weight: 700;
}

.cart-icon {
    position: relative;
    display: inline-block;
    width: 17px;
    height: 14px;
    margin-right: 1px;
    border: 2px solid currentColor;
    border-top-width: 3px;
    border-radius: 3px 3px 5px 5px;
    font-size: 0;
    opacity: 0.86;
}

.cart-icon::before {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    top: -7px;
    height: 7px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.cart-total {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--primary-text);
    padding: 0 9px;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.landing-page .cart-total {
    background: #fff;
    color: var(--ink);
}

.cart-pill strong {
    display: grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: var(--primary);
    color: var(--primary-text);
    font-size: 12px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    padding: 52px 0 42px;
    margin-bottom: 34px;
}

.landing-page .navbar {
    position: fixed;
    inset: 0 0 auto;
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.14);
    background: rgba(4, 32, 55, 0.76);
}

.landing-page .nav-links a {
    color: rgba(255, 255, 255, 0.76);
}

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

.landing-page .cart-pill {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.landing-page .cart-pill strong {
    background: #fff;
    color: #09090b;
}

.fuel-hero {
    position: relative;
    min-height: clamp(520px, 72vh, 690px);
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--ink);
}

.fuel-hero-bg,
.fuel-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.fuel-hero-bg {
    object-fit: cover;
    filter: saturate(0.9) contrast(1.02);
}

.fuel-hero-overlay {
    background:
        linear-gradient(90deg, rgba(4, 32, 55, 0.92) 0%, rgba(18, 53, 82, 0.7) 48%, rgba(42, 79, 110, 0.36) 100%),
        linear-gradient(0deg, rgba(4, 32, 55, 0.42), rgba(4, 32, 55, 0.08));
}

.pool-hero-overlay {
    background:
        linear-gradient(90deg, rgba(5, 18, 28, 0.82) 0%, rgba(5, 18, 28, 0.54) 45%, rgba(5, 18, 28, 0.24) 100%),
        linear-gradient(0deg, rgba(5, 18, 28, 0.24), rgba(5, 18, 28, 0.06));
}

.dual-hero-left {
    inset: 0 50% 0 0;
    width: 50%;
}

.dual-hero-right {
    inset: 0 0 0 50%;
    width: 50%;
}

.dual-hero-overlay {
    background:
        linear-gradient(90deg, rgba(4, 32, 55, 0.92), rgba(18, 53, 82, 0.7) 50%, rgba(42, 79, 110, 0.48)),
        linear-gradient(0deg, rgba(4, 32, 55, 0.4), rgba(4, 32, 55, 0.08));
}

.fuel-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 16px;
    padding-top: 88px;
    padding-bottom: 36px;
    color: #fff;
}

.fuel-hero-content .eyebrow,
.fuel-hero-content .hero-copy {
    color: rgba(226, 235, 242, 0.86);
}

.fuel-hero-content h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1;
    letter-spacing: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.button-light {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--ink);
}

.button-light:hover {
    border-color: #dce6ee;
    background: #dce6ee;
    color: var(--ink);
}

.button-ghost-light {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.button-ghost-light:hover {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.14);
}

.landing-section {
    padding: 68px 0;
}

.landing-section + .landing-section {
    border-top: 1px solid var(--border);
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
}

.category-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    padding: 0 14px;
    font-size: 14px;
    font-weight: 800;
}

.category-pills a:hover,
.category-pills a.is-active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--primary-text);
}

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

.fuel-product-card {
    box-shadow: 0 10px 26px rgba(27, 39, 31, 0.05);
}

.fuel-product-card .product-image {
    background: #fff;
}

.landing-about {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.82fr);
    gap: clamp(28px, 7vw, 96px);
    align-items: center;
    padding-left: max(16px, calc((100vw - 1120px) / 2));
    padding-right: max(16px, calc((100vw - 1120px) / 2));
    background: #fff;
}

.about-media {
    min-height: 420px;
    overflow: hidden;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.about-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.split-about-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-about-media img {
    min-width: 0;
}

.about-copy {
    max-width: 520px;
}

.about-copy h2,
.center-heading h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.06;
}

.about-copy p {
    color: var(--muted);
}

.center-heading {
    margin-bottom: 32px;
    text-align: center;
}

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

.testimonial {
    margin: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 24px;
    text-align: center;
}

.testimonial blockquote {
    margin: 0;
    color: var(--text);
}

.testimonial blockquote::before {
    content: "“";
    display: block;
    color: #09090b;
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.testimonial figcaption {
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.testimonials-section {
    overflow: hidden;
    background: #edf3f7;
}

.testimonials-heading {
    align-items: end;
}

.rating-summary {
    display: grid;
    justify-items: end;
    gap: 2px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 12px 16px;
    box-shadow: var(--shadow);
}

.rating-summary .stars,
.testimonial-stars {
    color: var(--accent);
    letter-spacing: 0.08em;
}

.rating-summary strong {
    color: var(--text);
    font-size: 20px;
    line-height: 1;
}

.rating-summary small {
    color: var(--muted);
    font-size: 12px;
}

.testimonial-carousel {
    position: relative;
    margin-inline: calc((100vw - min(1180px, calc(100vw - 32px))) / -2);
    overflow: hidden;
    padding: 8px 0 12px;
}

.testimonial-carousel::before,
.testimonial-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: min(12vw, 150px);
    pointer-events: none;
}

.testimonial-carousel::before {
    left: 0;
    background: linear-gradient(90deg, #edf3f7, rgba(237, 243, 247, 0));
}

.testimonial-carousel::after {
    right: 0;
    background: linear-gradient(270deg, #edf3f7, rgba(237, 243, 247, 0));
}

.testimonial-track {
    display: flex;
    width: max-content;
    gap: 16px;
    padding: 0 16px;
    animation: testimonial-scroll 34s linear infinite;
    will-change: transform;
}

.testimonial-carousel:hover .testimonial-track {
    animation-play-state: paused;
}

.testimonial-card {
    display: grid;
    width: min(380px, calc(100vw - 48px));
    min-height: 210px;
    gap: 16px;
    border: 1px solid var(--border);
    border-left: 5px solid var(--accent);
    border-radius: 8px;
    background: #fff;
    padding: 22px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(16px);
    transition: transform 0.32s ease, box-shadow 0.32s ease, opacity 0.32s ease;
}

.reveal-on-scroll.is-visible .testimonial-card {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-card:nth-child(5n + 2) {
    border-left-color: #496c89;
    background: #f8fafc;
}

.testimonial-card:nth-child(5n + 3) {
    border-left-color: #2a4f6e;
    background: #f4f7fa;
}

.testimonial-card:nth-child(5n + 4) {
    border-left-color: #123552;
    background: #f8fafc;
}

.testimonial-card:nth-child(5n + 5) {
    border-left-color: #718da5;
    background: #f4f7fa;
}

.testimonial-card p {
    margin: 0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.55;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    align-self: end;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

.testimonial-author strong,
.testimonial-author span {
    display: block;
}

.testimonial-author strong {
    color: var(--text);
    font-size: 13px;
    text-transform: uppercase;
}

.testimonial-author span {
    color: var(--muted);
    font-size: 12px;
}

@keyframes testimonial-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 8px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-track {
        animation: none;
        overflow-x: auto;
        width: auto;
    }

    .js-enabled .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.important-section,
.contact-section {
    background: #fff;
}

.important-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.info-tile {
    display: grid;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 20px;
}

.info-tile strong {
    font-size: 16px;
}

.info-tile span {
    color: var(--muted);
    font-size: 14px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
    gap: clamp(24px, 6vw, 76px);
    align-items: start;
}

.contact-grid h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.06;
}

.contact-grid p {
    color: var(--muted);
}

.contact-list {
    display: grid;
    gap: 14px;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fafafa;
    padding: 22px;
}

.contact-list div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
}

.contact-list div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-list dt {
    color: var(--muted);
    font-weight: 800;
}

.contact-list dd {
    margin: 0;
}

.trust-strip {
    border-top: 1px solid var(--border);
    background: #f4f4f5;
    padding: 28px 0;
}

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

.trust-grid div {
    border-left: 1px solid var(--border);
    padding-left: 18px;
}

.trust-grid div:first-child {
    border-left: 0;
    padding-left: 0;
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    margin-bottom: 4px;
}

.trust-grid span {
    color: var(--muted);
    font-size: 14px;
}

.home-hero .fuel-hero-content h1 {
    max-width: 840px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(720px, 100%);
    margin-top: 10px;
}

.hero-metrics div,
.category-feature-card,
.filter-help,
.security-badges div,
.b2b-benefits article {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 14px;
}

.hero-metrics strong {
    display: block;
    color: #fff;
    font-size: 24px;
    line-height: 1;
}

.hero-metrics span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.hero-metrics strong span {
    display: inline;
    margin: 0;
    color: inherit;
    font-size: inherit;
}

.hero-metrics div {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero-metrics div::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: #78a8cc;
    content: '';
}

.hero-metrics div:nth-child(2)::before { background: #70b6a1; }
.hero-metrics div:nth-child(3)::before { background: #d5ad62; }
.hero-metrics div:hover {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

.accent-section {
    background: #edf3f7;
}

.category-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.category-feature-card {
    display: grid;
    gap: 10px;
    border-color: var(--border);
    background: #fff;
    color: var(--text);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
    min-height: 126px;
}

.category-feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(4, 32, 55, 0.1);
    transform: translateY(-2px);
}

.category-feature-card:nth-child(3n + 1) { border-top: 3px solid #496c89; }
.category-feature-card:nth-child(3n + 2) { border-top: 3px solid #70a395; }
.category-feature-card:nth-child(3n) { border-top: 3px solid #d1a653; }

.feature-icon {
    display: grid;
    width: 42px;
    height: 34px;
    place-items: center;
    border: 1px solid #c5d3df;
    border-radius: 6px;
    background: #edf3f7;
    color: #2a4f6e;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.category-emoji {
    width: 44px;
    height: 40px;
    border-color: #c5d3df;
    background: #e8eef3;
    color: var(--primary);
    font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
    font-size: 20px;
    line-height: 1;
    filter: grayscale(1) saturate(0) contrast(1.18);
    opacity: 0.82;
    transition: filter 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.category-feature-card:hover .category-emoji {
    filter: grayscale(1) saturate(0) contrast(1.35);
    opacity: 1;
    transform: translateY(-1px) scale(1.04);
}

.category-feature-card strong {
    font-size: 18px;
}

.category-feature-card small {
    color: var(--muted);
    font-size: 14px;
}

.story-band {
    background: #e8eef3;
}

.story-grid,
.content-grid-two,
.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: start;
}

.story-copy h2,
.rich-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
}

.mini-benefits {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    color: #2a4f6e;
    font-weight: 750;
}

.mini-benefits span {
    position: relative;
    padding-left: 18px;
}

.mini-benefits span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
}

.image-mosaic {
    display: grid;
    grid-template-columns: 1fr 0.78fr;
    gap: 12px;
}

.image-mosaic img,
.image-story-grid img,
.page-hero img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(21, 33, 26, 0.12);
}

.image-mosaic img {
    aspect-ratio: 1 / 1;
    background: #fff;
}

.image-mosaic img:first-child {
    grid-row: span 2;
    height: 100%;
}

.image-mosaic-single {
    display: block;
}

.image-mosaic-single img,
.image-mosaic-single img:first-child {
    width: 100%;
    height: clamp(360px, 42vw, 560px);
    aspect-ratio: auto;
    object-position: center;
}

.color-trust-strip {
    background: var(--ink);
    color: #fff;
}

.color-trust-strip span {
    color: rgba(255, 255, 255, 0.72);
}

.page-hero,
.shop-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(22px, 4vw, 46px);
    align-items: center;
    margin-bottom: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #edf3f7;
    padding: clamp(22px, 4vw, 42px);
}

.page-hero h1,
.shop-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.02;
}

.page-hero p,
.shop-hero p {
    max-width: 720px;
    color: var(--muted);
}

.page-hero img,
.shop-hero img {
    aspect-ratio: 4 / 3;
    background: #fff;
}

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

.filter-sidebar {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 88px;
}

.filter-panel,
.filter-help {
    display: grid;
    gap: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 18px;
    box-shadow: var(--shadow);
}

.filter-panel h2 {
    margin: 0;
    font-size: 20px;
}

.filter-help {
    box-shadow: none;
    border-color: var(--border);
    background: #edf3f7;
}

.filter-help p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.shop-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.shop-results-head span {
    color: var(--muted);
    font-weight: 800;
}

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

.add-confirmation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    border: 1px solid #c9d8cd;
    border-radius: 8px;
    background: #edf5ef;
    padding: 16px;
}

.add-confirmation strong,
.add-confirmation span {
    display: block;
}

.add-confirmation span {
    color: var(--muted);
}

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

.security-badges div {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border-color: var(--border);
    background: #f8fafc;
    padding: 14px;
}

.security-badges .ui-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-top: 1px;
    color: var(--primary);
}

.security-badges strong,
.security-badges small {
    display: block;
}

.security-badges small {
    margin-top: 3px;
    color: var(--muted);
    line-height: 1.35;
}

.order-instructions {
    display: grid;
    gap: 20px;
    border: 1px solid #c5d3df;
    border-radius: 8px;
    background: var(--accent-soft);
    padding: 24px;
}

.order-instructions-heading h2,
.order-instructions-heading p {
    margin: 0;
}

.order-instructions-heading h2 {
    font-size: 22px;
}

.order-instructions-heading > p:last-child {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

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

.order-steps article {
    position: relative;
    display: grid;
    justify-items: start;
    gap: 8px;
    min-height: 190px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}

.order-steps .step-number {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 850;
}

.order-steps .ui-icon {
    position: absolute;
    top: 20px;
    right: 18px;
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.order-steps p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

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

.stat-panel div {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 20px;
}

.stat-panel strong {
    display: block;
    color: var(--primary);
    font-size: 34px;
    line-height: 1;
}

.stat-panel span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.image-story-section {
    padding-top: 32px;
}

.image-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.image-story-grid img {
    aspect-ratio: 4 / 3;
    background: #fff;
}

.company-card {
    margin-top: 28px;
}

.about-story {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: clamp(32px, 6vw, 76px);
    align-items: start;
    padding: 28px 0 64px;
}

.about-story-copy {
    max-width: 680px;
}

.about-story-copy p:not(.eyebrow) {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.about-story-points {
    display: grid;
    gap: 12px;
}

.about-story-points div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 2px 14px;
    border-top: 1px solid var(--border);
    padding: 18px 0;
}

.about-story-points span {
    grid-row: span 2;
    color: var(--accent);
    font-size: 13px;
    font-weight: 850;
}

.about-story-points p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.owner-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    min-height: 480px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}

.owner-photo {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    object-position: center 22%;
}

.owner-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(30px, 6vw, 72px);
}

.owner-copy h2 {
    margin: 0;
    font-size: clamp(34px, 5vw, 54px);
}

.owner-role {
    margin: 5px 0 24px;
    color: var(--muted);
    font-weight: 700;
}

.owner-copy blockquote {
    margin: 0 0 20px;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    color: var(--text);
    font-size: 20px;
    line-height: 1.55;
}

.owner-copy > p:not(.eyebrow):not(.owner-role) {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.7;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 28px 0 8px;
}

.about-values article {
    display: grid;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 22px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-values article:hover,
.faq-item:hover {
    border-color: #afc1cf;
    box-shadow: 0 12px 28px rgba(4, 32, 55, 0.08);
    transform: translateY(-2px);
}

.about-values .ui-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.about-values p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.contact-page-grid {
    align-items: start;
}

.contact-aside {
    position: sticky;
    top: 88px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 18px 20px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-color: #afc1cf;
    box-shadow: 0 8px 22px rgba(4, 32, 55, 0.06);
}

.js-enabled .reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-enabled .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.js-enabled .reveal-on-scroll .stagger-item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.js-enabled .reveal-on-scroll.is-visible .stagger-item {
    opacity: 1;
    transform: translateY(0);
}

.js-enabled .reveal-on-scroll.is-visible .stagger-item:nth-child(2) { transition-delay: 70ms; }
.js-enabled .reveal-on-scroll.is-visible .stagger-item:nth-child(3) { transition-delay: 140ms; }
.js-enabled .reveal-on-scroll.is-visible .stagger-item:nth-child(4) { transition-delay: 210ms; }
.js-enabled .reveal-on-scroll.is-visible .stagger-item:nth-child(5) { transition-delay: 280ms; }
.js-enabled .reveal-on-scroll.is-visible .stagger-item:nth-child(6) { transition-delay: 350ms; }

.image-mosaic img {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.image-mosaic img:hover {
    z-index: 1;
    box-shadow: 0 18px 34px rgba(4, 32, 55, 0.16);
    transform: translateY(-5px) scale(1.015);
}

.color-trust-strip .trust-grid > div {
    border-top: 2px solid #78a8cc;
    padding-top: 18px;
}

.color-trust-strip .trust-grid > div:nth-child(2) { border-top-color: #70b6a1; }
.color-trust-strip .trust-grid > div:nth-child(3) { border-top-color: #d5ad62; }

@media (prefers-reduced-motion: reduce) {
    .hero-metrics div,
    .category-feature-card,
    .image-mosaic img,
    .js-enabled .reveal-on-scroll .stagger-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.faq-item summary {
    cursor: pointer;
    color: var(--text);
    font-weight: 850;
}

.faq-item p {
    margin: 12px 0 0;
    color: var(--muted);
}

.b2b-benefits {
    display: grid;
    gap: 14px;
}

.b2b-benefits article {
    display: grid;
    gap: 10px;
    border-color: #d8eadc;
    background: #fff;
}

.b2b-benefits p {
    margin: 0;
    color: var(--muted);
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-copy,
.lead,
.muted {
    color: var(--muted);
}

.hero-copy {
    max-width: 620px;
    margin: 18px 0 0;
    font-size: 18px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-heading,
.page-heading,
.admin-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.section-heading h2,
.page-heading h1,
.admin-title h1 {
    margin: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    background: var(--primary);
    color: var(--primary-text);
    padding: 0 16px;
    font-weight: 750;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

.button:hover {
    background: #123552;
    border-color: #123552;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.button-secondary {
    background: #fbfcf9;
    border-color: var(--border);
    color: var(--text);
}

.button-secondary:hover {
    background: var(--leaf-soft);
    border-color: #c8d0c4;
}

.button-danger {
    background: #fff;
    border-color: #fecaca;
    color: var(--danger);
}

.button-danger:hover {
    background: #fef2f2;
    border-color: #fca5a5;
}

.button-small {
    min-height: 34px;
    padding: 0 11px;
    border-radius: 10px;
    font-size: 13px;
}

.full-width {
    width: 100%;
}

.card,
.summary-card,
.stat-card,
.auth-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
}

.card,
.summary-card {
    padding: 22px;
}

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

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

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

.product-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.product-card:hover {
    border-color: #c8d0c4;
    box-shadow: 0 14px 30px rgba(27, 39, 31, 0.08);
    transform: translateY(-1px);
}

.product-image,
.product-detail-image,
.thumb {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f4f4f5;
    color: #2a4f6e;
    font-weight: 800;
}

.product-image {
    aspect-ratio: 4 / 3;
    font-size: 46px;
}

.product-detail-image img,
.thumb img,
.current-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    background: #fff;
}

.product-card-body {
    display: grid;
    grid-template-rows: auto minmax(54px, auto) auto;
    gap: 14px;
    flex: 1;
    padding: 16px;
}

.product-card-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
}

.shop-product-grid .product-card-top {
    grid-template-columns: 1fr;
    gap: 6px;
}

.shop-product-grid .product-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
}

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

.product-card h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.product-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.product-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    align-self: end;
}

.price {
    font-weight: 850;
    white-space: nowrap;
}

.price-large {
    font-size: 30px;
}

.badge,
.status-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 26px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #edf3f7;
    color: #2a4f6e;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 800;
}

.badge-success,
.status-Aktywny,
.status-Nowe,
.status-Opacone {
    border-color: #c9d8cd;
    background: #edf5ef;
    color: #2f5f46;
}

.badge-muted,
.status-Ukryty {
    background: #f4f4f5;
    color: var(--muted);
}

.badge-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.status-Anulowane,
.status-Nieudana,
.status-Anulowana {
    border-color: #fecaca;
    background: #fef2f2;
    color: var(--danger);
}

.status-Wysane,
.status-W-realizacji,
.status-Oczekuje {
    border-color: #c5d3df;
    background: #edf3f7;
    color: #2a4f6e;
}

.alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    padding: 12px 14px;
    margin-bottom: 18px;
    color: var(--text);
}

.alert-success {
    border-color: #c9d8cd;
    background: #edf5ef;
}

.alert-danger {
    border-color: #fecaca;
    background: #fef2f2;
}

.alert-warning {
    border-color: #c5d3df;
    background: #edf3f7;
}

.alert-close {
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.empty-state {
    display: grid;
    place-items: center;
    gap: 10px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--card);
    padding: 48px 22px;
    text-align: center;
}

.empty-state h1,
.empty-state h2,
.empty-state p {
    margin: 0;
}

.empty-state p {
    color: var(--muted);
}

.back-link {
    display: inline-flex;
    margin-bottom: 20px;
    color: var(--muted);
    font-weight: 700;
}

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

.product-gallery {
    display: grid;
    gap: 12px;
}

.product-detail-image {
    min-height: 520px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 92px;
}

.product-gallery-stage {
    position: relative;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.gallery-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-controls {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
    align-items: center;
}

.gallery-arrow,
.gallery-thumb {
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
}

.gallery-arrow {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    font-weight: 900;
}

.gallery-arrow:hover,
.gallery-thumb:hover,
.gallery-thumb.is-active {
    border-color: var(--primary);
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.gallery-thumb {
    width: 74px;
    height: 58px;
    flex: 0 0 74px;
    overflow: hidden;
    border-radius: 12px;
    padding: 0;
}

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

.product-detail-content {
    display: grid;
    gap: 22px;
}

.product-detail-content h1 {
    margin: 0;
    font-size: 42px;
    line-height: 1.05;
}

.stack {
    display: grid;
    gap: 14px;
}

.prose {
    color: #123552;
}

.product-description-html {
    display: grid;
    gap: 12px;
}

.product-description-html h2,
.product-description-html h3,
.product-description-html h4,
.product-description-html p,
.product-description-html ul,
.product-description-html ol,
.product-description-html blockquote {
    margin: 0;
}

.product-description-html ul,
.product-description-html ol {
    padding-left: 20px;
}

.product-description-html li + li {
    margin-top: 6px;
}

.legal-page {
    display: grid;
    gap: 12px;
}

.legal-page h2,
.legal-page p {
    margin: 0;
}

.legal-page h2:not(:first-child) {
    margin-top: 10px;
}

.product-buy-form {
    display: grid;
    gap: 12px;
}

.quantity-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.input,
.textarea,
.select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    color: var(--text);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input,
.select {
    min-height: 42px;
    padding: 0 12px;
}

.textarea {
    min-height: 110px;
    resize: vertical;
    padding: 12px;
}

.input:focus,
.textarea:focus,
.select:focus {
    border-color: var(--focus);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.file-input {
    padding: 9px 12px;
}

.field-error {
    margin: 0;
    color: var(--danger);
    font-size: 13px;
    font-weight: 650;
}

.field-hint {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.honeypot-field {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.inquiry-message-card {
    margin-top: 24px;
}

.inquiry-message {
    color: var(--text);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.testimonials-admin-layout {
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
}

.testimonial-admin-list {
    display: grid;
    gap: 12px;
}

.testimonial-admin-card {
    display: grid;
    gap: 12px;
}

.testimonial-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
}

.testimonial-admin-card p {
    margin: 0;
    color: var(--muted);
}

.testimonial-admin-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.testimonial-admin-head strong,
.testimonial-admin-head small {
    display: block;
}

.testimonial-admin-head small {
    margin-top: 3px;
    color: var(--muted);
}

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

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

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

.table th {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

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

.table small {
    display: block;
    color: var(--muted);
    margin-top: 2px;
}

.table-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.thumb {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 12px;
    font-size: 20px;
}

.quantity-form,
.action-row,
.filter-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.js-enabled .cart-update-button {
    display: none;
}

.quantity-form.is-saving {
    opacity: 0.72;
}

.input-quantity {
    width: 82px;
}

.summary-card {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 16px;
}

.bank-transfer-card {
    max-width: 820px;
    margin: 0 auto 24px;
}

.summary-card h2,
.form-card h2,
.card h2 {
    margin: 0 0 6px;
    font-size: 19px;
}

.summary-items {
    display: grid;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.summary-item,
.summary-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
}

.summary-item span,
.summary-row span {
    color: var(--muted);
}

.summary-total {
    border-top: 1px solid var(--border);
    padding-top: 14px;
    font-size: 18px;
}

.form-card {
    display: grid;
    gap: 20px;
}

.form-card h1,
.form-card h2,
.form-card h3 {
    margin: 0;
}

.form-section {
    display: grid;
    gap: 14px;
}

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

.field-full {
    grid-column: 1 / -1;
}

.required-mark,
.checkout-terms strong {
    color: #dc2626;
}

.checkout-form {
    display: block;
}

.checkout-layout-modern {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 438px);
    gap: clamp(28px, 5vw, 56px);
}

.checkout-billing-panel {
    display: grid;
    gap: 18px;
}

.checkout-billing-panel h2,
.checkout-order-card h2 {
    margin: 0 0 14px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    font-size: 22px;
}

.checkout-billing-panel label,
.checkout-order-card label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 750;
}

.checkout-order-card {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 20px;
    border: 1px solid var(--border);
    border-radius: 0;
    background: #fff;
    padding: clamp(22px, 3vw, 32px);
}

.checkout-order-table {
    display: grid;
}

.checkout-order-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(110px, auto);
    gap: 18px;
    align-items: start;
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.checkout-order-line span {
    color: var(--muted);
}

.checkout-order-line small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}

.checkout-order-line strong,
.checkout-order-line > span:last-child {
    text-align: right;
}

.checkout-order-header {
    color: var(--text);
    font-weight: 850;
}

.checkout-order-total {
    border-bottom: 0;
    font-size: 18px;
}

.checkout-order-total span,
.checkout-order-total strong {
    color: var(--text);
}

.delivery-free {
    color: #0f7f55;
}

.checkout-trust-box {
    display: grid;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f8fafc;
    padding: 18px;
}

.checkout-trust-box strong {
    color: #0f7f55;
}

.checkout-trust-box p {
    margin: 0;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.checkout-trust-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--text);
    font-size: 13px;
    font-weight: 850;
}

.payment-info-note {
    position: relative;
    background: #f1f3f5;
    color: var(--muted);
    padding: 16px 18px;
    line-height: 1.45;
}

.payment-info-note::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 36px;
    width: 20px;
    height: 20px;
    background: #f1f3f5;
    transform: rotate(45deg);
}

.checkout-privacy-note {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.checkout-terms {
    align-items: flex-start;
    color: var(--text);
    font-size: 15px;
    font-weight: 850;
    line-height: 1.55;
}

.checkout-submit {
    min-height: 58px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0;
}

.settings-grid {
    display: grid;
    gap: 16px;
}

.payment-method-card {
    display: grid;
    gap: 18px;
}

.payment-method-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.payment-method-head h2 {
    margin: 0;
}

.switch-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.consent-row {
    align-items: flex-start;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.consent-row input {
    margin-top: 2px;
}

.consent-row a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.success-card {
    display: grid;
    place-items: center;
    gap: 10px;
    max-width: 760px;
    margin: 0 auto 24px;
    border: 1px solid #c9d8cd;
    border-radius: var(--radius);
    background: #edf5ef;
    padding: 34px;
    text-align: center;
}

.success-card h1,
.success-card p {
    margin: 0;
}

.success-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 999px;
    background: var(--success);
    color: #fff;
    font-weight: 900;
}

.details-list {
    display: grid;
    gap: 12px;
    margin: 14px 0 0;
}

.details-list div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.details-list div:last-child {
    border-bottom: 0;
}

.details-list dt {
    color: var(--muted);
    font-weight: 700;
}

.details-list dd {
    margin: 0;
    min-width: 0;
}

.site-footer {
    margin-top: auto;
    background: #042037;
    color: #b9c8d4;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 1fr);
    gap: clamp(32px, 6vw, 88px);
    padding-top: 54px;
    padding-bottom: 48px;
}

.footer-brand,
.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.footer-brand p {
    max-width: 240px;
    margin: 6px 0 0;
    line-height: 1.6;
}

.footer-column h2 {
    margin: 2px 0 10px;
    color: #fff;
    font-size: 14px;
}

.footer-column a,
.footer-column span,
.footer-column strong,
.footer-brand p {
    color: #b9c8d4;
    font-size: 13px;
}

.footer-column strong {
    color: #e7ecf3;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    padding-bottom: 20px;
    color: #718da5;
    font-size: 12px;
    text-align: center;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-card {
    width: min(420px, 100%);
    padding: 28px;
}

.auth-logo {
    display: inline-flex;
    margin-bottom: 20px;
}

.auth-card h1 {
    margin: 0 0 8px;
}

.auth-card p {
    margin: 0 0 22px;
}

.admin-page {
    display: block;
    min-height: 100vh;
    background: #f4f7fa;
}

.admin-layout {
    width: 100%;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-right: 1px solid #123552;
    background: #042037;
    color: #ffffff;
    padding: 24px;
}

.admin-user {
    margin: -6px 0 0;
    color: #9eb1c1;
    font-size: 13px;
}

.admin-nav {
    display: grid;
    gap: 6px;
}

.admin-sidebar .admin-brand {
    color: #ffffff;
}

.admin-sidebar .admin-nav a {
    color: #b9c8d4;
    border-radius: 6px;
}

.admin-sidebar .admin-nav a:hover,
.admin-sidebar .admin-nav a.is-active {
    background: #123552;
    color: #ffffff;
}

.admin-sidebar .button-secondary {
    border-color: #496c89;
    background: transparent;
    color: #ffffff;
}

.admin-sidebar .button-secondary:hover {
    border-color: #718da5;
    background: #123552;
}

.logout-form {
    margin-top: auto;
}

.admin-content {
    width: min(1180px, 100%);
    padding: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.stat-card {
    display: grid;
    gap: 10px;
    padding: 20px;
}

.stat-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.stat-card strong {
    font-size: 28px;
    line-height: 1.1;
}

.panel-section {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.current-image {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.current-image img {
    width: 130px;
    height: 100px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.admin-gallery-item {
    display: grid;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    padding: 8px;
}

.admin-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}

.admin-gallery-item span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.order-view-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    margin-bottom: 20px;
}

code {
    display: inline-block;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f4f4f5;
    padding: 2px 6px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 13px;
}

@media (max-width: 1180px) {
    .navbar-inner {
        min-height: 62px;
        gap: 10px;
    }

    .nav-links {
        gap: 2px;
    }

    .nav-links a {
        padding: 7px 8px;
        font-size: 12px;
    }

    .cart-pill {
        min-height: 34px;
        padding-left: 10px;
        font-size: 12px;
    }

    .fuel-hero-content h1 {
        max-width: 720px;
        font-size: clamp(40px, 6vw, 68px);
    }
}

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 56px;
    }

    .about-story {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .owner-section {
        grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    }

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

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

    .product-detail,
    .cart-layout,
    .checkout-layout,
    .order-view-grid {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: static;
    }

    .checkout-order-card {
        position: static;
    }

    .admin-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
        min-height: 0;
        align-self: start;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 16px;
        border-right: 0;
        border-bottom: 1px solid #123552;
        padding: 16px 24px;
    }

    .admin-user {
        display: none;
    }

    .admin-nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }

    .logout-form {
        margin: 0;
    }

    .logout-form .button {
        width: auto;
    }

    .landing-about,
    .testimonial-grid,
    .trust-grid,
    .important-grid,
    .contact-grid,
    .category-feature-grid,
    .story-grid,
    .content-grid-two,
    .contact-page-grid,
    .shop-layout,
    .page-hero,
    .shop-hero {
        grid-template-columns: 1fr;
    }

    .filter-sidebar,
    .contact-aside {
        position: static;
    }

    .page-hero img,
    .shop-hero img {
        height: 300px;
        aspect-ratio: auto;
        object-fit: contain;
    }

    .page-hero,
    .shop-hero {
        gap: 28px;
    }

    .shop-product-grid,
    .security-badges,
    .hero-metrics,
    .image-story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-about {
        padding-left: 16px;
        padding-right: 16px;
    }

    .about-media {
        border-radius: var(--radius);
    }

    .split-about-media img {
        min-height: 320px;
    }

    .trust-grid div,
    .trust-grid div:first-child {
        border-left: 0;
        border-top: 1px solid var(--border);
        padding: 16px 0 0;
    }

    .trust-grid div:first-child {
        border-top: 0;
        padding-top: 0;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 32px, 1120px);
    }

    .page {
        padding: 24px 0 56px;
    }

    .section-heading,
    .page-heading,
    .admin-title {
        align-items: stretch;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 40px;
        padding-bottom: 34px;
    }

    .footer-brand p {
        max-width: 320px;
    }

    .about-story {
        padding: 12px 0 44px;
    }

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

    .owner-photo {
        min-height: 0;
        aspect-ratio: 1 / 0.86;
    }

    .owner-copy {
        padding: 26px 20px 30px;
    }

    .owner-copy blockquote {
        font-size: 18px;
    }

    .about-values {
        grid-template-columns: 1fr;
        padding-top: 20px;
    }

    .navbar-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px 12px;
        min-height: 0;
        padding: 12px 0;
    }

    .nav-logo {
        justify-self: start;
        min-width: 0;
    }

    .landing-page .navbar {
        position: sticky;
        color: var(--text);
        background: rgba(244, 247, 250, 0.96);
        border-bottom-color: var(--border);
    }

    .landing-page .nav-links a {
        color: var(--muted);
    }

    .landing-page .nav-links a:hover {
        color: var(--text);
        background: var(--leaf-soft);
    }

    .landing-page .cart-pill {
        border-color: var(--border);
        background: #fff;
        color: var(--text);
    }

    .landing-page .cart-pill strong {
        background: var(--primary);
        color: #fff;
    }

    .nav-links {
        grid-column: 1 / -1;
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
        gap: 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 2px 0 0;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        flex: 0 0 auto;
        min-height: 36px;
        padding-inline: 7px;
    }

    .cart-pill {
        grid-column: 2;
        grid-row: 1;
        width: auto;
        min-height: 34px;
        padding: 0 10px;
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 36px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .fuel-hero {
        min-height: auto;
    }

    .fuel-hero-content h1 {
        font-size: 42px;
    }

    .fuel-hero-content {
        padding-top: 58px;
        padding-bottom: 54px;
    }

    .fuel-hero-overlay {
        background: linear-gradient(90deg, rgba(9, 9, 11, 0.88), rgba(9, 9, 11, 0.52));
    }

    .pool-hero-overlay {
        background: linear-gradient(90deg, rgba(5, 18, 28, 0.88), rgba(5, 18, 28, 0.46));
    }

    .dual-hero-left {
        inset: 0 0 45%;
        width: 100%;
        height: 55%;
    }

    .dual-hero-right {
        inset: 45% 0 0;
        width: 100%;
        height: 55%;
    }

    .dual-hero-overlay {
        background:
            linear-gradient(180deg, rgba(9, 9, 11, 0.82), rgba(9, 9, 11, 0.58) 48%, rgba(5, 18, 28, 0.74)),
            linear-gradient(90deg, rgba(9, 9, 11, 0.32), rgba(9, 9, 11, 0.18));
    }

    .landing-section {
        padding: 52px 0;
    }

    .category-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-inline: -12px;
        padding: 0 12px 4px;
        scrollbar-width: none;
    }

    .category-pills::-webkit-scrollbar {
        display: none;
    }

    .category-pills a {
        flex: 0 0 auto;
    }

    .product-grid,
    .stats-grid,
    .form-grid,
    .shop-product-grid,
    .security-badges,
    .hero-metrics,
    .image-story-grid,
    .stat-panel {
        grid-template-columns: 1fr;
    }

    .product-grid.fuel-product-grid,
    .product-grid.shop-product-grid {
        grid-template-columns: 1fr;
    }

    .add-confirmation,
    .shop-results-head {
        align-items: stretch;
        flex-direction: column;
    }

    .page-hero,
    .shop-hero {
        gap: 22px;
        margin-bottom: 24px;
        padding: 20px;
    }

    .page-hero h1,
    .shop-hero h1 {
        font-size: 30px;
        line-height: 1.08;
    }

    .page-hero p,
    .shop-hero p {
        margin-bottom: 0;
    }

    .page-hero img,
    .shop-hero img {
        height: 210px;
    }

    .image-mosaic {
        grid-template-columns: 1fr;
    }

    .product-card-actions,
    .quantity-row {
        grid-template-columns: 1fr;
    }

    .product-card-actions {
        display: grid;
    }

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

    .product-detail-content h1 {
        font-size: 34px;
    }

    .order-instructions {
        padding: 18px;
    }

    .order-steps {
        grid-template-columns: 1fr;
    }

    .order-steps article {
        min-height: 0;
    }

    .card,
    .summary-card {
        padding: 18px;
    }

    .admin-content {
        padding: 20px 16px;
    }

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

    .admin-nav {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .admin-nav a {
        text-align: center;
    }

    .table {
        min-width: 0;
    }

    .table thead {
        display: none;
    }

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

    .table tr {
        border-bottom: 1px solid var(--border);
        padding: 10px 0;
    }

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

    .table td {
        display: grid;
        grid-template-columns: 115px minmax(0, 1fr);
        gap: 12px;
        border-bottom: 0;
        padding: 8px 14px;
    }

    .table td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 12px;
        font-weight: 850;
        text-transform: uppercase;
    }

    .details-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .contact-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .gallery-controls {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
    }

    .split-about-media {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 440px) {
    .navbar-inner {
        gap: 7px 8px;
        padding: 9px 0;
    }

    .nav-logo .brand-logo-image {
        width: 148px;
        max-height: 40px;
    }

    .cart-pill {
        gap: 6px;
        padding: 0 8px;
    }

    .cart-label {
        display: none;
    }

    .nav-links a {
        min-height: 34px;
        padding-inline: 8px;
    }

    .button,
    .button-secondary,
    .button-danger {
        width: 100%;
    }

    .quantity-form,
    .action-row,
    .filter-form {
        align-items: stretch;
        flex-direction: column;
    }

    .input-quantity {
        width: 100%;
    }

    .fuel-hero-content h1 {
        font-size: 36px;
    }

    .hero-copy {
        font-size: 16px;
    }

    .hero-metrics div {
        padding: 12px;
    }

    .product-card-top {
        grid-template-columns: 1fr;
    }

    .price {
        white-space: normal;
    }
}
