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

:root {
  --bg-body: #f5f5f7;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --border-subtle: #e4e4e7;
  --text-main: #0f172a;
  --text-subtle: #6b7280;
  --primary: #792cbd;
  --primary-soft: #792cbd30;
  --primary-deep: #792cbd;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
}

a {
  color: var(--text-main);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-header);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo a {
  font-weight: 100;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}
.site-logo {
  height: 90px;
  width: auto;
}

.nav a {
  margin-left: 1rem;
  font-size: 0.95rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  background: #e5e7eb;
}

.nav a.active {
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.cart-link {
  border: 1px solid #d4d4d8;
}

.cart-link.active {
  border-color: var(--primary-deep);
}

.cart-count-pill {
  background: #ef4444;
  color: #ffffff;
  border-radius: 999px;
  padding: 0 0.45rem;
  font-size: 0.75rem;
  min-width: 18px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-left: 0.25rem;
}

/* Main wrapper */

.main {
  padding-bottom: 3rem;
}

/* HERO SLIDER */

.hero-slider {
  padding: 1.5rem 0 0.5rem;
}

.slider {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, #eff6ff, #fef3c7);
  box-shadow: var(--shadow-soft);
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  padding: 2.5rem 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.slide-left h1 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  margin: 0 0 0.75rem;
}

.slide-left p {
  margin: 0 0 1.5rem;
  color: var(--text-subtle);
  max-width: 420px;
}

.slide-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.06);
}

.badge-primary {
  background: #1d4ed8;
  color: white;
}

.slide-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.slide-right {
  justify-self: center;
}

.slide-hero-img-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #111827;
}

.slide-hero-img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: 260px;
  object-fit: cover;
}

/* Slider controls */

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255,255,255,0.9);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15,23,42,0.25);
}

.slider-btn.prev {
  left: 12px;
}

