﻿:root {
  --black: #050505;
  --black-soft: #101010;
  --white: #ffffff;
  --cream: #f5f5f5;
  --champagne: #cccccc;
  --gold: #ffffff;
  --taupe: #888888;
  --gray: #cccccc;
  --text: #f0f0f0;
  --muted: #999999;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 700;
}

.brand-mark {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.brand-mark img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.menu a {
  position: relative;
  transition: color 0.25s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--champagne);
  transition: width 0.25s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--white);
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, #ffffff, #cccccc);
  color: #090909;
  font-weight: 700;
  padding: 13px 22px;
  box-shadow: 0 12px 36px rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:not(.cart-link) {
  display: none;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(255, 255, 255, 0.20);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 140px 0 82px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.12), transparent 32%),
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.58));
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: 8%;
  width: 660px;
  height: 660px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 62%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 54px;
}

.eyebrow {
  color: var(--champagne);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3.4rem, 9vw, 7.8rem);
  letter-spacing: -0.055em;
  max-width: 760px;
}

.hero p,
.section-header p,
.quality-card p,
.service-card p,
.product-card p,
.blog-card p {
  color: rgba(255, 255, 255, 0.74);
}

.hero p {
  max-width: 640px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  margin: 26px 0 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn.secondary {
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  padding: 11px 18px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn.secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.45);
  background: linear-gradient(135deg, rgba(215,193,163,0.12), rgba(255,255,255,0.04));
  color: #090909;
  border-color: rgba(182,146,100,0.22);
}

.hero-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-visual {
  min-height: 540px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78)),
    url("../images/Photo accueil.jpeg") center/cover;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  overflow: hidden;
}

.hero-visual-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
}

.price-pill {
  background: rgba(5, 5, 5, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 18px;
  backdrop-filter: blur(14px);
}

.price-pill strong {
  display: block;
  color: var(--champagne);
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

.section {
  padding: 96px 0;
  position: relative;
}

@media (max-width: 640px) {
  .section {
    padding: 48px 0;
  }
}

.section.light {
  background: #f5f5f5;
  color: #111;
}

.section.light,
.section.light * {
  color: #111 !important;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}

.section-header h2 {
  font-size: clamp(2.3rem, 6vw, 4.7rem);
  letter-spacing: -0.035em;
  max-width: 720px;
}

.section-header p {
  color: var(--muted);
  max-width: 430px;
}

.light .section-header p,
.light .muted {
  color: #666666;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) 1fr;
  gap: 40px;
  align-items: start;
}

.prestation-single-service .product-detail-grid {
  gap: 30px;
}

.prestation-single-service .product-summary,
.prestation-single-service .product-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 32px;
}

.prestation-single-service .product-summary {
  min-height: 100%;
}

.prestation-single-service .product-form {
  display: grid;
  align-items: start;
}

.prestation-single-service .product-summary h3 {
  color: var(--champagne);
  margin-bottom: 18px;
}

.prestation-single-service .section-header {
  gap: 20px;
}

.prestation-single-service .section-header p {
  color: rgba(255, 255, 255, 0.75);
}

.prestation-single-service .product-feature-list li {
  color: #f8f4ef;
}

.prestation-single-service .product-intro {
  color: rgba(255, 255, 255, 0.82);
}

.prestation-single-service .product-summary .badge {
  background: #ffffff;
  color: #111111;
}

.prestation-single-service .form-group input,
.prestation-single-service .form-group select,
.prestation-single-service .form-group textarea {
  background: rgba(255, 255, 255, 0.95);
  color: #111;
}

.prestation-single-service .product-actions {
  justify-content: flex-start;
}

.prestation-single-service .product-actions .btn {
  min-width: 220px;
}

.product-gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-gallery {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold, #ffffff);
  margin: 0;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.product-photo {
  height: 130px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.product-photo:hover .gallery-img {
  transform: scale(1.07);
}

.gallery-zoom-hint {
  position: absolute;
  bottom: 6px;
  right: 8px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  text-transform: none;
}

.product-photo:hover .gallery-zoom-hint {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: grid;
  place-items: center;
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.18s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-summary {
  margin-bottom: 26px;
}

.product-summary .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: #333333;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.product-summary h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.product-intro {
  font-size: 1.02rem;
  margin-bottom: 24px;
  max-width: 720px;
  color: #333333;
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
  color: #111;
  margin-bottom: 28px;
}

.price-tag strong {
  font-size: 2.25rem;
  color: #111;
}

.product-feature-list {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
  list-style: none;
  padding-left: 0;
}

.product-feature-list li {
  position: relative;
  padding-left: 24px;
  color: #333333;
  font-weight: 600;
}

.product-feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--champagne);
}

.product-form {
  display: grid;
  gap: 18px;
}

.product-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.form-note {
  color: #666666;
  font-size: 0.95rem;
  margin-top: 8px;
}

.product-info .btn {
  width: fit-content;
}

.btn-article {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
  cursor: pointer;
}

.btn-article:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.product-desc {
  margin-bottom: 24px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
}

.product-desc summary {
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  gap: 12px;
}

.product-desc summary::-webkit-details-marker {
  display: none;
}

.product-desc summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  flex-shrink: 0;
  color: var(--gold);
}

.product-desc[open] summary::after {
  content: "−";
}

.product-desc-body {
  padding: 4px 20px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.product-desc-body p {
  color: #333333;
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 0.97rem;
}

.product-desc-body .product-feature-list {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .prestation-single-service .product-summary {
    min-height: auto;
  }
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table thead {
  background: rgba(255, 255, 255, 0.08);
}

.comparison-table th {
  font-weight: 700;
  color: var(--champagne);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.quality-card,
.product-card,
.service-card,
.blog-card,
.contact-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  padding: 26px;
}

.light .product-card,
.light .blog-card,
.light .contact-card {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
}

.quality-card span,
.service-card span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: var(--champagne);
  margin-bottom: 20px;
  font-weight: 800;
}

.quality-card h3,
.service-card h3,
.product-card h3,
.blog-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.quality-card p,
.service-card p,
.product-card p,
.blog-card p {
  font-size: 0.98rem;
}

  .blog-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .blog-actions .btn {
    min-width: 170px;
    max-width: 240px;
    flex: 1 1 auto;
    padding: 12px 20px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.94);
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.16);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  }

  .blog-actions .btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
  }

