/* ==========================================================================
   Agro Acres — public site
   The larger compositions (hero, overview, products, export markets, why
   choose us, footer) follow specific pages of the Agro Acres Company Profile.
   ========================================================================== */

/* Running header (echoes the page headers in the company profile) ------- */

.topbar {
    border-bottom: 1px solid var(--line);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 38px;
}
.topbar-note { display: flex; align-items: center; gap: 14px; }
.topbar-sep { width: 56px; height: 1px; background: var(--yellow-dark); }
.topbar-contact { display: flex; gap: 22px; }
.topbar-contact a { color: inherit; text-decoration: none; }
.topbar-contact a:hover { color: var(--green); }

/* Header ----------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 84px;
}
.brand { flex: none; }
.brand img { width: 196px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav ul a {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    padding: 6px 0;
}
.site-nav ul a:hover { color: var(--green); }
.site-nav ul a[aria-current="page"] {
    color: var(--green);
    text-decoration: underline;
    text-decoration-color: var(--yellow);
    text-decoration-thickness: 3px;
    text-underline-offset: 10px;
}

.menu-toggle {
    display: none;
    width: 46px; height: 46px;
    align-items: center; justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
}
.menu-toggle-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-close { display: block; }
.menu-toggle span { line-height: 0; }

/* Shared helpers --------------------------------------------------------- */

.section { padding-block: var(--section); }
.section-tight { padding-block: 40px var(--section); }
.section-paper { background: var(--paper); }

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px 64px;
    align-items: end;
    margin-bottom: 52px;
}
.section-head-aside { display: grid; gap: 18px; justify-items: start; color: var(--ink-soft); }

.eyebrow-light { color: rgba(255, 255, 255, 0.86); }
.eyebrow-light .eyebrow-rule { background: var(--yellow); }

.link-light { color: var(--white); border-color: var(--yellow); }
.link-light:hover { color: var(--yellow); border-color: var(--yellow); }

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 30px;
    margin-top: 36px;
}

.bullet-list li { position: relative; margin: 9px 0; padding-left: 22px; line-height: 1.45; }
.bullet-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.58em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}
.bullet-list-lg li { font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin: 12px 0; }

.check-list { border-top: 1px solid var(--ink); }
.check-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.08rem;
    font-weight: 600;
}
.check-list .icon { color: var(--green); }

/* Hero — the "Vision" page: photo, orange sunrise rings, green panel whose
   top-right corner is a quarter circle. --k scales the ring artwork (1 = PDF
   points); the panel starts low enough to keep the top dot on screen. ------ */

.hero-v {
    --k: 0.85;
    --x0: max(var(--gutter), calc((100% - var(--wrap)) / 2));
    --panel-top: calc(48px + 240px * var(--k));
    --radius-v: 560px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--brown);
}
.hero-v-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 40%;
}
.hero-v-rings {
    position: absolute;
    z-index: -1;
    width: calc(577px * var(--k));
    max-width: none;
    left: calc(var(--x0) + 81px * var(--k) - 288.5px * var(--k));
    top: calc(var(--panel-top) + 150px * var(--k) - 389.9px * var(--k));
}
.hero-v-panel {
    width: calc(var(--x0) + 820px);
    max-width: 100%;
    margin-top: var(--panel-top);
    padding: 64px 64px 84px var(--x0);
    background: var(--green);
    border-top-right-radius: var(--radius-v);
    color: var(--white);
}
.hero-v-inner { max-width: 580px; }
.hero-v .eyebrow { display: block; margin-bottom: 20px; }
.hero-v .eyebrow span { color: var(--yellow); margin-inline: 5px; }
.hero-v-title {
    font-size: clamp(2.4rem, 4.6vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--yellow);
    text-wrap: balance;
}
.hero-v-lead {
    margin-top: 22px;
    max-width: 32em;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.94);
}
.hero-v .actions { margin-top: 34px; }

.hero-v-photo-seedling { object-position: 80% 50%; }

/* Vision & mission variant on the About page */
.hero-v-vision { --k: 0.8; --panel-top: calc(48px + 240px * var(--k)); }
.hero-v-vision .hero-v-title { font-size: clamp(2.6rem, 5vw, 4rem); }
.hero-v-vision .hero-v-lead + .hero-v-title { margin-top: 44px; }
.hero-v-vision .hero-v-lead { margin-top: 16px; }

/* Company overview — page 2: photo with the wavy edge ------------------- */

