@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Roboto:wght@400;500;700&display=swap");

:root {
  --bg: #fff8fb;
  --card: #ffffff;
  --line: #f1dfe8;
  --text: #33313a;
  --muted: #6f6976;
  --primary: #f68bb7;
  --primary-dark: #ea6ea2;
  --accent: #f9b6a7;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 251, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand img {
  width: 126px;
  height: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding: 6px 8px;
  border-radius: 8px;
}

.nav-links a.active {
  background: #ffeaf3;
}

.hero {
  padding: 56px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffe9f3;
  color: #a13d6a;
  font-size: 12px;
  font-weight: 700;
}

h1 {
  margin: 14px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-family: "Montserrat", "Roboto", sans-serif;
}

h2, h3, h4, h5, h6 {
  font-family: "Montserrat", "Roboto", sans-serif;
}

.hero-text {
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

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

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

.btn-secondary {
  background: #fff0f7;
  color: #222;
  border: 1px solid #f3dce8;
}

.btn-buy {
  background: var(--accent);
  color: #fff;
}

.paypal-line {
  margin-top: 10px;
  color: #374151;
  font-size: 14px;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.stock {
  color: var(--muted);
}

.paypal-badge {
  margin-top: 16px;
  border: 1px solid #d6e8ff;
  background: #f7fbff;
  border-radius: 10px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.paypal-icon {
  width: 110px;
  height: auto;
}

.section {
  padding: 42px 0;
}

.section-title {
  margin: 0 0 18px;
  font-size: 28px;
}

.product-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
}

.product-gallery {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px;
  -webkit-overflow-scrolling: touch;
}

.gallery-track img {
  min-width: calc(100% - 8px);
  border-radius: 12px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  background: #fff;
}

.product-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 18px;
}

.intro {
  color: var(--muted);
}

.options {
  display: grid;
  gap: 10px;
}

.option {
  border: 1px solid #ede9df;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.option input {
  accent-color: var(--primary);
}

.option-main {
  font-weight: 600;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-wrap s {
  color: #9ca3af;
  font-size: 13px;
}

.price-wrap strong {
  color: #111827;
  font-size: 18px;
}

.option.active {
  border-color: #f3aac8;
  background: #fff1f7;
}

.cta-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.secure-note {
  margin: 12px 0 0;
  color: #334155;
  font-size: 14px;
}

#paypal-button-container {
  margin-top: 12px;
}

.reviews {
  background: #fff3f8;
}

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

.review-card {
  border: 1px solid #f4d8e7;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.review-form {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.review-form textarea {
  min-height: 96px;
  border-radius: 10px;
  border: 1px solid #e7dfd6;
  padding: 10px;
  font: inherit;
}

.about p {
  color: #4b5563;
  line-height: 1.7;
}

.site-footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  background: #fffafd;
}

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

.footer-grid h3 {
  margin-top: 0;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-grid a {
  color: #5b5564;
  text-decoration: none;
}

.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.content-card p {
  color: #4f4a57;
  line-height: 1.7;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.checkout-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  border: 1px solid #e8e0e8;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.checkout-main {
  padding: 26px;
  border-right: 1px solid #ebe4eb;
}

.checkout-summary {
  background: #faf7fb;
  padding: 26px;
}

.summary-card {
  border: 1px solid #eee5ef;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.summary-card h2 {
  margin-top: 0;
  margin-bottom: 14px;
}

.summary-card p {
  margin: 8px 0;
}

.checkout-title {
  font-size: 36px;
  margin: 0 0 18px;
}

.checkout-block {
  border: 1px solid #ece5ed;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.checkout-block + .checkout-block {
  margin-top: 14px;
}

.checkout-block h2 {
  margin: 4px 0 10px;
  font-size: 30px;
}

.checkout-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-divider {
  margin: 10px 0 6px;
  border-top: 1px solid #eee7ee;
}

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

.checkout-form label {
  font-weight: 600;
  font-size: 14px;
}

.inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #5b5662;
}

.checkout-form input {
  border: 1px solid #e7dfd6;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.checkout-form select,
.checkout-form textarea {
  border: 1px solid #e7dfd6;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.checkout-form textarea {
  min-height: 90px;
  resize: vertical;
}

.paypal-left .paypal-badge {
  margin-top: 0;
}

.paypal-left #paypal-button-container {
  min-height: 44px;
}

.paypal-checkout-brand {
  width: 320px;
  height: 92px;
  margin-bottom: 8px;
  background-image: url("./paypal.png?v=2");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

#paypal-card-button-container {
  margin-top: 10px;
  min-height: 44px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-row > div {
  display: grid;
  gap: 8px;
}

.order-note-wrap {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.order-note-wrap label {
  font-weight: 600;
  font-size: 14px;
}

.order-note-wrap textarea {
  border: 1px solid #e7dfd6;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  min-height: 80px;
  resize: vertical;
}

.tracking-result {
  margin-top: 14px;
  border: 1px solid #e7dfd6;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.tracking-result.error {
  border-color: #f5b2b2;
  background: #fff6f6;
}

.tracking-result h3 {
  margin: 0 0 8px;
}

.tracking-result p {
  margin: 6px 0;
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #e8e2d9;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}

.sticky-cta .btn {
  flex: 1;
}

@media (max-width: 980px) {
  .hero-grid,
  .product-layout,
  .review-grid,
  .footer-grid,
  .checkout-layout,
  .checkout-shell,
  .form-row {
    grid-template-columns: 1fr;
  }

  .checkout-main {
    border-right: 0;
    border-bottom: 1px solid #ebe4eb;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .site-footer {
    padding-bottom: 132px;
  }

  .sticky-cta {
    display: flex;
  }
}
