@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&display=swap');

:root {
    /* Color Palette from Figma */
    --color-orange: #E04A1D;
    --color-orange-hover: #C03D16;
    --color-brown-dark: #1D0C06;
    --color-brown-rust: #6D2D18;
    --color-cream: #F5EFEB;
    --color-white: #FFFFFF;
    --color-grey: #666666;
    --color-black: #111111;

    /* System variables */
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Button UI */
.btn-pill {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
    border: none;
}

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

.btn-orange:hover {
    background-color: var(--color-orange-hover);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid var(--color-brown-rust);
    color: var(--color-brown-rust);
}

.btn-outline-white:hover {
    background-color: var(--color-brown-rust);
    color: var(--color-white);
}

.btn-brown {
    background-color: var(--color-brown-rust);
    color: var(--color-white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    transition: var(--transition);
}

header.active {
    background-color: var(--color-white);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}



header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand a {
    display: flex;
    align-items: center;
    position: relative;
    gap: 15px;
    height: 60px;
    text-decoration: none;
}

.brand-text {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    white-space: nowrap;
    position: absolute;
    left: 70px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-brown-dark);
    letter-spacing: 1px;
}

header.active .brand-text {
    color: var(--color-brown-dark);
}

.brand-text span {
    color: var(--color-orange);
}

.nav-logo {
    height: 65px;
    width: auto;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

header.active .nav-logo {
    height: 50px;
}

.show-text {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(10px);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.95rem;
}

header.active .nav-links a {
    color: var(--color-brown-dark);
}

.nav-links a:hover {
    color: var(--color-orange);
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../Image/inicio.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--color-black);
    padding: 0;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    /* Capa blanco perla: arriba más transparente, abajo más cubierto */
    background: linear-gradient(to bottom,
            rgba(245, 239, 235, 0.55) 0%,
            rgba(250, 246, 242, 0.75) 60%,
            rgba(255, 253, 250, 0.88) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
}


.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-brown-dark);
}

.hero-content h1 span {
    color: var(--color-orange);
}

.hero-content p {
    color: #1D0C06;
    font-weight: 600;
}

/* Global Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-brown-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-tag {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-orange);
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

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

.mt-50 {
    margin-top: 50px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}


/* About Section */

/* About Section */
.about {
    background-color: var(--color-cream);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-img {
    position: relative;
    z-index: 1;
}

.about-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-orange);
    border-radius: 24px;
    z-index: -1;
    transition: var(--transition);
}

.about-img:hover::before {
    top: 10px;
    left: 10px;
}

.about-img img {
    border-radius: 24px;
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: var(--shadow);
    display: block;
    transition: var(--transition);
}

.about-img:hover img {
    transform: scale(1.02);
}

.tradition-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 30px rgba(224, 74, 29, 0.3);
}

.tradition-badge .number {
    font-size: 2.2rem;
    font-weight: 800;
}

.tradition-badge .text {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    max-width: 100px;
}

.about-content p {
    color: var(--color-grey);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
    margin-bottom: 40px;
}

.feature-list li {
    font-weight: 600;
    color: var(--color-brown-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--color-orange);
}

/* Products Section */
.products {
    background-color: var(--color-white);
}

.carousel-container {
    margin-top: 30px;
    position: relative;
    padding: 20px 0;
}

.carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    padding-bottom: 20px;
    cursor: grab;
}

.carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.carousel:active {
    cursor: grabbing;
}

