/* ===== PULTOK STORE — Main Stylesheet ===== */
/* Design inspired by promo.ua, adapted for remote controls */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #1B3C91;
  --primary-dark: #142D6E;
  --primary-light: #2A4FAF;
  --accent-green: #00A651;
  --accent-green-dark: #008C44;
  --sale-red: #E53935;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --bg: #F5F5F7;
  --bg-dark: #1a1a2e;
  --white: #FFFFFF;
  --border: #E0E0E0;
  --border-light: #F0F0F0;
  --yellow: #FFC107;
  --orange: #FF9800;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-sm: 4px;
  --transition: all 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  transition: var(--transition);
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-light);
  padding: 6px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar__links {
  display: flex;
  gap: 20px;
}

.top-bar__links a:hover {
  color: var(--primary);
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar__phone {
  font-weight: 500;
  color: var(--text);
}

.top-bar__phone svg {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: middle;
}

.top-bar__callback {
  color: var(--primary);
  cursor: pointer;
  border-bottom: 1px dashed var(--primary);
}

.top-bar__lang {
  display: flex;
  gap: 4px;
  align-items: center;
}

.top-bar__lang img {
  width: 18px;
  height: 12px;
}

/* ===== HEADER ===== */
.header {
  background: var(--white);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.header .container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__logo {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.header__logo span {
  color: var(--accent-green);
}

.header__logo-sub {
  font-size: 10px;
  color: var(--text-light);
  font-weight: 400;
  display: block;
  margin-top: -2px;
}

/* Catalog Button */
.btn-catalog {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-green);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}

.btn-catalog:hover {
  background: var(--accent-green-dark);
  color: var(--white);
}

.btn-catalog svg {
  width: 18px;
  height: 18px;
}

/* Search Bar */
.search-bar {
  flex: 1;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 10px 44px 10px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  transition: var(--transition);
}

.search-bar input:focus {
  border-color: var(--primary);
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-bar__btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  border-radius: var(--radius-sm);
}

.search-bar__btn:hover {
  color: var(--primary);
}

/* Header Icons */
.header__icons {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--text-light);
  position: relative;
  border-radius: var(--radius-sm);
}

.icon-link:hover {
  color: var(--primary);
  background: var(--bg);
}

.icon-link svg {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
}

.icon-link__badge {
  position: absolute;
  top: 0;
  right: 4px;
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.icon-link__badge--cart {
  background: var(--sale-red);
}

/* ===== NAV BAR ===== */
.nav-bar {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border);
}

.nav-bar .container {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-bar .container::-webkit-scrollbar {
  display: none;
}

.nav-bar__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.nav-bar__link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-bar__link svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.nav-bar__link--sale {
  color: var(--sale-red);
}

.nav-bar__link--sale:hover {
  color: var(--sale-red);
  border-bottom-color: var(--sale-red);
}

/* ===== HERO SECTION (Homepage) ===== */
.hero {
  padding: 20px 0;
}

.hero .container {
  display: flex;
  gap: 20px;
}

/* Sidebar Categories */
.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sidebar__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.sidebar__item:hover {
  background: var(--bg);
  color: var(--primary);
}

.sidebar__item:last-child {
  border-bottom: none;
}

.sidebar__item svg {
  width: 16px;
  height: 16px;
  opacity: 0.4;
}

.sidebar__item-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  opacity: 0.6;
}

.sidebar__item-left {
  display: flex;
  align-items: center;
}

/* Sidebar Group & Subcategories */
.sidebar__group {
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.sidebar__group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: #ffffff;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, border-left 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar__group.is-open .sidebar__group-header {
  background: #f8fafc;
  border-left: 3px solid var(--primary);
}

.sidebar__group-header:hover {
  background: #f1f5f9;
}

.sidebar__group-badge {
  background: #e0e7ff;
  color: #1b3c91;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.sidebar__group-chevron {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #64748b;
  width: 16px;
  height: 16px;
}

.sidebar__group.is-open .sidebar__group-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.sidebar__sub-list {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, visibility 0.25s ease;
  background: #fbfcfd;
  border-top: 1px solid transparent;
}

.sidebar__group.is-open .sidebar__sub-list {
  max-height: 600px;
  opacity: 1;
  visibility: visible;
  border-top: 1px solid #f1f5f9;
}

.sidebar__sub-close {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  border-top: 1px solid #e2e8f0;
}

.sidebar__sub-close:hover {
  background: #e2e8f0;
  color: var(--primary);
}

.sidebar__sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 10px 24px;
  font-size: 13.5px;
  color: #334155;
  text-decoration: none;
  border-left: 3px solid transparent;
  border-bottom: 1px solid #f8fafc;
  transition: var(--transition);
}

