* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ink: #141414;
    --muted: #686868;
    --line: #e8e8e8;
    --surface: #ffffff;
    --soft: #f6f7f9;
    --blue: #0077c8;
    --red: #ef3340;
    --yellow: #ffd23f;
    --green: #16a36a;
    --shadow: 0 14px 35px rgba(20, 20, 20, 0.08);
}

body {
    background: var(--surface);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

header {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 12px clamp(16px, 5vw, 64px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo img {
    height: 44px;
    object-fit: contain;
}

nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

nav a,
.dropdown > span {
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 10px;
    text-decoration: none;
}

nav a:hover,
.dropdown > span:hover {
    background: var(--soft);
    color: var(--blue);
}

.dropdown {
    display: inline-block;
    position: relative;
}

.dropdown-menu {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    min-width: 180px;
    padding: 8px;
    position: absolute;
    right: 0;
    top: 42px;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
}

#cart-count {
    background: var(--red);
    border-radius: 999px;
    color: white;
    display: inline-flex;
    font-size: 12px;
    justify-content: center;
    min-width: 22px;
    padding: 1px 7px;
}

.hero {
    align-items: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url("../images/branding/hero1.png") center/cover no-repeat;
    color: white;
    display: flex;
    justify-content: center;
    min-height: 80vh;
    padding: 72px clamp(18px, 6vw, 80px);
    text-align: center;
}

.hero-content {
    max-width: 720px;
}

.eyebrow {
    color: var(--yellow);
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.98;
    margin-bottom: 18px;
}

.hero p {
    font-size: clamp(18px, 2vw, 22px);
    margin: 0 auto;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 10px;
}

button,
.buy-btn {
    background: var(--blue);
    border: 0;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    margin-top: 14px;
    padding: 11px 18px;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

button:hover,
.buy-btn:hover {
    background: #005fa3;
    box-shadow: 0 10px 24px rgba(0, 119, 200, 0.22);
    transform: translateY(-2px);
}

.hero button,
.branding button {
    background: var(--yellow);
    color: var(--ink);
}

.hero button:hover,
.branding button:hover {
    background: #f4bd00;
}

[hidden] {
    display: none !important;
}

section,
.page-section {
    padding: 64px clamp(18px, 5vw, 72px);
}

section h1,
section h2,
.page-title {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    margin-bottom: 12px;
    text-align: center;
}

section > p,
.section-intro {
    color: var(--muted);
    margin: 0 auto 28px;
    max-width: 680px;
    text-align: center;
}

.products,
.testimonials,
.custom {
    background: var(--soft);
}

.product-grid,
.category-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    margin: 30px auto 0;
    max-width: 1120px;
}

.product,
.category,
.why-card,
.testimonial {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.product,
.category {
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product {
    padding: 14px;
}

.product:hover,
.category:hover {
    box-shadow: 0 20px 45px rgba(20, 20, 20, 0.12);
    transform: translateY(-5px);
}

.product img,
.category img {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.product h3,
.category h3 {
    font-size: 18px;
    margin-top: 14px;
}

.product p,
.price {
    color: var(--muted);
    font-weight: 700;
    margin-top: 4px;
}

.category {
    cursor: pointer;
    padding: 14px;
    text-align: left;
}

.why-us {
    background: white;
}

.why-container {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin: 30px auto 0;
    max-width: 980px;
}

.why-card {
    padding: 24px;
}

.why-card h3 {
    margin-bottom: 8px;
}

.why-card p {
    color: var(--muted);
}

.branding {
    background: var(--ink);
    color: white;
    text-align: center;
}

.branding p {
    color: rgba(255, 255, 255, 0.78);
}

.testimonial {
    margin: 18px auto 0;
    max-width: 680px;
    padding: 22px;
}

.testimonial h4 {
    color: var(--blue);
    margin-top: 8px;
}

.product-page {
    align-items: start;
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(260px, 480px) minmax(260px, 1fr);
    margin: 0 auto;
    max-width: 1040px;
    padding: 64px clamp(18px, 5vw, 72px);
}

.product-page img {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    box-shadow: var(--shadow);
    object-fit: cover;
    width: 100%;
}

.product-info {
    padding-top: 16px;
}

.product-info h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1;
    margin-bottom: 10px;
}

.product-info label {
    display: block;
    font-weight: 700;
    margin-top: 18px;
}

.product-info select,
.custom input,
.custom textarea,
.custom select {
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    margin-top: 8px;
    padding: 12px;
    width: 100%;
}

.custom form {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 14px;
    margin: 28px auto 0;
    max-width: 520px;
    padding: 22px;
}

.custom textarea {
    min-height: 150px;
    resize: vertical;
}

.cart-page {
    margin: 0 auto;
    max-width: 860px;
    min-height: 58vh;
    padding: 64px clamp(18px, 5vw, 72px);
}

.cart-item {
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-top: 14px;
    padding: 16px;
}

.cart-item button {
    background: var(--red);
    margin-top: 0;
}

.cart-total {
    border-top: 1px solid var(--line);
    font-size: 24px;
    margin-top: 24px;
    padding-top: 18px;
}

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

.quote-items {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.quote-item {
    align-items: stretch;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 16px;
    grid-template-columns: 120px 1fr auto;
    padding: 14px;
}

.quote-item img {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    height: 120px;
    object-fit: cover;
    width: 120px;
}

.quote-item h2 {
    font-size: 20px;
    line-height: 1.2;
}

.quote-item p {
    color: var(--muted);
    margin-top: 4px;
}

.quote-item dl {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}

.quote-item dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.quote-item dd {
    font-size: 14px;
}

.quote-item-controls {
    align-items: end;
    display: grid;
    gap: 8px;
    min-width: 120px;
}

.quote-item-controls label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.quote-item-controls input {
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    padding: 10px;
    width: 100%;
}

.catalog-page {
    background: var(--soft);
    min-height: 70vh;
}

.catalog-hero {
    background: white;
    padding-bottom: 36px;
}

.catalog-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
}

.catalog-tools {
    align-items: center;
    background: var(--soft);
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 280px) auto;
    padding-bottom: 22px;
    padding-top: 22px;
}

.catalog-tools input,
.catalog-tools select {
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    padding: 12px;
    width: 100%;
}

.catalog-tools p {
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
}

.catalog-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    padding: 0 clamp(18px, 5vw, 72px) 64px;
}

.catalog-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
}

.catalog-card img {
    aspect-ratio: 1 / 1;
    background: var(--soft);
    object-fit: cover;
    width: 100%;
}

.catalog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.catalog-pill {
    align-self: flex-start;
    background: var(--soft);
    border-radius: 999px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
    padding: 5px 9px;
    text-transform: uppercase;
}

.catalog-card h2 {
    font-size: 20px;
    line-height: 1.15;
    margin-bottom: 8px;
}

.catalog-card p {
    color: var(--muted);
    margin-bottom: 14px;
}

.catalog-card dl {
    display: grid;
    gap: 9px;
    margin-top: auto;
}

.catalog-actions {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.catalog-actions .buy-btn {
    margin-top: 0;
    text-align: center;
    width: 100%;
}

.catalog-card dl div {
    border-top: 1px solid var(--line);
    padding-top: 8px;
}

.catalog-card dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.catalog-card dd {
    font-size: 14px;
    margin-top: 2px;
}

.secondary-btn {
    background: var(--ink);
}

.empty-cart {
    background: var(--soft);
    border-radius: 8px;
    color: var(--muted);
    margin-top: 18px;
    padding: 20px;
}

.sizing-list {
    display: inline-block;
    margin-top: 14px;
    text-align: left;
}

footer {
    background: var(--ink);
    color: white;
    padding: 24px;
    text-align: center;
}

@media (max-width: 820px) {
    header {
        align-items: stretch;
        gap: 10px;
    }

    nav {
        flex-wrap: nowrap;
        justify-content: flex-start;
        margin-inline: -16px;
        overflow-x: auto;
        padding: 0 16px 4px;
        scrollbar-width: none;
        white-space: nowrap;
    }

    nav::-webkit-scrollbar {
        display: none;
    }

    .hero {
        background-position: center;
        min-height: auto;
        padding: 52px 18px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-actions,
    .catalog-hero-actions {
        flex-direction: column;
    }

    .hero-actions .buy-btn,
    .catalog-hero-actions .buy-btn,
    button,
    .buy-btn {
        text-align: center;
        width: 100%;
    }

    section,
    .page-section {
        padding: 44px 16px;
    }

    .product-grid,
    .category-grid,
    .why-container,
    .catalog-grid {
        gap: 14px;
        grid-template-columns: 1fr;
    }

    .product,
    .category,
    .why-card,
    .testimonial,
    .quote-item,
    .catalog-card {
        box-shadow: 0 8px 22px rgba(20, 20, 20, 0.07);
    }

    .quote-item {
        grid-template-columns: 86px 1fr;
    }

    .quote-item img {
        height: 86px;
        width: 86px;
    }

    .quote-item-controls {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }

    .quote-item-controls label {
        grid-column: 1 / -1;
    }

    .quote-item-controls button {
        margin-top: 0;
    }

    .product-page {
        grid-template-columns: 1fr;
        padding: 44px 16px;
    }

    .catalog-tools {
        grid-template-columns: 1fr;
        padding-left: 16px;
        padding-right: 16px;
    }

    .catalog-grid {
        padding: 0 16px 44px;
    }

    .catalog-card {
        display: grid;
        grid-template-columns: 112px 1fr;
    }

    .catalog-card img {
        aspect-ratio: auto;
        height: 100%;
        min-height: 160px;
    }

    .catalog-card-body {
        padding: 14px;
    }

    .catalog-card h2 {
        font-size: 17px;
    }

    .catalog-card p,
    .catalog-card dd {
        font-size: 13px;
    }

    .catalog-card dl {
        gap: 6px;
    }

    .catalog-card .buy-btn {
        font-size: 13px;
        padding: 9px 10px;
    }
}

@media (max-width: 430px) {
    .catalog-card {
        grid-template-columns: 96px 1fr;
    }

    .catalog-card img {
        min-height: 150px;
    }
}


.services-highlight {
    background: #fff;
    padding: 80px 20px;
}

.services-intro {
    margin: auto;
    max-width: 760px;
    text-align: center;
}

.services-intro h2 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1;
    margin-bottom: 18px;
}

.services-intro p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin: 50px auto 0;
    max-width: 1180px;
}

.service-box {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: 0.25s ease;
}

.service-box:hover {
    transform: translateY(-6px);
}

.service-box img {
    height: 260px;
    object-fit: cover;
    width: 100%;
}

.service-content {
    padding: 28px;
}

.service-content h3 {
    font-size: 28px;
    margin-bottom: 14px;
}

.service-content p {
    color: var(--muted);
    margin-bottom: 20px;
}

@media (max-width: 768px) {

    header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 14px 16px;
    }

    .logo img {
        height: 38px;
    }

    .hero {
        min-height: 62vh;
        padding: 90px 18px 70px;
    }

    .hero h1 {
        font-size: clamp(34px, 10vw, 52px);
        line-height: 1;
    }

    .hero p {
        font-size: 16px;
    }

    section,
    .page-section {
        padding: 54px 16px;
    }

    .services-grid,
    .product-grid,
    .category-grid,
    .why-container {
        gap: 18px;
        grid-template-columns: 1fr;
    }

    .catalog-tools {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .catalog-tools input,
    .catalog-tools select {
        width: 100%;
    }

    .catalog-hero-actions {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr;
    }

    .product-page {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .product-page img {
        width: 100%;
        border-radius: 12px;
    }

    .quote-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .quote-item img {
        width: 100%;
        max-width: 100%;
    }

    .cart-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    button,
    .buy-btn {
        width: 100%;
        text-align: center;
    }

    footer {
        text-align: center;
    }
}