.overview {
    --gap-top: clamp(40px, 5vw, 72px);
    position: relative;
    overflow: hidden;
    min-height: calc(min(54vw, 980px) * 0.8735 + var(--gap-top));
    padding-block: clamp(96px, 11vw, 160px) clamp(64px, 8vw, 112px);
}
/* Starts a little below the section edge so it never touches the hero photo */
.wave-photo {
    position: absolute;
    top: var(--gap-top);
    right: 0;
    width: min(54vw, 980px);
    pointer-events: none;
}
.wave-photo svg { width: 100%; height: auto; }
.overview-copy { position: relative; width: min(44%, 560px); }
.overview-copy .display { max-width: 7em; }
.overview-prose { margin-top: 28px; font-size: 1.08rem; }

.facts {
    display: grid;
    grid-template-columns: auto auto 1fr;
    margin: 40px 0 32px;
    border-top: 1px solid var(--line);
}
.facts > div { padding: 16px 26px 0 0; }
.facts > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.facts dt {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.facts dd {
    margin-top: 6px;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.facts dd.facts-small { font-size: 1.02rem; letter-spacing: 0; line-height: 2rem; }

/* Core business activities ------------------------------------------------ */

.activities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.divider-dot { display: flex; align-items: center; margin-bottom: 26px; }
.divider-dot::before, .divider-dot::after { content: ""; flex: 1; height: 1px; background: var(--green); }
.divider-dot span {
    width: 13px; height: 13px;
    border: 1.5px solid var(--orange);
    border-radius: 50%;
}
.activity h3 { font-size: 1.15rem; line-height: 1.25; margin-bottom: 14px; }
.activity li { color: var(--ink-soft); line-height: 2; }

/* Products available — the brown band from page 4 ------------------------ */

.products {
    --bleed: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
    position: relative;
    overflow: hidden;
    background: var(--brown);
    color: var(--white);
}
.products-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 48px 72px;
}
.products-head {
    display: flex;
    flex-direction: column;
    padding-top: var(--section);
}
.products-title {
    font-size: clamp(2.8rem, 6.4vw, 5.4rem);
    line-height: 0.92;
    letter-spacing: -0.045em;
    color: var(--white);
    max-width: 5em;
}
/* Sits at the bottom of the heading column and bleeds to the left edge */
.products-visual {
    position: relative;
    width: min(520px, calc(100% + var(--bleed)));
    margin: auto 0 0 calc(-1 * var(--bleed));
    padding-top: 48px;
    align-self: flex-start;
}
.products-blobs { width: 100%; }
.products-sacks { position: absolute; left: 9%; bottom: -4%; width: 81%; }
.products-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: start;
    gap: 32px 48px;
    padding-block: calc(var(--section) + 44px) var(--section);
}
.products-subhead {
    margin-bottom: 14px;
    font-size: clamp(1.3rem, 2vw, 1.55rem);
    letter-spacing: -0.02em;
    color: #f2703c;
}
.products .bullet-list { color: rgba(255, 255, 255, 0.92); }
.products .bullet-list a { color: var(--white); font-weight: 700; text-decoration: none; }
.products .bullet-list a:hover { color: var(--yellow); text-decoration: underline; }
.products .bullet-list span { color: rgba(255, 255, 255, 0.62); font-size: 0.92rem; }
.products-link { margin-top: 26px; }

/* Export markets — page 5: green panel over a field photo --------------- */

.markets-feature {
    --x0: max(var(--gutter), calc((100% - var(--wrap)) / 2));
    --split: 290px;
    position: relative;
    isolation: isolate;
    padding-top: clamp(48px, 6vw, 80px);
    background: var(--white);
}
.markets-feature-photo {
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    width: 100%;
    height: calc(100% - clamp(48px, 6vw, 80px) - var(--split));
    object-fit: cover;
    object-position: center 60%;
}
.markets-panel {
    width: min(780px, 100%);
    margin-left: max(0px, calc(var(--x0) - 64px));
    padding: 64px 64px 80px;
    color: var(--white);
    /* solid over the white band, slightly see-through over the photo */
    background: linear-gradient(var(--green) var(--split), rgb(28 132 89 / 0.9) var(--split));
}
.markets-title {
    max-width: 6em;
    font-size: clamp(3rem, 6.4vw, 5.2rem);
    line-height: 0.9;
    letter-spacing: -0.045em;
    color: var(--yellow);
}
.markets-intro { max-width: 25em; margin-top: 20px; font-size: 1.15rem; line-height: 1.5; }
/* When it opens the Markets page the photo starts right under the header on small screens */
.markets-feature-top { padding-top: clamp(0px, 5vw, 72px); }

.market-region { margin-top: 34px; }
.market-region-name {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
}
.market-region-name::after { content: ""; width: 240px; max-width: 40%; height: 1px; background: var(--yellow); }
.market-pills { display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); gap: 16px 64px; }

/* Flat orange pill shifted right, with a white outline pill drawn over it (page 5).
   Both are pseudo-elements so the outline paints above the orange. */
