/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-light: #f9f9fa;
    --bg-white: #ffffff;
    --text-main: #111111;
    --text-light: #555555;
    --accent: #2c9a71;
    --accent-light: #e6f2ec;
    --border-color: #eaeaea;
    --btn-dark: #1a1a1a;
    --font-stack: 'Inter', sans-serif;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

/* Announcement Bar */
.announcement-bar {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 0.85rem;
}

.announcement-bar p {
    margin: 0;
}

/* Badges */
.badge {
    display: inline-block;
    background-color: var(--accent-light);
    color: var(--accent);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Buttons */
.btn-dark {
    display: inline-block;
    background-color: var(--btn-dark);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn-dark:hover {
    background-color: #333;
}

.btn-outline-dark {
    display: inline-block;
    background-color: transparent;
    color: var(--btn-dark);
    border: 1px solid var(--btn-dark);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-outline-dark:hover {
    background-color: var(--btn-dark);
    color: #fff;
}

/* Header */
.eco-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    padding: 15px 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    height: 40px;
}

.search-bar {
    display: flex;
    flex: 1;
    max-width: 400px;
    margin: 0 40px;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    outline: none;
}

.search-bar button {
    background: transparent;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    color: #555;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-btn {
    background-color: var(--bg-light);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.cart-count {
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
}

.main-nav {
    background: #f8f8f8;
    padding: 10px 4%;
    border-top: 1px solid var(--border-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;
}

.main-nav ul li a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Mobile Toggle */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.eco-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 60px 4%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content-left {
    padding-top: 20px;
}

.hero-content-left h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content-left p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 450px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    gap: 20px;
    color: #555;
    font-size: 0.85rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--accent);
    margin-right: 5px;
}

.hero-content-right {
    display: flex;
    gap: 20px;
}

.featured-box {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    width: 100%;
}

.fb-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.fb-badge {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
}

.fb-stock {
    background: #e6f2ec;
    color: var(--accent);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.fb-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    height: 300px;
    object-fit: cover;
}

.fb-stats {
    display: flex;
    justify-content: space-between;
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.fb-stats .stat {
    font-size: 0.75rem;
    color: var(--text-light);
}

.fb-stats .stat strong {
    color: var(--text-main);
    font-size: 1.1rem;
}

/* Common Section */
.text-center { text-align: center; }

/* Categories */
.shop-categories {
    padding: 80px 4%;
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.cat-card {
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.3s;
}

.cat-card:hover {
    transform: translateY(-5px);
}

.cat-card img {
    width: 100%;
    border-radius: 50%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 15px;
    border: 5px solid #f8f8f8;
    box-shadow: var(--card-shadow);
}

.cat-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Built Decisions */
.built-decisions {
    background: var(--bg-light);
    padding: 80px 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    border-bottom: 1px solid var(--border-color);
}

.bd-title h2 {
    font-size: 2.2rem;
    max-width: 350px;
}

.bd-grid {
    display: flex;
    gap: 30px;
    flex: 1;
    max-width: 900px;
}

.bd-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    flex: 1;
    box-shadow: var(--card-shadow);
}

.icon-wrap {
    width: 50px;
    height: 50px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.bd-item h4 {
    margin-bottom: 10px;
}

.bd-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Printer Picks */
.printer-picks {
    padding: 80px 4%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-top h2 {
    font-size: 2rem;
}

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

.product-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    position: relative;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.p-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

.p-badge.best-seller { background: #e0f2fe; color: #0284c7; }
.p-badge.value-pick { background: #fef9c3; color: #ca8a04; }
.p-badge.fast-print { background: #dcfce7; color: #16a34a; }
.p-badge.compact { background: #f3e8ff; color: #9333ea; }

.img-wrapper {
    height: 180px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.rating {
    color: #fbbf24;
    font-size: 0.8rem;
    margin-bottom: 10px;
}
.rating span { color: #999; margin-left: 5px; }

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    flex: 1;
}

.product-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
    min-height: 40px;
}

.p-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.old-price {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
}

.add-btn {
    background: var(--btn-dark);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.add-btn:hover { background: var(--accent); }

/* Deal Section */
.deal-section {
    display: flex;
    background: #fff;
    margin: 80px 4%;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.deal-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fdfaf6;
}

.deal-content h2 { font-size: 2.2rem; margin: 15px 0; }
.deal-content p { color: #555; margin-bottom: 20px; }

.price-deal {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
}
.price-deal h2 { color: #d32f2f; margin: 0; font-size: 2.5rem; }
.price-deal strike { color: #999; font-size: 1.2rem; }

.countdown {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.countdown div {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.countdown div strong { display: block; font-size: 1.5rem; }
.countdown div span { font-size: 0.8rem; color: #777; }

.deal-image {
    flex: 1;
}

.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reviews */
.reviews-section {
    padding: 80px 4%;
    background: #fff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.review-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
}

.review-card .stars {
    color: #fbbf24;
    margin-bottom: 15px;
}

.review-card p {
    font-style: italic;
    color: #444;
    margin-bottom: 20px;
}

.review-card h4 {
    font-size: 0.9rem;
    color: #111;
}

/* Support Flow */
.support-flow {
    display: flex;
    background: var(--bg-white);
    margin: 80px 4%;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 60px;
    gap: 40px;
}

.sf-left { flex: 1; }
.sf-left h2 { font-size: 2rem; margin-bottom: 20px; }
.sf-left p { color: var(--text-light); margin-bottom: 30px; }

.sf-right {
    flex: 1;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
}

.flow-step { 
    display: flex;
    gap: 15px;
    margin-bottom: 25px; 
}
.step-num {
    background: var(--btn-dark);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}
.flow-step h4 { margin-bottom: 5px; }
.flow-step p { font-size: 0.9rem; color: var(--text-light); }

/* Newsletter */
.newsletter-section {
    background: var(--btn-dark);
    color: #fff;
    padding: 60px 4%;
    text-align: center;
}

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

.nl-content h2 { margin-bottom: 15px; }
.nl-content p { color: #ccc; margin-bottom: 30px; }

.nl-form {
    display: flex;
    gap: 10px;
}

.nl-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 6px;
    border: none;
    outline: none;
}

.nl-form button {
    background: var(--accent);
}

/* Footer */
.eco-footer {
    background: var(--bg-white);
    padding: 60px 4% 20px;
}

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

.brand-col p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 300px;
}

.social-links a {
    display: inline-block;
    color: var(--text-main);
    background: #f0f0f0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    font-size: 1rem;
    transition: background 0.3s;
}
.social-links a:hover { background: #ddd; }

.footer-col h5 {
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #111;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a, .contact-info li {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.contact-info li i {
    color: var(--accent);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    font-size: 0.85rem;
    color: #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-methods {
    font-size: 1.5rem;
    color: #555;
    display: flex;
    gap: 10px;
}

.fb-links {
    display: flex;
    gap: 20px;
}

.fb-links a {
    color: #999;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .eco-hero, .deal-section { grid-template-columns: 1fr; }
    .hero-content-right { flex-direction: column; }
    .products-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-top { 
        flex-direction: column; 
        align-items: flex-start;
        gap: 15px; 
    }
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 4%;
        top: 20px;
    }
    .search-bar { margin: 0; width: 100%; max-width: 100%; }
    .header-actions { 
        display: none; /* Hide actions on small screens to save space, or show in menu */
    }
    .header-actions.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 10px 4%;
        background: #f8f8f8;
    }
    .main-nav {
        display: none;
        width: 100%;
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul { 
        flex-direction: column; 
        gap: 0; 
    }
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    .main-nav ul li a {
        display: block;
        padding: 15px 4%;
    }
    .products-grid, .category-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .support-flow { flex-direction: column; }
    .built-decisions { flex-direction: column; }
    .bd-grid { flex-direction: column; }
}
