/*
Theme Name: Bumburel
Theme URI: https://bumburel.ro
Author: Conexo Development
Author URI: https://conexo.ro
Description: Temă custom pentru magazinul Bumburel — jucării din lemn. Optimizată pentru WooCommerce, performanță (Lighthouse) și SEO.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bumburel
Tags: e-commerce, woocommerce, romanian, custom
*/

:root {
  --green: #3f6330;
  --green-dark: #274820;
  --green-soft: #eef4e8;
  --orange: #d97825;
  --gold: #f7b131;
  --cream: #fbf3e8;
  --cream-2: #f6eadc;
  --paper: #fffdf8;
  --ink: #1f231b;
  --muted: #69705d;
  --line: #e7ddcd;
  --shadow: 0 18px 45px rgba(88, 61, 30, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid rgba(217, 120, 37, 0.45);
  outline-offset: 3px;
}

.topbar {
  background: var(--green-dark);
  color: #fff;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar svg { color: rgba(255, 255, 255, 0.85); }
.topbar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  min-height: 38px;
}
.topbar .top-phone { justify-self: start; }
.topbar .top-center { justify-self: center; }
.topbar .top-right { justify-self: end; }

.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.topbar .wrap {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-item, .service, .feature, .footer-contact li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.line-icon { width: 28px; height: 28px; color: var(--green); flex: 0 0 auto; }

.nav { background: #fff; border-bottom: 1px solid rgba(63, 99, 48, 0.08); }
.nav .wrap {
  width: min(1320px, calc(100% - 48px));
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark {
  width: 42px; height: 42px;
  border: 1.5px solid var(--green); border-radius: 50%;
  display: grid; place-items: center; position: relative;
  color: var(--green);
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-name {
  margin: 0; color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px; line-height: 1; font-weight: 700;
}
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: 0.2px; }
/* New SVG logo */
.brand-logo img { height: 56px; width: auto; display: block; }
.footer .brand-logo img { height: 64px; }

.menu {
  display: flex; align-items: center; gap: 18px;
  margin: 0; padding: 0; list-style: none;
  font-size: 12px; font-weight: 700;
  color: #20231b; white-space: nowrap;
}
.menu a { display: inline-block; padding: 4px 0; }

.menu-toggle {
  width: 42px; height: 42px;
  border: 1px solid rgba(63, 99, 48, 0.28); border-radius: 6px;
  background: #fff; color: var(--green-dark);
  display: none; place-items: center; gap: 4px;
  padding: 9px; cursor: pointer;
}
.menu-toggle span {
  display: block; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu .chev::after, .menu .menu-item-has-children > a::after {
  content: ""; display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 7px; margin-bottom: 3px;
}

/* Bumburel header search bar (inline în nav) */
.bumb-search {
  position: relative;
  flex: 1 1 auto;
  max-width: 480px;
  display: flex; align-items: center;
  background: #fbf7ef;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0 4px 0 14px;
  height: 44px;
  margin: 0 18px;
}
.bumb-search:focus-within {
  border-color: var(--green); background: #fff;
  box-shadow: 0 0 0 3px rgba(63,99,48,0.12);
}
.bumb-search-icon {
  display: grid; place-items: center;
  width: 20px; color: var(--muted); flex: 0 0 auto;
}
.bumb-search-icon svg { width: 18px; height: 18px; }
.bumb-search input[type="search"] {
  flex: 1 1 auto; border: 0; background: transparent;
  font: inherit; font-size: 14px; padding: 0 10px;
  outline: none; height: 100%;
}
.bumb-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.bumb-search-clear {
  width: 26px; height: 26px;
  border: 0; background: transparent;
  color: var(--muted); cursor: pointer;
  font-size: 18px; line-height: 1;
  border-radius: 50%;
}
.bumb-search-clear:hover { background: rgba(63,99,48,0.08); color: var(--green-dark); }
.bumb-search-submit {
  height: 36px; min-height: 36px;
  padding: 0 18px; font-size: 12px;
  margin-left: 4px;
}

/* Live search dropdown */
.search-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(32,35,27,0.12);
  z-index: 50;
  max-height: 70vh; overflow-y: auto;
  padding: 8px 0;
}
.sd-section { padding: 10px 16px; }
.sd-section h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px; font-weight: 800; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--muted);
  margin: 0 0 8px;
}
.sd-section ul { list-style: none; padding: 0; margin: 0; }
.sd-section li { margin: 0; }
.sd-section li a {
  display: grid; grid-template-columns: 44px 1fr auto;
  align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 8px;
  color: var(--ink); text-decoration: none;
  font-size: 13px;
}
.sd-section li a:hover { background: var(--green-soft); }
.sd-section li img {
  width: 44px; height: 44px; object-fit: cover;
  border-radius: 6px; background: #f6eadc;
}
.sd-name { font-weight: 700; }
.sd-price { font-weight: 800; color: var(--green-dark); font-size: 13px; }
.sd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-chips .chip {
  background: var(--green-soft); color: var(--green-dark);
  font-size: 12px; font-weight: 700;
  padding: 5px 10px; border-radius: 14px;
  text-decoration: none;
}
.sd-chips .chip:hover { background: var(--green); color: #fff; }
.sd-chips .chip small { opacity: 0.7; font-weight: 600; }
.sd-see-all {
  display: block;
  text-align: center; padding: 12px;
  border-top: 1px solid var(--line);
  color: var(--green-dark); font-weight: 800; font-size: 13px;
  text-decoration: none;
}
.sd-see-all:hover { background: var(--green-soft); }
.sd-empty { padding: 24px; text-align: center; color: var(--muted); font-size: 13px; }

.action-search-mobile { display: none; }

/* Wishlist icon header */
.action-wishlist .action-heart {
  font-size: 22px; line-height: 1; color: var(--green-dark);
  display: block;
}
.action-wishlist .wishlist-badge {
  position: absolute; top: -5px; right: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange); color: #fff;
  font-size: 10px; font-weight: 700;
}
.action-wishlist .wishlist-badge:empty,
.action-wishlist .wishlist-badge[data-wishlist-count="0"] { display: none; }

/* Wishlist page */
.wishlist-page { padding: 24px 0 40px; }
.wishlist-header { text-align: center; margin: 0 0 32px; }
.wishlist-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px; color: var(--green); margin: 0 0 8px;
}
.wishlist-meta { color: var(--muted); font-size: 14px; margin: 0; }

.wishlist-empty {
  text-align: center; padding: 60px 24px;
  background: #fbf7ef; border-radius: 14px;
  border: 1px dashed var(--line);
  margin: 0 auto 40px;
  max-width: 720px;
}
.wishlist-empty-art {
  font-size: 64px; color: var(--orange); line-height: 1;
  margin-bottom: 16px;
}
.wishlist-empty h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px; color: var(--green-dark); margin: 0 0 10px;
}
.wishlist-empty p {
  color: var(--muted); font-size: 14px; line-height: 1.6;
  max-width: 460px; margin: 0 auto 22px;
}

.wishlist-recommended { margin-top: 36px; }

@media (max-width: 1240px) {
  .bumb-search { max-width: 280px; margin: 0 12px; }
}
@media (max-width: 980px) {
  .bumb-search { display: none; }
  .action-search-mobile { display: grid !important; }
}

/* Search page hero */
.search-page { padding-top: 18px; }
.search-hero { margin-bottom: 24px; }
.search-hero .bumb-search {
  max-width: 720px; margin: 0 auto;
  height: 56px; padding: 0 6px 0 18px;
  border-radius: 28px;
}
.search-hero .bumb-search input { font-size: 16px; }
.search-hero .bumb-search-submit { height: 44px; min-height: 44px; padding: 0 22px; font-size: 13px; }

.search-header { margin-bottom: 18px; }
.search-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px; color: var(--green); margin: 0 0 8px;
}
.search-meta {
  font-size: 14px; color: var(--muted);
  margin: 0;
}

/* Empty state */
.search-empty { padding: 12px 0 40px; }
.search-empty-head { text-align: center; margin: 18px 0 36px; }
.search-empty-head h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px; color: var(--green); margin: 0 0 12px;
}
.search-empty-head .search-meta {
  max-width: 580px; margin: 0 auto;
  font-size: 14px; color: var(--muted);
  line-height: 1.6;
}

/* Search results — toolbar cu categorii chips + ordering */
.search-controls {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  margin: 0 0 22px; padding: 14px 18px;
  background: #fbf7ef; border: 1px solid var(--line); border-radius: 10px;
}
.search-cats {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.search-cats-label {
  font-size: 12px; color: var(--muted); font-weight: 700; margin-right: 4px;
}
.search-cats .chip {
  background: #fff; color: var(--green-dark);
  border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 14px;
  font-size: 12px; font-weight: 700;
  text-decoration: none; transition: all 0.15s;
}
.search-cats .chip:hover { background: var(--green); color: #fff; border-color: var(--green); }
.search-cats .chip small { opacity: 0.7; font-weight: 600; }

.search-similar {
  margin: 36px 0; padding: 22px;
  background: #fbf7ef; border-radius: 12px; text-align: center;
}
.search-similar h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px; color: var(--green); margin: 0 0 14px;
}

/* Empty state — 2-col layout */
.search-empty-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 28px; margin: 0 auto 36px;
}
.empty-products h2,
.empty-cats h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px; color: var(--green-dark);
  margin: 0 0 18px;
}
.empty-product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.empty-product-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px; background: #fffaf2;
  border: 1px solid var(--line); border-radius: 10px;
  text-decoration: none; color: var(--ink);
  transition: transform 0.18s, box-shadow 0.18s;
}
.empty-product-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(83,58,31,0.08); }
.empty-product-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 8px; background: #f6eadc;
}
.empty-product-card strong {
  font-size: 13px; font-weight: 700; color: var(--ink);
  line-height: 1.3;
}
.empty-product-card .price { font-size: 14px; font-weight: 900; color: var(--green-dark); margin: 0; }

.empty-cats-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.empty-cats-list a {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px;
  background: #fffaf2; border: 1px solid var(--line);
  border-radius: 10px; text-decoration: none; color: var(--ink);
  transition: transform 0.18s, box-shadow 0.18s;
}
.empty-cats-list a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(83,58,31,0.08); border-color: var(--green); }
.empty-cats-list svg { width: 28px; height: 28px; color: var(--green); flex: 0 0 auto; }
.empty-cats-list strong { display: block; font-size: 13px; margin-bottom: 4px; }
.empty-cats-list small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }

.search-popular {
  text-align: center; margin: 36px 0;
}
.search-popular h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px; color: var(--green); margin: 0 0 16px;
}
.search-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}
.search-chips .chip {
  background: #fbf2e5;
  color: var(--green-dark);
  border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
}
.search-chips .chip:hover {
  background: var(--green); color: #fff; border-color: var(--green);
}