.catalog-tools {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: white;
  border-radius: 999px;
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 700;
  color: #111;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}

.filter-btn:hover {
  background: rgba(0, 0, 0, 0.08);
}

.filter-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.filter-btn.active {
  background: var(--champagne);
  color: #111;
  border-color: var(--champagne);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.20);
}

.filter-btn.active:hover {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}

.search-input,
input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  padding: 15px 16px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
}

.search-input {
  max-width: 320px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-image {
  aspect-ratio: 4 / 4.7;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.65)),
    url("../images/Photo lace wig.jpeg") center/cover;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: white !important;
  min-height: 310px;
}

.product-image *,
.product-image strong,
.section.light .product-image,
.section.light .product-image * {
  color: white !important;
}

.product-card:nth-child(2) .product-image {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.65)),
    url("../images/Photo lace wig bob.jpeg") center/cover;
}

.product-card:nth-child(3) .product-image {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.65)),
    url("../images/Photo wig couleur.jpeg") center/cover;
}

.product-card:nth-child(4) .product-image {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.65)),
    url("../images/Photo tissage .jpeg") center/cover;
}

.product-card:nth-child(4) .product-image {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.65)),
    url("../images/Photo tissage .jpeg") center/cover;
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.tag {
  background: rgba(255, 255, 255, 0.10);
  color: #444444;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.price {
  font-weight: 800;
  font-size: 1.2rem;
  color: #111;
  margin-top: 12px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.service-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card ul {
  margin-top: 18px;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.density-box {
  margin-top: 34px;
  border-radius: var(--radius);
  padding: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.density-item {
  border-left: 2px solid #333333;
  padding-left: 20px;
}

.density-item strong {
  display: block;
  color: var(--champagne);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card .date {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.86rem;
  margin-bottom: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.contact-card h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-list a,
.contact-list div {
  padding: 16px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111;
}

/* Align checkbox label and style for product forms */
.product-form .form-group label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: inherit;
  font-weight: 700;
}

.product-form .form-group input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  transform: translateY(0);
  accent-color: #ffffff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  color: #666666;
  font-size: 0.92rem;
  margin-top: 14px;
}

/* Cart page styles */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

.cart-items-wrapper {
  display: grid;
  gap: 14px;
}

.cart-item-card {
  background: rgba(255,255,255,0.9);
  color: #111;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.cart-item-title {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #050505;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 0.9rem;
}

.cart-item-row:last-of-type {
  border-bottom: none;
}

.cart-item-label {
  font-weight: 600;
  color: #666;
}

.cart-item-value {
  font-weight: 700;
  color: #111;
}

.cart-qty-input {
  width: 50px;
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 0.85rem;
}

.cart-remove-btn {
  width: 100%;
  margin-top: 8px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  color: #444444;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cart-remove-btn:hover {
  background: rgba(0,0,0,0.10);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.9);
  color: #111;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  display: none;
}

.cart-table thead {
  background: linear-gradient(90deg, rgba(0,0,0,0.04), rgba(255,255,255,0.94));
}

.cart-table th,
.cart-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-weight: 700;
}

.cart-table tbody tr:last-child td {
  border-bottom: none;
}

.cart-table td input[type="number"] {
  width: 80px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
}

.cart-summary {
  background: rgba(255,255,255,0.95);
  color: #111;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.delivery-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #c0392b;
  border-left: 3px solid #c0392b;
  padding-left: 10px;
  margin: 0 0 14px;
  line-height: 1.5;
}

.delivery-notice::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  background: #c0392b;
  color: #fff;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
  margin-top: 1px;
}

