:root {
  --bg: #05060a;
  --bg-elevated: #0b0d14;
  --bg-soft: #121522;
  --accent: #f5b5a1;
  --accent-strong: #f28b68;
  --accent-soft: rgba(242, 139, 104, 0.16);
  --text: #f7f7fb;
  --text-soft: #c3c6d8;
  --border-subtle: #262838;
  --error: #ff6b6b;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --nav-height: 76px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
  --shadow-card: 0 18px 40px rgba(4, 6, 14, 0.95);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #15182a 0, #05060a 38%, #020308 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 10, 0.95),
    rgba(5, 6, 10, 0.78),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.65);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(242, 139, 104, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-soft);
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-link {
  position: relative;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.3rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent-strong));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn-outline {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(244, 197, 167, 0.18), transparent),
    rgba(5, 6, 10, 0.36);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.68);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.8rem;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* NAVBAR ICONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.nav-icon-btn:hover {
  background: rgba(242, 139, 104, 0.15);
  border-color: rgba(242, 139, 104, 0.4);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(242, 139, 104, 0.2);
}

.nav-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.nav-track-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  min-width: 96px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.22), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 107, 107, 0.55);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 600;
  gap: 0.35rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(255, 107, 107, 0.12);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.checkout-card,
.summary-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.checkout-card h2,
.summary-card h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #fff;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field-grid.full-width {
  grid-template-columns: 1fr;
}

.checkout-card input,
.checkout-card select,
.checkout-card textarea,
.summary-card input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: #fff;
}

.checkout-card textarea {
  min-height: 100px;
  resize: vertical;
}

.checkout-card label,
.summary-card label {
  color: #d8dbe8;
}

.checkout-card .help-text,
.summary-card .help-text {
  font-size: 0.88rem;
  color: #a9b0cc;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.shipping-method-card,
.payment-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 1.2rem 1.4rem;
  margin-top: 1rem;
}

.shipping-method-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.shipping-method-card strong,
.payment-box strong {
  color: #fff;
}

.summary-card .summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-card .summary-row:last-child {
  border-bottom: none;
}

.summary-card .summary-row.total {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 18px;
}

.cart-item .item-info {
  flex: 1;
}

.cart-item .item-name {
  margin: 0;
  font-size: 0.95rem;
  color: #f7f7fb;
}

.cart-item .item-meta {
  margin: 0.25rem 0 0;
  color: #a9b0cc;
  font-size: 0.85rem;
}

.checkout-card .btn-primary,
.summary-card .btn-primary {
  width: 100%;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  box-shadow: 0 2px 8px rgba(242, 139, 104, 0.4);
}

@media (max-width: 980px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-actions {
    gap: 0.5rem;
  }
  
  .nav-icon-btn {
    width: 36px;
    height: 36px;
  }
  
  .nav-icon-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* HERO */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  isolation: isolate;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(241, 175, 146, 0.15), transparent 55%),
    radial-gradient(circle at bottom right, rgba(123, 152, 255, 0.1), transparent 55%);
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

