/* ==========================================================
   MAITHILI ATTIRE — DESIGN 7
   Copy-ready responsive homepage
   Maximum main container: 1560px
   Inner content: 1480px
   ========================================================== */

:root {
    --green-dark: #263b1d;
    --green: #465d28;
    --green-soft: #657741;
    --orange: #dc7410;
    --orange-light: #eea04b;
    --maroon: #74171a;
    --maroon-dark: #5b1014;
    --cream: #fbf6ea;
    --cream-dark: #f1e6d4;
    --text: #25231e;
    --muted: #706b63;
    --white: #ffffff;
    --border: #ddd3c2;

    --main-width: 1560px;
    --content-width: 1480px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-width: 320px;
    background: #ffffff;
    color: var(--text);
    font-family:'Poppins', sans-serif;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site {
    width: 100%;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: var(--main-width);
    margin-left: auto;
    margin-right: auto;
}

.container-wide {
    width: 100%;
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================
   UTILITY BAR
   ========================================================== */

.utility-bar {
    height: 36px;
    background: var(--green-dark);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
}

.utility-inner {
    height: 36px;
    padding: 0 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.main-header {
    height: 135px;
    background: var(--cream);
    border-bottom: 1px solid #ded5c8;
}

.header-inner {
    height: 135px;
    padding: 0 70px;
    display: grid;
    grid-template-columns: 42px 205px minmax(350px, 1fr) auto;
    align-items: center;
    column-gap: 30px;
}

.menu-button {
    border: 0;
    background: transparent;
    color: #302f2a;
    font-size: 27px;
    line-height: 1;
}

.brand-logo {
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    width: 200px;
    height: 120px;
    object-fit: contain;
    object-position: center;
}

.search-form {
    width: 100%;
    max-width: 500px;
    height: 48px;
    justify-self: center;
    display: flex;
    align-items: center;
    border: 1px solid #c9c0b3;
    border-radius: 28px;
    background: #fffdfa;
    overflow: hidden;
}

.search-form input {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: var(--text);
}

.search-form input::placeholder {
    color: #9a958d;
}

.search-form button {
    width: 54px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #262822;
    font-size: 31px;
    transform: rotate(-20deg);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 31px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
}

.header-actions a {
    min-width: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
}

.action-icon {
    font-size: 29px;
    line-height: 1;
}

/* ==========================================================
   NAVIGATION
   ========================================================== */

.navigation {
    height: 44px;
    background: var(--maroon);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.nav-inner {
    height: 44px;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

.nav-inner a {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: .2px;
}

.nav-inner a:hover {
    opacity: .72;
}

/* ==========================================================
   HERO
   Requested size: 1560px x 325px
   ========================================================== */

.hero {
    height: 325px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("../images/hero-banner.jpg") center center / cover no-repeat;
}

.hero-content {
    height: 325px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-copy {
    width: 70%;
    max-width: 1050px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-kicker {
    color: var(--green-dark);
    font-size: 19px;
    margin-bottom: 7px;
}

.hero h1 {
    color: var(--maroon);
    font-size: clamp(42px, 4vw, 58px);
    line-height: 1.02;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-ornament {
    width: 390px;
    max-width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--orange);
    margin-bottom: 13px;
}

.hero-ornament span {
    flex: 1;
    height: 1px;
    background: var(--orange);
}

.hero-ornament b {
    font-size: 21px;
    font-weight: 400;
}

.hero-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: var(--green-dark);
    font-size: 14px;
    margin-bottom: 15px;
}

.hero-features i {
    color: var(--orange);
    font-style: normal;
}

.shop-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 39px;
    padding: 0 20px;
    border-radius: 3px;
    background: var(--maroon);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
}

.shop-button:hover {
    background: var(--maroon-dark);
}

.hero-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(38, 59, 29, .92);
    color: #fff;
    font-size: 34px;
    line-height: 30px;
}

.hero-prev {
    left: 15px;
}

.hero-next {
    right: 15px;
}

.hero-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.hero-dots button,
.collection-dots button {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 50%;
    background: #cfc9bd;
}

.hero-dots button.active {
    background: var(--orange);
}

/* ==========================================================
   SECTION HEADINGS
   ========================================================== */

.section-heading {
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.section-heading h2 {
    color: var(--maroon);
    font-size: 27px;
    line-height: 1;
    font-weight: 600;
}

.section-heading span {
    color: var(--orange);
    font-size: 19px;
}

/* ==========================================================
   BEST SELLERS
   ========================================================== */

.best-sellers {
    width: 100%;
    background: #fff;
    padding-bottom: 18px;
}

.product-carousel {
    position: center;
    align : center;
    width: 100%;

}

.product-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding: 0 0 3px;
    align : center;

}

.product-track::-webkit-scrollbar {
    display: none;
}

.product-card {
    min-width: 0;
    border: 1px solid #e2d9cc;
    border-radius: 7px;
    background: #fffdfa;
    overflow: hidden;
    text-align: center;
    padding-bottom: 9px;
}
.product-title {
    color: var(--orange);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;

}
.product-image {
    width: 100%;
    aspect-ratio: 2 / 3;
    background: var(--cream-dark);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 5px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    height: 29px;
    margin-top: 6px;
    padding: 0 14px;
    background: var(--maroon);
    border-radius: 3px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.subscribe-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    height: 29px;
    margin-top: 6px;
    padding: 0 14px;
    background: var(--orange);
    border-radius: 3px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
}
.buy-button:hover {
    background: var(--maroon-dark);
}

.carousel-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--green-dark);
    color: #fff;
    font-size: 32px;
    line-height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-carousel .previous,
.collection-carousel .previous {
    left: -50px;
}

.product-carousel .next,
.collection-carousel .next {
    right: -50px;
}

/* ==========================================================
   PRODUCT / IMAGE CAROUSEL
   Images are 1:1
   ========================================================== */

.collection {
    width: 100%;
    background: #fff;
    padding-bottom: 20px;
}

.collection-carousel {
    position: relative;
}

.collection-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.collection-track::-webkit-scrollbar {
    display: none;
}

.collection-card {
    position: relative;
    min-width: 0;
    aspect-ratio: 1 / 1;
    border-radius: 7px;
    overflow: hidden;
    background: var(--cream-dark);
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 31%;
    background: linear-gradient(transparent, rgba(25, 37, 17, .82));
}

.collection-card span {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 9px;
    text-align: center;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

.collection-card:nth-child(even) span {
    color: #fff;
}

.collection-dots {
    height: 27px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
}

.collection-dots button.active {
    background: var(--orange);
}

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

.footer {
    position: relative;
    min-height: 285px;
    background: var(--green-dark);
    color: #fff;
    overflow: hidden;
}

.footer-inner {
    position: relative;
    min-height: 252px;
    padding: 35px 120px 55px;
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 1.5fr 1fr;
    column-gap: 70px;
    align-items: start;
}

.footer-column,
.social-section {
    position: relative;
    z-index: 2;
}

.footer-column h3,
.social-section h3 {
    margin-bottom: 12px;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .15px;
}

.footer-column > a {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    line-height: 1.75;
    opacity: .95;
}

.newsletter p {
    margin-bottom: 11px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    line-height: 1.45;
}

.newsletter-form {
    width: 300px;
    max-width: 100%;
}

.newsletter-form input {
    width: 100%;
    height: 36px;
    border: 0;
    outline: none;
    border-radius: 3px;
    background: #fff;
    padding: 0 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
}

.newsletter-form button {
    width: 150px;
    height: 34px;
    margin-top: 10px;
    border: 0;
    border-radius: 3px;
    background: var(--orange);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.social-section {
    text-align: center;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.social-icons a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.social-icons a:hover {
    background: var(--maroon);
}

.footer-decoration {
    position: absolute;
    width: 145px;
    height: 250px;
    border: 1px solid rgba(221, 150, 58, .65);
    border-radius: 60% 40% 55% 45%;
    opacity: .75;
    transform: rotate(35deg);
    pointer-events: none;
}

.left-decoration {
    left: -105px;
    bottom: -75px;
}

.right-decoration {
    right: -105px;
    bottom: -75px;
    transform: rotate(-35deg);
}

.footer-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--maroon);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1250px) {

    .header-inner {
        padding: 0 30px;
        grid-template-columns: 35px 175px minmax(250px, 1fr) auto;
        column-gap: 18px;
    }

    .brand-logo,
    .brand-logo img {
        width: 175px;
        height: 110px;
    }

    .header-actions {
        gap: 15px;
    }

    .nav-inner {
        gap: 25px;
    }

    .footer-inner {
        padding-left: 60px;
        padding-right: 60px;
        column-gap: 35px;
    }
}

@media (max-width: 1000px) {

    .utility-inner {
        padding: 0 20px;
        font-size: 10px;
    }

    .header-inner {
        grid-template-columns: 35px 150px 1fr auto;
    }

    .brand-logo,
    .brand-logo img {
        width: 150px;
        height: 105px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions a {
        min-width: 55px;
        font-size: 0;
    }

    .action-icon {
        font-size: 27px;
    }

    .nav-inner {
        overflow-x: auto;
        justify-content: flex-start;
        gap: 24px;
        padding: 0 20px;
    }

    .nav-inner a {
        flex: 0 0 auto;
    }

    .product-track {
        grid-template-columns: repeat(3, minmax(190px, 1fr));
    }

    .collection-track {
        grid-template-columns: repeat(3, minmax(210px, 1fr));
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }

    .social-section {
        text-align: left;
    }

    .social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {

    .utility-bar {
        height: auto;
    }

    .utility-inner {
        min-height: 30px;
        height: auto;
        padding: 6px 12px;
        gap: 10px;
        font-size: 9px;
    }

    .utility-inner div:nth-child(2) {
        display: none;
    }

    .main-header,
    .header-inner {
        height: 92px;
    }

    .header-inner {
        padding: 0 12px;
        grid-template-columns: 28px 120px 1fr 35px;
        column-gap: 8px;
    }

    .brand-logo,
    .brand-logo img {
        width: 120px;
        height: 82px;
    }

    .search-form {
        height: 38px;
    }

    .search-form input {
        font-size: 10px;
        padding-left: 10px;
    }

    .search-form button {
        width: 38px;
        font-size: 24px;
    }

    .header-actions {
        display: none;
    }

    .navigation,
    .nav-inner {
        height: 38px;
    }

    .nav-inner {
        gap: 18px;
    }

    .nav-inner a {
        font-size: 10px;
    }

    .hero,
    .hero-content {
        height: 325px;
    }

    .hero-copy {
        width: 85%;
    }

    .hero-kicker {
        font-size: 14px;
    }

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

    .hero-features {
        gap: 7px;
        font-size: 10px;
    }

    .hero-ornament {
        width: 250px;
    }

    .hero-arrow {
        width: 32px;
        height: 32px;
        font-size: 28px;
    }

    .container-wide {
        width: calc(100% - 28px);
    }

    .section-heading {
        height: 58px;
    }

    .section-heading h2 {
        font-size: 22px;
    }

    .product-track {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
        gap: 10px;
    }

    .collection-track {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
        gap: 10px;
    }

    .product-carousel .carousel-arrow,
    .collection-carousel .carousel-arrow {
        display: none;
    }

    .footer-inner {
        padding: 30px 24px 60px;
        grid-template-columns: 1fr;
        row-gap: 25px;
    }

    .social-section {
        text-align: left;
    }

    .newsletter-form {
        width: 100%;
    }
}

@media (max-width: 430px) {

    .utility-inner div:last-child {
        display: none;
    }

    .header-inner {
        grid-template-columns: 26px 105px 1fr;
    }

    .brand-logo,
    .brand-logo img {
        width: 105px;
        height: 78px;
    }

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

    .hero-features {
        flex-wrap: wrap;
        justify-content: center;
    }

    .product-track,
    .collection-track {
        grid-template-columns: 1fr 1fr;
    }

    .product-card h3 {
        font-size: 10px;
    }
}

/* =================================== PDP CSS ==============================*/

.product-section{
    max-width:940px;
    margin:auto;
    display:grid;
    grid-template-columns:505px 1fr;
    gap:34px
}
.gallery{
    display:grid;
    grid-template-columns:70px 1fr;
    gap:14px
}
.thumbs{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding-top: 20px;
}
.thumb{
    border:1px solid transparent;
    background:#fff;
    padding:0;
    border-radius:4px;
    overflow:hidden;
    cursor:pointer;
    height:92px;
    width: 64px;
}
.thumb.active{
    border:1px solid #116d4d
}
.thumb img{
    width:100%;
    height:100%;
    object-fit:cover
}
.main-image-wrap{
    position:relative;
    background:#fff;
    height:546px;
    overflow:hidden;
    border-radius:4px
}
.main-image{
    width:100%;
    height:100%;
    object-fit:contain;
    background-color: #ffffff
}
.discount-badge{
    position:absolute;
    z-index:2;
    top:14px;
    left:15px;
    background:#d9534f;
    color:#fff;
    font-weight:700;
    padding:6px 8px;
    border-radius:3px;
    font-size:12px
}
.wishlist-main{
    position:absolute;
    z-index:2;
    right:14px;
    top:13px;
    width:34px;
    height:34px;
    border:0;
    border-radius:50%;
    background:#fff;
    font-size:23px;
    cursor:pointer
}
.wishlist-main.liked{
    color:#d33
}
.gallery-arrow{
    position:absolute;
    z-index:2;
    top:50%;
    transform:translateY(-50%);
    width:32px;
    height:32px;
    border:0;
    border-radius:50%;
    background:#fff;
    font-size:27px;
    line-height:1;
    cursor:pointer
}
.gallery-arrow.left{
    left:12px
}
.gallery-arrow.right{
    right:12px
}
.product-info{
    padding-top:4px
}
.best-seller{
    display:inline-block;
    background:#176747;
    color:#fff;
    border-radius:3px;
    padding:4px 7px;
    font-size:9px;
    font-weight:bold
}
.product-info h1{
    font-size:24px;
    margin:10px 0 9px;
    line-height:1.2
}
.price-row{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:15px
}
.price{
    font-size:27px;
    color:#df3d35;
    font-weight:700
}
.old-price{
    color:#999;
    text-decoration:line-through;
    font-size:14px
}
.off{
    color:#e33;
    font-size:13px
}
.buy-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin-top:20px
}
.buy-actions button{
    height:42px;
    border-radius:3px;
    font-weight:700;
    cursor:pointer
}
.details{
    max-width:940px;
    margin:12px auto 0;
    border:1px solid #ddd;
    border-radius:4px;
    display:grid;

    min-height:184px
}
.description{
    padding:15px;
    border-right:1px solid #eee
}
.description h3{
    font-size:18px;
    margin:0 0 7px
}
.description p,.description li{
    font-size:14px;
    color:#444;
    line-height:1.45
}
.description p{
    margin:0 0 6px
}
.description ul{
    padding-left:15px;
    margin:0
}
.trust-strip{
    margin-top:28px;
    background:#f8f8f6;
    min-height:64px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    align-items:center;
    padding:0 80px
}
.trust-strip>div{
    display:grid;
    grid-template-columns:35px 1fr;
    grid-template-rows:1fr 1fr;
    column-gap:8px
}
.trust-strip span{
    grid-row:1/3;
    font-size:24px;
    align-self:center
}
.trust-strip strong{
    font-size:11px;
    align-self:end
}
.trust-strip small{
    font-size:10px;
    color:#555
}
