@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/SpaceGrotesk.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-bg: #f6f8fa;
    --color-surface: #fff;
    --color-text: #13232c;
    --color-text-muted: #61707a;
    --color-primary: #214e62;
    --color-accent: #9fc9cc;
    --color-line: #dce5e9;
    --color-dark: #102934;
    --space-1: 8px;
    --space-2: 12px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 48px;
    --space-7: 72px;
    --space-8: 96px;
    --text-display: clamp(2.9rem, 6.5vw, 5.8rem);
    --text-h1: clamp(2.5rem, 5vw, 4.2rem);
    --text-h2: clamp(2rem, 4vw, 3.3rem);
    --text-h3: 1.4rem;
    --text-body: 1rem;
    --text-small: .875rem;
    --radius: 22px;
    --shadow: 0 20px 58px rgba(18, 52, 66, .08)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-bg);
    font: 400 var(--text-body)/1.7 Manrope, Arial, sans-serif
}

h1,
h2,
h3,
strong {
    letter-spacing: -.035em
}

h1,
h2,
h3 {
    font-family: 'Space Grotesk', Manrope, sans-serif;
    line-height: 1.12;
    margin: 0 0 20px
}

h1 {
    font-size: var(--text-h1)
}

h2 {
    font-size: var(--text-h2)
}

h3 {
    font-size: var(--text-h3)
}

p {
    margin: 0 0 24px
}

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

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

button {
    cursor: pointer
}

.wrap {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto
}

.topbar {
    background: var(--color-dark);
    color: #d1e4e9;
    font-size: .75rem
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 0
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(246, 248, 250, .95);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--color-line)
}

.navrow {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 30px
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font: 700 1.15rem 'Space Grotesk', sans-serif;
    white-space: nowrap;
    letter-spacing: -.05em
}

.brand img {
    width: 33px;
    height: 33px;
    object-fit: contain
}

.main-nav {
    display: flex;
    gap: 24px;
    margin: auto;
    font-size: .82rem;
    font-weight: 700
}

.main-nav a,
.site-footer a {
    transition: color .25s
}

.main-nav a:hover,
.site-footer a:hover {
    color: #65a6ad
}

.cartlink {
    border-radius: 40px;
    padding: 10px 16px;
    background: #e3edf0;
    white-space: nowrap;
    font-weight: 700;
    font-size: .83rem
}

.cartlink span {
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-left: 6px
}

.mobile-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 1.6rem
}

.hero {
    background: radial-gradient(ellipse at 80% 20%, #dcebee, transparent 50%), #edf3f4;
    overflow: hidden
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 680px;
    gap: 6%;
    padding-block: 64px
}

.hero h1 {
    font-size: var(--text-display);
    line-height: 1.05;
    margin: 24px 0 28px
}

.hero h1 em {
    font-style: normal;
    color: #618e9b
}

.hero-copy>p {
    max-width: 600px;
    color: #4f636c;
    font-size: 1.07rem
}

.signal,
.eyebrow {
    font-weight: 800;
    letter-spacing: .15em;
    font-size: .71rem;
    color: #587c88;
    text-transform: uppercase
}

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

.signal span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #6b9f9b;
    box-shadow: 0 0 0 6px #d6e9e7
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 32px 0 54px
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    min-height: 48px;
    padding: 13px 23px;
    border-radius: 100px;
    border: 1px solid transparent;
    font-size: .87rem;
    font-weight: 800;
    transition: transform .25s, background .25s, box-shadow .25s
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(17, 51, 66, .13)
}

.primary {
    background: var(--color-primary);
    color: #fff
}

.primary:hover {
    background: #32697a
}

.outline {
    border-color: #b6cbd1;
    background: transparent;
    color: var(--color-primary)
}

.ghost {
    color: var(--color-primary)
}

.light {
    background: #e8f5f4;
    color: var(--color-dark)
}

.hero-facts {
    display: flex;
    gap: 24px;
    border-top: 1px solid #bfd1d7;
    padding-top: 25px
}

.hero-facts div {
    flex: 1
}