.search-recommended { margin-top: 36px; }

@media (max-width: 960px) {
  .search-empty-grid { grid-template-columns: 1fr; }
  .search-controls { flex-direction: column; align-items: stretch; }
}
@media (max-width: 720px) {
  .empty-product-grid { grid-template-columns: 1fr; }
}

/* === Single product mobile fixes === */
@media (max-width: 720px) {
  .single-product-page .product-buy {
    flex-wrap: wrap;
  }
  .single-product-page .product-buy form.cart {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .single-product-page .product-buy .quantity {
    width: 100%; max-width: 160px;
  }
  .single-product-page .product-buy .single_add_to_cart_button {
    width: 100%;
  }
  .single-product-page .product-pills { gap: 6px; }
  .single-product-page .product-pills li { font-size: 11px; padding: 5px 10px; }
  .single-product-page .product-title { font-size: 24px; }
  .single-product-page .product-price { font-size: 26px; }
  .single-product-page .woocommerce-tabs ul.tabs { flex-wrap: wrap; }
  .single-product-page .woocommerce-tabs ul.tabs li a { padding: 12px 14px; font-size: 12px; }
}

/* === Cart page mobile fixes === */
@media (max-width: 720px) {
  .bumb-cart .checkout-stepper { flex-direction: column; gap: 8px; }
  .cart-item-name { font-size: 14px; }
  .cart-item-price { font-size: 13px; }
  .cart-item-subtotal { font-size: 15px; text-align: right; }
  .cart-summary-inner { padding: 18px; }
  .cart-summary-inner h3 { font-size: 18px; }
  .cart-summary-lines .line-total strong { font-size: 22px; }
  .cart-continue-checkout { min-height: 50px; font-size: 13px; }
}

/* === Mini-cart drawer mobile === */
@media (max-width: 460px) {
  .mini-cart-drawer { width: 100vw; }
  .mini-cart-item { padding: 12px 16px; gap: 10px; }
  .mini-cart-name { font-size: 13px; }
}

/* === Wishlist page mobile === */
@media (max-width: 720px) {
  .wishlist-header h1 { font-size: 24px; }
  .wishlist-empty { padding: 40px 18px; }
  .wishlist-empty h2 { font-size: 18px; }
}

/* === My Account dashboard mobile === */
@media (max-width: 720px) {
  .dashboard-welcome h2 { font-size: 22px; }
  .stat-card { padding: 14px 16px; }
  .stat-value { font-size: 22px; }
  .lo-card { padding: 14px 16px; }
}

/* === Despre Bumburel mobile === */
@media (max-width: 720px) {
  .about-hero { padding: 28px 22px; gap: 24px; }
  .about-rule .rule-card { padding: 26px 18px; }
  .rule-card h2 { font-size: 22px; }
  .rule-card p { font-size: 14px; }
}

/* === Search page mobile === */
@media (max-width: 720px) {
  .search-hero .bumb-search { height: 48px; }
  .search-hero .bumb-search input { font-size: 14px; }
  .search-header h1 { font-size: 22px; }
  .search-controls { padding: 12px 14px; }
  .search-controls .search-cats { width: 100%; }
}

/* === Guide quiz mobile === */
@media (max-width: 720px) {
  .guide-quiz { padding: 22px 16px; }
  .quiz-progress { font-size: 11px; }
  .qp-step::after { display: none; }
  .quiz-step h2 { font-size: 20px; }
  .quiz-nav { flex-direction: column-reverse; gap: 10px; }
  .quiz-nav .btn { width: 100%; }
}

/* === Social games mobile === */
@media (max-width: 720px) {
  .social-hero { padding: 28px 22px; gap: 22px; }
  .social-hero h1 { font-size: 22px; }
  .social-meta { gap: 5px; }
  .social-meta li { font-size: 11px; padding: 3px 8px; }
}

/* === Collections page mobile === */
@media (max-width: 720px) {
  .collections-hero { padding: 28px 22px; }
  .collections-hero h1 { font-size: 26px; }
  .gift-banner { padding: 22px; text-align: center; }
}

.actions { display: flex; align-items: center; gap: 12px; color: var(--green-dark); }
.action {
  position: relative; display: grid; place-items: center; gap: 3px;
  font-size: 11px; min-width: 42px;
}
.action svg { width: 25px; height: 25px; stroke-width: 1.8; }

.cart-badge {
  position: absolute; top: -5px; right: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: #fff;
  font-size: 10px; font-weight: 700;
}
.cart-badge.pulse { animation: pulse 0.38s ease; }
@keyframes pulse { 50% { transform: scale(1.25); } }

main { padding: 0 0 28px; }

.hero {
  margin-top: 20px; min-height: 360px;
  border-radius: 16px; overflow: hidden;
  background:
    radial-gradient(circle at 58% 20%, rgba(255, 255, 255, 0.7), transparent 25%),
    linear-gradient(90deg, #fff4e5 0%, #fbecd8 46%, #ecd8bf 100%);
  display: grid; grid-template-columns: 48% 52%;
  position: relative; box-shadow: var(--shadow);
}
.hero-copy { padding: 32px 0 28px 40px; z-index: 2; }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0; line-height: 1.1; color: var(--ink);
}

.hero h1 {
  font-size: clamp(26px, 2.4vw, 30px); color: var(--green); max-width: 480px;
  min-height: calc(1.1em * 2);
}
.hero-subtitle {
  margin: 12px 0 22px; color: #e77722;
  font-size: clamp(16px, 1.8vw, 19px); line-height: 1.4;
  max-width: 460px;
  min-height: calc(1.4em * 2);
}
.hero-points {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; max-width: 500px; margin-bottom: 22px;
}
.point {
  display: grid; grid-template-columns: 28px 1fr;
  gap: 8px; align-items: start;
  font-size: 11px; line-height: 1.4; color: #46513e;
}
.point strong { display: block; color: #1e241d; font-size: 11px; margin-bottom: 2px; }
.point .line-icon { width: 22px; height: 22px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 15px; }
.btn {
  min-height: 44px; border-radius: 5px;
  border: 1.5px solid var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 22px; background: transparent;
  color: var(--green-dark);
  font-size: 12px; font-weight: 800; cursor: pointer;
}
.btn.primary { background: var(--green); color: #fff; }

.hero-art { position: relative; min-height: 360px; overflow: hidden; }
.hero-art img {
  position: absolute; left: 4%; bottom: 0;
  height: 100%; width: 71%;
  object-fit: cover; object-position: center;
}

.trust-stack {
  position: absolute; right: 18px; top: 22px;
  display: grid; gap: 9px; width: 150px; z-index: 3;
}
.trust-card {
  min-height: 52px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  display: grid; grid-template-columns: 30px 1fr;
  align-items: center; gap: 9px;
  padding: 8px 11px;
  color: var(--green-dark);
  font-size: 11px; font-weight: 700;
  box-shadow: 0 8px 20px rgba(73, 54, 30, 0.08);
}
.trust-card svg { width: 20px; height: 20px; }
.trust-card span { color: #1f231b; display: block; font-weight: 800; margin-bottom: 3px; }

.slider-dots {
  position: absolute; left: 50%; bottom: 18px;
  transform: translateX(-50%);
  display: flex; gap: 13px; z-index: 4;
}
.slider-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid #d28337; background: transparent;
  padding: 0; cursor: pointer;
}
.slider-dots button.active { background: var(--green); border-color: var(--green); }

.services {
  margin-top: 18px; min-height: 75px;
  border-radius: 14px; background: #fbf7ef;
  display: grid; grid-template-columns: repeat(5, 1fr);
  align-items: center; box-shadow: var(--shadow);
}
.service {
  padding: 0 28px; min-height: 56px;
  border-right: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}
.service:last-child { border-right: 0; }
.service strong { display: block; color: #1e241d; margin-bottom: 3px; font-size: 13px; }

.section-head {
  margin: 31px 0 21px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.section-head.between { justify-content: space-between; margin-left: 0; margin-right: 0; }
.section-head h2 { font-size: 29px; }
.leaf { width: 20px; height: 20px; color: var(--green); }
.all-link { color: var(--green-dark); font-weight: 800; font-size: 13px; }

.category-grid, .product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 0;
}
.category-card, .product-card {
  background: #fffaf2; border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 9px 26px rgba(83, 58, 31, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex; flex-direction: column;
}
.category-card:hover, .product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(83, 58, 31, 0.10);
}
.category-card img {
  width: 100%; height: 220px; object-fit: cover; background: #f6eadc;
}
.category-card .card-body { padding: 16px 18px 20px; text-align: center; }
.category-card h3, .product-card h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px; line-height: 1.3;
  font-weight: 800; color: #1e241d;
  margin: 0;
}
.small-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 9px; color: var(--green-dark);
  font-size: 12px; font-weight: 700;
}
.small-link::before { content: "->"; color: var(--orange); }

.product-card { position: relative; padding-bottom: 18px; }
.badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--green); color: #fff;
  border-radius: 4px; padding: 6px 10px;
  font-size: 11px; font-weight: 800; z-index: 2;
  letter-spacing: 0.4px;
}
.heart {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px;
  border: 0; background: rgba(255,255,255,0.85); border-radius: 50%;
  color: var(--green-dark);
  font-size: 18px; line-height: 1; cursor: pointer; z-index: 2;
  display: grid; place-items: center;
}
.heart.is-favorite { color: #c85836; transform: scale(1.08); }
.product-card a > img,
.product-card > img { width: 100%; height: 240px; object-fit: cover; background: #f6eadc; }
.product-info {
  padding: 16px 18px 0;
  display: flex; flex-direction: column;
  flex: 1 1 auto;
}
.product-card h3 {
  min-height: calc(1.3em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.price { margin: 12px 0 14px; font-size: 20px; font-weight: 900; color: #11150f; }
.cart-btn {
  width: calc(100% - 36px); margin: auto 18px 0; min-height: 44px;
  border: 1px solid var(--green); background: transparent;
  color: var(--green); border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 800; cursor: pointer;
  text-decoration: none;
}
.cart-btn:hover { background: var(--green-soft); }
.cart-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
/* Hide WC default "Vezi coșul" link inserted after AJAX add-to-cart */
.product-card .added_to_cart,
.products .added_to_cart { display: none !important; }
.cart-btn.added::after { content: " ✓"; }
.cart-btn.added, .cart-btn.added_to_cart { background: var(--green); color: #fff; }

.about {
  margin: 32px auto 0; background: #fbf2e5;
  border-radius: 14px;
  display: grid; grid-template-columns: minmax(280px, 38%) 1fr;
  overflow: hidden; box-shadow: var(--shadow);
}
.about-media { position: relative; min-height: 320px; }
.about-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.about-body {
  display: grid; grid-template-rows: auto auto;
  padding: 32px 36px;
  gap: 22px;
}
.about-copy h2 { font-size: 32px; margin-bottom: 12px; color: var(--green); }
.about-copy p { margin: 0 0 18px; color: #353b31; font-size: 15px; line-height: 1.7; max-width: 560px; }

.about-features {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(63, 99, 48, 0.18);
}
.about-features .feature {
  min-height: 0; padding: 0;
  flex-direction: row; justify-content: flex-start; text-align: left;
  border: 0;
  color: #1e241d; font-size: 13px; font-weight: 700; line-height: 1.4;
  align-items: center; gap: 12px;
}
.about-features .feature .line-icon { width: 30px; height: 30px; }
.about-features .feature span { flex: 1; }

.promo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin: 22px auto 0;
}
.promo {
  min-height: 152px; border-radius: 8px; background: #fbf2e5;
  display: grid; grid-template-columns: 1fr 150px;
  align-items: center; overflow: hidden; padding-left: 25px;
}
.promo h3 { font-size: 21px; margin-bottom: 9px; }
.promo p { margin: 0 0 15px; color: #343a31; font-size: 13px; line-height: 1.45; }
.promo img { width: 150px; height: 115px; object-fit: contain; align-self: end; }

.reviews {
  margin-top: 18px;
  display: grid; grid-template-columns: 42px 1fr 1fr 1fr 42px;
  gap: 23px; align-items: center; padding: 0;
}
.arrow-btn {
  width: 39px; height: 39px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  color: var(--green-dark);
  display: grid; place-items: center;
  font-size: 24px; cursor: pointer;
}
.review-card {
  min-height: 93px; border-radius: 8px; background: #fbf7ef;
  border: 1px solid var(--line); padding: 20px 26px;
  font-size: 12px; color: #20231b;
}
.review-card blockquote { margin: 0 0 10px; line-height: 1.5; }
.review-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; font-weight: 700;
}
.stars { color: var(--gold); white-space: nowrap; font-size: 15px; }

.newsletter {
  margin-top: 20px; min-height: 65px;
  border-radius: 10px; background: #fbf1e4;
  display: grid; grid-template-columns: 80px 1fr 430px;
  align-items: center; gap: 20px;
  padding: 0 27px;
}
.newsletter.is-sent { box-shadow: inset 0 0 0 2px rgba(63, 99, 48, 0.22); }
.newsletter svg { width: 49px; height: 49px; color: var(--orange); }
.newsletter h2 { font-size: 22px; color: var(--green); margin-bottom: 5px; }
.newsletter p { margin: 0; font-size: 13px; }

.subscribe { display: grid; grid-template-columns: 1fr 160px; gap: 10px; }
.subscribe input {
  height: 42px; border: 1px solid var(--line);
  border-radius: 4px; padding: 0 18px;
  color: var(--muted); background: #fff;
}

.footer {
  background: #f5eedf;
  border-top: 1px solid rgba(63, 99, 48, 0.1);
  padding: 27px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 220px 1fr 1fr 1fr 230px;
  gap: 36px; padding-bottom: 25px;
}
.footer .brand { align-items: flex-start; }
.footer .brand-name { font-size: 22px; }

.socials { margin-top: 16px; display: flex; gap: 13px; }
.socials a {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(63, 99, 48, 0.35);
  display: grid; place-items: center;
  color: var(--green); font-size: 12px; font-weight: 800;
}

.footer h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px; margin-bottom: 11px; color: #1e241d;
}
.footer ul,
.footer .footer-menu {
  display: block;
  margin: 0; padding: 0; list-style: none;
  color: #31382e; font-size: 13px; line-height: 1.75;
  font-weight: 400;
}
.footer .footer-menu li {
  display: block;
  padding: 0; margin: 0;
}
.footer .footer-menu a {
  display: inline-block;
  padding: 2px 0;
  color: #31382e;
  font-weight: 400;
  text-decoration: none;
}
.footer .footer-menu a:hover { color: var(--green); text-decoration: underline; }
.footer-contact li { align-items: flex-start; line-height: 1.45; margin-bottom: 9px; }
.footer-contact svg {
  width: 17px; height: 17px;
  margin-top: 2px; flex: 0 0 auto;
  color: var(--green-dark);
}
.copyright {
  min-height: 42px; border-top: 1px solid rgba(63, 99, 48, 0.16);
  display: flex; align-items: center; justify-content: space-between;
  color: #4a5144; font-size: 12px;
}
.ro {
  display: inline-flex; width: 20px; height: 13px;
  margin-left: 5px; vertical-align: -2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.ro i { flex: 1; }
.ro i:nth-child(1) { background: #002b7f; }
.ro i:nth-child(2) { background: #fcd116; }
.ro i:nth-child(3) { background: #ce1126; }

/* ============================================================
   Colecții — pagina /colectii/
   ============================================================ */
.collections-hero { margin-top: 22px; }
.hero-points-flat {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: 12px; font-weight: 700;
}
.hero-points-flat li {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green-dark);
}
.hero-points-flat svg { width: 18px; height: 18px; color: var(--green); }

.collections-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 22px; margin: 32px auto 0;
}
.collection-card {
  background: #fffaf2; border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 9px 26px rgba(83,58,31,0.05);
  display: flex; flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
}
.collection-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(83,58,31,0.1); }
.collection-thumb img {
  width: 100%; height: 180px; object-fit: cover; background: #f6eadc;
}
.collection-body { padding: 14px 16px 12px; flex: 1 1 auto; }
.collection-body h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px; font-weight: 800; margin: 0 0 6px;
}
.collection-body p {
  font-size: 12px; line-height: 1.5;
  margin: 0 0 10px; color: var(--muted);
}
.collection-mini {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding: 10px 14px 14px;
  border-top: 1px solid var(--line);
}
.collection-mini img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 6px; background: #f6eadc;
}

.popular-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; margin: 0 auto;
}
.popular-card {
  display: grid; grid-template-columns: 1fr 90px;
  align-items: center; gap: 14px;
  padding: 14px 18px;
  background: #fbf2e5; border-radius: 10px;
  border: 1px solid var(--line);
}
.popular-card h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px; font-weight: 800; margin: 0 0 6px;
}
.popular-card img {
  width: 90px; height: 75px; object-fit: cover; border-radius: 6px;
}

.gift-banner {
  margin: 36px auto 0;
  display: grid; grid-template-columns: 110px 1fr auto;
  gap: 28px; align-items: center;
  padding: 26px 32px;
  background: #fbf2e5; border-radius: 14px;
  box-shadow: var(--shadow);
}
.gift-art { display: grid; place-items: center; }
.gift-icon { width: 64px; height: 64px; color: var(--green); }
.gift-copy h2 { font-size: 24px; color: var(--green); margin: 0 0 6px; }
.gift-copy p { font-size: 13px; color: var(--muted); margin: 0 0 14px; line-height: 1.5; }
.gift-features {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px;
}
.gift-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; line-height: 1.4;
}
.gift-features svg { width: 22px; height: 22px; color: var(--green); flex: 0 0 auto; }
.gift-features strong { display: block; color: var(--ink); font-weight: 700; }
.gift-features span { color: var(--muted); }

.age-guide { margin: 36px auto 0; }
.age-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.age-card {
  background: #fbf7ef; border: 1px solid var(--line);
  border-radius: 10px; padding: 20px 22px;
  display: flex; flex-direction: column;
}
.age-label {
  display: inline-block;
  background: var(--green); color: #fff;
  font-size: 12px; font-weight: 800;
  padding: 5px 11px; border-radius: 14px;
  align-self: flex-start; margin-bottom: 14px;
  letter-spacing: 0.4px;
}
.age-card h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px; font-weight: 800; margin: 0 0 8px;
  line-height: 1.3;
}
.age-card p {
  font-size: 12px; color: var(--muted);
  line-height: 1.5; margin: 0 0 12px; flex: 1 1 auto;
}

