/* =========================================
   INTEZAR CLOTHING HOUSE
   LUXURY RESPONSIVE DESIGN
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f8f5ef;
    color: #173d32;
}


/* =========================================
   ANNOUNCEMENT BAR
========================================= */

.announcement-bar {
    background: #173d32;
    color: #ffffff;
    text-align: center;
    padding: 9px 15px;
    font-size: 10px;
    letter-spacing: 2px;
}


/* =========================================
   HEADER
========================================= */

.header {
    min-height: 90px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f5ef;
    border-bottom: 1px solid #e6e0d5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo,
.footer-logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 34px;
    font-weight: 600;
    letter-spacing: 5px;
    color: #173d32;
    line-height: 0.8;
}

.logo span,
.footer-logo span {
    display: block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 7px;
    letter-spacing: 3px;
    text-align: center;
    margin-top: 8px;
}

.nav {
    display: flex;
    gap: 35px;
}

.nav a {
    text-decoration: none;
    color: #173d32;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    transition: 0.3s;
}

.nav a:hover {
    color: #b28a42;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.search-button,
.bag-button {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #173d32;
    font-family: 'Montserrat', Arial, sans-serif;
}

.search-button {
    font-size: 17px;
}

.bag-button {
    font-size: 11px;
    letter-spacing: 1px;
}

#bag-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #b28a42;
    color: white;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    margin-left: 4px;
    font-size: 10px;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 82vh;
    padding: 8%;
    display: flex;
    align-items: center;
    color: white;

    background:
        linear-gradient(
            90deg,
            rgba(15, 48, 39, 0.90),
            rgba(15, 48, 39, 0.30)
        ),
        url("https://images.unsplash.com/photo-1583391733956-6c78276477e2?auto=format&fit=crop&w=1800&q=85");

    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 650px;
}

.small-title {
    font-size: 10px;
    letter-spacing: 4px;
    margin-bottom: 22px;
    font-weight: 500;
}

.hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(60px, 8vw, 100px);
    line-height: 0.85;
    font-weight: 500;
    margin-bottom: 30px;
}

.hero h1 span {
    color: #d5b36b;
    font-style: italic;
}

.hero p {
    max-width: 480px;
    line-height: 1.9;
    font-size: 14px;
    margin-bottom: 32px;
}

.hero-button {
    display: inline-block;
    padding: 16px 32px;
    background: #b28a42;
    color: white;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 2px;
    transition: 0.3s;
}

.hero-button:hover {
    background: #ffffff;
    color: #173d32;
}


/* =========================================
   COLLECTION INTRO
========================================= */

.collection-intro {
    text-align: center;
    padding: 100px 20px 70px;
    max-width: 750px;
    margin: auto;
}

.collection-intro h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 55px;
    font-weight: 500;
    margin-bottom: 20px;
}

.collection-intro h2 span {
    color: #b28a42;
    font-style: italic;
}

.collection-intro > p:last-child {
    color: #777;
    line-height: 1.8;
    font-size: 14px;
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading p {
    font-size: 10px;
    letter-spacing: 4px;
    margin-bottom: 14px;
}

.section-heading h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 52px;
    font-weight: 500;
}

.section-heading h2 span {
    color: #b28a42;
    font-style: italic;
}


/* =========================================
   PRODUCTS
========================================= */

.collection {
    padding: 80px 7% 110px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #ffffff;
    overflow: hidden;
    transition: 0.35s;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.product-card img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    display: block;
    transition: 0.5s;
}

.product-card:hover img {
    transform: scale(1.03);
}

.product-card h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 25px;
    font-weight: 600;
    padding: 20px 20px 5px;
}

.product-card p {
    padding: 0 20px;
    color: #777;
    font-size: 14px;
}

.product-card label {
    display: block;
    margin: 15px 20px 6px;
    font-size: 10px;
    letter-spacing: 1px;
    color: #173d32;
}

