:root {
  --ink: #201414;
  --muted: #7b6964;
  --rose: #f78bc8;
  --rose-deep: #e91e63;
  --brand-pink: #e91e63;
  --sage: #a7b4ae;
  --navy: #0f1b33;
  --blush: #fff4f5;
  --petal: #f8dce1;
  --nude: #e9d2c5;
  --gold: #c9a45f;
  --cream: #fffaf7;
  --white: #ffffff;
  --line: rgba(68, 34, 34, 0.12);
  --shadow: 0 24px 70px rgba(233, 30, 99, 0.16);
  --header-floral-url: url("assets/floral-header.svg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at 0% 18%, rgba(233, 30, 99, 0.24), transparent 24%),
    radial-gradient(circle at 100% 34%, rgba(233, 30, 99, 0.2), transparent 26%),
    linear-gradient(90deg, rgba(255, 202, 225, 0.7) 0, rgba(255, 246, 250, 0.94) 84px, var(--cream) 22%, var(--cream) 78%, rgba(255, 246, 250, 0.94) calc(100% - 84px), rgba(255, 202, 225, 0.7) 100%);
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(233, 30, 99, 0.32), rgba(255, 222, 237, 0.78), rgba(233, 30, 99, 0.32)),
    linear-gradient(180deg, rgba(255, 186, 217, 0.9), rgba(255, 240, 247, 0.82)),
    var(--header-floral-url) center / auto 142% repeat-x;
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -20px 50px rgba(233, 30, 99, 0.13), 0 14px 38px rgba(233, 30, 99, 0.08);
  backdrop-filter: blur(18px);
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  inset: 30px 0 0;
  z-index: 0;
  pointer-events: none;
  background: var(--header-floral-url) center / auto 158% repeat-x;
  opacity: 0.82;
}

.site-header::after {
  inset: 0;
  background:
    radial-gradient(circle at 18% 46%, rgba(233, 30, 99, 0.18), transparent 18%),
    radial-gradient(circle at 82% 38%, rgba(233, 30, 99, 0.2), transparent 20%);
  opacity: 1;
}

.top-strip {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 9px 24px;
  color: var(--white);
  font-size: 13px;
  background: linear-gradient(90deg, #b31552, var(--brand-pink) 45%, #f775a9 72%, #d4a85f);
}

.top-strip a {
  font-weight: 700;
}

.header-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 430px minmax(220px, 560px) auto;
  align-items: center;
  gap: 24px;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 130px;
  padding: 12px 0;
}

.brand img {
  width: 360px;
  height: 126px;
  object-fit: contain;
  transform: scale(1.82);
  transform-origin: center;
}

.brand,
.search-box,
.header-actions {
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 410px;
  min-height: 124px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: hidden;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(233, 30, 99, 0.08);
  backdrop-filter: blur(10px);
}

.search-box span {
  color: var(--rose-deep);
  font-size: 24px;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.icon-button,
.cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 26px rgba(233, 30, 99, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.icon-button:hover,
.cart-button:hover {
  transform: translateY(-2px);
  border-color: var(--rose);
  background: var(--blush);
}

.cart-button {
  position: relative;
}

.cart-button strong {
  position: absolute;
  right: -5px;
  top: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  line-height: 20px;
  background: var(--rose-deep);
}

.main-nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 64px);
  padding: 12px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 226, 239, 0.92);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--rose-deep);
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav {
  scrollbar-width: none;
}

.payment-return {
  width: min(1150px, calc(100% - 48px));
  margin: 32px auto 0;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(233, 30, 99, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.18), rgba(255, 246, 250, 0.96));
  box-shadow: 0 18px 44px rgba(233, 30, 99, 0.16);
}

.payment-return span {
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.payment-return h1 {
  margin: 6px 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.payment-return p {
  margin: 0;
  color: var(--muted);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.18fr);
  gap: 56px;
  align-items: center;
  width: min(1400px, calc(100% - 48px));
  min-height: calc(100vh - 150px);
  margin: 0 auto;
  padding: 42px 0 64px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 7% -8% 3%;
  z-index: -1;
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 52%, rgba(233, 30, 99, 0.23), transparent 30%),
    radial-gradient(circle at 92% 44%, rgba(233, 30, 99, 0.25), transparent 34%),
    linear-gradient(90deg, rgba(255, 205, 226, 0.5), rgba(255, 255, 255, 0), rgba(255, 207, 227, 0.52));
  filter: blur(2px);
  pointer-events: none;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
}

