/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  background: #f5f6fa;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: #1a1a2e;
  color: #b0b0c0;
  font-size: 0.72rem;
  padding: 5px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-links { display: flex; gap: 16px; }
.top-bar-links a { color: #b0b0c0; transition: color 0.2s; }
.top-bar-links a:hover { color: #fff; }

/* ===== HEADER ===== */
.header {
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: -0.5px;
}
.logo-elettro { color: #2952cc; }
.logo-universe { color: #e86825; }

.search-bar {
  flex: 1;
  max-width: 540px;
  position: relative;
}
.search-bar input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1.5px solid #e4e4e4;
  border-radius: 10px;
  font-size: 0.88rem;
  font-family: inherit;
  transition: all 0.2s;
  background: #f8f8fb;
}
.search-bar input:focus {
  outline: none;
  border-color: #2952cc;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(41,82,204,0.06);
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 1.2rem;
}

.header-actions { display: flex; gap: 4px; }
.header-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s;
  position: relative;
}
.header-action:hover { background: #f4f4f8; }
.header-action .material-icons-outlined { font-size: 1.35rem; color: #444; }
.action-label { font-size: 0.65rem; color: #777; margin-top: 1px; }

.cart-action { position: relative; }
.cart-badge {
  position: absolute;
  top: 1px;
  right: 4px;
  background: #e86825;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ===== NAVBAR ===== */
.navbar {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 56px;
  z-index: 99;
}
.nav-list {
  display: flex;
  gap: 2px;
  padding: 6px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-item a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #555;
  white-space: nowrap;
  transition: all 0.2s;
}
.nav-item a .material-icons-outlined { font-size: 1.05rem; }
.nav-item a:hover { background: #f0f0f8; color: #2952cc; }
.nav-item.active a { background: #eef2ff; color: #2952cc; font-weight: 600; }
.nav-item.highlight a {
  background: #fff3ec;
  color: #e86825;
  font-weight: 600;
}
.nav-item.highlight a:hover { background: #ffe8d6; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #2952cc 0%, #1a1a6e 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.hero-slider { position: relative; min-height: 360px; }
.hero-slide {
  display: none;
  padding: 48px 32px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: center;
  gap: 32px;
}
.hero-slide.active { display: flex; animation: fadeIn 0.5s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.hero-content { flex: 1; color: #fff; }
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  color: #ffd166;
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}
.hero-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 12px;
}
.hero-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
  max-width: 400px;
}
.hero-visual { flex: 1; display: flex; justify-content: center; }
.hero-placeholder {
  width: 260px;
  height: 260px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.1);
}
.hero-placeholder .material-icons-outlined {
  font-size: 100px;
  color: rgba(255,255,255,0.2);
}

.hero-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 0 20px;
  position: relative;
  z-index: 2;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}
.hero-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.3);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary { background: #e86825; color: #fff; }
.btn-primary:hover { background: #d45a1a; transform: translateY(-1px); }
.btn-white { background: #fff; color: #1a1a2e; }
.btn-white:hover { background: #f0f0f0; }
.btn-cart {
  width: 100%;
  justify-content: center;
  background: #2952cc;
  color: #fff;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
}
.btn-cart:hover { background: #1e40a8; }

/* ===== SERVICES ===== */
.services {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}
.service-item .material-icons-outlined {
  font-size: 1.6rem;
  color: #2952cc;
  flex-shrink: 0;
}
.service-item strong { display: block; font-size: 0.8rem; line-height: 1.3; }
.service-item span { font-size: 0.72rem; color: #888; }

/* ===== SECTIONS ===== */
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a2e;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.see-all {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #2952cc;
  font-weight: 500;
  font-size: 0.82rem;
}
.see-all:hover { text-decoration: underline; }
.see-all .material-icons-outlined { font-size: 1rem; }

/* ===== CATEGORIES ===== */
.categories { padding: 32px 0; }
.categories .section-title { margin-bottom: 18px; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  transition: all 0.2s;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(41,82,204,0.08);
  border-color: #c5d4f7;
}
.category-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #eef2ff, #dde4ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-icon .material-icons-outlined { font-size: 1.35rem; color: #2952cc; }
.category-card span { font-size: 0.75rem; font-weight: 600; color: #555; text-align: center; }

/* ===== PRODUCTS ===== */
.products-section { padding: 32px 0; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px;
  position: relative;
  transition: all 0.2s;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #d3325b;
  color: #fff;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 700;
}
.product-badge.new { background: #2a7d22; }
.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.2s;
}
.wishlist-btn:hover { background: #fee; }
.wishlist-btn:hover .material-icons-outlined { color: #d3325b; }
.wishlist-btn .material-icons-outlined { font-size: 1.25rem; color: #ccc; }

.product-image {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: #f8f8fb;
  border-radius: 8px;
}
.product-image img { max-height: 100%; object-fit: contain; border-radius: 6px; }
.product-image .material-icons-outlined { font-size: 56px; color: #ddd; }

.product-info { display: flex; flex-direction: column; gap: 4px; }
.product-brand { font-size: 0.68rem; font-weight: 600; color: #999; text-transform: uppercase; letter-spacing: 0.5px; }
.product-name {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.2em;
}
.product-rating { display: flex; align-items: center; gap: 5px; }
.stars { color: #f5a623; font-size: 0.78rem; letter-spacing: 0.5px; }
.review-count { font-size: 0.7rem; color: #aaa; }

.product-price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 10px; }
.price-current { font-size: 1.1rem; font-weight: 800; color: #1a1a2e; }
.price-old { font-size: 0.82rem; color: #bbb; text-decoration: line-through; }

/* ===== PROMO ===== */
.promo-section { padding: 0 0 32px; }
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.promo-blue { background: linear-gradient(135deg, #2952cc, #1a1a6e); color: #fff; }
.promo-orange { background: linear-gradient(135deg, #e86825, #c44d10); color: #fff; }
.promo-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.promo-text h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.promo-text p { font-size: 0.82rem; opacity: 0.85; margin-bottom: 14px; }
.promo-icon .material-icons-outlined { font-size: 80px; opacity: 0.12; }

/* ===== BRANDS ===== */
.brands-section {
  padding: 32px 0;
  background: #fff;
}
.brands-section .section-title { margin-bottom: 18px; text-align: center; }
.brands-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.brand-item {
  padding: 10px 24px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #888;
  transition: all 0.2s;
}
.brand-item:hover {
  border-color: #2952cc;
  color: #2952cc;
  transform: translateY(-1px);
}

/* ===== NEWSLETTER ===== */
.newsletter {
  background: linear-gradient(135deg, #1a1a2e, #2952cc);
  padding: 36px 0;
  color: #fff;
}
.newsletter-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.newsletter h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.newsletter p { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.newsletter-form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.newsletter-form input {
  padding: 10px 18px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  width: 260px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input:focus { outline: none; border-color: #e86825; }

/* ===== FOOTER ===== */
.footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 36px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 24px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-col a { color: #999; font-size: 0.82rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.social-links { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.social-link {
  padding: 5px 12px;
  border: 1px solid #444;
  border-radius: 5px;
  font-size: 0.75rem;
  color: #aaa;
  transition: all 0.2s;
}
.social-link:hover { border-color: #2952cc; color: #fff; }

.payment-methods { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-methods span {
  padding: 3px 10px;
  background: #2a2a42;
  border-radius: 4px;
  font-size: 0.7rem;
  color: #888;
}

.footer-bottom {
  border-top: 1px solid #2a2a42;
  padding: 14px 0;
}
.footer-bottom p {
  text-align: center;
  font-size: 0.72rem;
  color: #666;
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 200;
  transition: opacity 0.3s;
}
.cart-overlay.open { display: block; }
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.08);
}
.cart-sidebar.open { right: 0; }
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}
.cart-header h3 { font-size: 1.1rem; font-weight: 700; }
.cart-close { background: none; border: none; cursor: pointer; padding: 4px; border-radius: 50%; }
.cart-close:hover { background: #f0f0f0; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: #aaa;
}
.cart-empty .material-icons-outlined { font-size: 56px; color: #ddd; }
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  align-items: center;
}
.cart-item-img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: #f8f8fb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.cart-item-brand { font-size: 0.65rem; color: #aaa; text-transform: uppercase; font-weight: 600; }
.cart-item-name { font-size: 0.82rem; font-weight: 600; line-height: 1.3; }
.cart-item-price { font-size: 0.9rem; font-weight: 800; color: #1a1a2e; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 3px;
}
.cart-item-qty button {
  width: 26px;
  height: 26px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-qty button:hover { background: #f0f0f0; }
.cart-item-qty span { width: 28px; text-align: center; font-weight: 600; font-size: 0.85rem; }
.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #ccc;
  padding: 4px;
}
.cart-item-remove:hover { color: #d3325b; }
.cart-footer {
  padding: 16px 20px;
  border-top: 1px solid #eee;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.cart-checkout-btn { width: 100%; justify-content: center; font-size: 0.95rem; padding: 12px; }
.cart-shipping-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.72rem;
  color: #999;
}
.cart-shipping-note .material-icons-outlined { font-size: 0.9rem; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 0;
  font-size: 0.8rem;
  color: #999;
}
.breadcrumb a { color: #2952cc; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .material-icons-outlined { font-size: 0.85rem; color: #ccc; }

/* ===== LISTING ===== */
.listing-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  margin-bottom: 24px;
}
.listing-title-bar {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
}
.listing-title-bar h1 { font-size: 1.5rem; font-weight: 800; }
.listing-count { color: #999; font-size: 0.85rem; }
.listing-filters { padding-bottom: 12px; }
.listing-filters select {
  padding: 7px 14px;
  border: 1px solid #ddd;
  border-radius: 7px;
  font-family: inherit;
  font-size: 0.82rem;
  background: #fff;
  cursor: pointer;
}
.listing-grid { padding-bottom: 40px; }

/* ===== PRODUCT DETAIL PAGE ===== */
.pdp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 20px 0 40px;
}
.pdp-main-image {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  margin-bottom: 12px;
}
.pdp-main-image img { max-height: 340px; object-fit: contain; }
.pdp-thumbnails { display: flex; gap: 8px; }
.pdp-thumb {
  width: 64px;
  height: 64px;
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-thumb.active, .pdp-thumb:hover { border-color: #2952cc; }
.pdp-thumb img { max-height: 100%; object-fit: contain; }

.pdp-info .product-brand { font-size: 0.8rem; margin-bottom: 6px; }
.pdp-name { font-size: 1.4rem; font-weight: 800; line-height: 1.25; margin-bottom: 6px; }
.pdp-sku { font-size: 0.75rem; color: #aaa; display: block; margin-bottom: 10px; }
.pdp-rating { margin-bottom: 14px; }
.pdp-rating .stars { font-size: 1rem; }
.pdp-rating .review-count { font-size: 0.82rem; }

.pdp-price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.pdp-price { font-size: 1.8rem; font-weight: 800; color: #1a1a2e; }
.pdp-old-price { font-size: 1.1rem; color: #bbb; text-decoration: line-through; }
.pdp-discount {
  background: #d3325b;
  color: #fff;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 700;
}

.pdp-description {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.pdp-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.pdp-add-cart {
  flex: 1;
  justify-content: center;
  font-size: 0.95rem;
  padding: 12px 20px;
}
.pdp-wishlist-btn {
  background: #fff;
  border: 2px solid #eee;
  color: #ccc;
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.pdp-wishlist-btn:hover, .pdp-wishlist-btn.active { border-color: #d3325b; color: #d3325b; }
.pdp-wishlist-btn.active .material-icons-outlined { color: #d3325b; }

.pdp-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pdp-service {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: #777;
  padding: 8px 10px;
  background: #f8f8fb;
  border-radius: 7px;
}
.pdp-service .material-icons-outlined { font-size: 1.1rem; color: #2952cc; }

/* SPECS TABLE */
.product-specs {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  padding: 24px;
  margin-bottom: 40px;
}
.product-specs h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid #f0f0f0; }
.specs-table tr:last-child { border: none; }
.specs-table td { padding: 10px 14px; font-size: 0.82rem; vertical-align: top; }
.spec-label { font-weight: 600; color: #666; width: 35%; background: #fafafa; }
.spec-value { color: #333; }

/* RELATED */
.pdp-related { padding-bottom: 40px; }
.pdp-related h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }

/* ===== CHECKOUT FULLSCREEN ===== */
.checkout-fullscreen {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
}
.checkout-fullscreen.visible { display: block; }

.ck-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: #f0f2f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity 0.4s;
}
.ck-loading-overlay.fade-out { opacity: 0; pointer-events: none; }
.ck-spinner {
  width: 36px; height: 36px;
  border: 3px solid #e0e0e8;
  border-top-color: #2952cc;
  border-radius: 50%;
  animation: ckSpin 0.8s linear infinite;
}
@keyframes ckSpin { to { transform: rotate(360deg); } }
.ck-loading-text { font-size: 0.85rem; color: #888; font-weight: 500; }
.ck-loading-secure {
  display: flex; align-items: center; gap: 5px;
  color: #c8a415; font-size: 0.75rem; font-weight: 600;
}
.ck-loading-secure .material-icons-outlined { font-size: 0.95rem; }

/* FAKE BROWSER */
.fake-browser {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.fb-addressbar {
  background: #fff;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}
.fb-nav-btns { display: flex; gap: 3px; }
.fb-nav-btns .material-icons-outlined {
  font-size: 1.1rem; color: #999; cursor: pointer;
  padding: 3px; border-radius: 50%;
}
.fb-nav-btns .material-icons-outlined:hover { background: #f0f0f0; color: #333; }
.fb-urlbox {
  flex: 1; display: flex; align-items: center; gap: 6px;
  background: #f1f3f4; border-radius: 18px; padding: 6px 14px;
}
.fb-lock-icon { font-size: 0.95rem !important; color: #c8a415 !important; }
.fb-url {
  font-size: 0.78rem; color: #666;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.fb-url strong { color: #1a1a2e; }
.fb-secure-badge {
  display: flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, #1a3a8f, #2952cc);
  color: #fff; padding: 4px 10px; border-radius: 5px;
  font-size: 0.65rem; font-weight: 700; white-space: nowrap;
}
.fb-secure-badge .material-icons-outlined { font-size: 0.85rem; }
.fb-content { flex: 1; overflow-y: auto; background: #f0f2f5; position: relative; }

/* CHECKOUT CONTENT */
.ck-header {
  background: #fff;
  padding: 12px 24px;
  border-bottom: 2px solid #e8e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ck-logo { font-size: 1.1rem; font-weight: 800; cursor: pointer; text-decoration: none; }
.ck-logo .bl { color: #2952cc; }
.ck-logo .or { color: #e86825; }
.ck-back-btn {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 5px 12px; background: none;
  border: 1.5px solid #ddd; border-radius: 7px;
  font-family: inherit; font-size: 0.75rem; font-weight: 500;
  color: #777; cursor: pointer; transition: all 0.2s;
}
.ck-back-btn .material-icons-outlined { font-size: 0.9rem; }
.ck-back-btn:hover { border-color: #2952cc; color: #2952cc; background: #f8f9ff; }

.ck-url-pill {
  display: flex; align-items: center; gap: 5px;
  background: #f1f3f4; padding: 6px 14px; border-radius: 18px;
  font-size: 0.75rem; color: #666;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.ck-gold-lock { font-size: 0.9rem !important; color: #c8a415 !important; }
.ck-badges { display: flex; gap: 10px; align-items: center; }
.ck-badge-3ds {
  display: flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, #1a3a8f, #2952cc);
  color: #fff; padding: 4px 10px; border-radius: 5px;
  font-size: 0.65rem; font-weight: 700;
}
.ck-badge-3ds .material-icons-outlined { font-size: 0.85rem; }
.ck-badge-ssl { display: flex; align-items: center; gap: 3px; color: #28c840; font-size: 0.68rem; font-weight: 600; }
.ck-badge-ssl .material-icons-outlined { font-size: 0.85rem; }

.ck-steps {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 12px 24px;
  display: flex;
  justify-content: center;
  gap: 0;
}
.ck-step {
  display: flex; align-items: center; gap: 6px;
  padding: 0 16px; position: relative;
}
.ck-step:not(:last-child)::after {
  content: ''; position: absolute; right: -8px; top: 50%;
  width: 16px; height: 2px; background: #ddd;
}
.ck-step.done::after { background: #2952cc; }
.ck-snum {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 700;
  border: 2px solid #ddd; color: #aaa; background: #fff;
}
.ck-step.done .ck-snum { background: #2952cc; border-color: #2952cc; color: #fff; }
.ck-step.active .ck-snum { border-color: #2952cc; color: #2952cc; background: #eef2ff; }
.ck-slbl { font-size: 0.72rem; color: #aaa; font-weight: 500; }
.ck-step.done .ck-slbl { color: #2952cc; }
.ck-step.active .ck-slbl { color: #1a1a2e; font-weight: 600; }

.ck-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  padding: 20px 24px;
  max-width: 920px;
  margin: 0 auto;
}
.ck-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8f0;
  overflow: hidden;
}
.ck-card-head {
  background: linear-gradient(135deg, #f8f9ff, #eef2ff);
  padding: 16px 20px;
  border-bottom: 1px solid #e8e8f0;
  display: flex; align-items: center; gap: 8px;
}
.ck-card-head .material-icons-outlined { font-size: 1.2rem; color: #2952cc; }
.ck-card-head h2 { font-size: 0.95rem; font-weight: 700; }
.ck-card-body { padding: 20px; }

.ck-secure-note {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; background: #f0faf0;
  border: 1px solid #c8e6c9; border-radius: 7px;
  margin-bottom: 16px;
}
.ck-secure-note .material-icons-outlined { color: #28c840; font-size: 1.1rem; }
.ck-secure-note span { font-size: 0.72rem; color: #2e7d32; }

.ck-fg { margin-bottom: 14px; }
.ck-fg label { display: block; font-size: 0.72rem; font-weight: 600; color: #666; margin-bottom: 4px; }
.ck-input {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid #e0e0e8; border-radius: 8px;
  font-family: inherit; font-size: 0.88rem;
  transition: all 0.2s; background: #fafafe;
}
.ck-input:focus { outline: none; border-color: #2952cc; background: #fff; box-shadow: 0 0 0 3px rgba(41,82,204,0.06); }
.ck-input::placeholder { color: #c0c0c0; }
.ck-input.mono { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.95rem; letter-spacing: 2px; }
.ck-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ck-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.ck-cards-row { display: flex; gap: 5px; margin-top: 5px; }
.ck-cicon {
  padding: 2px 7px; border: 1px solid #e0e0e0; border-radius: 4px;
  font-size: 0.65rem; font-weight: 700; color: #999; background: #fafafa;
  transition: all 0.2s;
}
.ck-cicon.active { border-color: #2952cc; color: #2952cc; background: #eef2ff; }

.ck-paybtn {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, #2952cc, #1a3a8f);
  color: #fff; border: none; border-radius: 10px;
  font-family: inherit; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(41,82,204,0.2);
}
.ck-paybtn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(41,82,204,0.3); }
.ck-paybtn .material-icons-outlined { font-size: 1rem; }
.ck-foot-badges {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid #eee;
}
.ck-fbadge { display: flex; align-items: center; gap: 3px; font-size: 0.65rem; color: #aaa; font-weight: 500; }
.ck-fbadge .material-icons-outlined { font-size: 0.8rem; }

.ck-divider { height: 1px; background: #e8e8f0; margin: 6px 0 16px; }

.ck-card-icons {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 12px;
}
.ck-card-svg {
  width: 36px; height: 24px; border-radius: 3px;
  opacity: 0.7; transition: opacity 0.2s;
}
.ck-card-svg:hover { opacity: 1; }

/* Summary card */
.ck-sum-item {
  display: flex; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid #f5f5f5; align-items: center;
}
.ck-sum-item:last-child { border: none; }
.ck-sum-img {
  width: 44px; height: 44px; background: #f8f8fb;
  border-radius: 6px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; overflow: hidden;
}
.ck-sum-img img { width: 100%; height: 100%; object-fit: contain; }
.ck-sum-info { flex: 1; }
.ck-sum-name { font-size: 0.72rem; font-weight: 600; line-height: 1.3; }
.ck-sum-qty { font-size: 0.65rem; color: #aaa; }
.ck-sum-price { font-size: 0.8rem; font-weight: 700; white-space: nowrap; }

.ck-totals { padding: 14px 20px; border-top: 1px solid #eee; }
.ck-trow { display: flex; justify-content: space-between; padding: 4px 0; font-size: 0.82rem; }
.ck-trow .tl { color: #888; }
.ck-trow.total { font-size: 1rem; font-weight: 800; padding-top: 10px; margin-top: 4px; border-top: 2px solid #1a1a2e; }
.ck-trow.total .tl { color: #1a1a2e; }
.ck-trow .free { color: #28c840; font-weight: 600; }

.ck-secfoot {
  padding: 12px 20px; background: #fafafe;
  border-top: 1px solid #eee;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.ck-seclogos { display: flex; gap: 6px; }
.ck-seclogo {
  padding: 3px 8px; border: 1px solid #e0e0e0;
  border-radius: 4px; font-size: 0.6rem; font-weight: 700; color: #888; background: #fff;
}
.ck-sectxt { font-size: 0.65rem; color: #aaa; text-align: center; }

/* OTP Modal */
.ck-overlay {
  display: none; position: absolute; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 10;
  align-items: center; justify-content: center;
  backdrop-filter: blur(3px);
}
.ck-overlay.active { display: flex; }
.ck-modal {
  background: #fff; border-radius: 12px; width: 360px;
  max-width: 90%; overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  animation: ckModalIn 0.3s ease;
}
@keyframes ckModalIn { from { opacity:0; transform:scale(0.95) translateY(6px); } to { opacity:1; transform:scale(1) translateY(0); } }
.ck-modal-head {
  background: linear-gradient(135deg, #1a3a8f, #2952cc);
  color: #fff; padding: 14px 18px;
  display: flex; align-items: center; gap: 8px;
}
.ck-modal-head .material-icons-outlined { font-size: 1.2rem; }
.ck-modal-head h3 { font-size: 0.88rem; font-weight: 700; }
.ck-modal-body { padding: 20px 18px; text-align: center; }
.ck-modal-body p { font-size: 0.8rem; color: #777; margin-bottom: 14px; line-height: 1.5; }
.ck-otp-row { display: flex; gap: 6px; justify-content: center; margin-bottom: 14px; }
.ck-otp {
  width: 40px; height: 48px; border: 2px solid #e0e0e8; border-radius: 8px;
  text-align: center; font-size: 1.2rem; font-weight: 700;
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.ck-otp:focus { outline: none; border-color: #2952cc; box-shadow: 0 0 0 3px rgba(41,82,204,0.06); }
.ck-timer { font-size: 0.7rem; color: #aaa; }
.ck-modal-foot { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.ck-verify-btn {
  width: 100%; padding: 11px; background: linear-gradient(135deg, #2952cc, #1a3a8f);
  color: #fff; border: none; border-radius: 8px;
  font-family: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer;
}
.ck-verify-btn:hover { opacity: 0.9; }
.ck-cancel-btn {
  background: none; border: none; color: #aaa;
  font-family: inherit; font-size: 0.78rem; cursor: pointer; padding: 5px;
}
.ck-cancel-btn:hover { color: #555; }

/* Success */
.ck-success {
  display: none; position: absolute; inset: 0;
  background: rgba(255,255,255,0.96); z-index: 20;
  align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.ck-success.active { display: flex; }
.ck-success-inner { text-align: center; animation: ckModalIn 0.5s ease; }
.ck-success-icon {
  width: 64px; height: 64px; background: #e8f5e9;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 14px;
}
.ck-success-icon .material-icons-outlined { font-size: 32px; color: #28c840; }
.ck-success-inner h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 5px; }
.ck-success-inner p { color: #888; margin-bottom: 16px; font-size: 0.85rem; }
.ck-home-btn {
  padding: 10px 24px; background: #2952cc; color: #fff;
  border: none; border-radius: 8px; font-family: inherit;
  font-size: 0.88rem; font-weight: 600; cursor: pointer;
}
.ck-home-btn:hover { background: #1e40a8; }

/* Processing */
.ck-processing {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.92);
  z-index: 15;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.4s;
}
.ck-processing.active { opacity: 1; }
.ck-processing-card { text-align: center; animation: ckModalIn 0.5s ease; }
.ck-processing-spinner {
  width: 44px; height: 44px;
  border: 3px solid #e8e8f0; border-top-color: #2952cc;
  border-radius: 50%; animation: ckSpin 0.9s linear infinite;
  margin: 0 auto 20px;
}
.ck-processing-card h3 { font-size: 1.05rem; font-weight: 700; color: #1a1a2e; margin-bottom: 6px; }
.ck-processing-card p { font-size: 0.82rem; color: #999; margin-bottom: 16px; }
.ck-processing-secure {
  display: inline-flex; align-items: center; gap: 5px;
  color: #c8a415; font-size: 0.75rem; font-weight: 600;
}
.ck-processing-secure .material-icons-outlined { font-size: 0.95rem; }

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 2rem; }
  .hero-placeholder { width: 200px; height: 200px; }
  .hero-placeholder .material-icons-outlined { font-size: 80px; }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .top-bar { display: none; }

  .header { padding: 8px 0; }
  .header-inner { flex-wrap: wrap; gap: 8px; }
  .logo { font-size: 1.2rem; }
  .search-bar { order: 3; max-width: 100%; flex-basis: 100%; }
  .search-bar input { padding: 9px 12px 9px 36px; font-size: 0.85rem; }
  .action-label { display: none; }
  .header-action { padding: 6px 8px; }

  .navbar { top: 48px; }
  .nav-item a { padding: 5px 10px; font-size: 0.78rem; }
  .nav-item a .material-icons-outlined { font-size: 0.95rem; }

  .hero-slider { min-height: auto; }
  .hero-slide { flex-direction: column; padding: 32px 16px; gap: 20px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content p { font-size: 0.88rem; margin-bottom: 18px; }
  .hero-placeholder { width: 140px; height: 140px; }
  .hero-placeholder .material-icons-outlined { font-size: 56px; }
  .btn { padding: 9px 20px; font-size: 0.82rem; }

  .services { padding: 12px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .service-item { padding: 6px 8px; gap: 8px; }
  .service-item .material-icons-outlined { font-size: 1.3rem; }
  .service-item strong { font-size: 0.75rem; }
  .service-item span { font-size: 0.68rem; }

  .categories { padding: 24px 0; }
  .categories-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .category-card { padding: 12px 6px; gap: 6px; }
  .category-icon { width: 40px; height: 40px; }
  .category-icon .material-icons-outlined { font-size: 1.1rem; }
  .category-card span { font-size: 0.7rem; }

  .section-title { font-size: 1.1rem; }
  .products-section { padding: 24px 0; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card { padding: 10px; border-radius: 10px; }
  .product-image { height: 120px; margin-bottom: 8px; }
  .product-image .material-icons-outlined { font-size: 40px; }
  .product-name { font-size: 0.78rem; min-height: 2em; }
  .product-brand { font-size: 0.62rem; }
  .stars { font-size: 0.7rem; }
  .review-count { font-size: 0.62rem; }
  .price-current { font-size: 0.95rem; }
  .price-old { font-size: 0.75rem; }
  .btn-cart { padding: 7px 10px; font-size: 0.75rem; border-radius: 6px; }

  .promo-grid { grid-template-columns: 1fr; gap: 10px; }
  .promo-card { padding: 20px 24px; border-radius: 12px; }
  .promo-text h3 { font-size: 1.1rem; }
  .promo-icon .material-icons-outlined { font-size: 60px; }

  .brands-section { padding: 24px 0; }
  .brand-item { padding: 8px 16px; font-size: 0.78rem; }

  .newsletter { padding: 28px 0; }
  .newsletter-inner { flex-direction: column; text-align: center; gap: 16px; }
  .newsletter h2 { font-size: 1.1rem; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { flex: 1; width: auto; }

  .footer { padding: 28px 0 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* PDP mobile */
  .pdp-layout { grid-template-columns: 1fr; gap: 20px; }
  .pdp-main-image { min-height: 220px; padding: 16px; }
  .pdp-main-image img { max-height: 200px; }
  .pdp-name { font-size: 1.2rem; }
  .pdp-price { font-size: 1.4rem; }
  .pdp-services { grid-template-columns: 1fr; }

  /* Cart mobile */
  .cart-sidebar { width: 100%; max-width: 100%; right: -100%; }

  /* Checkout mobile */
  .ck-main { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
  .ck-row2, .ck-row3 { grid-template-columns: 1fr; }
  .ck-steps { padding: 8px 12px; }
  .ck-step { padding: 0 6px; }
  .ck-slbl { font-size: 0.65rem; }
  .fb-secure-badge { display: none; }
  .ck-header { padding: 10px 14px; }
  .ck-card-body { padding: 16px; }
  .ck-card-head { padding: 12px 16px; }
}

/* ===== RESPONSIVE - SMALL MOBILE ===== */
@media (max-width: 380px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo { font-size: 1.1rem; }
  .hero-content h1 { font-size: 1.4rem; }
}