.pill-o {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 18px 0 48px;
    font-weight: 600;
    color: var(--white);
}
.pill-o::before,
.pill-o::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 999px;
}
.pill-o::before { top: 0; bottom: 0; left: 26px; right: -30px; background: var(--orange); }
.pill-o::after { inset: 0; border: 2px solid var(--white); }

/* Why choose us — brown band under the markets photo -------------------- */

.why-brown { background: var(--brown); color: var(--white); padding-block: clamp(64px, 8vw, 104px); }
.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 32px 72px;
    align-items: start;
}
.why-title {
    max-width: 5em;
    font-size: clamp(2.8rem, 6.4vw, 5.2rem);
    line-height: 0.92;
    letter-spacing: -0.045em;
    color: var(--white);
}
.why-brown .bullet-list { padding-top: 8px; color: rgba(255, 255, 255, 0.94); }

/* Growers + brand imagery mosaic ---------------------------------------- */

.growers-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px 72px;
    align-items: center;
}
.growers-copy .lead { margin: 22px 0 28px; }
.growers-copy .check-list { margin-bottom: 34px; }

.mosaic {
    display: grid;
    grid-template-columns: 121fr 104fr 129fr 121fr;
    grid-template-rows: 119fr 75fr 119fr;
    gap: 8px;
    width: 100%;
    max-width: 680px;
    aspect-ratio: 491 / 327;
    justify-self: end;
}
.mosaic-tile {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--paper-2);
}
.mosaic-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}
/* Yellow bar that draws across the bottom of the hovered tile */
.mosaic-tile::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mosaic-tile figcaption {
    position: absolute;
    left: 10px;
    bottom: 15px;
    padding: 5px 10px;
    background: var(--green);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--white);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

/* Hover: the tile zooms and labels itself; the others step back a little */
@media (hover: hover) {
    .mosaic:hover .mosaic-tile img { filter: saturate(0.7) brightness(0.88); }
    .mosaic .mosaic-tile:hover img { transform: scale(1.08); filter: none; }
    .mosaic-tile:hover::after { transform: scaleX(1); }
    .mosaic-tile:hover figcaption { opacity: 1; transform: none; transition-delay: 0.08s; }
}

@media (prefers-reduced-motion: reduce) {
    .mosaic .mosaic-tile:hover img { transform: none; }
}
.m-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.m-b { grid-column: 3; grid-row: 1 / 3; }
.m-c { grid-column: 4; grid-row: 1; }
.m-d { grid-column: 4; grid-row: 2 / 4; }
.m-e { grid-column: 1; grid-row: 3; }
.m-f { grid-column: 2 / 4; grid-row: 3; }

/* Call to action — green band, rings rising from the bottom edge -------- */

.cta-band {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--green);
    color: var(--white);
    padding-block: clamp(64px, 8vw, 104px);
}
.cta-band-rings {
    position: absolute;
    z-index: -1;
    right: -40px;
    bottom: -400px;
    width: 600px;
    max-width: none;
}
.cta-band-inner { display: grid; gap: 34px; }
.cta-band-copy { max-width: 760px; }
.cta-band-title {
    max-width: 14em;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--yellow);
}
.cta-band-copy p:not(.eyebrow) { max-width: 34em; margin-top: 18px; font-size: 1.1rem; color: rgba(255, 255, 255, 0.92); }
.cta-band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }

/* Footer — the brown contact page of the profile ------------------------ */

.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--brown);
    color: rgba(255, 255, 255, 0.82);
    padding-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.65fr)) minmax(0, 1.1fr);
    gap: 40px;
}
.footer-brand img { width: 200px; }
.footer-brand p { margin-top: 22px; max-width: 30em; font-size: 0.95rem; line-height: 1.65; }
.footer-title {
    margin-bottom: 16px;
    font-size: 1.15rem;
    letter-spacing: -0.015em;
    color: var(--yellow);
}
.footer-col li { padding: 4px 0; font-size: 0.95rem; }
.footer-col a { color: var(--white); text-decoration: none; }
.footer-col a:hover { color: var(--yellow); text-decoration: underline; }
.footer-country {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--white);
}
.footer-country::after { content: ""; width: 90px; height: 1px; background: var(--orange); }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .icon {
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    stroke-width: 2;
}
.footer-base {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 28px;
    margin-top: 64px;
    padding-top: 22px;
    padding-bottom: 30px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}
.footer-credit a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; text-decoration-color: var(--yellow); }
.footer-credit a:hover { color: var(--yellow); }
.footer-base::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--gutter);
    right: var(--gutter);
    height: 1px;
    background: rgba(255, 255, 255, 0.16);
}
.footer-shape {
    position: absolute;
    right: -30px;
    bottom: -40px;
    width: 400px;
    max-width: none;
    pointer-events: none;
}

/* Inner page header — green, with the sunrise rings --------------------- */