@media (max-width: 1240px) {
  .collections-grid { grid-template-columns: repeat(3, 1fr); }
  .popular-grid { grid-template-columns: repeat(2, 1fr); }
  .age-grid { grid-template-columns: repeat(2, 1fr); }
  .gift-banner { grid-template-columns: 80px 1fr; }
  .gift-features { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .collections-grid { grid-template-columns: 1fr; }
  .popular-grid, .age-grid { grid-template-columns: 1fr; }
  .gift-banner { grid-template-columns: 1fr; padding: 22px; text-align: center; }
  .gift-features { grid-template-columns: 1fr; }
}

/* ============================================================
   Despre Bumburel — brand story page
   ============================================================ */
.about-page > section { margin-top: 56px; }
.about-page > section:first-child { margin-top: 24px; }

/* Hero */
.about-hero {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 40px; align-items: center;
  background: linear-gradient(90deg, #fff4e5 0%, #fbecd8 46%, #ecd8bf 100%);
  border-radius: 18px; padding: 48px;
  box-shadow: var(--shadow);
}
.about-hero .kicker {
  display: inline-block; font-size: 12px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.about-hero h1 {
  font-size: clamp(32px, 4vw, 44px); color: var(--green);
  margin: 0 0 16px; line-height: 1.1;
  max-width: 540px;
}
.about-hero .lead {
  font-size: 16px; line-height: 1.7; color: #353b31;
  margin: 0 0 24px; max-width: 540px;
}
.about-hero-art img {
  width: 100%; height: auto; border-radius: 14px;
}

/* Misiune */
.mission-intro {
  font-size: 16px; line-height: 1.7; color: #353b31;
  max-width: 800px; margin: 0 0 28px;
}
.mission-intro strong { color: var(--green-dark); }
.mission-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.mission-card {
  padding: 28px 26px;
  background: #fffaf2; border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
}
.mission-icon {
  width: 60px; height: 60px;
  background: var(--green-soft); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--green); margin: 0 auto 18px;
}
.mission-icon svg { width: 28px; height: 28px; }
.mission-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px; color: var(--green-dark); margin: 0 0 12px;
}
.mission-card p {
  font-size: 14px; line-height: 1.6; color: #46513e; margin: 0;
}

/* Regula brand */
.about-rule .rule-card {
  background: var(--green); color: #fff;
  border-radius: 16px; padding: 48px;
  text-align: center; max-width: 900px; margin: 0 auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(63,99,48,0.18);
}
.rule-mark {
  display: block; font-size: 48px; color: var(--gold);
  line-height: 1; margin-bottom: 16px;
}
.rule-card h2 {
  font-size: 28px; color: #fff; margin: 0 0 18px;
}
.rule-card p {
  font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.92);
  margin: 0 auto 14px; max-width: 700px;
}
.rule-card strong { color: var(--gold); }
.rule-no { font-size: 14px; color: rgba(255,255,255,0.7); font-style: italic; }

