/* =============================================
   ELZEM MAKİNA – style.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #cb3f1b;
  --primary-d: #ab3213;
  --dark:      #0f172a;
  --dark2:     #1e293b;
  --grey:      #f5f7fb;
  --grey2:     #e7ebf3;
  --text:      #1f2937;
  --text-light:#64748b;
  --white:     #fff;
  --border:    #dbe2ee;
  --shadow:    0 10px 24px rgba(15, 23, 42, .08);
  --radius:    12px;
  --font:      'Manrope', system-ui, sans-serif;
  --nav-bg: #101826;
  --catalog-bg: #f8faff;
  --catalog-hover: #edf2ff;
  --catalog-line: #e7edf8;
  --side-catalog-width: 252px;
  --sticky-topbar-top: 0px;
  --sticky-nav-top: 73px;
  --fixed-catalog-top: 130px;
  --fixed-catalog-side-top: var(--fixed-catalog-top);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(203, 63, 27, 0.2);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #f8fafd 0%, #f3f6fb 100%);
  line-height: 1.45;
  -webkit-user-select: text;
  -webkit-user-select: text;
  -webkit-touch-callout: none;
  overscroll-behavior-y: auto;
  padding-top: var(--fixed-catalog-top);
}

a,
button,
[role="button"] {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

/* Mobile-safe forms */
input,
textarea,
select {
  font-size: 16px;
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

textarea {
  resize: vertical;
  -webkit-user-select: text;
  user-select: text;
}

select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

body.ios-scroll-lock {
  position: fixed;
  width: 100%;
  overflow: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { 
  max-width: 1320px; 
  margin: 0 auto; 
  padding: 0 clamp(12px, 4vw, 18px);
}

@supports (padding: max(0px)) {
  .container {
    padding-left: max(clamp(12px, 4vw, 18px), env(safe-area-inset-left));
    padding-right: max(clamp(12px, 4vw, 18px), env(safe-area-inset-right));
  }
}

/* ========== BUTTONS ========== */
.btn-primary {
  background: var(--primary); color: var(--white);
  padding: 12px 24px; border-radius: 10px; font-weight: 700;
  border: none; cursor: pointer; transition: background .2s, transform .15s;
  display: inline-block; font-size: .9rem;
  letter-spacing: .01em;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}
.btn-primary:hover { background: var(--primary-d); color: var(--white); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); background: #8a2a10; }
.btn-primary:focus-visible { 
  outline: 2px solid rgba(203, 63, 27, 0.4); 
  outline-offset: 2px;
}

.btn-outline {
  border: 2px solid var(--primary); color: var(--primary);
  padding: 10px 18px; border-radius: 6px; font-weight: 600;
  transition: all .2s; display: inline-flex; align-items: center; justify-content: center;
  font-size: .9rem;
  min-height: 44px;
  min-width: 44px;
  -webkit-user-select: none;
  user-select: none;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline:active { background: #8a2a10; border-color: #8a2a10; }

/* ========== REDIRECT PAGES ========== */
.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #f8fafd 0%, #eef3fb 100%);
}

.redirect-card {
  width: min(100%, 560px);
  background: #fff;
  border: 1px solid #dbe2ee;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
  padding: 32px;
  text-align: center;
}

.redirect-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #cb3f1b;
  background: #fff1ec;
}

.redirect-card h1 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #0f172a;
}

.redirect-card p {
  color: #475569;
  margin-bottom: 18px;
}

.redirect-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========== PRODUCT DETAIL PAGES ========== */
.prd-page {
  padding: 34px 0 60px;
  background:
    radial-gradient(circle at 88% 8%, rgba(203, 63, 27, .08) 0%, rgba(203, 63, 27, 0) 42%),
    linear-gradient(180deg, #f8fbff 0%, #f4f8ff 100%);
}

.prd-breadcrumb,
.prd-shell,
.prd-wrap,
.prd-specs,
.prd-extra {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.prd-breadcrumb {
  font-size: .84rem;
  color: #64748b;
  margin-bottom: 16px;
}

.prd-breadcrumb a {
  color: #475569;
  font-weight: 600;
}

.prd-breadcrumb a:hover { color: #cb3f1b; }

.prd-shell,
.prd-wrap {
  background: #fff;
  border: 1px solid #dde5f2;
  border-radius: 18px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(320px, 390px) 1fr;
  gap: 26px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, .08);
}

.prd-gallery {
  display: grid;
  grid-template-rows: 312px auto;
  gap: 11px;
}

.prd-main,
.prd-img {
  background: linear-gradient(165deg, #f6faff 0%, #eff5ff 60%, #e8f1ff 100%);
  border: 1px solid #dfe8f5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cb3f1b;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.prd-main img,
.prd-main-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 18px;
}

.prd-main-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #cb3f1b;
}

.prd-badge,
.prd-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #cb3f1b;
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.prd-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.prd-thumb {
  border: 1px solid #dbe5f1;
  border-radius: 11px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fbff;
  color: #64748b;
  font-size: 1.1rem;
}

.prd-thumb-btn {
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, outline .2s;
  outline: none;
}

.prd-thumb-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.prd-thumb-btn.active,
.prd-thumb-btn:hover {
  border-color: #cb3f1b;
  color: #cb3f1b;
  background: #fff4f1;
}

.prd-content h1,
.prd-info h1 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 10px;
}

.prd-kicker {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #ffd5c9;
  background: #fff1ec;
  color: #b63a1c;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}

.prd-meta-grid,
.prd-subline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 14px;
}

.prd-meta-grid span,
.prd-subline span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f3;
  background: #f8fbff;
  color: #475569;
  font-size: .81rem;
  font-weight: 600;
}

.prd-meta-grid i,
.prd-subline i {
  color: #cb3f1b;
}

.prd-price-wrap,
.prd-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.prd-price {
  color: #cb3f1b;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 900;
}

.prd-old {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 1rem;
}

.prd-chip,
.prd-discount {
  background: #fff1eb;
  color: #b73a1d;
  border: 1px solid #ffd9cd;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 800;
}

.prd-meta {
  color: #334155;
  margin-bottom: 8px;
  font-size: .93rem;
}

.prd-meta a {
  color: #0f4fa8;
  font-weight: 700;
}

.prd-meta a:hover { text-decoration: underline; }

.prd-summary {
  color: #46556a;
  margin-bottom: 14px;
  line-height: 1.6;
}

.prd-highlights,
.prd-highlight ul {
  list-style: none;
  display: grid;
  gap: 8px;
  border: 1px solid #dfe8f5;
  background: #f9fbff;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.prd-highlights li,
.prd-highlight li {
  font-size: .88rem;
  color: #334155;
}

.prd-highlights i,
.prd-highlight i {
  color: #cb3f1b;
  margin-right: 6px;
}

.prd-cta-group,
.prd-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}

.prd-cta {
  min-width: 190px;
  height: 46px;
  border-radius: 11px;
  border: 1px solid #d8e2f0;
  background: #f8fbff;
  color: #0f172a;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-decoration: none;
  transition: all .2s ease;
}

.prd-cta.primary {
  background: #cb3f1b;
  border-color: #cb3f1b;
  color: #fff;
}

.prd-cta.ghost {
  background: #fff;
}

.prd-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .1);
}

.prd-trust,
.prd-safe {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #64748b;
  font-size: .82rem;
}

.prd-trust span,
.prd-safe span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prd-trust i,
.prd-safe i {
  color: #cb3f1b;
}

.prd-specs,
.prd-extra {
  margin-top: 18px;
  background: #fff;
  border: 1px solid #dbe2ee;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.prd-specs h2,
.prd-extra-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}

.prd-spec-grid,
.prd-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
}