.product-card select {
    width: calc(100% - 40px);
    margin: 0 20px;
    padding: 10px;
    border: 1px solid #ddd6ca;
    background: white;
    color: #173d32;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 11px;
    outline: none;
}

.product-card select:focus {
    border-color: #b28a42;
}

.product-card button {
    width: calc(100% - 40px);
    margin: 18px 20px 22px;
    padding: 13px;
    background: white;
    border: 1px solid #173d32;
    color: #173d32;
    cursor: pointer;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    transition: 0.3s;
}

.product-card button:hover {
    background: #173d32;
    color: white;
}


/* =========================================
   CATEGORIES
========================================= */

.categories {
    padding: 100px 7%;
    background: #ffffff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.category-card {
    height: 430px;
    overflow: hidden;
}

.category-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: 0.5s;
}

.category-pret {
    background-image:
        linear-gradient(
            rgba(20, 50, 42, 0.20),
            rgba(20, 50, 42, 0.55)
        ),
        url("https://images.unsplash.com/photo-1594633312681-425c7b97ccd1?auto=format&fit=crop&w=900&q=80");
}

.category-unstitched {
    background-image:
        linear-gradient(
            rgba(20, 50, 42, 0.20),
            rgba(20, 50, 42, 0.55)
        ),
        url("https://images.unsplash.com/photo-1610030469983-98e550d6193c?auto=format&fit=crop&w=900&q=80");
}

.category-formal {
    background-image:
        linear-gradient(
            rgba(20, 50, 42, 0.20),
            rgba(20, 50, 42, 0.55)
        ),
        url("https://images.unsplash.com/photo-1583391733956-6c78276477e2?auto=format&fit=crop&w=900&q=80");
}

.category-card:hover .category-image {
    transform: scale(1.04);
}

.category-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 45px;
    color: white;
    text-align: center;
}

.category-overlay h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 15px;
}

.category-overlay a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid white;
    padding-bottom: 5px;
    font-size: 9px;
    letter-spacing: 2px;
}


/* =========================================
   BENEFITS
========================================= */

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 60px 7%;
    background: #f8f5ef;
    border-top: 1px solid #e4ded3;
    border-bottom: 1px solid #e4ded3;
}

.benefit {
    text-align: center;
    padding: 15px;
    border-right: 1px solid #ddd6ca;
}

.benefit:last-child {
    border-right: none;
}

.benefit-icon {
    font-size: 25px;
    color: #b28a42;
    margin-bottom: 15px;
}

.benefit h3 {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.benefit p {
    font-size: 11px;
    color: #777;
}


/* =========================================
   ABOUT
========================================= */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #173d32;
    color: white;
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
    display: block;
}

.about-content {
    padding: 12%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 55px;
    line-height: 1;
    font-weight: 500;
    margin-bottom: 30px;
}

.about-content h2 span {
    color: #d2ad67;
    display: block;
    font-style: italic;
}

.about-content p {
    line-height: 1.9;
    margin-bottom: 20px;
    color: #e8e8e8;
    font-size: 14px;
}

.about-button {
    display: inline-block;
    width: fit-content;
    margin-top: 15px;
    padding: 14px 25px;
    border: 1px solid #d2ad67;
    color: white;
    text-decoration: none;
    font-size: 9px;
    letter-spacing: 2px;
    transition: 0.3s;
}

.about-button:hover {
    background: #d2ad67;
    color: #173d32;
}


/* =========================================
   CONTACT
========================================= */

.contact {
    padding: 110px 7%;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-item {
    min-height: 220px;
    border: 1px solid #ddd6ca;
    padding: 40px 20px;
    text-align: center;
    background: #ffffff;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: #b28a42;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.contact-icon {
    color: #b28a42;
    font-size: 27px;
    margin-bottom: 15px;
}

.contact-item h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 12px;
    color: #777;
    min-height: 32px;
}

.contact-item a {
    display: inline-block;
    margin-top: 14px;
    padding: 9px 14px;
    border: 1px solid #173d32;
    color: #173d32;
    text-decoration: none;
    font-size: 8px;
    letter-spacing: 1.5px;
    transition: 0.3s;
}