h3 {
  font-size: 25px;
}

.hero-text,
.section-heading p,
.about p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: var(--sage);
  box-shadow: 0 16px 34px rgba(104, 122, 114, 0.25);
}

.product-card .primary-button {
  background: var(--sage);
  box-shadow: 0 16px 32px rgba(104, 122, 114, 0.22);
}

.product-card .primary-button:hover {
  box-shadow: 0 20px 42px rgba(104, 122, 114, 0.28);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.secondary-button {
  border-color: rgba(167, 180, 174, 0.56);
  color: #64756f;
  background: var(--white);
  box-shadow: 0 14px 28px rgba(104, 122, 114, 0.12);
}

.compact {
  min-height: 42px;
}

.hero-media {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow:
    0 34px 86px rgba(233, 30, 99, 0.2),
    0 0 0 12px rgba(255, 204, 224, 0.3),
    0 0 54px rgba(233, 30, 99, 0.26);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.9s ease, transform 1.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(76, 31, 41, 0.24));
  pointer-events: none;
}

.hero-slider-dots {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-slider-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.hero-slider-dots button.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--brand-pink);
}

.coupon-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  width: min(260px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  color: var(--white);
  background: rgba(32, 20, 20, 0.44);
  backdrop-filter: blur(18px);
}

.coupon-card span,
.coupon-card small {
  display: block;
}

.coupon-card strong {
  display: block;
  margin: 6px 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1280px, calc(100% - 48px));
  margin: -32px auto 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 18px 48px rgba(93, 49, 59, 0.08);
}

.benefits article {
  padding: 26px;
  background: var(--white);
}

.benefits span {
  color: var(--gold);
  font-size: 22px;
}

.benefits strong {
  display: block;
  margin: 8px 0 6px;
}

.benefits p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 27, 51, 0.82), rgba(233, 30, 99, 0.72)),
    url("https://images.unsplash.com/photo-1612817288484-6f916006741a?auto=format&fit=crop&w=1400&q=85") center/cover;
  box-shadow:
    0 26px 62px rgba(233, 30, 99, 0.18),
    0 0 0 10px rgba(255, 211, 229, 0.28);
}

.promo-banner .eyebrow {
  color: var(--petal);
}

.shop-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(233, 30, 99, 0.1);
}

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

.filters label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.filters select,
.filters input[type="range"],
.contact-form input,
.contact-form textarea,
.newsletter input,
.modal input {
  width: 100%;
}

.filters select,
.contact-form input,
.contact-form textarea,
.newsletter input,
.modal input {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 16px;
  color: var(--ink);
  background: var(--white);
  outline: 0;
}

.filters select:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.newsletter input:focus,
.modal input:focus {
  border-color: var(--rose);
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(233, 30, 99, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 28px 70px rgba(233, 30, 99, 0.18),
    0 0 0 8px rgba(255, 214, 230, 0.28);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--blush);
}

.product-info {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.product-info small {
  color: var(--rose-deep);
  font-weight: 800;
  text-transform: uppercase;
}

.product-info h3 {
  min-height: 58px;
  font-size: 24px;
}

.product-info p {
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.product-price {
  font-size: 20px;
  font-weight: 900;
}

.price-stack {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.old-price {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: line-through;
}

.stock-label {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  color: #64756f;
  font-size: 13px;
  font-weight: 900;
  background: rgba(167, 180, 174, 0.2);
}

.variant-select,
.variant-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.variant-select select,
.variant-field select {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(167, 180, 174, 0.58);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  outline: 0;
}

.variant-field {
  max-width: 320px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.quick-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--rose-deep);
  background: var(--blush);
  cursor: pointer;
}

.soft-section {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - 1280px) / 2));
  padding-left: max(24px, calc((100vw - 1280px) / 2));
  background:
    radial-gradient(circle at 0% 18%, rgba(255, 166, 205, 0.28), transparent 24%),
    radial-gradient(circle at 100% 70%, rgba(255, 190, 219, 0.34), transparent 24%),
    linear-gradient(180deg, #fff5f7, #ffe9f0);
}