.page-head {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-block: clamp(56px, 8vw, 100px) clamp(56px, 7vw, 88px);
    background: var(--green);
    color: var(--white);
}
.page-head::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -120px;
    bottom: -330px;
    width: 520px;
    height: 612px;
    background: url("../img/brand/rings.svg") no-repeat center / contain;
    pointer-events: none;
}
.page-head .eyebrow { color: rgba(255, 255, 255, 0.86); }
.page-head .eyebrow-rule { background: var(--yellow); }
.page-head .display { max-width: 12em; color: var(--yellow); }
.page-head .lead { margin-top: 24px; color: rgba(255, 255, 255, 0.92); }
.page-head .lead a { color: var(--white); }
.page-head .lead a:hover { color: var(--yellow); }

/* Catalogue -------------------------------------------------------------- */

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 28px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--line);
}
.tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0;
    margin-bottom: -1px;
    border-bottom: 3px solid transparent;
    font-weight: 700;
    color: var(--ink-soft);
    text-decoration: none;
}
.tabs a span { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--green); border-bottom-color: var(--yellow); }

.catalogue { width: 100%; border-collapse: collapse; }
.catalogue th {
    padding: 0 16px 12px 0;
    border-bottom: 1px solid var(--ink);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: left;
    color: var(--muted);
}
.catalogue td {
    padding: 22px 16px 22px 0;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    font-size: 0.95rem;
    color: var(--ink-soft);
}
.catalogue tbody tr { transition: background-color .15s ease; }
.catalogue tbody tr:hover { background: var(--paper); }
.catalogue .col-no { width: 56px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.col-name { width: 36%; }
.catalogue td[data-label="Main harvest"], .catalogue td[data-label="Status"] { white-space: nowrap; }
.col-name a {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--ink);
    text-decoration: none;
}
.col-name a:hover { color: var(--green); }
.col-name span { display: block; margin-top: 6px; }
.table-note { margin-top: 20px; font-size: 0.85rem; color: var(--muted); }
.empty { padding: 40px 0; color: var(--ink-soft); }

/* Commodity page --------------------------------------------------------- */

.commodity { padding-block: 36px var(--section); }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 48px; font-size: 0.9rem; color: var(--muted); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); text-decoration: underline; }

.commodity-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: start;
}
.commodity-main .lead { margin-top: 20px; }

.commodity-figure { margin-block: 40px; }
.commodity-figure:not(.commodity-figure-plain) img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.commodity-figure-plain {
    position: relative;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 16 / 7;
    padding: 28px;
    overflow: hidden;
    background: var(--green);
}
.commodity-figure-plain span {
    position: relative;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--yellow);
}
/* The rings rise from the panel's lower-right corner */
.plain-arcs { position: absolute; right: -4%; bottom: -62%; width: 44%; }

.spec-title { margin-top: 48px; margin-bottom: 14px; }
.spec { border-top: 1px solid var(--ink); }
.spec > div {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.spec dt { font-weight: 700; color: var(--ink); }
.spec dd { color: var(--ink-soft); }

.commodity-aside { position: sticky; top: 108px; }
.panel { padding: 28px; border: 1px solid var(--line); background: var(--white); }
.panel + .panel { margin-top: 16px; }
.panel-plain { background: var(--paper); border-color: var(--paper); }
.panel .h3 { margin-bottom: 8px; }
.panel-intro { margin-bottom: 20px; font-size: 0.95rem; color: var(--ink-soft); }
.form-compact { gap: 16px; }
.form-compact .field-row { gap: 16px; }
.form-compact .alert { margin-bottom: 4px; }

.other-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.other-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--white);
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
}
.other-list a:hover { border-color: var(--green); color: var(--green); }
.other-list .icon { width: 16px; height: 16px; }

/* Services --------------------------------------------------------------- */

.services { display: grid; }
.service {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px 48px;
    padding-block: 48px;
    border-top: 1px solid var(--line);
}
.service:first-child { border-top-color: var(--ink); padding-top: 40px; }
.service-no {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--ink);
}
.service-body { display: grid; gap: 18px; justify-items: start; max-width: 46em; }
.service-body > p { color: var(--ink-soft); font-size: 1.1rem; }

.plain-list li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.plain-list li:first-child { border-top: 1px solid var(--line); }
.service .plain-list { width: 100%; max-width: 32em; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a {
    display: inline-block;
    padding: 6px 14px;
    background: var(--green-tint);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--green-dark);
    text-decoration: none;
}
.tag-list a:hover { background: var(--green); color: var(--white); }

.steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--ink);
    counter-reset: step;
}
.steps li { padding: 22px 22px 0 0; counter-increment: step; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps li::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: 18px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
}
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { font-size: 0.95rem; color: var(--ink-soft); }

