
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "DM Sans", sans-serif;
    color: #252525;
    background: #ffffff;
    line-height: 1.6;
}
img {
    width: 100%;
    display: block;
    object-fit: cover;
}
a {
    text-decoration: none;
    color: inherit;
}
button,
input {
    font-family: inherit;
}
button {
    cursor: pointer;
}
.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

:root {
    --primary: #1e3027;
    --primary-light: #31483c;
    --accent: #b58b55;
    --accent-light: #d1ad7a;
    --dark: #1d1d1b;
    --text: #343434;
    --muted: #777777;
    --cream: #f7f4ee;
    --light: #faf9f6;
    --white: #ffffff;
    --border: #e8e5df;
    --shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);
    --transition:
        all 0.3s ease;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    line-height: 1.15;
}
h1 span,
h2 span {
    color: var(--accent);
}
.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
}
.btn-primary:hover {
    background: #9d753f;
    transform: translateY(-2px);
}
.btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}
.btn-dark {
    background: var(--primary);
    color: var(--white);
}
.btn-dark:hover {
    background: var(--dark);
    transform: translateY(-2px);
}
.btn-light {
    background: var(--white);
    color: var(--primary);
}
.btn-light:hover {
    background: var(--accent);
    color: var(--white);
}

.header {
    position: relative;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 2px;
}
.logo-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: var(--white);
    font-family: "Playfair Display", serif;
    font-size: 22px;
}
/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 35px;
}
.nav a {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    transition: var(--transition);
}
.nav a:hover,
.nav a.active {
    color: var(--primary);
}
.nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 100%;
    height: 2px;
    background: var(--accent);
}
/* Navigation actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.icon-btn,
.cart-btn,
.menu-btn {
    border: none;
    background: transparent;
}
.icon-btn {
    font-size: 18px;
}
.cart-btn {
    position: relative;
    font-size: 19px;
}
.cart-count {
    position: absolute;
    top: -9px;
    right: -10px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
}
.menu-btn {
    display: none;
    font-size: 25px;
}
.mobile-nav {
    display: none;
}

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(20, 30, 25, 0.86),
            rgba(20, 30, 25, 0.35)
        ),
        url("../images/hero.jpg") center/cover no-repeat;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-text {
    max-width: 650px;
    color: var(--white);
}
.hero h1 {
    margin-bottom: 24px;
    font-size: clamp(45px, 6vw, 76px);
}
.hero h1 span {
    display: block;
}
.hero p {
    max-width: 560px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.features {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
}
.features-grid {
    min-height: 115px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 30px;
}
.feature {
    display: flex;
    align-items: center;
    gap: 14px;
}
.feature-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--accent);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}
.feature h3 {
    margin-bottom: 2px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
}
.feature p {
    color: var(--muted);
    font-size: 12px;
}

.section {
    padding: 100px 0;
}
.section-heading {
    margin-bottom: 45px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}
.section-heading h2 {
    max-width: 550px;
    font-size: clamp(34px, 4vw, 50px);
}
.text-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
}
.centered {
    display: block;
    text-align: center;
}
.centered h2 {
    margin: 0 auto 18px;
}
.centered > p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
}

.categories-section {
    background: var(--white);
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.category-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: var(--dark);
}
.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.75),
            transparent 60%
        );
    transition: var(--transition);
}
.category-card:hover::after {
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.82),
            rgba(0, 0, 0, 0.1)
        );
}
.category-card img {
    height: 100%;
    position: absolute;
    inset: 0;
    transition: transform 0.6s ease;
}
.category-card:hover img {
    transform: scale(1.07);
}
.category-info {
    position: absolute;
    z-index: 2;
    left: 25px;
    right: 25px;
    bottom: 25px;
    color: var(--white);
}
.category-info span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
}
.category-info h3 {
    margin: 5px 0;
    font-size: 25px;
}
.category-info p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.products-section {
    background: var(--light);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.product-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #f1f0ed;
}
.product-image img {
    height: 100%;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-badge {
    position: absolute;
    z-index: 3;
    top: 15px;
    left: 15px;
    padding: 6px 10px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}
.product-badge.sale {
    background: var(--accent);
}
.wishlist-btn {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}
.wishlist-btn:hover {
    color: var(--accent);
    transform: scale(1.1);
}
.product-info {
    padding: 20px;
}
.product-category {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.product-info h3 {
    margin: 7px 0 17px;
    font-size: 21px;
}
.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.product-bottom strong {
    font-size: 16px;
}
.add-cart {
    border: none;
    background: transparent;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 3px;
}
.add-cart:hover {
    color: var(--accent);
}

.promo {
    padding: 100px 0;
    background: var(--primary);
    color: var(--white);
}
.promo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 550px;
}
.promo-content {
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #263b30;
}
.promo-content h2 {
    margin-bottom: 25px;
    font-size: clamp(42px, 5vw, 65px);
}
.promo-content p {
    max-width: 470px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.75);
}
.promo-content .btn {
    align-self: flex-start;
}
.promo-image {
    overflow: hidden;
}
.promo-image img {
    height: 100%;
}

.about-section {
    background: var(--cream);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}
.about-image {
    height: 560px;
    overflow: hidden;
}
.about-image img {
    height: 100%;
}
.about-content h2 {
    margin-bottom: 25px;
    font-size: clamp(38px, 4vw, 55px);
}
.about-content p {
    max-width: 520px;
    margin-bottom: 18px;
    color: var(--muted);
}
.about-content .btn {
    margin-top: 15px;
}

.why-section {
    background: var(--white);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 55px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.why-card {
    min-height: 250px;
    padding: 35px 25px;
    border-right: 1px solid var(--border);
}
.why-card:last-child {
    border-right: none;
}
.why-number {
    margin-bottom: 25px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}
.why-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
}
.why-card p {
    color: var(--muted);
    font-size: 14px;
}

.testimonials {
    background: var(--light);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.testimonial-card {
    padding: 35px;
    background: var(--white);
    border: 1px solid var(--border);
}
.stars {
    margin-bottom: 20px;
    color: var(--accent);
    letter-spacing: 3px;
}
.testimonial-card > p {
    min-height: 105px;
    color: #555;
    font-size: 15px;
    font-style: italic;
}
.customer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.customer-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
}
.customer strong {
    display: block;
    font-size: 13px;
}
.customer span {
    color: var(--muted);
    font-size: 11px;
}

.newsletter {
    padding: 75px 0;
    background: var(--accent);
    color: var(--white);
}
.newsletter-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.newsletter .eyebrow {
    color: var(--white);
}
.newsletter h2 {
    max-width: 600px;
    margin-bottom: 10px;
    font-size: clamp(30px, 4vw, 44px);
}
.newsletter h2 span {
    color: var(--primary);
}
.newsletter p {
    color: rgba(255, 255, 255, 0.85);
}
.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 480px;
    background: var(--white);
    padding: 6px;
}
.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 15px;
    border: none;
    outline: none;
    font-size: 13px;
}
.newsletter-form .btn {
    min-height: 48px;
    padding: 0 22px;
}

.footer {
    background: #17231d;
    color: var(--white);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 60px;
    padding: 75px 0;
}
.footer-logo {
    margin-bottom: 20px;
}
.footer-brand > p {
    max-width: 280px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.social-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    transition: var(--transition);
}
.social-links a:hover {
    color: var(--accent);
}
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-column h3 {
    margin-bottom: 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
}
.footer-column a,
.footer-column p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    transition: var(--transition);
}
.footer-column a:hover {
    color: var(--accent);
}
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
}

@media (max-width: 1000px) {
    .nav {
        gap: 20px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 0;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-card:nth-child(2) {
        border-right: none;
    }
    .why-card:nth-child(1),
    .why-card:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card > p {
        min-height: auto;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 760px) {
    .nav {
        display: none;
    }
    .menu-btn {
        display: block;
    }
    .mobile-nav {
        display: none;
        flex-direction: column;
        padding: 20px 4%;
        border-top: 1px solid var(--border);
        background: var(--white);
    }
    .mobile-nav.active {
        display: flex;
    }
    .mobile-nav a {
        padding: 13px 0;
        border-bottom: 1px solid var(--border);
        font-size: 14px;
    }
    .mobile-nav a:last-child {
        border-bottom: none;
    }
    /* Hero */
    .hero {
        min-height: 600px;
    }
    .hero h1 {
        font-size: 46px;
    }
    .hero p {
        font-size: 15px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    /* Sections */
    .section {
        padding: 70px 0;
    }
    .section-heading {
        display: block;
    }
    .section-heading h2 {
        margin-bottom: 20px;
    }
    /* Categories */
    .category-grid {
        grid-template-columns: 1fr;
    }
    .category-card {
        min-height: 380px;
    }
    /* Products */
    .product-grid {
        grid-template-columns: 1fr;
    }
    .product-image {
        height: 350px;
    }
    /* Promo */
    .promo {
        padding: 70px 0;
    }
    .promo-container {
        grid-template-columns: 1fr;
    }
    .promo-content {
        padding: 50px 30px;
    }
    .promo-image {
        min-height: 400px;
    }
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image {
        height: 420px;
    }
    /* Why */
    .why-grid {
        grid-template-columns: 1fr;
    }
    .why-card {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .why-card:last-child {
        border-bottom: none;
    }
    /* Newsletter */
    .newsletter-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .newsletter-form {
        max-width: 100%;
    }
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 90%;
    }
    .nav-container {
        min-height: 70px;
    }
    .logo {
        font-size: 17px;
    }
    .logo-icon {
        width: 34px;
        height: 34px;
    }
    .hero {
        min-height: 570px;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero-buttons {
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .section-heading h2 {
        font-size: 35px;
    }
    .product-image {
        height: 300px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom .container {
        flex-direction: column;
    }
    .newsletter-form {
        flex-direction: column;
        background: transparent;
        padding: 0;
        gap: 10px;
    }
    .newsletter-form input {
        width: 100%;
        min-height: 50px;
    }
    .newsletter-form .btn {
        width: 100%;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.category-card,
.product-card,
.testimonial-card {
    will-change: transform;
}
