/* =========================================================
   Disability Equipment Centre
   Main stylesheet
   ========================================================= */

:root {
    --navy: #0b3a78;
    --navy-dark: #082c5a;
    --navy-deep: #061f43;
    --green: #38a84f;
    --green-dark: #237f38;
    --light: #f4f7fb;
    --surface: #ffffff;
    --text: #162033;
    --muted: #5f6c7b;
    --line: #dce4ee;
    --danger: #b42318;
    --warning: #9a6700;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 8px 24px rgba(10, 41, 82, 0.08);
    --shadow-md: 0 18px 42px rgba(10, 41, 82, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--surface);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(1180px, 92%);
    margin-inline: auto;
}

.section {
    padding: 72px 0;
}

.section.alt {
    background: var(--light);
}

.section-title {
    margin: 0 0 8px;
    color: var(--navy-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.section-lead {
    max-width: 760px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 1.08rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--green-dark);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: #aee8b8;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 9999;
    padding: 12px 16px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--navy);
    font-weight: 800;
}

.skip-link:focus {
    left: 8px;
}

/* =========================================================
   Header and navigation
   ========================================================= */

.topbar {
    background: var(--navy-deep);
    color: #ffffff;
}

.topbar-inner {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.topbar .small-hide {
    font-size: 0.92rem;
    font-weight: 700;
    color: #dbe9ff;
}

.icon-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-links a,
.social-large.icon-only a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.icon-links a:hover,
.icon-links a:focus-visible,
.social-large.icon-only a:hover,
.social-large.icon-only a:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    filter: brightness(1.05);
}

.icon-links a[aria-label="WhatsApp"],
.social-large a[aria-label="WhatsApp"] {
    background: #25d366;
}

.icon-links a[aria-label="Facebook"],
.social-large a[aria-label="Facebook"] {
    background: #1877f2;
}

.icon-links a[aria-label="TikTok"],
.social-large a[aria-label="TikTok"] {
    background: #111111;
}

.icon-links a[aria-label="Email"],
.social-large a[aria-label="Email"] {
    background: #2d69ae;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.nav {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 220px;
    max-height: 68px;
    object-fit: contain;
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navlinks a {
    padding: 11px 13px;
    border-radius: 10px;
    text-decoration: none;
    color: #23334b;
    font-weight: 800;
    transition: background 0.2s ease, color 0.2s ease;
}

.navlinks a:hover,
.navlinks a:focus-visible {
    background: #edf3fb;
    color: var(--navy);
}

.cart-link {
    background: var(--navy);
    color: #ffffff !important;
}

.cart-count {
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    border-radius: 999px;
    background: var(--green);
    color: #ffffff;
    font-size: 0.78rem;
}

.menu-btn {
    display: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
    color: var(--navy);
    padding: 10px 12px;
    cursor: pointer;
}

/* =========================================================
   Buttons and generic UI
   ========================================================= */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 2px solid transparent;
    border-radius: 11px;
    text-decoration: none;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--navy);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(11, 58, 120, 0.18);
}

.btn-green {
    background: var(--green);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(56, 168, 79, 0.18);
}

.btn-outline {
    border-color: var(--navy);
    background: #ffffff;
    color: var(--navy);
}

.hide {
    display: none !important;
}

/* =========================================================
   Homepage
   ========================================================= */