.hero-facts strong {
    display: block;
    font: 700 1.5rem 'Space Grotesk'
}

.hero-facts span {
    font-size: .75rem;
    color: #5b727a
}

.hero-visual {
    position: relative;
    padding: 16px 0 45px 18px
}

.imagebox {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #b5c6cd, #e3e9ec);
    border-radius: var(--radius);
    aspect-ratio: 4/3
}

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

.hero-photo {
    aspect-ratio: 4/4.4;
    border-radius: 34px;
    box-shadow: 0 35px 65px rgba(24, 62, 75, .19)
}

.visual-chip {
    position: absolute;
    bottom: 19px;
    left: -20px;
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: var(--shadow);
    letter-spacing: .12em;
    font-size: .69rem;
    font-weight: 800
}

.pixel-icon {
    margin-left: 20px;
    color: #4d8996;
    font-size: 1.5rem
}

.band {
    background: #dbe8ea;
    padding: 18px 0
}

.band-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    font-size: .8rem;
    font-weight: 800;
    text-align: center
}

.section {
    padding-block: var(--space-8)
}

.section.compact {
    padding-top: 12px
}

.section-tint {
    background: #eaf0f2
}

.home-articles {
    position: relative;
    margin-top: 26px;
    border-top: 1px solid #c9d8dd;
    box-shadow: inset 0 24px 30px rgba(16, 43, 55, .035)
}

.home-articles::before {
    content: "";
    position: absolute;
    top: -26px;
    left: 0;
    right: 0;
    height: 26px;
    background: linear-gradient(180deg, rgba(237, 243, 244, 0) 0%, rgba(233, 240, 242, .86) 100%)
}

.home-articles .section-heading {
    padding-top: 10px
}

.section-heading {
    max-width: 780px;
    margin-bottom: 36px
}

.section-heading h2 {
    margin-top: 14px
}

.section-heading p {
    font-size: 1.05rem;
    color: var(--color-text-muted)
}

.editorial-split,
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8%
}

.editorial-split>div:first-child>p {
    color: var(--color-text-muted)
}

.editorial-split .imagebox {
    aspect-ratio: 1.15
}

.underlink {
    display: inline-block;
    font-weight: 800;
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 5px
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.article-card,
.product-card,
.paper {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(33, 67, 79, .035)
}

.article-card {
    transition: transform .25s, box-shadow .25s
}

.article-card:hover,
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow)
}

.article-card .imagebox {
    border-radius: 0;
    aspect-ratio: 1.6
}

.article-body {
    padding: 26px
}

.article-body h3 {
    margin: 14px 0;
    font-size: 1.23rem
}

.article-body p {
    color: var(--color-text-muted);
    font-size: .86rem
}

.arrow {
    font-weight: 800;
    color: var(--color-primary);
    font-size: .85rem
}

.section-action {
    text-align: center;
    margin-top: 38px
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.product-card {
    transition: transform .25s, box-shadow .25s
}

.product-card .imagebox {
    aspect-ratio: 1.25;
    border-radius: 0;
    background: #e8edef
}

.product-content {
    padding: 24px
}

.product-content h3 {
    margin: 9px 0
}

.product-content>p {
    font-size: .83rem;
    margin-bottom: 10px
}

.product-content .muted {
    min-height: 48px;
    color: var(--color-text-muted)
}

.buyrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    border-top: 1px solid var(--color-line);
    padding-top: 20px
}

.buyrow strong {
    font: 700 1.35rem 'Space Grotesk';
    white-space: nowrap
}

.buyrow small {
    display: block;
    color: var(--color-text-muted);
    font-size: .65rem
}

.buyrow .btn {
    padding: 10px 14px;
    font-size: .73rem;
    min-height: 44px
}

.dark-section {
    background: #122f3d;
    color: #f6fbfc
}

.dark-section p {
    color: #b4cdd4
}

.dark-section .eyebrow {
    color: #a0d2d4
}

.feature-grid h2 {
    max-width: 580px
}

.feature-grid .imagebox {
    aspect-ratio: 1.25
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.steps>div {
    padding: 32px;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius)
}

