/*
Theme Name: Native Smokes Store
Theme URI: https://nativesmokes4less.su/
Author: Easy-Peasy AI
Author URI: https://easy-peasy.ai/
Description: Premium custom WooCommerce theme modeled after NativeSmokes4Less (US Version).
Version: 1.1.0
Text Domain: nativesmokes
*/

:root {
  --primary: #004a59;
  --primary-dark: #002e3a;
  --accent-red: #e62d2e;
  --accent-red-hover: #c42223;
  --accent-gold: #f2b319;
  --accent-green: #00ac00;
  --bg-light: #f8fafc;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background-color: var(--bg-light); color: var(--text-dark); line-height: 1.5; }

/* Top Announcement Bar */
.announcement-bar { background-color: var(--accent-red); color: #fff; text-align: center; padding: 10px 16px; font-size: 13px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; }

/* Main Sticky Header */
.site-header { background-color: #ffffff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 15px rgba(0,0,0,0.08); border-bottom: 1px solid var(--border-color); }
.header-main { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; gap: 24px; max-width: 1440px; margin: 0 auto; }
.site-logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 900; color: var(--primary); text-decoration: none; letter-spacing: -0.5px; }
.site-logo span.highlight { color: var(--accent-red); }

/* Header Search */
.header-search { flex: 1; max-width: 580px; position: relative; }
.header-search-form { display: flex; align-items: center; position: relative; }
.header-search input { width: 100%; padding: 12px 50px 12px 18px; border-radius: 30px; border: 2px solid #cbd5e1; background: #f1f5f9; color: var(--text-dark); font-size: 14px; outline: none; transition: all 0.2s; }
.header-search input:focus { border-color: var(--accent-red); background: #ffffff; box-shadow: 0 0 0 4px rgba(230,45,46,0.1); }
.header-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: var(--accent-red); color: #fff; border: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; }
.header-search button:hover { background: var(--accent-red-hover); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-action-btn { display: flex; align-items: center; gap: 8px; color: var(--text-dark); font-weight: 700; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.header-action-btn:hover { color: var(--accent-red); }
.cart-trigger { background: #f1f5f9; border: 1px solid var(--border-color); padding: 8px 16px; border-radius: 30px; display: flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none; color: var(--text-dark); font-weight: 800; font-size: 13px; }
.cart-trigger:hover { background: #e2e8f0; border-color: #cbd5e1; }
.cart-count-badge { background: var(--accent-red); color: #fff; font-size: 12px; font-weight: 900; height: 22px; min-width: 22px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }

/* Secondary Navigation Bar */
.nav-menu-bar { background-color: var(--primary); border-top: 1px solid rgba(255, 255, 255, 0.1); position: relative; z-index: 999; }
.nav-container { max-width: 1440px; margin: 0 auto; position: relative; overflow: visible; }
.nav-menu { display: flex; list-style: none; align-items: center; margin: 0; padding: 0 10px; white-space: nowrap; }
.nav-menu > li { position: relative; flex-shrink: 0; }
.nav-menu > li > a { display: flex; align-items: center; gap: 6px; padding: 14px 18px; font-size: 13px; font-weight: 700; text-transform: uppercase; color: #ffffff; text-decoration: none; transition: background 0.2s; cursor: pointer; }
.nav-menu > li > a:hover, .nav-menu > li.active > a, .nav-menu > li.open > a { background: var(--accent-red); color: #ffffff; }

/* Dropdown menus */
.nav-menu > li.has-dropdown:hover .dropdown-menu,
.nav-menu > li.has-dropdown.open .dropdown-menu { display: block !important; visibility: visible !important; opacity: 1 !important; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #ffffff; min-width: 270px; max-height: 420px; overflow-y: auto; box-shadow: 0 12px 30px rgba(0,0,0,0.2); border-radius: 0 0 10px 10px; list-style: none; z-index: 10000; padding: 8px 0; border-top: 3px solid var(--accent-red); white-space: normal; }
.dropdown-menu li { display: block; width: 100%; }
.dropdown-menu li a { display: block; padding: 10px 20px; font-size: 13px; font-weight: 600; color: var(--text-dark); text-decoration: none; transition: all 0.2s; border-bottom: 1px solid #f1f5f9; line-height: 1.4; }
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background: #f8fafc; color: var(--accent-red); padding-left: 24px; }

/* Hero Section */
.hero-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #ffffff; padding: 48px 24px; border-bottom: 5px solid var(--accent-red); }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1240px; margin: 0 auto; }
.hero-text h1 { font-size: 40px; font-weight: 900; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.5px; }
.hero-text p { font-size: 16px; opacity: 0.9; margin-bottom: 24px; line-height: 1.6; }
.hero-btn { display: inline-block; background: var(--accent-red); color: #ffffff; font-weight: 800; font-size: 16px; padding: 14px 32px; border-radius: 8px; text-decoration: none; transition: transform 0.2s, background 0.2s; box-shadow: 0 4px 15px rgba(230,45,46,0.3); }
.hero-btn:hover { background: var(--accent-red-hover); transform: translateY(-2px); }

/* Notice Banner */
.migrate-notice { max-width: 1240px; margin: 24px auto 0; background: linear-gradient(90deg, var(--accent-red), var(--accent-gold), var(--accent-red)); padding: 3px; border-radius: 12px; }
.migrate-notice-inner { background: #ffffff; color: var(--text-dark); padding: 16px 24px; border-radius: 9px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.migrate-notice-text { font-size: 15px; font-weight: 700; }
.migrate-notice-badge { background: var(--accent-gold); color: #000; padding: 4px 12px; border-radius: 6px; font-weight: 900; font-size: 14px; }

/* Category Grid */
.category-section { padding: 40px 24px; background: #ffffff; border-bottom: 1px solid var(--border-color); }
.section-title { font-size: 28px; font-weight: 800; text-align: center; margin-bottom: 8px; color: var(--text-dark); }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 15px; margin-bottom: 32px; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; max-width: 1240px; margin: 0 auto; }
.category-card { background: #f8fafc; border: 2px solid var(--border-color); border-radius: 12px; padding: 20px; text-align: center; font-weight: 800; color: var(--text-dark); text-decoration: none; transition: all 0.3s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.category-card:hover { border-color: var(--accent-red); transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.06); background: #ffffff; }
.category-card-icon { font-size: 36px; }
.category-card-count { font-size: 12px; color: var(--text-muted); font-weight: 600; }

/* Product Cards Grid */
.products-section { max-width: 1240px; margin: 40px auto; padding: 0 24px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; margin-bottom: 40px; }
.product-card { background: #ffffff; border-radius: 12px; border: 1px solid var(--border-color); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; position: relative; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.product-card:hover { border-color: #cbd5e1; box-shadow: 0 12px 24px rgba(0,0,0,0.08); transform: translateY(-4px); }
.product-badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 900; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; background: var(--accent-gold); color: #000; z-index: 2; }
.product-image-wrapper { text-align: center; height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; position: relative; padding: 10px; background: #f8fafc; border-radius: 8px; }
.product-image-wrapper img, .product-image-wrapper svg { max-height: 160px; max-width: 100%; object-fit: contain; }
.product-category-label { font-size: 12px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.product-title { font-size: 16px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; line-height: 1.3; text-decoration: none; display: block; }
.product-title:hover { color: var(--accent-red); }
.product-stars { display: flex; align-items: center; gap: 4px; color: var(--accent-gold); font-size: 14px; margin-bottom: 8px; font-weight: 700; }
.product-reviews-count { font-size: 12px; color: var(--text-muted); margin-left: 4px; }
.product-price { font-size: 22px; font-weight: 900; color: var(--primary); margin-bottom: 12px; }

/* Variation & Quantity Controls */
.variation-toggle-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.variation-btn { background: #f1f5f9; border: 1px solid var(--border-color); padding: 8px; border-radius: 6px; font-size: 12px; font-weight: 800; color: var(--text-dark); cursor: pointer; text-align: center; transition: all 0.2s; }
.variation-btn.active, .variation-btn:hover { background: var(--primary); color: #ffffff; border-color: var(--primary); }
.quantity-quick-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.qty-quick-btn { flex: 1; background: #ffffff; border: 1px solid var(--border-color); padding: 4px; border-radius: 4px; font-size: 11px; font-weight: 700; color: var(--text-dark); cursor: pointer; }
.qty-quick-btn:hover { background: #f1f5f9; border-color: #cbd5e1; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; margin-bottom: 16px; }
.qty-stepper button { width: 36px; height: 36px; background: #f8fafc; border: none; font-size: 16px; font-weight: 800; cursor: pointer; color: var(--text-dark); }
.qty-stepper button:hover { background: #e2e8f0; }
.qty-stepper input { flex: 1; height: 36px; border: none; text-align: center; font-weight: 800; font-size: 14px; color: var(--text-dark); outline: none; }

/* Card Action Buttons */
.card-actions { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; }
.btn-add-cart { background: var(--accent-red); color: #ffffff; font-weight: 800; font-size: 13px; padding: 10px; border: none; border-radius: 6px; cursor: pointer; text-align: center; text-decoration: none; transition: background 0.2s; display: flex; align-items: center; justify-content: center; gap: 6px; }
.btn-add-cart:hover { background: var(--accent-red-hover); }
.btn-buy-now { background: var(--accent-gold); color: #000000; font-weight: 900; font-size: 13px; padding: 10px; border: none; border-radius: 6px; cursor: pointer; text-align: center; text-decoration: none; transition: background 0.2s; }
.btn-buy-now:hover { background: #e5a50d; }

/* Pricing Tiers Section */
.tiers-section { background: #ffffff; padding: 60px 24px; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.tiers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; max-width: 1240px; margin: 0 auto; }
.tier-card { background: #f8fafc; border: 2px solid var(--border-color); border-radius: 12px; padding: 28px 20px; text-align: center; position: relative; transition: all 0.3s; }
.tier-card.popular { border-color: var(--accent-red); background: #ffffff; box-shadow: 0 10px 25px rgba(230,45,46,0.1); }
.tier-badge { background: var(--primary); color: #ffffff; font-size: 11px; font-weight: 900; padding: 4px 12px; border-radius: 12px; display: inline-block; margin-bottom: 12px; text-transform: uppercase; }
.tier-title { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.tier-price { font-size: 36px; font-weight: 900; color: var(--accent-red); margin-bottom: 4px; }
.tier-price span { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.tier-desc { font-size: 14px; color: var(--text-muted); font-weight: 600; margin-bottom: 16px; }

/* Customer Reviews Section */
.reviews-section { padding: 60px 24px; max-width: 1240px; margin: 0 auto; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review-card { background: #ffffff; border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.review-author { font-weight: 800; font-size: 15px; }
.review-badge { background: #e0f2fe; color: #0284c7; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 4px; }
.review-text { font-size: 14px; color: #475569; line-height: 1.6; font-style: italic; }

/* FAQ Section */
.faq-section { background: #ffffff; padding: 60px 24px; border-top: 1px solid var(--border-color); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); padding: 18px 0; }
.faq-question { font-size: 17px; font-weight: 800; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { font-size: 14px; color: var(--text-muted); margin-top: 10px; line-height: 1.6; display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question { color: var(--accent-red); }

/* Rich Footer */
.site-footer { background: #0f172a; color: #94a3b8; padding: 60px 24px 20px; font-size: 14px; border-top: 5px solid var(--accent-red); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; max-width: 1240px; margin: 0 auto 40px; }
.footer-col h4 { color: #ffffff; font-size: 16px; font-weight: 800; margin-bottom: 20px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-col p { line-height: 1.6; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: color 0.2s; font-weight: 600; }
.footer-links a:hover { color: #ffffff; text-decoration: underline; }
.social-icons { display: flex; gap: 12px; margin-top: 16px; }
.social-icon { width: 36px; height: 36px; background: #1e293b; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ffffff; text-decoration: none; font-weight: 800; font-size: 14px; transition: background 0.2s; }
.social-icon:hover { background: var(--accent-red); }
.footer-bottom { text-align: center; border-top: 1px solid #1e293b; padding-top: 24px; color: #64748b; font-size: 13px; font-weight: 600; }

/* Age Gate Modal 21+ */
.age-gate-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.88); backdrop-filter: blur(8px); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.age-gate-modal { background: #ffffff; border-radius: 16px; border: 3px solid var(--accent-red); padding: 40px 32px; max-width: 480px; width: 100%; text-align: center; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.age-gate-badge { width: 76px; height: 76px; background: var(--accent-red); color: #ffffff; font-size: 32px; font-weight: 900; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; box-shadow: 0 8px 20px rgba(230,45,46,0.4); }
.age-gate-modal h2 { font-size: 22px; font-weight: 900; color: var(--text-dark); margin-bottom: 10px; }
.age-gate-modal p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; }
.age-gate-btn-yes { background: var(--accent-green); color: #ffffff; font-weight: 900; font-size: 16px; padding: 14px; border: none; border-radius: 8px; cursor: pointer; flex: 1; transition: background 0.2s; }
.age-gate-btn-yes:hover { background: #008800; }
.age-gate-btn-no { background: #e2e8f0; color: var(--text-dark); font-weight: 800; font-size: 16px; padding: 14px; border: none; border-radius: 8px; cursor: pointer; flex: 1; transition: background 0.2s; }
.age-gate-btn-no:hover { background: #cbd5e1; }

@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; gap: 20px; }
  .header-main { flex-direction: column; gap: 12px; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}


/* How It Works Section */
.how-it-works-section { background: #f8fafc; padding: 60px 24px; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.how-it-works-container { max-width: 1240px; margin: 0 auto; text-align: center; }
.how-it-works-badge { background: #e0f2fe; color: #0284c7; font-size: 12px; font-weight: 900; padding: 6px 16px; border-radius: 20px; display: inline-block; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin: 40px 0; text-align: left; }
.step-card { background: #ffffff; border: 2px solid var(--border-color); border-radius: 16px; padding: 32px 24px; position: relative; transition: all 0.3s; display: flex; flex-direction: column; justify-content: flex-start; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.step-card:hover { border-color: var(--accent-red); transform: translateY(-4px); box-shadow: 0 12px 24px rgba(230,45,46,0.1); }
.step-number { position: absolute; top: 16px; right: 20px; font-size: 28px; font-weight: 900; color: #cbd5e1; }
.step-icon { font-size: 36px; margin-bottom: 16px; background: #f1f5f9; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.step-title { font-size: 18px; font-weight: 900; color: var(--text-dark); margin-bottom: 10px; text-transform: uppercase; letter-spacing: -0.3px; }
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; font-weight: 500; }
.how-it-works-faq-banner { background: var(--primary); color: #ffffff; border-radius: 12px; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 32px; box-shadow: 0 8px 20px rgba(0,74,89,0.2); }
.faq-banner-text { font-size: 16px; font-weight: 700; margin: 0; }
.btn-faq-link { background: var(--accent-gold); color: #000000; font-weight: 900; font-size: 14px; padding: 12px 24px; border-radius: 8px; text-decoration: none; transition: transform 0.2s, background 0.2s; white-space: nowrap; }
.btn-faq-link:hover { background: #e5a50d; transform: scale(1.03); }
