* {
    box-sizing: border-box;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #171717;

    background: #fff;
}

a {
    color: inherit;

    text-decoration: none;
}


/* =========================
   ANNOUNCEMENT
========================= */

.announcement {
    background: #111;

    color: #fff;

    text-align: center;

    padding: 11px;

    font-size: 14px;
}


/* =========================
   HEADER
========================= */

.header {
    background: #fff;

    border-bottom: 1px solid #eee;

    position: sticky;

    top: 0;

    z-index: 100;
}

.header-inner {
    max-width: 1400px;

    margin: auto;

    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 30px;
}

.logo a {
    font-size: 28px;

    font-weight: 700;
}

.main-nav {
    display: flex;

    gap: 32px;
}

.main-nav a {
    font-size: 15px;

    position: relative;
}

.main-nav a:hover {
    text-decoration: underline;
}

.header-actions {
    display: flex;

    align-items: center;

    gap: 18px;
}

.icon-btn {
    border: 0;

    background: none;

    cursor: pointer;

    font-size: 19px;
}

.cart-link {
    font-size: 19px;
}

#cartCount {
    background: #111;

    color: #fff;

    border-radius: 50%;

    font-size: 10px;

    padding: 3px 6px;

    vertical-align: top;
}


/* =========================
   SEARCH
========================= */

.search-overlay {
    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.55);

    z-index: 999;
}

.search-inner {
    background: #fff;

    padding: 40px;

    position: relative;
}

.close-search {
    position: absolute;

    right: 30px;

    top: 20px;

    border: 0;

    background: none;

    font-size: 30px;

    cursor: pointer;
}

.search-inner form {
    max-width: 900px;

    margin: auto;

    display: flex;

    gap: 10px;
}

.search-inner input {
    flex: 1;

    padding: 15px;

    border: 1px solid #ddd;

    font-size: 16px;
}

.search-inner button {
    padding: 0 25px;

    border: 0;

    background: #111;

    color: #fff;
}

.top-searches {
    max-width: 900px;

    margin: 20px auto;

    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}

.top-searches a {
    color: #555;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 560px;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.65),
            rgba(0,0,0,.05)
        ),
        url("../../uploads/banners/home-banner.jpg")
        center / cover no-repeat;

    display: flex;

    align-items: center;
}

.hero-content {
    max-width: 1400px;

    width: 100%;

    margin: auto;

    padding: 60px 50px;

    color: #fff;
}

.hero-content span {
    font-size: 13px;

    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 60px;

    line-height: 1.05;

    margin: 20px 0;
}

.hero-content p {
    font-size: 18px;

    max-width: 450px;
}

.hero-btn {
    display: inline-block;

    background: #fff;

    color: #111;

    padding: 14px 28px;

    margin-top: 15px;

    font-weight: 600;
}


/* =========================
   SECTIONS
========================= */

.section {
    max-width: 1400px;

    margin: auto;

    padding: 70px 30px;
}

.section-heading {
    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 30px;
}

.section-heading.center {
    justify-content: center;

    text-align: center;
}

.eyebrow {
    font-size: 12px;

    letter-spacing: 2px;

    color: #777;
}

.section h2 {
    font-size: 36px;

    margin: 8px 0 0;
}


/* =========================
   CATEGORIES
========================= */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.category-card {
    text-align: center;
}

.category-card img,
.category-placeholder {
    width: 100%;

    aspect-ratio: 1;

    object-fit: cover;

    background: #f3f1ee;
}

.category-placeholder {
    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 45px;
}

.category-name {
    padding: 15px 5px;

    font-weight: 600;
}


/* =========================
   PRODUCTS
========================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;
}

.product-card {
    min-width: 0;
}

.product-image-wrap {
    position: relative;

    background: #f6f6f6;

    overflow: hidden;
}

.product-image-wrap img {
    width: 100%;

    aspect-ratio: 1 / 1.1;

    object-fit: cover;

    display: block;

    transition: transform .4s ease;
}

.product-card:hover
.product-image-wrap img {
    transform: scale(1.04);
}

.product-badge {
    position: absolute;

    top: 12px;

    left: 12px;

    z-index: 2;

    background: #111;

    color: #fff;

    padding: 6px 9px;

    font-size: 10px;

    text-transform: uppercase;
}

.product-badge.new {
    background: #fff;

    color: #111;

    border: 1px solid #111;
}

.product-info {
    padding: 14px 2px;
}

.product-category {
    font-size: 11px;

    color: #777;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.product-info h3 {
    font-size: 17px;

    margin: 8px 0;
}

.product-description {
    color: #666;

    font-size: 13px;

    min-height: 34px;
}

.price {
    margin: 12px 0;
}

.selling-price {
    font-weight: 700;

    font-size: 17px;
}

.mrp {
    margin-left: 8px;

    color: #888;

    text-decoration: line-through;

    font-size: 13px;
}

.add-cart {
    width: 100%;

    padding: 12px;

    background: #111;

    color: #fff;

    border: 0;

    cursor: pointer;

    font-size: 13px;
}

.add-cart:hover {
    background: #333;
}


/* =========================
   PROMO
========================= */

.promo-banner {
    min-height: 400px;

    display: flex;

    align-items: center;

    padding: 50px;

    background:
        linear-gradient(
            90deg,
            #f0e8df,
            #f9f6f2
        );
}

.promo-banner div {
    max-width: 600px;

    margin-left: max(
        0px,
        calc((100vw - 1340px) / 2)
    );
}

.promo-banner span {
    font-size: 12px;

    letter-spacing: 2px;
}

.promo-banner h2 {
    font-size: 45px;

    line-height: 1.1;
}

.promo-banner a {
    text-decoration: underline;
}