.steps span {
    color: #6f9aa3;
    font: 700 2rem 'Space Grotesk'
}

.steps h3 {
    margin-top: 24px
}

.steps p {
    color: var(--color-text-muted);
    font-size: .9rem;
    margin: 0
}

.subhero {
    padding: 100px 0 76px
}

.subhero h1 {
    max-width: 940px;
    margin-top: 24px;
    word-break: break-word;
}

.subhero p {
    max-width: 790px;
    color: var(--color-text-muted);
    font-size: 1.15rem
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 32px
}

.filters label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: .8rem;
    font-weight: 800
}

.filters select {
    min-width: 200px
}

.filters select,
select,
input,
textarea {
    background: #fff;
    border: 1px solid #bdcbd0;
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--color-text);
    width: 100%;
    min-height: 46px
}

.fineprint {
    font-size: .78rem;
    color: var(--color-text-muted);
    margin-top: 30px
}

.tech-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8%;
    padding: 48px 0;
    border-top: 1px solid var(--color-line)
}

.tech-row .imagebox {
    aspect-ratio: 1.4
}

.tech-row:nth-child(even) .imagebox {
    order: -1
}

.tech-row .muted {
    color: var(--color-text-muted)
}

.contact-grid,
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start
}

.paper {
    padding: 32px
}

.paper h2 {
    font-size: 1.65rem
}

.contactform label,
.checkoutform label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 18px
}

.contactform input,
.contactform textarea,
.checkoutform input,
.checkoutform textarea {
    margin-top: 7px
}

.checkline {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    font-size: .78rem !important;
    line-height: 1.5
}

.checkline input {
    width: 18px !important;
    height: 18px;
    min-height: 0 !important;
    margin: 2px 0 !important
}

.checkline a {
    text-decoration: underline
}

.cart-layout {
    grid-template-columns: 1.3fr .85fr
}

.cartitem {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--color-line);
    padding: 20px 0
}

.cartitem:last-child {
    border-bottom: 0
}

.cartitem .mini-image {
    width: 90px;
    aspect-ratio: 1.2;
    border-radius: 12px;
    flex-shrink: 0
}

.cartitem .mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.cartitem h3 {
    font-size: 1rem;
    margin: 0 0 5px
}

.cartitem strong {
    display: block
}

.qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto
}

.qty button {
    border: 1px solid var(--color-line);
    background: #f4f7f8;
    border-radius: 50%;
    width: 36px;
    height: 36px
}

.sumline {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 18px 0;
    font-size: .88rem
}

.sumline.grand {
    border-top: 1px solid var(--color-line);
    padding-top: 20px;
    font-size: 1.1rem
}

.summary>label {
    font-size: .82rem;
    font-weight: 800
}

.full {
    width: 100%
}

.checkoutform {
    margin-top: 22px
}

.article-detail {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 8%;
    padding-bottom: 100px
}

.article-detail .imagebox {
    aspect-ratio: 4/5
}

.prose {
    max-width: 760px
}

.prose .lead {
    font-size: 1.24rem;
    color: #43606b
}

.prose h2 {
    font-size: 1.8rem;
    margin-top: 40px
}

.prose p {
    color: #455c65
}

.back {
    display: block;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: .8rem
}

.legal-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 60px;
    padding-bottom: 100px
}

.legal-side {
    position: sticky;
    top: 125px;
    align-self: start;
    padding: 25px;
    background: #e6eff1;
    border-radius: 20px
}

.legal-side h3 {
    font-size: 1.2rem
}

.legal-side a {
    display: block;
    padding: 8px 0;
    font-size: .79rem;
    border-bottom: 1px solid #c9d9dd
}

.legal-side .active {
    color: #246276;
    font-weight: 800
}

.legal-article {
    background: #fff;
    border-radius: 25px;
    padding: 45px 55px
}

.legal-article section+section {
    padding-top: 28px;
    border-top: 1px solid #e0e9ec
}

.legal-article h2 {
    font-size: 1.65rem
}

.legal-article p {
    color: #48616b
}