.cart-total-line { margin: 0; font-weight: 800; font-size: 1.1rem; }

.cart-contact-form { display: flex; flex-direction: column; gap: 10px; }

.cart-contact-form h3 { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 4px; color: #222; }

.cart-summary .form-group { display: flex; flex-direction: column; gap: 4px; }

.cart-summary .form-group label { font-size: 0.78rem; font-weight: 600; color: #555; }

.cart-summary .form-group input,
.cart-summary .form-group textarea { background: #f5f5f5; border: 1px solid #ddd; border-radius: 7px; padding: 8px 10px; font-size: 0.88rem; color: #111; width: 100%; box-sizing: border-box; }

.cart-summary .btn {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
}

.cart-empty { padding: 28px; background: rgba(255,255,255,0.9); border-radius: 12px; color: #333; }

.cart-table button {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { order: 2; }
}

@media (max-width: 640px) {
  .cart-table th,
  .cart-table td {
    padding: 10px 8px;
    font-size: 0.85rem;
  }

  .cart-table td input[type="number"] {
    width: 60px;
    padding: 6px 8px;
    font-size: 0.8rem;
  }

  .cart-table button {
    padding: 6px 8px;
    font-size: 0.75rem;
  }

  .cart-summary {
    padding: 16px;
    gap: 12px;
  }

  .cart-summary p {
    font-size: 1rem;
  }

  .cart-summary .btn {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

.footer {
  padding: 44px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.footer strong {
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu,
  .nav-cta {
    display: none;
  }

  .nav-cta.cart-link {
    display: inline-flex;
    font-size: 0.88rem;
    padding: 10px 16px;
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.10);
    white-space: nowrap;
    gap: 5px;
  }

  .nav {
    gap: 8px;
  }

  .burger {
    display: block;
    margin-left: auto;
  }

  .menu.open {
    position: absolute;
    top: 78px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    background: rgba(5, 5, 5, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 14px;
  }

  .menu.open a {
    padding: 15px;
    border-radius: 14px;
  }

  .menu.open a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .hero-grid,
  .contact-layout,
  .density-box {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 430px;
  }

  .quality-grid,
  .product-grid,
  .service-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    height: 70px;
  }

  .brand {
    font-size: 1.15rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .nav-cta.cart-link {
    font-size: 0.6rem;
    padding: 5px 6px;
    white-space: nowrap;
    gap: 2px;
  }

  .hero {
    padding-top: 116px;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5.5rem);
  }

  .hero-actions,
  .hero-visual-content,
  .footer-content {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .btn.secondary {
    width: 100%;
  }

  .quality-grid,
  .product-grid,
  .service-grid,
  .blog-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .catalog-tools {
    flex-direction: column;
  }

  .search-input {
    max-width: none;
  }

  .hero-visual {
    min-height: 390px;
  }

  .cart-item-card {
    padding: 12px;
  }

  .cart-item-title {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .cart-item-row {
    padding: 5px 0;
    font-size: 0.85rem;
  }

  .cart-qty-input {
    width: 45px;
    padding: 3px 5px;
    font-size: 0.8rem;
  }

  .cart-remove-btn {
    margin-top: 6px;
    padding: 5px 8px;
    font-size: 0.8rem;
  }

  .cart-summary {
    padding: 14px;
    gap: 10px;
  }

  .cart-summary p {
    font-size: 0.95rem;
  }

  .cart-summary .btn {
    padding: 9px 12px;
    font-size: 0.85rem;
  }

  .product-card .price {
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
  }
}