.prd-spec-table,
.prd-spec {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.prd-spec-table th,
.prd-spec-table td,
.prd-spec td {
  border-bottom: 1px solid #e2e8f0;
  padding: 11px 12px;
  font-size: .87rem;
  text-align: left;
}

.prd-spec-table th {
  width: 42%;
  color: #475569;
  font-weight: 700;
  background: #f9fbff;
}

.prd-spec-table tr:last-child th,
.prd-spec-table tr:last-child td,
.prd-spec tr:last-child td {
  border-bottom: none;
}

.prd-spec td:first-child {
  width: 42%;
  color: #475569;
  font-weight: 700;
}

.prd-note {
  border: 1px solid #e8eef8;
  border-radius: 10px;
  background: #f8fbff;
  padding: 14px;
  font-size: .86rem;
  color: #334155;
}

.prd-note h3 {
  font-size: .94rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.prd-note ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.prd-note li i {
  color: #cb3f1b;
  margin-right: 6px;
}

.prd-extra-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.prd-extra-card {
  border: 1px solid #e0e8f4;
  border-radius: 12px;
  background: #f8fbff;
  padding: 14px;
}

.prd-extra-card h3 {
  font-size: .92rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.prd-extra-card i {
  color: #cb3f1b;
  margin-right: 6px;
}

.prd-extra-card p {
  color: #475569;
  font-size: .85rem;
  line-height: 1.55;
}

.prd-faq,
.prd-related {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  background: #fff;
  border: 1px solid #dbe2ee;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.prd-faq h2,
.prd-related h2 {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}

.prd-faq-list {
  display: grid;
  gap: 10px;
}

.prd-faq-item {
  border: 1px solid #e2e8f3;
  border-radius: 10px;
  background: #f8fbff;
  overflow: hidden;
}

.prd-faq-q {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 700;
  color: #1e293b;
}

.prd-faq-q::-webkit-details-marker {
  display: none;
}

.prd-faq-a {
  padding: 0 14px 12px;
  color: #475569;
  font-size: .88rem;
  line-height: 1.6;
}

.prd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.prd-related-card {
  border: 1px solid #dfe7f3;
  border-radius: 12px;
  background: #f8fbff;
  padding: 14px;
}

.prd-related-card h3 {
  margin-bottom: 8px;
  font-size: .95rem;
  line-height: 1.4;
}

.prd-related-card a {
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
}

.prd-related-card a:hover {
  color: #cb3f1b;
}

.prd-related-card p {
  color: #64748b;
  font-size: .82rem;
  margin-bottom: 8px;
}

.prd-related-price {
  color: #cb3f1b;
  font-size: .94rem;
  font-weight: 800;
}

@media (max-width: 980px) {
  .prd-shell,
  .prd-wrap {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .prd-gallery { grid-template-rows: 270px auto; }
  .prd-spec-grid,
  .prd-grid,
  .prd-extra-grid,
  .prd-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .prd-page { padding: 26px 0 52px; }
  .prd-breadcrumb,
  .prd-shell,
  .prd-wrap,
  .prd-specs,
  .prd-extra,
  .prd-faq,
  .prd-related { width: min(1180px, calc(100% - 20px)); }

  .prd-gallery { grid-template-rows: 238px auto; }
  .prd-cta {
    min-width: 100%;
    width: 100%;
  }
}

/* ========== CATEGORY PAGES ========== */
.kcat-page {
  padding: 0;
  background:
    radial-gradient(circle at 8% -10%, rgba(203, 63, 27, .08), rgba(203, 63, 27, 0) 35%),
    linear-gradient(180deg, #f7f9fc 0%, #f3f6fb 100%);
}

.kcat-content {
  padding: 34px 0 52px;
}

.kcat-breadcrumb {
  font-size: .84rem;
  color: #64748b;
  margin-bottom: 14px;
}

.kcat-breadcrumb a {
  color: #475569;
}

.kcat-breadcrumb a:hover {
  color: #cb3f1b;
}

.kcat-header {
  background: #fff;
  border: 1px solid #dbe2ee;
  border-radius: 14px;
  padding: 20px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.kcat-content .container {
  max-width: 1240px;
}

.kcat-header-icon {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff1ec 0%, #ffe7de 100%);
  color: #cb3f1b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.kcat-header h1 {
  color: #0f172a;
  margin-bottom: 7px;
  font-size: 1.58rem;
}

.kcat-header p {
  color: #475569;
  margin-bottom: 12px;
}

.kcat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kcat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.kcat-sidebar-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: start;
}

.kcat-sidebar {
  border: 1px solid #dbe2ee;
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
}

.kcat-sidebar h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #0f172a;
}

.kcat-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.kcat-sidebar ul li a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5ebf5;
  background: #f8fbff;
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  transition: background .2s, border-color .2s;
}

.kcat-sidebar ul li a:hover {
  background: #eef5ff;
  border-color: #cbdcee;
}

.kcat-page-content {
  width: 100%;
}

@media (max-width: 960px) {
  .kcat-sidebar-grid {
    grid-template-columns: 1fr;
  }
}

.kcat-card {
  border: 1px solid #dbe2ee;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.kcat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
  border-color: #cfd9ea;
}

.kcat-card-link {
  display: block;
  padding: 12px;
}

.kcat-card-media {
  height: 138px;
  border-radius: 10px;
  border: 1px solid #e5ebf5;
  background: linear-gradient(160deg, #f8fbff 0%, #edf3ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 10px;
  overflow: hidden;
}

.kcat-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.kcat-card-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: #cb3f1b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  border: 1px solid #ffdfd2;
}

.kcat-card h3 {
  font-size: .9rem;
  color: #1f2937;
  line-height: 1.35;
  min-height: 42px;
  margin-bottom: 6px;
}

.kcat-card p {
  color: #cb3f1b;
  font-size: 1rem;
  font-weight: 800;
}

.kcat-empty {
  grid-column: 1 / -1;
  border: 1px dashed #cfd8e8;
  border-radius: 12px;
  background: #fff;
  padding: 28px;
  text-align: center;
}

.kcat-empty i {
  font-size: 1.8rem;
  color: #cb3f1b;
  margin-bottom: 10px;
}

.kcat-empty h3 {
  color: #0f172a;
  margin-bottom: 6px;
}

.kcat-empty p {
  color: #64748b;
  margin-bottom: 14px;
}

@media (max-width: 960px) {
  .kcat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .kcat-header {
    grid-template-columns: 1fr;
  }

  .kcat-header-icon {
    width: 60px;
    height: 60px;
  }

  .kcat-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== TOP BAR ========== */
.top-bar {
  background: #0b1324;
  color: #c7d2e2;
  font-size: .82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: fixed;
  top: var(--sticky-topbar-top);
  left: 0;
  right: 0;
  z-index: 1100;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: #ccc; }
.top-bar a:hover { color: var(--white); }
.top-bar i { margin-right: 4px; }
.top-bar-center { color: var(--white); font-weight: 500; }
.top-bar-right { display: flex; gap: 16px; }

/* ========== HEADER ========== */
.header {
  background: rgba(255,255,255,.95);
  padding: 14px 0;
  border-bottom: 1px solid #e5eaf2;
  position: fixed; top: var(--sticky-header-top); left: 0; right: 0; z-index: 1090;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-social { display: flex; gap: 10px; }
.header-social a {
  color: var(--text-light);
  font-size: 1.1rem;
  transition: color .2s;
}
.header-social a:hover { color: var(--primary); }

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 52px; width: auto; object-fit: contain; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main {
  font-size: 1.9rem; font-weight: 900;
  color: var(--primary); letter-spacing: 2px;
}
.logo-sub {
  font-size: .85rem; font-weight: 700;
  color: var(--dark); letter-spacing: 4px;
}
.footer-logo-img { height: 44px; width: auto; object-fit: contain; margin-bottom: 12px; }

/* Search */
.header-search {
  flex: 1;
  display: flex;
  border: 1px solid #d7deeb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.header-search input {
  flex: 1; padding: 10px 14px;
  border: none; outline: none;
  font-size: .95rem; color: var(--text);
}
.header-search button {
  background: var(--dark); color: var(--white);
  border: none; padding: 0 18px; cursor: pointer;
  font-size: 1rem; transition: background .2s;
}
.header-search button:hover { background: #1e293b; }

/* Header actions */
.header-actions { display: flex; gap: 4px; }
.action-btn {
  display: flex; flex-direction: column; align-items: center;
  padding: 7px 12px; border-radius: 10px;
  color: var(--dark2); font-size: .75rem; gap: 2px;
  transition: color .2s, background .2s;
}
.action-btn i { font-size: 1.3rem; }
.action-btn:hover { color: var(--primary); background: #eef2f9; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 4px; right: 4px;
  background: var(--primary); color: var(--white);
  font-size: .65rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ========== NAV ========== */
.main-nav {
  background: linear-gradient(90deg, #121b2a 0%, #111827 100%);
  position: fixed; top: var(--sticky-nav-top); left: 0; right: 0; z-index: 1080;
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 24px rgba(9, 15, 26, .22);
  backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: stretch;
}
.nav-categories-toggle {
  background: linear-gradient(135deg, #ff6a2a 0%, #e24716 58%, #c83a12 100%);
  color: var(--white);
  padding: 0 18px;
  font-weight: 700;
  font-size: .9rem;
  display: flex; align-items: center; gap: 8px;
  cursor: pointer;
  min-height: 46px;
  transition: filter .2s, transform .2s;
  letter-spacing: .01em;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.2), 0 6px 16px rgba(203, 63, 27, .22);
}
.nav-categories-toggle i {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255,255,255,.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
}
.nav-categories-toggle:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  flex: 1;
}

/* Ust menude sadece istenen 5 link gorunsun */
.nav-links > li.has-dropdown {
  display: none;
}

.nav-links li a {
  display: flex; align-items: center;
  padding: 0 16px;
  min-height: 46px;
  color: #e3e8f2;
  font-size: .88rem;
  font-weight: 600;
  position: relative;
  transition: color .2s, background .2s, transform .2s;
  letter-spacing: .01em;
}
.nav-links > li > a::before {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8755 0%, #ffc3ab 100%);
  transform: scaleX(0);
  transform-origin: left;
  opacity: .9;
  transition: transform .24s ease;
}
.nav-links li a:hover {
  color: var(--white);
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}
.nav-links > li > a:hover::before {
  transform: scaleX(1);
}

/* Navbar Dropdown - Mega Menu Yatay */
.nav-links li.has-dropdown {
  position: static;
}
.nav-links li.has-dropdown > a::after {
  content: " ▾";
  font-size: .75rem;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--catalog-bg);
  box-shadow: 0 14px 32px rgba(8, 17, 33, .22);
  border-radius: 0 0 12px 12px;
  border-top: 1px solid #223149;
  z-index: 999;
  padding: 0;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  margin-top: 0;
  min-height: 360px;
  align-items: flex-start;
  overflow: visible;
}
/* Fare geçişinde boşluğu köprüle */
.nav-links li.has-dropdown > a::before {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}
/* dropdown JS ile kontrol ediliyor */
.nav-dropdown > li {
  flex: 0 0 auto;
  position: static;
  width: 252px;
  border-bottom: 1px solid #eef2f8;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(249,251,255,.98) 100%);
  transition: background .2s ease;
}
.nav-dropdown > li > a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  padding: 14px 18px;
  color: #2a3953 !important;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.28;
  background: transparent !important;
  min-height: unset !important;
  border-radius: 0;
  border-right: 4px solid transparent;
  transition: background .2s, color .2s, border-color .2s, padding-left .2s;
  white-space: normal;
  word-break: break-word;
  cursor: pointer;
}
.nav-dropdown > li > a:hover:not([aria-disabled="true"]),
.nav-dropdown > li.submenu-active > a {
  background: linear-gradient(90deg, #ffece4 0%, #eef4ff 100%) !important;
  color: var(--primary) !important;
  border-right-color: var(--primary);
  padding-left: 22px;
  box-shadow: inset 0 0 0 1px rgba(203, 63, 27, .08);
}
.nav-dropdown > li.has-submenu > a[aria-disabled="true"] {
  cursor: default;
}
.nav-dropdown > li > a i {
  grid-column: 1;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: var(--primary);
  background: linear-gradient(135deg, #fff1eb 0%, #ffe5dc 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.nav-dropdown > li > a .nav-item-label {
  grid-column: 2;
  min-width: 0;
}

/* Submenu - 2. seviye (sağ panel) */
.nav-dropdown > li.has-submenu > a {
  grid-template-columns: 30px minmax(0, 1fr) 14px;
  padding-right: 14px;
}
.nav-dropdown > li.has-submenu > a::after {
  content: "›";
  grid-column: 3;
  justify-self: end;
  font-size: 1rem;
  color: #8fa0b8;
  opacity: .55;
  transition: color .2s ease, opacity .2s ease, transform .2s ease;
}
.nav-dropdown > li.has-submenu > a:hover:not([aria-disabled="true"])::after {
  color: var(--primary);
  opacity: .92;
  transform: translateX(1px);
}
.nav-dropdown > li.has-submenu > a[aria-disabled="true"]::after {
  opacity: .45;
}
.nav-dropdown > li.submenu-active > a::after {
  opacity: 1;
  color: var(--primary);
  transform: translateX(1px);
}
.nav-submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 252px;
  width: calc(100% - 252px);
  min-width: 1120px;
  min-height: 360px;
  background:
    radial-gradient(circle at 92% 12%, rgba(203, 63, 27, .09) 0%, rgba(203, 63, 27, 0) 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-left: 2px solid #e3ebfb;
  border-radius: 0 0 12px 0;
  z-index: 1000;
  padding: 20px 22px;
  gap: 16px;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  align-content: flex-start;
  animation: submenuFade .18s ease;
}

@keyframes submenuFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
/* submenu JS ile kontrol ediliyor */
.submenu-col {
  flex: 1 1 240px;
  max-width: 320px;
  min-width: 220px;
}
.submenu-col {
  --submenu-card-title-h: 64px;
  --submenu-card-photo-h: 160px;
  --submenu-card-h: 224px;
}
.submenu-col h4 {
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  min-height: 36px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid #ffd8ca;
  background: linear-gradient(90deg, rgba(255, 235, 226, .65) 0%, rgba(255,255,255,0) 100%);
  border-radius: 8px;
  padding-left: 8px;
}
.submenu-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  grid-auto-rows: 1fr;
  align-items: stretch;
}
.submenu-col ul li {
  display: flex;
  min-width: 0;
  height: var(--submenu-card-h);
}
.submenu-col ul li a {
  display: grid !important;
  grid-template-rows: var(--submenu-card-title-h) var(--submenu-card-photo-h) !important;
  align-content: start;
  color: var(--text) !important;
  font-size: .85rem !important;
  border: 1px solid #e7ecf7 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  border-radius: 12px !important;
  min-height: 0 !important;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  overflow: hidden;
  height: var(--submenu-card-h) !important;
  min-height: var(--submenu-card-h) !important;
  max-height: var(--submenu-card-h) !important;
  width: 100%;
  box-shadow: 0 4px 14px rgba(25, 39, 62, .08);
}
.submenu-col ul li a:hover {
  color: var(--primary) !important;
  border-color: #d3def3 !important;
  box-shadow: 0 8px 16px rgba(17, 27, 44, .12);
  transform: translateY(-1px);
}
.submenu-col ul li a::before {
  content: none;
}

.submenu-link-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-weight: 800;
  font-size: .84rem;
  line-height: 1.25;
  color: #f5f7fc;
  background: linear-gradient(135deg, #3b4659 0%, #2b3445 100%);
  padding: 10px 11px;
  height: var(--submenu-card-title-h) !important;
  min-height: var(--submenu-card-title-h) !important;
  max-height: var(--submenu-card-title-h) !important;
  box-sizing: border-box;
  text-transform: uppercase;
  text-align: left;
  overflow: hidden;
}

.submenu-link-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--submenu-card-photo-h) !important;
  min-height: var(--submenu-card-photo-h) !important;
  max-height: var(--submenu-card-photo-h) !important;
  background: linear-gradient(180deg, #edf3fa 0%, #e8eef6 100%);
  padding: 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.submenu-link-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.96) contrast(1.04);
  border-radius: 8px;
  display: block;
}

@media (max-width: 1260px) {
  .submenu-col {
    flex: 1 1 220px;
    min-width: 200px;
    max-width: none;
  }

  .submenu-col ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .submenu-col {
    flex: 1 1 100%;
    min-width: 100%;
  }
}

@media (max-width: 991px) {
  .nav-dropdown > li > a {
    min-height: 56px !important;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .nav-dropdown > li > a i {
    width: 28px;
    height: 28px;
    font-size: .88rem;
    border-radius: 9px;
  }

  .nav-dropdown > li.has-submenu > a {
    grid-template-columns: 28px minmax(0, 1fr) 12px;
    padding-right: 12px;
  }

  .nav-dropdown > li.has-submenu > a::after {
    font-size: .86rem;
    line-height: 1;
    transform: translateY(.5px);
    opacity: .55;
  }

  .nav-dropdown > li > a .nav-item-label {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.22;
  }
}

/* Submenu Featured Images Column */
.submenu-imgs {
  display: none !important;
}
.submenu-imgs-title {
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b7b95;
  letter-spacing: .06em;
  padding-bottom: 6px;
  border-bottom: 1px solid #eef2ff;
  margin-bottom: 4px;
}
.submenu-img-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  text-decoration: none;
  color: #334257;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.submenu-img-card:hover {
  background: #f5f8ff;
  border-color: #dfe8fb;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(25, 38, 62, .1);
}
.submenu-img-card img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.submenu-img-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.submenu-img-card span {
  font-size: .71rem;
  color: #44536c;
  line-height: 1.3;
  font-weight: 600;
}

/* Desktop fixed categories layout (reference-like) */
@media (min-width: 1024px) {
  body.fixed-categories-enabled {
    --fixed-catalog-top: 119px;
    --fixed-catalog-side-top: calc(var(--fixed-catalog-top) - 8px);
    --fixed-catalog-side-local-top: calc(var(--fixed-catalog-side-top) - var(--sticky-nav-top));
    overflow-x: hidden;
  }

  body.fixed-categories-enabled .main-nav .nav-inner {
    position: relative;
    align-items: center;
    padding-left: var(--side-catalog-width);
    min-height: 46px;
    overflow: visible;
  }

  body.fixed-categories-enabled .main-nav .nav-categories-toggle {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--side-catalog-width);
    justify-content: flex-start;
    opacity: 1;
    pointer-events: none;
    display: none;
  }

  body.fixed-categories-enabled .main-nav .nav-links {
    margin-left: 0;
  }

  body.fixed-categories-enabled .main-nav .nav-links > li.has-dropdown {
    display: block;
    position: fixed;
    left: 0;
    top: var(--fixed-catalog-side-local-top);
    bottom: 0;
    height: calc(100vh - var(--fixed-catalog-side-top));
    width: var(--side-catalog-width);
    z-index: 1101;
  }

  body.fixed-categories-enabled .main-nav .nav-links > li.has-dropdown > a {
    display: none;
  }

  body.fixed-categories-enabled .main-nav .nav-links > li.has-dropdown > .nav-dropdown {
    display: flex !important;
    position: absolute;
    top: 0;
    left: 0;
    width: var(--side-catalog-width);
    height: calc(100vh - var(--fixed-catalog-side-top));
    max-height: calc(100vh - var(--fixed-catalog-side-top));
    min-height: 0;
    overflow-y: auto;
    border-radius: 0;
    box-shadow: 0 22px 40px rgba(20, 28, 42, .22);
    border-top: 0;
    border-right: 1px solid #e8edf8;
    background:
      linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    padding: 12px 10px 22px;
    gap: 8px;
    align-content: flex-start;
  }

  body.fixed-categories-enabled .main-nav .nav-links > li.has-dropdown > .nav-dropdown::-webkit-scrollbar {
    width: 8px;
  }

  body.fixed-categories-enabled .main-nav .nav-links > li.has-dropdown > .nav-dropdown::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d6deed 0%, #bcc8dc 100%);
    border-radius: 999px;
  }

  body.fixed-categories-enabled .main-nav .nav-links > li.has-dropdown > .nav-dropdown > li {
    width: calc(var(--side-catalog-width) - 20px);
    border-bottom: 0;
    background: transparent;
  }

  body.fixed-categories-enabled .main-nav .nav-links > li.has-dropdown > .nav-dropdown > li > a {
    font-size: .86rem;
    min-height: 56px !important;
    border-radius: 14px;
    border: 1px solid #e3ebfa;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%) !important;
    box-shadow: 0 5px 12px rgba(19, 34, 56, .08);
    padding: 11px 12px;
    padding-right: 10px;
    margin: 0;
    grid-template-columns: 32px minmax(0, 1fr) 14px;
    column-gap: 9px;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
  }

  body.fixed-categories-enabled .main-nav .nav-links > li.has-dropdown > .nav-dropdown > li > a i {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff2ea 0%, #ffe3d6 100%);
    border: 1px solid #ffd8c8;
    font-size: .9rem;
  }

  body.fixed-categories-enabled .main-nav .nav-links > li.has-dropdown > .nav-dropdown > li > a:hover,
  body.fixed-categories-enabled .main-nav .nav-links > li.has-dropdown > .nav-dropdown > li.submenu-active > a {
    background: linear-gradient(90deg, #ffece3 0%, #eef4ff 100%) !important;
    border-color: #ffd0bc;
    box-shadow: 0 8px 16px rgba(203, 63, 27, .14);
    transform: translateY(-1px);
  }

  body.fixed-categories-enabled .main-nav .nav-links > li.has-dropdown > .nav-dropdown > li.submenu-active > a {
    box-shadow:
      inset 3px 0 0 var(--primary),
      0 10px 18px rgba(203, 63, 27, .16);
  }

  body.fixed-categories-enabled .main-nav .nav-links > li.has-dropdown > .nav-dropdown .nav-submenu {
    position: fixed;
    top: var(--fixed-catalog-side-local-top);
    left: calc(var(--side-catalog-width) + 8px);
    width: min(960px, calc(100vw - 306px));
    height: calc(100vh - var(--fixed-catalog-side-top));
    min-height: 0;
    overflow-y: auto;
    border-radius: 14px 0 0 0;
    box-shadow: 14px 18px 36px rgba(17, 27, 44, .2);
    border-left: 1px solid #e3ebfb;
    border-top: 1px solid #e9effa;
    padding-top: 18px;
  }

  /* Header sonrasi tum ana iskeleti sabit sol kategoriye gore hizala */
  body.fixed-categories-enabled > :not(.top-bar):not(.header):not(.main-nav):not(.categories-sidebar):not(.overlay) {
    margin-left: var(--side-catalog-width);
  }

  body.fixed-categories-enabled > :not(.top-bar):not(.header):not(.main-nav):not(.categories-sidebar):not(.overlay) .container {
    max-width: calc(1280px - var(--side-catalog-width));
  }

  body.fixed-categories-enabled .footer {
    margin-left: var(--side-catalog-width);
  }

  /* Urunler sayfasinda cift sidebar gorunmesini engelle */
  body.fixed-categories-enabled #productSidebar,
  body.fixed-categories-enabled .sidebar-widget,
  body.fixed-categories-enabled #productSidebarOverlay {
    display: none !important;
  }

  body.fixed-categories-enabled .products-layout {
    grid-template-columns: 1fr !important;
  }

  body.fixed-categories-enabled .products-grid-wrap {
    width: 100%;
  }

  body.fixed-categories-enabled .section-title {
    letter-spacing: .01em;
  }

  body.fixed-categories-enabled .hero-slider .slide {
    padding: 0 56px;
  }

  body.fixed-categories-enabled .main-nav .nav-links > li.has-dropdown > .nav-dropdown > li:last-child {
    border-bottom: 0;
  }

  body.fixed-categories-enabled .categories-sidebar {
    display: none !important;
  }

  body.fixed-categories-enabled .overlay {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  body.fixed-categories-enabled .main-nav .nav-links > li.has-dropdown > a {
    display: flex;
  }
}

/* Categories sidebar */
.categories-sidebar {
  position: fixed;
  left: -280px;
  top: 0; bottom: 0;
  width: 280px;
  background:
    radial-gradient(circle at 90% 8%, rgba(203, 63, 27, .08) 0%, rgba(203, 63, 27, 0) 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  z-index: 1000;
  box-shadow: 8px 0 28px rgba(0,0,0,.24);
  transition: left .3s ease;
  overflow-y: auto;
  padding-top: 120px; /* header (~73px) + main-nav (~46px) */
}
.categories-sidebar::-webkit-scrollbar {
  width: 8px;
}

.categories-sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d6deed 0%, #b8c6de 100%);
  border-radius: 999px;
}
.categories-sidebar.open { left: 0; }
.categories-sidebar ul li a {
  display: flex; align-items: center; gap: 12px;
  position: relative;
  padding: 13px 22px;
  color: var(--text);
  font-size: clamp(.92rem, .22vw + .86rem, .99rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .01em;
  border-bottom: 1px solid var(--grey2);
  transition: background .22s ease, color .22s ease, transform .18s ease, padding-left .22s ease;
}
.categories-sidebar ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 0 6px 6px 0;
  background: var(--primary);
  opacity: 0;
  transform: scaleY(.72);
  transition: opacity .2s ease, transform .2s ease;
}
.categories-sidebar ul li a i {
  color: var(--primary);
  width: 20px;
  font-size: .95rem;
  text-align: center;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.categories-sidebar ul li a:hover {
  background: linear-gradient(90deg, #f6f9ff 0%, #f1f6ff 100%);
  color: var(--primary);
  padding-left: 26px;
}
.categories-sidebar ul li a:hover::before,
.categories-sidebar ul li a.active::before,
.categories-sidebar ul li a[aria-current="page"]::before {
  opacity: 1;
  transform: scaleY(1);
}
.categories-sidebar ul li a:hover i,
.categories-sidebar ul li a.active i,
.categories-sidebar ul li a[aria-current="page"] i {
  transform: translateX(1px);
}
.categories-sidebar ul li a.active,
.categories-sidebar ul li a[aria-current="page"] {
  color: var(--primary);
  background: linear-gradient(90deg, #f6f9ff 0%, #eef4ff 100%);
  padding-left: 26px;
  pointer-events: none;
  cursor: default;
}
.categories-sidebar ul li a:focus-visible {
  outline: 2px solid rgba(203, 63, 27, .35);
  outline-offset: -2px;
}

.overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 999;
}
.overlay.show { display: block; }

/* ========== HERO SLIDER ========== */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 420px;
}
.slider-wrapper {
  display: flex;
  height: 100%;
  transition: transform .5s ease;
}
.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.slide img {
  display: none;
}
.slide::before {
  display: none;
}
.slide-1,
.slide-2,
.slide-3,
.slide-4 {
  background: transparent;
}
.slide-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 520px;
  padding: 32px;
  background: rgba(0,0,0,.35);
  border-radius: 18px;
  margin-left: 48px;
}
.slide-content span {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  opacity: .9;
  margin-bottom: 10px;
}
.slide-content h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.slide-content p {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.6;
  opacity: .92;
}

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.25); color: var(--white);
  border: none; width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; font-size: 1rem;
  transition: background .2s, box-shadow .2s, opacity .2s;
  z-index: 10;
  opacity: 1;
}
.slider-btn:hover { background: var(--primary); box-shadow: 0 8px 20px rgba(203, 63, 27, .3); }
.slider-btn:focus {
  outline: 2px solid var(--white);
  outline-offset: 2px;
  background: var(--primary);
}
.slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.slider-btn:disabled:hover { background: rgba(255,255,255,.25); box-shadow: none; }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.5); cursor: pointer;
  transition: background .2s, transform .2s;
  display: block;
}
.dot:hover { transform: scale(1.2); }
.dot:focus {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.dot.active { background: var(--white); }

/* ========== ADVANTAGES ========== */
.advantages {
  background: var(--grey);
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.advantages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.advantage-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1; min-width: 180px;
}
.advantage-item i {
  font-size: 1.6rem;
  color: var(--primary);
  flex-shrink: 0;
}
.advantage-item strong { display: block; font-size: .9rem; color: var(--dark); }
.advantage-item span { font-size: .78rem; color: var(--text-light); }

/* ========== SECTIONS ========== */
.section { padding: 48px 0; }
.section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.section-title::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 56px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.section-header .section-title { margin-bottom: 0; }

/* ========== CATEGORY CARDS ========== */
.categories-section { background: var(--grey); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.cat-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 10px;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .07);
  transition: transform .2s, box-shadow .2s, color .2s;
  border: 1px solid #e3e9f4;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, .12);
  color: var(--primary);
  border-color: var(--primary);
}
.cat-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grey);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  transition: background .2s;
}
.cat-card:hover .cat-icon { background: #fde8e3; }

/* ========== PRODUCTS ========== */
.products-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding-inline: 58px;
}