/* About: two columns, values, pull quote -------------------------------- */

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px clamp(40px, 6vw, 96px);
    align-items: start;
}
.note {
    display: grid;
    gap: 12px;
    justify-items: start;
    margin-top: 40px;
    padding: 28px;
    background: var(--yellow-tint);
}
.note p { color: var(--ink-soft); }

.values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
}
.values li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0 34px;
    border-top: 1.5px solid var(--ink);
}
.values-no { font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 400; line-height: 1; letter-spacing: -0.04em; }
.values-name {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: right;
}

.pull-quote {
    margin-top: 28px;
    padding-left: 22px;
    border-left: 3px solid var(--yellow);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--ink);
}

/* Contact ---------------------------------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
.contact-rows { margin-top: 20px; border-top: 1px solid var(--ink); }
.contact-rows li {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 3px;
}
.contact-rows a { font-weight: 700; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-rows a:hover { color: var(--green); text-decoration: underline; }
.contact-parent { margin-top: 20px; font-size: 0.9rem; color: var(--muted); }
.contact-form .alert { margin-bottom: 24px; }

/* Quote & supply forms --------------------------------------------------- */

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: start;
}
.form-layout > div > .alert { margin-bottom: 28px; }
.form-section {
    display: grid;
    gap: 22px;
    min-width: 0;
    margin: 0;
    padding: 0 0 36px;
    border: 0;
    border-bottom: 1px solid var(--line);
}
.form-section legend {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin-bottom: 22px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.legend-no {
    display: inline-grid;
    place-items: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--yellow);
    font-size: 0.85rem;
    color: var(--brown);
}
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-fineprint { font-size: 0.85rem; color: var(--muted); }

.form-aside { position: sticky; top: 108px; }
.next-steps { counter-reset: next; display: grid; gap: 14px; margin-top: 14px; }
.next-steps li {
    counter-increment: next;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--ink-soft);
}
.next-steps li::before { content: counter(next); font-weight: 800; color: var(--orange); }
.form-aside .plain-list { margin-top: 14px; }
.panel p { color: var(--ink-soft); }
.panel p a { font-weight: 700; }

/* Confirmation ----------------------------------------------------------- */

.confirm { min-height: 60vh; }
.confirm-inner { max-width: 820px; }
.confirm .lead { margin-top: 22px; }
.reference {
    display: inline-grid;
    gap: 4px;
    margin-top: 40px;
    padding: 20px 28px;
    border: 1.5px dashed var(--ink);
    background: var(--yellow-tint);
}
.reference-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.reference-code {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.confirm-hint { margin-top: 14px; font-size: 0.9rem; color: var(--muted); }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1100px) {
    .site-nav { gap: 24px; }
    .site-nav ul { gap: 20px; }
    .activities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
    .steps li:nth-child(4) { padding-left: 0; border-left: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .hero-v { --k: 0.62; --radius-v: 460px; }
    .hero-v-panel { width: calc(var(--x0) + 700px); }
    .hero-v-inner { max-width: 520px; }
    .products-lists { padding-top: calc(var(--section) + 32px); }
}

@media (max-width: 960px) {
    .topbar-note { display: none; }
    .topbar-inner { justify-content: flex-end; }

    .menu-toggle { display: inline-flex; }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px var(--gutter) 24px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
    }
    .site-nav.is-open { display: flex; }
    .site-nav ul { flex-direction: column; gap: 0; }
    .site-nav ul li { border-bottom: 1px solid var(--line); }
    .site-nav ul a { display: block; padding: 14px 0; font-size: 1.05rem; }
    .site-nav ul a[aria-current="page"] { text-decoration: none; box-shadow: inset 3px 0 0 var(--yellow); padding-left: 14px; }
    .header-cta { margin-top: 18px; }

    .section-head, .two-col, .contact-grid, .form-layout, .commodity-grid,
    .growers-grid, .why-grid, .cta-band-inner {
        grid-template-columns: 1fr;
    }
    .section-head { align-items: start; gap: 20px; }
    .commodity-aside, .form-aside { position: static; }
    .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service { grid-template-columns: 1fr; gap: 12px; }
    .mosaic { justify-self: start; }

    /* Overview: photo on top, copy underneath */
    .overview { min-height: 0; padding-top: 0; }
    .wave-photo { position: relative; top: 0; width: 100%; margin-bottom: 8px; }
    .overview-copy { width: 100%; }

    /* Products: heading, lists, then the sack at the bottom */
    .products-grid { grid-template-columns: 1fr; gap: 0; padding-top: var(--section); }
    .products-head { display: contents; }
    .products-lists { order: 1; padding-block: 36px 8px; }
    .products-visual { order: 2; width: min(420px, 100% + var(--bleed)); margin-top: 0; padding-top: 32px; }

    .page-head { padding-bottom: 170px; }
    .page-head::after { width: 360px; height: 424px; right: -80px; bottom: -254px; }

    /* Catalogue table becomes stacked cards */
    .catalogue thead { display: none; }
    .catalogue, .catalogue tbody, .catalogue tr, .catalogue td { display: block; width: 100%; }
    .catalogue tr { padding: 20px 0; border-bottom: 1px solid var(--line); }
    .catalogue tbody tr:first-child { border-top: 1px solid var(--ink); }
    .catalogue td { padding: 4px 0; border: 0; }
    .catalogue td.col-no { display: none; }
    .catalogue td[data-label] { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
    .catalogue td[data-label]::before {
        content: attr(data-label);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--muted);
        padding-top: 3px;
    }
    .col-name { margin-bottom: 10px; }
}