/* Povestea Bumburel */
.about-story-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 48px; align-items: center;
}
.story-art img {
  width: 100%; height: auto; border-radius: 14px;
  box-shadow: var(--shadow);
}
.story-copy .kicker {
  display: inline-block; font-size: 12px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}
.story-copy h2 {
  font-size: clamp(24px, 2.6vw, 30px); color: var(--green);
  margin: 0 0 18px; line-height: 1.2;
}
.story-copy p {
  font-size: 15px; line-height: 1.75; color: #353b31;
  margin: 0 0 16px;
}
.story-copy em { color: var(--green-dark); font-style: italic; font-weight: 600; }

/* Ce ne face diferiți */
.different-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.different-item {
  padding: 22px 24px;
  background: #fbf7ef; border: 1px solid var(--line);
  border-radius: 12px;
}
.different-item strong {
  display: block; font-size: 15px; color: var(--green-dark);
  margin-bottom: 8px; font-weight: 800;
}
.different-item p {
  font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0;
}

/* CTA final */
.about-cta .cta-card {
  background: #fbf2e5; border-radius: 16px;
  padding: 48px 32px; text-align: center;
  box-shadow: var(--shadow);
}
.cta-card h2 {
  font-size: clamp(24px, 2.6vw, 32px); color: var(--green);
  margin: 0 0 14px;
}
.cta-card p {
  font-size: 15px; line-height: 1.7; color: #353b31;
  max-width: 600px; margin: 0 auto 24px;
}

@media (max-width: 960px) {
  .about-hero { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
  .mission-grid,
  .different-grid { grid-template-columns: 1fr; }
  .about-story-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-rule .rule-card { padding: 32px 22px; }
}

/* ============================================================
   Ghid de alegere (quiz)
   ============================================================ */
.guide-page > section { margin-top: 36px; }
.guide-page > section:first-child { margin-top: 24px; }
.guide-hero {
  text-align: center; padding: 40px 0 12px;
}
.guide-hero .kicker {
  display: inline-block; font-size: 12px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.guide-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.4vw, 38px); color: var(--green);
  margin: 0 0 16px; line-height: 1.15;
}
.guide-hero .lead {
  font-size: 16px; line-height: 1.7; color: #353b31;
  max-width: 580px; margin: 0 auto;
}

.guide-quiz {
  background: #fbf7ef; border: 1px solid var(--line);
  border-radius: 16px; padding: 36px 32px;
  max-width: 960px; margin: 0 auto;
  position: relative;
}

/* Progress */
.quiz-progress {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin: 0 0 28px;
}
.qp-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: var(--muted);
  position: relative;
}
.qp-step::after {
  content: ""; flex: 1; height: 2px; background: var(--line);
  border-radius: 1px; margin-left: 8px;
}
.qp-step:last-child::after { display: none; }
.qp-step span {
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: var(--muted);
  flex: 0 0 auto;
}
.qp-step.is-active { color: var(--green-dark); }
.qp-step.is-active span { background: var(--green); color: #fff; border-color: var(--green); }
.qp-step.is-done span { background: var(--green-soft); color: var(--green-dark); border-color: var(--green); }
.qp-step.is-done::after { background: var(--green); }

/* Steps */
.quiz-step { display: none; }
.quiz-step.is-active { display: block; }
.quiz-step h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px; color: var(--green-dark); margin: 0 0 8px;
  text-align: center;
}
.quiz-helper {
  text-align: center; font-size: 14px; color: var(--muted);
  margin: 0 0 24px; max-width: 540px; margin-left: auto; margin-right: auto;
}

.quiz-options { display: grid; gap: 14px; }
.age-options { grid-template-columns: repeat(5, 1fr); }
.ability-options { grid-template-columns: repeat(5, 1fr); }
.together-options { grid-template-columns: repeat(4, 1fr); }

.quiz-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 18px;
  background: #fff; border: 2px solid var(--line);
  border-radius: 12px; cursor: pointer;
  transition: all 0.15s;
  position: relative;
  text-align: center;
}
.quiz-card input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-card:hover { border-color: var(--green); transform: translateY(-2px); }
.quiz-card:has(input:checked) {
  border-color: var(--green); background: var(--green-soft);
  box-shadow: 0 0 0 3px rgba(63,99,48,0.12);
}
.quiz-card .qc-body { display: flex; flex-direction: column; }
.quiz-card strong { font-size: 14px; color: var(--ink); }
.quiz-card small { font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.4; }

.quiz-card-icon { padding: 18px 14px; }
.quiz-card-icon .qc-icon {
  width: 40px; height: 40px; margin: 0 auto 10px;
  background: var(--green-soft); border-radius: 50%;
  display: grid; place-items: center; color: var(--green);
}
.quiz-card-icon .qc-icon svg { width: 20px; height: 20px; }
.quiz-card-icon .qc-label { font-size: 13px; font-weight: 700; color: var(--ink); }

.quiz-card-tg .qc-icon {
  width: 40px; height: 40px; margin: 0 auto 12px;
  background: var(--green-soft); border-radius: 50%;
  display: grid; place-items: center; color: var(--green);
}
.quiz-card-tg .qc-icon svg { width: 20px; height: 20px; }

/* Navigation */
.quiz-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px; gap: 12px;
}
.quiz-nav .btn { min-width: 140px; }
.quiz-skip { text-align: center; font-size: 13px; color: var(--muted); margin: 18px 0 0; }
.quiz-skip a { color: var(--green-dark); font-weight: 700; }

/* Curated */
.curated-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.curated-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px 22px;
  background: #fffaf2; border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none; color: var(--ink);
  transition: all 0.18s;
}
.curated-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(83,58,31,0.08); border-color: var(--green); }
.curated-icon {
  width: 44px; height: 44px;
  background: var(--green-soft); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--green);
}
.curated-icon svg { width: 22px; height: 22px; }
.curated-card strong { font-size: 15px; color: var(--ink); }
.curated-card small { font-size: 12px; color: var(--muted); line-height: 1.5; }

@media (max-width: 960px) {
  .age-options { grid-template-columns: repeat(2, 1fr); }
  .ability-options { grid-template-columns: repeat(2, 1fr); }
  .together-options { grid-template-columns: 1fr; }
  .curated-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-quiz { padding: 24px 18px; }
}
@media (max-width: 480px) {
  .curated-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Jocuri sociale — landing editorial
   ============================================================ */
.social-page > section { margin-top: 48px; }
.social-page > section:first-child { margin-top: 24px; }

.social-hero {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 40px; align-items: center;
  background: linear-gradient(135deg, #e8f0e3 0%, #fbf7ef 100%);
  border-radius: 18px; padding: 48px;
  box-shadow: var(--shadow);
}
.social-hero .kicker {
  display: inline-block; font-size: 12px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.social-hero h1 {
  font-size: clamp(28px, 3.4vw, 38px); color: var(--green);
  margin: 0 0 16px; line-height: 1.15; max-width: 560px;
}
.social-hero .lead {
  font-size: 16px; line-height: 1.7; color: #353b31;
  margin: 0 0 24px; max-width: 540px;
}
.social-hero-art img { width: 100%; height: auto; border-radius: 14px; }

/* Subcategorii */
.social-subs-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.social-sub-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 16px;
  background: #fffaf2; border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center; text-decoration: none; color: var(--ink);
  transition: all 0.18s;
}
.social-sub-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(83,58,31,0.08); border-color: var(--green); }
.ssc-icon {
  width: 44px; height: 44px;
  background: var(--green-soft); border-radius: 50%;
  display: grid; place-items: center; color: var(--green);
}
.ssc-icon svg { width: 22px; height: 22px; }
.social-sub-card strong { font-size: 14px; }
.social-sub-card small { font-size: 11px; color: var(--muted); line-height: 1.4; }

/* Cum alegi (3 cards numerotate) */
.howto-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.howto-card {
  padding: 28px 26px;
  background: #fbf7ef; border: 1px solid var(--line);
  border-radius: 12px; position: relative;
}
.howto-num {
  position: absolute; top: 18px; right: 22px;
  width: 36px; height: 36px;
  background: var(--green); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px; font-weight: 700;
}
.howto-card strong {
  display: block; font-size: 16px; color: var(--green-dark);
  margin: 0 50px 10px 0;
}
.howto-card p { font-size: 13px; line-height: 1.6; color: #46513e; margin: 0; }

/* Grid produse sociale — card extins */
.social-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.social-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
}
.social-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(83,58,31,0.1); }
.social-card .badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--green); color: #fff;
  border-radius: 4px; padding: 5px 10px;
  font-size: 11px; font-weight: 800; z-index: 2;
}
.social-card .heart {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.92); border: 0;
  border-radius: 50%; color: var(--green-dark);
  font-size: 18px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; z-index: 2;
}
.social-thumb img {
  width: 100%; height: 200px; object-fit: cover;
  background: #f6eadc; display: block;
}
.social-body {
  padding: 18px 20px; display: flex; flex-direction: column; gap: 10px;
  flex: 1 1 auto;
}
.social-body h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px; font-weight: 800; margin: 0;
  line-height: 1.3;
}
.social-body h3 a { color: var(--ink); text-decoration: none; }
.social-body h3 a:hover { color: var(--green); }
.social-meta {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.social-meta li {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--muted);
  background: var(--green-soft); padding: 4px 10px; border-radius: 12px;
  font-weight: 600;
}
.social-meta svg { width: 13px; height: 13px; color: var(--green); }
.social-develops {
  font-size: 12px; color: #46513e; margin: 0; line-height: 1.5;
}
.social-develops strong { color: var(--green-dark); }
.social-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: auto; padding-top: 6px;
}
.social-foot .price { margin: 0; font-size: 18px; font-weight: 900; color: var(--ink); }
.social-foot .cart-btn {
  width: auto; margin: 0; min-height: 36px;
  padding: 0 14px; font-size: 12px;
}

@media (max-width: 1240px) {
  .social-subs-grid { grid-template-columns: repeat(3, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .social-hero { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
  .social-subs-grid { grid-template-columns: repeat(2, 1fr); }
  .howto-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .social-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Mini-cart drawer
   ============================================================ */
.mini-cart-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(31, 35, 27, 0.45);
  opacity: 0; transition: opacity 0.22s ease;
}
.mini-cart-overlay.is-visible { opacity: 1; }

.mini-cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 100;
  width: min(420px, 100vw); height: 100vh; height: 100dvh;
  background: var(--paper); color: var(--ink);
  box-shadow: -18px 0 40px rgba(31, 35, 27, 0.18);
  transform: translateX(105%); transition: transform 0.28s cubic-bezier(.22,.61,.36,1);
  display: flex; flex-direction: column;
}
.mini-cart-drawer.is-open { transform: translateX(0); }
body.drawer-open { overflow: hidden; }

.mini-cart-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: #fbf2e5;
}
.mini-cart-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px; margin: 0; color: var(--green-dark);
  display: inline-flex; align-items: center; gap: 10px;
}
.mini-cart-head h2 svg { width: 22px; height: 22px; color: var(--green); }
.mini-cart-count {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--green); color: #fff;
  border-radius: 11px; font-size: 12px; font-weight: 800;
}
.mini-cart-close {
  width: 36px; height: 36px;
  border: 0; background: transparent; cursor: pointer;
  font-size: 28px; line-height: 1; color: var(--green-dark);
  border-radius: 50%;
}
.mini-cart-close:hover { background: rgba(63, 99, 48, 0.08); }

