/* ==========================================================================
   VITALIS IBÉRICA - Modern European Pharmacy & Wellness Stylesheet
   ========================================================================== */

:root {
  --primary: #0D9488;
  --primary-dark: #0F766E;
  --primary-light: #CCFBF1;
  --primary-subtle: #F0FDFA;
  --secondary: #D97706;
  --secondary-light: #FEF3C7;
  --dark: #0F172A;
  --slate: #334155;
  --slate-light: #64748B;
  --border: #E2E8F0;
  --bg-light: #F8FAFC;
  --bg-warm: #FAF9F6;
  --white: #FFFFFF;
  --success: #16A34A;
  --success-bg: #DCFCE7;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-warm);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */

.top-bar {
  background: #0F172A;
  color: #E2E8F0;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #1E293B;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-text {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.support-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #38BDF8;
  font-weight: 700;
}

.support-phone:hover {
  color: #7DD3FC;
}

.lang-switch {
  display: inline-flex;
  background: #1E293B;
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid #334155;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--primary);
  color: #FFFFFF;
}

/* Header */
.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo img {
  height: 38px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-dark);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-toggle-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary-subtle);
  border: 1px solid var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.cart-toggle-btn:hover {
  background: #CCFBF1;
  transform: translateY(-1px);
}

.cart-count-badge {
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  background: linear-gradient(135deg, #F0FDFA 0%, #FAF9F6 50%, #F5F3EF 100%);
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid #CCFBF1;
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--slate);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--white);
  color: var(--dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: var(--primary-subtle);
}

.hero-trust-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust-item svg {
  color: var(--success);
  flex-shrink: 0;
}

.hero-card-preview {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
}

.hero-banner-floating {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #16A34A;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-preview-img-wrapper {
  background: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  margin-bottom: 1rem;
}

.hero-preview-img-wrapper img {
  max-height: 280px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

/* ==========================================================================
   TRUST FEATURES BAR
   ========================================================================== */

.trust-features-section {
  padding: 2.5rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  border: 1px solid #F1F5F9;
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-info h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.feature-info p {
  font-size: 0.82rem;
  color: var(--slate-light);
  line-height: 1.45;
}

/* ==========================================================================
   PRODUCTS CATALOG GRID
   ========================================================================== */

.section-padding {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-subtitle-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--slate-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.product-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.product-card-img-wrap {
  background: #F8FAFC;
  height: 290px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--slate-light);
  margin-bottom: 0.5rem;
}

.rating-stars {
  color: #F59E0B;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
}

.product-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.product-card-title a:hover {
  color: var(--primary);
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 1rem;
  line-height: 1.55;
  flex-grow: 1;
}

.product-card-bullets {
  list-style: none;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--slate);
}

.product-card-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.product-card-bullets li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-price-box {
  background: var(--bg-light);
  border: 1px solid #F1F5F9;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-labels {
  display: flex;
  flex-direction: column;
}

.price-old {
  font-size: 0.82rem;
  color: var(--slate-light);
  text-decoration: line-through;
}

.price-current {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
}

.price-shipping-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-bg);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.product-action-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.btn-card-buy {
  background: #16A34A;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

.btn-card-buy:hover {
  background: #15803D;
  transform: translateY(-1px);
}

.btn-card-cart {
  background: var(--primary-subtle);
  color: var(--primary-dark);
  border: 1px solid var(--primary-light);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.btn-card-cart:hover {
  background: var(--primary-light);
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */

.product-detail-section {
  padding: 3.5rem 0 4.5rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.product-gallery-sticky {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.product-gallery-sticky img {
  max-height: 420px;
  margin: 0 auto;
  object-fit: contain;
}

.product-info-col h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.product-detail-desc {
  font-size: 1.05rem;
  color: var(--slate);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.detail-specs-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.detail-spec-row {
  display: flex;
  border-bottom: 1px solid #F1F5F9;
  padding: 0.75rem 0;
  font-size: 0.92rem;
}

.detail-spec-row:last-child {
  border-bottom: none;
}

.spec-title {
  width: 35%;
  font-weight: 700;
  color: var(--dark);
}

.spec-val {
  width: 65%;
  color: var(--slate);
}

/* ==========================================================================
   CART DRAWER & MODAL
   ========================================================================== */

.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--white);
  z-index: 1000;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  right: 0;
}

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

.cart-drawer-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--slate-light);
  cursor: pointer;
  line-height: 1;
}

.close-btn:hover {
  color: var(--dark);
}

.cart-drawer-body {
  padding: 1.5rem;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-item-row {
  display: grid;
  grid-template-columns: 65px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 65px;
  height: 65px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 4px;
  object-fit: contain;
}

.cart-item-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 0.4rem;
}

.cart-qty-btn {
  background: none;
  border: none;
  padding: 2px 8px;
  cursor: pointer;
  font-weight: 700;
  color: var(--slate);
}

.cart-qty-num {
  padding: 2px 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.cart-item-del {
  background: none;
  border: none;
  color: #EF4444;
  cursor: pointer;
  padding: 4px;
  font-size: 1rem;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cod-badge-alert {
  background: var(--success-bg);
  border: 1px solid #86EFAC;
  color: #166534;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   CHECKOUT MODAL / FORM
   ========================================================================== */

.checkout-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.checkout-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.checkout-modal-header {
  padding: 1.5rem 2rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-light);
}

.checkout-modal-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
}

.checkout-modal-body {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--dark);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 1rem;
}

.cod-payment-selector {
  background: #F0FDF4;
  border: 2px solid #86EFAC;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.cod-payment-selector input[type="radio"] {
  margin-top: 4px;
  accent-color: #16A34A;
  transform: scale(1.2);
}

.btn-submit-order {
  width: 100%;
  background: #16A34A;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.35);
  transition: var(--transition);
}

.btn-submit-order:hover {
  background: #15803D;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45);
}

/* ==========================================================================
   THANK YOU (THX) PAGE
   ========================================================================== */

.thx-hero-section {
  padding: 4rem 0 5rem;
}

.thx-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.thx-header-badge {
  background: linear-gradient(135deg, #0F766E 0%, #115E59 100%);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

.thx-icon-circle {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.thx-header-badge h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.thx-order-ref-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 1rem;
}

.thx-body {
  padding: 2.5rem;
}

.thx-call-notice-card {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.thx-call-notice-card h3 {
  color: #B45309;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.thx-call-notice-card p {
  color: #78350F;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.thx-call-notice-card p:last-child {
  margin-bottom: 0;
}

.thx-summary-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS
   ========================================================================== */

.reviews-section {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
  background: #0B1320;
  color: #94A3B8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid #1E293B;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a:hover {
  color: #38BDF8;
  padding-left: 4px;
}

.footer-disclaimer-box {
  background: #111D30;
  border: 1px solid #1E293B;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #64748B;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid #1E293B;
  font-size: 0.82rem;
}

/* Toast notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-2, .form-grid-3 {
    grid-template-columns: 1fr;
  }
  .top-bar-content {
    flex-direction: column;
    text-align: center;
  }
}