.novelty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.novelty-grid article {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.novelty-grid img {
  height: 260px;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.novelty-grid span {
  color: var(--rose-deep);
  font-weight: 900;
  text-transform: uppercase;
}

.novelty-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  background: var(--white);
}

.detail-thumbs:empty {
  display: none;
}

.detail-thumbs button {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.detail-thumbs button.is-active {
  border-color: var(--pink);
}

.detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-copy {
  display: grid;
  gap: 18px;
  max-width: 620px;
}

.detail-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.rating {
  color: var(--gold);
  font-weight: 900;
}

.rating span {
  color: var(--muted);
  font-weight: 600;
}

#detailPrice {
  font-size: 32px;
}

.detail-stock {
  margin-top: -4px;
  margin-bottom: 8px;
}

.testimonials {
  border-top: 1px solid var(--line);
}

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

blockquote {
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

blockquote p {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.7;
}

blockquote cite {
  color: var(--rose-deep);
  font-weight: 900;
  font-style: normal;
}

.about,
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 42px;
  align-items: start;
}

.contact {
  border-top: 1px solid var(--line);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.social-links a {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--rose-deep);
  font-weight: 800;
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(93, 49, 59, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.contact-form textarea {
  min-height: 130px;
  border-radius: 22px;
  resize: vertical;
}

.contact-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.admin-section {
  border-top: 1px solid var(--line);
}

.admin-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.admin-heading p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.admin-form,
.admin-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(93, 49, 59, 0.08);
}

.admin-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 16px;
  color: var(--ink);
  background: var(--white);
  outline: 0;
}

.admin-form textarea {
  min-height: 120px;
  border-radius: 22px;
  resize: vertical;
}

.admin-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.admin-switches label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--blush);
}

.admin-list {
  padding: 24px;
}

.admin-list h3 {
  margin-bottom: 16px;
  font-size: 28px;
}

.admin-product {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.admin-product:last-child {
  border-bottom: 0;
}

.admin-product img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
}

.admin-product h4,
.admin-product p {
  margin: 0;
}

.admin-product p {
  margin: 4px 0;
  color: var(--muted);
}

.admin-product button {
  border: 1px solid rgba(233, 30, 99, 0.2);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--rose-deep);
  font-weight: 800;
  background: var(--blush);
  cursor: pointer;
}

.footer {
  margin-top: 34px;
  padding: 48px max(24px, calc((100vw - 1280px) / 2));
  color: var(--white);
  background: var(--navy);
}

.newsletter {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.newsletter h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.newsletter p {
  color: rgba(255, 255, 255, 0.76);
}

.newsletter form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
}

.newsletter button {
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  background: transparent;
  cursor: pointer;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 34px 0;
}

.footer-grid h3 {
  margin-bottom: 14px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
}

.footer-grid a,
.footer-grid p,
.footer-grid strong {
  display: block;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.footer-grid .instagram-link,
.footer-grid .tiktok-link,
.footer-grid .whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, #e91e63, #f78bc8 58%, #c9a45f);
}

.footer-grid .whatsapp-link {
  background: linear-gradient(135deg, #128c4a, #25d366 58%, #9cf0ba);
}

.footer-grid .tiktok-link {
  background: linear-gradient(135deg, #0f1b33, #e91e63 52%, #00f2ea);
}

.instagram-link svg,
.tiktok-link svg,
.whatsapp-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instagram-link span,
.tiktok-link span,
.whatsapp-link span {
  color: var(--white);
  font-weight: 900;
}

.copyright {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.cart-drawer,
.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: rgba(32, 20, 20, 0.48);
}

.cart-drawer.open,
.modal.open {
  display: block;
}

.cart-panel {
  position: absolute;
  right: 0;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(440px, 100%);
  height: 100%;
  background: var(--cream);
  box-shadow: -20px 0 70px rgba(32, 20, 20, 0.2);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.cart-items {
  overflow: auto;
  padding: 18px 24px;
}

.cart-line {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

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

.cart-line h3 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
}

.cart-line p {
  margin: 5px 0 0;
  color: var(--muted);
}

.cart-line small {
  display: block;
  margin-top: 4px;
  color: #64756f;
  font-size: 12px;
  font-weight: 800;
}

.cart-variant {
  display: inline-flex;
  width: fit-content;
  margin-top: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #64756f;
  font-size: 12px;
  font-weight: 900;
  background: rgba(167, 180, 174, 0.18);
}

.cart-line button {
  border: 0;
  color: var(--rose-deep);
  font-size: 22px;
  background: transparent;
  cursor: pointer;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 34px minmax(30px, auto) 34px;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 5px;
  border: 1px solid rgba(167, 180, 174, 0.45);
  border-radius: 999px;
  background: rgba(167, 180, 174, 0.13);
}

.quantity-control button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  background: var(--sage);
}

.quantity-control button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.quantity-control strong {
  min-width: 26px;
  color: var(--ink);
  font-size: 15px;
  text-align: center;
}

.empty-cart {
  padding: 34px 0;
  color: var(--muted);
  text-align: center;
}

.cart-summary {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}

.cart-summary div span {
  color: var(--ink);
  font-weight: 500;
}

.cart-summary div strong {
  color: var(--ink);
  font-weight: 900;
}

.cart-summary .discount-row strong {
  color: var(--pink);
}

.cart-summary .total-row {
  padding-top: 4px;
  border-top: 1px solid rgba(233, 30, 99, 0.14);
}

.coupon-form {
  display: grid;
  gap: 8px;
}

.coupon-form label {
  color: #705e5f;
  font-size: 12px;
  font-weight: 800;
}

.coupon-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  font-size: 14px;
}

.coupon-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fffaf8;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  outline: 0;
}