.mini-cart-body {
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.mini-cart-scroll {
  flex: 1 1 auto; min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mini-cart-footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 -8px 18px rgba(31, 35, 27, 0.06);
}

.mini-cart-empty {
  padding: 40px 24px; text-align: center; color: var(--muted);
  display: flex; flex-direction: column; gap: 18px; align-items: center;
}
.mini-cart-empty p { margin: 0; font-size: 15px; }

.mini-cart-items {
  list-style: none; margin: 0; padding: 0;
}
.mini-cart-item {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 14px; padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.mini-cart-price {
  display: block; font-size: 13px; font-weight: 800;
  color: var(--ink); margin-bottom: 8px;
}

/* Qty stepper (+/-) reuse for mini-cart, cart page */
.qty-stepper {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; background: #fff;
  height: 30px;
}
.qty-stepper button {
  width: 28px; border: 0; background: #fbf7ef;
  color: var(--green-dark); font-size: 16px; font-weight: 800;
  cursor: pointer; padding: 0;
  line-height: 1;
  transition: background 0.15s;
}
.qty-stepper button:hover { background: var(--green); color: #fff; }
.qty-stepper button:disabled { opacity: 0.5; cursor: not-allowed; }
.qty-stepper input {
  width: 32px; border: 0;
  text-align: center;
  font: inherit; font-weight: 700; font-size: 13px;
  background: transparent;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* Large variant pe cart page */
.qty-stepper-lg { height: 40px; }
.qty-stepper-lg button { width: 36px; font-size: 18px; }
.qty-stepper-lg input { width: 44px; font-size: 15px; }
.mini-cart-thumb img {
  width: 60px; height: 60px;
  object-fit: cover; border-radius: 6px;
  background: #f6eadc;
}
.mini-cart-info { min-width: 0; }
.mini-cart-name {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--ink); line-height: 1.3; margin-bottom: 6px;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.mini-cart-name:hover { color: var(--green); }
.mini-cart-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: wrap;
}
.mini-cart-remove {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line);
  border-radius: 50%; color: var(--green-dark);
  font-size: 14px; text-decoration: none; line-height: 1;
}
.mini-cart-remove:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

.mini-cart-totals {
  padding: 18px 22px;
  background: #fbf7ef;
}
.mini-cart-subtotal {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 16px; font-weight: 700;
}
.mini-cart-subtotal strong { font-size: 20px; color: var(--green-dark); }
.mini-cart-tax-note {
  margin: 6px 0 0; font-size: 12px; color: var(--muted);
}

.mini-cart-actions {
  padding: 16px 22px 22px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mini-cart-actions .btn { padding: 0 14px; font-size: 12px; }

@media (max-width: 460px) {
  .mini-cart-actions { grid-template-columns: 1fr; }
}

.toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 20;
  max-width: min(360px, calc(100% - 48px));
  min-height: 50px;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px;
  background: var(--green-dark); color: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(32, 35, 27, 0.25);
  font-size: 14px; font-weight: 700;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1240px) {
  .topbar .wrap { grid-template-columns: repeat(2, 1fr); padding: 8px 0; }
  .nav .wrap { position: relative; }
  .menu-toggle { display: grid; }
  .menu { display: none; }
  .nav.nav-open .menu {
    position: absolute; left: 24px; right: 24px; top: 78px;
    z-index: 10;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0; background: #fffdf8;
    border: 1px solid var(--line); border-radius: 10px;
    padding: 10px;
    box-shadow: 0 18px 40px rgba(42, 50, 34, 0.14);
    white-space: normal;
  }
  .nav.nav-open .menu a { display: block; padding: 12px; border-radius: 6px; }
  .nav.nav-open .menu a:hover { background: var(--green-soft); }
  .nav.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-right: 48px; }
  .hero-art { min-height: 310px; }
  .hero-art img { width: 65%; }
  .category-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service { border-bottom: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; }
  .about-media { min-height: 260px; }
  .about-body { padding: 26px 28px; }
  .newsletter { grid-template-columns: 58px 1fr; }
  .subscribe { grid-column: 1 / -1; margin-bottom: 18px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 24px, 540px); }
  .topbar .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .topbar .top-center { display: none; }  /* "Livrare rapidă" hidden, păstrăm doar telefon + plată */
  .topbar svg { width: 14px; height: 14px; }
  .topbar { font-size: 11px; }
  .services, .category-grid, .product-grid,
  .promo-grid, .reviews, .footer-grid { grid-template-columns: 1fr; }
  .nav .wrap { min-height: auto; padding: 14px 0; align-items: flex-start; }
  .actions { gap: 6px; }
  .action span:not(.cart-badge):not(.wishlist-badge) { display: none; }
  /* "Contul meu" link ascuns pe mobile — accesibil prin meniul hamburger */
  .actions > a.action:not(.action-search-mobile):not(.action-wishlist):not(.cart-action) { display: none; }
  .brand-logo img { height: 44px; }
  .brand-name { font-size: 20px; }
  .hero { min-height: 0; }
  .hero-copy { padding: 34px 24px 24px; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-art img { position: relative; left: auto; width: 100%; height: auto; }
  .trust-stack { position: static; width: auto; padding: 0 18px 18px; }
  .services { padding: 10px 0; }
  .service { border-right: 0; padding: 12px 22px; }
  .section-head.between { margin-left: 0; margin-right: 0; }
  .category-grid, .product-grid { padding: 0; gap: 16px; }
  .category-card img, .product-card img { height: auto; aspect-ratio: 4 / 3; }
  .about { margin-left: 0; margin-right: 0; grid-template-columns: 1fr; }
  .about-media { min-height: 220px; }
  .about-body { padding: 22px 22px; }
  .about-features { grid-template-columns: 1fr; }
  .promo { grid-template-columns: 1fr 130px; padding-left: 18px; }
  .reviews { padding: 0; }
  .reviews.is-slider { grid-template-columns: 1fr; }
  .reviews.is-slider .review-card { display: none; }
  .reviews.is-slider .review-card.active { display: block; }
  .arrow-btn { display: none; }
  .newsletter { grid-template-columns: 1fr; padding: 20px; text-align: center; }
  .newsletter svg { margin: 0 auto; }
  .subscribe { grid-template-columns: 1fr; margin-bottom: 0; }
  .copyright { flex-direction: column; justify-content: center; gap: 6px; text-align: center; padding: 10px 0; }
}

/* ============================================================
   WooCommerce — brand styling for shop/product/cart/checkout
   ============================================================ */

/* Section wrapper for WC pages */
.woocommerce, .woocommerce-page {
  color: var(--ink);
}

/* === Shop archive — hero + sidebar + grid === */
.shop-archive { padding-top: 0; }
.shop-archive .woocommerce-breadcrumb,
.shop-archive .rank-math-breadcrumb {
  font-size: 12px; color: var(--muted);
  margin: 18px 0 14px;
}

.category-hero {
  margin-top: 16px; min-height: 240px;
  border-radius: 14px; overflow: hidden;
  background-color: var(--green-soft);
  background-size: cover; background-position: center;
  position: relative;
  display: flex; align-items: center;
  padding: 32px 48px;
  box-shadow: var(--shadow);
}
.category-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(63,99,48,0.65) 0%, rgba(63,99,48,0.25) 60%, transparent 100%);
}
.category-hero-copy { position: relative; max-width: 540px; color: #fff; }
.category-hero-copy h1 {
  font-size: clamp(28px, 3vw, 38px);
  color: #fff; margin: 0 0 12px; line-height: 1.1;
}
.category-hero-copy p {
  font-size: 15px; line-height: 1.6;
  margin: 0; color: rgba(255,255,255,0.92);
}

.shop-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 32px;
  margin-top: 8px;
}
.shop-sidebar { min-width: 0; }
.shop-sidebar .filter-group,
.shop-sidebar .widget {
  background: #fbf7ef;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.shop-sidebar h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.4px;
  margin: 0 0 12px; color: var(--green-dark);
}
.shop-sidebar ul {
  list-style: none; margin: 0; padding: 0;
  font-size: 13px;
}
.shop-sidebar ul li { padding: 6px 0; }
.shop-sidebar ul a {
  display: flex; justify-content: space-between;
  color: var(--ink); text-decoration: none;
}
.shop-sidebar ul a:hover, .shop-sidebar ul a.is-active {
  color: var(--green); font-weight: 700;
}
.shop-sidebar ul a span {
  color: var(--muted); font-size: 12px; font-weight: 600;
}
.filter-note p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.shop-main { min-width: 0; }

