/*
Theme Name: Fertizo Pharma
Theme URI: https://fertizopharma.com
Author: Roboexperts
Author URI: https://roboexperts.pk
Description: Custom pharma theme for Fertizo Pharma. Homepage with product catalogue, 11 separate product landing pages (Order via WhatsApp / Website), contact form and newsletter (via FormSubmit). Activate the theme and all pages are created automatically.
Version: 1.1.2
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: fertizo-pharma
*/

/* ========================================================
   Fertizo Pharma — Stylesheet
   ======================================================== */

:root {
  --navy: #1b2559;
  --navy-light: #2a3570;
  --navy-dark: #12183f;
  --red: #ec038d;
  --blue: #3b6fd6;
  --pink: #d6196e;
  --bg-light: #f7f5fa;
  --text-dark: #1b2559;
  --text-gray: #6b7280;
  --white: #ffffff;
  --border-light: #ece9f3;
  --shadow: 0 10px 30px rgba(27, 37, 89, 0.08);
  --radius-lg: 16px;
  --radius-md: 10px;
  --max-width: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sora", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  color: var(--red);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  box-shadow: 0 10px 20px rgba(27, 37, 89, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-accent {
  background: var(--red);
  color: var(--white);
  width: 100%;
  border: none;
  padding: 15px 28px;
  font-size: 1rem;
}

.btn-accent:hover {
  box-shadow: 0 10px 20px rgba(232, 84, 45, 0.35);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.35);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-accent {
  width: auto;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(27, 37, 89, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.logo-img-footer {
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: 8px;
}

.main-nav > ul {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  /*! padding: 6px 0; */
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--red);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
}

/* Dropdown nav */
.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.has-dropdown .caret {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.has-dropdown:hover .caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--white);
  min-width: 240px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--bg-light);
}

.dropdown-menu li a:hover {
  background: var(--bg-light);
  color: var(--red);
}