.hero-slider {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-block: 3.5rem 4.5rem;
  opacity: 0;
  transform: translateX(4%);
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1), transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
  background-image: linear-gradient(
      110deg,
      rgba(5, 6, 10, 0.4) 0,
      rgba(5, 6, 10, 0.3) 25%,
      rgba(5, 6, 10, 0.2) 50%,
      rgba(5, 6, 10, 0.05) 75%,
      transparent 100%
    ),
    var(--bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset-block: 4.5rem 3.5rem;
  right: max((100% - 1120px) / 2, 1.25rem);
  width: min(460px, 54vw);
  border-radius: var(--radius-lg);
  background-image:
    linear-gradient(145deg, rgba(242, 139, 104, 0.1), rgba(5, 6, 10, 0.6)),
    var(--bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(12px) scale(1.02);
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1), transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-slide.active::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-content {
  position: relative;
  max-width: 620px;
  z-index: 2;
  padding: 2rem 0;
  margin-left: 0;
}

.eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: 0.02em;
  margin: 0 0 0.8rem;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  margin: 0 0 1.8rem;
  max-width: 28rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.btn-primary {
  border: none;
  cursor: pointer;
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at 10% 0, #ffe0cd, #f5b5a1 38%, #f28b68 100%);
  color: #130808;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 6, 12, 0.72);
  color: var(--text);
  font-size: 0.86rem;
}

.btn-link {
  font-size: 0.86rem;
  color: var(--accent);
  text-decoration: none;
}

.btn-link:hover {
  text-decoration: underline;
}

.hero-controls {
  position: absolute;
  inset-inline: 0;
  bottom: 2.1rem;
  display: flex;
  justify-content: flex-start;
}

.hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(6, 7, 12, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.86);
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hero-dot.active {
  background: var(--accent-strong);
}

/* SECTIONS */

.section {
  padding-block: 4.5rem;
}

.section-muted {
  background: radial-gradient(circle at top, rgba(33, 37, 73, 0.7), transparent 55%),
    #040511;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-header {
  text-align: center;
  margin-bottom: 2.8rem;
}

.section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin: 0.2rem 0 0.4rem;
}

.section-subtitle {
  margin: 0;
  color: var(--text-soft);
  max-width: 480px;
  margin-inline: auto;
}

/* PRODUCT CARDS */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: radial-gradient(circle at top, rgba(242, 139, 104, 0.08), transparent 52%),
    radial-gradient(
      circle at bottom,
      rgba(118, 142, 255, 0.08),
      transparent 60%
    ),
    rgba(6, 7, 14, 0.96);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
    border-color 0.3s ease,
    background 0.4s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: cardFadeIn 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.32), transparent 52%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 28px 64px rgba(242, 139, 104, 0.25), 0 12px 32px rgba(0, 0, 0, 0.96);
  border-color: rgba(242, 139, 104, 0.3);
}

.product-card:hover::before {
  opacity: 1;
}

.card-image-wrapper {
  position: relative;
  padding: 0.75rem;
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.96);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
    filter 0.4s ease;
  filter: brightness(0.95) contrast(1.05);
}

.product-card:hover .card-image {
  transform: scale(1.08);
  filter: brightness(1.05) contrast(1.1);
}

.card-badge {
  position: absolute;
  left: 1.15rem;
  bottom: 1.25rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(5, 6, 12, 0.88);
  color: var(--accent);
  border: 1px solid rgba(242, 139, 104, 0.55);
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 2;
}

.product-card:hover .card-badge {
  transform: scale(1.1) translateY(-2px);
  opacity: 1;
}

.card-badge.badge-dark {
  color: #ffe5cf;
  border-color: rgba(255, 255, 255, 0.28);
}

