/*
Theme Name: Beniche
Theme URI: https://beniche.ir/
Author: Beniche Team
Author URI: https://beniche.ir/
Description: Beniche is a modern RTL e-commerce WordPress theme built for the Persian market. It ships a magazine-style multi-column homepage, WooCommerce integration, and Dokan (multi-vendor) integration via the companion plugin "beniche-core". The theme itself contains no plugin-territory code — all CPTs, shortcodes, admin pages, AJAX handlers, and WooCommerce my-account endpoints live in the plugin — so it can be swapped or replaced without losing business data.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beniche
Domain Path: /languages
Tags: e-commerce, rtl, woocommerce, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

/* ============================================================
   TABLE OF CONTENTS
   1. Variables & Reset
   2. Typography
   3. Layout & Container
   4. Header & Navigation
   5. Hero Section
   6. Stories (Vendor Avatars)
   7. Category Grid
   8. Product Cards
   9. Flash Deals
   10. Vendor Cards
   11. Services / Trust Badges
   12. Social Section
   13. Footer
   14. WooCommerce Overrides
   15. Page Templates
   16. Admin Panel
   17. Responsive
   ============================================================ */

/* 1. VARIABLES & RESET */
:root {
  --bn-primary: #6d28d9;
  --bn-primary-dark: #4c1d95;
  --bn-secondary: #f97316;
  --bn-accent: #10b981;
  --bn-rose: #e11d48;
  --bn-amber: #f59e0b;
  --bn-sky: #0ea5e9;
  --bn-ink: #0f172a;
  --bn-slate: #475569;
  --bn-muted: #94a3b8;
  --bn-line: #e2e8f0;
  --bn-bg: #f8fafc;
  --bn-card: #ffffff;
  --bn-radius: 16px;
  --bn-radius-lg: 24px;
  --bn-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.12);
  --bn-shadow-lg: 0 20px 50px -20px rgba(109, 40, 217, 0.3);
  --bn-font: Tahoma, 'Segoe UI', Arial, sans-serif;
  --bn-transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--bn-font);
  background: var(--bn-bg);
  color: var(--bn-ink);
  line-height: 1.7;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color var(--bn-transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Accessibility: screen-reader text + visible skip link + focus states.
 * Required by the WordPress Theme Review accessibility guidelines.
 */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f8fafc;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  clip: auto !important;
  clip-path: none;
  color: var(--bn-ink);
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  right: 6px;
  line-height: normal;
  padding: 12px 20px;
  text-decoration: none;
  top: 6px;
  width: auto;
  z-index: 100000;
}

/* Visible keyboard focus indicator (WCAG 2.4.7). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.bn-cat-item:focus-visible,
.bn-product-title:focus-visible {
  outline: 2px solid var(--bn-primary);
  outline-offset: 2px;
}

/* 2. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.1rem; }

/* 3. LAYOUT */
.bn-container { width: min(1280px, calc(100% - 32px)); margin-inline: auto; }
.bn-section { padding: 48px 0; }
.bn-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 2px dashed var(--bn-line);
}
.bn-section-header h2 { display: flex; align-items: center; gap: 8px; }
.bn-section-header a { font-size: 13px; font-weight: 700; color: var(--bn-primary); }
.bn-grid { display: grid; gap: 16px; }
.bn-grid-2 { grid-template-columns: repeat(2, 1fr); }
.bn-grid-3 { grid-template-columns: repeat(3, 1fr); }
.bn-grid-4 { grid-template-columns: repeat(4, 1fr); }
.bn-grid-5 { grid-template-columns: repeat(5, 1fr); }
.bn-grid-6 { grid-template-columns: repeat(6, 1fr); }

/* 4. HEADER & NAVIGATION */
.bn-topbar {
  background: #fff; border-bottom: 1px solid var(--bn-line);
  padding: 8px 0; font-size: 12px; color: var(--bn-slate);
}
.bn-topbar .bn-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.bn-topbar-links { display: flex; gap: 16px; flex-wrap: wrap; }
.bn-topbar-links a:hover { color: var(--bn-primary); }