.notice {
    margin-top: 40px
}

.site-footer {
    background: #102b37;
    color: #eff7f8;
    padding-top: 70px
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.35fr .7fr 1fr 1fr;
    gap: 45px
}

.foot-grid h3 {
    font-size: .95rem;
    margin-bottom: 20px
}

.foot-grid p {
    color: #b8cdd3;
    font-size: .78rem;
    line-height: 1.95
}

.foot-grid>div>a:not(.brand) {
    display: block;
    font-size: .77rem;
    margin: 8px 0;
    color: #c9dadf
}

.footbrand {
    margin-bottom: 25px
}

.footbottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #31515e;
    padding: 25px 0;
    margin-top: 45px;
    font-size: .72rem;
    color: #a7c1c9
}

.text-btn {
    background: none;
    border: 0;
    color: #d8ebee;
    text-decoration: underline
}

.cookie-banner {
    position: fixed;
    z-index: 90;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 850px;
    width: calc(100% - 32px);
    background: #fff;
    border: 1px solid #ccdadf;
    box-shadow: 0 20px 80px #102b3740;
    border-radius: 20px;
    padding: 20px 25px;
    display: none;
    align-items: center;
    gap: 20px
}

.cookie-banner.visible {
    display: flex
}

.cookie-banner p {
    font-size: .75rem;
    color: #526b75;
    margin: 8px 0 0
}

.cookie-banner p a {
    text-decoration: underline
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0
}

.cookie-actions .btn {
    font-size: .72rem
}

.product-card[hidden] {
    display: none !important
}

:focus-visible {
    outline: 3px solid #76acb8;
    outline-offset: 3px
}

@media(max-width:1100px) {
    .main-nav {
        gap: 12px;
        font-size: .7rem
    }

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

    .buyrow {
        flex-direction: column;
        align-items: start
    }

    .buyrow .btn {
        width: 100%
    }
}

@media(max-width:768px) {
    .wrap {
        width: min(100% - 30px, 1240px)
    }

    .topbar-inner span:last-child {
        display: none
    }

    .mobile-toggle {
        display: block;
        margin-left: auto
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #f7fafa;
        flex-direction: column;
        padding: 22px 25px;
        box-shadow: var(--shadow);
        font-size: 1rem
    }

    .main-nav.open {
        display: flex
    }

    .navrow {
        min-height: 68px;
        gap: 10px
    }

    .brand {
        font-size: .92rem
    }

    .brand img {
        width: 26px;
        height: 26px
    }

    .hero-grid,
    .editorial-split,
    .feature-grid,
    .tech-row,
    .contact-grid,
    .cart-layout,
    .article-detail,
    .legal-layout {
        grid-template-columns: 1fr
    }

    .hero-grid {
        padding: 60px 0 40px;
        gap: 20px
    }

    .hero-visual {
        padding: 0 12px 35px
    }

    .hero-photo {
        aspect-ratio: 4/3
    }

    .visual-chip {
        left: 0
    }

    .section {
        padding-block: 60px
    }

    .subhero {
        padding: 65px 0 35px
    }

    .products,
    .article-grid,
    .steps {
        grid-template-columns: repeat(2, 1fr)
    }

    .legal-side {
        position: static
    }

    .legal-article {
        padding: 25px
    }

    .cookie-banner {
        flex-direction: column;
        align-items: stretch
    }

    .cookie-actions .btn {
        flex: 1
    }

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

    .tech-row:nth-child(even) .imagebox {
        order: initial
    }
}

@media(max-width:520px) {

    .products,
    .article-grid,
    .steps,
    .foot-grid {
        grid-template-columns: 1fr
    }

    .hero h1 {
        font-size: clamp(2.75rem, 11vw, 4rem)
    }

    .hero-facts {
        gap: 12px
    }

    .hero-facts strong {
        font-size: 1.2rem
    }

    .hero-facts span {
        font-size: .67rem
    }

    .cartlink {
        padding: 8px 10px;
        font-size: .7rem
    }

    .hero-actions .btn {
        width: 100%
    }

    .footbottom {
        flex-direction: column;
        gap: 15px
    }

    .cookie-actions {
        flex-direction: column
    }

    .paper {
        padding: 20px;
        word-break: break-word
    }

    .buyrow {
        flex-direction: row;
        align-items: center
    }

    .buyrow .btn {
        width: auto
    }

    .article-body {
        padding: 20px
    }
}

