html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

:root {
    --orange: #ff5a00;
    --dark: #202020;
    --muted: #686868;
    --light: #f5f5f5;
    --border: #e7e7e7;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}

.section {
    padding: 64px 0;
}

h1, h2, h3, p {
    margin-top: 0;
}

h2 {
    font-size: 30px;
    line-height: 1.2;
}

.header {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 26px 0;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
}

    .logo span {
        display: block;
        color: var(--orange);
    }

.search {
    display: flex;
    flex: 1;
}

    .search input {
        width: 100%;
        min-width: 0;
        border: 1px solid var(--border);
        border-radius: 6px 0 0 6px;
        padding: 12px 16px;
    }

    .search button {
        border: 0;
        border-radius: 0 6px 6px 0;
        background: var(--orange);
        color: white;
        padding: 12px 20px;
        cursor: pointer;
    }

.header-contact {
    font-weight: 700;
}

.navigation {
    background: var(--orange);
    color: white;
}

.nav-content {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

    .nav-content a {
        padding: 15px 0;
        font-weight: 700;
    }

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-top: 32px;
    background: #fff1e7;
    border-radius: 12px;
    overflow: hidden;
}

.hero-copy {
    padding: 48px;
}

.hero h1 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.12;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eyebrow {
    color: #a83900;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.button {
    display: inline-block;
    margin-top: 12px;
    padding: 13px 22px;
    border-radius: 6px;
    background: var(--orange);
    color: white;
    font-weight: 700;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

    .section-heading h2 {
        margin-bottom: 0;
    }

    .section-heading > a {
        color: #a83900;
        font-weight: 700;
    }

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.category-card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
}

    .category-card span {
        display: block;
        color: #a83900;
        font-size: 13px;
        margin-top: 12px;
    }

    .category-card:hover {
        background: #fff1e7;
    }

.product-section {
    background: var(--light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform .2s;
}

    .product-card:hover {
        transform: translateY(-4px);
    }

.product-image {
    padding: 24px;
}

    .product-image img {
        width: 100%;
        height: 180px;
        object-fit: contain;
    }

.product-info {
    padding: 0 20px 24px;
}

.category {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 6px;
}

.product-info h3 {
    font-size: 17px;
    min-height: 54px;
    margin-bottom: 12px;
}

.price {
    color: #a83900;
    font-size: 18px;
    font-weight: 800;
}

.product-link {
    font-size: 14px;
    font-weight: 700;
}

.about {
    max-width: 760px;
    text-align: center;
}

.contact-banner {
    padding: 40px 0;
    background: var(--orange);
    color: white;
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

    .contact-content h2 {
        margin-bottom: 10px;
    }

    .contact-content p {
        margin-bottom: 0;
    }

.button-light {
    background: white;
    color: #a83900;
    white-space: nowrap;
}

/*footer {
    background: var(--dark);
    color: #ddd;
    padding: 48px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

footer h3 {
    color: white;
    font-size: 16px;
}

footer a {
    display: block;
    margin-bottom: 8px;
}*/

.sidebar-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    margin: 30px 0 0;
    font-size: 13px;
}

:focus-visible {
    outline: 3px solid #125cbd;
    outline-offset: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-copy {
        padding: 30px;
    }

    .header {
        flex-wrap: wrap;
        gap: 20px;
    }

    .search {
        order: 3;
        flex-basis: 100%;
    }

    .header-contact {
        margin-left: auto;
    }
}

@media (max-width: 600px) {
    .hero {
        grid-template-columns: 1fr;
    }

        .hero img {
            max-height: 240px;
        }

    .nav-content {
        gap: 16px;
        font-size: 13px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card {
        padding: 18px;
        font-size: 15px;
    }

    .section {
        padding: 40px 0;
    }

    .section-heading {
        align-items: flex-start;
    }

    h2 {
        font-size: 25px;
    }

    .product-grid {
        gap: 12px;
    }

    .product-image {
        padding: 12px;
    }

        .product-image img {
            height: 140px;
        }

    .product-info {
        padding: 0 12px 18px;
    }

    .contact-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}