/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: #24201e;
    background: #fffdfb;
    line-height: 1.6;
}

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

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

button,
input {
    font-family: inherit;
}


/* =========================
   VARIABLES
========================= */

:root {
    --dark: #282321;
    --cream: #f7f1eb;
    --rose: #d8aaa0;
    --light-rose: #f4e6e1;
    --border: #e6ded8;
    --white: #ffffff;
}


/* =========================
   CONTAINER
========================= */

.container {
    width: min(1180px, 90%);
    margin: auto;
}


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

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--border);
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    letter-spacing: 4px;
}

.desktop-menu {
    display: flex;
    gap: 35px;
}

.desktop-menu a {
    font-size: 14px;
    transition: .3s;
}

.desktop-menu a:hover {
    color: #a36d63;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn,
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

.icon-btn {
    font-size: 25px;
    position: relative;
}

.cart-btn small {
    position: absolute;
    right: -5px;
    top: -4px;
    width: 17px;
    height: 17px;
    background: var(--dark);
    color: white;
    font-size: 10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-toggle {
    display: none;
    font-size: 25px;
}

.mobile-menu {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 160px;
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo img {
        width: 130px;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 110px;
    }
}


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

.hero {
    height: 90vh;
    min-height: 650px;
    margin-top: 78px;
    position: relative;

    background-image:
        url("../images/hero-1.jpg");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,.9),
        rgba(255,255,255,.45),
        rgba(255,255,255,0)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 1180px;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    color: #8c6b63;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: clamp(50px, 7vw, 90px);
    line-height: 1.05;
    max-width: 700px;
    margin: 18px 0;
}

.hero h1 em {
    display: block;
    color: #e61f8d;
}

.hero p {
    max-width: 500px;
    font-size: 17px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 0 28px;
    border: 1px solid #851251;
    transition: .3s;
    font-size: 13px;
    font-weight: 600;
}

.btn-dark {
    background: #e61f8d;
    color: white;
}

.btn-dark:hover {
    background: #851251;
    border-color: #a87368;
}

.btn-light {
    background: white;
    color: var(--dark);
}

.btn-light:hover {
    background: #e61f8d;
	color: #fff;
}


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

.section {
    padding: 110px 0;
}

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

.section-heading h2 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    margin-top: 10px;
}

.section-heading p {
    max-width: 400px;
    color: #756e6a;
}

.center {
    align-items: center;
}


/* =========================
   CATEGORY
========================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.category-card img {
    height: 100%;
    object-fit: cover;
    transition: .6s;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        transparent 50%,
        rgba(0,0,0,.65)
    );
}

.category-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    color: white;
}

.category-content h3 {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 400;
}

.category-content span {
    font-size: 12px;
    letter-spacing: 1px;
}


/* =========================
   SHOP
========================= */

.shop-section {
    background: var(--cream);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 45px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    padding: 10px 22px;
    cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-image {
    position: relative;
    overflow: hidden;
    background: #eee;
}

.product-image img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: .5s;
}

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

.badge {
    position: absolute;
    z-index: 2;
    left: 12px;
    top: 12px;
    background: white;
    padding: 6px 10px;
    font-size: 10px;
    letter-spacing: 1px;
}

.badge.sale {
    background: var(--dark);
    color: white;
}

.quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border: none;
    background: rgba(40,35,33,.95);
    color: white;
    padding: 14px;
    transform: translateY(100%);
    transition: .3s;
    cursor: pointer;
}

.product-card:hover .quick-add {
    transform: translateY(0);
}

.product-info {
    padding-top: 15px;
}

.product-info span {
    font-size: 10px;
    letter-spacing: 2px;
    color: #8d817b;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 4px 0;
}

.product-info p {
    font-weight: 600;
}

.product-info del {
    color: #999;
    margin-right: 5px;
    font-weight: 400;
}


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

.promo {
    background: #302a27;
    color: white;
    padding: 100px 0;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo h2 {
    font-family: "Playfair Display", serif;
    font-size: 58px;
    font-weight: 400;
    line-height: 1.05;
    margin-top: 15px;
}

.promo-text {
    max-width: 350px;
}

.promo-text p {
    font-size: 18px;
    margin-bottom: 25px;
}


/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.about-image img {
    height: 650px;
    object-fit: cover;
}

.about-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 55px;
    font-weight: 400;
    line-height: 1.1;
    margin: 15px 0 25px;
}

.about-content p {
    color: #6e6763;
    margin-bottom: 18px;
    max-width: 500px;
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    border-bottom: 1px solid;
    padding-bottom: 5px;
    font-weight: 600;
}