.sidebar__sub-item:hover {
  background: #f1f5f9;
  color: var(--primary);
  border-left-color: var(--primary);
  padding-left: 27px;
}

.sidebar__sub-item--all {
  background: #eff6ff;
  color: #1b3c91;
  font-weight: 600;
  border-bottom: 1px dashed #cbd5e1;
}

.sidebar__sub-item--all:hover {
  background: #dbeafe;
}

.sidebar__sub-title {
  display: flex;
  align-items: center;
}

.sidebar__sub-count {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

.sidebar__item--all-cats {
  background: #f8fafc;
  font-weight: 600;
  color: #1b3c91;
}

/* Banner Slider */
.hero__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.banner-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
}

.banner-slide {
  display: none;
  width: 100%;
  height: 100%;
  padding: 40px;
  color: var(--white);
  position: relative;
}

.banner-slide.active {
  display: flex;
  align-items: center;
}

.banner-slide--1 {
  background: linear-gradient(90deg, rgba(8, 14, 28, 0.95) 0%, rgba(10, 20, 42, 0.8) 50%, rgba(10, 20, 42, 0.2) 100%), url('../images/banners/banner-1.jpg') right center / cover no-repeat;
}

.banner-slide--2 {
  background: linear-gradient(90deg, rgba(14, 8, 28, 0.95) 0%, rgba(20, 10, 42, 0.8) 50%, rgba(20, 10, 42, 0.2) 100%), url('../images/banners/banner-2.jpg') right center / cover no-repeat;
}

.banner-slide--3 {
  background: linear-gradient(90deg, rgba(6, 22, 24, 0.95) 0%, rgba(8, 32, 36, 0.8) 50%, rgba(8, 32, 36, 0.2) 100%), url('../images/banners/banner-3.jpg') right center / cover no-repeat;
}

.banner-slide__badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
  color: #fff;
}

.banner-slide__content {
  max-width: 55%;
  z-index: 2;
}

.banner-slide__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.banner-slide__text {
  font-size: 15px;
  opacity: 0.92;
  margin-bottom: 22px;
  line-height: 1.45;
  max-width: 440px;
}

.banner-slide__btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent-green);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 14px;
}

.banner-slide__btn:hover {
  background: var(--accent-green-dark);
  color: var(--white);
}

.banner-slide__image {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 120px;
  opacity: 0.3;
  z-index: 1;
}

