:root {
    --dark: #202020;
    --text: #2c2c2c;
    --muted: #666;
    --light: #f4f4f4;
    --border: #ddd;
    --accent: #009900;
    --accent-dark: #006f00;
    --white: #fff;
    --facebook: #1877f2;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.55;
}

a {
    color: var(--accent-dark);
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 25px;
    padding: 6px 0;
}

.brand {
    display: flex;
    align-items: center;
    color: var(--dark);
    text-decoration: none;
    justify-self: start;
}

.brand img {
    max-height: 115px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 21px;
    justify-self: center;
}

nav a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

nav a:hover {
    color: var(--accent-dark);
}

nav a.active {
    color: var(--dark);
    font-weight: 700;
}

.facebook-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--facebook);
}

.facebook-nav:hover {
    color: var(--facebook);
    opacity: 0.85;
}

.facebook-nav svg,
.facebook-footer svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.hero {
    background: var(--dark);
    color: var(--white);
    padding: 22px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.75fr;
    gap: 28px;
    align-items: center;
}

.hero h1 {
    font-size: 31px;
    line-height: 1.15;
    margin: 0 0 10px;
}

.hero p {
    font-size: 16px;
    color: #eee;
    margin: 0 0 14px;
    max-width: 760px;
}

.hero-box {
    background: #303030;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 14px 16px;
}

.hero-box h2 {
    margin: 0 0 6px;
    color: var(--white);
    font-size: 21px;
    line-height: 1.25;
}

.hero-box p {
    font-size: 15px;
    margin: 0;
}

section {
    padding: 30px 0;
}

h2 {
    font-size: 27px;
    margin: 0 0 10px;
    color: var(--dark);
}

h3 {
    font-size: 21px;
    margin: 0 0 8px;
    color: var(--dark);
}

p {
    margin: 0 0 14px;
}

ul {
    margin: 0 0 18px 22px;
    padding: 0;
}

li {
    margin-bottom: 8px;
}

.intro {
    max-width: 840px;
    color: var(--muted);
    margin: 0 0 20px;
}

.muted {
    color: var(--muted);
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 24px;
    align-items: start;
}

.card,
.panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px;
}

.panel {
    padding: 24px;
}

.card h3 {
    margin: 0 0 7px;
    font-size: 21px;
    color: var(--dark);
}

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

.notice {
    background: #fff;
    border-left: 5px solid var(--accent);
    padding: 13px 16px;
    margin-bottom: 22px;
}

.notice p {
    margin-bottom: 7px;
}

.notice p:last-child {
    margin-bottom: 0;
}

.price {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 14px;
}

.button {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 9px 14px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
}

.button:hover {
    background: var(--accent-dark);
    color: var(--white);
}

/* Clean shop-style category/product grids */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px 28px;
}

.shop-tile {
    background: transparent;
}

.shop-tile img {
    display: block;
    width: 100%;
    height: 145px;
    object-fit: contain;
    margin-bottom: 12px;
    background: var(--light);
}

.shop-tile h3 {
    margin: 0 0 4px;
    font-size: 20px;
    line-height: 1.25;
}

.shop-tile h3 a {
    color: #0084c7;
    text-decoration: none;
}

.shop-tile h3 a:hover {
    text-decoration: underline;
}

.shop-tile p {
    color: var(--muted);
    margin: 0 0 8px;
    font-size: 15px;
}

.shop-tile .price {
    margin-bottom: 0;
}

/* Product landing page */
.products-page .hero {
    padding: 14px 0;
}

.products-page .hero h1 {
    font-size: 28px;
    margin-bottom: 6px;
}

.products-page .hero p {
    margin-bottom: 0;
    max-width: 850px;
}

.products-page section {
    padding: 24px 0;
}

.products-page .notice {
    padding: 12px 16px;
    margin-bottom: 24px;
}

.products-page .notice p {
    margin: 0;
}

/* Product detail/range page */
.product-detail {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: start;
}

.product-main-image {
    display: block;
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    background: var(--light);
}

.product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.product-thumbs img {
    width: 82px;
    height: 65px;
    object-fit: contain;
    border: 1px solid var(--border);
    background: var(--light);
    cursor: pointer;
}

.product-info h1 {
    color: #0084c7;
    font-size: 34px;
    line-height: 1.15;
    margin: 0 0 8px;
}

.product-info .price {
    font-size: 18px;
    margin-bottom: 4px;
}

.tax-note {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 22px;
}

.variant-list {
    margin-top: 22px;
    display: grid;
    gap: 14px;
}

.variant-card {
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

.variant-card h3 {
    margin-bottom: 4px;
}

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

.variant-card .button {
    margin-top: 4px;
}

.related-products {
    margin-top: 44px;
}

.related-products h2 {
    text-align: center;
    color: #0084c7;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 28px;
}

.disclaimer-panel {
    max-width: 900px;
}

.disclaimer-panel h3 {
    margin-top: 24px;
}

.contact-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.contact-list li {
    margin: 0 0 12px;
}

.contact-list strong {
    display: inline-block;
    min-width: 75px;
    color: var(--dark);
}

footer {
    background: var(--dark);
    color: #ccc;
    padding: 20px 0;
    font-size: 14px;
}

footer a {
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.facebook-footer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}

.facebook-footer svg {
    width: 22px;
    height: 22px;
    color: var(--facebook);
}

.facebook-footer:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 950px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 850px) {
    .topbar {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 10px;
    }

    .brand {
        justify-self: center;
    }

    .brand img {
        max-height: 95px;
    }

    .hero-grid,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    nav {
        gap: 18px;
        font-size: 18px;
    }

    .facebook-nav {
        width: 25px;
        height: 25px;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 560px) {
    .brand img {
        max-height: 82px;
    }

    nav {
        font-size: 17px;
    }

    .hero {
        padding: 20px 0;
    }

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

    .shop-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .shop-tile img {
        height: 135px;
    }

    .product-info h1 {
        font-size: 28px;
    }

    .product-main-image {
        max-height: 300px;
    }
}
