:root {
  --primary: #0f4d45;
  --primary-rgb: 15, 77, 69;
  --accent: #e2a200;
  --accent-rgb: 226, 162, 0;
  --bg: #fbfaf6;
  --card: #ffffff;
  --border: #e8e8e4;
  --text: #13211d;
  --text-muted: #6b7b76;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 12px rgba(15, 77, 69, 0.03);
  --shadow-md: 0 8px 24px rgba(15, 77, 69, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 77, 69, 0.08);
}

/* ── Base Styles ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none !important;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
}

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

/* ── Premium Glassmorphism Cards ── */
.glass-premium {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
}

/* ── Custom Buttons ── */
.btn-primary, .btn-secondary, .btn-add-cart, button.button, input[type="submit"].button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-primary, .btn-add-cart, button.button.alt, input[type="submit"].button.alt {
  background-color: var(--primary);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(15, 77, 69, 0.2);
}

.btn-primary:hover, .btn-add-cart:hover, button.button.alt:hover, input[type="submit"].button.alt:hover {
  background-color: #165d54;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 77, 69, 0.28);
}

.btn-secondary, button.button, input[type="submit"].button {
  background-color: transparent;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
}

.btn-secondary:hover, button.button:hover, input[type="submit"].button:hover {
  background-color: rgba(15, 77, 69, 0.04);
  transform: translateY(-2px);
}

/* ── Utility Bar ── */
.utility-bar {
  background-color: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.6rem 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Site Header & Nav ── */
.site-header {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.5px;
}
.logo-ventures {
  font-size: 0.6rem;
  letter-spacing: 5px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.2s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-icon-btn {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.nav-icon-btn:hover {
  color: var(--primary);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: var(--accent);
  color: var(--text);
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(226, 162, 0, 0.3);
}

.category-bar {
  background-color: rgba(250, 250, 248, 0.8);
  border-top: 1px solid var(--border);
  padding: 0.6rem 0;
}
.category-bar-inner {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-bar-inner::-webkit-scrollbar {
  display: none;
}
.category-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  border: 1px solid var(--border);
  background-color: #fff;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.category-link.active, .category-link:hover {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── Hero Banner ── */
.hero-banner {
  background: linear-gradient(135deg, rgba(15,77,69,0.92) 0%, rgba(19,33,29,0.95) 100%), url('../images/hero_bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.hero-title-accent {
  color: var(--accent);
}
.hero-subtitle {
  font-size: 1.15rem;
  margin-bottom: 2.75rem;
  opacity: 0.9;
  line-height: 1.6;
}
.hero-cta-group {
  display: flex;
  gap: 1.25rem;
}
.btn-hero {
  padding: 1.1rem 2.25rem;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}
.hero-cta-group .btn-secondary {
  color: #fff !important;
  border-color: rgba(255,255,255,0.7);
}
.hero-cta-group .btn-secondary:hover {
  border-color: #fff;
  background-color: rgba(255,255,255,0.1);
}

/* ── Trust Strip ── */
.trust-strip {
  background-color: #fff;
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.trust-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(226, 162, 0, 0.08);
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.trust-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.trust-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Shop / Featured Product Sections ── */
.featured-products-section, .shop-page-wrapper {
  padding: 5rem 0;
}
.section-header, .shop-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}
.section-title, .shop-title-main {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}
.section-subtitle, .shop-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ── Premium Product Cards ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.premium-card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.premium-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 77, 69, 0.2);
}

.premium-image-container {
  aspect-ratio: 1 / 1;
  position: relative;
  background-color: #f5f5f3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.premium-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.premium-card:hover .premium-card-image {
  transform: scale(1.06);
}

.premium-sale-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #e61601;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(230, 22, 1, 0.2);
}

.premium-image-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 77, 69, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.premium-card:hover .premium-image-overlay {
  opacity: 1;
}
.premium-view-text {
  color: #fff;
  border: 1.5px solid #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  transform: translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.premium-card:hover .premium-view-text {
  transform: translateY(0);
}

.premium-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.premium-card-category {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.premium-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}
.premium-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.4em;
}
.premium-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: auto;
}
.premium-price-box {
  display: flex;
  flex-direction: column;
}
.premium-price {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}
.premium-price-sale {
  font-weight: 800;
  font-size: 1.2rem;
  color: #e61601;
}
.premium-price-original {
  font-size: 0.8rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-top: 0.1rem;
}
.premium-card-footer .btn-add-cart {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.view-all-wrap {
  text-align: center;
  margin-top: 3.5rem;
}
.btn-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background-color: var(--primary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 77, 69, 0.15);
  transition: all 0.3s;
}
.btn-view-all:hover {
  background-color: #165d54;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 77, 69, 0.25);
}

}