@media (max-width: 700px) {
    /* Hero: elliptical corner so the text clears the curve on a narrow screen */
    .hero-v { --k: 0.46; --panel-top: calc(36px + 240px * var(--k)); }
    .hero-v-panel {
        width: 100%;
        padding: 48px var(--gutter) 56px;
        border-top-right-radius: 72% 170px;
    }
    .hero-v .eyebrow { max-width: 21em; }
    .hero-v-vision { --k: 0.5; }

    .markets-feature { --split: 250px; }
    .markets-panel { margin-left: 0; padding: 44px var(--gutter) 56px; }
    .markets-feature-top { padding-top: 0; }
    .market-pills { grid-template-columns: minmax(0, 260px); gap: 14px; }
}

@media (max-width: 640px) {
    .topbar-contact a:last-child { display: none; }
    .brand img { width: 160px; }
    .header-inner { min-height: 72px; }

    .facts { grid-template-columns: 1fr 1fr; }
    .facts > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; }

    .activities { grid-template-columns: 1fr; }
    .products-lists { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .steps li, .steps li + li { padding: 18px 0 0; border-left: 0; }
    .values { grid-template-columns: 1fr; }
    .spec > div { grid-template-columns: 1fr; gap: 2px; }
    .contact-rows li { grid-template-columns: 1fr; gap: 4px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-shape { width: 240px; right: -50px; bottom: -60px; }
    .footer-base { padding-bottom: 120px; }
    .cta-band-rings { width: 360px; right: -80px; bottom: -290px; }
    /* Extra room at the bottom so the rings rise below the text, not behind it */
    .page-head { padding-bottom: 150px; }
    .page-head::after { width: 240px; height: 283px; right: -60px; bottom: -150px; }
    .panel { padding: 22px; }
}

/* ==========================================================================
   Buy now: catalogue prices, buy panel, checkout, payment prompt, receipt
   ========================================================================== */

.col-price strong { display: block; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.col-price span:not(.status) { display: block; font-size: 0.85rem; color: var(--muted); }
.col-price .status { margin-top: 8px; }
.col-price .price-quote { font-weight: 700; color: var(--ink-soft); }
.col-action { text-align: right; vertical-align: middle !important; white-space: nowrap; }

/* Commodity page: buy panel */
.buy-panel {
    margin-bottom: 16px;
    padding: 28px;
    background: var(--green);
    color: var(--white);
}
.buy-panel .eyebrow { margin-bottom: 12px; }
.buy-price { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--yellow); }
.buy-price span { display: block; margin-top: 4px; font-size: 0.95rem; font-weight: 600; letter-spacing: 0; color: rgba(255, 255, 255, 0.85); }
.buy-min { margin: 14px 0 20px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }

.pay-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pay-logos li {
    display: grid;
    place-items: center;
    height: 34px;
    padding: 0 10px;
    border-radius: 3px;
    background: var(--white);
}
.pay-logos img { height: 18px; width: auto; }
.pay-logos .pay-wordmark { font-size: 0.78rem; }

/* Checkout ---------------------------------------------------------------- */

.checkout { padding-block: 32px var(--section); }
.checkout-head { margin-bottom: 36px; }
.checkout-head .display { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.checkout-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 14px; font-size: 1.1rem; color: var(--ink-soft); }
.checkout-price strong { font-size: 1.5rem; color: var(--ink); }
.checkout-price span { font-size: 0.95rem; color: var(--muted); }
.checkout-alert { margin-bottom: 28px; }

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.75fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}
.checkout-main { display: grid; gap: 36px; }
.checkout-main .form-section { padding-bottom: 36px; }
.checkout-confirm { gap: 16px; border-bottom: 0; }
.hint { margin-top: 2px; font-size: 0.88rem; color: var(--muted); }

.stepper { display: flex; align-items: center; gap: 0; }
.stepper input {
    width: 110px;
    border-radius: 0;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
    -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-btn {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--line-strong);
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
}
.stepper-btn:first-child { border-right: 0; border-radius: var(--radius) 0 0 var(--radius); }
.stepper-btn:nth-child(3) { border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; }
.stepper-btn:hover { background: var(--yellow-tint); }
.stepper-unit { margin-left: 16px; font-weight: 700; color: var(--ink-soft); }