.about-info-content {
    max-width: 900px
}

.about-info-content h2 {
    max-width: 760px
}

.about-info-content p {
    max-width: 820px
}

/* Product detail dialog */
.buyrow {
    flex-wrap: wrap
}

.buyrow .product-details {
    min-width: 88px
}

.product-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 19, 28, .75);
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    overflow: auto
}

.product-modal.open {
    display: flex
}

.modal-open {
    overflow: hidden
}

.modal-panel {
    background: #fff;
    border-radius: 18px;
    width: min(1100px, 100%);
    max-height: 94vh;
    overflow: auto;
    box-shadow: 0 30px 90px #001c3069
}

.modal-header {
    background: #f4f7f7;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #d6dfe2
}

.modal-header h2 {
    margin: 6px 0;
    font-size: 1.7rem
}

.modal-header p {
    margin: 0;
    color: #566c76;
    font-size: .85rem
}

.modal-close {
    background: #fff;
    border: 1px solid #cbd7da;
    border-radius: 10px;
    font-size: 1.5rem;
    width: 42px;
    height: 42px
}

.modal-columns {
    display: grid;
    grid-template-columns: 1fr 1.06fr .95fr;
    gap: 26px;
    padding: 26px 30px
}

.modal-columns h3 {
    font-size: 1rem;
    border-left: 4px solid #4b94a1;
    padding-left: 10px;
    margin-bottom: 20px
}

.modal-img {
    background: #fff;
    border: 1px solid #e4eced;
    border-radius: 12px;
    aspect-ratio: 1.25;
    overflow: hidden
}

.modal-img img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.modal-purchase>p {
    font-size: .84rem;
    color: #556b73;
    margin: 15px 0
}

.modal-purchase>strong {
    font-size: 1.65rem;
    display: block
}

.modal-purchase>small {
    display: block;
    color: #657984;
    margin: 6px 0 18px
}

.modal-purchase .btn {
    margin-top: 9px
}

.modal-specs {
    margin: 0
}

.modal-specs div {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid #dee7e9;
    font-size: .82rem
}

.modal-specs dt {
    font-weight: 700;
    color: #516573
}

.modal-specs dd {
    margin: 0
}

.modal-highlights {
    padding-left: 22px;
    line-height: 1.6;
    font-size: .88rem
}

.modal-highlights li {
    margin-bottom: 12px
}

.modal-highlights li::marker {
    color: #368f9b
}

.modal-note {
    background: #edf2f0;
    border-left: 3px solid #65a386;
    border-radius: 6px;
    padding: 14px;
    color: #475d66;
    font-size: .8rem;
    line-height: 1.7
}

.modal-note a {
    display: block;
    margin-top: 10px;
    color: #236a78;
    font-weight: 700;
    text-decoration: underline
}

.payment-choice {
    margin: 24px 0;
    padding: 20px;
    background: #f1f7f8;
    border: 1px solid #ccdce1;
    border-radius: 14px
}

.payment-choice h3 {
    font-size: 1rem;
    margin: 0 0 9px
}

.payment-choice p,
.payment-panel {
    font-size: .8rem;
    color: #526c75
}

.payment-tabs {
    display: grid;
    gap: 10px
}

.payment-tabs label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700
}

.payment-tabs input {
    width: auto;
    min-height: auto
}

.payment-panel {
    margin-top: 16px
}

.payment-panel [id^="card-"] {
    min-height: 48px;
    margin: 10px 0;
    background: #fff;
    border-radius: 6px
}

.payment-panel #paypal-button-container {
    margin: 20px 0
}

#paypalStatus {
    margin: 12px 0
}

#paypal-card-fields h4 {
    margin-top: 20px
}