/* ── Classic WooCommerce Checkout & Cart Layout ── */
.woocommerce-checkout #payment,
.woocommerce-page .woocommerce-checkout #payment {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.woocommerce-checkout #payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--border);
}
.woocommerce-checkout #payment ul.payment_methods li {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.woocommerce-checkout #payment ul.payment_methods li:last-child {
  border-bottom: none;
}
.woocommerce-checkout #payment ul.payment_methods li label {
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
}
.woocommerce-checkout #payment div.payment_box {
  background: rgba(15,77,69,0.04);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.woocommerce-checkout #payment div.place-order {
  padding: 1.5rem;
}
.woocommerce-checkout #payment #place_order {
  width: 100%;
  padding: 1rem;
  background-color: var(--accent);
  color: #13211d;
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(226, 162, 0, 0.2);
}
.woocommerce-checkout #payment #place_order:hover {
  background-color: #d19500;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(226,162,0,0.3);
}

/* Checkout columns */
.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr;
  }
}

/* Checkout page wrapper */
.woocommerce-checkout-page-wrapper {
  padding: 3rem 0 5rem;
}
.woocommerce-checkout-page-wrapper .woocommerce {
  max-width: 1200px;
  margin: 0 auto;
}

/* WC checkout headings */
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* WC form rows */
.woocommerce-checkout .form-row {
  margin-bottom: 1.25rem;
}
.woocommerce-checkout .form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.woocommerce-checkout .form-row .required {
  color: #e61601;
}

/* Order review table on checkout */
#order_review table.shop_table {
  margin-bottom: 1.5rem;
}
#order_review .woocommerce-checkout-payment {
  background: transparent;
}

/* Checkout page background section */
.woocommerce-checkout-page-wrapper {
  background: var(--surface);
  min-height: 60vh;
}

/* WC notices */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  border-left: 4px solid var(--primary);
  background: rgba(15,77,69,0.05);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text);
  list-style: none;
}
.woocommerce-error {
  border-left-color: #e61601;
  background: rgba(230,22,1,0.05);
  color: #c00;
}
.woocommerce-message {
  border-left-color: #28a745;
  background: rgba(40,167,69,0.05);
}

/* Return to cart link */
.woocommerce-checkout .wc-backward,
.woocommerce-checkout .return-to-shop a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}
.woocommerce-checkout .wc-backward:hover {
  text-decoration: underline;
}

/* WooCommerce Table Styling */
table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
table.shop_table th {
  background-color: rgba(15, 77, 69, 0.03);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-align: left;
  padding: 1.25rem;
  font-size: 0.9rem;
}
table.shop_table td {
  padding: 1.25rem;
  border-top: 1px solid var(--border);
  vertical-align: middle;
}
.product-thumbnail img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}
.remove-cart-item-btn {
  font-size: 1.5rem;
  color: #e53e3e;
  text-decoration: none;
  font-weight: 300;
}

/* Form Fields */
.form-input, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background-color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}
.form-input:focus, input[type="text"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 77, 69, 0.08);
}