.option-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option-card { position: relative; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option-card-body {
    display: grid;
    gap: 6px;
    height: 100%;
    padding: 18px 18px 18px 20px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--white);
}
.option-card-body .icon { width: 26px; height: 26px; color: var(--green); }
.option-card-body strong { font-size: 1.05rem; }
.option-card-body span { font-size: 0.9rem; color: var(--ink-soft); }
.option-card:hover .option-card-body { border-color: var(--muted); }
.option-card input:checked + .option-card-body { border-color: var(--green); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green); }
.option-card input:focus-visible + .option-card-body { outline: 2px solid var(--green); outline-offset: 2px; }

/* Payment method tiles */
.pay-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pay-option { position: relative; cursor: pointer; }
.pay-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pay-option-body {
    position: relative;
    display: grid;
    gap: 4px;
    height: 100%;
    padding: 16px 18px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--white);
}
.pay-logo { display: flex; align-items: center; height: 34px; margin-bottom: 6px; }
.pay-logo img { max-height: 30px; max-width: 120px; width: auto; }
/* The Airtel mark is square (swirl over a small wordmark), so it needs more height */
.pay-option-airtel .pay-logo { height: 44px; margin-bottom: 2px; }
.pay-option-airtel .pay-logo img { max-height: 44px; }
.pay-logos img[alt="Airtel Money"] { height: 28px; }
.pay-name { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.pay-cards .icon { width: 18px; height: 18px; color: var(--muted); }
.pay-hint { font-size: 0.85rem; color: var(--ink-soft); }
.pay-test {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 2px 7px;
    border-radius: 2px;
    background: var(--yellow-tint);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brown);
}
.pay-option:hover .pay-option-body { border-color: var(--muted); }
.pay-option input:checked + .pay-option-body { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: var(--green-tint); }
.pay-option input:focus-visible + .pay-option-body { outline: 2px solid var(--green); outline-offset: 2px; }
.pay-option.is-disabled { opacity: 0.45; cursor: not-allowed; }
.pay-options-compact .pay-option-body { padding: 12px 14px; }
.pay-options-compact .pay-hint { display: none; }

/* Wordmarks until official logo files are added */
.pay-wordmark { display: inline-flex; align-items: center; gap: 6px; font-size: 0.95rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.pay-wordmark b { font-weight: 900; letter-spacing: 0.02em; }
.pay-wordmark .icon { width: 18px; height: 18px; }
.pay-glyph { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); color: var(--ink); }
.pay-glyph .icon { width: 19px; height: 19px; }

.pay-note { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); }
.pay-note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--green); }

/* Order summary (checkout sidebar, prompt, receipt) */
.checkout-aside, .pay-aside { position: sticky; top: 108px; }
.summary { padding: 26px; background: var(--paper); border-top: 4px solid var(--green); }
.summary-title { margin-bottom: 14px; font-size: 1.1rem; }
.summary-lines > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}
.summary-lines dt { font-weight: 700; }
.summary-lines dt > span { display: block; margin-top: 2px; font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.summary-lines dd { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary-total { border-top: 1.5px solid var(--ink) !important; }
.summary-total dt, .summary-total dd { font-size: 1.3rem; font-weight: 800; }
.btn-pay { min-height: 56px; margin-top: 16px; padding-block: 12px; font-size: 1rem; line-height: 1.3; text-align: center; }
.summary-secure { display: flex; gap: 8px; margin-top: 14px; font-size: 0.82rem; color: var(--muted); }
.summary-secure .icon { width: 16px; height: 16px; flex: none; margin-top: 2px; }

/* Payment prompt ------------------------------------------------------------ */

.pay-page { padding-block: 48px var(--section); background: var(--white); }
.pay-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}
.pay-main { display: grid; gap: 24px; }
.prompt { display: grid; gap: 18px; justify-items: start; }
.prompt .eyebrow { margin-bottom: 0; }
.prompt-title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); letter-spacing: -0.035em; line-height: 1; color: var(--green); }
.prompt-lead { max-width: 34em; font-size: 1.15rem; line-height: 1.55; color: var(--ink-soft); }
.prompt-lead strong { color: var(--ink); }