/* Active filter chips */
.active-filters .chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff;
  padding: 5px 10px; border-radius: 14px;
  font-size: 12px; font-weight: 700;
  text-decoration: none;
}
.chip span { font-size: 14px; line-height: 1; opacity: 0.85; }
.chip:hover { background: var(--green-dark); }
.chip-clear { background: transparent; color: var(--orange); border: 1px dashed var(--orange); }
.chip-clear:hover { background: var(--orange); color: #fff; }

/* WC Layered Nav (atribute) styling */
.shop-sidebar .woocommerce-widget-layered-nav-list {
  list-style: none; margin: 0; padding: 0;
  font-size: 13px;
}
.shop-sidebar .woocommerce-widget-layered-nav-list li {
  padding: 5px 0;
  display: flex; align-items: center;
}
.shop-sidebar .woocommerce-widget-layered-nav-list li a {
  flex: 1; color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.shop-sidebar .woocommerce-widget-layered-nav-list li a::before {
  content: ""; display: inline-block;
  width: 14px; height: 14px;
  border: 1.5px solid var(--line); border-radius: 3px;
  background: #fff; flex: 0 0 auto;
  transition: all 0.15s;
}
.shop-sidebar .woocommerce-widget-layered-nav-list li.chosen a::before {
  background: var(--green); border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='white' stroke-width='2.5' d='M2 7l3 3 7-7'/%3E%3C/svg%3E");
  background-size: 10px 10px; background-repeat: no-repeat; background-position: center;
}
.shop-sidebar .woocommerce-widget-layered-nav-list li a:hover { color: var(--green); }
.shop-sidebar .woocommerce-widget-layered-nav-list .count {
  color: var(--muted); font-size: 12px; font-weight: 600;
  margin-left: auto;
}

/* WC Price Filter (range slider) */
.shop-sidebar .price_slider_wrapper { padding: 4px 0; }
.shop-sidebar .price_slider {
  height: 4px; background: var(--line);
  border-radius: 2px; margin: 18px 4px 12px;
  position: relative;
}
.shop-sidebar .price_slider .ui-slider-range {
  position: absolute; height: 100%;
  background: var(--green); border-radius: 2px;
}
.shop-sidebar .price_slider .ui-slider-handle {
  position: absolute; top: -7px;
  width: 18px; height: 18px;
  background: #fff; border: 2px solid var(--green);
  border-radius: 50%; cursor: pointer;
  margin-left: -9px;
}
.shop-sidebar .price_slider_amount {
  font-size: 12px; color: var(--muted);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.shop-sidebar .price_slider_amount .price_label {
  flex: 1 1 auto; font-weight: 700; color: var(--ink);
}
.shop-sidebar .price_slider_amount button.button {
  background: var(--green); color: #fff;
  border: 0; border-radius: 4px;
  font-size: 12px; font-weight: 800;
  padding: 7px 14px; cursor: pointer;
}
.shop-sidebar .price_slider_amount button.button:hover { background: var(--green-dark); }

/* Stock filter list */
.shop-sidebar .stock-filter {
  list-style: none; margin: 0; padding: 0;
  font-size: 13px;
}
.shop-sidebar .stock-filter li { padding: 5px 0; }
.shop-sidebar .stock-filter a {
  color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.shop-sidebar .stock-filter a::before {
  content: ""; display: inline-block;
  width: 14px; height: 14px;
  border: 1.5px solid var(--line); border-radius: 3px;
  background: #fff; flex: 0 0 auto;
}
.shop-sidebar .stock-filter a.is-active::before {
  background: var(--green); border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='white' stroke-width='2.5' d='M2 7l3 3 7-7'/%3E%3C/svg%3E");
  background-size: 10px 10px; background-repeat: no-repeat; background-position: center;
}
.shop-sidebar .stock-filter a:hover { color: var(--green); }

.why-wood { margin: 36px 0 0; }
.why-wood .service strong { display: block; font-size: 13px; }

@media (max-width: 960px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { order: 2; }
  .shop-main { order: 1; }
  .category-hero { padding: 24px 28px; min-height: 180px; }
}
.shop-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin: 0 0 18px;
}
.shop-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px; line-height: 1.1; margin: 0; color: var(--green);
  display: inline-flex; align-items: center; gap: 10px;
}
.shop-title .leaf { width: 22px; height: 22px; }
.shop-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin: 0 0 22px;
  padding: 12px 16px; background: #fbf7ef;
  border: 1px solid var(--line); border-radius: 8px;
}
.shop-controls .woocommerce-result-count {
  margin: 0; font-size: 13px; color: var(--muted);
}
.shop-controls .woocommerce-ordering { margin: 0; }
.woocommerce .woocommerce-result-count {
  font-size: 13px; color: var(--muted);
  margin: 0 0 16px;
}
.woocommerce .woocommerce-ordering {
  margin: 0 0 18px;
}
.woocommerce .woocommerce-ordering select {
  height: 38px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 4px;
  background: #fff;
  font: inherit; font-size: 13px;
}

.woocommerce nav.woocommerce-pagination {
  margin-top: 28px;
  text-align: center;
}
.woocommerce nav.woocommerce-pagination ul {
  border: 0; padding: 0; list-style: none;
  display: inline-flex; gap: 6px;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: 0; margin: 0;
}
.woocommerce nav.woocommerce-pagination a,
.woocommerce nav.woocommerce-pagination span {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 4px;
  background: #fff; color: var(--green-dark);
  font-weight: 700; font-size: 13px;
  text-decoration: none;
}
.woocommerce nav.woocommerce-pagination span.current,
.woocommerce nav.woocommerce-pagination a:hover {
  background: var(--green); color: #fff; border-color: var(--green);
}

/* Breadcrumbs */
.woocommerce-breadcrumb, .rank-math-breadcrumb {
  font-size: 12px; color: var(--muted);
  margin-bottom: 18px;
}
.woocommerce-breadcrumb a, .rank-math-breadcrumb a {
  color: var(--green-dark); font-weight: 700;
}
.woocommerce-breadcrumb a:hover, .rank-math-breadcrumb a:hover {
  text-decoration: underline;
}

/* ============================================================
   Single product — Bumburel custom layout
   ============================================================ */
.single-product-page .product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 22px;
  align-items: flex-start;
}

/* Gallery */
.single-product-page .product-gallery,
.single-product-page .woocommerce-product-gallery {
  border-radius: 14px;
  overflow: hidden;
  background: #fffaf2;
  border: 1px solid var(--line);
  position: relative;
}
.single-product-page .woocommerce-product-gallery .flex-control-thumbs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 10px 0 0; padding: 10px;
  list-style: none;
}
.single-product-page .woocommerce-product-gallery .flex-control-thumbs li {
  width: 60px; height: 60px;
}
.single-product-page .woocommerce-product-gallery .flex-control-thumbs img {
  width: 60px; height: 60px; object-fit: cover;
  border-radius: 6px; border: 1px solid var(--line);
  cursor: pointer; opacity: 0.7;
  transition: opacity 0.15s, border-color 0.15s;
}
.single-product-page .woocommerce-product-gallery .flex-control-thumbs img:hover,
.single-product-page .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  opacity: 1; border-color: var(--green);
}

/* Summary */
.single-product-page .product-summary {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 6px;
}
.single-product-page .product-title {
  font-size: 32px; line-height: 1.15;
  color: var(--green); margin: 0;
}
.single-product-page .product-rating {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted);
  margin: -6px 0 0;
}
.single-product-page .product-price {
  font-size: 30px; font-weight: 900;
  color: #11150f; margin: 4px 0 0;
}
.single-product-page .product-price del {
  color: var(--muted); font-size: 20px; margin-right: 10px; font-weight: 700;
}
.single-product-page .product-price ins {
  text-decoration: none; color: var(--orange);
}
.single-product-page .sale-flag {
  display: inline-block;
  background: rgba(217, 120, 37, 0.12);
  color: var(--orange);
  padding: 6px 12px; border-radius: 4px;
  font-size: 12px; font-weight: 800;
  margin: 0; align-self: flex-start;
  letter-spacing: 0.4px;
}

.single-product-page .product-pills {
  list-style: none; padding: 0; margin: 6px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.single-product-page .product-pills li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: var(--green-soft); color: var(--green-dark);
  border-radius: 20px;
  font-size: 12px; font-weight: 700;
}
.single-product-page .product-pills svg {
  width: 14px; height: 14px; color: var(--green);
}

.single-product-page .product-buy {
  display: flex; align-items: center; gap: 10px;
  margin-top: 8px;
}
.single-product-page .product-buy form.cart {
  flex: 1 1 auto;
  display: flex; align-items: stretch; gap: 10px;
  margin: 0;
}
.single-product-page .product-buy .quantity {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; background: #fff;
}
.single-product-page .product-buy .quantity input[type="number"] {
  width: 56px; height: 50px;
  border: 0; text-align: center;
  font: inherit; font-weight: 800; font-size: 16px;
  background: transparent;
}
.single-product-page .product-buy .single_add_to_cart_button {
  flex: 1 1 auto; min-height: 50px;
  /* moștenește .btn .primary stil din WC override; doar dimensiune */
}
.single-product-page .heart-lg,
.single-product-page .share-btn {
  width: 50px; height: 50px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 6px; color: var(--green-dark);
  cursor: pointer; line-height: 1;
  display: grid; place-items: center;
  position: relative; top: 0; right: 0;
}
.single-product-page .heart-lg { font-size: 22px; }
.single-product-page .share-btn svg { width: 18px; height: 18px; }

.single-product-page .product-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 12px; color: var(--muted);
  padding-top: 12px;
}
.single-product-page .product-meta strong { color: var(--ink); font-weight: 700; }

.single-product-page .product-trust {
  list-style: none; padding: 18px 0 0; margin: 6px 0 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.single-product-page .product-trust li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; line-height: 1.4;
}
.single-product-page .product-trust svg {
  width: 22px; height: 22px;
  color: var(--green); flex: 0 0 auto;
}
.single-product-page .product-trust strong {
  display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px;
}
.single-product-page .product-trust span { color: var(--muted); }

/* Tabs */
.single-product-page .product-tabs {
  margin: 48px 0 0;
}
.single-product-page .woocommerce-tabs ul.tabs {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 0;
  border-bottom: 1px solid var(--line);
}
.single-product-page .woocommerce-tabs ul.tabs li {
  margin: 0; padding: 0;
}
.single-product-page .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 14px 22px;
  font-size: 13px; font-weight: 800;
  color: var(--muted); text-decoration: none;
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: color 0.15s, border-color 0.15s;
}
.single-product-page .woocommerce-tabs ul.tabs li.active a,
.single-product-page .woocommerce-tabs ul.tabs li a:hover {
  color: var(--green-dark);
  border-bottom-color: var(--green);
}
.single-product-page .woocommerce-tabs .panel,
.single-product-page .woocommerce-tabs .wc-tab {
  padding: 28px 0 0;
  font-size: 15px; line-height: 1.75; color: #353b31;
}
.single-product-page .woocommerce-tabs h2 {
  font-size: 22px; color: var(--green-dark);
  margin: 0 0 14px;
}

/* Reviews highlight (refolosește .stars + .review-card existente) */
.reviews-highlight {
  margin: 56px 0 0; padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.reviews-summary {
  display: flex; align-items: center; gap: 32px;
  margin-bottom: 28px;
}
.reviews-score { text-align: center; min-width: 120px; }
.reviews-score-big {
  font-size: 56px; font-weight: 900; line-height: 1;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
}
.stars-lg { font-size: 20px; letter-spacing: 2px; }
.reviews-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.reviews-summary h2 {
  font-size: 28px; color: var(--green);
  margin: 0; flex: 1 1 auto;
}
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}

/* Related products — refolosește .product-grid + .product-card */
.related-products { margin: 48px 0 0; }
.related-products .section-head {
  justify-content: flex-start; margin: 0 0 22px;
}

/* Responsive */
@media (max-width: 960px) {
  .single-product-page .product-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .single-product-page .product-trust { grid-template-columns: 1fr; }
  .reviews-summary { flex-direction: column; align-items: flex-start; gap: 14px; }
  .reviews-grid { grid-template-columns: 1fr; }
}