/* ── Site Footer ── */
.site-footer {
  background-color: #13211d;
  color: #fff;
  padding: 5rem 0 0;
  border-top: 3px solid var(--accent);
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3.5rem;
  padding-bottom: 4rem;
}
.footer-brand {
  grid-column: span 2;
}
.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.footer-tagline {
  font-size: 0.95rem;
  color: #a0aba7;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.footer-badge {
  display: inline-block;
  font-size: 0.75rem;
  border: 1px solid rgba(160, 171, 167, 0.4);
  padding: 0.3rem 0.85rem;
  border-radius: 4px;
  margin-right: 0.5rem;
  color: #a0aba7;
  font-weight: 600;
}
.footer-col-title {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}
.footer-links-list {
  list-style: none;
}
.footer-links-list li {
  margin-bottom: 0.85rem;
}
.footer-link {
  color: #a0aba7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 1.75rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #a0aba7;
}

/* ── Responsive Overrides ── */
@media (max-width: 1024px) {
  .cart-layout-grid, .checkout-form-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .nav-links {
    display: none;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ── WooCommerce Pagination overrides ── */
.woocommerce-pagination {
  text-align: center;
  margin-top: 3rem;
}
.woocommerce-pagination ul.page-numbers {
  display: inline-flex;
  list-style: none;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
.woocommerce-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
}
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  background-color: #fff;
  transition: all 0.2s ease;
}
.woocommerce-pagination ul.page-numbers li span.current,
.woocommerce-pagination ul.page-numbers li a:hover {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── WooCommerce Ordering selector overrides ── */
.woocommerce-ordering select {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.5rem 2rem 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313211d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 12px center/14px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  min-width: 200px;
}
.woocommerce-ordering select:focus {
  border-color: var(--primary);
}
.woocommerce-result-count {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── WooCommerce Customer Login & Registration Layout ── */
.woocommerce-account .woocommerce {
  max-width: 1000px;
  margin: 2rem auto 4rem;
}
.u-columns.col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 1.5rem;
}
.u-column1, .u-column2 {
  background: #fff;
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.u-column1 h2, .u-column2 h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}
.woocommerce-form-row {
  margin-bottom: 1.25rem !important;
}
.woocommerce-form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.woocommerce-form-login__rememberme {
  margin-top: 1rem;
}
.woocommerce-form-login__submit, .woocommerce-form-register__submit {
  width: 100%;
  margin-top: 1.25rem;
}

/* ── WooCommerce My Account Navigation Dashboard ── */
.woocommerce-account .woocommerce {
  max-width: 1200px;
  margin: 3rem auto 5rem;
}

.woocommerce-account .woocommerce::after {
  content: "";
  display: table;
  clear: both;
}

.woocommerce-MyAccount-navigation {
  float: left;
  width: 22%;
  box-sizing: border-box;
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.35rem;
}

.woocommerce-MyAccount-navigation ul li {
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  background-color: transparent;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  text-align: left;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
  background-color: rgba(15, 77, 69, 0.06);
  color: var(--primary) !important;
}

.woocommerce-MyAccount-content {
  float: right;
  width: 74%;
  box-sizing: border-box;
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* ── WooCommerce Checkout Page styling ── */
.checkout-page-wrapper {
  margin-bottom: 4rem;
}
.woocommerce-billing-fields__field-wrapper p.form-row {
  margin-bottom: 1.25rem;
}
.woocommerce-billing-fields__field-wrapper p.form-row label {
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
  display: block;
}
.checkout-summary-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}
table.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
table.woocommerce-checkout-review-order-table th, 
table.woocommerce-checkout-review-order-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
table.woocommerce-checkout-review-order-table td.product-name {
  color: var(--text-muted);
}
table.woocommerce-checkout-review-order-table td.product-total {
  font-weight: 700;
  text-align: right;
}
#payment {
  background: #fafaf8;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid var(--border);
}
#payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0;
}
#payment ul.payment_methods li {
  margin-bottom: 0.75rem;
}
#payment ul.payment_methods li label {
  font-weight: 700;
  font-size: 0.85rem;
  margin-left: 0.5rem;
  cursor: pointer;
}
#place_order {
  width: 100%;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .u-columns.col2-set {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .woocommerce-MyAccount-navigation ul {
    flex-direction: column;
    gap: 0.35rem;
  }
  .woocommerce-MyAccount-navigation ul li a {
    width: 100%;
    text-align: center;
  }
}

