/*
Theme Name: DryFruits B2B Enterprise Core
Author: AF Technologies
Description: Ultra-secure, stealth B2B wholesale catalog theme for dry fruits and nuts exporters.
Version: 2.0.0
*/

:root {
    --primary-brown: #3E2723;
    --accent-gold: #C59B27;
    --bg-cream: #FAF7F2;
    --card-bg: #FFFFFF;
    --text-dark: #2C221E;
    --text-muted: #6D5D53;
    --border-light: #E6DFD5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Roboto, Arial, sans-serif; background-color: var(--bg-cream); color: var(--text-dark); line-height: 1.6; }
.wrapper { width: 90%; max-width: 1200px; margin: 0 auto; }

.site-header { background-color: var(--primary-brown); color: #fff; padding: 18px 0; border-bottom: 4px solid var(--accent-gold); }
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.brand-logo { font-size: 24px; font-weight: 700; color: #fff; text-decoration: none; }
.brand-logo span { color: var(--accent-gold); }
.nav-links a { color: #f0eae1; text-decoration: none; margin-left: 25px; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--accent-gold); }

.hero-banner { background-color: var(--primary-brown); color: #fff; padding: 70px 0; text-align: center; }
.hero-banner h1 { font-size: 38px; margin-bottom: 15px; color: #fff; }
.hero-banner p { font-size: 18px; max-width: 700px; margin: 0 auto 25px; color: #e0d6cc; }
.badge-b2b { display: inline-block; background: var(--accent-gold); color: var(--primary-brown); font-weight: 700; padding: 6px 16px; border-radius: 30px; font-size: 13px; text-transform: uppercase; margin-bottom: 15px; }

.section-title { text-align: center; margin: 50px 0 35px; }
.section-title h2 { font-size: 30px; color: var(--primary-brown); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px; margin-bottom: 60px; }
.product-box { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.product-box:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(62, 39, 35, 0.08); }
.product-thumb { width: 100%; height: 210px; background: #f3efea; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.product-info h3 { font-size: 20px; color: var(--primary-brown); margin-bottom: 10px; }
.meta-tags { font-size: 13px; color: var(--text-muted); margin-bottom: 15px; list-style: none; }
.meta-tags li { margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px dashed var(--border-light); }

.btn-primary { display: inline-block; background: var(--primary-brown); color: #fff; text-align: center; padding: 11px 18px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 14px; border: none; cursor: pointer; transition: background 0.2s; }
.btn-primary:hover { background: var(--accent-gold); color: var(--primary-brown); }

.single-product-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; background: var(--card-bg); padding: 35px; border-radius: 12px; border: 1px solid var(--border-light); margin: 40px 0; }
.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.spec-table th, .spec-table td { padding: 12px 15px; border: 1px solid var(--border-light); text-align: left; font-size: 14px; }
.spec-table th { background-color: #f6f2ec; color: var(--primary-brown); width: 38%; }

.inquiry-card { background: #fff; padding: 30px; border-radius: 10px; border: 2px solid var(--accent-gold); margin: 30px 0 60px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group { margin-bottom: 15px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--primary-brown); }
.form-control { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 5px; font-size: 14px; }
.alert-success { background: #e8f5e9; color: #1b5e20; border-left: 4px solid #2e7d32; padding: 15px; margin-bottom: 20px; border-radius: 4px; font-weight: 500; }
.alert-error { background: #ffebee; color: #b71c1c; border-left: 4px solid #c62828; padding: 15px; margin-bottom: 20px; border-radius: 4px; }
.site-footer { background: var(--primary-brown); color: #cbbeb5; text-align: center; padding: 30px 0; font-size: 14px; margin-top: 60px; }

@media (max-width: 768px) {
    .single-product-wrap, .form-grid { grid-template-columns: 1fr; }
}