.products-slider {
  display: flex;
  gap: 16px;
  transition: transform .4s ease;
  padding: 4px 0 8px;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
  border: 1px solid #dde5f2;
  min-width: 210px;
  max-width: 210px;
  overflow: hidden;
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
  position: relative;
  flex-shrink: 0;
}
.product-card:hover {
  box-shadow: 0 20px 42px rgba(15, 23, 42, .14);
  transform: translateY(-5px);
  border-color: #ccd7e8;
}
.product-card > a {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--primary); color: var(--white);
  font-size: .78rem; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
  z-index: 2;
  box-shadow: 0 10px 20px rgba(203, 63, 27, .22);
}
.product-img {
  min-height: 152px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.95), rgba(255,255,255,0) 58%),
    linear-gradient(180deg, #f9fbfe 0%, #eef3f9 100%);
  border-bottom: 1px solid #edf2f8;
  position: relative;
  isolation: isolate;
}
.product-img::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(241,245,252,.9));
  border: 1px solid rgba(220, 228, 240, .95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  z-index: -1;
}
.product-img i,
.product-img img {
  position: relative;
  z-index: 1;
}
.product-img i {
  font-size: 2.45rem;
  color: var(--primary);
  filter: drop-shadow(0 12px 18px rgba(203, 63, 27, .14));
}
.product-img img {
  width: 100%;
  height: 118px;
  object-fit: contain;
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.photo-gallery-card {
  background: #fff;
  border: 1px solid #edf2f8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
  transition: transform .2s, box-shadow .2s;
}
.photo-gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, .12);
}
.photo-gallery-card a,
.photo-gallery-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.photo-gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.photo-gallery-card-title {
  padding: 14px 16px 18px;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}
