/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* === CSS Variables === */
:root {
  --navy:   #0d2b5e;
  --blue:   #1a56db;
  --light:  #3b82f6;
  --pale:   #eff6ff;
  --accent: #0ea5e9;
  --white:  #ffffff;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --amber-50:  #fffbeb;
  --amber-200: #fde68a;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --red-50:  #fef2f2;
  --red-200: #fecaca;
  --red-500: #ef4444;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-700);
  background: #fff;
  line-height: 1.6;
}
h1,h2,h3,h4,h5,h6 { font-family: 'DM Sans', 'Inter', sans-serif; color: var(--navy); line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

/* === Layout === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }

/* === Announcement Bar === */
.pa-announcement {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 0.5rem 3rem;
  font-size: 0.875rem;
  position: relative;
}
.pa-announcement strong { color: #fde68a; }
.pa-announcement .pa-dismiss {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 1.2rem; line-height: 1; padding: 0;
}
.pa-announcement .pa-dismiss:hover { color: #fff; }

/* === Header === */
.pa-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.pa-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem; gap: 1.5rem;
}
.pa-header__logo img { height: 40px; width: auto; }
.pa-nav { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.pa-nav a {
  font-size: 0.875rem; font-weight: 500; color: var(--gray-700);
  transition: color 0.15s;
  padding-bottom: 2px;
}
.pa-nav a:hover, .pa-nav a.active {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
}
.pa-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.pa-cart-link {
  position: relative; color: var(--gray-700);
  display: flex; align-items: center; gap: 0.25rem;
}
.pa-cart-link:hover { color: var(--blue); }
.pa-cart-count {
  position: absolute; top: -8px; right: -8px;
  background: var(--blue); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.pa-btn-account {
  font-size: 0.875rem; font-weight: 500; color: var(--gray-700);
  background: none; border: none; display: flex; align-items: center; gap: 0.25rem;
}
.pa-btn-account:hover { color: var(--blue); }
.pa-mobile-toggle {
  display: none; background: none; border: none;
  color: var(--gray-700); font-size: 1.5rem; padding: 0.25rem;
}
.pa-mobile-nav { display: none; }

@media (max-width: 1023px) {
  .pa-nav { display: none; }
  .pa-mobile-toggle { display: block; }
  .pa-mobile-nav.open {
    display: flex; flex-direction: column; gap: 0.5rem;
    border-top: 1px solid var(--gray-100);
    padding: 1rem 1.5rem;
    background: #fff;
  }
  .pa-mobile-nav a {
    padding: 0.5rem 0; font-size: 0.875rem; font-weight: 500;
    color: var(--gray-700); border-bottom: 1px solid var(--gray-100);
  }
}

/* === RUO Badge === */
.ruo-badge {
  display: inline-block;
  background: var(--amber-50); color: var(--amber-800);
  font-size: 0.75rem; font-weight: 600;
  padding: 0.2rem 0.625rem; border-radius: 9999px;
  border: 1px solid var(--amber-200);
}

/* === Age Gate === */
.pa-age-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(13,43,94,0.9);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.pa-age-gate.hidden { display: none; }
.pa-age-gate__box {
  background: #fff; border-radius: 1rem;
  max-width: 28rem; width: 100%; padding: 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.pa-age-gate__logo { margin: 0 auto 1.5rem; max-width: 200px; }
.pa-age-gate__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.pa-age-gate__body { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 1.25rem; line-height: 1.6; }
.pa-age-gate__checklist {
  background: var(--pale); border: 1px solid #bfdbfe;
  border-radius: 0.5rem; padding: 1rem; margin-bottom: 1.25rem;
  text-align: left; font-size: 0.75rem; color: var(--navy);
}
.pa-age-gate__checklist p { margin-bottom: 0.25rem; }
.pa-age-gate__buttons { display: flex; gap: 0.75rem; }
.pa-age-gate__btn {
  flex: 1; padding: 0.75rem; border-radius: 0.5rem;
  font-weight: 600; font-size: 0.875rem; transition: all 0.15s;
  border: 2px solid transparent;
}
.pa-age-gate__btn--decline {
  border-color: var(--gray-300); color: var(--gray-600); background: #fff;
}
.pa-age-gate__btn--decline:hover { background: var(--gray-50); }
.pa-age-gate__btn--confirm {
  background: var(--blue); color: #fff;
}
.pa-age-gate__btn--confirm:hover { background: var(--navy); }
.pa-age-gate__note { margin-top: 0.75rem; font-size: 0.7rem; color: var(--gray-400); }

/* === RUO Banner === */
.pa-ruo-banner {
  background: var(--amber-50); border-top: 1px solid var(--amber-200);
  border-bottom: 1px solid var(--amber-200);
  padding: 0.6rem 1rem; text-align: center;
  font-size: 0.75rem; color: var(--amber-900);
}

/* === Hero === */
.pa-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a7a 50%, var(--blue) 100%);
  padding: 5rem 0;
  position: relative; overflow: hidden;
}
.pa-hero::before {
  content: ''; position: absolute; inset: 0; opacity: 0.07;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 50px 50px;
}
.pa-hero__inner { position: relative; z-index: 1; }
.pa-hero__badge { margin-bottom: 1rem; }
.pa-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
  color: #fff; line-height: 1.15; margin-bottom: 1.25rem;
}
.pa-hero h1 span { color: var(--accent); }
.pa-hero__desc {
  font-size: 1.125rem; color: #bfdbfe; max-width: 36rem;
  margin-bottom: 2rem; line-height: 1.7;
}
.pa-hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* === Buttons === */
.pa-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 0.5rem;
  font-weight: 700; font-size: 0.875rem; transition: all 0.15s;
  border: 2px solid transparent; cursor: pointer;
}
.pa-btn--primary { background: var(--blue); color: #fff; }
.pa-btn--primary:hover { background: var(--navy); }
.pa-btn--outline-white { border-color: #fff; color: #fff; background: transparent; }
.pa-btn--outline-white:hover { background: rgba(255,255,255,0.1); }
.pa-btn--outline-blue { border-color: var(--blue); color: var(--blue); background: transparent; }
.pa-btn--outline-blue:hover { background: var(--pale); }
.pa-btn--white { background: #fff; color: var(--navy); }
.pa-btn--white:hover { background: var(--pale); }

/* === Trust Grid === */
.pa-trust { background: var(--pale); padding: 3.5rem 0; }
.pa-trust__heading { text-align: center; font-size: 1.5rem; font-weight: 700; margin-bottom: 2.5rem; }
.pa-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.pa-trust__card {
  background: #fff; border: 1px solid #bfdbfe;
  border-radius: 0.75rem; padding: 1.5rem; text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.pa-trust__icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.pa-trust__card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.pa-trust__card p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; }

/* === Section Headings === */
.pa-section { padding: 3.5rem 0; }
.pa-section__header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem;
}
.pa-section__title { font-size: 1.5rem; font-weight: 700; }
.pa-section__link { color: var(--blue); font-size: 0.875rem; font-weight: 500; }
.pa-section__link:hover { text-decoration: underline; }

/* === Product Grid === */
.pa-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.pa-product-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: 0.75rem; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.pa-product-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.pa-product-card__img {
  position: relative; background: var(--gray-50);
  aspect-ratio: 1; overflow: hidden; display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.pa-product-card__img img { max-height: 160px; object-fit: contain; transition: transform 0.2s; }
.pa-product-card:hover .pa-product-card__img img { transform: scale(1.05); }
.pa-product-card__sale {
  position: absolute; top: 0.5rem; left: 0.5rem;
  background: var(--red-500); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 0.15rem 0.5rem; border-radius: 9999px;
}
.pa-product-card__body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.pa-product-card__cat { font-size: 0.7rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.pa-product-card__name { font-size: 0.9rem; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 0.25rem; }
.pa-product-card__name:hover { color: var(--blue); }
.pa-product-card__meta { font-size: 0.75rem; color: var(--gray-500); margin-bottom: 0.75rem; }
.pa-product-card__price { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.75rem; }
.pa-product-card__price-sale { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.pa-product-card__price-orig { font-size: 0.875rem; color: var(--gray-400); text-decoration: line-through; }
.pa-product-card__btn {
  width: 100%; padding: 0.6rem; border-radius: 0.5rem;
  background: var(--blue); color: #fff; border: none;
  font-size: 0.8rem; font-weight: 600; transition: background 0.15s;
}
.pa-product-card__btn:hover { background: var(--navy); }

/* === Capabilities Strip === */
.pa-capabilities {
  background: var(--navy); color: #fff; padding: 3rem 0;
}
.pa-capabilities__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; text-align: center; }
.pa-capabilities__icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.pa-capabilities h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.pa-capabilities p { font-size: 0.875rem; color: #bfdbfe; line-height: 1.6; }

/* === Footer === */
.pa-footer { background: var(--navy); color: #fff; margin-top: 0; }
.pa-footer__inner { padding: 3rem 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; }
.pa-footer__brand img { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 0.75rem; }
.pa-footer__brand p { font-size: 0.875rem; color: #bfdbfe; line-height: 1.6; }
.pa-footer__brand small { font-size: 0.75rem; color: #93c5fd; margin-top: 0.5rem; display: block; }
.pa-footer__col h4 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #93c5fd; margin-bottom: 0.75rem; }
.pa-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.pa-footer__col a { font-size: 0.875rem; color: #bfdbfe; }
.pa-footer__col a:hover { color: #fff; }
.pa-footer__legal p { font-size: 0.75rem; color: #bfdbfe; line-height: 1.6; }
.pa-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.75rem; color: #93c5fd;
}

/* === Page Hero (inner pages) === */
.pa-page-hero {
  background: var(--pale); border-bottom: 1px solid #bfdbfe;
  padding: 2.5rem 0;
}
.pa-page-hero h1 { font-size: 1.875rem; font-weight: 800; margin-bottom: 0.5rem; }
.pa-page-hero p { color: var(--gray-600); max-width: 40rem; }

/* === Cert / Info Cards === */
.pa-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.pa-card {
  background: #fff; border: 1px solid #bfdbfe;
  border-radius: 0.75rem; padding: 1.25rem;
  display: flex; gap: 1rem; box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.pa-card__icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.125rem; }
.pa-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.25rem; }
.pa-card p { font-size: 0.8rem; color: var(--gray-600); line-height: 1.6; }

/* === Blue Highlight Box === */
.pa-highlight {
  background: var(--pale); border-radius: 1rem; padding: 2rem;
}
.pa-highlight h2 { margin-bottom: 0.75rem; }

/* === Disclaimer Box === */
.pa-disclaimer {
  background: var(--red-50); border: 1px solid var(--red-200);
  border-radius: 1rem; padding: 2rem;
}
.pa-disclaimer h2 { color: #991b1b; margin-bottom: 1rem; }
.pa-disclaimer ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.pa-disclaimer li { display: flex; gap: 0.75rem; font-size: 0.875rem; color: #7f1d1d; }

/* === Amber Notice === */
.pa-amber {
  background: var(--amber-50); border: 1px solid var(--amber-200);
  border-radius: 0.5rem; padding: 0.75rem 1rem;
  font-size: 0.75rem; color: var(--amber-900);
}

/* === Tables === */
.pa-table-wrap { overflow-x: auto; }
.pa-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.pa-table thead tr { background: var(--blue); color: #fff; }
.pa-table th { padding: 0.75rem 1rem; text-align: left; font-weight: 600; }
.pa-table td { padding: 0.625rem 1rem; border-bottom: 1px solid var(--gray-200); color: var(--gray-600); }
.pa-table tbody tr:hover { background: var(--gray-50); }
.pa-table td:first-child { font-weight: 500; color: var(--navy); }

/* === Details / Accordion === */
details { border: 1px solid var(--gray-200); border-radius: 0.75rem; overflow: hidden; }
details + details { margin-top: 0.75rem; }
details[open] { box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
summary {
  list-style: none; cursor: pointer; padding: 1.25rem 1.5rem;
  font-weight: 600; color: var(--navy); font-size: 0.9rem;
  display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '＋'; font-size: 1.1rem; color: var(--blue); transition: transform 0.2s; }
details[open] summary::after { content: '－'; }
.details__body { padding: 0 1.5rem 1.25rem; border-top: 1px solid var(--gray-100); }
.details__body p, .details__body li { font-size: 0.875rem; color: var(--gray-700); line-height: 1.7; }
.details__body ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.details__body li { display: flex; gap: 0.75rem; }
.details__body li::before { content: '→'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* === FAQ variant === */
.pa-faq details { background: var(--pale); border-color: #bfdbfe; }

/* === About page === */
.pa-mission { background: var(--navy); color: #fff; border-radius: 1rem; padding: 2rem; }
.pa-mission h2 { color: #fff; margin-bottom: 0.75rem; }
.pa-mission p { color: #bfdbfe; line-height: 1.7; }

/* === Contact form === */
.pa-form { display: flex; flex-direction: column; gap: 1.25rem; }
.pa-form label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--gray-700); margin-bottom: 0.25rem; }
.pa-form input,
.pa-form textarea,
.pa-form select {
  width: 100%; border: 1px solid var(--gray-300);
  border-radius: 0.5rem; padding: 0.625rem 0.75rem;
  font-size: 0.875rem; font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pa-form input:focus,
.pa-form textarea:focus,
.pa-form select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.pa-form textarea { resize: vertical; min-height: 120px; }
.pa-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .pa-form-grid { grid-template-columns: 1fr; } }

/* === Single Product Page (pa-sp-*) === */
.pa-sp-wrap { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem 4rem; }

.pa-sp-breadcrumb { border-bottom: 1px solid var(--gray-200); padding: 0.75rem 0; }
.pa-sp-breadcrumb__inner { font-size: 0.8rem; color: var(--gray-500); }
.pa-sp-breadcrumb__inner a { color: var(--blue); }
.pa-sp-breadcrumb__inner a:hover { text-decoration: underline; }

.pa-sp-body { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; padding: 2.5rem 0 0; }
@media (max-width: 768px) { .pa-sp-body { grid-template-columns: 1fr; gap: 2rem; } }

/* Image */
.pa-sp-img-box {
  position: relative; background: #fff; border: 1px solid var(--gray-200);
  border-radius: 0.75rem; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1; padding: 2.5rem;
}
.pa-sp-img-box img { max-height: 320px; width: 100%; object-fit: contain; }
.pa-sp-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: var(--red-500); color: #fff;
  font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 9999px;
}

/* Info */
.pa-sp-title { font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1.2; margin: 0.5rem 0 0.75rem; }
.pa-sp-price-row { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 0.75rem; }
.pa-sp-price { font-size: 1.75rem; font-weight: 800; color: var(--navy); }
.pa-sp-price-orig { font-size: 1rem; color: var(--gray-400); text-decoration: line-through; }
.pa-sp-meta { font-size: 0.8rem; color: var(--gray-500); display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.pa-sp-short { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.25rem; }

/* Cart */
.pa-sp-cart { margin-bottom: 1rem; }
.pa-sp-cart form.cart { display: flex; flex-direction: column; gap: 0.75rem; }
.pa-sp-cart .quantity { display: flex; align-items: center; gap: 0; }
.pa-sp-cart .quantity input {
  border: 1px solid var(--gray-200) !important; border-radius: 0.5rem !important;
  padding: 0.6rem 0.75rem !important; font-size: 1rem !important; width: 80px !important;
  text-align: center;
}
.pa-sp-cart .single_add_to_cart_button,
.pa-sp-cart button[name="add-to-cart"] {
  background: var(--navy) !important; color: #fff !important; border: none !important;
  border-radius: 0.5rem !important; font-size: 0.95rem !important; font-weight: 700 !important;
  padding: 0.8rem 2rem !important; cursor: pointer !important;
  transition: background 0.15s !important; width: 100% !important;
}
.pa-sp-cart .single_add_to_cart_button:hover { background: var(--blue) !important; }

/* COA buttons */
.pa-sp-coa-btns { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.pa-sp-coa-btn {
  display: flex; align-items: center; gap: 0.5rem; justify-content: center;
  padding: 0.65rem 1rem; border-radius: 0.5rem; font-size: 0.85rem; font-weight: 600;
  border: 2px solid var(--navy); color: var(--navy); background: transparent;
  transition: all 0.15s; cursor: pointer;
}
.pa-sp-coa-btn:hover { background: var(--navy); color: #fff; }
.pa-sp-coa-btn--primary { background: var(--navy); color: #fff; }
.pa-sp-coa-btn--primary:hover { background: var(--blue); border-color: var(--blue); }

/* Trust */
.pa-sp-trust {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem;
}
.pa-sp-trust span {
  font-size: 0.78rem; color: var(--gray-600); background: var(--gray-50);
  border-radius: 0.4rem; padding: 0.4rem 0.6rem;
}

/* Tabs */
.pa-sp-tabs-wrap { margin-top: 3rem; border: 1px solid var(--gray-200); border-radius: 0.75rem; overflow: hidden; }
.pa-sp-tabs-nav { display: flex; background: var(--navy); flex-wrap: wrap; }
.pa-sp-tab {
  padding: 0.9rem 1.4rem; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.65);
  background: none; border: none; cursor: pointer; border-bottom: 3px solid transparent;
  transition: all 0.15s; white-space: nowrap;
}
.pa-sp-tab:hover { color: #fff; }
.pa-sp-tab.active { color: #fff; border-bottom-color: #5eead4; }

.pa-sp-tab-content { display: none !important; padding: 2rem; background: #fff; }
.pa-sp-tab-content.active, .pa-sp-tab-content[style*="block"] { display: block !important; }
.pa-sp-tab-content h2 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.pa-sp-tab-content p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 0.75rem; }
.pa-sp-tab-content ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.75rem; }
.pa-sp-tab-content ul li { font-size: 0.875rem; color: var(--gray-600); padding-left: 1.2rem; position: relative; }
.pa-sp-tab-content ul li::before { content: '—'; position: absolute; left: 0; color: var(--blue); }

.pa-sp-specs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 0.75rem;
  margin: 1.25rem 0;
}
.pa-sp-specs-grid > div {
  background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 0.5rem;
  padding: 0.75rem; display: flex; flex-direction: column; gap: 0.2rem;
}
.pa-sp-specs-grid strong { font-size: 0.75rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.04em; }
.pa-sp-specs-grid span { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.pa-sp-intended, .pa-sp-notice { font-size: 0.8rem !important; }
.pa-sp-notice { color: var(--gray-500) !important; }

/* Related */
.pa-sp-related { margin-top: 3rem; }
.pa-sp-related h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }

/* === Single Product Page === */
.pa-single-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) { .pa-single-product { grid-template-columns: 1fr; } }

.pa-single-product__img-wrap {
  position: relative;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1;
  padding: 2rem;
}
.pa-single-product__img-wrap img { max-height: 380px; object-fit: contain; width: 100%; }

.pa-single-product__title {
  font-size: 1.75rem; font-weight: 800; color: var(--navy);
  line-height: 1.2; margin-bottom: 0.75rem;
}
.pa-single-product__meta-row {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem; color: var(--gray-500); margin-bottom: 1rem;
}
.pa-single-product__price {
  display: flex; align-items: baseline; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.pa-single-product__price-sale { font-size: 2rem; font-weight: 800; color: var(--navy); }
.pa-single-product__price-orig { font-size: 1.1rem; color: var(--gray-400); text-decoration: line-through; }
.pa-single-product__short-desc { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.25rem; }

.pa-single-product__specs {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 0.75rem; padding: 1rem; margin-bottom: 1.25rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.pa-single-product__spec-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; padding: 0.25rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.pa-single-product__spec-row:last-child { border-bottom: none; }
.pa-single-product__spec-label { color: var(--gray-500); font-weight: 500; }
.pa-single-product__spec-val   { color: var(--navy); font-weight: 600; }

.pa-single-product__actions .single_add_to_cart_button,
.pa-single-product__actions button[type="submit"] {
  width: 100% !important; background: var(--blue) !important; color: #fff !important;
  border: none !important; border-radius: 0.5rem !important;
  font-size: 1rem !important; font-weight: 700 !important; padding: 0.875rem !important;
  cursor: pointer !important; transition: background 0.15s !important;
}
.pa-single-product__actions .single_add_to_cart_button:hover { background: var(--navy) !important; }
.pa-single-product__actions .quantity { margin-bottom: 0.75rem !important; }
.pa-single-product__actions .quantity input {
  border: 1px solid var(--gray-200) !important; border-radius: 0.5rem !important;
  padding: 0.5rem 0.75rem !important; font-size: 1rem !important; width: 80px !important;
}

.pa-single-product__trust {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  margin-top: 1rem;
}
.pa-single-product__trust div {
  font-size: 0.8rem; color: var(--gray-600);
  background: var(--gray-50); border-radius: 0.5rem;
  padding: 0.5rem 0.75rem; display: flex; align-items: center; gap: 0.4rem;
}

/* Tabs */
.pa-tabs__nav {
  display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); margin-bottom: 0;
}
.pa-tab-btn {
  padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 600;
  border: none; background: none; cursor: pointer; color: var(--gray-500);
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.15s;
}
.pa-tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.pa-tab-btn:hover  { color: var(--navy); }

/* === Catalog Search Bar === */
.pa-catalog-bar {
  display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.pa-catalog-search {
  flex: 1; min-width: 220px;
  border: 1px solid var(--gray-200); border-radius: 0.5rem;
  padding: 0.625rem 1rem; font-size: 0.875rem; font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pa-catalog-search:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.pa-catalog-sort {
  border: 1px solid var(--gray-200); border-radius: 0.5rem;
  padding: 0.625rem 1rem; font-size: 0.875rem; font-family: inherit;
  background: #fff; cursor: pointer;
}
.pa-catalog-sort:focus { outline: none; border-color: var(--blue); }

/* === WooCommerce Overrides === */
.woocommerce #page-title, .woocommerce-page #page-title { display: none; }

/* WC Product Loop */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 1.25rem !important; padding: 0 !important; list-style: none !important; }
@media (max-width: 900px) { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 520px)  { .woocommerce ul.products { grid-template-columns: 1fr !important; } }
.woocommerce ul.products li.product {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 0.75rem;
  overflow: hidden; transition: box-shadow 0.2s;
  padding: 0 !important; margin: 0 !important;
  width: auto !important; float: none !important;
}
.woocommerce ul.products li.product:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.woocommerce ul.products li.product a img { padding: 1rem; background: var(--gray-50); aspect-ratio: 1; object-fit: contain; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 0.9rem !important; font-weight: 700 !important; color: var(--navy) !important; padding: 0 1rem 0.25rem !important; }
.woocommerce ul.products li.product .price { padding: 0 1rem 0.75rem; font-size: 0.875rem !important; color: var(--navy) !important; }
.woocommerce ul.products li.product .price del { color: var(--gray-400) !important; }
.woocommerce ul.products li.product .price ins { text-decoration: none !important; font-weight: 700 !important; }
.woocommerce ul.products li.product .onsale {
  background: var(--red-500) !important; color: #fff !important;
  border-radius: 9999px !important; font-size: 0.7rem !important; font-weight: 700 !important;
  min-height: unset !important; min-width: unset !important; padding: 0.15rem 0.5rem !important;
  line-height: 1.4 !important; top: 0.5rem !important; left: 0.5rem !important; right: auto !important;
}
.woocommerce ul.products li.product .button {
  margin: 0 1rem 1rem !important; display: block !important; text-align: center !important;
  background: var(--blue) !important; color: #fff !important;
  border-radius: 0.5rem !important; font-size: 0.8rem !important; font-weight: 600 !important;
  padding: 0.6rem 1rem !important; border: none !important; transition: background 0.15s !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--navy) !important; }

/* WC Single Product */
.woocommerce div.product .woocommerce-product-gallery { background: var(--gray-50); border-radius: 1rem; padding: 1.5rem; border: 1px solid var(--gray-100); }
.woocommerce div.product p.price { font-size: 1.5rem !important; color: var(--navy) !important; }
.woocommerce div.product p.price del { color: var(--gray-400) !important; }
.woocommerce div.product p.price ins { font-weight: 800 !important; text-decoration: none !important; }
.woocommerce div.product .product_title { font-size: 2rem !important; color: var(--navy) !important; font-weight: 800 !important; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 0.875rem; color: var(--gray-600); line-height: 1.7; }
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button {
  background: var(--blue) !important; color: #fff !important;
  border-radius: 0.5rem !important; font-size: 0.875rem !important; font-weight: 700 !important;
  padding: 0.75rem 1.75rem !important; border: none !important; transition: background 0.15s !important;
}
.woocommerce div.product form.cart .button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--navy) !important; }

/* WC Cart & Checkout */
.woocommerce-cart table.cart, .woocommerce-checkout table.cart { border: 1px solid var(--gray-200); border-radius: 0.75rem; overflow: hidden; }
.woocommerce-cart table.cart th, .woocommerce-checkout table.cart th { background: var(--blue); color: #fff; font-weight: 600; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { background: var(--pale); border: 1px solid #bfdbfe; border-radius: 0.75rem; padding: 1.5rem; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { border-radius: 0.5rem !important; border-color: var(--gray-300) !important; font-size: 0.875rem !important; }
.woocommerce form .form-row input.input-text:focus { border-color: var(--blue) !important; box-shadow: 0 0 0 3px rgba(26,86,219,0.1) !important; }
.woocommerce-checkout #payment { background: var(--pale) !important; border-radius: 0.75rem !important; border: 1px solid #bfdbfe !important; }

/* WC My Account */
.woocommerce-MyAccount-navigation ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.woocommerce-MyAccount-navigation a { font-size: 0.875rem; color: var(--gray-700); padding: 0.5rem 0.75rem; border-radius: 0.5rem; display: block; }
.woocommerce-MyAccount-navigation a:hover, .woocommerce-MyAccount-navigation .is-active a { background: var(--pale); color: var(--blue); }

/* === Utilities === */
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
