:root {
    --africom-primary: #009245;
    --africom-primary-dark: #006b33;
    --africom-primary-light: #eaf7f0;
    --africom-background: #f8faf9;
    --africom-surface: #ffffff;
    --africom-text: #1c1c1c;
    --africom-muted: #666666;
    --africom-border: #e8e8e8;
    --africom-danger: #b42318;
    --africom-shadow-sm: 0 6px 20px rgba(18, 54, 36, 0.06);
    --africom-shadow-md: 0 18px 44px rgba(18, 54, 36, 0.11);
    --africom-radius-sm: 10px;
    --africom-radius-md: 18px;
    --africom-radius-lg: 28px;
    --africom-container: 1200px;
    --africom-transition: 180ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--africom-background);
    color: var(--africom-text);
    -webkit-font-smoothing: antialiased;
}

.page-content-wrapper > .page-breadcrumbs,
.page-content-wrapper > main > .page-header-wrapper {
    display: none;
}

.page-content-wrapper > main.container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.page_content {
    padding: 0 !important;
}

.shop-shell {
    width: min(100% - 40px, var(--africom-container));
    margin-inline: auto;
}

.shop-section {
    padding-block: 76px;
}

.shop-section--compact {
    padding-block: 48px;
}

.shop-eyebrow {
    color: var(--africom-primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.shop-heading {
    margin: 9px 0 0;
    color: var(--africom-text);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 820;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.shop-copy {
    color: var(--africom-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.shop-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.shop-section-header .shop-copy {
    max-width: 500px;
    margin: 0;
}

.shop-button {
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: var(--africom-radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font: inherit;
    font-weight: 760;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform var(--africom-transition),
        background var(--africom-transition),
        border-color var(--africom-transition),
        color var(--africom-transition),
        box-shadow var(--africom-transition);
}

.shop-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.shop-button--primary {
    background: var(--africom-primary);
    color: white;
    box-shadow: 0 10px 24px rgba(0, 146, 69, 0.2);
}

.shop-button--primary:hover {
    background: var(--africom-primary-dark);
    color: white;
}

.shop-button--secondary {
    border-color: var(--africom-primary);
    background: transparent;
    color: var(--africom-primary-dark);
}

.shop-button--secondary:hover {
    background: var(--africom-primary-light);
    color: var(--africom-primary-dark);
}

.shop-button:disabled,
.shop-button.is-disabled {
    border-color: transparent;
    background: #b8c6be;
    color: white;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

:where(a, button, input):focus-visible {
    outline: 3px solid rgba(0, 146, 69, 0.38);
    outline-offset: 3px;
}

/* Shared storefront navigation */
.store-nav {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(232, 232, 232, 0.9);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.store-nav__inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.store-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--africom-text);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-decoration: none;
    white-space: nowrap;
}

.store-brand:hover {
    color: var(--africom-text);
    text-decoration: none;
}

.store-brand__signal {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--africom-primary);
    display: grid;
    place-items: center;
    color: white;
    box-shadow: 0 8px 16px rgba(0, 146, 69, 0.2);
}

.store-nav__links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.store-nav__link {
    position: relative;
    padding-block: 25px;
    color: #444;
    font-size: 0.92rem;
    font-weight: 680;
    text-decoration: none;
}

.store-nav__link:hover,
.store-nav__link.is-active {
    color: var(--africom-primary-dark);
    text-decoration: none;
}

.store-nav__link.is-active::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--africom-primary);
    content: "";
}

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

.store-search {
    position: relative;
}

.store-search__input {
    width: 210px;
    height: 42px;
    padding: 0 40px 0 14px;
    border: 1px solid var(--africom-border);
    border-radius: 999px;
    background: var(--africom-background);
    color: var(--africom-text);
    outline: none;
    transition:
        width var(--africom-transition),
        border-color var(--africom-transition),
        box-shadow var(--africom-transition);
}

.store-search__input:focus {
    width: 245px;
    border-color: var(--africom-primary);
    box-shadow: 0 0 0 3px rgba(0, 146, 69, 0.1);
}

.store-search__icon {
    position: absolute;
    top: 50%;
    right: 13px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--africom-muted);
    pointer-events: none;
}

.store-cart {
    min-height: 42px;
    padding: 8px 13px;
    border: 1px solid var(--africom-border);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--africom-text);
    font-size: 0.9rem;
    font-weight: 760;
    text-decoration: none;
    background: white;
    cursor: pointer;
}

.store-cart:hover {
    border-color: var(--africom-primary);
    color: var(--africom-primary-dark);
    text-decoration: none;
}

.store-cart__count {
    min-width: 23px;
    height: 23px;
    padding-inline: 6px;
    border-radius: 999px;
    background: var(--africom-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.72rem;
}

.store-menu-button {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--africom-border);
    border-radius: 50%;
    background: white;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--africom-text);
    cursor: pointer;
}

