/* ============================================================
   C&S TRADING — Premium Editorial E-Commerce
   Palette : Noir · Blanc · Orange (#FF9900)
   ============================================================ */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #0a0a0a;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; }
img { display: block; }
.container { max-width: 1260px; margin: 0 auto; padding: 0 40px; }

/* ─── NAVBAR ─── */
.navbar {
  position: sticky; top: 0; z-index: 300;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e8e8e8;
  padding: 18px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { font-size: 1.4rem; font-weight: 900; letter-spacing: -1px; color: #0a0a0a; }
.logo .amp { color: #FF9900; }
.logo-trading { font-weight: 300; color: #999; font-size: 0.95rem; letter-spacing: 0; }
.logo.small { font-size: 1rem; }

nav { display: flex; align-items: center; gap: 40px; }
nav a { font-size: 0.85rem; font-weight: 500; color: #666; transition: color .2s; }
nav a:hover { color: #0a0a0a; }
.btn-nav {
  background: #FF9900; color: #fff;
  padding: 10px 24px; border-radius: 6px;
  font-weight: 700; font-size: 0.82rem;
  transition: background .2s, transform .15s;
  letter-spacing: 0.3px;
}
.btn-nav:hover { background: #e68a00; transform: translateY(-1px); }

/* ─── HERO ─── */
.hero {
  position: relative; overflow: hidden;
  background: #0a0a0a;
  padding: 120px 0 100px;
  text-align: center;
}
.hero-bg { display: none; }
/* Orange glow */
.hero::before {
  content: '';
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,153,0,0.14) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,153,0,0.1);
  border: 1px solid rgba(255,153,0,0.3);
  color: #FF9900;
  padding: 7px 18px; border-radius: 4px;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 32px;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #FF9900;
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900; line-height: 1.0; letter-spacing: -3px;
  color: #fff; margin-bottom: 24px;
}
.hero-highlight { color: #FF9900; }

.hero-sub {
  font-size: 1.05rem; color: #777;
  max-width: 480px; margin: 0 auto 44px; line-height: 1.8;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 72px; }

.btn-amazon {
  display: inline-flex; align-items: center; gap: 9px;
  background: #FF9900; color: #0a0a0a;
  padding: 14px 30px; border-radius: 6px;
  font-weight: 800; font-size: 0.88rem;
  cursor: not-allowed; opacity: 0.9;
  letter-spacing: 0.2px;
}
.btn-outline {
  display: inline-flex; align-items: center;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px 30px; border-radius: 6px;
  font-weight: 600; font-size: 0.88rem;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

/* Hero logo strip */
.hero-logos-strip {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 44px 0 56px;
}
.brand-filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.hero-strip-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #444; margin: 0;
}
.btn-reset-filter {
  background: none; border: 1.5px solid #FF9900; color: #FF9900;
  padding: 5px 16px; border-radius: 20px; font-size: 0.72rem; font-weight: 700;
  cursor: pointer; font-family: inherit; letter-spacing: 0.5px;
  transition: background .2s, color .2s; display: none;
}
.btn-reset-filter:hover { background: #FF9900; color: #000; }

.brand-carousel-outer {
  display: flex; align-items: center; gap: 14px;
}
.carousel-arrow-btn {
  flex-shrink: 0; width: 36px; height: 36px;
  background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: 50%; color: #fff; font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
  user-select: none;
}
.carousel-arrow-btn:hover { background: rgba(255,153,0,0.2); border-color: #FF9900; color: #FF9900; }

.brand-carousel-wrapper {
  flex: 1;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
}
.brand-carousel-wrapper::before,
.brand-carousel-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 2; pointer-events: none;
}
.brand-carousel-wrapper::before { left: 0; background: linear-gradient(to right, #0a0a0a, transparent); }
.brand-carousel-wrapper::after  { right: 0; background: linear-gradient(to left, #0a0a0a, transparent); }

.brand-carousel {
  display: flex; gap: 16px;
  width: max-content;
  padding: 32px 0 36px;
  will-change: transform;
  align-items: center;
}

.carousel-item {
  flex-shrink: 0;
  width: 100px; height: 84px;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(255,255,255,0.07);
  border-radius: 14px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 6px; padding: 8px;
  opacity: 0.28;
  transform: scale(0.66);
  transition: opacity 0.45s ease, transform 0.45s ease,
              border-color 0.3s, background 0.25s, box-shadow 0.4s;
}
.carousel-item.near   { opacity: 0.55; transform: scale(0.83); }
.carousel-item.active {
  opacity: 1; transform: scale(1.6);
  border-color: #FF9900; border-width: 2.5px;
  background: rgba(255,153,0,0.14);
  box-shadow: 0 0 0 2px #FF9900,
              0 0 28px rgba(255,153,0,0.65),
              0 0 70px rgba(255,153,0,0.3),
              0 14px 36px rgba(0,0,0,0.7);
}
.carousel-item:hover  { opacity: 0.65; border-color: rgba(255,153,0,0.5); }
.carousel-item.active:hover { transform: scale(1.63); }
.carousel-item.selected {
  border-color: #FF9900;
  box-shadow: 0 0 0 2px #FF9900;
}
.carousel-item img { height: 36px; width: 82px; object-fit: contain; }
.carousel-label {
  font-size: 0.6rem; font-weight: 600; color: rgba(255,255,255,0.45);
  text-align: center; max-width: 88px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1;
}
.carousel-item.active .carousel-label { color: #FF9900; font-size: 0.62rem; }
.carousel-text-brand {
  font-size: 0.65rem; font-weight: 800; color: #fff;
  text-align: center; line-height: 1.3; padding: 0 4px;
}

/* ─── BRAND FILTER ANIMATION ─── */
.brand-group { transition: opacity .25s ease; }
.cat-section.section-filtered-out { display: none !important; }
.brand-group.brand-filtered-out { display: none !important; }
.cat-section.section-filtered-in .cat-banner { display: none; }
.cat-section.section-filtered-in { padding-top: 20px; }

/* ─── CATEGORY NAV ─── */
.cat-nav {
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: sticky; top: 65px; z-index: 200;
  display: flex; justify-content: center;
}
.cat-nav-list {
  display: flex; overflow-x: auto; gap: 0;
  padding: 0 40px;
}
.cat-nav-list::-webkit-scrollbar { display: none; }
.cat-nav-item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 15px 22px;
  font-size: 0.8rem; font-weight: 600; color: #888;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  flex-shrink: 0; white-space: nowrap;
}
.cat-nav-item:hover { color: #0a0a0a; border-bottom-color: #FF9900; }
.cat-nav-item span { font-size: 1rem; }

/* ─── CATALOG ─── */
.catalog-main { background: #f7f7f7; }

/* ─── CATEGORY SECTION ─── */
.cat-section { padding: 0 0 64px; }
.cat-section-alt { background: #fff; }

/* Full-width category banner */
.cat-banner {
  background: #0a0a0a;
  padding: 48px 40px 40px;
  margin-bottom: 40px;
  position: relative; overflow: hidden;
}
/* Subtle orange accent glow per category */
#laundry .cat-banner::after    { background: radial-gradient(ellipse at right, rgba(59,130,246,0.2) 0%, transparent 60%); }
#dishwashing .cat-banner::after { background: radial-gradient(ellipse at right, rgba(16,185,129,0.2) 0%, transparent 60%); }
#deodorants .cat-banner::after  { background: radial-gradient(ellipse at right, rgba(139,92,246,0.2) 0%, transparent 60%); }
#haircare .cat-banner::after    { background: radial-gradient(ellipse at right, rgba(245,158,11,0.2) 0%, transparent 60%); }
#skincare .cat-banner::after    { background: radial-gradient(ellipse at right, rgba(236,72,153,0.2) 0%, transparent 60%); }
#shaving .cat-banner::after     { background: radial-gradient(ellipse at right, rgba(100,116,139,0.2) 0%, transparent 60%); }
#oral .cat-banner::after        { background: radial-gradient(ellipse at right, rgba(20,184,166,0.2) 0%, transparent 60%); }
#baby .cat-banner::after        { background: radial-gradient(ellipse at right, rgba(249,115,22,0.2) 0%, transparent 60%); }
.cat-banner::after {
  content: ''; position: absolute;
  inset: 0; pointer-events: none;
}

.cat-banner-inner {
  position: relative; z-index: 1;
  max-width: 1260px; margin: 0 auto;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.cat-banner-left { display: flex; align-items: center; gap: 20px; }
.cat-section-emoji {
  font-size: 3rem; line-height: 1;
  filter: drop-shadow(0 0 20px rgba(255,153,0,0.4));
}
.cat-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900; color: #fff;
  letter-spacing: -1px; line-height: 1.1;
  margin: 0;
}
.cat-banner-sub {
  font-size: 0.8rem; color: #555; margin-top: 6px; font-weight: 500;
}
/* Brand logos in banner */
.cat-banner-logos {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cat-banner-logos img {
  height: 32px; width: auto; object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 5px 10px;
}
.cat-banner-logos .brand-text-logo {
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.4); text-transform: uppercase;
}

/* ─── PRODUCT GRID ─── */
.container.products-wrap { padding-bottom: 0; }

.brand-group { margin-bottom: 48px; }
.brand-group-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.brand-group-logo {
  height: 32px; width: auto; max-width: 110px; object-fit: contain;
}
.brand-group-name {
  font-size: 0.85rem; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: #0a0a0a;
}
.brand-divider {
  flex: 1; height: 1px; background: #e8e8e8;
}
.brand-count {
  font-size: 0.72rem; font-weight: 600; color: #aaa;
  background: #f0f0f0; padding: 3px 10px; border-radius: 20px;
}

/* Product grid — 5 columns */
.product-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

/* ─── PRODUCT CARD ─── */
.product-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ebebeb;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .22s, transform .22s, border-color .22s;
}
.product-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: #FF9900;
}

.product-img-wrap {
  background: #fafafa;
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  padding: 18px; overflow: hidden;
}
.product-img-wrap img {
  max-width: 100%; max-height: 144px;
  width: auto; height: auto; object-fit: contain;
  transition: transform .3s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }

.product-info {
  padding: 14px 14px 16px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.product-name {
  font-size: 0.78rem; font-weight: 600;
  color: #333; line-height: 1.45; flex: 1;
}
.btn-soon {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #FF9900; color: #0a0a0a;
  padding: 9px 10px; border-radius: 6px;
  font-weight: 800; font-size: 0.72rem; cursor: not-allowed;
  letter-spacing: 0.2px;
  transition: background .15s;
}

/* ─── ABOUT ─── */
.section { padding: 80px 0; }
.section-dark {
  background: #0a0a0a;
  position: relative; overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute; top: -200px; right: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,153,0,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.section-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: #FF9900; margin-bottom: 12px;
}
.section-tag.light { color: #FF9900; }

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 900; letter-spacing: -0.8px;
  margin-bottom: 16px; line-height: 1.15;
}
h2.light { color: #fff; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.col-text p { color: #555; margin-bottom: 14px; font-size: 0.97rem; line-height: 1.8; }

.col-trust { display: flex; flex-direction: column; gap: 14px; }
.trust-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border: 1px solid #ebebeb;
  border-left: 3px solid #FF9900;
  border-radius: 10px; padding: 18px 20px;
  transition: transform .2s, box-shadow .2s;
}
.trust-item:hover { transform: translateX(4px); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.trust-icon { font-size: 1.6rem; flex-shrink: 0; }
.trust-item strong { display: block; font-size: 0.88rem; font-weight: 700; color: #0a0a0a; margin-bottom: 3px; }
.trust-item span { font-size: 0.8rem; color: #888; }

/* ─── CONTACT ─── */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.light-sub { color: #555; font-size: 0.97rem; line-height: 1.8; margin-top: 14px; }
.contact-box { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 18px 20px;
  transition: background .2s;
}
.contact-item:hover { background: rgba(255,255,255,0.07); }
.contact-icon { font-size: 1.3rem; }
.contact-item strong {
  display: block; color: rgba(255,255,255,0.4);
  font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 5px; font-weight: 700;
}
.contact-item a { font-size: 0.95rem; font-weight: 700; color: #FF9900; }
.contact-item a:hover { text-decoration: underline; }
.contact-item span { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.6; }

/* ─── FOOTER ─── */
.footer { background: #050505; padding: 24px 0; border-top: 1px solid #111; }
.footer .logo { color: #fff; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  color: #444; font-size: 0.78rem;
}

/* ─── LANGUAGE SWITCHER ─── */
.lang-switcher {
  display: flex; align-items: center; gap: 4px;
  margin-right: 8px;
}
.lang-btn {
  background: none; border: 1px solid transparent;
  color: #888; font-size: 0.75rem; font-weight: 600;
  padding: 4px 8px; border-radius: 5px; cursor: pointer;
  font-family: inherit; letter-spacing: 0.3px;
  transition: color .15s, border-color .15s, background .15s;
}
.lang-btn:hover { color: #0a0a0a; border-color: #ddd; }
.lang-btn.lang-active {
  color: #FF9900; border-color: #FF9900;
  background: rgba(255,153,0,0.07);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .product-grid-5 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .product-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .two-col, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .cat-banner-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .product-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .container { padding: 0 20px; }
  .cat-nav-list { padding: 0 20px; }
  .cat-banner { padding: 36px 20px; }
  nav a:not(.btn-nav) { display: none; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}