.contact-item a:hover {
    background: #173d32;
    color: white;
}


/* =========================================
   FOOTER
========================================= */

footer {
    background: #102d26;
    color: white;
    text-align: center;
    padding: 60px 20px 35px;
}

.footer-logo {
    color: white;
    margin-bottom: 25px;
}

footer > p {
    color: #d7d7d7;
    font-size: 12px;
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 35px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: #d2ad67;
}

.copyright {
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 0;
    color: #aaa;
}


/* =========================================
   SHOPPING BAG
========================================= */

.bag-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1999;
}

.bag-overlay.open {
    display: block;
}

.shopping-bag {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    max-width: 90%;
    height: 100vh;
    background: white;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    z-index: 2000;
}

.shopping-bag.open {
    right: 0;
}

.bag-header {
    padding: 25px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bag-header h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
}

.bag-header button {
    border: none;
    background: none;
    font-size: 30px;
    cursor: pointer;
}

.bag-items {
    padding: 25px;
    flex: 1;
    overflow-y: auto;
}

.bag-footer {
    padding: 25px;
    border-top: 1px solid #ddd;
}

.total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.checkout-button {
    width: 100%;
    padding: 15px;
    background: #173d32;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 2px;
}

.checkout-button:hover {
    background: #b28a42;
}


/* =========================================
   BAG PRODUCTS
========================================= */

.bag-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.bag-item img {
    width: 85px;
    height: 110px;
    object-fit: cover;
}

.bag-info {
    flex: 1;
}

.bag-info h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    margin-bottom: 8px;
}

.bag-info p {
    font-size: 12px;
    margin-bottom: 7px;
    color: #777;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.quantity-controls button {
    width: 28px;
    height: 28px;
    border: 1px solid #173d32;
    background: white;
    cursor: pointer;
    font-size: 18px;
}

.remove-btn {
    border: none;
    background: none;
    color: #a33;
    cursor: pointer;
    font-size: 10px;
    text-transform: uppercase;
}


/* =========================================
   CHECKOUT
========================================= */

.checkout-page {
    background: #f8f5ef;
    min-height: 100vh;
    padding-bottom: 60px;
}

.checkout-header {
    text-align: center;
    padding: 45px 20px 25px;
}

.checkout-header h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 42px;
    letter-spacing: 5px;
    color: #183b32;
    margin-bottom: 10px;
}

.checkout-header p {
    color: #777;
    font-size: 15px;
}

.checkout-container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
}

.checkout-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.checkout-box h2 {
    font-family: Georgia, serif;
    color: #183b32;
    margin-bottom: 25px;
    font-size: 25px;
}

.checkout-box label {
    display: block;
    margin: 15px 0 7px;
    font-weight: 600;
    color: #333;
}

.checkout-box input,
.checkout-box textarea,
.checkout-box select {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    background: #fff;
}

.checkout-box textarea {
    height: 100px;
    resize: vertical;
}

.checkout-box input:focus,
.checkout-box textarea:focus,
.checkout-box select:focus {
    border-color: #b9975b;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.checkout-item img {
    width: 75px;
    height: 90px;
    object-fit: cover;
    border-radius: 7px;
}

.checkout-item-info {
    flex: 1;
}

.checkout-item-info h3 {
    margin: 0 0 6px;
    font-family: Georgia, serif;
    color: #183b32;
    font-size: 17px;
}

.checkout-item-info p {
    margin: 3px 0;
    color: #777;
    font-size: 14px;
}

.checkout-summary {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #b9975b;
}

.checkout-summary div {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
    color: #444;
}

.checkout-summary .grand-total {
    font-size: 22px;
    font-weight: bold;
    color: #183b32;
    margin-top: 20px;
}

.place-order-btn {
    width: 100%;
    margin-top: 25px;
    padding: 16px;
    border: none;
    border-radius: 7px;
    background: #183b32;
    color: white;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
}