/* The phone with a pulsing ring */
.prompt-phone { position: relative; display: grid; place-items: center; width: 200px; height: 220px; margin-bottom: 8px; }
.prompt-ring {
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 14px solid var(--orange);
    opacity: 0.9;
    animation: prompt-pulse 2.4s ease-out infinite;
}
.prompt-device {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 10px;
    width: 116px;
    height: 200px;
    border: 3px solid var(--ink);
    border-radius: 18px;
    background: var(--white);
}
.prompt-device img { max-width: 76px; max-height: 46px; }
.prompt-device-amount { font-size: 0.8rem; font-weight: 800; color: var(--ink); }
.prompt-device-pin { padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 3px; font-size: 0.9rem; letter-spacing: 0.2em; color: var(--ink); }
@keyframes prompt-pulse {
    0% { transform: scale(0.82); opacity: 0.9; }
    70% { transform: scale(1.05); opacity: 0.15; }
    100% { transform: scale(1.05); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .prompt-ring { animation: none; opacity: 0.35; } }

.prompt-steps { display: grid; gap: 8px; counter-reset: pstep; }
.prompt-steps li { counter-increment: pstep; display: grid; grid-template-columns: 28px 1fr; gap: 8px; color: var(--ink-soft); }
.prompt-steps li::before { content: counter(pstep); font-weight: 800; color: var(--orange); }

.prompt-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    width: 100%;
    padding: 16px 18px;
    background: var(--yellow-tint);
    font-weight: 700;
}
.prompt-status.is-success { background: var(--green-tint); color: var(--green-dark); }
.prompt-status.is-timeout { background: var(--peach-tint); color: var(--orange-dark); }
.prompt-status.is-success .spinner, .prompt-status.is-timeout .spinner { display: none; }
.prompt-timer { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(67, 42, 23, 0.2);
    border-top-color: var(--brown);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.prompt-failed .prompt-title { color: var(--orange-dark); }
.prompt-success .prompt-title { color: var(--green); }
.success-mark {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
}
.success-mark .icon { width: 34px; height: 34px; stroke-width: 2.4; }

.bank-details { width: 100%; max-width: 520px; border-top: 1px solid var(--ink); }
.bank-details > div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bank-details dt { font-weight: 700; color: var(--ink-soft); }
.bank-details dd { font-weight: 700; }
.pay-reference { max-width: 520px; }
.pay-reference-title { margin-top: 8px; }
.bank-ref dd { font-size: 1.3rem; letter-spacing: 0.04em; color: var(--green); }
.placeholder-note { font-weight: 600; font-style: italic; color: var(--orange-dark); }

.simulate {
    display: grid;
    gap: 12px;
    padding: 18px 20px;
    border: 1.5px dashed var(--brown);
    background: var(--paper);
    font-size: 0.92rem;
}
.simulate-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.simulate-actions form { margin: 0; }

.retry { border-top: 1px solid var(--line); padding-top: 18px; }
.retry summary { cursor: pointer; font-weight: 800; color: var(--green); }
.retry summary:hover { text-decoration: underline; }
.retry-form { margin-top: 18px; }

.progress { display: flex; flex-wrap: wrap; gap: 0; width: 100%; margin-top: 8px; border-top: 1px solid var(--line); }
.progress li {
    position: relative;
    flex: 1 1 120px;
    padding: 14px 12px 0 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--muted);
}
.progress li::before { content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 3px; background: transparent; }
.progress li.is-done { color: var(--ink); }
.progress li.is-done::before { background: var(--green); }
.progress li.is-current { color: var(--green); }

.pay-aside-note { margin-top: 16px; font-size: 0.85rem; color: var(--muted); }
.order-facts { margin-top: 16px; }
.order-facts > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.order-facts dt { font-weight: 700; color: var(--ink-soft); }

@media (max-width: 960px) {
    .checkout-grid, .pay-grid { grid-template-columns: 1fr; }
    .checkout-aside, .pay-aside { position: static; }
    .col-action { text-align: left; }
    .catalogue td.col-action { display: block; padding-top: 12px; }
}

@media (max-width: 640px) {
    .option-cards, .pay-options { grid-template-columns: 1fr; }
    .bank-details > div { grid-template-columns: 1fr; gap: 2px; }
    .prompt-phone { width: 170px; height: 190px; }
    .prompt-ring { width: 160px; height: 160px; }
    .prompt-device { width: 100px; height: 172px; }
}

/* My orders ---------------------------------------------------------------- */

.my-orders { max-width: 560px; }
.my-orders .form { margin-bottom: 18px; }
.code-input { max-width: 220px; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.3em; }
.my-orders-resend { margin: 0; }
.my-orders-signout { margin-top: 10px; }
.link-button { padding: 0; border: 0; background: none; font: inherit; color: var(--green); text-decoration: underline; cursor: pointer; }
.link-button:hover { color: var(--green-dark); }
.my-orders-list { border-top: 1px solid var(--ink); }
.my-orders-list li {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
    gap: 12px 24px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.my-order-main, .my-order-status { display: grid; gap: 3px; }
.my-order-ref { font-weight: 800; letter-spacing: 0.02em; color: var(--ink); }
.my-order-meta { font-size: 0.88rem; color: var(--muted); }

@media (max-width: 720px) {
    .my-orders-list li { grid-template-columns: 1fr; }
}