.card-body {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.card-title {
  margin: 0;
  font-size: 0.98rem;
}

.card-text {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.card-meta {
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.price {
  font-weight: 600;
}

.tag {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 0.74rem;
}

/* LOOKBOOK STRIP */

.lookbook-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 2.5rem;
}

.lookbook-strip {
  display: flex;
  gap: 0.9rem;
  overflow: hidden;
  border-radius: 999px;
  padding: 0.7rem;
  background: radial-gradient(circle at top, rgba(242, 139, 104, 0.22), transparent 60%),
    rgba(5, 6, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lookbook-strip img {
  width: 160px;
  border-radius: 999px;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.02);
  animation: strip-scroll 26s linear infinite;
}

.lookbook-strip img:nth-child(even) {
  animation-direction: reverse;
}

@keyframes strip-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* NEWSLETTER */

.newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(5, 6, 12, 0.92);
  border-radius: 999px;
  padding: 0.3rem 0.35rem 0.3rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  min-width: 190px;
}

.newsletter-form input::placeholder {
  color: rgba(195, 198, 216, 0.7);
}

.newsletter .btn-primary {
  padding-inline: 1.3rem;
}

/* FOOTER */

.footer {
  padding-block: 3.2rem 2rem;
  background: #040411;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
}

.footer-brand .brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.footer-col h4 {
  margin: 0 0 0.7rem;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.footer-col a {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  text-align: center;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset-inline: 1.25rem;
    top: var(--nav-height);
    padding: 0.9rem 1rem 1rem;
    border-radius: 18px;
    background: rgba(5, 6, 12, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-direction: column;
    gap: 0.9rem;
    transform-origin: top;
    transform: scaleY(0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 50;
  }

  .nav-links.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-slide::before {
    right: 6%;
    inset-block: auto 4.2rem;
    height: 230px;
    width: 52vw;
  }

  .hero {
    min-height: auto;
    padding-bottom: 1rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lookbook-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsletter {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-slide {
    padding-block: 3rem 3.3rem;
  }

  .hero-slide::before {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lookbook-strip img {
    width: 130px;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
    border-radius: 18px;
  }

  .newsletter-form input {
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 460px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- HERO SECTION FIX --- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Full screen height setup */
  overflow: hidden;
  background-color: #000;
}

.hero-slider {
  height: 100%;
}

.hero-slide {
  display: none;
  height: 100vh; /* Slide ki height full screen karein */
  width: 100%;
  position: relative;
  /* Image settings */
  background-image: var(--bg);
  background-size: cover;      /* Isse image stretch ya cut nahi hogi, fit ayegi */
  background-position: center;   /* Image ka center part dikhayega */
  background-repeat: no-repeat;
}

.hero-slide.active {
  display: flex;
  align-items: center; /* Content ko vertically center karne ke liye */
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px; /* Navbar se gap dene ke liye */
  color: #ffffff;
}

/* Isse content shadow mein clear dikhega */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
  z-index: 1;
}

/* Dots alignment fix */
.hero-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
/* ===== COLLECTION DROPDOWN ===== */
.nav-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.6rem;
  margin-left: 4px;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #0b0d14;
  border-radius: 14px;
  padding: 0.6rem;
  min-width: 180px;
  display: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  z-index: 999;
}

.dropdown-menu a {
  display: block;
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
  color: #fff;
  border-radius: 10px;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.06);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

/* Mobile support */
.nav-dropdown.open .dropdown-menu {
  display: block;
}





/* Button ki Basic Styling */
.add-to-cart-btn {
  width: 100%;
  padding: 12px 20px;
  margin-top: 15px;
  background-color: #1a1a1a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  /* Smooth transition for all properties */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Animation: Button thoda sa upar uthega aur dark hoga */
.add-to-cart-btn:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Click Animation: Dabne wala effect */
.add-to-cart-btn:active {
  transform: translateY(0) scale(0.96);
}

/* Icon Animation: Hover par icon thoda sa hilega */
.cart-icon {
  transition: transform 0.3s ease;
}

.add-to-cart-btn:hover .cart-icon {
  transform: translateX(-3px);
}

/* Shine Effect: Button ke upar se ek chamak guzregi */
.add-to-cart-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s;
}

.add-to-cart-btn:hover::after {
  left: 100%;
}

/* ===== PAGE LAYOUTS ===== */

.page-main {
  padding: 2rem 0 3.5rem;
}

.page-main h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin: 0 0 1.25rem;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.btn-secondary {
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.86rem;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Cart page */
.cart-page-main .cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cart-page-main .cart-item {
  flex-wrap: wrap;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.cart-page-main .cart-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.cart-page-main .cart-item > div {
  flex: 1;
  min-width: 180px;
}

.cart-page-main .cart-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.cart-page-main .cart-item p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.cart-total {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-total h2 {
  margin: 0;
  font-size: 1.25rem;
}

/* Track page */
.track-page-main h1,
.track-page-main h2 {
  font-family: "Playfair Display", serif;
}

.track-input-group {
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.track-input-group input {
  flex: 1;
  min-width: 200px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1rem;
}

.track-input-group button {
  padding: 12px 24px;
  white-space: nowrap;
}

.track-status {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(0, 123, 255, 0.08);
  border-left: 4px solid #007bff;
  border-radius: 8px;
}

.track-timeline {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-item {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #007bff;
  flex-shrink: 0;
  margin-top: 2px;
}

.timeline-dot.active {
  background: #28a745;
}

.timeline-content h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.track-error {
  background: rgba(255, 107, 107, 0.12);
  border-left-color: var(--error);
  color: #ffb4b4;
}

.track-success {
  background: rgba(40, 167, 69, 0.12);
  border-left-color: #28a745;
  color: #9ae6b0;
}

.recent-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.recent-box h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.track-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.track-table th,
.track-table td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
  text-align: left;
  font-size: 0.9rem;
}

.track-table th {
  background: rgba(255, 255, 255, 0.06);
}

.track-link-btn {
  background: #111;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}

/* Order confirmation */
.confirmation-container {
  max-width: 800px;
  margin: 2rem auto 3rem;
  padding: clamp(1rem, 4vw, 2rem);
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #2c3e50;
}

.confirmation-header {
  text-align: center;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #ff6b6b;
  padding-bottom: 1.25rem;
}

.confirmation-header h1 {
  color: #2c3e50;
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.65rem 0;
  border-bottom: 1px solid #eee;
}

.info-value {
  text-align: right;
  word-break: break-word;
}

.item {
  flex-wrap: wrap;
}

.tracking-number-display {
  font-size: clamp(1.1rem, 4vw, 1.75rem);
  word-break: break-all;
}

/* ===== EXTENDED RESPONSIVE ===== */

@media (max-width: 900px) {
  .about-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .checkout-card,
  .summary-card {
    padding: 1.25rem;
  }

  .shipping-method-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0.25rem 0 0.25rem 0.75rem;
    min-width: 0;
  }

  .nav-dropdown.open .dropdown-menu,
  .nav-dropdown:hover .dropdown-menu {
    display: block;
  }

  .nav-dropdown .dropdown-menu a {
    padding: 0.5rem 0;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }

  .container {
    width: min(1120px, 100% - 1.25rem);
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-tagline {
    font-size: 0.62rem;
  }

  .nav-inner {
    gap: 0.75rem;
  }

  .nav-track-btn {
    min-width: auto;
    padding: 0 0.75rem;
    height: 36px;
    font-size: 0.82rem;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .nav-icon-btn[aria-label="Search"] {
    display: none;
  }

  .hero-slide {
    height: auto;
    min-height: 75vh;
  }

  .hero-content {
    padding-top: 2rem;
  }

  .section {
    padding-block: 3rem;
  }

  .section h2 {
    font-size: 1.65rem;
  }

  .about-features-grid {
    grid-template-columns: 1fr;
  }

  .cart-page-main .cart-item {
    flex-direction: column;
  }

  .cart-page-main .cart-item img {
    width: 100%;
    height: 200px;
  }

  .cart-total {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cart-total .btn-primary {
    width: 100%;
    text-align: center;
  }

  .track-input-group {
    flex-direction: column;
  }

  .track-input-group input,
  .track-input-group button {
    width: 100%;
  }

  .info-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .info-value {
    text-align: left;
  }

  .item {
    flex-direction: column;
    align-items: flex-start;
  }

  .item-price {
    align-self: flex-start;
  }

  .confirmation-container {
    margin-inline: 0.5rem;
  }
}

@media (max-width: 480px) {
  .nav-track-btn {
    padding: 0 0.55rem;
    font-size: 0.75rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .checkout-card,
  .summary-card {
    padding: 1rem;
    border-radius: 16px;
  }
}







