@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

:root {
    --g: #0d6fe8;
    --b: #0f3d73;
    --ink: #183b4a;
    --muted: #5a7188;
    --line: #dfeaf9;
    --surface-soft: #eef6ff;
    --surface-strong: #eaf3ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "DM Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
}

h1,
h2,
h3 {
    font-family: "Manrope", "DM Sans", "Segoe UI", sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 7%;
    border-bottom: 1px solid var(--line);
}

header a {
    text-decoration: none;
    color: var(--b);
}

.brand {
    font-size: 25px;
    font-weight: 800;
}

.brand span {
    display: block;
    color: var(--g);
}

small,
.muted {
    color: var(--muted);
}

.eyebrow {
    color: var(--g);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

h1 {
    font-size: clamp(35px, 5vw, 60px);
    color: #183b4a;
    line-height: 1.1;
}

h1 span,
.green {
    color: var(--g);
}

.hero-copy p {
    line-height: 1.6;
    color: var(--muted);
}

.btn {
    display: inline-block;
    background: var(--g);
    color: white;
    border: 0;
    border-radius: 8px;
    padding: 13px 20px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    margin: 10px 5px 10px 0;
}

.outline {
    background: white;
    color: var(--b);
    border: 1px solid #bfd6f5;
}

.notice {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f3f8ff;
}

.product-hero {
    position: relative;
    width: 100%;
    height: clamp(420px, 68svh, 680px);
    margin-top: 18px;
    overflow: hidden;
    background: #fff;
}

.product-info-header h2 span {
    color: var(--g);
}

.product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-copy {
    max-width: 900px;
    margin: 36px auto 0;
    padding: 0 24px;
    text-align: center;
}

.no-bleach-callout {
    display: flex;
    max-width: 900px;
    align-items: center;
    gap: 16px;
    margin: 28px auto;
    padding: 18px 24px;
    border-left: 6px solid var(--g);
    background: #edf5ff;
}

.no-bleach-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--g);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.no-bleach-callout h2 {
    margin: 0;
    color: var(--b);
    font-size: 25px;
}

.no-bleach-callout p {
    margin: 3px 0 0;
    color: #465c79;
}

footer {
    text-align: center;
    padding: 30px;
    color: var(--muted);
}

.product-info-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fbff 0%, #fff 50%, #f1f7ff 100%);
}

.product-info-container {
    max-width: 1150px;
    margin: 0 auto;
}

.product-info-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.product-label {
    display: inline-block;
    color: var(--g);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.product-info-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--b);
    margin-bottom: 18px;
}

.product-info-header p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}

.product-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 75px;
}

.highlight-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2ebf7;
    box-shadow: 0 8px 25px rgba(17, 79, 146, 0.05);
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card:first-child {
    border: 2px solid var(--g);
    background: #edf5ff;
}

.highlight-card:first-child h3 {
    color: var(--b);
    font-size: 22px;
}

.highlight-icon {
    width: 45px;
    height: 45px;
    background: #eaf3ff;
    color: var(--g);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 23px;
    margin-bottom: 20px;
}

.highlight-card h3 {
    color: var(--b);
    font-size: 19px;
    margin-bottom: 12px;
}

.highlight-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 14px;
}

.ingredients-section {
    background: #fff;
    padding: 45px;
    border-radius: 20px;
    border: 1px solid #e3ebf7;
    margin-bottom: 50px;
}

.ingredients-heading {
    text-align: center;
    margin-bottom: 35px;
}

.ingredients-heading h3 {
    color: var(--b);
    font-size: 28px;
    margin-bottom: 15px;
}

.ingredients-heading p {
    color: #64748b;
    line-height: 1.7;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.ingredient-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: #f5f9ff;
    border-radius: 10px;
    border: 1px solid #e8f0ff;
    font-size: 14px;
    color: #334155;
}

.ingredient-item strong {
    color: var(--g);
    font-size: 16px;
    white-space: nowrap;
}