/* ── WooCommerce Single Product Detail Redesign ── */
.product-detail-page {
  padding: 3rem 0 5rem;
}
.wc-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 600;
}
.wc-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none !important;
}
.wc-breadcrumb a:hover {
  color: var(--primary);
}
.bc-sep {
  margin: 0 0.5rem;
  color: var(--accent);
}

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

.product-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-detail-image-area {
  position: relative;
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.product-detail-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-detail-main-img:hover {
  transform: scale(1.03);
}

.product-detail-thumb-strip {
  display: flex;
  gap: 0.75rem;
}
.thumb-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  background-color: #fff;
  transition: all 0.2s ease;
}
.thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-wrapper.active-thumb, .thumb-wrapper:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.product-detail-info {
  display: flex;
  flex-direction: column;
}

/* Styled WooCommerce Add to Cart form inside single product */
.product-detail-info form.cart {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.product-detail-info form.cart table.variations {
  width: 100%;
  border: none;
  background: none;
  box-shadow: none;
}
.product-detail-info form.cart table.variations td {
  border: none;
  padding: 0.5rem 0;
}
.product-detail-info form.cart table.variations td.label {
  width: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  vertical-align: middle;
}
.product-detail-info form.cart table.variations select {
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  width: 100%;
  max-width: 300px;
}

/* Quantity inputs */
.woocommerce-variation-add-to-cart,
.product-detail-info form.cart .quantity {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.product-detail-info form.cart .quantity input.qty {
  width: 60px;
  height: 42px;
  padding: 0.5rem;
  text-align: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Custom comments and reviews design */
.product-reviews-section ol.commentlist {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.product-reviews-section ol.commentlist li {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.comment-text {
  margin: 0;
}
.comment-text .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.comment-text .description {
  font-size: 0.9rem;
  color: var(--text);
}

@media (max-width: 768px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .woocommerce-MyAccount-navigation ul {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
    display: none;
  }
  .woocommerce-MyAccount-navigation ul li a {
    white-space: nowrap;
  }
  .woocommerce-MyAccount-content {
    padding: 1.5rem;
  }
}

/* ── Global WooCommerce Square Image overrides ── */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img,
.product-grid img,
.premium-card-image,
.woocommerce_thumbnail,
.attachment-woocommerce_thumbnail,
.woocommerce-product-gallery__image img {
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 8px !important;
}
/* ── Premium Side Cart Drawer ── */
.side-cart-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(19, 33, 29, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.side-cart-drawer {
  position: fixed;
  top: 0;
  left: -400px;
  width: 400px;
  max-width: 100%;
  height: 100vh;
  background-color: #fff;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  box-sizing: border-box;
  border-right: 1px solid var(--border);
}

@media (max-width: 480px) {
  .side-cart-drawer {
    width: 320px;
  }
}

.side-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--primary);
  color: #fff;
}

.side-cart-header h3 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.side-cart-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.side-cart-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.side-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  box-sizing: border-box;
}

/* ── WooCommerce Mini Cart Widget styling overrides ── */
.side-cart-body .widget_shopping_cart_content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.side-cart-body .woocommerce-mini-cart {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-grow: 1;
  overflow-y: auto;
}

.side-cart-body .woocommerce-mini-cart-item {
  display: flex;
  position: relative;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  gap: 1rem;
  align-items: center;
}

.side-cart-body .woocommerce-mini-cart-item:last-child {
  border-bottom: none;
}

.side-cart-body .woocommerce-mini-cart-item a.remove {
  order: 3;
  margin-left: auto;
  width: 24px;
  height: 24px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background: rgba(230, 22, 1, 0.08);
  color: #e61601 !important;
  font-size: 1.1rem !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
  display: inline-block;
  cursor: pointer;
}

.side-cart-body .woocommerce-mini-cart-item a.remove:hover {
  background: #e61601;
  color: #fff !important;
}

.side-cart-body .woocommerce-mini-cart-item img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.side-cart-body .woocommerce-mini-cart-item a:not(.remove) {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  line-height: 1.3;
}

.side-cart-body .woocommerce-mini-cart-item a:not(.remove):hover {
  color: var(--primary);
}

.side-cart-body .woocommerce-mini-cart-item .quantity {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.side-cart-body .woocommerce-mini-cart-item .quantity .amount {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.9rem;
}

/* Mini Cart Footer section */
.side-cart-body .woocommerce-mini-cart__total {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: auto;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.side-cart-body .woocommerce-mini-cart__total strong {
  font-weight: 700;
}

.side-cart-body .woocommerce-mini-cart__total .amount {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.side-cart-body .woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}

.side-cart-body .woocommerce-mini-cart__buttons a.button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.85rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-sizing: border-box;
  text-decoration: none !important;
}

.side-cart-body .woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout) {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.side-cart-body .woocommerce-mini-cart__buttons a.button.wc-forward:not(.checkout):hover {
  background-color: rgba(15, 77, 69, 0.05);
}

.side-cart-body .woocommerce-mini-cart__buttons a.button.checkout {
  background-color: var(--accent);
  color: #13211d;
  box-shadow: 0 4px 12px rgba(226, 162, 0, 0.15);
}

.side-cart-body .woocommerce-mini-cart__buttons a.button.checkout:hover {
  background-color: #d19500;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(226, 162, 0, 0.25);
}

.side-cart-body .woocommerce-mini-cart__empty-message {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 3rem 1rem;
}

/* ═══════════════════════════════════════════════════════════
   M-PESA PAYMENT UX — Checkout Overlay + Thank You Page
   ═══════════════════════════════════════════════════════════ */

/* ── Checkout page: "Sending" overlay ── */
#mpesa-sending-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 33, 29, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#mpesa-sending-overlay.visible { opacity: 1; }

.mpesa-sending-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 3rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.mpesa-sending-card p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.mpesa-mini-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(15,77,69,0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ── Thank You Page: Wrapper ── */
.thankyou-page-wrapper {
  padding: 4rem 0 6rem;
  background: var(--surface);
  min-height: 70vh;
}

/* ── M-Pesa Waiting Screen ── */
#mpesa-payment-screen { max-width: 620px; margin: 0 auto; }

.mpesa-state {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  margin-bottom: 2rem;
}

/* Pulsing phone animation */
.mpesa-anim-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mpesa-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid #0f4d45;
  animation: mpesa-pulse 2.4s ease-out infinite;
  opacity: 0;
}
.mpesa-ring.r1 { width: 60px;  height: 60px;  animation-delay: 0s; }
.mpesa-ring.r2 { width: 90px;  height: 90px;  animation-delay: 0.6s; }
.mpesa-ring.r3 { width: 120px; height: 120px; animation-delay: 1.2s; }

@keyframes mpesa-pulse {
  0%   { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 0; }
}

.mpesa-icon-center {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0f4d45, #1a6b61);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 15px rgba(15,77,69,0.35);
}

.mpesa-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.75rem;
}
.mpesa-heading.success-text { color: #0f4d45; }
.mpesa-heading.fail-text    { color: #e61601; }

.mpesa-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 2rem;
}
.mpesa-subtitle strong { color: var(--primary); font-size: 1.05rem; }

/* Step indicators */
.mpesa-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.mpesa-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #bbb;
  transition: color 0.3s;
}
.mpesa-step .step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  background: #fff;
  transition: all 0.3s ease;
}
.mpesa-step.active { color: var(--primary); }
.mpesa-step.active .step-dot {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15,77,69,0.12);
}
.mpesa-step.done { color: var(--primary); }
.mpesa-step.done .step-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.step-line {
  width: 55px;
  height: 2px;
  background: #e0e0e0;
  margin: 0 4px;
  margin-bottom: 22px;
  flex-shrink: 0;
  transition: background 0.4s;
}

/* Countdown bar */
.mpesa-countdown-wrap { margin: 0 0 1.75rem; }
.mpesa-countdown-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.mpesa-countdown-label strong { color: var(--primary); }
.mpesa-bar-track {
  width: 100%;
  height: 6px;
  background: #e8e8e8;
  border-radius: 3px;
  overflow: hidden;
}
.mpesa-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #0f4d45, #e2a200);
  border-radius: 3px;
}