.hero {
    padding: 70px 0;
    background:
        radial-gradient(circle at 84% 15%, rgba(56, 168, 79, 0.16), transparent 28%),
        linear-gradient(135deg, #f8fbff 0%, #eef5ff 55%, #f8fffa 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--navy-dark);
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hero p {
    max-width: 690px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 1.15rem;
}

.hero-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.hero-card img {
    width: 100%;
    min-height: 390px;
    object-fit: cover;
}

.category-grid,
.product-grid,
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.category-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.category-card:focus-visible {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: #eef3f7;
}

.category-card h3 {
    margin: 20px 20px 8px;
    color: var(--navy-dark);
    line-height: 1.25;
}

.category-card p {
    margin: 0 20px 22px;
    color: var(--muted);
}

.trust-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.trust-card h3 {
    margin-top: 0;
    color: var(--navy-dark);
}

.trust-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.seo-copy-card {
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #f8fbff;
}

.seo-copy-card h2 {
    margin-top: 0;
    color: var(--navy-dark);
}

.seo-copy-card p {
    color: #455468;
}

/* =========================================================
   Shop and products
   ========================================================= */

.page-hero {
    padding: 48px 0;
    background: linear-gradient(135deg, #eff5fc, #f8fbff);
}

.page-hero h1 {
    margin: 0;
    color: var(--navy-dark);
    font-size: clamp(2.1rem, 5vw, 3.7rem);
    line-height: 1.05;
}

.page-hero p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.shop-category-panel {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 36px;
    margin-bottom: 30px;
    padding: clamp(28px, 5vw, 48px);
    border-radius: var(--radius-lg);
    background: var(--navy-dark);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.shop-category-heading h2 {
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    line-height: 0.95;
}

.shop-category-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
}

.shop-category-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
}

.shop-category-links a:hover,
.shop-category-links a:focus-visible {
    color: #aee8b8;
}

.toolbar {
    position: sticky;
    top: 104px;
    z-index: 20;
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(170px, 0.65fr));
    gap: 14px;
    margin-bottom: 28px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.toolbar input,
.toolbar select,
.form-control {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    padding: 11px 13px;
    color: var(--text);
}

.toolbar input:focus,
.toolbar select:focus,
.form-control:focus {
    outline: 3px solid rgba(56, 168, 79, 0.2);
    border-color: var(--green);
}

.product-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card > a {
    display: block;
    overflow: hidden;
    background: #eef3f7;
}

.product-card > a img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover > a img {
    transform: scale(1.035);
}

.product-body {
    min-height: 330px;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.badge {
    align-self: flex-start;
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e6f6ec;
    color: #0f6a34;
    font-size: 0.78rem;
    font-weight: 900;
}

.badge.used {
    background: #eef1f5;
    color: #4b5563;
}

.product-card h3 {
    margin: 12px 0 8px;
    color: var(--navy-dark);
    font-size: 1.08rem;
    line-height: 1.35;
}

.product-card p {
    margin: 0 0 16px;
    color: var(--muted);
}

.price {
    margin-top: auto;
    color: var(--navy);
    font-size: 1.45rem;
    font-weight: 900;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 15px;
}

.product-description {
    font-size: 1.08rem;
    line-height: 1.75;
}

.product-features {
    margin: 1.2rem 0;
    padding: 0;
    list-style: none;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0.65rem 0;
}

.product-features i {
    margin-top: 0.25rem;
    color: var(--green);
}

/* =========================================================
   Cart and checkout
   ========================================================= */

.cart-layout,
.checkout-layout,
.contact-card {
    display: grid;
    grid-template-columns: 1.45fr 0.75fr;
    gap: 28px;
    align-items: start;
}

.panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.cart-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.cart-item img {
    width: 150px;
    height: 110px;
    border-radius: 12px;
    background: #eef3f7;
    object-fit: cover;
}

.qty {
    display: flex;
    align-items: center;
    gap: 9px;
}

.qty button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    font-size: 1.2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
}

.summary-row.total {
    margin-top: 8px;
    padding-top: 17px;
    border-top: 2px solid var(--line);
    font-size: 1.35rem;
    font-weight: 900;
}

.summary-product {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.summary-product img {
    width: 70px;
    height: 58px;
    border-radius: 9px;
    object-fit: cover;
}

.summary-product small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
}

.empty {
    padding: 58px 20px;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 800;
}

.required {
    color: var(--danger);
}

.payment-grid-two {
    max-width: 680px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.payment-option {
    position: relative;
}

.payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-option label {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border: 2px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
    font-size: 1.02rem;
    font-weight: 850;
    cursor: pointer;
}

.payment-option label i {
    color: var(--navy);
    font-size: 1.6rem;
}

.payment-option input:checked + label {
    border-color: var(--navy);
    background: #eef4fc;
    color: var(--navy);
}

.payment-option.disabled label {
    opacity: 0.58;
    cursor: not-allowed;
    background: #f3f4f6;
}

.payment-option label small {
    color: var(--danger);
}

.credit-unavailable,
.notice {
    margin: 18px 0;
    padding: 16px;
    border-radius: 10px;
}

.credit-unavailable {
    border: 1px dashed #aab5c3;
    background: #f8fafc;
    color: #566273;
}

.notice {
    border-left: 5px solid var(--green);
    background: #edf9f2;
}

.status {
    display: none;
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
}

.status.success {
    display: block;
    background: #e8f7ed;
    color: #116b36;
}

.status.error {
    display: block;
    background: #fdecec;
    color: #8f1d1d;
}

/* =========================================================
   FAQ, policy and miscellaneous pages
   ========================================================= */

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-q {
    position: relative;
    width: 100%;
    padding: 20px 42px 20px 0;
    border: 0;
    background: #ffffff;
    text-align: left;
    font-size: 1.06rem;
    font-weight: 850;
    cursor: pointer;
}

.faq-q::after {
    content: "+";
    position: absolute;
    right: 5px;
    font-size: 1.5rem;
}

.faq-q[aria-expanded="true"]::after {
    content: "−";
}

.faq-a {
    display: none;
    padding: 0 0 20px;
    color: var(--muted);
}

.faq-a.open {
    display: block;
}

.policy {
    max-width: 850px;
}

.policy h2 {
    margin-top: 35px;
    color: var(--navy-dark);
}

.policy p,
.policy li {
    color: #475569;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    padding: 58px 0 20px;
    background: var(--navy-deep);
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
    gap: 28px;
}

.footer-logo {
    width: 235px;
    padding: 9px;
    border-radius: 13px;
    background: #ffffff;
}

.footer-grid h3 {
    margin-top: 0;
    color: #ffffff;
}

.footer-grid p {
    color: #d5e2f5;
}

.footer-grid a {
    color: #f6f9ff;
    text-decoration: none;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
    color: #8ee39d;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin: 7px 0;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
}

.social-large.icon-only {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.footer-bottom {
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: #cbd5e1;
    text-align: center;
}

/* =========================================================
   Responsive layout
   ========================================================= */

@media (max-width: 1020px) {
    .category-grid,
    .product-grid,
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .cart-layout,
    .checkout-layout,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-category-panel {
        grid-template-columns: 1fr;
    }
}

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

    .navlinks {
        position: absolute;
        top: 88px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 4%;
        border-bottom: 1px solid var(--line);
        background: #ffffff;
        box-shadow: var(--shadow-sm);
    }

    .navlinks.open {
        display: flex;
    }

    .toolbar {
        position: static;
    }
}

@media (max-width: 680px) {
    .section {
        padding: 52px 0;
    }

    .topbar .small-hide {
        display: none;
    }

    .topbar-inner {
        justify-content: center;
    }

    .brand img {
        width: 178px;
    }

    .nav {
        min-height: 78px;
    }

    .navlinks {
        top: 78px;
    }

    .category-grid,
    .product-grid,
    .trust-grid,
    .footer-grid,
    .form-grid,
    .payment-grid-two,
    .shop-category-links,
    .toolbar {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 46px 0;
    }

    .hero-card img {
        min-height: 250px;
    }

    .category-image {
        height: 180px;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 90px 1fr;
    }

    .cart-item img {
        width: 90px;
        height: 90px;
    }

    .cart-item > div:last-child {
        grid-column: 2;
    }

    .shop-category-panel {
        padding: 28px 22px;
    }

    .shop-category-heading h2 {
        font-size: 3.2rem;
    }
}

/* =========================================================
   Final mobile navigation and usability improvements
   ========================================================= */

.free-delivery {
    color: var(--green);
    font-weight: 900;
    letter-spacing: 0.02em;
}

.mobile-bottom-nav {
    display: none;
}

.mobile-nav-overlay {
    display: none;
}

@media (max-width: 900px) {
    .site-header {
        box-shadow: 0 6px 22px rgba(6, 31, 67, 0.08);
    }

    .nav {
        position: relative;
    }

    .menu-btn {
        width: 48px;
        height: 48px;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        font-size: 1.25rem;
        box-shadow: 0 6px 16px rgba(11, 58, 120, 0.08);
    }

    .navlinks {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        z-index: 1002;
        width: min(86vw, 360px);
        padding: 92px 22px 28px;
        border: 0;
        background: #ffffff;
        box-shadow: -18px 0 50px rgba(6, 31, 67, 0.2);
        transform: translateX(105%);
        transition: transform 0.28s ease;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .navlinks.open {
        display: flex;
        transform: translateX(0);
    }

    .navlinks a {
        display: flex;
        align-items: center;
        min-height: 52px;
        padding: 13px 15px;
        border-radius: 12px;
        font-size: 1rem;
    }

    .navlinks .cart-link {
        justify-content: space-between;
        margin-top: 8px;
    }

    .mobile-nav-overlay {
        position: fixed;
        inset: 0;
        z-index: 1001;
        display: block;
        background: rgba(6, 31, 67, 0.48);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .mobile-nav-overlay.open {
        opacity: 1;
        visibility: visible;
    }

    body.nav-open {
        overflow: hidden;
    }
}

@media (max-width: 680px) {
    body {
        padding-bottom: 76px;
    }

    .topbar {
        display: none;
    }

    .site-header {
        top: 0;
    }

    .nav {
        min-height: 72px;
        gap: 12px;
    }

    .brand img {
        width: 154px;
        max-height: 58px;
    }

    .section {
        padding: 42px 0;
    }

    .section-title {
        font-size: clamp(1.65rem, 7vw, 2.1rem);
        line-height: 1.15;
    }

    .section-lead {
        font-size: 0.98rem;
    }

    .hero {
        padding: 34px 0 40px;
    }

    .hero-grid {
        gap: 24px;
    }

    .hero-card,
    .panel,
    .product-card,
    .category-card {
        border-radius: 16px;
    }

    .category-grid,
    .product-grid {
        gap: 18px;
    }

    .category-image {
        height: 205px;
    }

    .product-card img {
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .product-body {
        padding: 18px;
    }

    .product-body h3 {
        font-size: 1.08rem;
        line-height: 1.28;
    }

    .product-actions {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .product-actions .btn {
        padding-inline: 10px;
        font-size: 0.9rem;
    }

    .actions .btn {
        width: 100%;
    }

    .toolbar {
        padding: 16px;
        border-radius: 16px;
    }

    .form-control {
        min-height: 50px;
        font-size: 16px;
    }

    .checkout-layout,
    .cart-layout {
        gap: 18px;
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        min-height: 68px;
        padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(11, 58, 120, 0.12);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 -8px 28px rgba(6, 31, 67, 0.12);
        backdrop-filter: blur(12px);
    }

    .mobile-bottom-nav a {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-width: 0;
        border-radius: 12px;
        color: var(--navy-dark);
        text-decoration: none;
        font-size: 0.72rem;
        font-weight: 800;
    }

    .mobile-bottom-nav a:active,
    .mobile-bottom-nav a:focus-visible {
        background: #edf3fb;
    }

    .mobile-bottom-nav i {
        font-size: 1.2rem;
    }

    .mobile-bottom-nav .wa {
        color: #128c4a;
    }

    .mobile-bottom-nav .mobile-cart-count {
        position: absolute;
        top: 1px;
        right: calc(50% - 22px);
        min-width: 18px;
        height: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        border-radius: 999px;
        background: var(--green);
        color: #ffffff;
        font-size: 0.65rem;
        font-weight: 900;
    }
}

@media (max-width: 680px) {
    .shop-category-heading h2 {
        font-size: 2.15rem;
        line-height: 1.08;
    }

    .shop-category-panel {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .shop-category-links a {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 11px 13px;
        border-radius: 11px;
        background: rgba(255, 255, 255, 0.08);
    }

    .notice {
        border-radius: 14px;
        line-height: 1.55;
    }

    .product-features {
        gap: 12px;
    }

    .product-features li {
        align-items: flex-start;
        line-height: 1.45;
    }

    .product-features i {
        margin-top: 3px;
    }

    .site-footer {
        padding-bottom: 32px;
    }
}


/* FINAL OWNER CORRECTIONS — 2026-08-15 */
.owner-shop-now {
    background: #666666;
    padding: 42px 0 56px;
}
.owner-shop-container {
    max-width: 760px;
}
.owner-shop-title {
    width: fit-content;
    margin: 0 auto 28px;
    padding: 8px 18px;
    border-radius: 5px;
    background: #202020;
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    line-height: 1.05;
    text-align: center;
}
.owner-shop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
    justify-items: center;
    align-items: start;
}
.owner-shop-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    text-decoration: none;
}
.owner-shop-photo {
    width: clamp(150px, 21vw, 205px);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: #ffffff;
}
.owner-shop-photo img {
    width: 100%;
    height: 100%;
    padding: 7px;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
}
.owner-shop-label {
    width: fit-content;
    min-width: 145px;
    max-width: 205px;
    padding: 6px 10px;
    border-radius: 3px;
    background: #202020;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
}
.category-image,
.product-card img,
.product-card > a img,
.shop-circle-image {
    object-fit: contain !important;
    object-position: center !important;
    background: #ffffff;
}

@media (max-width: 900px) {
    .site-header {
        z-index: 5000 !important;
    }
    .site-header .nav {
        position: relative !important;
        z-index: 5002 !important;
    }
    .menu-btn {
        position: relative !important;
        z-index: 5005 !important;
        display: inline-flex !important;
        width: 48px !important;
        height: 48px !important;
        flex: 0 0 48px !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        border: 2px solid #0b3a78 !important;
        border-radius: 13px !important;
        background: #0b3a78 !important;
        color: #ffffff !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        box-shadow: 0 7px 18px rgba(6, 31, 67, 0.24) !important;
        -webkit-appearance: none !important;
        appearance: none !important;
    }
    .menu-btn i {
        color: #ffffff !important;
        font-size: 1.35rem !important;
        pointer-events: none !important;
    }
    .menu-btn[aria-expanded="true"] {
        background: #18864b !important;
        border-color: #18864b !important;
    }
    .navlinks {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        z-index: 5004 !important;
        width: min(86vw, 360px) !important;
        padding: 96px 22px 28px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        background: #ffffff !important;
        border: 0 !important;
        box-shadow: -18px 0 50px rgba(6, 31, 67, 0.25) !important;
        transform: translateX(110%) !important;
        transition: transform 0.25s ease !important;
        pointer-events: none !important;
    }
    .navlinks.open {
        transform: translateX(0) !important;
        pointer-events: auto !important;
    }
    .navlinks a {
        display: flex !important;
        align-items: center !important;
        min-height: 52px !important;
        padding: 13px 15px !important;
        border-radius: 10px !important;
        background: transparent !important;
        color: #102844 !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
    }
    .navlinks .cart-link {
        background: #0b3a78 !important;
        color: #ffffff !important;
    }
    .mobile-nav-overlay {
        position: fixed !important;
        inset: 0 !important;
        z-index: 5001 !important;
        display: block !important;
        background: rgba(6, 31, 67, 0.58) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.22s ease, visibility 0.22s ease !important;
    }
    .mobile-nav-overlay.open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}
@media (max-width: 680px) {
    .owner-shop-now {
        padding: 34px 0 46px;
    }
    .owner-shop-container {
        width: min(96%, 560px);
    }
    .owner-shop-title {
        margin-bottom: 24px;
        padding: 7px 15px;
        font-size: 2rem;
    }
    .owner-shop-grid {
        gap: 20px 10px;
    }
    .owner-shop-photo {
        width: min(38vw, 150px);
    }
    .owner-shop-photo img {
        padding: 5px;
    }
    .owner-shop-label {
        min-width: 0;
        max-width: 155px;
        padding: 5px 8px;
        font-size: 0.94rem;
    }
}
@media (max-width: 380px) {
    .owner-shop-grid {
        gap-inline: 7px;
    }
    .owner-shop-photo {
        width: min(37vw, 136px);
    }
    .owner-shop-label {
        max-width: 140px;
        font-size: 0.86rem;
    }
}

/* =========================================================
   FINAL MOBILE MENU FIX — body-level drawer
   This intentionally bypasses the header stacking context.
   ========================================================= */

.mobile-menu-drawer {
    display: none;
}

@media (max-width: 900px) {
    /* Keep the original desktop navigation out of the mobile flow. */
    .site-header .navlinks {
        display: none !important;
    }

    .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 12002 !important;
    }

    .menu-btn {
        position: relative !important;
        z-index: 12003 !important;
        display: inline-flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .mobile-nav-overlay {
        position: fixed !important;
        inset: 0 !important;
        z-index: 11990 !important;
        display: block !important;
        background: rgba(6, 31, 67, 0.58) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.22s ease, visibility 0.22s ease !important;
    }

    .mobile-nav-overlay.open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .mobile-menu-drawer {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 12001 !important;
        width: min(86vw, 360px) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        padding: 96px 22px 30px !important;
        overflow-y: auto !important;
        background: #ffffff !important;
        box-shadow: -18px 0 50px rgba(6, 31, 67, 0.28) !important;
        transform: translateX(110%) !important;
        transition: transform 0.25s ease !important;
        pointer-events: none !important;
    }

    .mobile-menu-drawer.open {
        transform: translateX(0) !important;
        pointer-events: auto !important;
    }

    .mobile-menu-drawer a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: 54px !important;
        padding: 14px 16px !important;
        border-radius: 11px !important;
        color: #102844 !important;
        background: #f5f8fc !important;
        text-decoration: none !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
    }

    .mobile-menu-drawer a:hover,
    .mobile-menu-drawer a:focus-visible {
        color: #0b3a78 !important;
        background: #e7eff9 !important;
        outline: 2px solid #0b3a78 !important;
        outline-offset: 2px !important;
    }

    .mobile-menu-drawer .cart-link {
        justify-content: space-between !important;
        margin-top: 8px !important;
        color: #ffffff !important;
        background: #0b3a78 !important;
    }

    body.nav-open {
        overflow: hidden !important;
    }
}