.product-note {
    margin-top: 30px;
    padding: 20px;
    background: #edf5ff;
    border-left: 4px solid var(--g);
    border-radius: 8px;
    color: #33527a;
    font-size: 14px;
    line-height: 1.8;
}

.quality-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 35px;
    background: linear-gradient(135deg, #eef5ff, #edf4ff);
    border-radius: 18px;
}

.quality-banner h3 {
    color: var(--b);
    font-size: 24px;
    margin-bottom: 12px;
}

.quality-banner p {
    color: #64748b;
    line-height: 1.8;
}

.quality-badge {
    min-width: 120px;
    height: 120px;
    background: var(--g);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 26px;
    font-weight: 800;
}

.quality-badge span {
    font-size: 9px;
    letter-spacing: 1px;
}

.quality-badge .quality-badge-name {
    font-size: 12px;
    letter-spacing: 0.5px;
}

.formwrap {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 16px;
}

.formwrap h1 {
    font-size: 38px;
}

.formwrap > p {
    color: var(--muted);
}

.homepage-order h2,
.wholesale-contact h2 {
    color: #183b4a;
}

.homepage-order {
    max-width: 560px;
    padding: 26px 20px;
    border: 1px solid var(--g);
    border-radius: 16px;
    background: #f4f9ff;
}

.homepage-order h2 {
    margin: 0 0 8px;
    text-align: center;
}

.homepage-order > p {
    margin: 0 0 20px;
    text-align: center;
}

.wholesale-contact {
    margin-top: 0;
    text-align: center;
}

.wholesale-contact h2 {
    font-size: 30px;
    font-weight: 800;
}

.owner-phone {
    color: var(--g);
    font-size: 26px;
    font-weight: 700;
}

.homepage-order form {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.homepage-order label {
    margin: 14px 0;
    color: #344a63;
    font-size: 14px;
}

.homepage-order .delivery-address-field {
    margin: 14px 0;
}

.homepage-order .delivery-address-heading label {
    margin: 0;
}

.homepage-order input,
.homepage-order textarea {
    min-height: 52px;
    border-color: #cfe0f9;
    background: #fff;
}

.homepage-order textarea {
    min-height: 76px;
}

.phone-input {
    display: flex;
    min-height: 52px;
    align-items: center;
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid #d3e2fb;
    border-radius: 8px;
    background: #fff;
}

.phone-input:focus-within {
    outline: 3px solid rgba(13, 111, 232, 0.25);
    outline-offset: 2px;
}

.phone-input .country-code {
    flex: 0 0 auto;
    padding: 12px;
    border-right: 1px solid #d3e2fb;
    color: var(--ink);
}

.phone-input input {
    min-width: 0;
    min-height: 50px;
    margin: 0;
    border: 0;
    border-radius: 0;
}

.phone-input input:focus {
    outline: 0;
}

.order-summary {
    margin: 22px 0 16px;
    padding: 10px 14px;
    border-top: 1px solid #dfeaf8;
    border-bottom: 1px solid #dfeaf8;
    background: #fff;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}

.summary-row > span {
    color: var(--muted);
}

.summary-row strong {
    color: var(--ink);
    white-space: nowrap;
}

.summary-row .free-delivery {
    color: var(--g);
}

.summary-total {
    margin-top: 4px;
    padding-top: 13px;
    border-top: 1px solid #e1eaf7;
    font-size: 19px;
    font-weight: 800;
}

.summary-total > span {
    color: var(--ink);
}

.homepage-order button.btn {
    display: block;
    width: 100%;
    min-height: 56px;
    margin: 18px 0 0;
    font-size: 17px;
}

.homepage-order .payment-note {
    margin: 12px 0 0;
    text-align: center;
    font-size: 13px;
}

.order-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-top: 16px;
}

.order-benefit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #1957a3;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.order-lookup {
    max-width: 560px;
    margin: 0 auto 24px;
    padding: 0 16px;
}

.order-lookup summary {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid #cfe1fb;
    border-radius: 8px;
    background: #f3f8ff;
    cursor: pointer;
    list-style: none;
}

.order-lookup summary::-webkit-details-marker {
    display: none;
}