.store-menu-button svg {
    width: 21px;
}

/* Images use ERP first, then the shared local fallback asset. */
.shop-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shop-product-image.is-fallback {
    object-fit: contain;
    object-position: center;
}

.shop-image-placeholder {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #f7faf7 0%, #edf5f0 100%);
}

.shop-image-placeholder::before {
    color: var(--africom-primary);
    content: "⌁";
    font-size: 3rem;
    font-weight: 800;
}

.highlight-card-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 24px;
}

.highlight-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    padding: 26px;
    border: 1px solid var(--africom-border);
    border-radius: var(--africom-radius-md);
    background: var(--africom-surface);
    box-shadow: var(--africom-shadow-sm);
}

.highlight-card__eyebrow {
    margin: 0 0 10px;
    color: var(--africom-primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.highlight-card__heading {
    margin: 0 0 12px;
    color: var(--africom-text);
    font-size: 1.4rem;
    line-height: 1.2;
}

.highlight-card__copy {
    margin: 0 0 22px;
    color: var(--africom-muted);
    line-height: 1.7;
}

[data-image-placeholder] {
    width: 100%;
    height: 100%;
}

[data-image-placeholder] .shop-product-image {
    display: block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Shared footer */
.store-footer {
    border-top: 1px solid var(--africom-border);
    background: #12251a;
    color: rgba(255, 255, 255, 0.72);
}

.store-footer__grid {
    padding-block: 54px 36px;
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 48px;
}

/* Shared cart drawer */
.cart-drawer-layer {
    position: fixed;
    z-index: 1000;
    inset: 0;
}

.cart-drawer-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(12, 28, 19, 0.48);
    opacity: 0;
    transition: opacity var(--africom-transition);
}

.cart-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: min(440px, 100%);
    height: 100%;
    background: white;
    display: grid;
    grid-template-rows: auto 1fr auto;
    box-shadow: -22px 0 55px rgba(12, 28, 19, 0.18);
    transform: translateX(100%);
    transition: transform var(--africom-transition);
    outline: 0;
}

.cart-drawer-layer.is-open .cart-drawer-overlay { opacity: 1; }
.cart-drawer-layer.is-open .cart-drawer { transform: translateX(0); }
.cart-drawer-open { overflow: hidden; }

.cart-drawer__header {
    padding: 24px;
    border-bottom: 1px solid var(--africom-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer__header h2 { margin: 5px 0 0; font-size: 1.55rem; }
.cart-drawer__close {
    width: 44px;
    height: 44px;
    border: 1px solid var(--africom-border);
    border-radius: 50%;
    background: white;
    color: var(--africom-text);
    font-size: 1.75rem;
    cursor: pointer;
}

.cart-drawer__body { padding: 8px 24px; overflow-y: auto; }
.cart-drawer-item {
    padding-block: 18px;
    border-bottom: 1px solid var(--africom-border);
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}
.cart-drawer-item__image {
    width: 74px;
    height: 74px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--africom-primary-light);
}
.cart-drawer-item__image img { width: 100%; height: 100%; object-fit: contain; }
.cart-drawer-item__details h3 { margin: 0 0 4px; font-size: .94rem; }
.cart-drawer-item__details p { margin: 0; color: var(--africom-muted); font-size: .8rem; }
.cart-drawer-item__details button {
    margin-top: 5px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--africom-danger);
    font-size: .75rem;
    cursor: pointer;
}
.cart-drawer-item > strong { font-size: .85rem; white-space: nowrap; }
.cart-drawer__footer { padding: 22px 24px; border-top: 1px solid var(--africom-border); }
.cart-drawer__subtotal {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    font-size: 1.08rem;
}
.cart-drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cart-drawer__footer small {
    margin-top: 12px;
    display: block;
    color: var(--africom-muted);
    text-align: center;
}
.cart-drawer-empty { padding: 65px 10px; text-align: center; color: var(--africom-muted); }
.cart-drawer-empty > span { color: var(--africom-primary); font-size: 3rem; }
.cart-drawer-empty h3 { color: var(--africom-text); }
.drawer-skeleton { padding-block: 12px; }
.drawer-skeleton span {
    height: 92px;
    margin: 12px 0;
    border-radius: 14px;
    display: block;
    background: linear-gradient(90deg, #f1f5f2, #fafcfb, #f1f5f2);
    background-size: 200% 100%;
    animation: shop-skeleton 1.2s ease-in-out infinite;
}
@keyframes shop-skeleton { to { background-position: -200% 0; } }

.shop-toast {
    position: fixed;
    z-index: 1100;
    right: 24px;
    bottom: 24px;
    max-width: min(360px, calc(100% - 48px));
    padding: 14px 18px;
    border-radius: 12px;
    background: #173a29;
    color: white;
    box-shadow: var(--africom-shadow-md);
    font-weight: 700;
}
.shop-toast.is-error { background: var(--africom-danger); }

.store-footer .store-brand {
    color: white;
}

.store-footer__copy {
    max-width: 370px;
    margin-top: 18px;
    font-size: 0.92rem;
    line-height: 1.7;
}

.store-footer__heading {
    margin-bottom: 15px;
    color: white;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.store-footer__links {
    display: grid;
    gap: 10px;
}

.store-footer__links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    text-decoration: none;
}

.store-footer__links a:hover {
    color: white;
}

.store-footer__bottom {
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
}

@media (max-width: 900px) {
    .store-menu-button {
        display: inline-flex;
    }

    .store-nav__links {
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        padding: 12px 20px 22px;
        border-bottom: 1px solid var(--africom-border);
        background: white;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        box-shadow: var(--africom-shadow-md);
    }

    .store-nav__links.is-open {
        display: flex;
    }

    .store-nav__link {
        padding: 14px 4px;
    }

    .store-nav__link.is-active::after {
        display: none;
    }

    .store-search__input {
        width: 160px;
    }

    .store-search__input:focus {
        width: 180px;
    }

    .store-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .shop-shell {
        width: min(100% - 28px, var(--africom-container));
    }

    .shop-section {
        padding-block: 54px;
    }

    .shop-section-header {
        align-items: start;
        flex-direction: column;
        gap: 13px;
    }

    .store-nav__inner {
        gap: 10px;
        padding-bottom: 58px;
    }

    .store-search {
        position: absolute;
        right: 14px;
        bottom: 8px;
        left: 14px;
    }

    .store-search__input,
    .store-search__input:focus {
        width: 100%;
    }

    .store-nav__links {
        top: 130px;
    }

    .store-cart__label {
        display: none;
    }

    .store-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cart-drawer {
        top: auto;
        bottom: 0;
        width: 100%;
        height: min(88vh, 760px);
        border-radius: 22px 22px 0 0;
        transform: translateY(100%);
    }
    .cart-drawer-layer.is-open .cart-drawer { transform: translateY(0); }
    .shop-toast { right: 14px; bottom: 14px; max-width: calc(100% - 28px); }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
    .drawer-skeleton span { animation: none; }
}