.product-card {
    flex: 0 0 350px;
    scroll-snap-align: center;
    background-color: var(--color-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .carousel {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        overflow-x: visible;
        scroll-snap-type: none;
        cursor: default;
        padding-bottom: 0;
    }

    .product-card {
        flex: unset;
        width: 100%;
        scroll-snap-align: unset;
        border-radius: 18px;
    }

    .product-img {
        height: 160px;
    }

    .product-info {
        padding: 14px;
    }

    .product-info h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .product-info p {
        font-size: 0.78rem;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .card-footer .price {
        font-size: 1rem;
    }

    .btn-customize {
        font-size: 0.75rem;
        padding: 8px 12px;
    }
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    position: relative;
    height: 280px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

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

.tag {
    display: inline-block;
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-img .tag {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.product-info .tag {
    margin-bottom: 12px;
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.product-info p {
    color: var(--color-grey);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

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

.card-footer .price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-brown-rust);
}

.cart-icon {
    width: 45px;
    height: 45px;
    background-color: #FFF3F0;
    color: var(--color-orange);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.cart-icon:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #E0E0E0;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    width: 25px;
    border-radius: 50px;
    background-color: var(--color-orange);
}

.mt-50 {
    margin-top: 50px;
}

.catalog-link {
    color: var(--color-orange);
    font-weight: 700;
    font-size: 1rem;
}

/* Contact Section */
.contact {
    background-color: var(--color-brown-rust);
    color: var(--color-white);
}

.contact .section-title {
    color: var(--color-white);
}

.contact-info p {
    opacity: 0.8;
    margin-bottom: 40px;
}

.contact-blocks {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.info-block {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-bubble {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-block h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-block p {
    margin-bottom: 0;
    opacity: 0.7;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

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

/* Contact Form Card */
.form-card {
    background-color: var(--color-white);
    color: var(--color-black);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 800;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: #F8F8F8;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: #F0F0F0;
    box-shadow: 0 0 0 2px var(--color-orange);
}

.full-width {
    width: 100%;
}

/* Footer Section */
.footer {
    background-color: var(--color-brown-dark);
    color: var(--color-white);
    padding: 60px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.brand-footer {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.brand-footer span {
    color: var(--color-orange);
}

.footer-brand p {
    opacity: 0.6;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--color-brown-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

header.active .nav-links a {
    color: var(--color-brown-dark);
}

.nav-links a:hover {
    color: var(--color-orange);
}

.footer-links a {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-orange);
}

.footer-copy {
    opacity: 0.5;
    font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

/* Hamburguesa blanca sobre hero, oscura al hacer scroll */
.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: var(--transition);
}

header.active .mobile-menu-toggle span {
    background-color: var(--color-brown-dark);
}

/* Hamburger Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    /* Header Mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.5s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--color-brown-dark) !important;
        font-size: 1.2rem;
        font-weight: 700;
    }

    .brand-text {
        font-size: 0.9rem;
        left: 60px;
    }

    .nav-logo {
        height: 50px;
    }

    /* Hero Mobile */
    .hero {
        background-size: cover;
        background-position: center 30%;
        background-color: transparent;
        height: 100svh;
    }

    .hero-bg-overlay {
        background: linear-gradient(to bottom,
                rgba(245, 239, 235, 0.30) 0%,
                rgba(250, 246, 242, 0.50) 50%,
                rgba(245, 239, 235, 0.70) 100%);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .btn-pill {
        width: 100%;
        text-align: center;
    }

    /* Layout Grids */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img img {
        height: 350px;
    }

    .about-img::before {
        display: none;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    /* Products Mobile */
    .carousel {
        grid-template-columns: 1fr;
    }

    /* Contact/Footer Mobile */
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .form-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .brand-text {
        font-size: 0.75rem;
        left: 58px;
        letter-spacing: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   NEW INTERACTIVE & CUSTOMIZATION STYLES
   ========================================================================== */

/* Cart Button in Header */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-btn {
    position: relative;
    background: var(--color-orange);
    color: var(--color-white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(224, 74, 29, 0.3);
    transition: var(--transition);
}

.cart-btn:hover {
    transform: scale(1.08);
    background: var(--color-orange-hover);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-brown-dark);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
}

/* Filter & Search Bar */
.filter-wrapper {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-grey);
    font-size: 1rem;
}

.search-box input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border-radius: 50px;
    border: 2px solid #EAEAEA;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 15px rgba(224, 74, 29, 0.15);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    background-color: var(--color-cream);
    color: var(--color-brown-dark);
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-orange);
    color: var(--color-white);
    box-shadow: 0 5px 15px rgba(224, 74, 29, 0.25);
}

/* Grid of Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .product-card-dynamic .product-img {
        height: 155px;
    }

    .product-card-dynamic .product-info {
        padding: 12px;
    }

    .product-card-dynamic .product-info h3 {
        font-size: 0.88rem;
        margin-bottom: 5px;
    }

    .product-card-dynamic .product-info p {
        font-size: 0.75rem;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .card-footer .price {
        font-size: 1rem;
    }

    .btn-customize {
        font-size: 0.72rem;
        padding: 7px 10px;
    }
}


.product-card-dynamic {
    background: var(--color-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid #F0F0F0;
    position: relative;
}

.product-card-dynamic:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.product-card-dynamic .product-img {
    height: 250px;
    position: relative;
    overflow: hidden;
    background: #F8F8F8;
}

.product-card-dynamic .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-dynamic:hover .product-img img {
    transform: scale(1.06);
}

.badge-customizable {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(29, 12, 6, 0.85);
    color: #FFD700;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.product-card-dynamic .product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-dynamic .product-info h3 {
    font-size: 1.25rem;
    color: var(--color-brown-dark);
    margin-bottom: 8px;
    font-weight: 800;
}

.product-card-dynamic .product-info p {
    font-size: 0.88rem;
    color: var(--color-grey);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.badge-mini {
    background: #F3ECE7;
    color: var(--color-brown-rust);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #F0F0F0;
}

.card-footer .price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-orange);
}

.btn-customize {
    background: var(--color-brown-rust);
    color: var(--color-white);
    border: none;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-customize:hover {
    background: var(--color-orange);
    transform: scale(1.03);
}

/* CUSTOMIZATION MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--color-white);
    width: 100%;
    max-width: 650px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #F0F0F0;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--color-orange);
    color: var(--color-white);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
}

.modal-product-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EAEAEA;
}

.modal-product-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 18px;
}

.modal-product-title h3 {
    font-size: 1.4rem;
    color: var(--color-brown-dark);
    margin-bottom: 4px;
}

.modal-product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-orange);
}

.option-group {
    margin-bottom: 22px;
}

.option-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-brown-dark);
    margin-bottom: 10px;
}

.option-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-btn {
    background: #F5F5F5;
    border: 2px solid #EAEAEA;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-brown-dark);
}

.chip-btn:hover {
    border-color: var(--color-orange);
}

.chip-btn.selected {
    background: var(--color-brown-rust);
    color: var(--color-white);
    border-color: var(--color-brown-rust);
}

.engraving-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #EAEAEA;
    border-radius: 14px;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.engraving-input:focus {
    border-color: var(--color-orange);
}

.engraving-help {
    font-size: 0.78rem;
    color: var(--color-grey);
    margin-top: 6px;
}

/* CART DRAWER */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1900;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: var(--color-white);
    z-index: 1950;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 24px;
    background: var(--color-cream);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E8E0D8;
}

.cart-header h3 {
    font-size: 1.2rem;
    color: var(--color-brown-dark);
}

.cart-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-brown-dark);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-empty-msg {
    text-align: center;
    padding: 50px 20px;
    color: var(--color-grey);
}

.cart-empty-msg i {
    font-size: 3rem;
    color: #DDD;
    margin-bottom: 15px;
}

.cart-item-card {
    background: #FAFAFA;
    border: 1px solid #F0F0F0;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    gap: 12px;
    position: relative;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-brown-dark);
}

.cart-item-variant {
    font-size: 0.78rem;
    color: var(--color-grey);
    margin: 4px 0;
    line-height: 1.3;
}

.cart-item-price {
    font-weight: 800;
    color: var(--color-orange);
    font-size: 0.95rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #DDD;
    background: var(--color-white);
    font-weight: 700;
    cursor: pointer;
}

.remove-cart-item {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #AA1111;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.cart-footer {
    padding: 24px;
    background: #FDFDFD;
    border-top: 1px solid #EAEAEA;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-brown-dark);
    margin-bottom: 18px;
}

.cart-total-price {
    color: var(--color-orange);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--color-white);
}

.btn-whatsapp:hover {
    background: #1EBE57;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* FLOATING WHATSAPP BUTTON */
.floating-wa {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1500;
    transition: var(--transition);
}

.floating-wa:hover {
    transform: scale(1.1) rotate(8deg);
}

/* TOAST NOTIFICATION */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--color-brown-dark);
    color: var(--color-white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2500;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast i {
    color: #25D366;
}

/* ADMIN LINK */
.admin-link {
    color: var(--color-orange) !important;
    font-weight: 700;
}

/* ==========================================================================
   ADVANCED MOBILE RESPONSIVE OPTIMIZATIONS (SMARTPHONE FOCUS)
   ========================================================================== */

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        width: 100%;
    }

    header {
        padding: 12px 0 !important;
    }

    header.active {
        padding: 10px 0 !important;
    }

    .container {
        padding: 0 16px !important;
    }

    .nav-actions {
        gap: 12px;
    }

    .cart-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    /* Products Grid Mobile */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    /* Contact Section Grid */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {

    /* Header & Brand Logo Mobile */
    .nav-logo {
        height: 42px;
    }

    .brand-text {
        font-size: 0.72rem;
        left: 50px;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 120px 0 60px 0;
    }

    .hero-content h1 {
        font-size: 2.1rem;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-pill {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.92rem;
    }

    /* Products Grid Single Column */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Cart Drawer Mobile 100% Screen Width Fix */
    .cart-drawer {
        width: 100vw !important;
        max-width: 100vw !important;
        right: -100vw;
    }

    .cart-drawer.active {
        right: 0 !important;
        left: 0 !important;
    }

    .cart-header {
        padding: 16px 18px;
    }

    .cart-items {
        padding: 14px;
        gap: 12px;
    }

    .cart-item-card {
        padding: 12px;
        gap: 10px;
    }

    .cart-item-img {
        width: 65px;
        height: 65px;
    }

    .cart-footer {
        padding: 16px 18px;
    }

    .btn-whatsapp {
        padding: 15px;
        font-size: 1rem;
        border-radius: 50px;
    }

    /* Customization Modal Mobile */
    .modal-overlay {
        padding: 12px;
    }

    .modal-card {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 20px;
    }

    .modal-body {
        padding: 20px 15px;
    }

    .modal-product-header {
        gap: 15px;
        margin-bottom: 18px;
        padding-bottom: 15px;
    }

    .modal-product-img {
        width: 80px;
        height: 80px;
        border-radius: 12px;
    }

    .modal-product-title h3 {
        font-size: 1.15rem;
    }

    .modal-product-price {
        font-size: 1.15rem;
    }

    .chip-btn {
        padding: 7px 12px;
        font-size: 0.8rem;
    }

    /* Floating WhatsApp Button Mobile */
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 1.7rem;
    }

    /* Contact & Form Card Mobile */
    .contact {
        padding: 50px 0;
    }

    .form-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .form-card h3 {
        font-size: 1.25rem;
        margin-bottom: 20px;
        text-align: center;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    /* Footer Mobile Fix */
    .footer {
        padding: 40px 0 30px 0;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-brand {
        text-align: center;
        width: 100%;
    }

    .brand-footer {
        font-size: 1.15rem;
        letter-spacing: 0;
        word-wrap: break-word;
        margin-bottom: 8px;
    }

    .footer-brand p {
        font-size: 0.82rem;
        max-width: 290px;
        margin: 0 auto;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
        width: 100%;
        padding: 10px 0;
    }

    .footer-links a {
        font-size: 0.88rem;
    }

    .footer-copy {
        text-align: center;
        font-size: 0.78rem;
        padding-top: 10px;
    }
}