.mpesa-hint {
  font-size: 0.82rem;
  color: #8a9691;
  background: rgba(15,77,69,0.04);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0 0 1.5rem;
}

.mpesa-cancel-link {
  display: inline-block;
  font-size: 0.85rem;
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}
.mpesa-cancel-link:hover { color: #e61601; }

/* ── Success animation ── */
.mpesa-success-circle { width: 90px; height: 90px; margin: 0 auto 2rem; }
.success-svg { width: 100%; height: 100%; }

.success-circle-anim {
  stroke: #0f4d45;
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-linecap: round;
  animation: stroke-draw 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.success-check-anim {
  stroke: #0f4d45;
  stroke-width: 3;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-linecap: round;
  animation: stroke-draw 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}
@keyframes stroke-draw { 100% { stroke-dashoffset: 0; } }

.mpesa-loading-dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 1.5rem; }
.mpesa-loading-dots span {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: dot-bounce 1.2s infinite ease-in-out;
}
.mpesa-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.mpesa-loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-bounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40%           { transform: scale(1.1); opacity: 1; }
}

/* ── Failed state ── */
.mpesa-failed-circle { width: 90px; height: 90px; margin: 0 auto 2rem; }
.mpesa-failed-circle svg { width: 100%; height: 100%; }

.mpesa-fail-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.75rem;
  border: 1.5px solid var(--text);
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline-dark:hover { background: var(--text); color: #fff; }

/* ── Normal thank you ── */
.thankyou-normal { max-width: 700px; margin: 0 auto; text-align: center; }
.thankyou-icon-wrap { width: 90px; height: 90px; margin: 0 auto 2rem; }
.thankyou-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.thankyou-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.thankyou-order-box { margin-top: 2.5rem; text-align: left; }
.woocommerce-order { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 2rem; box-shadow: var(--shadow-sm); }

/* Order details headings */
.woocommerce-order-details h2,
.woocommerce-customer-details h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* Shared spin keyframe */
@keyframes spin { to { transform: rotate(360deg); } }

/* Redirect note */
.mpesa-redirect-note {
  font-size: 0.85rem;
  color: #8a9691;
  margin-top: 0.75rem;
}

/* Order details (revealed after success) */
#mpesa-order-details { margin-top: 2rem; }

/* ── Fanikiwa AI Community ─────────────────────────────── */
.fk-life-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin:24px 0}
.fk-life-card{display:block;border:1px solid #e6e0d2;border-radius:14px;padding:18px;background:#fff;text-decoration:none;color:inherit;transition:.15s}
.fk-life-card:hover{transform:translateY(-2px);border-color:#1f8a5b;box-shadow:0 10px 26px rgba(31,138,91,.10)}
.fk-life-card h3{font-size:16px;margin:0 0 8px;line-height:1.4}
.fk-life-card p{font-size:13.5px;color:#6b6557;margin:0;line-height:1.55}
.fk-pager{margin:26px 0;text-align:center}
.page-sub{color:#6b6557;max-width:640px}
