body {
    font-family: var(--site-font);
    color: #18212f;
    background: #fff;
}

a {
    color: var(--primary);
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: #0b5f58;
    --bs-btn-hover-border-color: #0b5f58;
}

.top-strip {
    background: #111827;
    color: #e5e7eb;
    font-size: 13px;
    padding: 7px 0;
}

.site-logo {
    font-weight: 800;
}

.site-logo img {
    max-height: 46px;
    width: auto;
}

.header-actions {
    display: flex;
    gap: 8px;
    margin-left: 16px;
}

.home-hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(17,24,39,0.82), rgba(17,24,39,0.35)),
        url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1800&q=80") center/cover;
    color: #fff;
}

.hero-copy {
    width: min(660px, 100%);
}

.hero-copy span {
    display: inline-block;
    color: #fde68a;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-copy h1 {
    font-size: clamp(40px, 7vw, 72px);
    line-height: 1.02;
    font-weight: 850;
    margin-bottom: 18px;
}

.hero-copy p {
    font-size: 18px;
    max-width: 560px;
    color: #f3f4f6;
}

.content-band {
    padding: 58px 0;
}

.alt-band {
    background: #f6f8fb;
}

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

.section-heading h2 {
    font-size: 30px;
    font-weight: 800;
    margin: 0;
}

.section-heading p {
    color: #667085;
    margin: 0;
}

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

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

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

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

.category-tile,
.product-card,
.blog-card,
.checkout-panel,
.auth-panel,
.account-content,
.account-menu,
.shop-layout aside,
.checkout-complete {
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    background: #fff;
}

.category-tile {
    min-height: 150px;
    display: grid;
    place-items: end start;
    padding: 16px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    color: #fff;
    background: #1f2937;
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.category-tile span {
    position: relative;
    font-weight: 800;
    font-size: 19px;
}

.product-card {
    overflow: hidden;
}

.product-image {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background: #eef2f6;
    color: #475467;
    text-decoration: none;
}

.product-image img,
.blog-card img,
.article-view img,
.detail-image img,
.gallery-strip img,
.category-header img,
.promo-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-body {
    padding: 14px;
}

.product-body small {
    color: #667085;
}

.product-body h3 {
    font-size: 17px;
    margin: 5px 0 10px;
}

.product-body h3 a {
    color: #18212f;
    text-decoration: none;
}

.price {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.price del {
    color: #98a2b3;
}

.price strong {
    color: var(--primary);
    font-size: 18px;
}

.promo-banner {
    min-height: 210px;
    display: grid;
    align-items: end;
    padding: 22px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    background: #111827;
    text-decoration: none;
}

.promo-banner img {
    position: absolute;
    inset: 0;
    opacity: 0.55;
}

.promo-banner span {
    position: relative;
    font-weight: 850;
    font-size: 34px;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: 36px;
}

.detail-image {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: #eef2f6;
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.gallery-strip img {
    aspect-ratio: 1;
    border-radius: 8px;
    border: 1px solid #dfe5ec;
}

.detail-copy h1,
.category-header h1,
.article-view h1 {
    font-weight: 850;
}

.detail-price strong {
    font-size: 30px;
}

.buy-box,
.cart-summary,
.checkout-panel,
.auth-panel,
.account-content,
.account-menu,
.shop-layout aside,
.checkout-complete {
    padding: 20px;
}

.breadcrumb-line {
    color: #667085;
    margin-bottom: 18px;
}

.category-header {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 28px;
    align-items: center;
    margin-bottom: 28px;
}

.category-header img {
    aspect-ratio: 16 / 10;
    border-radius: 8px;
}

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

.shop-layout aside {
    align-self: start;
    display: grid;
    gap: 8px;
}

.shop-layout aside h2,
.checkout-panel h2 {
    font-size: 18px;
}

.cart-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
}

.cart-summary.compact {
    display: grid;
    justify-content: stretch;
    margin: 18px 0;
}

.qty-input {
    width: 86px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
}

.option-line {
    display: block;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.list-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #edf1f5;
    padding: 10px 0;
}

.account-container {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 22px;
}

.auth-panel {
    width: min(560px, 100%);
    margin: 0 auto;
}

.account-menu {
    align-self: start;
    display: grid;
}

.account-menu a {
    padding: 10px 0;
    text-decoration: none;
    border-bottom: 1px solid #edf1f5;
}

.blog-card {
    overflow: hidden;
}

.blog-card img {
    aspect-ratio: 16 / 10;
}

.blog-card h2,
.blog-card p {
    padding: 0 16px;
}

.blog-card h2 {
    font-size: 20px;
    margin-top: 16px;
}

.blog-card p {
    color: #667085;
}

.article-view {
    max-width: 860px;
}

.article-view > img {
    aspect-ratio: 16 / 8;
    border-radius: 8px;
    margin: 20px 0;
}

.site-footer {
    background: #111827;
    color: #cbd5e1;
    padding: 42px 0 20px;
}

.site-footer h2,
.site-footer h3 {
    color: #fff;
}

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

.footer-links a,
.social-list a {
    color: #cbd5e1;
    text-decoration: none;
}

.social-list {
    display: grid;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 28px;
    padding-top: 16px;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: #16a34a;
    color: #fff;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.empty-state {
    text-align: center;
    padding: 80px 0;
}

@media (max-width: 992px) {
    .header-actions {
        margin-left: 0;
        margin-top: 10px;
    }

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

    .product-detail,
    .checkout-grid,
    .shop-layout,
    .account-container,
    .category-header {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .home-hero {
        min-height: 470px;
    }

    .content-band {
        padding: 38px 0;
    }

    .section-heading,
    .cart-summary,
    .list-line {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-grid,
    .product-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