.place-order-btn:hover {
    background: #b9975b;
}

.back-shopping {
    display: block;
    text-align: center;
    margin-top: 25px;
    color: #183b32;
    text-decoration: none;
    font-weight: 600;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .header {
        padding: 0 4%;
    }

    .nav {
        gap: 18px;
    }

    .nav a {
        font-size: 9px;
    }

    .product-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit {
        border-right: none;
        border-bottom: 1px solid #ddd6ca;
        padding: 25px 10px;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about-image img {
        min-height: 450px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .checkout-container {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    /* ANNOUNCEMENT */

    .announcement-bar {
        font-size: 8px;
        letter-spacing: 1px;
        padding: 9px 5px;
    }


    /* HEADER */

    .header {
        min-height: 75px;
        padding: 12px 18px;
    }

    .logo {
        font-size: 27px;
        letter-spacing: 4px;
    }

    .logo span {
        font-size: 6px;
        letter-spacing: 2px;
        margin-top: 7px;
    }

    .nav {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }

    .search-button {
        display: none;
    }

    .bag-button {
        font-size: 10px;
    }


    /* HERO */

    .hero {
        min-height: 75vh;
        padding: 12% 7%;
        background-position: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .small-title {
        font-size: 8px;
        letter-spacing: 3px;
        margin-bottom: 18px;
    }

    .hero h1 {
        font-size: 62px;
        line-height: 0.9;
    }

    .hero p {
        font-size: 13px;
        line-height: 1.8;
    }

    .hero-button {
        padding: 14px 22px;
        font-size: 9px;
    }


    /* COLLECTION INTRO */

    .collection-intro {
        padding: 70px 20px 45px;
    }

    .collection-intro h2 {
        font-size: 42px;
        line-height: 1;
    }

    .collection-intro > p:last-child {
        font-size: 12px;
    }


    /* HEADINGS */

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 42px;
        line-height: 1;
    }


    /* COLLECTION */

    .collection {
        padding: 70px 6%;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-card img {
        height: 420px;
    }

    .product-card h3 {
        font-size: 24px;
    }


    /* CATEGORIES */

    .categories {
        padding: 70px 6%;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-card {
        height: 450px;
    }


    /* BENEFITS */

    .benefits {
        grid-template-columns: 1fr 1fr;
        padding: 40px 4%;
        gap: 0;
    }

    .benefit {
        padding: 25px 8px;
    }

    .benefit-icon {
        font-size: 22px;
    }

    .benefit h3 {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .benefit p {
        font-size: 9px;
    }


    /* ABOUT */

    .about {
        grid-template-columns: 1fr;
    }

    .about-image img {
        min-height: 420px;
        height: 420px;
    }

    .about-content {
        padding: 70px 8%;
    }

    .about-content h2 {
        font-size: 45px;
    }

    .about-content p {
        font-size: 13px;
        line-height: 1.8;
    }


    /* CONTACT */

    .contact {
        padding: 70px 6%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-item {
        min-height: 210px;
        padding: 30px 20px;
    }

    .contact-item h3 {
        font-size: 25px;
    }

    .contact-item p {
        font-size: 11px;
        word-break: break-word;
    }


    /* FOOTER */

    footer {
        padding: 50px 20px 30px;
    }

    .footer-logo {
        font-size: 30px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 18px;
    }


    /* SHOPPING BAG */

    .shopping-bag {
        width: 100%;
        max-width: 100%;
    }

    .bag-header {
        padding: 20px;
    }

    .bag-items {
        padding: 20px;
    }

    .bag-footer {
        padding: 20px;
    }

    .bag-item {
        gap: 10px;
    }

    .bag-item img {
        width: 70px;
        height: 90px;
    }


    /* CHECKOUT */

    .checkout-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .checkout-header {
        padding: 35px 15px 20px;
    }

    .checkout-header h1 {
        font-size: 36px;
    }

    .checkout-box {
        padding: 20px;
    }

    .checkout-item img {
        width: 75px;
        height: 90px;
    }
}