/* =========================
   PROMISE
========================= */

.promise {
    background: #f7f7f7;

    padding: 70px 30px;
}

.promise-grid {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;

    text-align: center;
}

.promise-icon {
    font-size: 35px;
}

.promise-grid h3 {
    font-size: 17px;
}

.promise-grid p {
    color: #666;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================
   NEWSLETTER
========================= */

.newsletter {
    padding: 80px 30px;

    background: #eee8e1;

    text-align: center;
}

.newsletter h2 {
    font-size: 36px;
}

.newsletter p {
    color: #666;
}

.newsletter form {
    max-width: 550px;

    margin: 25px auto;

    display: flex;
}

.newsletter input {
    flex: 1;

    padding: 15px;

    border: 1px solid #ccc;
}

.newsletter button {
    background: #111;

    color: #fff;

    border: 0;

    padding: 0 25px;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #111;

    color: #fff;

    padding: 60px 30px 20px;
}

.footer-grid {
    max-width: 1300px;

    margin: auto;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 40px;
}

.footer-grid h3 {
    font-size: 24px;
}

.footer-grid h4 {
    margin-bottom: 20px;
}

.footer-grid a {
    display: block;

    color: #bbb;

    margin-bottom: 12px;

    font-size: 14px;
}

.footer-grid p {
    color: #aaa;

    line-height: 1.7;

    max-width: 350px;
}

.footer-bottom {
    max-width: 1300px;

    margin: 50px auto 0;

    padding-top: 20px;

    border-top: 1px solid #333;

    color: #888;

    text-align: center;

    font-size: 13px;
}


/* =========================
   MOBILE
========================= */

@media(max-width: 900px) {

    .main-nav {
        display: none;
    }

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

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

    .promise-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 42px;
    }

}


@media(max-width: 550px) {

    .header-inner {
        padding: 0 15px;
    }

    .logo a {
        font-size: 22px;
    }

    .header-actions {
        gap: 10px;
    }

    .section {
        padding: 45px 15px;
    }

    .section-heading {
        align-items: start;

        gap: 15px;
    }

    .section h2 {
        font-size: 28px;
    }

    .product-grid {
        gap: 12px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 30px 20px;
    }

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

    .promo-banner {
        padding: 40px 20px;
    }

    .promo-banner h2 {
        font-size: 32px;
    }

    .promise-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .newsletter form {
        flex-direction: column;

        gap: 10px;
    }

    .newsletter button {
        padding: 14px;
    }

}
/* =========================================================
   HOMEPAGE - SHOP BY CATEGORIES (professional card strip)
========================================================= */
.shop-category-showcase {
    max-width: 1800px;
    margin: 0 auto;
    padding: 42px 5% 52px;
    background: #fff;
}

.shop-category-title {
    margin: 0 0 56px;
    text-align: center;
    font-size: clamp(34px, 3vw, 58px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #151515;
}

.shop-category-row {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.shop-category-tile {
    position: relative;
    display: block;
    min-width: 0;
    aspect-ratio: 0.72;
    overflow: hidden;
    border-radius: 16px;
    background: #eef1f1;
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

.shop-category-tile img,
.shop-category-image-placeholder {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .28s ease;
}

.shop-category-image-placeholder {
    display: grid;
    place-items: center;
    font-size: 42px;
    background: #f2f3f3;
}

.shop-category-tile:hover img {
    transform: scale(1.035);
}

.shop-category-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 34px 10px 10px;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.46) 52%, rgba(0,0,0,0) 100%);
}

.shop-category-label {
    min-width: 0;
    font-size: clamp(13px, 1.05vw, 18px);
    line-height: 1.08;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

.shop-category-arrow {
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: #171717;
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
}

.shop-category-view-all {
    margin-top: 30px;
    min-height: 52px;
    width: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #050505;
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 800;
    transition: opacity .2s ease, transform .2s ease;
}

.shop-category-view-all:hover {
    opacity: .9;
    transform: translateY(-1px);
}

@media (max-width: 1100px) {
    .shop-category-showcase { padding-left: 24px; padding-right: 24px; }
    .shop-category-row {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        padding-bottom: 3px;
    }
    .shop-category-row::-webkit-scrollbar { display: none; }
    .shop-category-tile {
        flex: 0 0 155px;
        scroll-snap-align: start;
    }
}

@media (max-width: 600px) {
    .shop-category-showcase { padding: 30px 16px 38px; }
    .shop-category-title { margin-bottom: 28px; font-size: 32px; }
    .shop-category-tile { flex-basis: 138px; border-radius: 13px; }
    .shop-category-label { font-size: 10.5px; line-height: 1.08; overflow-wrap: normal; word-break: normal; hyphens: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .shop-category-view-all { margin-top: 22px; min-height: 48px; font-size: 15px; }
}

/* === Uniform storefront product cards === */
.product-grid{align-items:stretch}
.product-card{display:flex;flex-direction:column;height:100%}
.product-image-wrap{height:330px;aspect-ratio:auto!important;display:flex;align-items:center;justify-content:center;background:#fff}
.product-image-wrap img{width:100%;height:100%!important;aspect-ratio:auto!important;object-fit:contain!important}
.product-info{display:flex;flex-direction:column;flex:1}
.product-info h3{line-height:1.35;min-height:46px;margin:8px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-description{min-height:40px}
.product-info .price{min-height:25px}
.product-info .add-cart,.product-card .add-cart,.product-card .home-add-btn,.product-card .home-cart-control{margin-top:auto}
@media(max-width:768px){
 .product-image-wrap{height:auto;aspect-ratio:1/1!important}
 .product-image-wrap img{aspect-ratio:auto!important}
 .product-info h3{min-height:42px;font-size:15px}
}
