:root {
  --bg: #faf9fc;
  --surface: #ffffff;
  --text: #17171a;
  --text-muted: #5c5c66;
  --accent: #5a45f0;
  --accent-hover: #4936d6;
  --border: #e6e4ee;
}

* { box-sizing: border-box; }

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

.site-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: center;
}

.logo {
  height: 48px;
  object-fit: contain;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.hero-content {
  text-align: left;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.hero-image-btn {
  position: absolute;
  top: 86%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 1.5rem;
    gap: 1.25rem;
  }
  .hero-content {
    text-align: center;
  }
  .hero-image {
    max-width: 380px;
    margin: 0 auto;
  }
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:active { transform: scale(0.97); }

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

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

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  width: 100%;
  text-align: center;
}

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

.catalog {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.card-image-wrap {
  position: relative;
}

.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgb(227, 79, 79);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 60px;
  z-index: 2;
}

.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
}

.card h3 {
  font-size: 1rem;
  margin: 0.25rem 0 0;
}

.card .price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
}

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.site-footer a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.75rem;
}

.social-links a {
  color: var(--text);
  display: inline-flex;
}

.social-links a:hover {
  color: var(--accent);
}

.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 20;
}

.product-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.back-link {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.back-link:hover {
  color: var(--accent);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.product-layout > * {
  min-width: 0;
}

.image-viewer {
  position: relative;
  touch-action: pan-y;
  overflow: hidden;
  min-width: 0;
  border-radius: 16px;
}

.image-track {
  display: flex;
  width: 100%;
}

.image-track img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.img-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.img-arrow:hover {
  background: #fff;
}

.img-arrow-left { left: 0.75rem; }
.img-arrow-right { right: 0.75rem; }

.thumb-strip {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.thumb-strip img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
  border: 1.5px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
}

.thumb-strip img.active {
  border-color: var(--accent);
}

.product-info h1 {
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
}

.product-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 0 1rem;
}

.price-original {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85em;
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.product-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.product-features {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
}

.checkout-fields {
  margin-top: 0.5rem;
}

.checkout-fields input[type="text"],
.checkout-fields input[type="tel"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-family: inherit;
}

.info-accordion {
  text-align: left;
  border-top: 1px solid var(--border);
  padding: 0.85rem 0;
}

.accordion-toggle {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  color: var(--text);
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-icon {
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.accordion-toggle.open .accordion-icon {
  transform: rotate(45deg);
}

.info-content-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.info-content {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-top: 0.75rem;
}

.info-content p {
  margin: 0 0 0.6rem;
}

.info-content ul {
  margin: 0;
  padding-left: 1.1rem;
}

.modal-colors {
  display: none;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.color-btn {
  flex: 1;
  padding: 0.5rem;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.color-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

.modal-label {
  display: block;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.modal-select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  width: 100%;
  text-align: center;
  display: block;
}

.btn-disabled {
  background: var(--border);
  color: var(--text-muted);
  width: 100%;
  text-align: center;
  display: block;
  cursor: not-allowed;
  pointer-events: none;
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.checkout-header .logo {
  height: 36px;
}

.checkout-steps {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--border);
}

.checkout-steps .step.active {
  color: var(--accent);
}

.checkout-steps .step.done {
  color: var(--text);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

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

.checkout-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}

.checkout-step h2 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
}

.checkout-hint {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 0 1.25rem;
}

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkout-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkout-nav .btn {
  flex: 1;
  text-align: center;
}

.checkout-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  align-self: start;
  position: sticky;
  top: 1.5rem;
}

.checkout-summary h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.summary-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.summary-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
}

.summary-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}

.summary-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0.15rem 0 0;
}

.summary-price {
  margin-left: auto;
  font-weight: 700;
  font-size: 0.9rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.summary-total {
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.trust-section {
  text-align: center;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.trust-badge svg {
  width: 18px;
  height: 18px;
  color: #2fae5c;
  flex-shrink: 0;
}

.trust-text {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.payment-badges {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pay-card {
  height: 26px;
  width: auto;
  object-fit: contain;
}

.site-footer-full {
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
  margin-top: 2rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}

@media (max-width: 700px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.85rem;
  color: var(--text);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

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

.footer-col p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 0.85rem;
}

.footer-wa-link {
  font-weight: 700;
  color: var(--accent) !important;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap-reverse;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

.info-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.info-page h1 {
  font-size: 1.8rem;
  margin: 0 0 1.5rem;
}

.info-page h2 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.6rem;
}

.info-page p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.info-page ul {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.info-page strong {
  color: var(--text);
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.faq-item h3 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.faq-item p {
  margin: 0;
}

.top-banner {
  background: var(--text);
  color: var(--bg);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
}
