/* ======================== SHOP PAGE ======================== */

/* Hero */
.shop-hero {
  padding: 140px 24px 60px;
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.shop-hero-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.dealer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-1);
  border: 1px solid rgba(59,184,224,0.2);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand);
}
.dealer-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.shop-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.1;
}
.shop-hero-sub {
  font-size: 1.05rem;
  color: var(--gray-3);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Info section */
.shop-info {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.info-card {
  text-align: center;
  padding: 24px 16px;
}
.info-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gray-1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.info-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.info-card p {
  font-size: 0.8rem;
  color: var(--gray-3);
  line-height: 1.5;
}

/* Shop sections */
.shop-section {
  padding: 80px 0;
}
.shop-section-alt {
  background: var(--dark-2);
}
.brand-header {
  margin-bottom: 40px;
}
.shop-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--white-dim);
}
.shop-subtitle:first-of-type {
  margin-top: 0;
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: border-color 0.3s;
}
.product-card:hover {
  border-color: rgba(59,184,224,0.2);
}
.product-featured {
  border-color: rgba(59,184,224,0.15);
}
.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--brand);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.product-img-placeholder {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: var(--gray-1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.product-img-real {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--gray-1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img-real img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Product gallery */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0;
}
.product-gallery img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: var(--gray-1);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
}
.product-gallery img:hover {
  transform: scale(1.02);
  border-color: rgba(59,184,224,0.3);
}
.product-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.product-desc {
  font-size: 0.85rem;
  color: var(--gray-3);
  line-height: 1.6;
  margin-bottom: 16px;
}
.product-features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.product-features li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.5;
}
.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* Price block */
.product-price-block {
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.product-price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.product-currency {
  font-size: 1rem;
  font-weight: 600;
}
.product-vat {
  font-size: 0.78rem;
  color: var(--gray-3);
}

/* Order buttons */
.product-order-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-xs);
  background: var(--brand);
  color: var(--dark);
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  transition: background 0.3s;
  margin-bottom: 8px;
}
.product-order-btn:hover { background: var(--brand-dark); }
.product-call-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--gray-2);
  color: var(--white);
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  transition: all 0.3s;
}
.product-call-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Included box */
.included-box {
  margin-top: 32px;
  padding: 28px;
  background: var(--gray-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.included-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.included-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.included-grid span {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--white-dim);
}

/* SW Table */
.sw-table-wrapper {
  overflow-x: auto;
  margin-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.sw-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.sw-table thead {
  background: var(--gray-1);
}
.sw-table th {
  padding: 14px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-3);
  text-align: left;
  white-space: nowrap;
}
.sw-table td {
  padding: 16px;
  border-top: 1px solid var(--border);
  vertical-align: middle;
}
.sw-table tbody tr {
  transition: background 0.2s;
}
.sw-table tbody tr:hover {
  background: rgba(59,184,224,0.03);
}
.sw-featured {
  background: rgba(59,184,224,0.05);
}
.sw-code {
  display: inline-block;
  background: var(--gray-1);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: monospace;
  color: var(--brand);
  white-space: nowrap;
}
.sw-table td strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.sw-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-3);
  line-height: 1.4;
}
.sw-price {
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}
.sw-vat {
  font-size: 0.72rem;
  color: var(--gray-3);
  white-space: nowrap;
}
.sw-order-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-xs);
  background: var(--brand);
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.3s;
  white-space: nowrap;
}
.sw-order-btn:hover { background: var(--brand-dark); }

/* Master vs Slave box */
.master-slave-box {
  margin-top: 48px;
  padding: 32px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.master-slave-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}
.ms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ms-card {
  padding: 24px;
  background: var(--gray-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.ms-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 14px;
}
.ms-card ul {
  list-style: none;
  padding: 0;
}
.ms-card li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 0.83rem;
  color: var(--white-dim);
  line-height: 1.5;
}
.ms-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* Responsive */
@media (max-width: 991px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .ms-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .shop-hero { padding: 110px 16px 40px; }
  .shop-hero-title { font-size: 1.6rem; }
  .shop-section { padding: 48px 0; }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .info-card { padding: 16px 8px; }
  .info-card h3 { font-size: 0.8rem; }
  .info-card p { font-size: 0.72rem; }
  .product-card { padding: 20px 16px; }
  .product-price { font-size: 1.5rem; }
  .product-name { font-size: 1rem; }
  .product-desc { font-size: 0.8rem; }
  .product-features li { font-size: 0.78rem; }
  .sw-table-wrapper { margin: 0 -16px; padding: 0 0; }
  .sw-table { font-size: 0.72rem; }
  .sw-table th { padding: 8px 6px; font-size: 9px; letter-spacing: 0.5px; }
  .sw-table td { padding: 10px 6px; }
  .sw-table td strong { font-size: 0.78rem; }
  .sw-desc { font-size: 0.68rem; }
  .sw-price { font-size: 0.78rem; }
  .sw-vat { font-size: 0.65rem; }
  .sw-code { font-size: 10px; padding: 2px 5px; }
  .sw-order-btn { padding: 6px 10px; font-size: 10px; }
  .steps-grid { grid-template-columns: 1fr; }
  .product-gallery { grid-template-columns: 1fr; }
  .product-gallery img { height: 180px; }
  .included-box { padding: 16px; }
  .included-grid span { font-size: 11px; padding: 4px 10px; }
  .master-slave-box { padding: 16px; }
  .ms-card { padding: 16px; }
  .brand-header { margin-bottom: 24px; }
  .shop-subtitle { font-size: 0.95rem; margin: 32px 0 16px; }
  .dealer-badge { font-size: 10px; padding: 6px 14px; }
}