.product-info {
  padding: 12px 13px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-name {
  font-size: .86rem;
  font-weight: 700;
  color: var(--text);
  min-height: 40px;
  line-height: 1.38;
}
.product-price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.price-new { font-size: 1.08rem; font-weight: 800; color: var(--primary); }
.price-old { font-size: .8rem; color: #94a3b8; text-decoration: line-through; }

.btn-add-cart {
  margin: 0 14px 14px;
  padding: 10px 12px;
  background: var(--primary);
  color: var(--white);
  border: none; border-radius: 10px;
  cursor: pointer; font-weight: 700; font-size: .84rem;
  letter-spacing: .01em;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-add-cart:hover {
  background: var(--primary-d);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(203, 63, 27, .2);
}

.prod-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--primary); color: var(--white);
  border: none;
  width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer; font-size: 1.2rem;
  box-shadow: 0 8px 24px rgba(203, 63, 27, 0.25);
  transition: all .2s cubic-bezier(0.4, 0, 0.2, 1); 
  z-index: 5;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-slider-btn:hover { 
  background: var(--primary-d);
  box-shadow: 0 12px 32px rgba(203, 63, 27, 0.35);
  transform: translateY(-50%) scale(1.08);
}
.prod-slider-btn:active {
  transform: translateY(-50%) scale(0.96);
  box-shadow: 0 4px 16px rgba(203, 63, 27, 0.25);
}
.prod-slider-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.prod-slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #bbb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.prod-slider-btn:disabled:hover {
  background: #bbb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-50%);
}
.prod-prev { left: 6px; }
.prod-next { right: 6px; }

/* ========== VITRIN ========== */
.vitrin-section { background: var(--grey); }
.vitrin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.vitrin-grid .product-card { min-width: unset; max-width: unset; }

/* ========== MID BANNERS ========== */
.mid-banners { padding: 32px 0; }
.mid-banners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mid-banner {
  border-radius: var(--radius);
  padding: 40px 30px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
  min-height: 160px;
}
.banner-green { background: linear-gradient(135deg, #1b4332, #40916c); }
.banner-orange { background: linear-gradient(135deg, #c43009, #e63e11); }
.banner-blue { background: linear-gradient(135deg, #0f3460, #16213e); }

.mid-banner-text { color: var(--white); text-align: center; }
.mid-banner-text h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.mid-banner-text p { font-size: .9rem; margin-bottom: 14px; opacity: .9; }
.mid-banner-text .btn-primary { background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.6); }
.mid-banner-text .btn-primary:hover { background: var(--white); color: var(--primary); }

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
  overflow: hidden;
  border: 1px solid #e2e8f3;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .14);
}
.blog-img {
  height: 150px;
  background: linear-gradient(135deg, #e63e11, #c43009);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.8);
}
.blog-content { padding: 16px; }
.blog-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.blog-content h3 a:hover { color: var(--primary); }
.blog-content p { font-size: .85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; }
.read-more { color: var(--primary); font-weight: 600; font-size: .85rem; }
.read-more:hover { text-decoration: underline; }

/* ========== SEO ========== */
.seo-section { background: var(--grey); padding: 40px 0; border-top: 1px solid var(--border); }
.seo-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.seo-col h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: 12px; color: var(--dark); }
.seo-col p { font-size: .88rem; color: var(--text-light); line-height: 1.8; margin-bottom: 10px; }

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(140deg, #0b1221 0%, #111c31 55%, #162338 100%);
  color: #b6c3d8;
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-main { font-size: 1.6rem; font-weight: 900; color: var(--primary); letter-spacing: 2px; }
.footer-logo .logo-sub { font-size: .75rem; font-weight: 700; color: #aaa; letter-spacing: 4px; }

.footer h4 { font-size: .85rem; font-weight: 700; color: #e9effa; letter-spacing: 1px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 8px; }
.footer p { font-size: .85rem; margin-bottom: 8px; }
.footer p i { margin-right: 6px; color: var(--primary); }

.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: #bbb; font-size: 1rem;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--primary); color: var(--white); }

.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .85rem; color: #b6c3d8; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }

.newsletter-form { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.newsletter-form input {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  background: rgba(255,255,255,.07);
  color: var(--white);
  font-size: .9rem;
  outline: none;
}
.newsletter-form input::placeholder { color: #888; }
.newsletter-form button {
  padding: 10px;
  background: var(--primary);
  color: var(--white);
  border: none; border-radius: 6px;
  font-weight: 700; cursor: pointer;
  transition: background .2s;
}
.newsletter-form button:hover { background: var(--primary-d); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 16px 0;
  text-align: center;
  font-size: .82rem;
  color: #8da0bc;
}

/* ========== CART TOAST ========== */
.cart-toast {
  position: fixed; bottom: 90px; right: 24px;
  background: #2d6a4f; color: #fff;
  padding: 12px 20px; border-radius: 10px;
  font-size: .9rem; font-weight: 600;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  z-index: 9999;
  opacity: 0; transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  display: flex; align-items: center; gap: 8px;
  max-width: 320px;
}
.cart-toast i { font-size: 1.1rem; }
.cart-toast.show { opacity: 1; transform: translateY(0); }

/* ========== WHATSAPP WIDGET ========== */
.wa-widget {
  position: fixed; bottom: 24px; left: 24px;
  z-index: 999;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 12px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

body.products-catalog-page .wa-widget {
  display: none;
}

body.products-catalog-page .products-main-grid .product-card {
  border-radius: 16px;
  border: 1px solid #dce5f2;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

body.products-catalog-page .products-main-grid .product-img {
  min-height: 156px;
  padding: 14px;
}

body.products-catalog-page .products-main-grid .product-img::before {
  inset: 10px;
  border-radius: 12px;
}

body.products-catalog-page .products-main-grid .product-img i {
  font-size: 2.1rem;
}

body.products-catalog-page .products-main-grid .product-img img {
  height: 118px;
}

body.products-catalog-page .products-main-grid .product-info {
  padding: 12px 13px 10px;
  gap: 7px;
}

body.products-catalog-page .products-main-grid .product-category {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dbe5f3;
  background: #f8fbff;
  color: #475569;
  border-radius: 999px;
  font-size: .69rem;
  font-weight: 700;
  padding: 3px 8px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.products-catalog-page .products-main-grid .product-name {
  min-height: 44px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.36;
  color: #0f172a;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.products-catalog-page .products-main-grid .product-price {
  gap: 6px;
  align-items: baseline;
}

body.products-catalog-page .products-main-grid .price-new {
  font-size: 1.06rem;
  font-weight: 800;
  color: #cb3f1b;
  letter-spacing: -.01em;
}

body.products-catalog-page .products-main-grid .price-old {
  font-size: .76rem;
  color: #9aa7ba;
}

body.products-catalog-page .products-main-grid .btn-add-cart {
  margin: 0 12px 12px;
  padding: 9px 10px;
  font-size: .8rem;
}

body.products-catalog-page .page-hero {
  background: linear-gradient(135deg, #1a1a2e, #e63e11);
  padding: 50px 0;
  color: #fff;
  text-align: center;
}

body.products-catalog-page .page-hero h1 {
  font-size: 2rem;
  font-weight: 900;
}

body.products-catalog-page .products-page {
  padding: 40px 0;
}

body.products-catalog-page .products-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
}

body.products-catalog-page .filter-sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #d8e2f0;
  border-radius: 20px;
  height: fit-content;
  position: sticky;
  top: 126px;
  overflow: visible;
  box-shadow: 0 18px 40px rgba(23, 34, 58, 0.08);
}

body.products-catalog-page .filter-sidebar h3 {
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0;
  padding: 16px 18px;
  background: linear-gradient(135deg, #162132 0%, #22324d 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 20px 20px 0 0;
}

body.products-catalog-page .catalog-list {
  margin: 0;
  padding: 0;
}

body.products-catalog-page .catalog-item {
  border-bottom: 1px solid #ebf0f8;
  background: rgba(255, 255, 255, .55);
}

body.products-catalog-page .catalog-link {
  width: 100%;
  border: none;
  background: transparent;
  color: #21324c;
  font-size: .9rem;
  text-align: left;
  font-weight: 700;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background .2s, color .2s;
}

body.products-catalog-page .catalog-section {
  width: 100%;
  border: none;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  color: #21324c;
  font-size: .9rem;
  text-align: left;
  font-weight: 700;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  cursor: default;
}

body.products-catalog-page .catalog-link:hover {
  background: linear-gradient(90deg, #fff4ef 0%, #f5f8ff 100%);
  color: var(--primary);
}

body.products-catalog-page .catalog-section:hover {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  color: #21324c;
}

body.products-catalog-page .catalog-link i {
  font-size: .78rem;
  transition: transform .25s, color .25s;
  color: #90a0b8;
}

body.products-catalog-page .catalog-link-main {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

body.products-catalog-page .catalog-link-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff1eb 0%, #ffe5db 100%);
  border: 1px solid #ffd5c6;
}

body.products-catalog-page .catalog-link-icon i {
  color: var(--primary);
  font-size: .86rem;
}

body.products-catalog-page .catalog-item-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(203, 63, 27, .16);
  background: linear-gradient(135deg, #fff 0%, #fff4ef 100%);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  flex-shrink: 0;
}

body.products-catalog-page .catalog-item-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(203, 63, 27, .08);
  border-color: rgba(203, 63, 27, .28);
  background: #fff0ea;
}

body.products-catalog-page .catalog-item.active > .catalog-section {
  background: linear-gradient(90deg, #fff1eb 0%, #f0f5ff 100%);
  box-shadow: inset 4px 0 0 var(--primary);
}

body.products-catalog-page .catalog-item.active > .catalog-section .catalog-link-text strong {
  color: var(--primary);
}

body.products-catalog-page .subcat-list {
  max-height: none;
  overflow: visible;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  transition: none;
}

body.products-catalog-page .catalog-item.open .subcat-list {
  max-height: none;
}

body.products-catalog-page .subcat-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 14px 14px 54px;
  padding: 9px 14px;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--primary);
  border: 1px solid rgba(203, 63, 27, .16);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff 0%, #fff4ef 100%);
  position: relative;
  transition: transform .2s, background .2s, box-shadow .2s, border-color .2s;
}

body.products-catalog-page .subcat-list a::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c7d3e4;
  transform: translateY(-50%);
  transition: background .2s, transform .2s;
}

body.products-catalog-page .subcat-list a:hover,
body.products-catalog-page .subcat-list a.active {
  color: var(--primary);
  background: #fff0ea;
  box-shadow: 0 6px 14px rgba(203, 63, 27, .08);
  transform: translateY(-1px);
}

body.products-catalog-page .subcat-list a.active {
  pointer-events: none;
  cursor: default;
}

body.products-catalog-page .subcat-list a:hover::before,
body.products-catalog-page .subcat-list a.active::before {
  background: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

body.products-catalog-page .sidebar-note {
  font-size: .78rem;
  color: #55657f;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5fb 100%);
  border-top: 1px solid #e9edf5;
  border-radius: 0 0 20px 20px;
  line-height: 1.55;
}

body.products-catalog-page .sidebar-widget {
  margin-top: 16px;
  border: 1px solid #dce3ef;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(23, 34, 58, 0.06);
}

body.products-catalog-page .widget-title {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  font-weight: 800;
  font-size: .86rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #142033 0%, #263754 100%);
  color: #fff;
}

body.products-catalog-page .widget-title .accent {
  color: #ff9e66;
}

body.products-catalog-page .hot-list {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.products-catalog-page .hot-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid #edf1f7;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}

body.products-catalog-page .hot-item:hover {
  border-color: #d5deec;
  background: #f8fbff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 32, 52, .08);
}

body.products-catalog-page .hot-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(180deg, #f6f8fc 0%, #edf2f8 100%);
  border: 1px solid #e6edf8;
}

body.products-catalog-page .hot-info strong {
  display: block;
  font-size: .79rem;
  line-height: 1.35;
  color: #2e3b52;
  margin-bottom: 4px;
}

body.products-catalog-page .hot-price {
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
}

body.products-catalog-page .mobile-sidebar-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 12px;
  background: #fff;
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
}

body.products-catalog-page .mobile-sidebar-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

body.products-catalog-page .shop-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.48);
  z-index: 1001;
}

body.products-catalog-page .shop-overlay.show {
  display: block;
}

body.products-catalog-page .filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

body.products-catalog-page .filter-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.products-catalog-page .filter-bar span {
  font-size: .9rem;
  color: var(--text-light);
}

body.products-catalog-page .filter-bar select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .88rem;
  outline: none;
}

body.products-catalog-page .products-main-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

body.products-catalog-page .products-main-grid .product-card {
  min-width: unset;
  max-width: unset;
}

body.products-catalog-page .pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}

body.products-catalog-page .page-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .9rem;
  transition: all .2s;
}

body.products-catalog-page .page-btn.active,
body.products-catalog-page .page-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

@media (max-width: 1100px) {
  body.products-catalog-page .products-layout {
    grid-template-columns: 280px 1fr;
  }

  body.products-catalog-page .products-main-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  body.products-catalog-page .products-layout {
    grid-template-columns: 1fr;
  }

  body.products-catalog-page .filter-sidebar {
    position: fixed;
    left: -320px;
    top: 0;
    bottom: 0;
    width: 300px;
    max-width: 86vw;
    border-radius: 0 22px 22px 0;
    z-index: 1002;
    transition: left .28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  body.products-catalog-page .sidebar-widget {
    margin-top: 10px;
  }

  body.products-catalog-page .filter-sidebar.open {
    left: 0;
  }

  body.products-catalog-page .mobile-sidebar-toggle {
    display: inline-flex;
  }

  body.products-catalog-page .products-main-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  body.products-catalog-page .products-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  body.products-catalog-page input,
  body.products-catalog-page select,
  body.products-catalog-page textarea {
    font-size: 16px;
  }
}

body.fixed-categories-enabled .wa-widget {
  left: auto;
  right: 24px;
  align-items: flex-end;
}

body.fixed-categories-enabled .wa-popup {
  transform-origin: bottom right;
}

body.fixed-categories-enabled .wa-toggle-btn {
  width: 62px;
  height: 62px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37,211,102,.34);
}

body.fixed-categories-enabled .wa-toggle-btn span {
  display: none;
}

body.fixed-categories-enabled .wa-toggle-btn i {
  font-size: 1.7rem;
}
.wa-toggle-btn {
  display: flex; align-items: center; gap: 10px;
  background: #25D366;
  color: #fff;
  border: none; cursor: pointer;
  padding: 13px 22px;
  border-radius: 50px;
  font-size: .95rem; font-weight: 700; font-family: inherit;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.wa-toggle-btn i { font-size: 1.5rem; }
.wa-toggle-btn:hover { transform: scale(1.05); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
.wa-toggle-btn .wa-notif {
  position: absolute; top: -6px; left: -6px;
  background: #e63e11; color: #fff;
  font-size: .68rem; font-weight: 800;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: wa-bounce .8s infinite alternate;
}
@keyframes wa-bounce { from{transform:scale(1)} to{transform:scale(1.2)} }
/* Popup */
.wa-popup {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  width: 320px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  transform-origin: bottom left;
  animation: wa-pop .25s cubic-bezier(.34,1.56,.64,1);
}
.wa-popup.open { display: flex; }
@keyframes wa-pop { from{opacity:0;transform:scale(.7)} to{opacity:1;transform:scale(1)} }
.wa-popup-header {
  background: #075E54;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px; color: #fff;
}
.wa-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.wa-header-info { flex: 1; }
.wa-header-info strong { display: block; font-size: .95rem; }
.wa-header-info span { font-size: .75rem; opacity: .8; }
.wa-close-btn {
  background: none; border: none; color: rgba(255,255,255,.7);
  font-size: 1rem; cursor: pointer; padding: 4px 6px;
  border-radius: 4px; transition: color .2s;
}
.wa-close-btn:hover { color: #fff; }
.wa-popup-body { padding: 16px; background: #ece5dd; flex: 1; }
.wa-bubble {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: 12px 14px;
  font-size: .88rem; color: #333;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  margin-bottom: 14px;
  max-width: 90%; line-height: 1.6;
}
.wa-quick-label { font-size: .78rem; font-weight: 700; color: #666; margin-bottom: 8px; }
.wa-quick-btns { display: flex; flex-direction: column; gap: 7px; }
.wa-quick-btn {
  background: #fff;
  border: 1.5px solid #25D366;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: .83rem; color: #075E54; font-weight: 600;
  cursor: pointer; text-align: left;
  transition: background .2s, color .2s;
  font-family: inherit;
}
.wa-quick-btn:hover, .wa-quick-btn.selected { background: #25D366; color: #fff; }
.wa-popup-footer {
  padding: 12px;
  background: #f0f0f0;
  display: flex; gap: 8px; align-items: flex-end;
  border-top: 1px solid #ddd;
}
.wa-popup-footer textarea {
  flex: 1; border: 1.5px solid #ddd; border-radius: 22px;
  padding: 9px 14px; font-size: .85rem; font-family: inherit;
  resize: none; outline: none; max-height: 90px; line-height: 1.5;
  background: #fff; transition: border-color .2s;
}
.wa-popup-footer textarea:focus { border-color: #25D366; }
.wa-send-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: #25D366; border: none; color: #fff;
  font-size: 1rem; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .15s;
}
.wa-send-btn:hover { background: #1ebe5b; transform: scale(1.08); }

/* ========== CAMPAIGNS & BRANDS PAGES ========== */
.cp-page-shell {
  padding: 28px 0 60px;
}

.cp-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .86rem;
  color: #64748b;
  margin-bottom: 18px;
}

.cp-breadcrumb a:hover {
  color: #cb3f1b;
}

.cp-hero {
  border: 1px solid #dbe2ee;
  border-radius: 20px;
  padding: 30px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 140, 66, .24), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(203, 63, 27, .12), transparent 42%),
    linear-gradient(135deg, #fff4ed 0%, #ffffff 62%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
}

.cp-hero h1 {
  font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem);
  color: #0f172a;
  margin-bottom: 12px;
}

.cp-hero p {
  max-width: 760px;
  color: #334155;
  line-height: 1.7;
}

.cp-hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.cp-pill {
  border: 1px solid #f2c5b8;
  background: #ffffff;
  color: #9a3412;
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 700;
  font-size: .82rem;
}

.cp-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.cp-card {
  border: 1px solid #d9e2ef;
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, .11);
}

.cp-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cp-badge {
  background: #cb3f1b;
  color: #fff;
  border-radius: 999px;
  padding: 6px 11px;
  font-weight: 800;
  font-size: .8rem;
}

.cp-cat {
  color: #64748b;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.cp-card h3 {
  color: #0f172a;
  line-height: 1.4;
  font-size: 1.07rem;
}

.cp-note {
  color: #475569;
  font-size: .9rem;
}

.cp-meta {
  color: #64748b;
  font-size: .84rem;
}

.cp-dual {
  margin-top: 24px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1.15fr .85fr;
}

.cp-box {
  border: 1px solid #dbe2ee;
  border-radius: 16px;
  padding: 22px;
  background: #fff;
}

.cp-box h2 {
  color: #0f172a;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.cp-list {
  display: grid;
  gap: 10px;
}

.cp-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #334155;
  line-height: 1.5;
}

.cp-list i {
  color: #cb3f1b;
  margin-top: 2px;
}

.brand-hero {
  border: 1px solid #dbe2ee;
  border-radius: 20px;
  padding: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(16, 24, 38, .16), transparent 35%),
    radial-gradient(circle at 0% 100%, rgba(30, 41, 59, .1), transparent 40%),
    linear-gradient(135deg, #f5f8ff 0%, #ffffff 62%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
}

.brand-hero h1 {
  font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem);
  margin-bottom: 12px;
  color: #0f172a;
}

.brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.brand-pill {
  border: 1px solid #d4deef;
  background: #fff;
  color: #1e293b;
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 700;
  font-size: .82rem;
}

.brand-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.brand-card {
  border: 1px solid #dbe2ee;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.brand-chip {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(145deg, #cb3f1b, #9f2f12);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 11px;
}

.brand-card h3 {
  font-size: 1.02rem;
  color: #0f172a;
  margin-bottom: 6px;
}

.brand-card p {
  color: #475569;
  font-size: .89rem;
  line-height: 1.55;
}

.brand-kpi {
  margin-top: 22px;
  border: 1px solid #dbe2ee;
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-kpi-item {
  border: 1px dashed #d6dfed;
  border-radius: 12px;
  padding: 14px;
}

.brand-kpi-item strong {
  display: block;
  font-size: 1.45rem;
  color: #cb3f1b;
  margin-bottom: 6px;
}

.brand-kpi-item span {
  color: #334155;
  font-size: .9rem;
}

.brand-cta {
  margin-top: 22px;
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(120deg, #0f172a, #1e293b);
  color: #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-cta h2 {
  color: #fff;
  margin-bottom: 7px;
}

/* ========== BLOG INSIGHTS PAGE ========== */
.ins-page-shell {
  padding: 28px 0 60px;
}

.ins-hero {
  border: 1px solid #dbe2ee;
  border-radius: 20px;
  padding: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(15, 23, 42, .15), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(203, 63, 27, .12), transparent 40%),
    linear-gradient(130deg, #f8faff 0%, #ffffff 64%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
}

.ins-hero h1 {
  font-size: clamp(1.75rem, 1.25rem + 1.3vw, 2.35rem);
  color: #0f172a;
  margin-bottom: 11px;
}

.ins-hero p {
  color: #334155;
  max-width: 760px;
  line-height: 1.7;
}

.ins-hero-tags {
  margin-top: 16px;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.ins-hero-tag {
  border: 1px solid #d8e2f0;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: .82rem;
  font-weight: 700;
  color: #1e293b;
  background: #fff;
}

.ins-layout {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.ins-feature {
  border: 1px solid #dbe2ee;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.ins-feature-media {
  min-height: 210px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2.8rem;
  background: linear-gradient(145deg, #cb3f1b, #7f230e);
  position: relative;
  overflow: hidden;
}

.ins-feature-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(15, 23, 42, .12), rgba(15, 23, 42, .5));
  z-index: 1;
}

.ins-feature-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .5s ease;
}

.ins-feature:hover .ins-feature-media img {
  transform: scale(1.06);
}

.ins-feature-body {
  padding: 22px;
}

.ins-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid #f5c5b8;
  color: #9a3412;
  background: #fff4ed;
  font-size: .78rem;
  font-weight: 800;
  padding: 6px 11px;
  margin-bottom: 12px;
}

.ins-feature h2 {
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 10px;
}

.ins-feature p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 14px;
}

.ins-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ins-card {
  border: 1px solid #dbe2ee;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ins-card-media {
  height: 136px;
  background: linear-gradient(145deg, #f4f7fc, #e8eef8);
  border-bottom: 1px solid #dbe2ee;
  position: relative;
  overflow: hidden;
}

.ins-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15, 23, 42, .1), rgba(15, 23, 42, .38));
  z-index: 1;
}

.ins-card:nth-child(2n) .ins-card-media::before {
  background: linear-gradient(160deg, rgba(203, 63, 27, .12), rgba(15, 23, 42, .4));
}

.ins-card:nth-child(3n) .ins-card-media::before {
  background: linear-gradient(160deg, rgba(14, 116, 144, .2), rgba(15, 23, 42, .45));
}

.ins-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.ins-card:hover .ins-card-media img {
  transform: scale(1.08);
}

.ins-card-body {
  padding: 16px;
}

.ins-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 28px rgba(15, 23, 42, .1);
}

.ins-card h3 {
  color: #0f172a;
  font-size: .98rem;
  line-height: 1.45;
  margin-bottom: 8px;
  transition: color .25s ease;
}

.ins-card:hover h3 {
  color: #cb3f1b;
}

.ins-card .btn-outline {
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.ins-card:hover .btn-outline {
  transform: translateY(-1px);
}

.ins-card p {
  color: #64748b;
  font-size: .86rem;
  line-height: 1.6;
  margin-bottom: 11px;
}

.ins-card-meta {
  color: #64748b;
  font-size: .8rem;
  margin-bottom: 10px;
}

.ins-side {
  display: grid;
  gap: 16px;
}

.ins-box {
  border: 1px solid #dbe2ee;
  border-radius: 16px;
  background: #fff;
  padding: 18px;
}

.ins-box h3 {
  color: #0f172a;
  font-size: 1.02rem;
  margin-bottom: 12px;
}

.ins-mini-list {
  display: grid;
  gap: 10px;
}

.ins-mini-item {
  border: 1px dashed #dbe2ee;
  border-radius: 11px;
  padding: 10px;
}

.ins-mini-item strong {
  display: block;
  color: #1e293b;
  font-size: .86rem;
  line-height: 1.4;
  margin-bottom: 4px;
}

.ins-mini-item span {
  color: #64748b;
  font-size: .78rem;
}

.ins-topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ins-topic-tags a {
  border: 1px solid #dbe2ee;
  border-radius: 999px;
  padding: 6px 11px;
  color: #334155;
  font-size: .8rem;
  font-weight: 600;
}

.ins-topic-tags a:hover {
  color: #cb3f1b;
  border-color: #cb3f1b;
}

.ins-box-news {
  background: linear-gradient(130deg, #0f172a, #1e293b);
  color: #e2e8f0;
}

.ins-box-news h3 {
  color: #fff;
}

.ins-box-news p {
  font-size: .88rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.ins-box-news input {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-family: inherit;
  font-size: .85rem;
}

/* ========== COOKIE NOTICE ========== */
.cookie-notice {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--dark);
  color: #ccc;
  z-index: 500;
  padding: 16px;
}
.cookie-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-inner h4 { color: var(--white); white-space: nowrap; }
.cookie-inner p { font-size: .85rem; flex: 1; min-width: 200px; }
.cookie-inner a { color: var(--primary); }
.cookie-inner .btn-primary { white-space: nowrap; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .vitrin-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .header-social { display: none; }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .mid-banners-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .seo-columns { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slider { height: 280px; }
  .slide-content h2 { font-size: 1.7rem; }
  .slide { padding: 0 40px; }

  .cp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-dual { grid-template-columns: 1fr; }
  .brand-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ins-layout { grid-template-columns: 1fr; }
  .ins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .vitrin-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .advantages-grid { flex-direction: column; }
  .top-bar-center { display: none; }
  .header-actions .action-btn span { display: none; }
  .wa-toggle-btn span { display: none; }
  .wa-toggle-btn { border-radius: 50%; padding: 14px; }
  .wa-popup { width: 280px; }

  .products-slider-wrapper {
    padding-inline: 44px;
  }

  .prod-slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .cp-page-shell { padding-top: 18px; }
  .cp-hero, .brand-hero, .ins-hero { padding: 20px; }
  .cp-grid, .brand-wall, .brand-kpi { grid-template-columns: 1fr; }
  .ins-page-shell { padding-top: 18px; }
  .ins-grid { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .vitrin-grid { grid-template-columns: 1fr 1fr; }
  .hero-slider { height: 220px; }
  .slide-content h2 { font-size: 1.2rem; }
  .slide-content p { font-size: .85rem; }
  .slide { padding: 0 20px; }
}

/* ========== EXTRA MOBILE BREAKPOINTS ========== */

/* Extra small phones (320px - 480px) */
@media (max-width: 480px) {
  html { font-size: clamp(14px, 3vw, 16px); }
  
  .header-inner { gap: 12px; }
  .logo-img { height: 44px; }
  .logo-main { font-size: 1.6rem; }
  
  .header-search { flex-direction: column; }
  .header-search input { padding: 12px 10px; }
  .header-search button { padding: 12px 10px; }
  
  .header-actions .action-btn { padding: 6px 8px; font-size: .65rem; }
  
  .hero-slider { height: 200px; }
  .slide-content h2 { font-size: 1rem; font-weight: 700; }
  .slide-content p { font-size: .75rem; margin-bottom: 12px; }
  .slide-content .btn-primary { padding: 8px 14px; font-size: .8rem; }
  
  .section { padding: 30px 0; }
  .section-title { font-size: 1.2rem; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  
  .advantages-grid { gap: 8px; }
  .advantage-item { padding: 8px 12px; font-size: .8rem; }
  
  .categories-grid { gap: 8px; grid-template-columns: repeat(2, 1fr); }
  .cat-icon { width: 40px; height: 40px; font-size: 1.1rem; }
  
  .product-card { min-width: 160px; max-width: 160px; }
  .product-img { min-height: 120px; }
  .product-name { font-size: .8rem; min-height: 36px; }
  .btn-add-cart { padding: 8px 10px; font-size: .75rem; margin: 0 10px 10px; }
  
  .mid-banner-text h3 { font-size: 1rem; }
  .mid-banner-text p { font-size: .8rem; }
  
  .blog-grid { gap: 12px; }
  .blog-img { height: 120px; font-size: 2.2rem; }
  .blog-content { padding: 12px; }
  
  .footer-grid { gap: 18px; padding-bottom: 30px; }
  .footer h4 { font-size: .75rem; margin-bottom: 10px; }
  .footer p { font-size: .75rem; }
  
  .cookie-notice { padding: 12px 8px; }
  .cookie-inner { gap: 12px; }
  .cookie-inner h4 { font-size: .8rem; }
  .cookie-inner p { font-size: .75rem; }
}

/* Small tablets (481px - 640px) */
@media (min-width: 481px) and (max-width: 640px) {
  .header-search { gap: 8px; }
  .hero-slider { height: 240px; }
  .slide-content h2 { font-size: 1.4rem; }
  
  .product-card { min-width: 180px; max-width: 180px; }
  
  .footer-grid { grid-template-columns: 1fr; }
}

/* Medium tablets (641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .vitrin-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  
  .cp-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-wall { grid-template-columns: repeat(2, 1fr); }
  .brand-kpi { grid-template-columns: repeat(2, 1fr); }
  .ins-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Large tablets & landscape (769px+) */
@media (min-width: 769px) {
  body { overflow-x: hidden; }
}

/* ========== iOS SPECIFIC FIXES ========== */

/* Safari safe area handling */
@supports (padding: max(0px)) {
  body {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
  
  .wa-widget {
    bottom: max(24px, calc(24px + env(safe-area-inset-bottom)));
    left: max(24px, calc(24px + env(safe-area-inset-left)));
  }
  
  .header {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  
  .footer {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

/* iOS Safari specific */
@supports (-webkit-appearance: none) {
  /* Prevent default Safari input styling */
  input[type="text"],
  input[type="email"],
  input[type="number"],
  textarea {
    border-radius: 6px;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
  }
  
  /* Improve select appearance */
  select {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
  }
  
  /* Fix fixed positioning issues */
  .header {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  
  /* Improve scrolling performance */
  .categories-sidebar,
  .filter-sidebar,
  .nav-dropdown {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  
  /* Prevent text enlargement on iOS */
  body input,
  body textarea,
  body select {
    font-size: 16px;
  }
  
  /* Better focus states */
  button:focus,
  a:focus,
  input:focus,
  textarea:focus,
  select:focus {
    outline: 2px solid rgba(203, 63, 27, 0.4);
    outline-offset: 2px;
  }
}

/* Landscape orientation fixes */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-slider { height: 200px; }
  .top-bar { padding: 4px 0; }
  .header { padding: 8px 0; }
  .main-nav { top: var(--sticky-nav-top); }
  
  .slide-content h2 { font-size: 1rem; }
  .slide-content p { font-size: .7rem; }
  .slide-content .btn-primary { padding: 6px 12px; font-size: .75rem; }
}

/* iPhone notch/Dynamic Island handling */
@supports (padding: max(0px)) {
  .header {
    padding-top: max(14px, env(safe-area-inset-top));
  }
}

/* High DPI devices (retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .slider-btn { box-shadow: 0 8px 24px rgba(203, 63, 27, 0.25); }
  .product-card { box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08); }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========== ADMIN PANEL ========== */
.admin-page {
  background: #f3f6fb;
}

.admin-header {
  padding: 42px 0 30px;
  background: linear-gradient(180deg, #101826 0%, #17243a 100%);
  color: #fff;
}

.admin-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  flex-wrap: wrap;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 11px 18px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  text-transform: uppercase;
}

.admin-header h1 {
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  line-height: 1.05;
  max-width: 760px;
  margin: 16px 0 10px;
}

.admin-header p {
  color: rgba(255,255,255,0.82);
  max-width: 720px;
  font-size: 1rem;
}

.admin-panel {
  padding: 32px 0 52px;
}

.admin-panel-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 420px);
}

.admin-card {
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e5ebf5;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.admin-main-card {
  display: grid;
  gap: 24px;
}

.admin-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}

.admin-field-grid {
  display: grid;
  gap: 18px;
}

.admin-panel-input,
.admin-panel-textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dbe2ee;
  background: #f7fbff;
  border-radius: 16px;
  padding: 14px 16px;
  color: #0f172a;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}

.admin-panel-input:focus,
.admin-panel-textarea:focus {
  outline: none;
  border-color: #cb3f1b;
  box-shadow: 0 0 0 4px rgba(203, 63, 27, .12);
}

.admin-panel-textarea {
  min-height: 130px;
  resize: vertical;
}

.admin-links-grid {
  display: grid;
  gap: 12px;
}

.admin-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 48px;
  gap: 12px;
  align-items: center;
}

.admin-link-row input {
  min-height: 44px;
}

.admin-link-delete {
  width: 48px;
  height: 48px;
  border: 1px solid #f8d2c1;
  background: #fff5f1;
  color: #c84d30;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.admin-link-delete:hover {
  background: #fde6da;
  transform: translateY(-1px);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.admin-status {
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid #dbe5f1;
  color: #334155;
  padding: 14px 16px;
  margin-top: 18px;
}

.admin-status-saved {
  border-color: #b7e3c7;
  background: #eff7ef;
  color: #1d4d2d;
}

.admin-preview-card {
  position: sticky;
  top: 24px;
}

.admin-card-note {
  color: #475569;
  font-size: .95rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.admin-product-form {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
}

.admin-form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #dbe5f1;
  border-radius: 18px;
  background: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eef3fb;
  text-align: left;
  color: #334155;
}

.admin-table th {
  background: #f8fbff;
  font-weight: 700;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table-empty {
  text-align: center;
  color: #64748b;
  padding: 28px 0;
}

.admin-actions-cell {
  display: flex;
  gap: 8px;
}

.admin-table-btn {
  border: 1px solid #dbe5f1;
  background: #fff;
  color: #0f172a;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.preview-snapshot-large {
  padding: 26px;
  min-height: 380px;
}

.preview-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.preview-product-card {
  border-radius: 20px;
  border: 1px solid #dbe5f1;
  background: #fff;
  padding: 18px;
  display: grid;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.preview-product-title {
  font-weight: 800;
  color: #0f172a;
  font-size: 1rem;
}

.preview-product-meta {
  color: #64748b;
  font-size: .9rem;
}

.preview-product-price {
  color: #cb3f1b;
  font-weight: 800;
}

.preview-empty {
  padding: 28px;
  color: #64748b;
  text-align: center;
}

.preview-panel {
  display: grid;
  gap: 16px;
}

.preview-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.preview-copy {
  color: #475569;
  line-height: 1.7;
}

.preview-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: #334155;
}

.preview-row strong {
  color: #0f172a;
}

  .preview-snapshot {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #dbe5f1;
    background: #f8fbff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 16px 40px rgba(15, 23, 42, .08);
  }

  .preview-snap-topbar {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1fr;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: linear-gradient(90deg, rgba(16,24,38,.98), rgba(16,24,38,.9));
    color: #fff;
  }

  .preview-snap-topbar-left,
  .preview-snap-topbar-center,
  .preview-snap-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .preview-snap-topbar-center {
    justify-content: center;
    text-align: center;
    font-size: .92rem;
    line-height: 1.5;
  }

  .preview-topbar-link {
    color: #fff;
    font-size: .88rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.25);
    padding: 8px 12px;
    border-radius: 999px;
    transition: transform .2s, border-color .2s, background .2s;
  }

  .preview-topbar-link:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.5);
    transform: translateY(-1px);
  }

  .preview-snap-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 22px 20px;
  }

  .preview-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .preview-logo {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e3e8f2;
    padding: 10px;
  }

  .preview-logo-alt {
    color: #64748b;
    font-size: .85rem;
  }

  .preview-meta-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
  }

  .preview-search-bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 320px);
    padding: 14px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f3;
    color: #475569;
    font-size: .95rem;
  }

  .preview-snap-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 20px 18px;
  }

  .preview-nav-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    border: 1px solid #dbe5f1;
    font-weight: 700;
    font-size: .9rem;
  }

  .preview-snap-hero {
    display: grid;
    grid-template-columns: 1fr 180px;
    align-items: stretch;
    gap: 14px;
    padding: 20px;
    background: linear-gradient(135deg, #fff 0%, #f2f8ff 100%);
  }

  .preview-hero-copy {
    display: grid;
    gap: 10px;
  }

  .preview-hero-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
  }

  .preview-hero-description {
    color: #475569;
    line-height: 1.7;
  }

  .preview-hero-image-wrap {
    height: 100%;
    min-height: 148px;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    display: grid;
    place-items: center;
    border: 1px solid #e1e9f5;
  }

  .preview-og-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  @media (max-width: 860px) {
    .preview-snap-topbar {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .preview-snap-header {
      flex-direction: column;
      align-items: stretch;
    }

    .preview-snap-hero {
      grid-template-columns: 1fr;
    }
  }
}

.admin-login-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  padding: 24px;
}

body.admin-locked .admin-login-overlay {
  display: grid;
}

.admin-login-card {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e5ebf5;
  padding: 32px;
  box-shadow: 0 32px 72px rgba(15, 23, 42, 0.18);
}

.admin-login-copy {
  color: #475569;
  margin: 10px 0 20px;
  line-height: 1.7;
}

.admin-login-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-login-field span {
  color: #334155;
  font-weight: 700;
}

.admin-login-field input {
  width: 100%;
  border: 1px solid #dbe2ee;
  background: #f7fbff;
  border-radius: 14px;
  padding: 14px 16px;
  color: #0f172a;
  font-size: 1rem;
}

.admin-login-submit {
  width: 100%;
}

.admin-login-note {
  margin-top: 14px;
  color: #64748b;
  font-size: .95rem;
}

.admin-login-error {
  min-height: 1.4rem;
  margin-top: 14px;
  color: #b83339;
  font-weight: 700;
}

body.admin-locked .admin-panel,
body.admin-locked .admin-preview-card,
body.admin-locked .admin-header {
  filter: blur(1px);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 640px) {
  .admin-header-inner {
    flex-direction: column;
  }

  .admin-link-row {
    grid-template-columns: 1fr;
  }

  .admin-link-delete {
    width: 100%;
  }
}