.dropdown-menu li.current a {
  color: var(--red);
  font-weight: 700;
  background: var(--bg-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------------- Hero ---------------- */

.hero {
  background: linear-gradient(180deg, #f4f2fa 0%, #f7f5fa 100%);
  padding: 70px 0 60px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e6ecfb;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
}

.hero h1 .highlight {
  color: var(--red);
}

.hero p {
  color: var(--text-gray);
  font-size: 1.02rem;
  max-width: 480px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ---------------- Welcome / About ---------------- */

.welcome {
  padding: 90px 0;
}

.welcome .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.welcome-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.welcome-content h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 18px;
}

.welcome-content > p {
  color: var(--text-gray);
  margin-bottom: 34px;
  max-width: 540px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box {
  background: var(--white);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 18px 22px;
  box-shadow: 0 6px 18px rgba(27, 37, 89, 0.05);
}

.stat-box:nth-child(2) {
  border-left-color: var(--blue);
}

.stat-box:nth-child(3) {
  border-left-color: var(--navy);
}

.stat-box:nth-child(4) {
  border-left-color: var(--red);
}

.stat-box .stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
}

.stat-box .stat-label {
  color: var(--text-gray);
  font-size: 0.88rem;
  margin-top: 2px;
}

/* ---------------- Products ---------------- */

.products {
  padding: 90px 0;
  background: var(--white);
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--text-gray);
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-card .product-img {
  height: 200px;
  overflow: hidden;
}

.product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .product-body {
  padding: 22px;
}

.product-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.product-card p {
  color: var(--text-gray);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.learn-more {
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
}

.learn-more::after {
  content: " \2192";
}

.product-card-hidden {
  display: none;
}

.products-more-wrap {
  text-align: center;
  margin-top: 40px;
}

/* ---------------- Why Trust Us ---------------- */

.trust {
  background: var(--navy-light);
  color: var(--white);
  padding: 80px 0;
}

.trust .section-heading h2 {
  color: var(--white);
}

.trust .section-heading p {
  color: #c4c9e0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.trust-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 14px;
  text-align: center;
}

.trust-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.9rem;
  color: var(--white);
  background: #5b67a4;
}

.trust-item span {
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------------- Testimonials ---------------- */

.testimonials {
  padding: 90px 0;
}

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 6px 18px rgba(27, 37, 89, 0.04);
}

.stars {
  color: var(--red);
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.testimonial-card p.quote {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* ---------------- Contact ---------------- */

.contact {
  padding: 90px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-info {
  background: var(--navy);
  color: var(--white);
  padding: 50px 40px;
}

.contact-info h2 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.contact-info > p {
  color: #c4c9e0;
  margin-bottom: 40px;
  max-width: 320px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}

.contact-detail .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.contact-detail span {
  color: #c4c9e0;
  font-size: 0.88rem;
}

.contact-form {
  background: var(--white);
  padding: 50px 40px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  border: 1px solid var(--border-light);
  background: #f7f5fa;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-dark);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--blue);
  min-height: 20px;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--navy-dark);
  color: #c4c9e0;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  color: var(--pink);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul li a:hover {
  color: var(--white);
}

.newsletter-form {
  display: flex;
  margin-top: 6px;
}

.newsletter-form input {
  flex: 1;
  padding: 11px 14px;
  border: none;
  border-radius: 6px 0 0 6px;
  font-size: 0.88rem;
}

.newsletter-form button {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 0 18px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font-weight: 700;
}

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 992px) {
  .hero .container,
  .welcome .container {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

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

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

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

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    padding-left: 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
  }

  .dropdown-open .dropdown-menu {
    display: block;
  }

  .has-dropdown .caret {
    pointer-events: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

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

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

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

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

/* ========================================================
   Product Detail Page
   ======================================================== */

.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--text-gray);
}

.breadcrumb-bar a {
  color: var(--text-gray);
}

.breadcrumb-bar a:hover {
  color: var(--red);
}

.breadcrumb-bar span {
  margin: 0 6px;
}

.breadcrumb-bar #breadcrumbCurrent {
  color: var(--navy);
  font-weight: 600;
}

.product-hero {
  background: linear-gradient(180deg, #f4f2fa 0%, #f7f5fa 100%);
  padding: 32px 0 40px;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.product-hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.product-hero-content h1 {
  font-size: 2.1rem;
  color: var(--navy);
  margin: 12px 0 4px;
}

.product-subtitle {
  color: var(--red);
  font-weight: 600;
  margin-bottom: 18px;
}

.product-short-desc {
  color: var(--text-gray);
  margin: 20px 0;
  max-width: 520px;
}

.product-meta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.meta-chip {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 18px;
  min-width: 140px;
}

.meta-chip .meta-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.meta-chip .meta-value {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}

.product-section {
  padding: 64px 0;
}

.product-section.alt-bg {
  background: var(--white);
}

.section-heading-left {
  text-align: left;
  margin-bottom: 28px;
}

.section-heading-left h2 {
  font-size: 1.6rem;
  color: var(--navy);
}

.product-description {
  color: var(--text-gray);
  max-width: 780px;
  line-height: 1.8;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: var(--text-dark);
  font-size: 0.94rem;
  line-height: 1.5;
}

.benefits-list .check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(27, 37, 89, 0.05);
}

.data-table td,
.data-table th {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}

.data-table td:first-child {
  color: var(--text-dark);
  font-weight: 500;
}

.data-table td:last-child {
  color: var(--red);
  font-weight: 700;
  text-align: right;
}

.data-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.wide-table td {
  text-align: left;
  color: var(--text-gray);
  font-weight: 400;
}

.table-scroll {
  overflow-x: auto;
}

.dummy-note {
  margin-top: 16px;
  padding: 14px 18px;
  background: #fff4ed;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  color: var(--text-gray);
  font-size: 0.88rem;
  max-width: 780px;
}

.product-cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}

.product-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.product-cta p {
  color: #c4c9e0;
  margin-bottom: 26px;
}

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

  .product-hero-content {
    order: 1;
  }

  .product-hero-image {
    order: 2;
  }

  .product-hero-image img {
    height: 240px;
  }

  .benefits-list {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   Shop: cart, checkout, buy box
   ======================================================== */

.btn-pink {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}

.btn-pink:hover {
  box-shadow: 0 10px 20px rgba(236, 0, 140, 0.3);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.82rem;
  border-radius: 8px;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

button.btn {
  font-family: inherit;
  line-height: 1.4;
}

button.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* header cart */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease;
}

.cart-link:hover {
  background: var(--red);
  color: var(--white);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count[data-empty="1"] {
  display: none;
}

/* toast */
.fz-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(27, 37, 89, 0.3);
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
}

.fz-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.fz-toast a {
  color: #ff9ad5;
  font-weight: 700;
  text-decoration: underline;
}

/* buy box on product pages */
.purchase-box {
  margin: 4px 0 6px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.price-row .price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
}

.price-note,
.price-request,
.stock-out {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.stock-out {
  color: var(--red);
  font-weight: 600;
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.btn-wa-row {
  display: inline-flex;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
}

.qty-btn {
  width: 38px;
  height: 46px;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  color: var(--navy);
  cursor: pointer;
  font-family: inherit;
}

.qty-btn:hover {
  background: var(--bg-light);
}

.qty-input {
  width: 46px;
  height: 46px;
  border: none;
  text-align: center;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.purchase-box-cta .cta-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.purchase-box-cta .cta-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: #c4c9e0;
}

.card-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 0 12px;
}

.card-buy .price {
  font-weight: 800;
  color: var(--navy);
}

/* shop pages */
.shop-page {
  padding: 48px 0 90px;
}

.shop-title {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 28px;
}

.shop-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
}

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

.cart-name {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.cart-unit {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 10px;
}

.cart-item .qty-btn,
.cart-item .qty-input {
  height: 38px;
}

.cart-line {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  color: var(--navy);
}

.link-btn {
  background: none;
  border: none;
  color: var(--red);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.link-btn:hover {
  text-decoration: underline;
}

.summary-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
}

.summary-card h3,
.checkout-fields h3 {
  color: var(--navy);
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.sum-row,
.sum-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  font-size: 0.92rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
}

.sum-item span {
  color: var(--text-gray);
}

.sum-total {
  font-size: 1.1rem;
  border-bottom: none;
  margin-bottom: 14px;
}

.sum-total strong {
  color: var(--red);
}

.sum-hint {
  font-size: 0.82rem;
  color: var(--text-gray);
  padding: 8px 0;
}

.continue-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
}

.continue-link:hover {
  color: var(--red);
}

.empty-state,
.thanks-card {
  max-width: 640px;
  margin: 20px auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  box-shadow: var(--shadow);
}

.empty-state h1,
.empty-state h2,
.thanks-card h1 {
  color: var(--navy);
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--text-gray);
  margin-bottom: 22px;
}

/* checkout form */
.checkout-fields {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field textarea {
  border: 1px solid var(--border-light);
  background: #f7f5fa;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.checkout-fields h3:not(:first-child) {
  margin-top: 26px;
}

.pay-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pay-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  background: #f7f5fa;
}

.pay-option:has(input:checked) {
  border-color: var(--red);
  background: #fff5fb;
}

.pay-option input {
  margin-top: 4px;
  accent-color: var(--red);
}

.pay-option small {
  display: block;
  color: var(--text-gray);
  margin-top: 2px;
  font-size: 0.82rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  background: #fff0f0;
  border: 1px solid #ffc9c9;
  color: #b42318;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  margin: 12px 0;
}

.secure-note {
  font-size: 0.8rem;
  color: var(--text-gray);
  text-align: center;
  margin-top: 12px;
}

/* thank you page */
.thanks-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-card > p {
  color: var(--text-gray);
  margin-bottom: 24px;
}

.thanks-summary {
  text-align: left;
  margin-bottom: 20px;
}

.bank-box {
  text-align: left;
  background: #f7f5fa;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.thanks-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

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

  .summary-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .header-actions .btn {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
  }

  .cart-item img {
    width: 72px;
    height: 72px;
  }

  .cart-line {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

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

  .shop-title {
    font-size: 1.6rem;
  }
}
