:root {
    --ink: #18201d;
    --muted: #66706b;
    --line: #dbe0dc;
    --paper: #fbfaf7;
    --soft: #eef3ef;
    --accent: #1f6f54;
    --accent-dark: #164c3d;
    --gold: #bd8b2f;
}

* {
    box-sizing: border-box;
}

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

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 20;
    padding: 10px 14px;
    background: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(251, 250, 247, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.topbar {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 7px 24px;
    color: #fff;
    background: var(--accent-dark);
    font-size: 13px;
}

.header-inner {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: center;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #fff;
    background: var(--accent);
    border-radius: 8px;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.primary-nav ul,
.footer-bottom ul {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a {
    color: #2d3833;
    font-weight: 650;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: end;
    gap: 48px;
    min-height: 620px;
    padding: 86px max(24px, calc((100vw - 1180px) / 2)) 54px;
    background:
        linear-gradient(120deg, rgba(24, 32, 29, .86), rgba(24, 32, 29, .36)),
        url("../images/hero-apparel.jpg") center/cover;
    color: #fff;
}

.hero-copy {
    max-width: 760px;
}

.hero-copy h1 {
    margin: 10px 0 18px;
    font-size: clamp(44px, 6vw, 78px);
    line-height: .96;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 680px;
    font-size: 18px;
}

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

.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
}

.button-primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    color: #fff;
    background: var(--accent);
}

.button-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, .6);
}

.hero-panel {
    display: grid;
    gap: 14px;
    padding: 20px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 8px;
}

.hero-panel div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .24);
}

.hero-panel div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1180px;
    margin: -28px auto 0;
    position: relative;
    z-index: 2;
    padding: 0 24px;
}

.trust-strip div {
    display: grid;
    gap: 4px;
    min-height: 92px;
    padding: 18px;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.trust-strip div:first-child {
    border-radius: 8px 0 0 8px;
}

.trust-strip div:last-child {
    border-right: 1px solid var(--line);
    border-radius: 0 8px 8px 0;
}

.trust-strip strong {
    font-size: 15px;
}

.trust-strip span {
    color: var(--muted);
    font-size: 14px;
}

.page-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 72px 24px;
}

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

.section-heading p,
.eyebrow {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-heading h1,
.section-heading h2,
.split-section h1,
.split-section h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.04;
}

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

.category-grid .section-heading {
    grid-column: 1 / -1;
}

.category-card,
.category-grid article,
.content-card,
.shop-widget {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.category-card {
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: 260px;
    color: #fff;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    position: relative;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24, 32, 29, .12), rgba(24, 32, 29, .86));
}

.category-card h3,
.category-card p {
    position: relative;
    z-index: 1;
}

.category-card p {
    color: rgba(255, 255, 255, .86);
}

.category-card.garments {
    background-image: url("../images/category-garments.jpg");
}

.category-card.fabrics {
    background-image: url("../images/category-fabrics.jpg");
}

.category-card.uniforms {
    background-image: url("../images/category-uniforms.jpg");
}

.category-card.linen {
    background-image: url("../images/category-linen.jpg");
}

.category-grid h3 {
    margin: 0 0 8px;
}

.category-grid p,
.content-card p {
    margin: 0;
    color: var(--muted);
}

.split-section,
.contact-layout,
.wholesale-section {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 56px;
}

.wholesale-section {
    align-items: center;
    max-width: none;
    margin: 24px 0 0;
    padding: 72px max(24px, calc((100vw - 1180px) / 2));
    color: #fff;
    background:
        linear-gradient(120deg, rgba(22, 76, 61, .94), rgba(31, 111, 84, .76)),
        url("../images/trade-supply.jpg") center/cover;
}

.wholesale-section p {
    max-width: 560px;
}

.wholesale-section .button-primary {
    margin-top: 16px;
    background: #fff;
    color: var(--accent-dark);
}

.trade-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.trade-points article {
    min-height: 178px;
    padding: 20px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
}

.trade-points h3 {
    margin-top: 0;
}

.trade-points p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .82);
}

.legal-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    padding: 18px 24px;
    color: var(--muted);
    background: #fff;
    border-top: 1px solid var(--line);
}

.legal-strip span:first-child {
    color: var(--ink);
    font-weight: 800;
}

.legal-strip a {
    color: var(--accent);
    font-weight: 800;
}

.facts {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
}

.facts div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.facts dt {
    color: var(--muted);
    font-weight: 800;
}

.facts dd {
    margin: 0;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    font-weight: 750;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 13px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #cbd4ce;
    border-radius: 8px;
    font: inherit;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.woocommerce ul.products li.product {
    position: relative;
    width: auto;
    float: none;
    margin: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.woocommerce ul.products li.product img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 6px;
    background: var(--soft);
}

.woocommerce-loop-product__title {
    min-height: 48px;
}

.product-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;
    padding: 5px 9px;
    color: #fff;
    background: var(--gold);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.shop-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
}

.site-footer {
    color: #dfe7e2;
    background: #18201d;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr 1fr;
    gap: 26px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 52px 24px;
}

.footer-grid h2,
.footer-grid h3 {
    color: #fff;
    margin-top: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

@media (max-width: 900px) {
    .topbar,
    .header-inner,
    .primary-nav ul,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-inner,
    .hero,
    .split-section,
    .contact-layout,
    .wholesale-section,
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 680px;
    }

    .category-grid,
    .trust-strip,
    .woocommerce ul.products,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-strip div,
    .trust-strip div:first-child,
    .trust-strip div:last-child {
        border: 1px solid var(--line);
        border-radius: 8px;
    }

    .trade-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .topbar {
        gap: 6px;
    }

    .category-grid,
    .trust-strip,
    .woocommerce ul.products,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .facts div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