@media(max-width:850px) {
    .modal-columns {
        grid-template-columns: 1fr 1fr
    }

    .modal-columns>div:last-child {
        grid-column: 1/-1
    }
}

@media(max-width:560px) {
    .modal-columns {
        display: block;
        padding: 18px
    }

    .modal-columns>div {
        margin-bottom: 26px
    }

    .modal-header {
        padding: 18px
    }

    .buyrow .product-details {
        flex: 1
    }

    .modal-panel {
        max-height: 96vh
    }
}

/* Show complete product photos without cropping in cards and detail modals. */
.product-card .imagebox {
    background: #fff
}

.product-card .imagebox img {
    object-fit: contain;
    object-position: center;
    background: #fff
}

.modal-img {
    aspect-ratio: 5/4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 12px;
    min-width: 0
}

.modal-img img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center
}

@media(max-width:850px) {
    .modal-img {
        max-height: 360px
    }
}

/* Checkout layout */
.checkout-page {
    padding-top: 60px;
    padding-bottom: 100px
}

.checkout-title {
    max-width: 820px;
    margin-bottom: 35px
}

.checkout-title h1 {
    margin: 12px 0
}

.checkout-title p {
    color: var(--color-text-muted)
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
    gap: 28px;
    align-items: start
}

.checkout-stack {
    display: grid;
    gap: 22px
}

.checkout-block h2,
.checkout-summary h2 {
    font-size: 1.35rem
}

.checkout-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px
}

.checkout-fields .wide {
    grid-column: 1/-1
}

.checkoutform label {
    margin-bottom: 7px
}

.checkoutform input,
.checkoutform select {
    margin-top: 5px
}

.checkoutform .checkline {
    margin-top: 22px
}

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

.choice-card {
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid #cadadf;
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    background: #fff
}

.choice-card:has(input:checked) {
    background: #eaf5f4;
    border-color: #368c8b;
    box-shadow: 0 0 0 1px #368c8b
}

.choice-card input {
    flex: none;
    width: 18px;
    height: 18px;
    min-height: 0;
    accent-color: #347e80
}

.choice-card span {
    flex: 1;
    min-width: 0
}

.choice-card strong {
    display: block;
    font-size: .88rem
}

.choice-card small {
    display: block;
    font-size: .73rem;
    line-height: 1.5;
    color: #59727a
}

.choice-card b {
    white-space: nowrap;
    font-size: .83rem
}

.checkout-summary {
    position: sticky;
    top: 110px
}

.checkout-summary .cartitem {
    gap: 10px;
    flex-wrap: wrap
}

.checkout-summary .cartitem .mini-image {
    width: 68px
}

.checkout-summary .cartitem .qty {
    margin-left: 0
}

.checkout-summary .sumline {
    margin: 13px 0
}

.checkout-note {
    font-size: .75rem;
    color: #587078;
    margin: 19px 0 0
}

.delivery-hidden {
    display: none
}

.payment-panel {
    margin: 20px 0
}

.payment-panel[hidden],
#paypal-button-container[hidden],
#paypal-card-fields[hidden],
#orderButton[hidden] {
    display: none !important
}

.hosted-field {
    min-height: 48px;
    border: 1px solid #bdcbd0;
    border-radius: 9px;
    margin: 12px 0;
    padding: 8px;
    background: white
}

.checkout-summary .cartitem h3 {
    font-size: .84rem
}

.checkout-summary .cartitem strong,
.checkout-summary .cartitem small {
    font-size: .75rem
}

@media(max-width:900px) {
    .checkout-grid {
        grid-template-columns: 1fr
    }

    .checkout-summary {
        position: static
    }
}

@media(max-width:550px) {
    .checkout-fields {
        grid-template-columns: 1fr
    }

    .checkout-page {
        padding-top: 35px
    }

    .checkout-block,
    .checkout-summary {
        padding: 21px
    }

    .choice-card {
        padding: 12px
    }
}

#copyOrderEnquiry[hidden] {
    display: none !important
}

.checkout-feedback {
    margin-top: 14px;
    font-size: .85rem;
    color: #2e6673;
    line-height: 1.55
}