/* Americas Food Products — public UI */
.afp-site-shell,
.afp-catalog-shortcode {
    --afp-ink: #17342d;
    --afp-ink-2: #294b43;
    --afp-green: #1f5b49;
    --afp-green-dark: #113d32;
    --afp-accent: #dc7442;
    --afp-accent-dark: #b9542c;
    --afp-cream: #f6f1e7;
    --afp-cream-2: #fffaf1;
    --afp-white: #ffffff;
    --afp-line: rgba(23, 52, 45, .13);
    --afp-muted: #6d7d77;
    --afp-shadow: 0 22px 60px rgba(17, 61, 50, .10);
    --afp-radius: 24px;
    color: var(--afp-ink);
    font-family: ".SF NS Text", ".SFNSText", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
}
.afp-site-shell *,
.afp-catalog-shortcode * { box-sizing: border-box; }
.afp-site-shell a,
.afp-catalog-shortcode a { text-decoration: none; }
.afp-home { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }
.afp-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.afp-kicker { color: var(--afp-accent-dark); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.afp-section { padding: 88px 0; }
.afp-section--cream { background: var(--afp-cream-2); }
.afp-section h2 { margin: 8px 0 0; color: var(--afp-ink); font-family: ".SF NS Text", ".SFNSText", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: clamp(34px, 4vw, 52px); line-height: 1.04; letter-spacing: -.035em; }
.afp-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 40px; }
.afp-section-head--center { justify-content: center; text-align: center; }
.afp-section-head--center > div { max-width: 720px; }
.afp-section-head p { margin: 16px 0 0; color: var(--afp-muted); font-size: 18px; }
.afp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 750; line-height: 1; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.afp-btn:hover { transform: translateY(-1px); }
.afp-btn--primary { background: var(--afp-green); color: #fff !important; box-shadow: 0 10px 26px rgba(31, 91, 73, .18); }
.afp-btn--primary:hover { background: var(--afp-green-dark); }
.afp-btn--ghost { border-color: var(--afp-line); color: var(--afp-ink) !important; background: rgba(255,255,255,.5); }
.afp-btn--ghost:hover { background: #fff; }
.afp-btn--light { background: #fff; color: var(--afp-green-dark) !important; }
.afp-btn--wide { width: 100%; }
.afp-text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--afp-green) !important; font-weight: 760; }
.afp-text-link span { transition: transform .2s ease; }
.afp-text-link:hover span { transform: translateX(3px); }

/* Hero */
.afp-hero { position: relative; overflow: hidden; padding: 90px 0 82px; background: linear-gradient(135deg, #f9f4ea 0%, #fff 54%, #edf4ef 100%); border-bottom: 1px solid var(--afp-line); }
.afp-hero:before { content:""; position:absolute; width:520px; height:520px; border-radius:50%; right:-160px; top:-210px; background: radial-gradient(circle, rgba(220,116,66,.17), rgba(220,116,66,0) 67%); }
.afp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 72px; align-items: center; }
.afp-hero-copy h1 { margin: 12px 0 22px; font-family: ".SF NS Text", ".SFNSText", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: clamp(52px, 7vw, 86px); letter-spacing: -.055em; line-height: .94; color: var(--afp-green-dark); max-width: 780px; }
.afp-hero-lead { max-width: 720px; margin: 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: #516861; }
.afp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.afp-trust-line { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 26px; color: #65746f; font-size: 13px; font-weight: 650; }
.afp-trust-line span { color: var(--afp-accent-dark); }
.afp-hero-panel { min-height: 430px; padding: 38px; border-radius: 36px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--afp-green-dark); color: #fff; box-shadow: var(--afp-shadow); }
.afp-hero-panel:before, .afp-hero-panel:after { content:""; position:absolute; border:1px solid rgba(255,255,255,.13); border-radius:50%; }
.afp-hero-panel:before { width:360px; height:360px; top:-80px; right:-70px; }
.afp-hero-panel:after { width:240px; height:240px; top:-18px; right:-8px; }
.afp-hero-mark { position:relative; z-index:2; display:flex; align-items:flex-end; gap:18px; font-size: clamp(80px, 9vw, 124px); font-weight:900; line-height:.78; letter-spacing:-.08em; color:#f5d8bd; }
.afp-hero-mark span { max-width:130px; font-size:18px; line-height:1.05; letter-spacing:-.02em; color:#fff; font-weight:700; }
.afp-hero-panel > p { position:relative; z-index:2; max-width:360px; margin:28px 0 0; color:rgba(255,255,255,.74); }
.afp-orbit { position:absolute; z-index:3; padding:8px 12px; border-radius:999px; border:1px solid rgba(255,255,255,.22); background:rgba(255,255,255,.09); backdrop-filter:blur(8px); font-size:12px; font-weight:700; color:#fff; }
.afp-orbit--one { top:52px; left:38px; }
.afp-orbit--two { top:100px; left:118px; }
.afp-orbit--three { top:150px; left:58px; }

/* Categories */
.afp-category-grid { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; }
.afp-category-card { min-height:170px; padding:24px; border:1px solid var(--afp-line); border-radius:20px; display:flex; flex-direction:column; justify-content:flex-end; background:#fff; color:var(--afp-ink) !important; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.afp-category-card:hover { transform:translateY(-3px); box-shadow:0 16px 36px rgba(17,61,50,.09); border-color:rgba(31,91,73,.28); }
.afp-category-count { margin-bottom:auto; color:var(--afp-muted); font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.afp-category-card strong { font-size:22px; line-height:1.05; }
.afp-category-card > span:last-child { margin-top:14px; color:var(--afp-green); font-size:13px; font-weight:750; }

.afp-category-card--beauty {
    position:relative;
    background:linear-gradient(145deg,#f5eee8 0%,#edf4ef 100%);
    border-color:rgba(31,91,73,.20);
}
.afp-category-card--beauty:before {
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    background:radial-gradient(circle at 85% 18%,rgba(196,77,33,.10),transparent 34%);
    pointer-events:none;
}
.afp-category-sector {
    position:relative;
    z-index:1;
    align-self:flex-start;
    margin-bottom:auto;
    padding:6px 9px;
    border-radius:999px;
    background:rgba(255,255,255,.78);
    color:#b84c27 !important;
    font-size:9px !important;
    font-weight:800 !important;
    letter-spacing:1.2px;
}

/* Product cards */
.afp-product-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:22px; }
.afp-product-card { min-width:0; overflow:hidden; border:1px solid var(--afp-line); border-radius:var(--afp-radius); background:#fff; box-shadow:0 8px 24px rgba(17,61,50,.04); transition:transform .2s ease, box-shadow .2s ease; }
.afp-product-card:hover { transform:translateY(-4px); box-shadow:var(--afp-shadow); }
.afp-card-media { aspect-ratio:4/3; display:block; position:relative; overflow:hidden; background:#f0eee7; }
.afp-card-media img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.afp-product-card:hover .afp-card-media img { transform:scale(1.025); }
.afp-card-featured { position:absolute; top:15px; left:15px; padding:7px 11px; border-radius:999px; background:rgba(255,255,255,.94); color:var(--afp-green-dark); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.afp-card-body { padding:23px; }
.afp-card-eyebrow { min-height:20px; color:var(--afp-accent-dark); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.afp-card-eyebrow span { margin:0 4px; color:#b6bdb9; }
.afp-card-body h3 { margin:9px 0 10px; font-size:23px; line-height:1.12; letter-spacing:-.025em; }
.afp-card-body h3 a { color:var(--afp-ink) !important; }
.afp-card-body p { margin:0; min-height:67px; color:var(--afp-muted); font-size:14px; line-height:1.55; }
.afp-card-flags { display:flex; flex-wrap:wrap; gap:6px; margin:17px 0; }
.afp-card-flags span { padding:6px 9px; border-radius:999px; background:#f2f6f3; color:#436157; font-size:10px; font-weight:760; text-transform:uppercase; letter-spacing:.04em; }

/* Steps */
.afp-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-top:42px; counter-reset:steps; }
.afp-steps > div { padding:28px; border-radius:20px; background:linear-gradient(180deg,#fff,#fbfaf7); border:1px solid var(--afp-line); }
.afp-steps span { display:block; margin-bottom:30px; color:var(--afp-accent); font-size:13px; font-weight:850; }
.afp-steps h3 { margin:0 0 8px; font-size:21px; }
.afp-steps p { margin:0; color:var(--afp-muted); font-size:14px; }
.afp-final-cta { background:var(--afp-green-dark); color:#fff; }
.afp-final-cta .afp-kicker { color:#f5bd95; }
.afp-final-cta h2 { color:#fff; }
.afp-final-cta p { margin:12px 0 0; color:rgba(255,255,255,.72); font-size:18px; }
.afp-final-cta-inner { display:flex; align-items:center; justify-content:space-between; gap:40px; }

/* Archive & filters */
.afp-archive-hero { padding:72px 0 54px; background:linear-gradient(135deg,var(--afp-cream),#fff); border-bottom:1px solid var(--afp-line); }
.afp-archive-hero h1 { margin:10px 0 13px; max-width:850px; font-size:clamp(45px,6vw,72px); line-height:.98; letter-spacing:-.05em; color:var(--afp-green-dark); }
.afp-archive-hero p { max-width:760px; margin:0; color:var(--afp-muted); font-size:18px; }
.afp-catalog-section { padding-top:52px; }
.afp-filter-form { display:grid; grid-template-columns:minmax(260px,1.5fr) 1fr 1fr auto; gap:10px; padding:14px; border:1px solid var(--afp-line); border-radius:18px; background:#fff; box-shadow:0 10px 30px rgba(17,61,50,.05); }
.afp-filter-form input, .afp-filter-form select { width:100%; height:50px; border:1px solid #d7ded9 !important; border-radius:12px !important; background:#fff !important; padding:0 14px !important; color:var(--afp-ink) !important; font-size:14px !important; outline:none; box-shadow:none !important; }
.afp-filter-form input:focus, .afp-filter-form select:focus { border-color:var(--afp-green) !important; }
.afp-results-meta { margin:22px 0; color:var(--afp-muted); font-size:13px; font-weight:700; }
.afp-empty { grid-column:1/-1; padding:60px 30px; border:1px dashed var(--afp-line); border-radius:18px; text-align:center; }
.afp-empty h3 { margin:0 0 8px; }
.afp-empty p { margin:0; color:var(--afp-muted); }
.afp-pagination { margin-top:42px; }
.afp-pagination .nav-links, .afp-pagination ul { display:flex; justify-content:center; align-items:center; gap:7px; list-style:none; padding:0; margin:0; }
.afp-pagination a, .afp-pagination .current { display:flex; min-width:40px; height:40px; align-items:center; justify-content:center; padding:0 11px; border:1px solid var(--afp-line); border-radius:10px; color:var(--afp-ink) !important; background:#fff; }
.afp-pagination .current { background:var(--afp-green); color:#fff !important; border-color:var(--afp-green); }

/* Single product */
.afp-product-hero { padding:35px 0 72px; background:linear-gradient(180deg,#fff,var(--afp-cream-2)); border-bottom:1px solid var(--afp-line); }
.afp-breadcrumbs { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:30px; color:#7a8984; font-size:12px; }
.afp-breadcrumbs a { color:#557068 !important; }
.afp-product-hero-grid { display:grid; grid-template-columns:minmax(0,1.02fr) minmax(400px,.98fr); gap:62px; align-items:center; }
.afp-product-image-wrap { aspect-ratio:1/1; overflow:hidden; border-radius:32px; background:#f1eee6; box-shadow:var(--afp-shadow); }
.afp-product-main-image { width:100%; height:100%; object-fit:cover; }
.afp-product-summary h1 { margin:9px 0 18px; font-size:clamp(42px,5vw,67px); line-height:.98; letter-spacing:-.05em; color:var(--afp-green-dark); }
.afp-product-lead { margin:0 0 22px; color:#5f716a; font-size:19px; line-height:1.55; }
.afp-product-badges { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:26px; }
.afp-product-badges span { padding:7px 11px; border:1px solid rgba(31,91,73,.15); border-radius:999px; background:#edf5f0; color:#2d5b4d; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.afp-spec-list { margin:0 0 25px; padding:0; border-top:1px solid var(--afp-line); }
.afp-spec-list > div { display:grid; grid-template-columns:150px minmax(0,1fr); gap:20px; padding:13px 0; border-bottom:1px solid var(--afp-line); }
.afp-spec-list dt { color:#7a8984; font-size:12px; font-weight:650; }
.afp-spec-list dd { margin:0; color:var(--afp-ink); font-size:14px; font-weight:720; }
.afp-managed-note { margin:13px 0 0; color:#7b8a85; font-size:11px; line-height:1.45; }
.afp-product-content-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr); gap:70px; align-items:start; }
.afp-prose h2 { margin:8px 0 20px; font-size:42px; line-height:1.05; letter-spacing:-.03em; }
.afp-prose p, .afp-prose li { color:#546a63; font-size:17px; line-height:1.75; }
.afp-prose p:first-of-type { margin-top:0; }
.afp-info-box { margin-top:28px; padding:22px; border-radius:17px; background:var(--afp-cream-2); border:1px solid var(--afp-line); }
.afp-info-box strong { display:block; margin-bottom:6px; }
.afp-info-box p { margin:0; font-size:14px; }
.afp-regulatory-card { position:sticky; top:28px; padding:30px; border-radius:24px; background:var(--afp-green-dark); color:#fff; box-shadow:var(--afp-shadow); }
.afp-regulatory-card .afp-kicker { color:#f5bd95; }
.afp-regulatory-card h3 { margin:10px 0 13px; color:#fff; font-size:27px; line-height:1.12; }
.afp-regulatory-card p { margin:0 0 15px; color:rgba(255,255,255,.76); font-size:14px; }
.afp-regulatory-card small { display:block; color:rgba(255,255,255,.55); font-size:11px; }
.afp-regulatory-icon { display:flex; align-items:center; justify-content:center; width:42px; height:42px; margin-bottom:24px; border-radius:50%; background:#f1c9a9; color:var(--afp-green-dark); font-weight:900; }
.afp-support-line { margin-top:22px; padding-top:17px; border-top:1px solid rgba(255,255,255,.14); color:#fff; font-size:12px; font-weight:720; }

/* Inquiry */
.afp-inquiry-card { display:grid; grid-template-columns:.82fr 1.18fr; overflow:hidden; border-radius:30px; background:#fff; border:1px solid var(--afp-line); box-shadow:var(--afp-shadow); }
.afp-inquiry-intro { padding:40px; background:var(--afp-green-dark); color:#fff; }
.afp-inquiry-intro .afp-kicker { color:#f5bd95; }
.afp-inquiry-intro h2 { margin:9px 0 14px; color:#fff; font-size:40px; line-height:1.02; }
.afp-inquiry-intro > p { color:rgba(255,255,255,.73); }
.afp-inquiry-product { display:flex; gap:13px; align-items:center; margin-top:35px; padding-top:24px; border-top:1px solid rgba(255,255,255,.14); }
.afp-inquiry-product img { width:64px; height:64px; object-fit:cover; border-radius:13px; }
.afp-inquiry-product span { display:block; color:rgba(255,255,255,.55); font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
.afp-inquiry-product strong { display:block; margin-top:3px; color:#fff; font-size:14px; line-height:1.2; }
.afp-inquiry-form-wrap { padding:38px; }
.afp-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:17px; }
.afp-form-grid label { display:flex; flex-direction:column; gap:7px; color:#415e55; font-size:12px; font-weight:720; }
.afp-form-grid input, .afp-form-grid select, .afp-form-grid textarea { width:100%; border:1px solid #d6dfda !important; border-radius:11px !important; background:#fff !important; padding:11px 12px !important; color:var(--afp-ink) !important; font:inherit !important; font-size:14px !important; box-shadow:none !important; }
.afp-form-grid input, .afp-form-grid select { height:46px; }
.afp-form-grid textarea { min-height:105px; resize:vertical; }
.afp-form-grid input:focus, .afp-form-grid select:focus, .afp-form-grid textarea:focus { outline:none; border-color:var(--afp-green) !important; }
.afp-form-span { grid-column:1/-1; }
.afp-consent { display:block; margin:17px 0; color:#6b7c76; font-size:11px; line-height:1.5; }
.afp-consent input { margin-right:6px; }
.afp-consent a { color:var(--afp-green) !important; text-decoration:underline; }
.afp-hp { position:absolute !important; left:-99999px !important; width:1px; height:1px; overflow:hidden; }
.afp-alert { margin-bottom:17px; padding:13px 15px; border-radius:10px; font-size:13px; }
.afp-alert--success { background:#edf7f1; color:#1e6145; border:1px solid #b9dfca; }
.afp-alert--error { background:#fff0ed; color:#8b3e2d; border:1px solid #efc5bb; }

@media (max-width: 1024px) {
    .afp-hero-grid, .afp-product-hero-grid { grid-template-columns:1fr; }
    .afp-hero-panel { min-height:360px; }
    .afp-category-grid { grid-template-columns:repeat(2,1fr); }
    .afp-product-grid { grid-template-columns:repeat(2,1fr); }
    .afp-steps { grid-template-columns:repeat(2,1fr); }
    .afp-filter-form { grid-template-columns:1fr 1fr; }
    .afp-filter-search { grid-column:1/-1; }
    .afp-product-content-grid { gap:36px; }
    .afp-inquiry-card { grid-template-columns:1fr; }
}

@media (max-width: 720px) {
    .afp-wrap { width:min(100% - 28px, 1180px); }
    .afp-section { padding:64px 0; }
    .afp-hero { padding:64px 0 58px; }
    .afp-hero-grid { gap:38px; }
    .afp-hero-copy h1 { font-size:clamp(48px,15vw,68px); }
    .afp-hero-actions { flex-direction:column; }
    .afp-hero-actions .afp-btn { width:100%; }
    .afp-hero-panel { min-height:320px; padding:28px; }
    .afp-section-head { display:block; }
    .afp-section-head > .afp-text-link { margin-top:18px; }
    .afp-category-grid, .afp-product-grid, .afp-steps { grid-template-columns:1fr; }
    .afp-card-body p { min-height:0; }
    .afp-final-cta-inner { display:block; }
    .afp-final-cta .afp-btn { width:100%; margin-top:24px; }
    .afp-filter-form { grid-template-columns:1fr; }
    .afp-filter-search { grid-column:auto; }
    .afp-filter-form .afp-btn { width:100%; }
    .afp-product-hero { padding-bottom:54px; }
    .afp-product-hero-grid { gap:34px; }
    .afp-product-image-wrap { border-radius:22px; }
    .afp-product-summary h1 { font-size:44px; }
    .afp-spec-list > div { grid-template-columns:1fr; gap:4px; }
    .afp-product-content-grid { grid-template-columns:1fr; }
    .afp-regulatory-card { position:static; }
    .afp-inquiry-intro, .afp-inquiry-form-wrap { padding:28px; }
    .afp-form-grid { grid-template-columns:1fr; }
    .afp-form-span { grid-column:auto; }
}

/* Theme compatibility: keep the catalog search CTA visible in Astra/Hello/other themes */
.afp-catalog-shortcode .afp-filter-form button.afp-btn.afp-btn--primary,
.afp-site-shell .afp-filter-form button.afp-btn.afp-btn--primary,
.afp-filter-form button[type="submit"] {
    min-width: 154px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 22px !important;
    border: 1px solid #1f5b49 !important;
    border-radius: 999px !important;
    background: #1f5b49 !important;
    background-color: #1f5b49 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-family: ".SF NS Text", ".SFNSText", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-indent: 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: 0 10px 26px rgba(31, 91, 73, .18) !important;
    cursor: pointer !important;
}
.afp-catalog-shortcode .afp-filter-form button.afp-btn.afp-btn--primary:hover,
.afp-site-shell .afp-filter-form button.afp-btn.afp-btn--primary:hover,
.afp-filter-form button[type="submit"]:hover,
.afp-filter-form button[type="submit"]:focus {
    border-color: #113d32 !important;
    background: #113d32 !important;
    background-color: #113d32 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}


/* =========================================================
   EXPERIENCE / REAL-WORLD PROOF
   Full-bleed credibility block. The approved visual already
   contains its own editorial title/copy, so no duplicate heading
   is shown above it.
========================================================= */
.afp-visually-hidden{
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    padding:0 !important;
    margin:-1px !important;
    overflow:hidden !important;
    clip:rect(0,0,0,0) !important;
    white-space:nowrap !important;
    border:0 !important;
}

.afp-experience-proof{
    position:relative;
    width:100%;
    margin:0;
    padding:0;
    background:#faf6ee;
    overflow:hidden;
}

.afp-experience-proof__visual{
    width:100%;
    margin:0;
    padding:0;
    overflow:hidden;
    border:0;
    border-radius:0;
    background:#faf6ee;
    box-shadow:none;
}

.afp-experience-proof__visual img{
    display:block;
    width:100%;
    max-width:none;
    height:auto;
    margin:0;
    padding:0;
    border:0;
}

@media(max-width:850px){
    .afp-experience-proof__visual img{
        width:100%;
        height:auto;
    }
}

