.wif-shopamz-catalogue {
    --shopamz-ink: #172e36;
    --shopamz-muted: #465e63;
    --shopamz-sand: #f8f5ed;
    --shopamz-line: #e2e8e6;
    max-width: 76rem;
    margin-inline: auto;
    padding: clamp(1rem, 4vw, 3rem);
    color: var(--shopamz-ink);
}
.shopamz-hero, .shopamz-product-head {
    border-radius: 1.4rem;
    padding: clamp(1.6rem, 6vw, 4.5rem);
    overflow-wrap: anywhere;
}
.shopamz-hero {
    background: radial-gradient(ellipse at 100% 0%, #315d60, transparent 65%), #172e36;
    color: #f8f5ed;
}
.shopamz-kicker {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.shopamz-hero .shopamz-kicker { color: #f5ce90; }
.shopamz-hero h1, .shopamz-product-head h1 {
    color: inherit;
    font-size: clamp(2.1rem, 6vw, 4.25rem);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.05;
    margin: .65rem 0;
}
.shopamz-hero p, .shopamz-product-head p { max-width: 56ch; margin: 1rem 0 0; font-size: clamp(1rem, 2vw, 1.2rem); }
.shopamz-hero a { color: #fff; text-decoration: underline; }
.shopamz-breadcrumb {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1rem;
    color: var(--shopamz-muted);
    font-size: .9rem;
}
.shopamz-breadcrumb a { color: inherit; }
.shopamz-section-title { font-size: clamp(1.45rem, 3vw, 2rem); margin: 1.75rem 0 .8rem; color: inherit; }
.wif-shopamz-grid, .wif-shopamz-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 1rem;
    margin: 0 0 1.5rem;
    padding: 0;
}
.wif-shopamz-categories { list-style: none; }
.wif-shopamz-categories a {
    align-items: center;
    background: var(--shopamz-sand);
    border-radius: .9rem;
    color: var(--shopamz-ink);
    display: flex;
    font-weight: 650;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem;
    text-decoration: none;
}
.wif-shopamz-grid article {
    background: #fff;
    border: 1px solid var(--shopamz-line);
    border-radius: 1rem;
    box-shadow: 0 8px 26px #172e360b;
    min-width: 0;
    overflow-wrap: anywhere;
}
.shopamz-card-image { background: var(--shopamz-sand); display: block; border-radius: 1rem 1rem 0 0; overflow: hidden; }
.shopamz-card-image img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: contain; }
.shopamz-card-body { padding: 1.2rem; }
.shopamz-card-body h3 { color: inherit; margin: 0 0 .55rem; font-size: 1.2rem; }
.shopamz-card-body a { color: inherit; }
.shopamz-card-body p { margin-bottom: 0; color: var(--shopamz-muted); }
.shopamz-search {
    align-items: center;
    background: #edf3f1;
    border-radius: .9rem;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin: 1.4rem 0;
    padding: 1rem;
}
.shopamz-search label { font-weight: 650; }
.shopamz-search input { flex: 1 1 13rem; min-width: 0; max-width: 100%; min-height: 2.7rem; border-radius: .5rem; }
.shopamz-search button, .wif-shopamz-affiliate a {
    display: inline-block;
    padding: .65rem 1rem;
    border-radius: .55rem;
    border: 1px solid transparent;
    background: #244e51;
    color: #fff;
    font-weight: 650;
    text-decoration: none;
}
.shopamz-search button:hover, .wif-shopamz-affiliate a:hover { background: #172e36; color: #fff; }
.shopamz-empty { background: var(--shopamz-sand); border-radius: .9rem; color: var(--shopamz-muted); padding: 1.5rem; }
.shopamz-product-head { background: var(--shopamz-sand); }
.shopamz-product-head.has-image { display: grid; gap: 2rem; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; }
.shopamz-product-head figure { margin: 0; }
.shopamz-product-head img { width: 100%; height: auto; border-radius: .9rem; }
.shopamz-product-copy { margin: 2rem auto; max-width: 72ch; }
.wif-shopamz-affiliate { border: 1px solid #d9e7e4; border-radius: 1rem; background: #edf3f1; color: #172e36; margin-top: 1.7rem; padding: 1rem 1.2rem; }
.wif-shopamz-affiliate p { margin: .4rem 0; }
.wif-shopamz-catalogue :focus-visible, .wif-shopamz-affiliate :focus-visible { outline: 2px solid #327773; outline-offset: 3px; }
@media (max-width: 700px) { .shopamz-product-head.has-image { grid-template-columns: 1fr; } }

.wif-shopamz-catalogue { font-family: inherit; }
.shopamz-hero, .shopamz-product-head, .wif-shopamz-grid article,
.wif-shopamz-categories a, .shopamz-search, .shopamz-empty {
    border-radius: var(--shopamz-radius, 12px);
}
.shopamz-search button, .wif-shopamz-affiliate a {
    background: var(--shopamz-accent, #3d649f);
}
@media (min-width: 1000px) {
    .wif-shopamz-grid { grid-template-columns: repeat(var(--shopamz-columns, 3), minmax(0, 1fr)); }
}
.shopamz-category-icon { font-size: 2rem; line-height: 1.2; }
.wif-shopamz-categories a:has(.shopamz-category-image) { flex-wrap: wrap; }
.shopamz-category-image { display: block; flex-basis: 100%; }
.shopamz-category-image img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; }
.shopamz-selection { margin: 2rem 0; }
.shopamz-amazon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.shopamz-amazon-grid article { background: #fff; border: 1px solid #e4eaf1; border-radius: 12px; padding: 1rem; }
.shopamz-amazon-grid a { display: flex; flex-direction: column; height: 100%; gap: .7rem; color: var(--shopamz-ink, #182b46); text-decoration: none; }
.shopamz-amazon-grid img { width: 100%; height: 160px; object-fit: contain; }
.shopamz-amazon-grid h3 { font-size: 1rem; margin: 0; line-height: 1.5; }
.shopamz-amazon-grid span { margin-top: auto; color: var(--shopamz-accent, #3d649f); font-weight: 700; }
.shopamz-disclosure { font-size: .85rem; }
@media (max-width: 550px) { .shopamz-amazon-grid { grid-template-columns: 1fr; } }
.shopamz-card-snapshot { margin: 0 0 1rem; }
.shopamz-card-snapshot:empty { display: none; }
.shopamz-live-product { color: inherit; text-decoration: none; display: block; }
.shopamz-live-product img { width: 100%; height: 160px; object-fit: contain; display: block; margin-bottom: 1rem; }
.shopamz-card-snapshot .shopamz-live-product h3 { font-size: 1rem; line-height: 1.5; }
.shopamz-live-product span { color: var(--shopamz-accent); font-size: .9rem; font-weight: 700; }
/* Product detail: source-backed identity first, editorial guidance on category. */
.shopamz-product-detail { margin: 1.5rem 0 3rem; }
.shopamz-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(1.5rem,4vw,4rem); align-items: start; }
.shopamz-detail-photo { background: #fff; border: 1px solid #ece8e3; border-radius: var(--shopamz-radius,12px); padding: clamp(1rem,3vw,2rem); text-align: center; }
.shopamz-detail-photo img { width: 100%; height: auto; max-height: 500px; object-fit: contain; aspect-ratio: 1; display: block; }
.shopamz-detail-caption { display: block; color: #62656b; font-size: .82rem; line-height: 1.6; margin-top: 1rem; }
.shopamz-detail-summary h1 { font-size: clamp(1.4rem,2.2vw,2.1rem); line-height: 1.35; letter-spacing: -.02em; margin: .8rem 0 1.5rem; }
.shopamz-detail-summary h1 a { color: inherit; text-decoration: none; }
.shopamz-detail-facts { margin: 0 0 1.5rem; font-size: .94rem; }
.shopamz-detail-facts div { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 1rem; border-bottom: 1px solid #e9e6e1; padding: .65rem 0; }
.shopamz-detail-facts dt { font-weight: 600; }
.shopamz-detail-facts dd { margin: 0; overflow-wrap: anywhere; }
.shopamz-detail-buy { padding: 1.5rem; border-radius: var(--shopamz-radius,12px); background: #f8f6f2; }
.wif-shopamz-catalogue .shopamz-amazon-button { display: inline-flex; justify-content: center; align-items: center; gap: 1.5rem; min-height: 48px; padding: .85rem 1.6rem; background: var(--shopamz-accent,#a3473c); color: white; font-weight: 700; text-decoration: none; border-radius: 8px; }
.shopamz-detail-buy .shopamz-amazon-button { width: 100%; box-sizing: border-box; }
.shopamz-detail-buy p { font-size: .84rem; line-height: 1.7; margin: 1rem 0 0; }
.shopamz-detail-features { margin-top: 3rem; padding: clamp(1.3rem,3vw,2.5rem); border: 1px solid #e9e6e1; border-radius: var(--shopamz-radius,12px); }
.shopamz-detail-features h2 { font-size: 1.5rem; margin: .8rem 0 1.5rem; }
.shopamz-detail-features ul { padding-left: 1.3rem; max-width: 90ch; }
.shopamz-detail-features li { margin-bottom: 1rem; line-height: 1.8; }
.shopamz-category-guide { padding: 2rem; background: #f8f6f2; border-radius: var(--shopamz-radius,12px); margin: 2rem 0; }
.shopamz-category-guide h2 { font-size: 1.35rem; }
@media(max-width:760px) { .shopamz-detail-layout { grid-template-columns: 1fr; } .shopamz-detail-photo img { max-height: 360px; } }
.shopamz-product-detail:has(.shopamz-detail-layout) + .shopamz-product-head { display: none; }
.wif-shopamz-catalogue .shopamz-detail-summary h1 { font-size: clamp(24px,2.3vw,32px); line-height: 1.35; }
.wif-shopamz-catalogue .shopamz-detail-facts { font-size: 14px; }
.wif-shopamz-catalogue .shopamz-detail-caption, .wif-shopamz-catalogue .shopamz-disclosure { font-size: 12px; }
.wif-shopamz-catalogue .shopamz-detail-buy p { font-size: 13px; }
.wif-shopamz-catalogue .shopamz-amazon-button { font-size: 17px; }
.wif-shopamz-catalogue .shopamz-detail-features, .wif-shopamz-catalogue .shopamz-category-guide { font-size: 16px; line-height: 1.8; }
.wif-shopamz-catalogue .shopamz-detail-features h2, .wif-shopamz-catalogue .shopamz-category-guide h2 { font-size: 24px; }
.wif-shopamz-catalogue .shopamz-detail-summary .shopamz-kicker, .wif-shopamz-catalogue .shopamz-detail-features .shopamz-kicker { font-size: 11px; }
.shopamz-category-long-guide { max-width: 85ch; margin: 3rem auto; }
.wif-shopamz-categories .shopamz-category-copy { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.wif-shopamz-categories .shopamz-category-copy strong { font-size: 20px; line-height: 1.3; }
.wif-shopamz-categories .shopamz-category-copy small { font-size: 14px; line-height: 1.6; font-weight: 400; }
.wif-shopamz-catalogue .shopamz-card-snapshot h3 { font-size: 16px; line-height: 1.5; }
.wif-shopamz-catalogue .shopamz-card-body>h3 { font-size: 15px; }
.wif-shopamz-catalogue .shopamz-live-product span { font-size: 13px; }