.slider-btn.next {
  right: 12px;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-dot.active {
  width: 22px;
  background: var(--primary-deep);
}

/* PAGE HERO (inner banners) */

.page-hero {
  padding: 2.4rem 0 2rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.page-hero-title {
  margin: 0 0 0.3rem;
  font-size: 1.7rem;
}

.page-hero-subtitle {
  margin: 0;
  color: var(--text-subtle);
  font-size: 0.9rem;
}

.page-hero-shop {
  background: linear-gradient(135deg, #eef2ff, #f1f5f9);
}

.page-hero-contact {
  background: linear-gradient(135deg, #f5f3ff, #e0f2fe);
}

.page-hero-checkout {
  background: linear-gradient(135deg, #ecfdf3, #eef2ff);
}

.page-hero-success {
  background: linear-gradient(135deg, #dcfce7, #dbeafe);
}

/* Sections */

.section {
  padding: 2rem 0 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-header h2,
.section-header h1 {
  margin: 0 0 0.3rem;
}

.section-subtitle {
  margin: 0;
  color: var(--text-subtle);
  font-size: 0.9rem;
}

.link-inline {
  font-size: 0.9rem;
  color: var(--primary-deep);
}

/* Info strip */

.info-strip {
  padding: 2.2rem 0 0;
}

.info-strip-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.info-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.7rem 1rem;
}

.info-emoji {
  font-size: 1.3rem;
}

.info-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.info-sub {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

/* Cards / Products */

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148,163,184,0.25);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
}

.product-card {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(15,23,42,0.04);
}

.product-card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 0.7rem;
  background: #e5e7eb;
  height: 240px;
  object-fit: cover;
}

.product-card h3 {
  margin: 0.2rem 0 0.1rem;
  font-size: 0.98rem;
}

.product-card .category {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.product-card .price {
  font-weight: 600;
  margin: 0.35rem 0 0.15rem;
}

.product-card .desc {
  font-size: 0.8rem;
  color: var(--text-subtle);
  min-height: 2.2em;
  margin: 0 0 0.7rem;
}

.add-to-cart-form {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.add-to-cart-form input[type="number"] {
  width: 64px;
  padding: 0.25rem 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
}

/* Buttons */

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-deep);
}

.btn-secondary {
  background: #f3f4f6;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #e5e7eb;
}

.btn-sm {
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

/* Toast */

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #111827;
  color: #f9fafb;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 16px 35px rgba(15,23,42,0.5);
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}

.toast-show {
  opacity: 1;
  transform: translateY(0);
}

/* Forms */

.form {
  max-width: 100%;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.86rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border-subtle);
  background: #f9fafb;
  font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(37,99,235,0.1);
}

.inline-input {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.helper-text {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.alert-success {
  background: #ecfdf3;
  border: 1px solid #22c55e;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  display: none;
}

/* Checkout layout */

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.6rem;
  margin-top: 1.2rem;
}

.cart-summary {
  padding: 1.1rem 1.2rem;
}

.cart-summary h2,
.checkout-card h2 {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.cart-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem 0;
}

.cart-item {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.cart-item img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  background: #e5e7eb;
}

.cart-item h3 {
  margin: 0 0 0.1rem;
  font-size: 0.9rem;
}

.cart-item p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.cart-item-actions {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.cart-qty-btn {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #f3f4f6;
  padding: 0.1rem 0.55rem;
  font-size: 0.78rem;
  cursor: pointer;
}

.cart-qty-btn:hover {
  background: #e5e7eb;
}

.cart-qty {
  font-size: 0.8rem;
}

.cart-remove {
  border-radius: 999px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
  padding: 0.18rem 0.65rem;
  font-size: 0.78rem;
  cursor: pointer;
}

.cart-remove:hover {
  background: #fee2e2;
}

.cart-total {
  font-size: 1rem;
  margin-top: 0.4rem;
}

.checkout-card {
  padding: 1.1rem 1.2rem;
}

.small-note {
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-top: 0.35rem;
}

.empty-cart-message {
  font-size: 0.9rem;
  color: var(--text-subtle);
}

/* Order success page */

.success-card {
  max-width: 520px;
  margin: 1.5rem auto 0;
  padding: 1.5rem 1.6rem 1.7rem;
}

.success-icon {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.success-details {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.success-details p {
  margin: 0.15rem 0;
}

.success-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.contact-copy h1 {
  margin-top: 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.contact-list li + li {
  margin-top: 0.3rem;
}

.contact-card {
  padding: 1.2rem 1.3rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 1.2rem 0;
  margin-top: 2.5rem;
}

.footer-inner {
  font-size: 0.82rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr);
  gap: 1.4rem;
  align-items: flex-start;
}

.footer-logo {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.3rem;
}

.footer-sub {
  margin: 0;
  color: var(--text-subtle);
}

.footer-col-title {
  margin: 0 0 0.3rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-links a {
  color: var(--text-subtle);
  font-size: 0.82rem;
}

/* Responsive */

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

  .slide-right {
    justify-self: stretch;
  }

  .slide-hero-img {
    max-width: 100%;
    height: 220px;
  }

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

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav a {
    margin-left: 0.3rem;
  }

  .slider {
    border-radius: 20px;
  }

  .slider-btn {
    display: none;
  }

  .section {
    padding-top: 1.7rem;
  }

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

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

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

@media (max-width: 480px) {
  .slide {
    padding: 1.6rem 1.4rem 1.8rem;
  }

  .product-card img {
    height: 210px;
  }
}

/* ===== ECOMMERCE FOOTER (OVERRIDE) ===== */

.site-footer {
  border-top: none;
  background: #020617;
  padding: 2.5rem 0 2.8rem;
  margin-top: 3rem;
  color: #e5e7eb;
}

.footer-inner {
  font-size: 0.85rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: flex-start;
}

.footer-logo {
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: #f9fafb;
}

.footer-sub {
  margin: 0;
  color: #9ca3af;
}

.footer-col-title {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-links a {
  color: #9ca3af;
  font-size: 0.83rem;
}

.footer-links a:hover {
  color: #e5e7eb;
}

.footer-newsletter {
  margin-top: 1rem;
}

.footer-newsletter label {
  display: block;
  font-size: 0.82rem;
  color: #e5e7eb;
  margin-bottom: 0.35rem;
}

.footer-newsletter-row {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.footer-newsletter-row input {
  flex: 1;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.85rem;
}

.footer-newsletter-row input::placeholder {
  color: #6b7280;
}

.footer-newsletter-row button {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: none;
  background: #f97316;
  color: #111827;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.footer-newsletter-row button:hover {
  background: #fb923c;
}

.footer-newsletter-note {
  margin: 0;
  font-size: 0.76rem;
  color: #6b7280;
}

.footer-demo-note {
  margin-top: 0.8rem;
}

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

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

/* ===== MOBILE NAV TOGGLE ===== */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.nav-toggle span + span {
  margin-top: 4px;
}

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

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

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

/* Mobile nav behavior */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    width: 100%;
    margin-top: 0.5rem;
    display: none;
    flex-wrap: wrap;
  }

  .nav a {
    margin: 0 0.4rem 0.4rem 0;
    display: inline-block;
  }

  .nav-open .nav {
    display: flex;
  }
}

/* ===== FULL-WIDTH HERO SLIDER UPGRADE ===== */
.hero-slider {
  padding: 0;
}

.hero-slider .container {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.slider {
  border-radius: 0;
}

.slide {
  min-height: 600px;
}

.slide-right {
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.slide-hero-img-wrap {
  width: 100%;
  height: 100%;
}

.slide-hero-img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* Make slider a bit shorter on small screens */
@media (max-width: 768px) {
  .slide {
    min-height: 420px;
  }
}

/* ===== OFFCANVAS MOBILE NAV (VERTICAL) ===== */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 72%;
    max-width: 290px;
    background: #020617;
    box-shadow: -8px 0 25px rgba(15,23,42,0.45);
    padding: 4rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.22s ease-out;
    z-index: 40;
  }

  .nav a {
    margin: 0;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    color: #e5e7eb;
    display: block;
  }

  .nav a.active {
    background: #111827;
    color: #f97316;
  }

  .nav a:hover {
    background: #111827;
  }

  .nav-open .nav {
    transform: translateX(0);
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    z-index: 30;
  }

  .nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

/* UPDATED SLIDER HEIGHT */
.slide {
  min-height: 70vh !important;
}

/* SLIDER HEIGHT FIXED TO 70% */
.hero-slider,
.slider,
.slide {
  height: 70vh !important;
  min-height: 70vh !important;
}

/* CART PAGE REFINEMENT */
.cart-page {
  background: #f5f5f7;
}

.cart-page-title {
  text-align: center;
  margin: 0 0 1.6rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.cart-summary,
.checkout-card {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}

.cart-summary {
  padding: 1.4rem 1.6rem;
}

.checkout-card {
  padding: 1.4rem 1.6rem;
}

.cart-item {
  align-items: center;
}

.cart-item img {
  width: 70px;
  height: 70px;
  border-radius: 14px;
}

.cart-item h3 {
  font-size: 0.95rem;
}

.cart-item-actions {
  margin-top: 0.4rem;
}

.cart-total {
  font-size: 1.05rem;
  font-weight: 600;
}

.btn-primary.btn-full {
  font-size: 0.95rem;
  font-weight: 600;
}

/* FOOTER REDESIGN */
.site-footer {
  border-top: none;
  background: #1f2933;
  padding: 2.6rem 0 2.4rem;
  margin-top: 3rem;
  color: #e5e7eb;
}

.footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.footer-logo-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f97316, #facc15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #111827;
  font-size: 1rem;
}

.footer-logo-title {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.footer-logo-sub {
  margin: 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-sub {
  margin: 0.2rem 0;
  color: #9ca3af;
  font-size: 0.84rem;
}

.footer-support-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: #fbbf24;
}

.footer-support-link:hover {
  color: #facc15;
}

.footer-col-title {
  margin: 0 0 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.footer-links a {
  color: #cbd5f5;
  font-size: 0.84rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.84rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  color: #e5e7eb;
}

.footer-contact-list i {
  margin-top: 0.15rem;
}

.footer-contact-list a {
  color: #e5e7eb;
}

.footer-contact-list a:hover {
  color: #fbbf24;
}

.footer-social-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.footer-social-row a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-size: 0.85rem;
}

.footer-social-row a:hover {
  background: #fbbf24;
  color: #111827;
}

.footer-demo-note {
  margin-top: 0.6rem;
}

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

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

  .cart-page-title {
    font-size: 1.5rem;
  }
}

/* CART PAGE LIKE REFERENCE UI */
.cart-page {
  background: #f4f0e9;
}

.cart-page-title {
  text-align: left;
  font-size: 1.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
}

/* Main layout already using .checkout-layout: keep it, just tweak gaps */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
}

/* Cart card similar to mock */
.cart-summary {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
  padding: 1.4rem 1.5rem;
}

.cart-summary h2 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 1.1rem;
}

/* List container style */
.cart-list {
  margin: 0;
  padding: 0;
}

/* Cart item row */
.cart-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  padding: 0.9rem 0.3rem;
  border-radius: 16px;
  align-items: center;
}

.cart-item + .cart-item {
  border-top: 1px solid #e5e7eb;
}

.cart-item img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  background: #f3f4f6;
}

.cart-item-main h3 {
  margin: 0 0 0.15rem;
  font-size: 0.98rem;
}

.cart-item-meta {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.cart-item-bottom {
  margin-top: 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item-line-total {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Qty controls like pill */
.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #f3f4f6;
}

.cart-qty-btn {
  border: none;
  background: transparent;
  font-size: 0.9rem;
  cursor: pointer;
}

.cart-qty {
  font-size: 0.85rem;
}

/* Remove icon */
.cart-remove {
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #ef4444;
  cursor: pointer;
  font-size: 1rem;
}

/* Total label */
.cart-total {
  margin-top: 1.1rem;
  text-align: right;
  font-size: 0.95rem;
}
.cart-total strong {
  font-size: 1.1rem;
}

/* Order summary card like mock */
.checkout-card {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
  padding: 1.4rem 1.5rem 1.6rem;
}

.summary-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.summary-rows {
  border-radius: 16px;
  background: #f9fafb;
  padding: 0.9rem 0.9rem 0.7rem;
  margin-bottom: 0.9rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.summary-row span:last-child {
  font-weight: 500;
}

.summary-row:nth-child(2) span:last-child {
  color: #ef4444;
}

.summary-total {
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid #e5e7eb;
  font-weight: 600;
}

.summary-total span:last-child {
  font-size: 1rem;
}

/* Promo form style */
.promo-form {
  margin: 0 0 0.9rem;
}

.promo-input-wrap {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.promo-input-wrap input {
  flex: 1;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #d4d4d8;
  font-size: 0.85rem;
}

.promo-input-wrap button {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: #0f172a;
  color: #f9fafb;
  font-size: 0.85rem;
  cursor: pointer;
}

.promo-input-wrap button:hover {
  background: #020617;
}

.promo-help {
  margin: 0;
  font-size: 0.78rem;
  color: #6b7280;
}

.divider-soft {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0.9rem 0 0.9rem;
}

.checkout-subtitle {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
}

/* Responsive tweaks for cart layout */
@media (max-width: 768px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-page-title {
    text-align: center;
  }

  .cart-item {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .cart-remove {
    grid-column: 2 / 3;
    justify-self: flex-end;
  }
}

/* TREND STYLE FOOTER */
.footer-trend {
  background: linear-gradient(180deg, #111, #0a0a0a);
  position: relative;
  padding: 3.5rem 0 5rem;
  color: #fff;
  overflow: hidden;
}

.footer-trend-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
}

.footer-trend-left h2 {
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.footer-newsletter {
  margin: 1rem 0 1.2rem;
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter input {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: none;
}

.footer-newsletter button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #9efc67;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
}

.footer-social-pills span {
  display: inline-block;
  background: #222;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-right: 0.4rem;
}

.footer-trend-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-trend-links h4 {
  margin-bottom: 0.6rem;
}

.footer-trend-links a {
  display: block;
  color: #bbb;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-trend-links a:hover { color: #fff; }

.footer-bg-text {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 7rem;
  font-weight: 800;
  opacity: 0.05;
  padding-left: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-trend-inner {
    grid-template-columns: 1fr;
  }
  .footer-bg-text {
    font-size: 4rem;
  }
}

/* SHOP PAGE REDESIGN */
.shop-hero {
  padding: 1.8rem 0 1.6rem;
}

.shop-hero .container {
  max-width: 1180px;
}

.shop-hero-inner {
  background: #e0f2fe;
  border-radius: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.8rem 2rem;
}

.shop-hero-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2563eb;
}

.shop-hero-text h1 {
  margin: 0 0 0.6rem;
  font-size: 2rem;
}

.shop-hero-copy {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}

.shop-hero-media img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* Shop layout body */
.shop-body {
  padding: 0.8rem 0 0;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
  gap: 1.6rem;
  align-items: flex-start;
}

.shop-filters {
  background: #ffffff;
  border-radius: 18px;
  padding: 1rem 1rem 1.2rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
  font-size: 0.85rem;
}

.shop-filter-header {
  margin-bottom: 0.75rem;
}

.shop-count {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.shop-filter-group + .shop-filter-group {
  margin-top: 0.8rem;
}

.shop-filter-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0.25rem 0;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.shop-filter-body {
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.shop-filter-body label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #4b5563;
}

/* Products side */
.shop-products {
  background: transparent;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.9rem;
  gap: 1rem;
}

.shop-toolbar-title {
  margin: 0;
  font-weight: 600;
}

.shop-toolbar-sub {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.shop-toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
}

#sort-select {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 0.85rem;
}

/* 3-column grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

/* Tweak product card to be closer to ref */
.product-card {
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.product-card img {
  height: 220px;
}

.product-card h3 {
  font-size: 0.98rem;
}

.product-card .price {
  font-size: 0.96rem;
}

/* Responsive for shop layout */
@media (max-width: 1024px) {
  .shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .shop-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .shop-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* DIGI FASHION FOOTER (REFINED) */
.df-footer {
  background: #111827;
  border-top: 1px solid #1f2937;
  padding: 2.4rem 0 2.1rem;
  color: #e5e7eb;
  font-size: 0.85rem;
}

.df-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.df-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.df-footer-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #111827;
}

.df-footer-logo-title {
  margin: 0;
  font-weight: 600;
  font-size: 0.98rem;
}

.df-footer-logo-sub {
  margin: 0;
  font-size: 0.78rem;
  color: #9ca3af;
}

.df-footer-text {
  margin: 0 0 0.4rem;
  color: #9ca3af;
}

.df-footer-support {
  font-size: 0.8rem;
  color: #fbbf24;
}

.df-footer-support:hover {
  color: #facc15;
}

.df-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.df-footer-heading {
  margin: 0 0 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.df-footer-col a {
  color: #cbd5f5;
  font-size: 0.84rem;
}

.df-footer-col a:hover {
  color: #fff;
}

.df-footer-line {
  margin: 0 0 0.3rem;
  color: #e5e7eb;
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}

.df-footer-line i {
  margin-top: 0.15rem;
}

.df-footer-line a {
  color: #e5e7eb;
}

.df-footer-line a:hover {
  color: #fbbf24;
}

.df-footer-social-row {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.df-footer-social-row a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-size: 0.82rem;
}

.df-footer-social-row a:hover {
  background: #fbbf24;
  color: #111827;
}

.df-footer-meta {
  margin: 0;
  color: #9ca3af;
  font-size: 0.8rem;
}

/* Responsive footer layout */
@media (max-width: 960px) {
  .df-footer-inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  }
}

@media (max-width: 640px) {
  .df-footer-inner {
    grid-template-columns: 1fr;
  }
}

/* Modern product card styling */
.product-card {
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
  border: 1px solid #e5e7eb;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.07);
}

.product-card img {
  border-radius: 14px;
  margin-bottom: 0.6rem;
}

.product-card .category {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0 0 0.25rem;
}

.product-card .price {
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.product-card .desc {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 0.7rem;
}

.product-card .add-to-cart-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-card .add-to-cart-form input[type="number"] {
  width: 56px;
  padding: 0.35rem 0.3rem;
  border-radius: 999px;
}

.product-card .add-to-cart-form button {
  flex: 1;
}

/* Modern CTA button */
.product-card .btn-secondary {
  background: var(--primary);
  border-color: var(--primary);
  color: #f9fafb;
  font-weight: 500;
}

.product-card .btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* CONTACT PAGE ENHANCEMENTS */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.contact-copy {
  background: #f3f4f6;
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
}

.contact-copy h2 {
  margin-top: 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  font-size: 0.88rem;
}

.contact-list li + li {
  margin-top: 0.25rem;
}

.contact-card {
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
  border: 1px solid #e5e7eb;
}

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

/* Full background hero slide */
.slide-full {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.2));
}

.slide-full-content {
  position: relative;
  padding: 2.2rem 2.6rem;
  max-width: 520px;
  color: #f9fafb;
}

.slide-full-content h1 {
  margin: 0.5rem 0 0.7rem;
  font-size: 2.1rem;
}

.slide-full-content p {
  margin: 0 0 0.9rem;
  color: #e5e7eb;
}

.slide-meta {
  font-size: 0.8rem;
  color: #cbd5f5;
}

/* badges look better on dark bg */
.slide-badges .badge {
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(148,163,184,0.6);
}
.slide-badges .badge-primary {
  background: #f97316;
  border-color: #f97316;
  color: #111827;
}

/* FULL WIDTH CTA BANNER - SHOP */
.shop-cta-banner {
  position: relative;
  width: 100%;
  height: 380px;
  background: url('https://images.unsplash.com/photo-1445205170230-053b83016050?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.shop-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,0.9), rgba(15,23,42,0.4));
}

.shop-cta-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 1rem;
}

.shop-cta-content h1 {
  font-size: 2.4rem;
  margin: 0 0 0.6rem;
}

.shop-cta-content p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #e5e7eb;
}

.shop-cta-btn {
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .shop-cta-banner {
    height: 280px;
  }
  .shop-cta-content h1 {
    font-size: 1.6rem;
  }
}

/* EMPTY CART STATE */
.empty-cart-message {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.empty-cart-card {
  background: #fefaf5;
  border-radius: 18px;
  padding: 1.8rem 2rem;
  max-width: 520px;
  text-align: center;
  border: 1px solid #f3e7d9;
  box-shadow: 0 18px 40px rgba(148, 113, 61, 0.15);
}

.empty-cart-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f97316;
  color: #111827;
  font-size: 1.3rem;
}

.empty-cart-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
}

.empty-cart-card p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.empty-cart-btn {
  display: inline-block;
  padding-inline: 1.6rem;
}

/* Product detail page */
.product-detail-section {
  padding: 1.2rem 0 2.5rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.product-detail-image img {
  width: 100%;
  border-radius: 18px;
  background: #e5e7eb;
  max-height: 520px;
  object-fit: cover;
}

.product-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-bottom: 0.6rem;
}

.product-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.product-breadcrumb a:hover {
  text-decoration: underline;
}

.product-detail-title {
  font-size: 1.45rem;
  margin: 0 0 0.2rem;
}

.product-detail-meta {
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-bottom: 0.8rem;
}

.product-detail-price {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.product-detail-desc {
  font-size: 0.9rem;
  color: var(--text-subtle);
  margin-bottom: 1rem;
}

.product-detail-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  margin-right: 0.7rem;
}

.product-detail-info .add-to-cart-form {
  margin-top: 1rem;
}

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

/* Home category & recent sections */
.home-category-section {
  padding-top: 2.2rem;
}

.home-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.home-category-chip {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
}

.home-category-chip.is-active {
  background: var(--primary-soft);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.home-category-chip:hover {
  border-color: var(--primary);
}

.home-recent-section {
  padding-top: 2.2rem;
}

/* Force 3 column layout for Home Category Products */
#home-category-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

@media (max-width: 900px) {
  #home-category-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  #home-category-products {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Force 3 column layout for Home Recent Products */
#home-recent-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

@media (max-width: 900px) {
  #home-recent-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  #home-recent-products {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Product detail page - modern layout */
.product-detail-page {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.product-crumbs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.product-crumbs a {
  color: var(--text-subtle);
  text-decoration: none;
}

.product-crumbs a:hover {
  text-decoration: underline;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.product-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.product-detail-main-image {
  border-radius: 20px;
  background: #e5e7eb;
  overflow: hidden;
}

.product-detail-main-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 520px;
}

.product-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.product-detail-thumb {
  border-radius: 14px;
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
}

.product-detail-thumb img {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.product-detail-thumb.is-active {
  border-color: var(--primary);
}

.product-detail-info-pane {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.product-detail-title {
  font-size: 1.6rem;
  margin: 0;
}

.product-detail-price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.product-detail-price {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
}

.product-detail-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.rating-stars {
  display: inline-flex;
  gap: 0.1rem;
}

.rating-stars i {
  font-size: 0.8rem;
  color: #facc15;
}

.rating-score {
  font-weight: 500;
  color: var(--text-main);
}

.rating-count {
  color: var(--text-subtle);
}

.product-detail-short-desc {
  font-size: 0.9rem;
  color: var(--text-subtle);
  max-width: 36rem;
}

.product-detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.product-detail-meta-block {
  min-width: 180px;
}

.meta-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 0.4rem;
}

.detail-size-options {
  display: flex;
  gap: 0.4rem;
}

.size-pill {
  min-width: 38px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

.size-pill.is-active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

.detail-color-options {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.color-dot {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.color-inner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.1);
}

.color-dot.is-active {
  border-color: var(--primary);
}

.product-detail-low-stock {
  font-size: 0.84rem;
  color: #b91c1c;
}

.product-detail-low-stock span {
  font-weight: 600;
}

.product-detail-cart-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-top: 0.2rem;
}

.detail-qty-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.qty-input-shell {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.qty-input-shell input[type="number"] {
  width: 58px;
  border: none;
  text-align: center;
  padding: 0.3rem 0.2rem;
  font-size: 0.9rem;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f3f4f6;
  cursor: pointer;
  font-size: 1rem;
}

.btn-add-detail {
  min-width: 150px;
  height: 40px;
  border-radius: 999px;
}

.product-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.3rem;
}

.detail-tab {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.detail-tab.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.badge-number {
  font-size: 0.78rem;
  margin-left: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .product-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Policy pages */
.policy-wrapper {
  padding: 1.5rem 0 2.5rem;
}



.policy-section + .policy-section {
  margin-top: 1.4rem;
}

.policy-section h2 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.policy-section p {
  font-size: 0.88rem;
  color: var(--text-subtle);
  line-height: 1.6;
}

/* CTA Strip */
.cta-strip {
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #ffffff;
}
footer.site-footer.df-footer.mt-0 {
    margin: 0px;
}
.cta-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  gap: 1rem;
}

.cta-strip-content h2 {
  margin: 0;
  font-size: 1.4rem;
}

.cta-strip-content p {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* About page */
.about-body {
  padding: 1.6rem 0 2.6rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-copy h2 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

.about-copy p {
  font-size: 0.9rem;
  color: var(--text-subtle);
  line-height: 1.6;
}

.about-copy p + p {
  margin-top: 0.5rem;
}

.about-points {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

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

.about-point i {
  margin-top: 0.15rem;
  font-size: 1rem;
  color: var(--primary);
}

.about-point-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.about-point-text {
  font-size: 0.84rem;
  color: var(--text-subtle);
}

.about-media {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.about-main-card {
  border-radius: 22px;
  overflow: hidden;
  background: #e5e7eb;
}

.about-main-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

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

.about-stat-card {
  padding: 0.7rem 0.8rem;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.about-stat-value {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.about-stat-label {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

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

  .about-main-card img {
    height: 220px;
  }
}

/* Success payment / QR section */
.success-payment {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.success-payment h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.success-payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  align-items: flex-start;
}

.success-qr {
  text-align: center;
}

.success-qr img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  background: #e5e7eb;
  padding: 0.4rem;
}

.success-qr-note {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-subtle);
}

.success-meta p {
  font-size: 0.86rem;
  color: var(--text-subtle);
  margin-bottom: 0.25rem;
}

.success-meta p strong {
  color: var(--text-main);
}

@media (max-width: 768px) {
  .success-payment-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .success-qr img {
    width: 160px;
    height: 160px;
  }
}
.payment-timer {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #b91c1c;
}

.payment-timer span {
  font-weight: 700;
  font-size: 0.95rem;
}
/* Product card hover + entry animation */
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
  transform: translateY(10px);
  animation: card-enter 0.35s ease forwards;
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.product-card img {
  transition: transform 0.35s ease;
}

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

/* Buttons subtle hover */
.btn-primary,
.btn-secondary {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

/* Add to cart pulse */
.btn-pulse {
  animation: btn-pulse 0.3s ease;
}

@keyframes btn-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

/* Cart count bump animation */
#cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

#cart-count.cart-bump {
  animation: cart-bump 0.35s ease;
}

@keyframes cart-bump {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.25);
  }
  60% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Toast slide + fade */
.toast {
    position: fixed;
    left: 0px;
    bottom: 24px;
    transform: translateY(50%) translateY(16px);
    padding: 10px 16px;
    border-radius: 999px;
    background: #111827;
    color: #f9fafb;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s 
ease, transform 0.2s 
ease;
    z-index: 9999;
    text-align: center;
    width: 300px;
    max-width: 100%;
    margin: 0 auto;
    right: 0;
}
.toast.toast-show {
  opacity: 1;
  transform: translateY(-50%) translateY(0);
}
/* ====== FOOTER BASE WRAPPER ====== */

.site-footer.df-footer {
  background: #050816;              /* Deep dark */
  color: #e5e7eb;                    /* Soft grey text */
  padding: 56px 0 32px;              /* Top / bottom spacing */
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

/* ====== INNER LAYOUT ====== */

.df-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) repeat(3, minmax(0, 1.4fr));
  gap: 32px;
  align-items: flex-start;
}

/* Single-col layout on small screens */
@media (max-width: 900px) {
  .df-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

/* ====== BRAND BLOCK ====== */

.df-footer-brand {
  max-width: 360px;
}

.df-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.df-footer-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle at 0% 0%, #38bdf8, #4f46e5);
  color: #f9fafb;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.7);
}

.df-footer-logo-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #f9fafb;
}

.df-footer-logo-sub {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9ca3af;
}

.df-footer-text {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #9ca3af;
}

/* Support link pill */

.df-footer-support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
  text-decoration: none;
  transition: all 0.18s ease;
}

.df-footer-support::after {
  content: "→";
  font-size: 0.9rem;
}

.df-footer-support:hover {
  border-color: #38bdf8;
  color: #f9fafb;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.8);
}

/* ====== COLUMN GENERIC STYLES ====== */

.df-footer-col {
  font-size: 0.9rem;
}

.df-footer-heading {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
}

/* ====== QUICK LINKS ====== */

.df-footer-col a {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #e5e7eb;
  text-decoration: none;
  opacity: 0.85;
  transition: color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.df-footer-col a:hover {
  color: #38bdf8;
  opacity: 1;
  transform: translateX(2px);
}

/* ====== CONTACT LINES ====== */

.df-footer-line {
  margin: 0 0 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #9ca3af;
  line-height: 1.5;
  font-size: 0.9rem;
}

.df-footer-line i {
  margin-top: 3px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.df-footer-line a {
  display: inline;
  margin: 0;
  color: #e5e7eb;
  text-decoration: none;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.5);
  padding-bottom: 1px;
}

.df-footer-line a:hover {
  color: #38bdf8;
  border-color: #38bdf8;
}

/* ====== SOCIAL BLOCK ====== */

.df-footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.df-footer-social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #e5e7eb;
  font-size: 0.85rem;
  transition: all 0.18s ease;
}

.df-footer-social-row a:hover {
  background: radial-gradient(circle at 0% 0%, #38bdf8, #4f46e5);
  border-color: transparent;
  transform: translateY(-1px) scale(1.03);
  color: #f9fafb;
}

/* Meta text */

.df-footer-meta {
  margin: 0 0 4px;
  font-size: 0.75rem;
  color: #6b7280;
}

/* ====== BOTTOM RESPONSIVE TWEAKS ====== */

@media (max-width: 600px) {
  .site-footer.df-footer {
    padding: 40px 0 24px;
  }

  .df-footer-brand {
    max-width: 100%;
  }

  .df-footer-logo-title {
    font-size: 1.05rem;
  }

  .df-footer-text {
    font-size: 0.88rem;
  }

  .df-footer-col,
  .df-footer-line {
    font-size: 0.86rem;
  }

  .df-footer-meta {
    font-size: 0.72rem;
  }
}