.coupon-form button {
  border: 0;
  border-radius: 18px;
  padding: 0 16px;
  color: var(--white);
  background: var(--sage);
  font-weight: 900;
  cursor: pointer;
}

.coupon-form p {
  min-height: 18px;
  margin: 0;
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
}

.coupon-form p.coupon-error {
  color: #c4002f;
}

.checkout-form {
  display: grid;
  gap: 13px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  color: #705e5f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px 15px;
  color: var(--ink);
  background: #fffaf8;
  outline: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
  color: #8d7d7d;
  opacity: 1;
}

.checkout-form textarea {
  min-height: 64px;
  border-radius: 18px;
  resize: vertical;
}

.checkout-status {
  margin: 0;
  color: var(--rose-deep);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.checkout-status.stock-warning {
  color: #c4002f;
  animation: stockShake 0.42s ease both;
}

@keyframes stockShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(4px); }
}

.modal {
  place-items: center;
  padding: 24px;
}

.modal.open {
  display: grid;
}

.modal-card {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(430px, 100%);
  padding: 34px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-card h2 {
  font-size: 32px;
}

.modal-card a {
  color: var(--rose-deep);
  font-weight: 800;
  text-align: center;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  border: 0;
  color: var(--rose-deep);
  font-size: 28px;
  background: transparent;
  cursor: pointer;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
  background: #23c464;
  box-shadow: 0 16px 34px rgba(35, 196, 100, 0.32);
}

@media (max-width: 1040px) {
  .header-main {
    grid-template-columns: 330px 1fr auto;
  }

  .hero,
  .product-detail,
  .about,
  .contact,
  .admin-layout,
  .admin-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .filters {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .filters h3 {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 760px) {
  .top-strip {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .header-main {
    grid-template-columns: 1fr auto;
    width: min(100% - 28px, 1280px);
    gap: 12px;
    min-height: 156px;
  }

  .brand img {
    width: 270px;
    height: 100px;
    transform: scale(1.72);
  }

  .brand {
    width: min(100%, 300px);
    min-height: 104px;
  }

  .search-box {
    grid-column: 1 / -1;
    order: 3;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    padding-inline: 14px;
  }

  .hero,
  .section,
  .benefits {
    width: min(100% - 28px, 1400px);
  }

  .hero {
    gap: 26px;
    padding-top: 28px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-media,
  .hero-slide,
  .detail-image img {
    min-height: 380px;
    height: 380px;
  }

  .benefits,
  .product-grid,
  .novelty-grid,
  .testimonial-grid,
  .newsletter,
  .newsletter form,
  .footer-grid,
  .filters {
    grid-template-columns: 1fr;
  }

  .novelty-grid article {
    grid-template-columns: 1fr;
  }

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

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

  .admin-product {
    grid-template-columns: 64px 1fr;
  }

  .admin-product button {
    grid-column: 1 / -1;
  }

  .footer {
    padding-inline: 20px;
  }
}

@media (max-width: 430px) {
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .card-actions {
    grid-template-columns: 1fr 48px;
  }

  .cart-panel {
    width: 100%;
  }
}