.bn-header-main {
  background: #fff; padding: 14px 0;
  box-shadow: 0 2px 12px -4px rgba(0,0,0,0.06);
  position: sticky; top: 0; z-index: 100;
}
.bn-header-main .bn-container {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
}
.bn-logo { display: flex; flex-direction: column; line-height: 1; }
.bn-logo-text {
  font-size: 32px; font-weight: 900;
  background: linear-gradient(90deg, var(--bn-primary), #d946ef, var(--bn-secondary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bn-logo-sub { font-size: 10px; color: var(--bn-muted); margin-top: 2px; }

.bn-search {
  display: flex; background: #f1f5f9; border-radius: 12px; overflow: hidden;
  border: 1px solid transparent; transition: border-color 0.2s;
}
.bn-search:focus-within { border-color: var(--bn-primary); background: #fff; }
.bn-search input {
  flex: 1; border: 0; background: transparent; padding: 12px 16px;
  font-size: 14px; outline: none;
}
.bn-search button {
  background: var(--bn-primary); color: #fff; border: 0;
  padding: 0 20px; font-weight: 700; cursor: pointer;
}

.bn-header-actions { display: flex; align-items: center; gap: 10px; }
.bn-icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--bn-line); background: #fff;
  display: grid; place-items: center; cursor: pointer; font-size: 18px;
  transition: transform 0.2s, border-color 0.2s;
}
.bn-icon-btn:hover { transform: translateY(-2px); border-color: var(--bn-primary); }
.bn-icon-btn .badge {
  position: absolute; top: -4px; left: -4px;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
  background: var(--bn-secondary); color: #fff;
  font-size: 10px; font-weight: 900; display: grid; place-items: center;
}

.bn-nav { background: linear-gradient(90deg, var(--bn-primary-dark), var(--bn-primary)); color: #fff; }
.bn-nav .bn-container { display: flex; justify-content: space-between; align-items: center; }
.bn-menu { display: flex; gap: 24px; padding: 12px 0; }
.bn-menu a { font-size: 14px; font-weight: 600; padding: 4px 0; position: relative; }
.bn-menu a::after {
  content: ''; position: absolute; bottom: 0; right: 0; width: 0; height: 2px;
  background: var(--bn-amber); transition: width var(--bn-transition);
}
.bn-menu a:hover::after { width: 100%; }
.bn-seller-cta {
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  padding: 8px 16px; border-radius: 10px; font-size: 13px; font-weight: 700;
  transition: background 0.2s;
}
.bn-seller-cta:hover { background: rgba(255,255,255,0.25); }

/* 5, 6, 7 (Hero, Stories, Categories) are now moved completely to assets/css/home.css to avoid style duplication. */

/* 8. PRODUCT CARDS */
.bn-product {
  background: var(--bn-card); border: 1px solid var(--bn-line);
  border-radius: var(--bn-radius); padding: 14px;
  display: flex; flex-direction: column;
  transition: transform var(--bn-transition), box-shadow var(--bn-transition);
  position: relative;
}
.bn-product:hover { transform: translateY(-6px); box-shadow: var(--bn-shadow-lg); }
.bn-product-image {
  position: relative; height: 140px; border-radius: 12px;
  background: #f8fafc; display: grid; place-items: center;
  overflow: hidden; margin-bottom: 12px;
}
.bn-product-image img { max-height: 100%; object-fit: contain; padding: 8px; }
.bn-product-image .bn-emoji { font-size: 56px; }
.bn-product-badge {
  position: absolute; top: 8px; right: 8px;
  background: var(--bn-rose); color: #fff;
  font-size: 11px; font-weight: 900; padding: 3px 8px; border-radius: 6px;
}
.bn-product-title {
  font-size: 13px; font-weight: 600; line-height: 1.5;
  min-height: 40px; color: var(--bn-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bn-product-meta { display: flex; justify-content: space-between; align-items: center; margin: 6px 0; font-size: 11px; color: var(--bn-muted); }
.bn-product-rating { color: var(--bn-amber); font-weight: 700; }
.bn-product-price-old { text-decoration: line-through; color: var(--bn-muted); font-size: 11px; }
.bn-product-price {
  display: flex; align-items: baseline; gap: 4px;
  color: var(--bn-accent); font-weight: 900; font-size: 15px; margin-bottom: 10px;
}
.bn-product-price small { font-size: 10px; color: var(--bn-muted); font-weight: 500; }
.bn-product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
.bn-product-actions a {
  text-align: center; padding: 8px; border-radius: 8px; font-size: 11px; font-weight: 700;
  transition: all 0.2s;
}
.bn-product-actions .primary { background: var(--bn-primary); color: #fff; }
.bn-product-actions .primary:hover { background: var(--bn-primary-dark); }
.bn-product-actions .secondary { border: 1px solid var(--bn-primary); color: var(--bn-primary); }
.bn-product-actions .secondary:hover { background: var(--bn-primary); color: #fff; }

/* 9. FLASH DEALS */
.bn-flash {
  display: grid; grid-template-columns: 260px 1fr; gap: 0;
  background: var(--bn-card); border-radius: var(--bn-radius-lg); overflow: hidden;
  box-shadow: var(--bn-shadow);
}
.bn-flash-aside {
  background: linear-gradient(160deg, #ef4444, #f97316);
  color: #fff; padding: 28px 20px; display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.bn-flash-aside::after {
  content: '⚡'; position: absolute; bottom: -20px; left: -10px;
  font-size: 120px; opacity: 0.15; transform: rotate(-15deg);
}
.bn-flash-aside h3 { font-size: 22px; }
.bn-timer { display: flex; gap: 6px; direction: ltr; }
.bn-timer span {
  background: #fff; color: #ef4444; font-weight: 900; font-size: 16px;
  padding: 8px 10px; border-radius: 8px; min-width: 40px; text-align: center;
}
.bn-flash-products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--bn-line);
}
.bn-flash-products .bn-product { border: 0; border-radius: 0; background: var(--bn-card); }

/* 10. VENDOR CARDS */
.bn-vendor {
  background: var(--bn-card); border: 1px solid var(--bn-line);
  border-radius: var(--bn-radius); padding: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; transition: transform var(--bn-transition), box-shadow var(--bn-transition);
}
.bn-vendor:hover { transform: translateY(-4px); box-shadow: var(--bn-shadow); }
.bn-vendor-avatar {
  width: 60px; height: 60px; border-radius: 18px;
  background: linear-gradient(135deg, var(--bn-primary), #d946ef);
  display: grid; place-items: center; font-size: 28px; color: #fff;
  box-shadow: 0 8px 20px -8px rgba(109,40,217,0.5); overflow: hidden;
}
.bn-vendor-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bn-vendor h4 { font-size: 14px; font-weight: 700; }
.bn-vendor-stats { font-size: 11px; color: var(--bn-muted); }
.bn-vendor-stats b { color: var(--bn-amber); font-weight: 800; }

/* 11. SERVICES */
.bn-services { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.bn-service {
  position: relative; border-radius: var(--bn-radius-lg); padding: 28px;
  color: #fff; overflow: hidden; min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform var(--bn-transition);
}
.bn-service:hover { transform: translateY(-4px); }
.bn-service::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 20px 20px; opacity: 0.4; pointer-events: none;
}
.bn-service-1 { background: linear-gradient(135deg, #f97316, #ea580c); grid-row: span 2; }
.bn-service-2 { background: linear-gradient(135deg, #10b981, #059669); }
.bn-service-3 { background: linear-gradient(135deg, #6366f1, #4338ca); }
.bn-service-4 { background: linear-gradient(135deg, #ec4899, #be185d); grid-column: span 2; }
.bn-service h3 { font-size: 20px; position: relative; z-index: 1; }
.bn-service p { font-size: 13px; opacity: 0.9; margin-top: 6px; position: relative; z-index: 1; }
.bn-service .bn-icon { position: absolute; bottom: -10px; left: 20px; font-size: 64px; opacity: 0.3; }
.bn-service a {
  position: relative; z-index: 1; align-self: flex-start;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(10px);
  padding: 8px 16px; border-radius: 8px; font-size: 12px; font-weight: 700; margin-top: 12px;
}

/* 12. SOCIAL */
.bn-social-block {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  color: #fff; border-radius: var(--bn-radius-lg); padding: 40px;
  position: relative; overflow: hidden;
}
.bn-social-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(249,115,22,0.25), transparent 40%),
              radial-gradient(circle at 10% 90%, rgba(236,72,153,0.25), transparent 40%);
  pointer-events: none;
}
.bn-social-block h2 { position: relative; font-size: clamp(1.4rem, 2.5vw, 2rem); }
.bn-social-block h2 em { font-style: normal; color: var(--bn-amber); }
.bn-social-block .lead { position: relative; color: rgba(255,255,255,0.7); margin: 12px 0 28px; max-width: 500px; }
.bn-social-grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.bn-social-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; padding: 18px; text-align: center;
  backdrop-filter: blur(10px); transition: transform var(--bn-transition), background 0.3s;
}
.bn-social-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.12); }
.bn-social-card .ic {
  width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 14px;
  display: grid; place-items: center; font-size: 24px;
}
.bn-social-card.ig .ic { background: linear-gradient(135deg, #ec4899, #f97316); }
.bn-social-card.tg .ic { background: linear-gradient(135deg, #0ea5e9, #3b82f6); }
.bn-social-card.yt .ic { background: #ef4444; }
.bn-social-card.ap .ic { background: linear-gradient(135deg, #e11d48, #ef4444); }
.bn-social-card.bl .ic { background: linear-gradient(135deg, #14b8a6, #06b6d4); }
.bn-social-card b { display: block; font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.bn-social-card span { font-size: 11px; color: rgba(255,255,255,0.6); }
.bn-social-card .follow {
  display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700;
  color: #fff; padding: 6px 14px; background: rgba(255,255,255,0.15); border-radius: 8px;
}

/* 13. FOOTER */
.bn-newsletter {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px;
}
.bn-newsletter input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 10px 14px;
  font-size: 13px;
  outline: none;
}
.bn-newsletter input::placeholder { color: #94a3b8; }
.bn-newsletter button {
  background: var(--bn-primary);
  color: #fff;
  border: 0;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.bn-newsletter button:hover { background: var(--bn-primary-dark); }
.bn-newsletter button:disabled { opacity: 0.6; cursor: not-allowed; }
.bn-newsletter-message { margin-top: 8px; font-size: 12px; min-height: 16px; }
.bn-newsletter-message.bn-success { color: #34d399; }
.bn-newsletter-message.bn-error { color: #fca5a5; }
.bn-coupon-message .bn-success { color: var(--bn-accent); font-weight: 700; }
.bn-coupon-message .bn-error { color: var(--bn-rose); font-weight: 700; }

.bn-footer { background: #0b1020; color: #cbd5e1; padding: 56px 0 0; margin-top: 72px; }
.bn-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.bn-footer h4 { color: #fff; font-size: 13px; font-weight: 800; margin-bottom: 16px; letter-spacing: 0.05em; }
.bn-footer ul li { margin-bottom: 8px; }
.bn-footer a { font-size: 13px; color: #94a3b8; transition: color 0.2s, padding 0.2s; }
.bn-footer a:hover { color: var(--bn-amber); padding-inline-start: 4px; }
.bn-footer-brand p { font-size: 13px; color: #94a3b8; margin: 14px 0; line-height: 1.8; }
.bn-footer-socials { display: flex; gap: 8px; margin-top: 16px; }
.bn-footer-socials a {
  width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.06);
  display: grid; place-items: center; font-size: 16px; transition: background 0.2s, transform 0.2s;
}
.bn-footer-socials a:hover { background: var(--bn-primary); transform: translateY(-3px); }
.bn-copyright {
  margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; color: #64748b; text-align: center;
}

/* 14. WOOCOMMERCE OVERRIDES */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; }
.woocommerce ul.products li.product {
  background: var(--bn-card); border: 1px solid var(--bn-line);
  border-radius: var(--bn-radius); padding: 14px;
  transition: transform var(--bn-transition), box-shadow var(--bn-transition);
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--bn-shadow-lg); }
.woocommerce span.onsale {
  background: var(--bn-rose) !important; color: #fff !important;
  border-radius: 6px !important; font-weight: 900 !important; padding: 4px 10px !important;
}
.woocommerce a.button, .woocommerce button.button {
  background: var(--bn-primary) !important; color: #fff !important;
  border-radius: 10px !important; font-weight: 700 !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--bn-primary-dark) !important; }
.woocommerce .price { color: var(--bn-accent) !important; font-weight: 900 !important; }
.woocommerce .price del { color: var(--bn-muted) !important; font-weight: 500 !important; }

/* WooCommerce cart enhancements — hook-based, no cart.php override */
.bn-cart-helper,
.bn-cart-installment,
.bn-cart-services {
  margin: 18px 0;
  border-radius: var(--bn-radius);
  border: 1px solid var(--bn-line);
  background: #fff;
  box-shadow: var(--bn-shadow);
}

.bn-cart-helper {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
}
.bn-cart-helper__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
  flex-shrink: 0;
}
.bn-cart-helper__content strong {
  display: block;
  color: var(--bn-ink);
  font-weight: 900;
  margin-bottom: 4px;
}
.bn-cart-helper__content p {
  color: var(--bn-slate);
  font-size: 13px;
  margin: 0;
}

.bn-cart-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}
.bn-cart-services > div {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  border-left: 1px solid var(--bn-line);
}
.bn-cart-services > div:last-child { border-left: 0; }
.bn-cart-services span { font-size: 28px; }
.bn-cart-services strong { font-size: 14px; color: var(--bn-ink); }
.bn-cart-services small { color: var(--bn-muted); font-size: 11px; }

.bn-cart-installment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, #ede9fe, #fff);
}
.bn-cart-installment strong {
  display: block;
  font-weight: 900;
  color: var(--bn-primary-dark);
}
.bn-cart-installment p {
  margin: 4px 0 0;
  color: var(--bn-slate);
  font-size: 13px;
}
.bn-cart-installment .bn-installment-button {
  background: var(--bn-primary) !important;
  color: #fff !important;
  border-radius: 10px !important;
  white-space: nowrap;
}

.bn-cart-item-vendor {
  margin-top: 6px;
  font-size: 12px;
  color: var(--bn-muted);
  font-weight: 500;
}

@media (max-width: 640px) {
  .bn-cart-services { grid-template-columns: 1fr; }
  .bn-cart-services > div { border-left: 0; border-bottom: 1px solid var(--bn-line); }
  .bn-cart-services > div:last-child { border-bottom: 0; }
  .bn-cart-installment { flex-direction: column; align-items: stretch; }
}

/* 15. PAGE TEMPLATES */
.bn-page-header {
  background: linear-gradient(135deg, var(--bn-primary), #d946ef);
  color: #fff; padding: 40px 0; margin-bottom: 32px;
}
.bn-page-header h1 { color: #fff; }
.bn-page-header p { opacity: 0.85; margin-top: 8px; }
.bn-breadcrumb { font-size: 12px; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.bn-breadcrumb a:hover { color: #fff; }
.bn-content-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; padding: 40px 0; }
.bn-article { background: var(--bn-card); border-radius: var(--bn-radius); padding: 28px; box-shadow: var(--bn-shadow); }

/* 16. ADMIN PANEL */
.bn-admin-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 24px 0; }
.bn-admin-sidebar {
  background: var(--bn-card); border-radius: var(--bn-radius); padding: 16px;
  box-shadow: var(--bn-shadow); height: fit-content; position: sticky; top: 80px;
}
.bn-admin-sidebar .bn-logo-mini {
  display: flex; align-items: center; gap: 10px; padding: 12px;
  background: linear-gradient(135deg, var(--bn-primary-dark), var(--bn-primary));
  border-radius: 12px; color: #fff; margin-bottom: 16px;
}
.bn-admin-nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--bn-slate);
  transition: all 0.2s;
}
.bn-admin-nav a:hover, .bn-admin-nav a.active {
  background: #ede9fe; color: var(--bn-primary);
}
.bn-admin-content { min-height: 600px; }
.bn-admin-card {
  background: var(--bn-card); border-radius: var(--bn-radius); padding: 24px;
  box-shadow: var(--bn-shadow); margin-bottom: 20px;
}
.bn-admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.bn-admin-stat {
  background: linear-gradient(135deg, var(--bn-primary), #d946ef);
  border-radius: var(--bn-radius); padding: 18px; color: #fff;
}
.bn-admin-stat .value { font-size: 24px; font-weight: 900; }
.bn-admin-stat .label { font-size: 12px; opacity: 0.85; margin-top: 4px; }

/* 17. RESPONSIVE */
@media (max-width: 1024px) {
  .bn-hero-inner { grid-template-columns: 1fr; }
  .bn-hero-side { display: none; }
  .bn-hero-content { max-width: 100%; }
  .bn-hero-art { display: none; }
  .bn-flash { grid-template-columns: 1fr; }
  .bn-flash-products { grid-template-columns: repeat(2, 1fr); }
  .bn-services { grid-template-columns: 1fr 1fr; }
  .bn-service-1, .bn-service-4 { grid-column: auto; grid-row: auto; }
  .bn-social-grid { grid-template-columns: repeat(3, 1fr); }
  .bn-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .bn-content-layout { grid-template-columns: 1fr; }
  .bn-admin-wrap { grid-template-columns: 1fr; }
  .bn-admin-sidebar { position: static; }
}
@media (max-width: 768px) {
  .bn-grid-4, .bn-grid-5, .bn-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .bn-social-grid, .bn-footer-grid { grid-template-columns: 1fr 1fr; }
  .bn-menu { display: none; }
  .bn-nav .bn-container { flex-direction: column; }
  .bn-topbar { display: none; }
  .bn-admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .bn-grid-2, .bn-grid-3, .bn-grid-4, .bn-grid-5, .bn-grid-6 { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .bn-social-grid, .bn-footer-grid { grid-template-columns: 1fr; }
  .bn-admin-stats { grid-template-columns: 1fr; }
}