/* === Cart form === */
.woocommerce-cart .woocommerce {
  background: transparent;
  padding: 0;
}
.woocommerce table.shop_table {
  border: 1px solid var(--line);
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fffaf2;
}
.woocommerce table.shop_table th {
  background: #fbf2e5;
  color: #1e241d;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}
.woocommerce table.shop_table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  vertical-align: middle;
}
.woocommerce table.shop_table tr:last-child td {
  border-bottom: 0;
}
.woocommerce table.shop_table .product-thumbnail img {
  width: 70px; height: auto;
  border-radius: 6px;
}
.woocommerce table.shop_table .product-name a {
  color: #1e241d;
  font-weight: 700;
}
.woocommerce table.shop_table .product-name a:hover {
  color: var(--green);
}
.woocommerce a.remove {
  width: 24px; height: 24px;
  display: inline-grid; place-items: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green-dark);
  font-weight: 700; text-decoration: none;
  font-size: 14px;
}
.woocommerce a.remove:hover {
  background: var(--orange); color: #fff; border-color: var(--orange);
}
.woocommerce .quantity input[type="number"] {
  width: 56px; height: 36px;
  border: 1px solid var(--line); border-radius: 4px;
  text-align: center;
  font: inherit; font-weight: 700;
}

/* === Cart actions / buttons === */
.woocommerce table.cart .actions {
  text-align: right;
}
.woocommerce .coupon {
  float: left;
  display: flex;
  gap: 8px;
}
.woocommerce .coupon input[type="text"] {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 14px;
  font: inherit; font-size: 13px;
}

/* === Cart totals === */
.cart-collaterals .cart_totals {
  background: #fbf2e5;
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}
.cart-collaterals .cart_totals h2 {
  font-size: 22px;
  color: var(--green);
  margin: 0 0 18px;
}
.cart-collaterals .cart_totals table.shop_table {
  border: 0; background: transparent;
}
.cart-collaterals .cart_totals table.shop_table th,
.cart-collaterals .cart_totals table.shop_table td {
  background: transparent;
  border-bottom: 1px solid var(--line);
  text-transform: none;
}
.cart-collaterals .cart_totals .wc-proceed-to-checkout {
  text-align: center;
  margin-top: 18px;
}

/* === All WC buttons styled like our .btn === */
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-page .button,
.woocommerce #respond input#submit {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 5px;
  border: 1.5px solid var(--green);
  background: transparent;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce-page .button:hover {
  background: var(--green-soft);
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .button.checkout,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: var(--green);
  color: #fff;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--green-dark);
}

/* === Notices (success/error/info) === */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 14px 18px;
  border-radius: 8px;
  border-left: 4px solid var(--green);
  background: #fbf7ef;
  margin-bottom: 24px;
  font-size: 14px;
}
.woocommerce-error {
  border-left-color: #c85836;
  background: #fdf3ee;
}
.woocommerce-info {
  border-left-color: var(--orange);
  background: #fdf5eb;
}

/* ============================================================
   Bumburel Cart page — layout 2-col cu items + sumar sticky
   ============================================================ */
.bumb-cart { margin-top: 18px; }
.bumb-cart .checkout-stepper { margin: 0 0 24px; }

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px; align-items: flex-start;
  margin: 0;
}
.cart-items { min-width: 0; display: flex; flex-direction: column; gap: 14px; }

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr 130px 100px 32px;
  align-items: center; gap: 20px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.cart-item-thumb img {
  width: 120px; height: 120px;
  object-fit: cover; border-radius: 10px;
  background: #f6eadc;
}
.cart-item-body { min-width: 0; }
.cart-item-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px; font-weight: 800; margin: 0 0 6px;
  line-height: 1.3; color: var(--ink);
}
.cart-item-name a { color: inherit; }
.cart-item-name a:hover { color: var(--green); }
.cart-item-price { margin: 0; font-size: 15px; font-weight: 700; color: var(--muted); }
.cart-item-qty { justify-self: center; }
.cart-item-subtotal {
  text-align: right; font-size: 18px; font-weight: 900; color: var(--ink);
}
.cart-item-remove {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: #fbf7ef; border: 1px solid var(--line);
  border-radius: 50%; color: var(--green-dark);
  font-size: 18px; text-decoration: none; line-height: 1;
  transition: all 0.15s;
}
.cart-item-remove:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Coupon + free shipping + continue */
.cart-coupon {
  background: #fbf7ef; border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 22px; margin-top: 4px;
}
.cart-coupon label {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--ink); margin-bottom: 10px;
}
.coupon-row {
  display: grid; grid-template-columns: 1fr 120px; gap: 10px;
}
.coupon-row input {
  height: 44px; border: 1px solid var(--line); border-radius: 6px;
  padding: 0 14px; font: inherit; font-size: 14px;
  background: #fff;
}
.coupon-row button { min-height: 44px; }

.cart-free-shipping {
  background: linear-gradient(90deg, #fbf2e5, #fbf7ef);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 20px;
}
.cart-free-shipping.is-complete {
  background: var(--green-soft);
  border-color: var(--green);
}
.cfs-text {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink);
}
.cfs-text svg { width: 22px; height: 22px; color: var(--green); flex: 0 0 auto; }
.cfs-text strong { color: var(--green-dark); }
.cfs-bar {
  margin-top: 10px;
  height: 6px; background: rgba(63, 99, 48, 0.15);
  border-radius: 3px; overflow: hidden;
}
.cfs-progress {
  height: 100%; background: var(--green);
  border-radius: 3px; transition: width 0.3s ease;
}

.cart-continue {
  align-self: flex-start;
  margin-top: 8px; padding: 0 22px;
}

/* Sumar comandă (sticky) */
.cart-summary { position: relative; min-width: 0; }
.cart-summary-inner {
  position: sticky; top: 20px;
  background: #fbf2e5; border-radius: 14px;
  padding: 24px; box-shadow: var(--shadow);
}
.cart-summary-inner h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px; margin: 0 0 18px;
  color: var(--green-dark);
}
.cart-summary-lines {
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.cart-summary-lines .line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 7px 0; font-size: 14px; gap: 12px;
}
.cart-summary-lines .line small { color: var(--muted); font-weight: 600; }
.cart-summary-lines .line strong { font-weight: 700; }
.cart-summary-lines .line-discount strong { color: var(--orange); }
.cart-summary-lines .free { color: var(--green-dark); font-weight: 800; font-style: normal; }
.cart-summary-lines .line-total {
  border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px;
  font-size: 16px;
}
.cart-summary-lines .line-total strong {
  font-size: 26px; font-weight: 900; color: var(--green-dark);
}

.cart-continue-checkout {
  width: 100%; min-height: 54px;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cart-continue-link {
  display: block; text-align: center; margin-top: 12px;
  color: var(--green-dark); font-size: 13px; font-weight: 700;
}
.cart-continue-link:hover { text-decoration: underline; }

.cart-trust {
  list-style: none; margin: 22px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid; gap: 10px;
}
.cart-trust li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink);
}
.cart-trust svg { width: 18px; height: 18px; color: var(--green); flex: 0 0 auto; }

/* Responsive */
@media (max-width: 960px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary-inner { position: static; }
  .cart-item {
    grid-template-columns: 80px 1fr 30px;
    grid-template-areas:
      "thumb body remove"
      "thumb qty subtotal";
    gap: 12px;
    padding: 14px;
  }
  .cart-item-thumb { grid-area: thumb; }
  .cart-item-thumb img { width: 80px; height: 80px; }
  .cart-item-body { grid-area: body; }
  .cart-item-qty { grid-area: qty; justify-self: flex-start; }
  .cart-item-subtotal { grid-area: subtotal; }
  .cart-item-remove { grid-area: remove; }
  .coupon-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Bumburel Checkout — layout 2-col cu stepper + sumar sticky
   ============================================================ */
.bumb-checkout {
  margin-top: 18px;
}

/* Stepper */
.checkout-stepper {
  list-style: none; margin: 0 0 28px; padding: 16px 22px;
  display: flex; gap: 18px; flex-wrap: wrap;
  background: #fbf7ef; border: 1px solid var(--line);
  border-radius: 10px;
  counter-reset: step;
}
.checkout-stepper .step {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: var(--muted);
  position: relative;
  flex: 1 1 auto;
}
.checkout-stepper .step::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
  margin-left: 6px;
}
.checkout-stepper .step:last-child::after { display: none; }
.checkout-stepper .step .num {
  width: 26px; height: 26px;
  border-radius: 50%; background: #fff;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: var(--muted);
}
.checkout-stepper .step.active { color: var(--green-dark); }
.checkout-stepper .step.active .num { background: var(--green); color: #fff; border-color: var(--green); }
.checkout-stepper .step.done .num { background: var(--green-soft); border-color: var(--green); color: var(--green-dark); }
.checkout-stepper .step.done { color: var(--green-dark); }

/* Layout */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: flex-start;
}
.checkout-form { min-width: 0; display: flex; flex-direction: column; gap: 18px; }

/* Secțiuni */
.checkout-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 26px;
}
.checkout-section h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px; margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
  color: var(--green-dark);
}
.checkout-section h3 .sec-num {
  width: 28px; height: 28px;
  background: var(--green); color: #fff;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
  font-family: Arial, Helvetica, sans-serif;
}

/* Inputs */
.bumb-checkout .form-row-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}
.bumb-checkout .form-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.bumb-checkout .form-col { margin: 0; }
.bumb-checkout .form-col-full { grid-column: 1 / -1; }
.bumb-checkout label {
  display: block; font-size: 12px; font-weight: 700;
  margin-bottom: 6px; color: #1e241d;
}
.bumb-checkout label .required { color: var(--orange); }
.bumb-checkout input[type="text"],
.bumb-checkout input[type="email"],
.bumb-checkout input[type="tel"],
.bumb-checkout input[type="number"],
.bumb-checkout input[type="password"],
.bumb-checkout textarea,
.bumb-checkout select,
.bumb-checkout .select2-container .select2-selection--single {
  width: 100%; height: 44px;
  border: 1px solid var(--line); border-radius: 6px;
  padding: 0 14px;
  font: inherit; font-size: 14px;
  background: #fff; color: var(--ink);
}
.bumb-checkout .select2-container .select2-selection--single {
  display: flex; align-items: center;
}
.bumb-checkout .select2-container .select2-selection__rendered {
  padding: 0 !important; line-height: 44px;
}
.bumb-checkout .select2-container .select2-selection__arrow { height: 42px; }
.bumb-checkout input:focus, .bumb-checkout textarea:focus, .bumb-checkout select:focus {
  outline: 0; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 99, 48, 0.12);
}
.bumb-checkout textarea {
  height: auto; padding: 12px 14px; min-height: 90px;
}

