
/* =========================
   CREA TU IDEA
   LAVENDER & WHITE THEME
========================= */

:root {
    --lavender: #bca6e8;
    --lavender-dark: #9275c5;
    --lavender-light: #f4effb;
    --lavender-pale: #faf8fd;
    --white: #ffffff;
    --text: #393344;
    --muted: #777180;
    --border: #e9e2f2;
}

/* GENERAL */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
}

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

button,
input,
textarea {
    font: inherit;
}

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

.navbar {
    width: 100%;
    min-height: 130px;
    padding: 8px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* LOGO */

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
}

/* NAVIGATION LINKS */

.navbar nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar nav > a {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar nav > a:hover {
    color: var(--lavender-dark);
}

/* =========================
   LANGUAGE SELECTOR
========================= */

.language-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--lavender-pale);
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}

.language-selector a {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    transition: color 0.3s ease;
}

.language-selector a:hover,
.language-selector a.active-language {
    color: var(--lavender-dark);
}

.language-selector span {
    color: var(--border);
    font-size: 12px;
}

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

.hero {
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 90px 20px;

    background:
        linear-gradient(
            rgba(49, 37, 67, 0.35),
            rgba(49, 37, 67, 0.35)
        ),
        var(--lavender);

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

.hero-content {
    max-width: 760px;
    color: var(--white);
}

.subtitle {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--lavender-dark);
    margin-bottom: 15px;
}

.hero .subtitle {
    color: var(--white);
}

.hero h1 {
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-content > p:not(.subtitle) {
    font-size: 17px;
    margin-bottom: 35px;
}

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

.main-button {
    display: inline-block;
    padding: 16px 32px;
    background: var(--lavender-dark);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease;
}

.main-button:hover {
    background: #7959b1;
    transform: translateY(-2px);
}

/* =========================
   PRODUCTS
========================= */

.products-section {
    padding: 100px 8%;
    background: var(--white);
}

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

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

/* PRODUCT GRID */

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
    max-width: 1050px;
    margin: 0 auto 35px;
}

/* PRODUCT CARDS */

.product-card {
    background: var(--lavender-pale);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(90, 65, 125, 0.10);
}

.product-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    background: var(--lavender-light);
}

.product-info {
    padding: 30px;
    text-align: center;
}

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

.product-info p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 25px;
}

.product-button {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid var(--lavender-dark);
    border-radius: 5px;
    color: var(--lavender-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.product-button:hover {
    background: var(--lavender-dark);
    color: var(--white);
}

/* VIEW MORE BUTTON */

.view-more-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 35px auto 0;
    text-align: center;
}

.view-more-button {
    display: inline-block;
    padding: 14px 30px;
    margin: 0 auto;
    border: 1px solid var(--lavender-dark);
    border-radius: 6px;
    color: var(--lavender-dark);
    background: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    transition: 0.3s ease;
}

.view-more-button:hover {
    background: var(--lavender-dark);
    color: var(--white);
    transform: translateY(-2px);
}

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

.about-section {
    padding: 100px 20px;
    background: var(--lavender-light);
    text-align: center;
}

.about-content {
    max-width: 750px;
    margin: auto;
}

.about-content h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.about-content p:last-child {
    color: var(--muted);
    font-size: 16px;
}

/* =========================
   CONTACT
========================= */

.contact-section {
    padding: 100px 20px;
    background: var(--white);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: auto;
}

.contact-content h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.contact-content > p:not(.subtitle) {
    color: var(--muted);
    margin-bottom: 30px;
}

.contact-content form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-content input,
.contact-content textarea {
    width: 100%;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--lavender-pale);
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border 0.3s ease;
}

.contact-content input:focus,
.contact-content textarea:focus {
    border-color: var(--lavender-dark);
}

.contact-content textarea {
    resize: vertical;
}

.contact-content button {
    width: 100%;
}

.flash-message {
    background: var(--lavender-light);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    color: var(--text);
}

/* =========================
   PRODUCT REQUEST LAYOUT
========================= */

.contact-order-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: start;
    text-align: left;
    margin-top: 35px;
}

.selected-product {
    padding: 25px;
    background: var(--lavender-pale);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.selected-product img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
}

.selected-product h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.selected-product p {
    color: var(--muted);
    font-size: 14px;
}

.contact-order-layout form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

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

footer {
    padding: 55px 20px;
    background: #eee7f7;
    color: var(--text);
    text-align: center;
}

.footer-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-content > p {
    color: var(--muted);
    font-size: 14px;
}

.footer-links {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--lavender-dark);
}

.copyright {
    border-top: 1px solid #d9cde9;
    padding-top: 20px;
    margin-top: 25px;
}

/* =========================
   PRODUCT DETAIL PAGE
========================= */

.product-detail {
    max-width: 1150px;
    margin: auto;
    padding: 80px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-detail-image img {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    background: var(--lavender-pale);
    border-radius: 12px;
}

.product-detail-info h1 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.product-price {
    font-size: 23px;
    font-weight: 700;
    color: var(--lavender-dark);
    margin-bottom: 20px;
}

.product-detail-info > p:not(.subtitle):not(.product-price) {
    color: var(--muted);
    margin-bottom: 25px;
}

.viewer-placeholder {
    background: var(--lavender-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.viewer-placeholder h3 {
    margin-bottom: 10px;
}

.viewer-placeholder p {
    color: var(--muted);
    font-size: 14px;
}

.back-link {
    margin-top: 25px;
    font-size: 14px;
}

.back-link a:hover {
    color: var(--lavender-dark);
}

/* =========================
   MOBILE RESPONSIVENESS
========================= */

@media screen and (max-width: 768px) {

    .navbar {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        padding: 12px 20px;
    }

    .brand img {
        width: 90px;
        height: 90px;
    }

    .navbar nav {
        position: static;
        transform: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 18px;
    }

    .navbar nav > a {
        font-size: 11px;
    }

    .language-selector {
        margin: 5px auto 0;
    }

    .hero {
        min-height: 450px;
        padding: 70px 20px;
    }

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

    .hero-content > p:not(.subtitle) {
        font-size: 15px;
    }

    .products-section {
        padding: 70px 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .product-card img {
        height: 300px;
    }

    .view-more-container {
        justify-content: center;
        margin-top: 30px;
    }

    .section-heading h2,
    .about-content h2,
    .contact-content h2 {
        font-size: 30px;
    }

    .about-section,
    .contact-section {
        padding: 70px 20px;
    }

    .contact-order-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-links {
        gap: 18px;
        flex-wrap: wrap;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 45px 20px;
    }

    .product-detail-info h1 {
        font-size: 30px;
    }
}

/* =========================
   SMALL PHONES
========================= */

@media screen and (max-width: 380px) {

    .navbar nav {
        gap: 12px;
    }

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

    .brand img {
        width: 80px;
        height: 80px;
    }

    .language-selector {
        gap: 6px;
        padding: 8px 10px;
    }
}



/* FORCE BACK HOME BUTTON TEXT VISIBILITY */

.shop-more-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    margin: 55px auto 20px;
}

.shop-more-container .back-home-button,
a.back-home-button {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;

    color: #9275c5 !important;
    background-color: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;

    padding: 14px 32px !important;

    border: 2px solid #9275c5 !important;
    border-radius: 6px !important;

    text-decoration: none !important;
    text-align: center !important;

    position: relative;
    z-index: 5;
}

.shop-more-container .back-home-button:hover {
    color: #ffffff !important;
    background-color: #9275c5 !important;
}
