﻿/* COLLECTION PAGE */
.active-cat { opacity: .5; pointer-events: none; }
.col-banner { line-height: 0; }
.col-banner img { width: 100%; display: block; }

.breadcrumb { padding: 12px 28px; font-size: 13px; color: #888; border-bottom: 1px solid #eee; }
.bc-inner { max-width: 1400px; margin: 0 auto; }
.bc-inner a { color: #888; text-decoration: none; }
.bc-inner a:hover { color: var(--orange); }
.bc-inner span { margin: 0 6px; }

/* FILTERS */
.col-filters {
  position: sticky;
  top: 112px;
  z-index: 100;
  background: #fff;
  border-bottom: 2px solid #eee;
}
.filters-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.filters-inner::-webkit-scrollbar { display: none; }
.filter-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 14px 20px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
  margin-bottom: -2px;
}
.filter-btn:hover { color: var(--orange); }
.filter-btn.active { color: var(--orange); border-bottom-color: var(--orange); }

/* ── SECTIONS ────────────────────────────────────────────── */
.col-products { padding: 16px 28px 64px; }

.col-section { max-width: 1400px; margin: 0 auto 48px; }
.col-section-title {
  font-size: 22px; font-weight: 700; color: #1a1a1a;
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid #eee;
}

.col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ── PRODUCT CARD ──────────────────────────────────────────── */
.cc-card {
  background: #fff; border: 1px solid #e8e8e8;
  border-radius: 10px; overflow: hidden;
  text-decoration: none; color: #1a1a1a;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .2s;
  position: relative;
}
.cc-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,.1); transform: translateY(-2px); }

.cc-img {
  position: relative; aspect-ratio: 1/1;
  background: #f8f8f8; overflow: hidden;
}
.cc-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block; transition: opacity .3s;
}
.cc-img .cc-img-alt {
  position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
}
.cc-card:hover .cc-img-alt { opacity: 1; }

.cc-badge-off {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  background: #1aad4e; color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 3px 8px; border-radius: 4px; letter-spacing: .3px;
}
.cc-badge-tag {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  background: #e07840; color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 3px 8px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .4px;
}

