@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Roboto+Condensed:wght@400;700&display=swap');

:root {
  --white: #FFFFFF;
  --orange: #EA580C;
  --orange-dark: #C2410C;
  --orange-light: #FED7AA;
  --blue: #3B82F6;
  --blue-dark: #1D4ED8;
  --slate: #334155;
  --slate-light: #64748B;
  --concrete: #E5E7EB;
  --light: #F8FAFC;
  --dark: #1E293B;
  --green: #16A34A;
  --red: #DC2626;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 2px 12px rgba(51,65,85,0.10);
  --shadow-md: 0 4px 24px rgba(51,65,85,0.14);
  --transition: all 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--light);
  color: var(--slate);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ===================== HEADER ===================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--concrete);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(51,65,85,0.07);
}
.header-top {
  background: var(--slate);
  color: #cbd5e1;
  font-size: 0.8rem;
  padding: 6px 0;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.header-top a { color: #94a3b8; transition: var(--transition); }
.header-top a:hover { color: var(--orange); }
.header-top-left, .header-top-right { display: flex; gap: 18px; align-items: center; }
.header-main { padding: 14px 0; }
.header-main .container { display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 42px; height: 42px; background: var(--orange); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.logo-mark svg { width: 24px; height: 24px; fill: white; }
.logo-text { line-height: 1.1; }
.logo-text strong { display: block; font-size: 1.35rem; font-weight: 800; color: var(--slate); letter-spacing: -0.5px; }
.logo-text span { font-size: 0.7rem; color: var(--slate-light); text-transform: uppercase; letter-spacing: 1px; }
.search-bar { flex: 1; max-width: 520px; position: relative; }
.search-bar input {
  width: 100%;
  padding: 11px 50px 11px 18px;
  border: 2px solid var(--concrete);
  border-radius: 10px;
  font-size: 0.92rem;
  background: var(--light);
  color: var(--slate);
  transition: var(--transition);
}
.search-bar input:focus { outline: none; border-color: var(--orange); background: white; }
.search-bar button {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  background: var(--orange); border: none; border-radius: 7px;
  width: 38px; height: 38px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.search-bar button:hover { background: var(--orange-dark); }
.search-bar button svg { width: 18px; height: 18px; stroke: white; }
.header-actions { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.header-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 12px; border-radius: 8px; cursor: pointer; background: none; border: none;
  color: var(--slate); font-size: 0.7rem; font-weight: 500; transition: var(--transition);
  position: relative;
}
.header-btn:hover { background: var(--light); color: var(--orange); }
.header-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.header-btn .badge {
  position: absolute; top: 3px; right: 6px;
  background: var(--orange); color: white; font-size: 0.6rem; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.main-nav { background: var(--white); border-top: 1px solid var(--concrete); }
.main-nav .container { display: flex; align-items: center; gap: 0; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 13px 16px; font-size: 0.875rem; font-weight: 500;
  color: var(--slate); transition: var(--transition); white-space: nowrap; cursor: pointer;
  border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link.active { color: var(--orange); border-bottom-color: var(--orange); }
.nav-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; flex-shrink: 0; }
.dropdown {
  position: absolute; top: 100%; left: 0; background: white; border: 1px solid var(--concrete);
  border-radius: 10px; box-shadow: var(--shadow-md); min-width: 220px; z-index: 999;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: var(--transition);
  padding: 6px;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 9px 14px; font-size: 0.87rem; border-radius: 6px;
  color: var(--slate); transition: var(--transition);
}
.dropdown a:hover { background: var(--light); color: var(--orange); }

/* ===================== BREADCRUMB ===================== */
.breadcrumb { background: var(--white); border-bottom: 1px solid var(--concrete); padding: 10px 0; }
.breadcrumb ol { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 0.8rem; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--slate-light); }
.breadcrumb li a { color: var(--slate-light); transition: var(--transition); }
.breadcrumb li a:hover { color: var(--orange); }
.breadcrumb li.active { color: var(--slate); font-weight: 500; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: #CBD5E1; }

/* ===================== CONTAINER ===================== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

/* ===================== HERO ===================== */
.hero {
  background: linear-gradient(135deg, var(--slate) 0%, var(--dark) 50%, #0f172a 100%);
  color: white;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.18;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-content {}
.hero-eyebrow { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--orange-light); margin-bottom: 14px; }
.hero-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero-title span { color: var(--orange); }
.hero-desc { font-size: 1.05rem; color: #94a3b8; line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: white; }
.hero-stat span { font-size: 0.75rem; color: #94a3b8; }
.hero-image { position: relative; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(0,0,0,0.4); width: 100%; object-fit: cover; height: 420px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem;
  cursor: pointer; border: 2px solid transparent; transition: var(--transition); text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: white; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(234,88,12,0.35); }
.btn-outline { background: transparent; color: white; border-color: rgba(255,255,255,0.35); }
.btn-outline:hover { background: white; color: var(--slate); border-color: white; }
.btn-outline-dark { background: transparent; color: var(--slate); border-color: var(--concrete); }
.btn-outline-dark:hover { border-color: var(--orange); color: var(--orange); }
.btn-blue { background: var(--blue); color: white; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

/* ===================== SECTION HEADER ===================== */
.section-header { margin-bottom: 40px; }
.section-header.centered { text-align: center; }
.section-eyebrow { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--orange); margin-bottom: 8px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--dark); letter-spacing: -0.5px; line-height: 1.2; }
.section-desc { margin-top: 12px; color: var(--slate-light); font-size: 1rem; max-width: 560px; }
.section-header.centered .section-desc { margin: 12px auto 0; }

/* ===================== PRODUCT CARDS ===================== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); gap: 22px; }
.product-card {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--concrete);
  overflow: hidden; transition: var(--transition); position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d1d5db; }
.product-card-img { position: relative; overflow: hidden; background: var(--light); }
.product-card-img img { width: 100%; height: 210px; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-actions {
  position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transition: var(--transition);
}
.product-card:hover .product-card-actions { opacity: 1; }
.product-card-action-btn {
  width: 34px; height: 34px; background: white; border: 1px solid var(--concrete);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
}
.product-card-action-btn:hover { background: var(--orange); border-color: var(--orange); }
.product-card-action-btn:hover svg { stroke: white; }
.product-card-action-btn svg { width: 16px; height: 16px; stroke: var(--slate); fill: none; }
.product-card-body { padding: 16px; }
.product-card-brand { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--orange); font-weight: 600; margin-bottom: 4px; }
.product-card-title { font-size: 0.92rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.35; }
.product-card-specs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.spec-tag { background: var(--light); color: var(--slate-light); font-size: 0.7rem; padding: 3px 8px; border-radius: 20px; border: 1px solid var(--concrete); }
.product-card-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.stars { color: #f59e0b; font-size: 0.8rem; letter-spacing: 1px; }
.rating-count { font-size: 0.75rem; color: var(--slate-light); }
.product-card-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-current { font-size: 1.25rem; font-weight: 800; color: var(--dark); }
.price-old { font-size: 0.85rem; color: var(--slate-light); text-decoration: line-through; }
.price-discount { background: #fef3c7; color: #d97706; font-size: 0.72rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.product-card-footer { padding: 12px 16px; border-top: 1px solid var(--concrete); display: flex; gap: 8px; }
.product-card-footer .btn { flex: 1; justify-content: center; }

/* ===================== CATEGORY GRID ===================== */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.category-card {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--concrete);
  padding: 22px 16px; text-align: center; transition: var(--transition); cursor: pointer; text-decoration: none; display: block;
}
.category-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: var(--shadow); }
.category-card-icon { width: 52px; height: 52px; background: var(--light); border-radius: 12px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.category-card:hover .category-card-icon { background: var(--orange-light); }
.category-card-icon svg { width: 26px; height: 26px; stroke: var(--orange); fill: none; }
.category-card-name { font-size: 0.85rem; font-weight: 600; color: var(--slate); line-height: 1.3; }
.category-card-count { font-size: 0.72rem; color: var(--slate-light); margin-top: 3px; }

/* ===================== FEATURES STRIP ===================== */
.features-strip { background: var(--white); border-top: 1px solid var(--concrete); border-bottom: 1px solid var(--concrete); padding: 22px 0; }
.features-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-item { display: flex; align-items: center; gap: 14px; }
.feature-icon { width: 44px; height: 44px; background: var(--orange-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon svg { width: 22px; height: 22px; stroke: var(--orange); fill: none; }
.feature-text strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--dark); }
.feature-text span { font-size: 0.75rem; color: var(--slate-light); }

/* ===================== BLOG CARDS ===================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: white; border-radius: var(--radius-lg); border: 1px solid var(--concrete); overflow: hidden; transition: var(--transition); }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card-img { overflow: hidden; }
.blog-card-img img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 20px; }
.blog-card-cat { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--orange); margin-bottom: 8px; }
.blog-card-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.blog-card-excerpt { font-size: 0.85rem; color: var(--slate-light); line-height: 1.6; margin-bottom: 14px; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; font-size: 0.75rem; color: var(--slate-light); }
.blog-card-meta span { display: flex; align-items: center; gap: 4px; }
.blog-card-meta svg { width: 13px; height: 13px; stroke: currentColor; fill: none; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--dark); color: #94a3b8; }
.footer-main { padding: 60px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand .logo-text strong { color: white; }
.footer-brand .logo-text span { color: #64748b; }
.footer-desc { font-size: 0.85rem; line-height: 1.7; margin-top: 14px; margin-bottom: 20px; color: #64748b; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.07); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-btn:hover { background: var(--orange); }
.social-btn svg { width: 17px; height: 17px; fill: #94a3b8; transition: var(--transition); }
.social-btn:hover svg { fill: white; }
.footer-col h4 { color: white; font-size: 0.88rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.84rem; color: #64748b; transition: var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.84rem; color: #64748b; margin-bottom: 12px; }
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--orange); fill: none; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: #94a3b8; transition: var(--transition); }
.footer-contact-item a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 0.8rem; }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom-links a { color: #64748b; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--orange); }

/* ===================== FILTER SIDEBAR ===================== */
.catalog-layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.filter-sidebar { background: white; border-radius: var(--radius-lg); border: 1px solid var(--concrete); padding: 22px; position: sticky; top: 80px; }
.filter-group { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--concrete); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group-title { font-size: 0.85rem; font-weight: 700; color: var(--dark); margin-bottom: 13px; display: flex; align-items: center; gap: 6px; }
.filter-group-title svg { width: 15px; height: 15px; stroke: var(--orange); fill: none; }
.filter-option { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; cursor: pointer; }
.filter-option input[type="checkbox"] { accent-color: var(--orange); width: 15px; height: 15px; cursor: pointer; }
.filter-option label { font-size: 0.84rem; color: var(--slate); cursor: pointer; flex: 1; }
.filter-option .filter-count { font-size: 0.72rem; color: var(--slate-light); background: var(--light); padding: 1px 7px; border-radius: 20px; }
.price-range { display: flex; gap: 10px; }
.price-range input { flex: 1; padding: 8px 10px; border: 1px solid var(--concrete); border-radius: 6px; font-size: 0.83rem; color: var(--slate); }
.price-range input:focus { outline: none; border-color: var(--orange); }
.catalog-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 14px; flex-wrap: wrap; }
.catalog-header .results-count { font-size: 0.9rem; color: var(--slate-light); }
.catalog-header .results-count strong { color: var(--dark); }
.sort-select { padding: 9px 32px 9px 12px; border: 1px solid var(--concrete); border-radius: 8px; font-size: 0.87rem; color: var(--slate); background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center; -webkit-appearance: none; cursor: pointer; }
.sort-select:focus { outline: none; border-color: var(--orange); }

/* ===================== PRODUCT DETAIL ===================== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-gallery .main-img { border-radius: var(--radius-lg); overflow: hidden; background: var(--light); margin-bottom: 12px; }
.product-gallery .main-img img { width: 100%; height: 420px; object-fit: cover; }
.product-thumbs { display: flex; gap: 10px; }
.product-thumb { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; border: 2px solid var(--concrete); cursor: pointer; transition: var(--transition); }
.product-thumb.active, .product-thumb:hover { border-color: var(--orange); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info .product-brand { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--orange); font-weight: 600; margin-bottom: 8px; }
.product-info .product-title { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 800; color: var(--dark); margin-bottom: 12px; line-height: 1.2; }
.product-info .product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.product-info .product-price { font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.product-info .product-price-old { font-size: 1rem; color: var(--slate-light); text-decoration: line-through; margin-bottom: 20px; }
.product-specs-mini { background: var(--light); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.spec-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--concrete); font-size: 0.87rem; }
.spec-row:last-child { border-bottom: none; }
.spec-row .spec-name { color: var(--slate-light); min-width: 140px; font-weight: 500; }
.spec-row .spec-val { color: var(--dark); font-weight: 600; }
.product-actions-main { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.product-qty { display: flex; align-items: center; border: 2px solid var(--concrete); border-radius: 8px; overflow: hidden; }
.product-qty button { width: 38px; height: 46px; background: var(--light); border: none; cursor: pointer; font-size: 1.2rem; color: var(--slate); transition: var(--transition); }
.product-qty button:hover { background: var(--orange); color: white; }
.product-qty input { width: 54px; height: 46px; border: none; text-align: center; font-size: 1rem; font-weight: 700; color: var(--dark); background: white; }

/* ===================== TABS ===================== */
.tabs { margin-top: 40px; }
.tabs-nav { display: flex; border-bottom: 2px solid var(--concrete); gap: 0; overflow-x: auto; }
.tab-btn {
  padding: 12px 22px; font-size: 0.9rem; font-weight: 600; color: var(--slate-light);
  border: none; background: none; cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: var(--transition); white-space: nowrap;
}
.tab-btn.active, .tab-btn:hover { color: var(--orange); border-bottom-color: var(--orange); }
.tab-panel { display: none; padding-top: 28px; }
.tab-panel.active { display: block; }

/* ===================== COMPARE TABLE ===================== */
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.compare-table th { background: var(--light); padding: 12px 16px; text-align: left; font-weight: 700; color: var(--dark); border-bottom: 2px solid var(--concrete); }
.compare-table td { padding: 11px 16px; border-bottom: 1px solid var(--concrete); color: var(--slate); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .highlight td { background: #fff7ed; }
.compare-table .feature-label { font-weight: 600; color: var(--dark); }
.check-yes { color: var(--green); font-size: 1.1rem; }
.check-no { color: var(--red); font-size: 1.1rem; }

/* ===================== FORM ===================== */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.87rem; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--concrete); border-radius: 8px;
  font-size: 0.9rem; color: var(--slate); background: white; transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(234,88,12,0.10); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.78rem; color: var(--slate-light); margin-top: 5px; }
.form-success {
  display: none;
  background: #d1fae5; border: 1px solid #6ee7b7; border-radius: 10px; padding: 18px 22px;
  color: #065f46; font-weight: 600; font-size: 0.95rem; text-align: center; margin-top: 16px;
}
.form-success.visible { display: flex; align-items: center; gap: 10px; justify-content: center; }
.form-success svg { width: 22px; height: 22px; stroke: #059669; fill: none; flex-shrink: 0; }

/* ===================== ALERT / BADGE ===================== */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-orange { background: #fff7ed; color: var(--orange); }
.badge-blue { background: #eff6ff; color: var(--blue); }
.badge-green { background: #d1fae5; color: var(--green); }
.badge-slate { background: var(--light); color: var(--slate-light); }
.alert { border-radius: var(--radius); padding: 14px 18px; font-size: 0.9rem; display: flex; gap: 10px; align-items: flex-start; }
.alert svg { width: 18px; height: 18px; fill: none; stroke: currentColor; flex-shrink: 0; margin-top: 1px; }
.alert-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.alert-warn { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }

/* ===================== POLICY PAGES ===================== */
.policy-wrap { max-width: 820px; margin: 0 auto; }
.policy-wrap h1 { font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.policy-wrap .last-update { font-size: 0.82rem; color: var(--slate-light); margin-bottom: 32px; }
.policy-wrap h2 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin: 28px 0 10px; }
.policy-wrap h3 { font-size: 1rem; font-weight: 700; color: var(--slate); margin: 18px 0 8px; }
.policy-wrap p { font-size: 0.92rem; color: var(--slate); line-height: 1.75; margin-bottom: 13px; }
.policy-wrap ul, .policy-wrap ol { margin-left: 22px; margin-bottom: 13px; }
.policy-wrap li { font-size: 0.92rem; color: var(--slate); line-height: 1.75; margin-bottom: 5px; }
.policy-wrap table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.87rem; }
.policy-wrap table th { background: var(--light); padding: 10px 14px; text-align: left; font-weight: 700; color: var(--dark); border: 1px solid var(--concrete); }
.policy-wrap table td { padding: 10px 14px; border: 1px solid var(--concrete); color: var(--slate); }

/* ===================== INFO BOX ===================== */
.info-box { background: white; border-radius: var(--radius-lg); border: 1px solid var(--concrete); padding: 28px; }
.info-box h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.info-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--concrete); }
.info-row:last-child { border-bottom: none; }
.info-row .info-icon { width: 36px; height: 36px; background: var(--light); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-row .info-icon svg { width: 18px; height: 18px; stroke: var(--orange); fill: none; }
.info-row .info-label { font-size: 0.78rem; color: var(--slate-light); }
.info-row .info-val { font-size: 0.9rem; font-weight: 600; color: var(--dark); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { display: none; }
}
@media (max-width: 768px) {
  .header-main .container { flex-wrap: wrap; }
  .search-bar { order: 3; max-width: 100%; flex: 1 1 100%; }
  .header-actions { margin-left: 0; }
  .features-strip .container { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav { overflow-x: auto; }
  .main-nav .container { width: max-content; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .features-strip .container { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}

/* ===================== UTILITY ===================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.hidden-desktop { display: none; }
.color-orange { color: var(--orange); }
.color-green { color: var(--green); }
.fw-700 { font-weight: 700; }
.bg-white { background: white; }

/* Mobile menu */
.mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--slate); flex-direction: column; gap: 5px;
}
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: var(--transition); }
@media (max-width: 1024px) {
  .mobile-menu-btn { display: flex; }
  .main-nav .container { display: none; }
  .main-nav.open .container { display: flex; flex-direction: column; width: 100%; padding: 10px 20px; }
  .main-nav.open .container .nav-item { width: 100%; }
  .main-nav.open .container .nav-link { padding: 11px 4px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 12px; display: none; }
  .nav-item.open .dropdown { display: block; }
}

/* Cart drawer overlay */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; display: none; }
.overlay.open { display: block; }
.cart-drawer {
  position: fixed; right: 0; top: 0; width: 380px; max-width: 95vw; height: 100vh;
  background: white; z-index: 2001; transform: translateX(100%); transition: transform 0.3s ease;
  display: flex; flex-direction: column; box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header { padding: 20px; border-bottom: 1px solid var(--concrete); display: flex; justify-content: space-between; align-items: center; }
.cart-drawer-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--concrete); }
.cart-item-img { width: 68px; height: 68px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.87rem; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.cart-item-price { font-size: 0.9rem; font-weight: 700; color: var(--orange); }
.cart-drawer-footer { padding: 20px; border-top: 1px solid var(--concrete); }
.cart-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 14px; }

/* Newsletter */
.newsletter-section { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); padding: 56px 0; }
.newsletter-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter-text h2 { font-size: 1.8rem; font-weight: 800; color: white; margin-bottom: 10px; }
.newsletter-text p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; padding: 13px 18px; border-radius: 10px; border: none; font-size: 0.95rem; background: rgba(255,255,255,0.95); color: var(--slate); }
.newsletter-form input:focus { outline: none; }
.newsletter-form .btn { flex-shrink: 0; background: var(--dark); border-color: var(--dark); color: white; }
.newsletter-form .btn:hover { background: var(--slate); }
@media (max-width: 768px) {
  .newsletter-section .container { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .cart-drawer { width: 100vw; }
}

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.page-btn {
  width: 38px; height: 38px; border-radius: 8px; border: 1.5px solid var(--concrete);
  background: white; cursor: pointer; font-size: 0.87rem; font-weight: 600; color: var(--slate);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--orange); border-color: var(--orange); color: white; }

/* Accordion */
.accordion-item { border: 1px solid var(--concrete); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; }
.accordion-btn { width: 100%; padding: 15px 18px; background: none; border: none; text-align: left; font-size: 0.93rem; font-weight: 600; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.accordion-btn:hover { background: var(--light); }
.accordion-btn svg { width: 18px; height: 18px; stroke: var(--slate-light); fill: none; transition: var(--transition); }
.accordion-btn.open svg { transform: rotate(180deg); stroke: var(--orange); }
.accordion-body { padding: 0 18px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.accordion-body.open { max-height: 500px; padding-bottom: 16px; }
.accordion-body p { font-size: 0.88rem; color: var(--slate-light); line-height: 1.7; }

/* auto-fix missing classes */
.footer-brand .logo-text,.footer-brand .site-logo__name{color:#fff;}
.footer-col h5,.footer-col .footer-heading{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:14px;}

/* auto-fix: R13 footer structural classes */
.footer-col { }
.footer-col h5, .footer-col .footer-heading {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 14px; opacity: .6;
}
.footer-col ul { padding: 0; list-style: none; }
.footer-col li { margin-bottom: 7px; }
.footer-brand .logo-text,
.footer-brand .site-logo__name,
.footer-brand .footer-logo-name { color: #fff; }
.footer-brand .logo-icon,
.footer-brand .site-logo__icon { background: rgba(255,255,255,.12); }

.footer-brand { }