/* Shipping methods (radio cards) */
.shipping-methods {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.ship-card, .pay-card {
  display: grid; grid-template-columns: 36px 1fr auto;
  align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff; cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ship-card input, .pay-card input { position: absolute; opacity: 0; pointer-events: none; }
.ship-card.is-selected, .pay-card:has(input:checked),
.wc_payment_method.is-selected .pay-card,
.wc_payment_method:has(input:checked) .pay-card {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 99, 48, 0.12);
  background: #fbf7ef;
}
.ship-card:hover, .pay-card:hover { border-color: var(--green); }
.ship-icon, .pay-icon {
  width: 36px; height: 36px;
  background: var(--green-soft); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--green);
}
.ship-icon svg, .pay-icon svg { width: 18px; height: 18px; }
.ship-info, .pay-info { display: flex; flex-direction: column; min-width: 0; }
.ship-info strong, .pay-info strong {
  font-size: 13px; font-weight: 800; color: var(--ink);
}
.ship-info small, .pay-info small {
  font-size: 11px; color: var(--muted); margin-top: 2px;
  white-space: normal;
}
.ship-price {
  font-size: 14px; font-weight: 800; color: var(--green-dark);
  white-space: nowrap;
}

/* Payment methods (WC native list, re-styled) */
.bumb-checkout .wc_payment_methods {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.bumb-checkout .wc_payment_method { margin: 0; }
.bumb-checkout .wc_payment_method label.pay-card {
  margin: 0;
}
.bumb-checkout .wc_payment_method .payment_box {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding: 14px 16px;
  background: #fbf7ef;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px; color: var(--muted);
}
.bumb-checkout .wc_payment_method .payment_box p { margin: 0 0 8px; }
.bumb-checkout .wc_payment_method .payment_box p:last-child { margin: 0; }

/* Extra options checkbox cards */
.extra-options {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 16px;
}
.checkbox-card {
  display: grid; grid-template-columns: 22px 1fr;
  align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff; cursor: pointer;
}
.checkbox-card:has(input:checked) {
  border-color: var(--green); background: #fbf7ef;
}
.checkbox-card input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--green);
  margin: 0;
}
.checkbox-card span { display: block; }
.checkbox-card strong {
  font-size: 13px; font-weight: 800; color: var(--ink);
  display: block; margin-bottom: 3px;
}
.checkbox-card small {
  font-size: 11px; color: var(--muted);
}

/* Summary sticky */
.checkout-summary {
  position: relative; min-width: 0;
}
.checkout-summary-inner {
  position: sticky; top: 20px;
  background: #fbf2e5;
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.checkout-summary-inner h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px; margin: 0 0 16px;
  color: var(--green-dark);
}
.checkout-summary-items {
  list-style: none; margin: 0; padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}
.summary-item {
  display: grid; grid-template-columns: 56px 1fr auto;
  align-items: center; gap: 12px;
  padding: 8px 0;
}
.summary-item img {
  width: 56px; height: 56px;
  border-radius: 6px; object-fit: cover;
  background: #fff;
}
.summary-item-info { min-width: 0; }
.summary-item-name {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--ink); line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.summary-item-info small {
  font-size: 11px; color: var(--muted);
  display: block; margin-top: 2px;
}
.summary-item-price {
  font-size: 13px; font-weight: 800; color: var(--ink);
}

.checkout-summary-totals { padding: 14px 0; }
.checkout-summary-totals .line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0; font-size: 13px;
}
.checkout-summary-totals .line strong { font-weight: 700; }
.checkout-summary-totals .line-total {
  border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px;
  font-size: 16px; font-weight: 800;
}
.checkout-summary-totals .line-total strong {
  font-size: 24px; font-weight: 900; color: var(--green-dark);
}

.checkout-submit {
  width: 100%; min-height: 54px;
  margin: 12px 0 0;
  font-size: 14px;
}
.checkout-legal {
  margin: 14px 0 0; padding: 0;
}
.checkout-legal small {
  font-size: 11px; line-height: 1.5; color: var(--muted);
  display: block;
}
.checkout-legal a { color: var(--green-dark); text-decoration: underline; }

/* Hide WC default checkout pieces we replace */
.bumb-checkout .woocommerce-additional-fields,
.bumb-checkout .woocommerce-checkout-review-order-table,
.bumb-checkout #order_review_heading { display: none; }
/* Ensure place_order button doesn't get injected inside our payment section */
.bumb-checkout #payment_section .form-row.place-order,
.bumb-checkout #payment_section #place_order,
.bumb-checkout #payment_section .woocommerce-terms-and-conditions-wrapper,
.bumb-checkout #payment > .form-row,
.bumb-checkout .woocommerce-checkout-payment > .form-row.place-order { display: none !important; }

/* Responsive */
@media (max-width: 960px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-inner { position: static; }
  .shipping-methods,
  .bumb-checkout .wc_payment_methods,
  .extra-options { grid-template-columns: 1fr; }
  .bumb-checkout .form-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .bumb-checkout .form-row-grid { grid-template-columns: 1fr; }
  .checkout-stepper { padding: 12px 14px; flex-direction: column; gap: 8px; }
  .checkout-stepper .step::after { display: none; }
  .checkout-stepper .step { width: 100%; }
  .checkout-section { padding: 18px 18px; }
  .checkout-section h3 { font-size: 16px; }
}

/* === My Account === */
.woocommerce-account .woocommerce {
  display: grid; grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px; margin-top: 24px;
}
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0; padding: 8px;
  background: #fbf7ef;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.woocommerce-MyAccount-navigation li {
  border-bottom: 0;
  margin: 0;
}
.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 11px 14px;
  color: var(--ink);
  font-weight: 700; font-size: 13px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s;
}
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation a:hover {
  background: var(--green);
  color: #fff;
}
.woocommerce-MyAccount-content { min-width: 0; }

/* Dashboard custom */
.bumb-dashboard { display: flex; flex-direction: column; gap: 28px; }
.dashboard-welcome h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px; color: var(--green); margin: 0 0 6px;
}
.dashboard-welcome p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }

.dashboard-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.stat-card {
  display: flex; gap: 14px; align-items: center;
  padding: 18px 20px;
  background: #fffaf2; border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none; color: var(--ink);
  transition: transform 0.18s, box-shadow 0.18s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(83,58,31,0.08); border-color: var(--green); }
.stat-icon {
  width: 48px; height: 48px;
  background: var(--green-soft);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--green); flex: 0 0 auto;
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-icon-heart { background: rgba(217,120,37,0.12); color: var(--orange); font-size: 24px; line-height: 1; }
.stat-body { display: flex; flex-direction: column; min-width: 0; }
.stat-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px; color: var(--green-dark); line-height: 1;
}
.stat-body small { font-size: 12px; color: var(--muted); margin-top: 4px; }

.dashboard-last-order { }
.lo-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 0 0 12px;
}
.lo-head h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px; color: var(--green-dark); margin: 0;
}
.lo-card {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr auto;
  align-items: center; gap: 16px;
  padding: 18px 22px;
  background: #fffaf2; border: 1px solid var(--line);
  border-radius: 12px;
}
.lo-info strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.lo-info small { font-size: 12px; color: var(--muted); }
.lo-status-pill {
  display: inline-block; padding: 5px 11px;
  border-radius: 14px; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.4px;
  background: var(--green-soft); color: var(--green-dark);
}
.lo-status-completed { background: var(--green); color: #fff; }
.lo-status-processing { background: rgba(247,177,49,0.2); color: #8a5d00; }
.lo-status-cancelled, .lo-status-failed { background: rgba(217,120,37,0.15); color: var(--orange); }
.lo-total { text-align: right; }
.lo-total strong { display: block; font-size: 16px; color: var(--green-dark); font-weight: 900; }
.lo-total small { font-size: 12px; color: var(--muted); }
.cart-btn-sm { min-height: 38px; padding: 0 16px; font-size: 12px; }

.dashboard-actions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.da-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px;
  background: #fbf7ef; border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none; color: var(--ink);
  transition: all 0.15s;
}
.da-card:hover { background: #fff; border-color: var(--green); }
.da-card svg { width: 22px; height: 22px; color: var(--green); }
.da-card strong { font-size: 14px; color: var(--ink); }
.da-card small { font-size: 12px; color: var(--muted); }

.dashboard-logout { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.dashboard-logout a { color: var(--orange); font-weight: 700; }

/* Auth (login + register) */
.bumb-account-auth { padding: 32px 0; }
.auth-header { text-align: center; margin: 0 0 32px; }
.auth-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px; color: var(--green); margin: 0 0 8px;
}
.auth-header p { color: var(--muted); font-size: 14px; max-width: 560px; margin: 0 auto; }
.auth-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 24px; max-width: 480px; margin: 0 auto;
}
.auth-grid.has-register { grid-template-columns: 1fr 1fr; max-width: 880px; }
.auth-card {
  background: #fffaf2; border: 1px solid var(--line);
  border-radius: 14px; padding: 28px 32px;
}
.auth-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px; color: var(--green-dark); margin: 0 0 18px;
}
.auth-helper { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.auth-card .form-row { margin: 0 0 14px; }
.auth-card label {
  display: block; font-size: 12px; font-weight: 700;
  margin-bottom: 6px; color: #1e241d;
}
.auth-card .required { color: var(--orange); }
.auth-card input.input-text,
.auth-card input[type="password"],
.auth-card input[type="email"],
.auth-card input[type="text"] {
  width: 100%; height: 44px;
  border: 1px solid var(--line); border-radius: 6px;
  padding: 0 14px; font: inherit; font-size: 14px;
  background: #fff;
}
.auth-card input:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(63,99,48,0.12); }
.form-row-remember {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.form-row-remember .woocommerce-form__label-for-checkbox {
  display: flex; align-items: center; gap: 8px;
  margin: 0; cursor: pointer;
}
.form-row-remember .woocommerce-form__input-checkbox {
  width: 18px; height: 18px; accent-color: var(--green);
}
.lost-link { color: var(--green-dark); font-weight: 700; text-decoration: none; }
.lost-link:hover { text-decoration: underline; }
.form-row-submit { margin-top: 16px; }
.form-row-submit .btn { width: 100%; min-height: 48px; font-size: 13px; }

@media (max-width: 960px) {
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
  .dashboard-stats { grid-template-columns: 1fr; }
  .lo-card { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .lo-total { text-align: left; }
  .dashboard-actions { grid-template-columns: 1fr; }
  .auth-grid.has-register { grid-template-columns: 1fr; max-width: 480px; }
}

/* === Responsive — single product stack === */
@media (max-width: 720px) {
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .woocommerce-checkout #customer_details {
    grid-template-columns: 1fr;
  }
  .woocommerce table.shop_table thead {
    display: none;
  }
  .woocommerce table.shop_table tr {
    display: block;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
  }
  .woocommerce table.shop_table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
  }
  .woocommerce table.shop_table td::before {
    content: attr(data-title);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--muted);
  }
}