/* =========================
   TESTIMONIAL
========================= */


.testimonial {
    padding: 100px 20px;
    text-align: center;
    background: #f8f7f2;
    overflow: hidden;
}

.testimonial-slider {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    width: 100%;
    animation: testimonialSlide 0.7s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes testimonialSlide {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial .quote {
    display: block;
    color: #605e37;
    font-family: Georgia, serif;
    font-size: 80px;
    line-height: 50px;
    margin-bottom: 25px;
}

.testimonial blockquote {
    margin: 0 auto 25px;
    max-width: 750px;
    color: #333;
    font-size: 26px;
    line-height: 1.6;
    font-weight: 400;
}

.testimonial p {
    margin: 0;
    color: #605e37;
    font-size: 16px;
    font-weight: 600;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.testimonial-dots .dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c9c8b8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
    width: 28px;
    border-radius: 20px;
    background: #605e37;
}


/* Mobile */
@media (max-width: 767px) {

    .testimonial {
        padding: 70px 20px;
    }

    .testimonial blockquote {
        font-size: 20px;
        line-height: 1.5;
    }

    .testimonial .quote {
        font-size: 65px;
        margin-bottom: 15px;
    }

}

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

.newsletter {
    padding: 100px 0;
    text-align: center;
}

.newsletter-content {
    max-width: 700px;
}

.newsletter h2 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 400;
    margin: 12px 0;
}

.newsletter p {
    color: #716a66;
}

#newsletterForm {
    display: flex;
    max-width: 550px;
    margin: 30px auto 0;
}

#newsletterForm input {
    flex: 1;
    height: 52px;
    border: 1px solid var(--border);
    padding: 0 18px;
    outline: none;
}

#newsletterForm button {
    border: none;
}

#formMessage {
    margin-top: 15px;
    font-size: 14px;
}


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

.footer {
    background: #282321;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding: 70px 0;
}

.footer-logo {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    letter-spacing: 4px;
}

.footer-grid p {
    color: #b8b0ac;
    max-width: 280px;
    margin-top: 15px;
}

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

.footer-grid > div:not(:first-child) a {
    display: block;
    color: #b8b0ac;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-grid a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #47413e;
}

.footer-bottom .container {
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p,
.footer-bottom a {
    color: #9e9793;
    font-size: 12px;
}

.footer-bottom div div {
    display: flex;
    gap: 20px;
}


/* =========================
   TOAST
========================= */

.toast {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #282321;
    color: white;
    padding: 15px 22px;
    font-size: 13px;
    transform: translateY(100px);
    opacity: 0;
    transition: .3s;
    z-index: 9999;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}


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

@media (max-width: 900px) {

    .desktop-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        background: white;
        border-top: 1px solid var(--border);
        padding: 20px 5%;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu a {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

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

    .category-card:last-child {
        grid-column: span 2;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 500px;
    }

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

}


@media (max-width: 600px) {

    .nav {
        height: 68px;
    }

    .logo {
        font-size: 25px;
    }

    .hero {
        margin-top: 68px;
        min-height: 650px;
        background-position: 65% center;
    }

    .hero-overlay {
        background: rgba(255,255,255,.72);
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2 {
        font-size: 38px;
        margin-bottom: 15px;
    }

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

    .category-card {
        height: 430px;
    }

    .category-card:last-child {
        grid-column: auto;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-info h3 {
        font-size: 14px;
    }

    .quick-add {
        display: none;
    }

    .promo-content {
        display: block;
    }

    .promo h2 {
        font-size: 44px;
        margin-bottom: 30px;
    }

    .about-content h2 {
        font-size: 40px;
    }

    blockquote {
        font-size: 27px;
    }

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

    #newsletterForm {
        flex-direction: column;
        gap: 10px;
    }

    #newsletterForm input,
    #newsletterForm button {
        width: 100%;
    }

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

    .footer-bottom .container {
        display: block;
        padding: 20px 0;
    }

    .footer-bottom .container div {
        margin-top: 10px;
    }

}

/* Floating Contact Buttons */

.floating-contact {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 23px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
}

.floating-btn.whatsapp {
    background: #25D366;
}

.floating-btn.call {
    background: #605e37;
}

.floating-btn:hover {
    transform: translateY(-4px) scale(1.05);
    color: #fff;
}

/* Mobile */
@media (max-width: 767px) {

    .floating-contact {
        right: 15px;
        bottom: 18px;
        gap: 10px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }

}