.cc-info { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.cc-info h3 {
  font-size: 13px; font-weight: 600; line-height: 1.35; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.cc-dots { display: flex; gap: 5px; margin-bottom: 10px; flex-wrap: wrap; }
.cc-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.12); flex-shrink: 0;
  cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.cc-dot:hover  { transform: scale(1.2); }
.cc-dot.active { border: 2px solid #333; box-shadow: 0 0 0 2px rgba(0,0,0,.15); transform: scale(1.15); }

.cc-old { display: block; font-size: 12px; color: #999; text-decoration: line-through; margin-bottom: 2px; }
.cc-new { display: block; font-size: 17px; font-weight: 800; color: #1aad4e; margin-bottom: 3px; }
.cc-inst { font-size: 11.5px; color: #888; display: block; margin-bottom: 12px; }

.cc-buy {
  display: block; width: 100%; padding: 12px;
  background: #1aad4e; color: #fff;
  border: none; border-radius: 6px;
  font-family: var(--font); font-size: 13px; font-weight: 800;
  cursor: pointer; transition: background .2s;
  letter-spacing: .8px; text-transform: uppercase; margin-top: auto;
}
.cc-buy:hover { background: #158a3e; }

/* FEATURES */
.for-whom { background: #faf8f5; padding: 72px 28px; }
.fw-inner { max-width: 1200px; margin: 0 auto; }
.fw-inner h2 { font-size: 28px; font-weight: 800; text-align: center; margin-bottom: 48px; }
.fw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.fw-item { background: #fff; border-radius: 12px; padding: 28px 22px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.fw-icon { font-size: 32px; margin-bottom: 14px; }
.fw-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.fw-item p { font-size: 13.5px; color: #666; line-height: 1.6; }

.feature-split { padding: 0; }
.fs-inner {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.feature-split.reverse .fs-inner { direction: rtl; }
.feature-split.reverse .fs-inner > * { direction: ltr; }
.fs-media { overflow: hidden; }
.fs-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-text {
  display: flex; flex-direction: column;
  justify-content: center; padding: 64px 72px;
  background: #fff;
}
.feature-split.reverse .fs-text { background: #faf8f5; }
.fs-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #888; margin-bottom: 12px; }
.fs-text h2 { font-size: 36px; font-weight: 900; letter-spacing: -1px; margin-bottom: 20px; }
.fs-text p { font-size: 15px; color: #555; line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.fs-btn {
  display: inline-block; background: var(--orange); color: #fff;
  padding: 13px 36px; border-radius: 6px; text-decoration: none;
  font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  width: fit-content; transition: background .2s;
}
.fs-btn:hover { background: #c96a2e; }

.why-section { background: #1a1a1a; padding: 72px 28px; }
.why-inner { max-width: 1200px; margin: 0 auto; }
.why-inner h2 { font-size: 28px; font-weight: 800; color: #fff; text-align: center; margin-bottom: 48px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-item { padding: 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; }
.why-icon { font-size: 28px; margin-bottom: 14px; display: flex; align-items: center; }
.why-item h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.why-item p { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.6; }

/* ══ MODAL ══════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 500;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.prod-modal {
  position: fixed;
  inset: 0;
  z-index: 501;
  background: #fff;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.prod-modal.open { transform: translateY(0); }
.modal-close {
  position: fixed;
  top: 20px; right: 24px;
  z-index: 502;
  background: #fff;
  border: 1px solid #ddd;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  transition: all .2s;
}
.modal-close:hover { background: #f5f5f5; }

.modal-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* GALLERY */
.modal-gallery { display: flex; gap: 12px; position: sticky; top: 24px; }
.gallery-thumbs {
  display: flex; flex-direction: column;
  gap: 8px; max-height: 560px;
  overflow-y: auto; scrollbar-width: thin;
}
.gallery-thumbs::-webkit-scrollbar { width: 3px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }
.g-thumb {
  width: 72px; height: 72px; flex-shrink: 0;
  border: 2px solid transparent; border-radius: 8px;
  overflow: hidden; cursor: pointer; background: #1a1a1a;
  transition: border-color .2s; position: relative;
}
.g-thumb:hover, .g-thumb.active { border-color: var(--orange); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-thumb-video { background: #111; }
.g-play-icon {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  background: rgba(0,0,0,.35);
  border-radius: 6px;
  pointer-events: none;
}
#galleryMainImg { width:100%; height:100%; object-fit:cover; display:block; border-radius:12px; }
.gallery-main {
  flex: 1; aspect-ratio: 1/1;
  background: #f7f4f0; border-radius: 12px;
  overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* MODAL INFO */
.modal-info {}
.modal-breadcrumb { font-size: 12px; color: #999; margin-bottom: 12px; }
.modal-breadcrumb a { color: #999; text-decoration: none; }
.modal-breadcrumb a:hover { color: var(--orange); }
.modal-info h1 { font-size: 22px; font-weight: 800; line-height: 1.3; margin-bottom: 8px; letter-spacing: -.3px; }
.modal-stars { font-size: 13px; color: #f5a623; margin-bottom: 20px; }
.modal-stars span { color: #888; font-size: 12px; margin-left: 4px; }
.modal-price-wrap { background: #faf8f5; border-radius: 10px; padding: 16px 18px; margin-bottom: 20px; }
.modal-price-old { font-size: 13px; color: #aaa; text-decoration: line-through; display: block; margin-bottom: 2px; }
.modal-price-new { font-size: 32px; font-weight: 900; color: #1a1a1a; margin-bottom: 6px; letter-spacing: -1px; }
.modal-pix { font-size: 13px; color: #2e7d32; margin-bottom: 4px; }
.modal-inst { font-size: 13px; color: #666; }

.modal-variants { margin-bottom: 20px; }
.mv-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #888; margin-bottom: 10px; }
.mv-options { display: flex; gap: 8px; flex-wrap: wrap; }
.mv-opt {
  display: flex; align-items: center; gap: 7px;
  border: 2px solid #e0e0e0; border-radius: 8px;
  padding: 8px 14px; cursor: pointer; font-size: 13px; font-weight: 500;
  transition: border-color .2s; background: #fff;
}
.mv-opt:hover { border-color: #aaa; }
.mv-opt.active { border-color: var(--orange); }
.mv-color-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); }

.modal-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.modal-btn-buy {
  display: block; background: #25d366; color: #fff;
  text-align: center; padding: 15px; border-radius: 8px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: background .2s;
}
.modal-btn-buy:hover { background: #1db954; }
.modal-btn-cart {
  padding: 14px; background: #1a1a1a; color: #fff;
  border: none; border-radius: 8px; font-family: var(--font);
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background .2s;
}
.modal-btn-cart:hover { background: var(--orange); }

.modal-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.modal-badges span {
  background: #f5f5f5; border-radius: 20px;
  padding: 5px 12px; font-size: 12px; font-weight: 500;
}
.modal-dims { font-size: 13px; color: #666; margin-bottom: 20px; padding: 14px; background: #faf8f5; border-radius: 8px; }
.modal-features { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid #eee; padding-top: 20px; }
.mf-item { display: flex; align-items: center; gap: 12px; }
.mf-icon { font-size: 22px; flex-shrink: 0; width: 28px; text-align: center; }
.mf-item div { display: flex; flex-direction: column; gap: 1px; }
.mf-item strong { font-size: 13px; font-weight: 700; }
.mf-item span { font-size: 12px; color: #888; }

/* MODAL TABS */
.modal-tabs { max-width: 1200px; margin: 0 auto; padding: 40px 32px 80px; border-top: 1px solid #eee; margin-top: 40px; }
.mt-tabs { display: flex; gap: 0; border-bottom: 1px solid #eee; margin-bottom: 24px; }
.mt-tab {
  background: none; border: none; border-bottom: 3px solid transparent;
  padding: 12px 20px; font-family: var(--font); font-size: 14px;
  font-weight: 600; color: #888; cursor: pointer;
  transition: color .2s, border-color .2s; margin-bottom: -1px;
}
.mt-tab:hover { color: #333; }
.mt-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.mt-content { font-size: 14px; color: #555; line-height: 1.7; }
.mt-content.hidden { display: none; }
.dims-table { width: 100%; border-collapse: collapse; }
.dims-table td { padding: 10px 16px; border-bottom: 1px solid #eee; font-size: 14px; }
.dims-table td:first-child { font-weight: 600; color: #333; width: 200px; }
.mat-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mat-list li { padding: 10px 14px; background: #faf8f5; border-radius: 8px; font-size: 14px; }

/* RESPONSIVE */
@media (max-width:1100px){.col-grid{grid-template-columns:repeat(3,1fr)}.fw-grid{grid-template-columns:repeat(2,1fr)}.why-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:768px){
  .col-products{padding:12px 14px 40px}
  .col-section-title{font-size:18px}
  .col-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .fs-inner{grid-template-columns:1fr;min-height:auto}
  .fs-media{aspect-ratio:16/9}
  .fs-text{padding:24px 16px}
  .ft-text h3{font-size:20px}
  .features-title-box h2{font-size:20px}
  .fw-grid{grid-template-columns:1fr 1fr}
  .why-grid{grid-template-columns:1fr}
  .modal-body{grid-template-columns:1fr}
  .modal-img{display:none}
}
@media (max-width:600px){
  .col-products{padding:10px 10px 28px;overflow-x:hidden}
  .col-banner{min-height:130px;overflow:hidden}
  .col-banner-title{font-size:20px}
  .col-banner-sub{font-size:12px}
  .col-section-title{font-size:15px}
  /* Cards grid */
  .col-grid{grid-template-columns:repeat(2,1fr);gap:8px}
  .cc-card{border-radius:8px}
  .cc-img-wrap{border-radius:8px 8px 0 0}
  .cc-img{aspect-ratio:unset !important;height:140px}
  .cc-img img{width:100%;height:100%;object-fit:cover}
  .cc-name{font-size:12px;line-height:1.3}
  .cc-old{font-size:11px}
  .cc-new{font-size:13px}
  .cc-badge{font-size:9px;padding:2px 6px}
  .cc-info{padding:8px 8px 10px}
  /* Feature split */
  .fs-text{padding:18px 12px}
  .fs-text h2{font-size:17px}
  .fs-text p{font-size:13px}
  /* Why grid */
  .fw-grid{grid-template-columns:1fr}
  .why-inner{padding:28px 12px}
  .why-card{padding:14px 12px}
  .why-title{font-size:13px}
  /* Modal */
  .modal-overlay{padding:0}
  .modal-box{width:100%;max-width:100%;margin:0;border-radius:0;max-height:100vh;overflow-y:auto}
  .modal-wrap{padding:12px}
  .modal-body{padding:20px 12px;gap:16px}
  .modal-tabs{padding:14px 12px 28px}
  .modal-tab-btn{font-size:12px;padding:7px 10px}
  .modal-title{font-size:17px}
  .modal-desc{font-size:13px}
  /* Gallery modal */
  .gallery-main{aspect-ratio:unset !important;height:240px}
  .gallery-main img{width:100%;height:100%;object-fit:cover}
}
@media (max-width:400px){
  .col-grid{gap:6px}
  .cc-img{height:120px}
  .cc-name{font-size:11px}
  .cc-new{font-size:12px}
  .cc-info{padding:6px 7px 8px}
  .gallery-main{height:200px}
}