.order-lookup summary::after {
    margin-left: auto;
    color: var(--g);
    content: "+";
    font-size: 24px;
    font-weight: 700;
}

.order-lookup[open] summary::after {
    content: "−";
}

.order-lookup-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--g);
    color: #fff;
    font-size: 24px;
}

.order-lookup-copy {
    display: grid;
    gap: 3px;
}

.order-lookup-copy strong {
    color: var(--b);
    font-size: 15px;
}

.order-lookup-copy small {
    color: #536a82;
    font-size: 12px;
}

.order-lookup-content {
    padding: 12px 4px 0;
}

.order-lookup-content form {
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.order-lookup-content .btn {
    width: 100%;
    min-height: 50px;
}

.order-lookup-result {
    margin-top: 16px;
    padding: 16px;
    border-top: 1px solid var(--line);
    background: #f4f9ff;
}

.order-lookup-result h3 {
    margin: 0 0 8px;
    color: var(--b);
    font-size: 18px;
    overflow-wrap: anywhere;
}

.order-lookup-result p {
    margin: 6px 0;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.location-status.error {
    color: #a52e32;
}

.product-details {
    max-width: 760px;
    margin: 24px auto 36px;
    padding: 0 24px;
}

.product-accordion {
    border-bottom: 1px solid var(--line);
}

.product-accordion:first-child {
    border-top: 1px solid var(--line);
}

.product-accordion summary {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.product-accordion summary::-webkit-details-marker {
    display: none;
}

.product-accordion summary::after {
    color: var(--g);
    content: "+";
    font-size: 24px;
}

.product-accordion[open] summary::after {
    content: "−";
}

.accordion-copy {
    padding: 0 0 16px;
    color: var(--muted);
    line-height: 1.6;
}

.accordion-copy p {
    margin: 8px 0;
}

.accordion-copy a {
    color: var(--g);
    font-weight: 700;
}

.how-it-works {
    padding: 42px 24px 48px;
    background: #edf5ff;
}

.how-it-works-inner {
    max-width: 950px;
    margin: 0 auto;
}

.how-it-works h2 {
    margin: 0 0 32px;
    color: var(--ink);
    font-size: 34px;
    text-align: center;
}

.how-it-works h2 span {
    color: var(--g);
    font-style: italic;
}

.order-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-steps li {
    text-align: center;
}

.step-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    place-items: center;
    border-radius: 50%;
    background: var(--g);
    color: #fff;
    font-size: 28px;
}

.order-steps h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 17px;
}

.order-steps p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.order-delivery-note {
    margin: 24px 0 0;
    color: var(--ink);
    font-weight: 700;
    text-align: center;
}

form {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(13, 61, 115, 0.08);
}

label {
    display: block;
    font-weight: bold;
    margin: 16px 0;
}

input,
textarea {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid #cbdcf5;
    border-radius: 8px;
    font: inherit;
}

textarea {
    min-height: 75px;
}

.total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    color: var(--g);
}

.location-button {
    display: inline-flex;
    width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 8px;
    border: 1px solid #bfd5f6;
    border-radius: 50%;
    background: #fff;
    color: var(--b);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.location-button svg {
    width: 19px;
    height: 19px;
}

.location-button:hover {
    background: #eef6ff;
}

.location-button:focus-visible {
    outline: 3px solid rgba(13, 111, 232, 0.25);
    outline-offset: 2px;
}

.location-button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.delivery-address-field {
    margin: 16px 0;
}

.delivery-address-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.delivery-address-heading label {
    margin: 0;
}

.delivery-address-field textarea {
    margin-top: 0;
}

.location-status {
    min-height: 18px;
    margin: 7px 0 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

.map-attribution {
    display: none;
}

.location-dialog {
    width: min(560px, calc(100% - 28px));
    max-height: min(90vh, 760px);
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--ink);
    box-shadow: 0 18px 60px rgba(16, 46, 80, 0.18);
}

.location-dialog::backdrop {
    background: rgba(16, 37, 29, 0.72);
}

.location-dialog-heading,
.location-search-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-dialog-heading {
    justify-content: space-between;
}

.location-dialog-heading h2 {
    margin: 0;
    color: var(--b);
    font-size: 20px;
}

.location-dialog-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #eef6ff;
    color: var(--ink);
    font-size: 26px;
    cursor: pointer;
}

