/* Loamster Uruguay - Herramientas Ergonómicas y Equipamiento Botánico */
:root {
    --bg-primary: #111a14;
    --bg-secondary: #17241b;
    --bg-card: #1d2e23;
    --bg-card-hover: #23372a;
    --border-color: #2b4031;
    --border-light: #3a5442;
    --text-primary: #f4f6f4;
    --text-secondary: #a7bca9;
    --text-muted: #728a76;
    --accent-leaf: #34d399;
    --accent-emerald: #10b981;
    --accent-terracotta: #e07a5f;
    --accent-gold: #e9c46a;
    --accent-warm: #f4a261;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.25s ease-in-out;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    background-color: #16241a;
    border-radius: var(--radius-md);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* TOP NOTIFICATION BAR */
.top-bar {
    background: #0d1510;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-highlight {
    color: var(--accent-leaf);
    font-weight: 500;
}

/* HEADER & NAVIGATION */
.site-header {
    background: rgba(17, 26, 20, 0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    font-size: 26px;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-primary);
}

.logo-sub {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--accent-leaf);
    display: block;
    font-weight: 600;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-primary);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-leaf);
    border-radius: 2px;
}

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

.cart-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-btn:hover {
    border-color: var(--accent-leaf);
    color: var(--accent-leaf);
}

.cart-count {
    background: var(--accent-emerald);
    color: #062b18;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent-emerald);
    color: #072b17;
}

.btn-primary:hover {
    background: #4ade80;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 211, 153, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-leaf);
    background: rgba(52, 211, 153, 0.08);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* HERO SECTION */
.hero-section {
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(52, 211, 153, 0.08) 0%, transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: var(--accent-leaf);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 46px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero-title span {
    color: var(--accent-leaf);
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.hero-feature-item span:first-child {
    font-size: 18px;
}

.hero-img-wrap {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

/* SECTION HEADERS */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--accent-leaf);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #142017;
}

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

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

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(17, 26, 20, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    color: var(--accent-leaf);
    text-transform: uppercase;
}

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

.product-cat {
    font-size: 12px;
    color: var(--accent-leaf);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.35;
}

.product-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
}

.product-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.product-price small {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* VALUE PILLARS */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: var(--transition);
}

.pillar-card:hover {
    border-color: var(--accent-leaf);
}

.pillar-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: inline-block;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pillar-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ARTICLE / GUIDE CARDS */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    border-color: var(--accent-leaf);
    transform: translateY(-3px);
}

.article-img {
    height: 190px;
    width: 100%;
    object-fit: cover;
}

.article-body {
    padding: 22px;
}

.article-tag {
    font-size: 12px;
    color: var(--accent-leaf);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
}

.read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-leaf);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* TESTIMONIALS */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.stars {
    color: var(--accent-gold);
    margin-bottom: 12px;
    font-size: 14px;
}

.review-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.reviewer-loc {
    font-size: 12px;
    color: var(--text-muted);
}

/* FAQ */
.faq-grid {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.faq-answer {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FOOTER */
.site-footer {
    background: #0b120d;
    border-top: 1px solid var(--border-color);
    padding: 70px 0 24px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 340px;
}

.footer-company-info {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-leaf);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-muted);
}

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

/* PRODUCT DETAIL PAGE */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 60px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.spec-table tr {
    border-bottom: 1px solid var(--border-color);
}

.spec-table td {
    padding: 10px 0;
}

.spec-table td:first-child {
    color: var(--text-muted);
    font-weight: 500;
    width: 40%;
}

.spec-table td:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    margin-right: 16px;
}

.qty-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 8px 14px;
    cursor: pointer;
    font-size: 16px;
}

.qty-input {
    width: 44px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
}

/* CHECKOUT / PEDIDOS */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.checkout-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
}

.checkout-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

input, select, textarea {
    width: 100%;
    background: #142017;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-leaf);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.summary-row.total {
    border-top: 1px solid var(--border-color);
    margin-top: 12px;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

/* LEGAL PAGES & CONTENT */
.content-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.content-box h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin: 28px 0 14px;
    color: var(--text-primary);
}

.content-box h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0 10px;
    color: var(--accent-leaf);
}

.content-box p, .content-box ul {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.content-box ul {
    padding-left: 20px;
}

.content-box li {
    margin-bottom: 8px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-grid, .product-detail-grid, .checkout-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .product-grid, .pillars-grid, .article-grid, .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .product-grid, .pillars-grid, .article-grid, .reviews-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 32px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
}
