/* ==========================================================================
   SHOESKI MODERN ECOMMERCE STYLESHEET (v1.2.1)
   Enhanced Typography, Polished Header, and Full Responsiveness
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page-bg, #f4f6fb);
  color: var(--ink, #101522);
  font-family: 'Plus Jakarta Sans', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open,
body.modal-open,
body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Containers & Glassmorphism */
.shell {
  width: min(1340px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.glass {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(24, 35, 68, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.ambient {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.35;
  pointer-events: none;
}

.ambient-blue {
  width: 580px;
  height: 580px;
  background: var(--blue, #335cff);
  left: -280px;
  top: 100px;
}

.ambient-red {
  width: 580px;
  height: 580px;
  background: var(--red, #ff5263);
  right: -280px;
  top: 140px;
}

/* Site Header & Navigation */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  height: 76px;
  margin-top: 16px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  transition: all 0.3s ease;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink, #101522);
}

.brand img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.brand-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink, #101522);
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: #3b4559;
  padding: 8px 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
  color: var(--blue, #335cff);
  background: rgba(51, 92, 255, 0.08);
}

.nav-item.active {
  color: var(--blue, #335cff);
  background: rgba(51, 92, 255, 0.12);
  font-weight: 700;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(226, 232, 240, 0.7);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--ink, #101522);
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: #ffffff;
  color: var(--blue, #335cff);
  border-color: rgba(51, 92, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(51, 92, 255, 0.12);
}

.cart-link {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--red, #ff5263);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(255, 82, 99, 0.4);
}

/* Hamburger Menu Toggle */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.7);
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 14px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  transition: all 0.2s ease;
}

.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--ink, #101522);
  border-radius: 4px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.menu-toggle.open .bar-1 {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open .bar-2 {
  opacity: 0;
}

.menu-toggle.open .bar-3 {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 21, 34, 0.4);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Buttons & Badges */
.btn {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.btn:active {
  transform: translateY(0);
}

.btn-dark {
  background: #11172a;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(17, 23, 42, 0.2);
}

.btn-dark:hover {
  background: #1e293b;
  box-shadow: 0 12px 30px rgba(17, 23, 42, 0.3);
}

.btn-light {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.95);
  color: #11172a;
}

.btn-light:hover {
  background: #ffffff;
  color: var(--blue, #335cff);
}

.btn-outline {
  background: #ffffff;
  border-color: #dce1eb;
  color: #25304a;
}

.btn-outline:hover {
  border-color: var(--blue, #335cff);
  color: var(--blue, #335cff);
}

.btn-danger {
  background: #b42318;
  color: #ffffff;
}

.shop-badge {
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  padding: 5px 10px;
  background: #111827;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-badge.sale {
  background: var(--red, #ff5263);
}

.discount-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 82, 99, 0.12);
  color: var(--red, #ff5263);
  font-size: 13px;
  font-weight: 800;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  padding: 60px;
  margin-top: 20px;
}

.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 450px;
  height: 450px;
  left: -200px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(49, 92, 255, 0.25), transparent 70%);
}

.hero::after {
  width: 450px;
  height: 450px;
  right: -200px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(255, 83, 100, 0.25), transparent 70%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 540px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue, #335cff);
  margin-bottom: 16px;
  background: rgba(51, 92, 255, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue, #335cff);
}

.hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  font-weight: 800;
  color: var(--ink, #101522);
}

.hero-copy > p {
  font-size: 17px;
  line-height: 1.6;
  color: #4c576d;
  max-width: 480px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.trust-chip {
  flex: 1;
  min-width: 130px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #ffffff;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 6px 16px rgba(24, 35, 68, 0.04);
}

.trust-chip > span {
  display: flex;
  flex-direction: column;
}

.trust-chip b {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink, #101522);
}

.trust-chip small {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
}

.hero-visual {
  position: relative;
  height: 380px;
  display: grid;
  place-items: center;
  z-index: 2;
}

.hero-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(168, 178, 203, 0.4);
  border-radius: 50%;
  box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.3), 0 32px 50px rgba(41, 58, 96, 0.08);
}

.hero-image {
  position: relative;
  z-index: 3;
  width: min(560px, 95%);
  height: 350px;
  object-fit: contain;
  filter: drop-shadow(0 25px 25px rgba(28, 36, 60, 0.2));
  transform: rotate(-6deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero:hover .hero-image {
  transform: rotate(-3deg) scale(1.03);
}

.float-card {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #ffffff;
  box-shadow: 0 16px 36px rgba(30, 41, 70, 0.12);
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}

.float-card strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink, #101522);
}

.float-card small {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.stat-card {
  right: 12px;
  top: 40px;
  min-width: 140px;
}

.rating-card {
  right: 25px;
  bottom: 10px;
  min-width: 180px;
}

.stars {
  color: var(--red, #ff5263);
  letter-spacing: 2px;
  font-size: 14px;
}

/* Section Heads & Collections */
.section {
  margin-top: 40px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 4px 18px;
}

.section-head h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink, #101522);
}

.section-head a {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue, #335cff);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-head a:hover {
  text-decoration: underline;
}

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

.collection-card {
  position: relative;
  min-height: 200px;
  border-radius: 22px;
  padding: 24px 20px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(24, 35, 68, 0.12);
}

.collection-card h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px;
  max-width: 55%;
  letter-spacing: -0.02em;
  color: var(--ink, #101522);
}

.collection-card p {
  font-size: 13px;
  max-width: 55%;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.collection-card img {
  position: absolute;
  right: -10px;
  bottom: 0;
  width: 60%;
  height: 175px;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(30, 38, 65, 0.14));
  transition: transform 0.3s ease;
}

.collection-card:hover img {
  transform: translateY(-4px) scale(1.04);
}

.arrow-circle {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}

.collection-card:hover .arrow-circle {
  transform: translateX(3px);
  background: var(--ink, #101522);
  color: #ffffff;
}

/* Product Cards & Product Grids */
.products-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  border-radius: 20px;
  padding: 14px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(24, 35, 68, 0.12);
}

.product-card .pic {
  height: 190px;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.85);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.product-card .pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .pic img {
  transform: scale(1.06);
}

.product-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 12px 0 8px;
  min-height: 40px;
  color: var(--ink, #101522);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 12px;
}

.price {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink, #101522);
}

.old-price {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-left: 4px;
}

.rating {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.rating b {
  color: var(--red, #ff5263);
}

.product-card .btn {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
}

.heart-form {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 4;
}

.heart {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  cursor: pointer;
  color: #64748b;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.heart:hover {
  color: var(--red, #ff5263);
  transform: scale(1.1);
  background: #ffffff;
}

.badge-row {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  display: flex;
  gap: 6px;
}

/* Promo Banners & Testimonials */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.promo {
  position: relative;
  min-height: 220px;
  border-radius: 24px;
  overflow: hidden;
  padding: 32px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo.blue {
  background: linear-gradient(115deg, #1e40af, #3b82f6);
}

.promo.red {
  background: linear-gradient(115deg, #991b1b, #ef4444);
}

.promo small {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.promo h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 6px 0 4px;
  letter-spacing: -0.02em;
}

.promo p {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 18px;
  opacity: 0.95;
}

.promo .btn {
  background: #ffffff;
  color: #111827;
  align-self: flex-start;
  min-height: 42px;
  font-size: 14px;
  border-radius: 12px;
  padding: 8px 18px;
}

.promo img {
  position: absolute;
  right: 15px;
  bottom: -20px;
  width: 45%;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.3));
}

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

.testimonial {
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.person {
  display: flex;
  gap: 14px;
  align-items: center;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dfe6ff, #ffe0e4);
  font-weight: 800;
  font-size: 16px;
  color: var(--ink, #101522);
}

.person b {
  font-size: 15px;
  font-weight: 700;
  display: block;
}

.testimonial p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 14px 0 0;
}

/* Newsletter & Footer */
.newsletter {
  margin-top: 40px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 70px 1fr minmax(360px, 520px);
  gap: 20px;
  align-items: center;
  padding: 28px 36px;
}

.mail-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1f50df, #6e79ff);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(49, 92, 255, 0.25);
}

.newsletter h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 4px;
}

.newsletter p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.newsletter form {
  display: flex;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  border: 1px solid #dce1eb;
  border-radius: 14px 0 0 14px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.85);
  outline: none;
  font-size: 14px;
}

.newsletter button {
  border: 0;
  background: linear-gradient(90deg, var(--red, #ff5263), #6875ff);
  color: #ffffff;
  border-radius: 0 14px 14px 0;
  padding: 0 24px;
  font-weight: 700;
  cursor: pointer;
}

.site-footer {
  border-radius: 24px;
  margin-top: 40px;
  margin-bottom: 28px;
  padding: 36px 36px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr;
  gap: 36px;
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 0 18px;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  color: var(--ink, #101522);
  transition: all 0.2s ease;
}

.social-row a:hover {
  background: var(--blue, #335cff);
  color: #ffffff;
  border-color: var(--blue, #335cff);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--ink, #101522);
}

.footer-col a {
  display: block;
  color: #64748b;
  font-size: 14px;
  margin: 10px 0;
}

.footer-col a:hover {
  color: var(--blue, #335cff);
  padding-left: 2px;
}

.footer-payments p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 14px;
}

.payment-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.payment-chips img {
  height: 18px;
  width: auto;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  margin-top: 28px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

/* Page Inner Layouts, Shop & Product Detail */
.main-shell {
  padding-top: 20px;
  padding-bottom: 36px;
}

.notice {
  padding: 14px 18px;
  border-radius: 16px;
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 600;
}

.notice.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.notice.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.page-card {
  border-radius: var(--card-radius, 24px);
  padding: 32px;
  margin-bottom: 24px;
}

.page-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.page-intro {
  font-size: 16px;
  color: #64748b;
  max-width: 720px;
  margin: 0 0 24px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 24px;
}

.filters {
  border-radius: 22px;
  padding: 22px;
  height: max-content;
  position: sticky;
  top: 106px;
}

.filters h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 18px;
}

.filter-group {
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
  margin-top: 16px;
}

.filter-group label.title {
  display: block;
  font-size: 14px;
  font-weight: 750;
  margin-bottom: 8px;
}

.input, .select, .textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px 14px;
  outline: none;
  font-size: 14px;
  color: #111827;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus, .select:focus, .textarea:focus {
  border-color: var(--blue, #335cff);
  box-shadow: 0 0 0 3px rgba(51, 92, 255, 0.15);
}

.textarea {
  min-height: 130px;
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin: 8px 0;
  cursor: pointer;
}

.shop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.shop-head h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
}

.shop-head p {
  font-size: 14px;
  color: #64748b;
  margin: 4px 0 0;
}

.filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 12px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

/* Product Detail Page */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.product-gallery {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
}

.thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumb-btn {
  border: 2px solid transparent;
  background: #ffffff;
  border-radius: 14px;
  padding: 6px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.thumb-btn.active {
  border-color: var(--blue, #335cff);
}

.thumb-btn img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.main-product-image {
  border-radius: 24px;
  background: rgba(248, 250, 252, 0.85);
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  cursor: zoom-in;
}

.main-product-image img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  padding: 24px;
}

.product-info h1 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.product-sub {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 16px;
}

.price-large {
  font-size: 32px;
  font-weight: 800;
  margin: 14px 0;
  color: var(--ink, #101522);
}

.price-large .old-price {
  font-size: 18px;
}

.variant-box {
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
  margin-top: 18px;
}

.variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.variant-option {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 14px;
  background: #ffffff;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.variant-option:has(input:checked) {
  border-color: var(--blue, #335cff);
  background: rgba(51, 92, 255, 0.05);
  box-shadow: 0 0 0 2px var(--blue, #335cff);
}

.qty-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.qty-input {
  display: flex;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  width: 140px;
  height: 48px;
}

.qty-input button {
  width: 44px;
  border: 0;
  background: #ffffff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}

.qty-input button:hover {
  background: #f1f5f9;
}

.qty-input input {
  width: 52px;
  border: 0;
  text-align: center;
  outline: none;
  font-weight: 700;
  font-size: 16px;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.product-actions .btn {
  flex: 1;
  min-height: 48px;
  font-size: 16px;
}

/* Search Overlay Modal */
.search-overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  background: rgba(16, 21, 34, 0.65);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: start center;
  padding-top: 100px;
  transition: opacity 0.2s ease;
}

.search-overlay[hidden] {
  display: none;
}

.search-panel {
  width: min(720px, calc(100% - 32px));
  border-radius: 24px;
  padding: 28px;
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.search-panel label {
  font-size: 22px;
  font-weight: 800;
  display: block;
  margin-bottom: 14px;
}

.search-line {
  display: flex;
}

.search-line input {
  flex: 1;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 14px 0 0 14px;
  padding: 14px 18px;
  font-size: 16px;
  outline: none;
}

.search-line .btn {
  border-radius: 0 14px 14px 0;
  min-height: 48px;
  font-size: 15px;
}

.search-close {
  position: absolute;
  right: 16px;
  top: 16px;
  border: 0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.search-close:hover {
  background: #f1f5f9;
  color: #111827;
}

.search-suggestions {
  margin-top: 12px;
  max-height: 340px;
  overflow-y: auto;
}

.suggestion {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  transition: background 0.15s ease;
}

.suggestion:hover {
  background: #f1f5f9;
}

.suggestion img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.suggestion b {
  font-size: 15px;
  color: #111827;
}

/* Cart & Checkout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th, .cart-table td {
  padding: 16px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  font-size: 14px;
}

.cart-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.cart-prod {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-prod img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.summary-card {
  border-radius: 20px;
  padding: 22px;
  height: max-content;
  position: sticky;
  top: 106px;
}

.summary-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-top: 0;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  font-size: 14px;
}

.summary-line.total {
  border-top: 1px solid #e2e8f0;
  margin-top: 10px;
  padding-top: 16px;
  font-size: 18px;
  font-weight: 800;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
}

.radio-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #ffffff;
  padding: 14px;
  margin: 10px 0;
  cursor: pointer;
}

.radio-card:has(input:checked) {
  border-color: var(--blue, #335cff);
  box-shadow: 0 0 0 2px var(--blue, #335cff);
}

.account-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 20px;
}

.account-nav {
  border-radius: 18px;
  padding: 12px;
  height: max-content;
  position: sticky;
  top: 106px;
}

.account-nav a, .account-nav button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.account-nav a:hover, .account-nav a.active {
  background: #ffffff;
  color: var(--blue, #335cff);
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.account-stat {
  border-radius: 16px;
  padding: 20px;
}

.account-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
}

/* ==========================================================================
   RESPONSIVENESS BREAKPOINTS
   ========================================================================== */

/* Laptop & Tablet Large (max-width: 1200px) */
@media (max-width: 1200px) {
  .shell {
    width: min(100% - 36px, 1340px);
  }
  .hero {
    padding: 48px 40px;
  }
  .products-row, .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .products-row .product-card:nth-child(n+4) {
    display: none;
  }
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
  .footer-payments {
    grid-column: 1 / -1;
  }
}

/* Tablet & Mobile Nav Trigger (max-width: 992px) */
@media (max-width: 992px) {
  .site-header {
    height: 70px;
    padding: 0 18px;
    top: 10px;
    margin-top: 10px;
  }

  .menu-toggle {
    display: flex;
  }

  .brand img {
    height: 34px;
  }

  /* Mobile Drawer Navigation */
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    height: auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #ffffff;
    box-shadow: 0 20px 50px rgba(16, 21, 34, 0.18);
    border-radius: 20px;
    padding: 14px;
    display: none;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .main-nav.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 4px;
  }

  .nav-item {
    font-size: 16px;
    padding: 13px 16px;
    border-radius: 12px;
    width: 100%;
    justify-content: space-between;
  }

  .nav-item::after {
    content: '→';
    font-size: 14px;
    opacity: 0.5;
  }

  .nav-item:hover, .nav-item.active {
    background: rgba(51, 92, 255, 0.1);
  }

  /* Hero on Tablet */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 40px 30px;
    text-align: center;
  }

  .hero-copy {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .trust-row {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 30px;
    height: 340px;
  }

  .stat-card {
    right: 10%;
  }

  .rating-card {
    left: 10%;
    right: auto;
  }

  /* Grids & Pages */
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    display: none;
    position: static;
  }

  .filters.open {
    display: block;
  }

  .filter-toggle {
    display: inline-flex;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .cart-layout, .checkout-grid, .account-grid {
    grid-template-columns: 1fr;
  }

  .summary-card, .account-nav {
    position: static;
  }

  .account-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .account-nav a, .account-nav button {
    white-space: nowrap;
    width: auto;
  }

  .testimonials {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial:nth-child(3) {
    grid-column: 1 / -1;
  }

  .newsletter {
    grid-template-columns: 60px 1fr;
  }

  .newsletter form {
    grid-column: 1 / -1;
  }
}

/* Mobile Screen (max-width: 767px) */
@media (max-width: 767px) {
  body {
    font-size: 14.5px;
  }

  .shell {
    width: min(100% - 24px, 1340px);
  }

  .site-header {
    height: 64px;
    padding: 0 14px;
    border-radius: 18px;
  }

  .icon-btn, .menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .hero {
    padding: 30px 18px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .trust-chip {
    min-width: 0;
    padding: 8px 6px;
    text-align: center;
    flex-direction: column;
    justify-content: center;
  }

  .hero-visual {
    height: 280px;
  }

  .hero-ring {
    width: 270px;
    height: 270px;
  }

  .hero-image {
    height: 260px;
  }

  .float-card {
    padding: 10px 14px;
  }

  .float-card strong {
    font-size: 18px;
  }

  .stat-card {
    top: 10px;
    right: 0;
  }

  .rating-card {
    bottom: 0;
    left: 0;
  }

  /* Product & Collection 2-Columns */
  .products-row, .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .products-row .product-card:nth-child(n+4) {
    display: flex;
  }

  .product-card {
    padding: 10px;
    border-radius: 16px;
  }

  .product-card .pic {
    height: 155px;
  }

  .product-card h3 {
    font-size: 13.5px;
    min-height: 36px;
    margin: 8px 0 4px;
  }

  .price {
    font-size: 14.5px;
  }

  .collection-grid, .collection-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .collection-card {
    min-height: 170px;
    padding: 16px 14px;
  }

  .collection-card h3 {
    font-size: 15px;
    max-width: 65%;
  }

  .collection-card p {
    font-size: 11px;
    max-width: 60%;
  }

  .collection-card img {
    height: 135px;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .promo {
    min-height: 190px;
    padding: 24px;
  }

  .promo h3 {
    font-size: 24px;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .testimonial:nth-child(3) {
    grid-column: auto;
  }

  .newsletter {
    padding: 20px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mail-icon {
    margin: 0 auto;
  }

  .newsletter form {
    flex-direction: column;
    gap: 8px;
  }

  .newsletter input {
    border-radius: 12px;
    width: 100%;
  }

  .newsletter button {
    border-radius: 12px;
    height: 46px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand, .footer-payments {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Product Gallery on Mobile */
  .product-gallery {
    grid-template-columns: 1fr;
  }

  .thumbs {
    order: 2;
    flex-direction: row;
    overflow-x: auto;
  }

  .main-product-image, .main-product-image img {
    min-height: 360px;
    height: 360px;
  }

  /* Cart Table on Mobile */
  .cart-table thead {
    display: none;
  }

  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table tr {
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
  }

  .cart-table td {
    border: 0;
    padding: 6px 0;
  }

  .account-stats {
    grid-template-columns: 1fr;
  }
}

/* Extra Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .trust-chip {
    flex-direction: row;
    text-align: left;
    padding: 10px 14px;
  }

  .collection-grid {
    grid-template-columns: 1fr;
  }

  .collection-card {
    min-height: 160px;
  }

  .search-panel {
    padding: 20px;
  }

  .search-overlay {
    padding-top: 60px;
  }
}

/* AJAX Toast Notification */
.ajax-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  max-width: min(380px, calc(100vw - 40px));
  box-shadow: 0 16px 40px rgba(24, 35, 68, 0.2);
  margin: 0;
  border-radius: 14px;
  font-size: 14px;
  animation: slideToast 0.3s ease;
}

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

/* Product Lightbox */
.product-lightbox[hidden] {
  display: none;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(12px);
}

.product-lightbox > img {
  display: block;
  max-width: min(1000px, 92vw);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.35);
}

.product-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