.location-dialog-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.location-dialog .btn {
    margin: 0;
}

.location-map-panel[hidden] {
    display: none;
}

.location-search-form label {
    display: block;
    margin: 12px 0 6px;
    font-weight: 600;
}

.location-search-controls input {
    min-width: 0;
    flex: 1;
    margin: 0;
}

.location-search-results {
    display: grid;
    max-height: 140px;
    overflow-y: auto;
}

.location-search-result {
    padding: 9px 4px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    color: var(--b);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.location-search-result:hover,
.location-search-result:focus-visible {
    background: #eef6ff;
}

.location-map {
    height: min(44vh, 360px);
    min-height: 230px;
    margin-top: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    z-index: 0;
}

.location-map-status {
    margin: 8px 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.location-map-status.error {
    color: #a52e32;
}

.confirm-map-location {
    width: 100%;
}

.homepage-order label:has(:required) > .label-text::after,
.order-lookup-content label:has(:required) > .label-text::after,
#order-form > label:has(:required) > .label-text::after,
.delivery-address-field:has(textarea:required) .delivery-address-heading label::after {
    color: #b42318;
    content: " *";
    font-weight: 700;
}

.notice {
    margin: 20px 0;
    background: #f0f7ff;
    border-color: #cfe0f8;
}

.notice a {
    color: var(--b);
    font-weight: bold;
    display: block;
    margin: 10px 0;
}

.notice small {
    display: block;
}

.success,
.error {
    padding: 14px;
    margin-top: 15px;
    border-radius: 8px;
}

.success {
    background: #edf5ff;
    color: #1f4f8b;
}

.error {
    background: #fff0f0;
    color: #9a2828;
}

.use-cases {
    padding: 64px 20px;
    background: #f7faff;
}

.use-cases-inner {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

.use-cases-label {
    margin: 0 0 8px;
    color: var(--g);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.use-cases h2 {
    margin: 0;
    color: var(--b);
    font-size: clamp(26px, 4vw, 36px);
}

.use-cases-intro {
    margin: 12px 0 28px;
    color: var(--muted);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    text-align: left;
}

.use-case-card {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(14, 61, 120, 0.06);
}

.use-case-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.use-case-card .use-case-image-portrait {
    object-position: center 32%;
}

.use-case-card .use-case-image-top {
    object-position: center 10%;
}

.use-case-card figcaption {
    padding: 14px 16px;
    color: var(--b);
    font-weight: 700;
}

.use-cases-video {
    max-width: 760px;
    margin: 40px auto 0;
}

.use-cases-video h3 {
    margin: 0 0 14px;
    color: var(--b);
    font-size: 22px;
}

.use-cases-video video {
    display: block;
    width: 100%;
    max-height: 75svh;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #10251a;
}

.use-cases-order-link {
    margin: 28px 0 0;
}

@media (max-width: 768px) {
    .order-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 28px;
    }

    .product-hero {
        height: clamp(390px, 56svh, 480px);
    }

    .product-image {
        object-fit: cover;
        object-position: center top;
    }

    .product-info-section {
        padding: 50px 15px;
    }

    .product-highlights {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ingredients-section {
        padding: 25px 18px;
    }

    .ingredients-grid {
        grid-template-columns: 1fr;
    }

    .ingredient-item {
        font-size: 13px;
        padding: 15px;
    }

    .quality-banner {
        flex-direction: column;
        text-align: center;
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .use-case-card figcaption {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .use-cases {
        padding: 48px 16px;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .announcement-track {
        width: 100%;
        animation: none;
        justify-content: center;
    }

    .announcement-group {
        width: 100%;
        justify-content: center;
    }

    .announcement-group[aria-hidden="true"] {
        display: none;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