.banner-nav {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.banner-nav__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.banner-nav__dot.active {
  background: var(--white);
  width: 24px;
  border-radius: 5px;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  transition: var(--transition);
}

.banner-arrow:hover {
  background: rgba(255,255,255,0.4);
}

.banner-arrow--prev { left: 12px; }
.banner-arrow--next { right: 12px; }

/* Category Cards Row */
.category-cards {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-card {
  flex: 1;
  min-width: 160px;
  height: 140px;
  border-radius: var(--radius);
  padding: 16px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.category-card--1 { background: linear-gradient(135deg, #1B3C91, #2A4FAF); }
.category-card--2 { background: linear-gradient(135deg, #e65100, #ff9800); }
.category-card--3 { background: linear-gradient(135deg, #1b5e20, #43a047); }
.category-card--4 { background: linear-gradient(135deg, #880e4f, #e91e63); }
.category-card--5 { background: linear-gradient(135deg, #4a148c, #7b1fa2); }

.category-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  z-index: 2;
}

.category-card__price {
  font-size: 12px;
  opacity: 0.85;
  z-index: 2;
}

.category-card__icon {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 48px;
  opacity: 0.25;
  z-index: 1;
}

/* ===== SECTION TITLES ===== */
.section {
  padding: 24px 0;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.section__link {
  font-size: 13px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.section__link:hover {
  text-decoration: underline;
}

/* ===== PRODUCT CARDS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 650px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.product-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.product-card:hover {
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.12), 0 6px 12px -2px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
  transform: translateY(-4px);
}

/* Card Image */
.product-card__image-wrap {
  position: relative;
  padding: 16px;
  text-align: center;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdfdfd;
  overflow: hidden;
}

.product-card__image-wrap img {
  max-height: 165px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__image-wrap img {
  transform: scale(1.06);
}

.product-card__image-placeholder {
  width: 100px;
  height: 120px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #94a3b8;
}

/* Badges */
.product-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.badge--free { background: #10b981; }
.badge--new { background: #0284c7; }
.badge--hit { background: #f59e0b; }
.badge--sale { background: #ef4444; }
.badge--best { background: #8b5cf6; color: #fff; }

/* Card Actions (wishlist) */
.product-card__actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(4px);
  transition: all 0.2s ease;
  z-index: 2;
}

.product-card:hover .product-card__actions {
  opacity: 1;
  transform: translateX(0);
}

.product-card__action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.15s ease;
}

.product-card__action-btn:hover {
  color: #ef4444;
  background: #fef2f2;
  transform: scale(1.1);
}

.product-card__action-btn svg {
  width: 16px;
  height: 16px;
}

/* Card Info */
.product-card__info {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #f1f5f9;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 11px;
}

.product-card__stock {
  color: #10b981;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-card__stock::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.product-card__stock--out {
  color: #ef4444;
}

.product-card__stock--out::before {
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.product-card__sku {
  color: #94a3b8;
  font-size: 11px;
}

.product-card__title {
  font-size: 13.5px;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
  transition: color 0.15s ease;
}

.product-card__title:hover {
  color: #1B3C91;
}

/* Rating */
.product-card__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.stars {
  display: flex;
  gap: 2px;
  color: #cbd5e1;
}

.stars--filled {
  color: #f59e0b;
}

.stars svg {
  width: 13px;
  height: 13px;
}

.product-card__reviews {
  font-size: 11px;
  color: #64748b;
}

/* Price */
.product-card__prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.product-card__old-price {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
}

.product-card__price {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.product-card__price--sale {
  color: #dc2626;
}

.product-card__currency {
  font-size: 15px;
  font-weight: 600;
  margin-left: 2px;
  color: #475569;
}

/* Add to Cart Button */
.btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: #27ae60;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(39, 174, 96, 0.2);
}

.btn-add-cart:hover {
  background: #219653;
  box-shadow: 0 4px 10px rgba(39, 174, 96, 0.35);
  transform: translateY(-1px);
}

.btn-add-cart:active {
  transform: translateY(0);
}

.btn-add-cart svg {
  width: 17px;
  height: 17px;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb__sep {
  color: var(--border);
}

/* Product Tabs */
.product-tabs {
  background: var(--white);
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.product-tabs .container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-tabs .container::-webkit-scrollbar {
  display: none;
}

.product-tab {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.product-tab:hover {
  color: #1B3C91;
}

.product-tab.active {
  color: #1B3C91;
  font-weight: 700;
  border-bottom-color: #1B3C91;
}

.product-tab__count {
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 12px;
  margin-left: 4px;
}

/* Product Detail Layout */
.product-detail {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 330px;
  gap: 20px;
  padding-bottom: 40px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .product-detail {
    grid-template-columns: 320px minmax(0, 1fr) 300px;
    gap: 16px;
  }
}

@media (max-width: 1000px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}

/* Gallery (Left) */
.product-gallery {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  position: relative;
  min-width: 0;
  box-sizing: border-box;
}

.product-gallery__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.product-gallery__main {
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdfdfd;
  border-radius: 10px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.product-gallery__main img {
  max-height: 320px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
  display: block;
}

.product-gallery__main:hover img {
  transform: scale(1.08);
}

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.product-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.product-gallery__thumb {
  width: 64px;
  height: 64px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  padding: 4px;
  background: #fff;
  object-fit: contain;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.product-gallery__thumb.active,
.product-gallery__thumb:hover {
  border-color: #1B3C91;
  box-shadow: 0 0 0 2px rgba(27, 60, 145, 0.2);
}

.product-gallery__footer {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: #94a3b8;
}

/* Center Column (Product Info & Tabs) */
.product-info {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  min-width: 0;
  box-sizing: border-box;
}

.product-info__title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 12px;
  word-break: break-word;
}

.product-info__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.product-info__meta-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-info__meta-sku {
  color: #64748b;
  background: #f8fafc;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
}

/* Highlights Grid */
.product-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.highlight-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight-icon {
  font-size: 22px;
}

.highlight-item small {
  display: block;
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}

.highlight-item strong {
  font-size: 13px;
  color: #1e293b;
  display: block;
}

.product-block {
  margin-top: 24px;
}

.product-block__title {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-description {
  font-size: 14.5px;
  line-height: 1.7;
  color: #334155;
}

.product-description p {
  margin-bottom: 12px;
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.specs-table tr:nth-child(even) {
  background: #f8fafc;
}

.specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.specs-table td:first-child {
  color: #64748b;
  width: 45%;
  font-weight: 400;
}

.specs-table td:last-child {
  color: #0f172a;
  font-weight: 600;
}

/* Delivery Details Card */
.delivery-details-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.delivery-details-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.delivery-logo {
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.np-logo { background: #fee2e2; color: #dc2626; }
.up-logo { background: #fef3c7; color: #b45309; }

.delivery-details-row strong {
  display: block;
  font-size: 14px;
  color: #1e293b;
  margin-bottom: 2px;
}

.delivery-details-row p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .payment-methods-grid { grid-template-columns: 1fr; }
}

.payment-method-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
}

.payment-method-item strong {
  display: block;
  font-size: 14px;
  color: #1e293b;
  margin-bottom: 4px;
}

.payment-method-item p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

/* Reviews */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.review-stars { font-size: 12px; }
.review-date { font-size: 12px; color: #94a3b8; }
.review-text { font-size: 13.5px; line-height: 1.5; color: #334155; margin: 0; }

.btn-write-review {
  background: #1B3C91;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* ===== MODERN BUY BOX (Right Column) ===== */
.product-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.buy-box-modern {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px -2px rgba(0,0,0,0.06);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
  width: 100%;
}

.buy-box-modern__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.buy-box-modern__price {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1;
}

.buy-box-modern__price .currency {
  font-size: 22px;
  font-weight: 600;
  color: #475569;
}

.buy-box-modern__old-price {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-top: 4px;
}

.buy-box-modern__stock-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.buy-box-modern__stock-pill.in-stock {
  background: #ecfdf5;
  color: #059669;
}

.buy-box-modern__stock-pill.out-of-stock {
  background: #fef2f2;
  color: #dc2626;
}

.buy-box-modern__stock-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

/* Buy Controls */
.buy-box-modern__buy-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.quantity-picker {
  display: flex;
  align-items: center;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
}

.quantity-picker__btn {
  width: 38px;
  height: 46px;
  font-size: 18px;
  font-weight: 700;
  color: #475569;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-picker__btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.quantity-picker__input {
  width: 44px;
  height: 46px;
  border: none;
  background: #ffffff;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.btn-main-buy {
  flex: 1;
  height: 46px;
  background: #27ae60;
  color: #ffffff;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.btn-main-buy:hover {
  background: #219653;
  box-shadow: 0 6px 18px rgba(39, 174, 96, 0.45);
  transform: translateY(-2px);
}

.btn-main-buy:active {
  transform: translateY(0);
}

.btn-quick-one-click {
  width: 100%;
  padding: 11px;
  border: 1.5px solid #1B3C91;
  background: #f0f4ff;
  color: #1B3C91;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-quick-one-click:hover {
  background: #1B3C91;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(27, 60, 145, 0.25);
}

/* Buy Box Section Cards */
.buy-box-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.buy-box-section__title {
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shipping-compact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 13px;
}

.shipping-compact-badge {
  font-weight: 700;
  font-size: 12px;
}

.shipping-compact-badge.np { color: #dc2626; }
.shipping-compact-badge.up { color: #b45309; }

.shipping-compact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.shipping-time {
  font-size: 11px;
  color: #64748b;
}

.shipping-price {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}

.shipping-note {
  font-size: 11.5px;
  color: #059669;
  font-weight: 600;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px dashed #e2e8f0;
}

.payment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.payment-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
}

/* Trust Badges */
.buy-box-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  font-size: 20px;
}

.trust-item strong {
  display: block;
  font-size: 13px;
  color: #1e293b;
}

.trust-item p {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
}

/* ===== QUICK ORDER MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeInModal 0.2s ease;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: slideUpModal 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpModal {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #f1f5f9;
}

.modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.modal-close-btn {
  font-size: 24px;
  color: #94a3b8;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.modal-close-btn:hover {
  color: #0f172a;
}

.modal-body {
  padding: 22px;
}

.quick-order-product-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 16px;
}

.quick-order-product-preview img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
}

.quick-order-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.quick-order-price {
  font-size: 16px;
  font-weight: 800;
  color: #1B3C91;
  margin-top: 4px;
}

.quick-order-hint {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 18px;
}

.btn-confirm-quick-order {
  width: 100%;
  padding: 13px;
  background: #27ae60;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(39, 174, 96, 0.25);
}

.btn-confirm-quick-order:hover {
  background: #219653;
  transform: translateY(-1px);
}

.quick-order-success {
  margin-top: 16px;
  padding: 16px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  text-align: center;
}

/* ===== CATALOG PAGE ===== */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 20px 0 40px;
}

/* Filters Sidebar */
.filters {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.filters__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.filter-group {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group__title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.filter-group__title svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}

.filter-option input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.filter-option__count {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 12px;
}

/* Price Range */
.price-range {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.price-range input {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-align: center;
}

.price-range__sep {
  color: var(--text-muted);
}

.filter-apply-btn {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 13px;
  margin-top: 12px;
}

.filter-apply-btn:hover {
  background: var(--primary-dark);
}

/* Catalog Toolbar */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.catalog-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
}

.catalog-toolbar__sort select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
}

.catalog-toolbar__view {
  display: flex;
  gap: 4px;
}

.catalog-toolbar__view-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.catalog-toolbar__view-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(27, 60, 145, 0.05);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 24px;
}

.pagination__btn {
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.pagination__btn:hover:not([disabled]) {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(27, 60, 145, 0.04);
}

.pagination__btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(27, 60, 145, 0.25);
  cursor: default;
}

/* ===== MODERN CHECKOUT PAGE ===== */
.cart-layout {
  padding: 20px 0 60px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 1024px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.checkout-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.checkout-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1B3C91;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.checkout-card__back-link {
  font-size: 13px;
  color: #1B3C91;
  font-weight: 600;
  text-decoration: none;
}
.checkout-card__back-link:hover {
  text-decoration: underline;
}

/* Cart Items Modern Table */
.cart-table-modern {
  display: flex;
  flex-direction: column;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr 110px 120px 110px 36px;
  gap: 14px;
  padding: 14px 0;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item__image {
  width: 64px;
  height: 64px;
  background: #f8fafc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  padding: 4px;
  border: 1px solid #e2e8f0;
}

.cart-item__title {
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.35;
}

.cart-item__title:hover {
  color: #1B3C91;
}

.cart-item__price {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.cart-item__total {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.cart-item__remove {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.15s ease;
}

.cart-item__remove:hover {
  background: #fee2e2;
  color: #dc2626;
}

@media (max-width: 650px) {
  .cart-item {
    grid-template-columns: 60px 1fr 30px;
    gap: 10px;
  }
  .cart-item__price { display: none; }
  .cart-item .quantity-selector { grid-column: 2; }
  .cart-item__total { grid-column: 2; }
}

/* Forms in Checkout */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.checkout-input, .checkout-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #ffffff;
  color: #0f172a;
  transition: all 0.2s ease;
}

.checkout-input:focus, .checkout-textarea:focus {
  outline: none;
  border-color: #1B3C91;
  box-shadow: 0 0 0 3px rgba(27, 60, 145, 0.12);
}

.checkout-textarea {
  min-height: 64px;
  resize: vertical;
}

/* Options Grid (Delivery & Payment) */
.shipping-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .shipping-options-grid {
    grid-template-columns: 1fr;
  }
}

.shipping-option-card {
  cursor: pointer;
  padding: 14px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.shipping-option-card:hover {
  border-color: #cbd5e1;
}

.shipping-option-card.active {
  background: #f8fafc;
}

.payment-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-option-card {
  cursor: pointer;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.payment-option-card:hover {
  border-color: #cbd5e1;
}

.payment-option-card.active {
  background: #f8fafc;
}

/* RIGHT COLUMN: Sticky Summary */
.checkout-sidebar {
  position: sticky;
  top: 90px;
}

.checkout-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summary-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #475569;
}

.summary-row span:last-child {
  font-weight: 600;
  color: #0f172a;
}

.summary-row--total {
  border-top: 2px solid #f1f5f9;
  padding-top: 14px;
  margin-top: 6px;
  font-size: 16px;
}

.summary-row--total span:first-child {
  font-weight: 700;
  color: #0f172a;
}

.summary-total-price {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #1B3C91 !important;
}

.btn-checkout-submit {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  background: #27ae60;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(39, 174, 96, 0.35);
}

.btn-checkout-submit:hover {
  background: #219653;
  box-shadow: 0 6px 18px rgba(39, 174, 96, 0.5);
  transform: translateY(-2px);
}

.summary-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}

.trust-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 20px;
  margin-top: auto;
}

.footer .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer__col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__contact {
  font-size: 13px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ===== DELIVERY INFO ===== */
.delivery-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-top: 16px;
}

.delivery-info__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
}

.delivery-option svg {
  width: 18px;
  height: 18px;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== ADVANTAGES ===== */
.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 30px 0;
}

.advantage {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.advantage__icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.advantage__title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.advantage__text {
  font-size: 12px;
  color: var(--text-light);
}

/* ===== EMPTY STATES ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state__icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.empty-state__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.empty-state__text {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .product-detail {
    grid-template-columns: 350px 1fr 280px;
  }
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .product-detail {
    grid-template-columns: 1fr 1fr;
  }
  
  .product-sidebar {
    grid-column: 1 / -1;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer .container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  
  .advantages {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-detail {
    grid-template-columns: 1fr;
  }
  
  .header .container {
    flex-wrap: wrap;
  }
  
  .header__icons {
    order: 3;
    width: 100%;
    justify-content: space-around;
  }
  
  .search-bar {
    order: 4;
    width: 100%;
  }
  
  .sidebar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .banner-slider {
    height: 220px;
  }
  
  .category-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cart-table__header,
  .cart-item {
    grid-template-columns: 60px 1fr 100px 40px;
  }
  
  .cart-item__price,
  .cart-table__header > :nth-child(4) {
    display: none;
  }
  
  .advantages {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .top-bar__links {
    display: none;
  }
  
  .nav-bar {
    display: none;
  }
  
  .sidebar {
    grid-template-columns: 1fr;
  }
  
  .footer .container {
    grid-template-columns: 1fr;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-card {
  animation: fadeIn 0.3s ease forwards;
}

/* Chat Widget (decorative) */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 166, 81, 0.4);
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
}

.chat-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 166, 81, 0.5);
}

.chat-widget svg {
  width: 24px;
  height: 24px;
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 998;
}

.scroll-top.visible {
  display: flex;
}

.scroll-top:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.product-card__image-wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.product-card__image-wrap img {
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ===== CHECKOUT NOVA POSHTA PICKER STYLES ===== */
.delivery-subtypes {
  display: flex;
  gap: 8px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 8px;
}
.subtype-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.subtype-btn:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.6);
}
.subtype-btn.active {
  background: #ffffff;
  color: #e21a22;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.np-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  max-height: 240px;
  overflow-y: auto;
  margin-top: 4px;
}
.np-autocomplete-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}
.np-autocomplete-item:last-child {
  border-bottom: none;
}
.np-autocomplete-item:hover {
  background: #fef2f2;
  color: #e21a22;
  font-weight: 600;
}
.quick-city-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.quick-city-chip:hover {
  background: #e21a22;
  border-color: #e21a22;
  color: #ffffff;
}

/* ===== CUSTOMER MODALS ===== */
.pultok-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.pultok-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.pultok-modal-card {
  background: #ffffff;
  border-radius: 14px;
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.97);
  transition: all 0.2s ease;
  overflow: hidden;
}

.pultok-modal-overlay.active .pultok-modal-card {
  transform: translateY(0) scale(1);
}

.pultok-modal-header {
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pultok-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.pultok-modal-close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 6px;
  transition: all 0.15s;
}

.pultok-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.pultok-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.modal-product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  gap: 12px;
}

.modal-product-row__img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
}

.modal-product-row__info {
  flex: 1;
}

.modal-product-row__title {
  font-weight: 600;
  font-size: 13.5px;
  color: #0f172a;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modal-product-row__title:hover {
  color: #e21a22;
}

.modal-product-row__price {
  font-weight: 700;
  font-size: 14px;
  color: #1b3c91;
  margin-top: 2px;
}

.modal-product-row__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===================================================
   INFO / CONTENT PAGES (Delivery, Payment, About, Terms)
   =================================================== */
.info-page {
  padding: 30px 0 60px;
}

.info-header {
  margin-bottom: 30px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 20px;
}

.info-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.info-subtitle {
  font-size: 15px;
  color: #64748b;
  max-width: 750px;
  line-height: 1.5;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.info-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: #f1f5f9;
}

.info-card__icon--np { background: #fee2e2; color: #dc2626; }
.info-card__icon--up { background: #fef3c7; color: #b45309; }
.info-card__icon--mono { background: #000; color: #fff; }
.info-card__icon--wfp { background: #ecfdf5; color: #059669; }
.info-card__icon--cod { background: #eff6ff; color: #2563eb; }
.info-card__icon--blue { background: #e0e7ff; color: #3730a3; }
.info-card__icon--green { background: #dcfce7; color: #166534; }

.info-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card__body {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.info-card__body p {
  margin-bottom: 10px;
}

.info-card__body p:last-child {
  margin-bottom: 0;
}

.info-card__body ul {
  padding-left: 18px;
  margin: 8px 0;
}

.info-card__body li {
  margin-bottom: 6px;
}

.info-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
}
.info-badge--success { background: #dcfce7; color: #15803d; }
.info-badge--primary { background: #e0e7ff; color: #3730a3; }
.info-badge--warning { background: #fef3c7; color: #92400e; }

.info-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.info-block h2, .info-block h3 {
  color: #0f172a;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 14px;
}

.info-block h2 {
  font-size: 20px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 10px;
}

.info-block p, .info-block li {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.65;
}

.info-block ul {
  padding-left: 20px;
  margin: 12px 0;
}

.info-highlight {
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
  font-size: 14px;
  color: #166534;
}

.info-highlight--blue {
  background: #eff6ff;
  border-left-color: #2563eb;
  color: #1e40af;
}

.info-highlight--warning {
  background: #fffbeb;
  border-left-color: #f59e0b;
  color: #92400e;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.contact-item-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-item-card__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
}

.contact-item-card__val {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.contact-item-card__val a {
  color: #2563eb;
  text-decoration: none;
}
.contact-item-card__val a:hover {
  text-decoration: underline;
}

.contact-item-card__sub {
  font-size: 13px;
  color: #64748b;
}

@media (max-width: 768px) {
  .info-title { font-size: 22px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-block { padding: 20px; }
}


