/* Cart, checkout, account and form styles of the new shop (replaces WooCommerce CSS). */
.shop-messages { margin-bottom: 8px; }
.shop-messages a { text-decoration: underline; font-weight: 600; }
.woocommerce-error { background: #f6dfd8; color: #5b2415; }
html[data-theme="dark"] .woocommerce-error { background: #4a2419; color: #ffd9cd; }
html[data-theme="dark"] :is(.woocommerce-info, .woocommerce-message) { background: #24331c; color: var(--ink); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { padding-left: 22px !important; }

.cart-link { position: relative; }
.cart-count { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--terracotta); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }

.shop-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.shop-table :is(th, td) { padding: 14px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.shop-table thead th { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.shop-table tfoot :is(th, td) { border-bottom: 0; font-size: 17px; }
.shop-table small { color: var(--muted); }
.shop-table .is-unavailable { opacity: .75; }
.shop-table a { text-decoration: underline; text-underline-offset: 3px; }
input.qty { width: 84px; min-height: 46px; padding: 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); color: var(--ink); text-align: center; }
.cart-remove { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.cart-remove:hover { background: var(--sage-soft); }
.cart-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 20px 0; }
.cart-actions--end { justify-content: flex-end; }

.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.checkout-summary { padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--paper); }
.auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.auth-form { max-width: 560px; }
.auth-grid .auth-form { padding: 28px; border: 1px solid var(--border); border-radius: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; }
.form-field label { font-weight: 600; }
.form-field abbr { color: var(--terracotta); text-decoration: none; }
.form-field :is(input, select, textarea) { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--white); color: var(--ink); }
.form-field textarea { min-height: 96px; resize: vertical; }
.form-field--error :is(input, select, textarea) { border-color: #b3261e; }
.form-field__help { color: var(--muted); font-size: 13px; }
.form-field__error { color: #b3261e; font-size: 14px; font-weight: 600; }
html[data-theme="dark"] .form-field__error { color: #ffb4a9; }
.form-field :is(input, select, textarea):focus-visible, input.qty:focus-visible, .cart-remove:focus-visible, .link-button:focus-visible { outline: 3px solid var(--lime, #8be332); outline-offset: 2px; }

.account-layout { display: grid; grid-template-columns: minmax(200px, 24%) minmax(0, 1fr); gap: 4%; align-items: start; }
.commerce-content .account-layout :is(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) { width: auto; float: none; }
.link-button { display: block; width: 100%; padding: 12px 16px; border: 0; border-radius: 10px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.link-button:hover { background: var(--sage-soft); color: var(--forest); }
.order-status { display: inline-block; padding: 3px 10px; border-radius: 12px; background: var(--sage-soft); color: var(--forest-2); font-size: 13px; font-weight: 600; }
.order-status--cancelled { background: #eadfdb; color: #5b2415; }
.order-status--completed { background: #d6ecc4; color: #19300b; }
.product-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 24px 0; }
.product-gallery img { width: 100%; height: auto; border-radius: 12px; }

@media (max-width: 820px) {
  .checkout-grid, .auth-grid, .account-layout { grid-template-columns: 1fr; gap: 24px; }
  .link-button { padding: 8px 12px; font-size: 14px; }
}
@media (max-width: 640px) {
  .shop-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .shop-table, .shop-table tbody, .shop-table tfoot, .shop-table tr, .shop-table :is(th, td) { display: block; width: 100%; }
  .shop-table tr { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .shop-table :is(th, td) { padding: 6px 0; border: 0; }
  .shop-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 12px; }
}

/* ---- Stage B: landing blocks, readability and focus ---- */
.home-faq__list { display: grid; gap: 10px; max-width: 860px; }
.home-faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--paper); }
.home-faq summary { padding: 16px 20px; font-weight: 600; font-size: 16px; cursor: pointer; list-style-position: inside; }
.home-faq summary:hover { color: var(--forest); }
.home-faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.home-faq details[open] summary { color: var(--forest); }
/* Small print of the old theme was 9-11px; keep it readable. */
.woocommerce-breadcrumb { font-size: 13px; }
.hero__facts { font-size: 13px; }
.eyebrow { font-size: 12px; }
.nav-phone small { font-size: 12px; }
.footer-bottom, .site-footer p, .site-footer a { font-size: 14px; }
@media (max-width: 820px) {
  .hero__facts span { font-size: 12px; }
}
:is(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid #5a9c1c; outline-offset: 2px; }
/* Minimum readable sizes (the old theme went down to 8-10px, worst on phones). */
body .announcement__inner :is(span, a) { font-size: 12px; }
body .eyebrow, body .eyebrow span { font-size: 12px; }
body .catalog-panel__category small, body .hero__caption small, body .category-card small,
body .garden-strip span, body .stock, body .product-card__container, body .price-inputs label,
body .advantages article > span, body .latin-name { font-size: 12px; }
body .no-photo-label { font-size: 11px; }
body .card-link, body .hero__secondary, body .hero__secondary span { font-size: 13px; }
body .hero__seal span { font-size: 10px; }
body main .eyebrow, body .catalog-header .eyebrow, body .page-header .eyebrow { font-size: 12px; }
body .active-filters :is(a, span) { font-size: 13px; }
.cart-count[hidden] { display: none; }
.shop-toast { position: fixed; z-index: 900; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(92vw, 460px); padding: 14px 18px; border-radius: 14px; background: var(--forest-2, #0f3029); color: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.25); font-size: 15px; }
.shop-toast a { color: #c9f29b; font-weight: 700; text-decoration: underline; white-space: nowrap; }
.eyebrow { font-size: 12px !important; }
body .product-specs :is(dt, dd) { font-size: 13px; }
