/* ==========================================================================
   FishinGrandma — functional layer.
   app.css ships the compiled source stylesheet and the source's own base
   layer. This file only holds (a) rules for markup with no source
   equivalent (WordPress / WooCommerce output) and (b) functional rules.
   ========================================================================== */

figure {
  margin: 0;
}

/* Desktop: shift fixed header below the logged-in admin bar (mobile unchanged). */
@media screen and (min-width: 783px) {
  body.admin-bar .site-header {
    top: 32px;
  }
}

:root {
  --header-height: 77px;
  --theme-shadow-card: 0 18px 44px -24px hsl(var(--forest-deep) / 0.38);
  --checkout-gap: 2rem;
  --card-radius: 8px;
}

@media (min-width: 992px) {
  :root {
    --header-height: 85px;
  }
}

[hidden] {
  display: none !important;
}

/* Screen reader text (WordPress core markup). */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: hsl(var(--white));
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: hsl(var(--charcoal));
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ==========================================================================
   Site identity (source wordmark is inline text, not an image)
   ========================================================================== */

.site-logo-img {
  height: var(--logo-height, 44px) !important;
  width: auto !important;
  display: block;
  object-fit: contain;
}

.site-logo-text {
  --logo-h: 36px;
  --logo-bobber: 12px;
  --logo-hook-h: 34px;
  --logo-hook-w: 25px;
}

@media (min-width: 992px) {
  .site-logo-text {
    --logo-h: 44px;
    --logo-bobber: 15px;
    --logo-hook-h: 42px;
    --logo-hook-w: 31px;
  }
}

.site-logo-text--footer {
  --logo-h: 48px;
  --logo-bobber: 16px;
  --logo-hook-h: 46px;
  --logo-hook-w: 34px;
}

.site-logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: calc(var(--logo-h) * 0.78);
}

.site-logo-i {
  font-size: calc(var(--logo-h) * 0.78);
}

.site-logo-bobber {
  top: -0.12em;
  line-height: 0;
}

.site-logo-bobber svg {
  width: var(--logo-bobber);
  height: var(--logo-bobber);
}

.site-logo-hand {
  font-family: var(--font-hand);
  font-weight: 700;
  line-height: 1;
  font-size: calc(var(--logo-h) * 0.874);
  margin-left: 0.04em;
}

.site-logo-hook {
  height: var(--logo-hook-h);
  width: var(--logo-hook-w);
  margin-left: -2px;
  align-self: center;
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

/* Mobile menu panel */
.theme-mobile-menu {
  overflow-y: auto;
}

body.theme-menu-open {
  overflow: hidden;
}

/* ==========================================================================
   Cart drawer (source has no server-rendered equivalent)
   ========================================================================== */

.theme-cart-count:empty {
  display: none;
}

#theme-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background-color: hsla(26, 57%, 16%, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

body.cart-open #theme-cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

#theme-cart-drawer {
  background-color: hsl(var(--cream));
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

body.admin-bar #theme-cart-drawer {
  top: var(--wp-admin--admin-bar--height, 32px);
  height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

body.cart-open #theme-cart-drawer {
  transform: translateX(0);
}

.theme-cart-drawer__head,
.theme-cart-drawer__foot {
  border-color: hsl(var(--nude));
}

.theme-cart-drawer__head {
  border-bottom: 1px solid hsl(var(--nude));
}

.theme-cart-drawer__foot {
  border-top: 1px solid hsl(var(--nude));
}

.theme-cart-empty-icon {
  background-color: hsl(var(--blush));
}

.theme-cart-empty-glyph {
  color: hsl(var(--raspberry));
}

.theme-cart-item:hover {
  background-color: hsl(var(--vanilla));
}

.theme-cart-item-price,
.theme-cart-total {
  color: hsl(var(--strawberry));
}

.theme-cart-qty {
  border: 1px solid hsl(var(--nude));
}

.theme-cart-qty:hover {
  background-color: hsl(var(--blush));
}

/* ==========================================================================
   Product cards — shared markup with no source equivalent for the
   WooCommerce-generated nodes. Positioning for the overlay link stays here.
   ========================================================================== */

.theme-product-card {
  position: relative;
}

.theme-quick-add-wrap {
  z-index: 3;
}

.theme-product-card > .theme-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
  font-size: 0;
  color: transparent;
}

.theme-product-card > .theme-card-link:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.theme-product-card > *:not(.theme-card-link) {
  pointer-events: none;
}

.theme-product-card .theme-quick-add-wrap,
.theme-product-card .theme-quick-add {
  pointer-events: auto;
}

.theme-quick-add-wrap {
  z-index: 3;
}

.theme-quick-add {
  background: var(--gradient-berry);
  color: hsl(var(--cream));
}

.theme-card-media {
  background-color: hsl(var(--nude));
}

.theme-card-hover-shade {
  background: linear-gradient(180deg, transparent 45%, hsla(26, 57%, 16%, 0.55) 100%);
}

.theme-badge-gold {
  background-color: hsl(var(--gold));
  color: hsl(var(--charcoal));
}

.theme-card-price {
  color: hsl(var(--strawberry));
}

.theme-card-soldout {
  color: hsl(var(--cocoa));
}

/* Card add-to-cart button reuses the card's circular quick-add shape. */
.theme-product-card .add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Add-to-cart button states
   ========================================================================== */

.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled,
a.single_add_to_cart_button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}

.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover,
a.single_add_to_cart_button.disabled:hover {
  opacity: 0.4 !important;
}

.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

/* WooCommerce's own spinner would double up on the theme's loading state. */
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after {
  display: none !important;
}

/* WooCommerce appends a "View cart" link after AJAX adds. */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
  display: none !important;
}

/* ==========================================================================
   Single product page — only markup with no source equivalent
   ========================================================================== */

/* 1px nude rules the source declares inline. */
.theme-nude-rule {
  border-top: 1px solid hsl(var(--nude));
}

.theme-nude-rule-top {
  border-top: 1px solid hsl(var(--nude));
}

.theme-currency {
  color: hsl(var(--cocoa));
}

.theme-bullet {
  background-color: hsl(var(--raspberry));
}

.theme-details-chevron {
  display: inline-flex;
}

.single-product .theme-details-toggle[aria-expanded="true"] .theme-details-chevron {
  transform: rotate(180deg);
}

.single-product .theme-details-body[hidden] {
  display: none !important;
}

/* Quantity stepper: source uses a pill with a cream fill. */
.theme-quantity-wrapper {
  display: inline-flex;
  align-items: center;
  border-radius: 60px;
  overflow: hidden;
  background-color: hsl(var(--cream));
  border: 1px solid hsl(var(--nude));
}

.theme-qty-minus,
.theme-qty-plus {
  padding: 0.75rem 1rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s var(--ease);
}

.theme-qty-minus:hover,
.theme-qty-plus:hover {
  background-color: hsl(var(--blush));
}

.theme-qty-input {
  padding: 0.75rem 1.25rem;
  min-width: 48px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  background: transparent;
  border: 0;
  outline: none;
  color: hsl(var(--foreground));
  width: 4.5rem;
  -moz-appearance: textfield;
  appearance: textfield;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.theme-quantity-label {
  color: hsl(var(--muted-foreground));
  display: block;
}

.single-product .theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.single-product .theme-add-to-cart-area .single_add_to_cart_button {
  flex: 1 1 auto;
  min-width: 160px;
}

.single-product .theme-product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .single-product .theme-product-actions {
    flex-direction: row;
  }
}

.single-product .theme-product-actions .doce-btn {
  flex: 1;
}

.theme-ship-note {
  background-color: hsl(var(--vanilla));
  color: hsl(var(--cocoa));
}

/* Variations: label above control, native select hidden, pills interactive. */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
  display: block;
  width: 100%;
}

.single-product .variations {
  width: 100%;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

.single-product .variations tbody td.label {
  padding: 0 0 0.25rem;
}

.single-product .variations tbody td.value {
  padding: 0;
}

/* One visible label per attribute: WooCommerce's own name. */
.single-product .theme-variation-group .variations td.label,
.single-product .theme-variation-group .variations thead {
  display: none;
}

.single-product .theme-variation-group {
  margin-bottom: 1rem;
}

.theme-variation-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.theme-variation-pill {
  border-radius: 60px;
  border: 1px solid hsl(var(--nude));
  background-color: hsl(var(--cream));
  color: hsl(var(--forest));
  padding: 0.65rem 1.15rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.theme-variation-pill.is-active {
  background-color: hsl(var(--forest));
  border-color: hsl(var(--forest));
  color: hsl(var(--white));
}

.theme-variation-pill.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.theme-attr-select-hidden {
  display: none !important;
}

.single-product .theme-variation-form .single_variation_wrap {
  display: block;
}

.single-product .theme-variation-form .woocommerce-variation-price,
.single-product .theme-variation-form .woocommerce-variation-availability,
.single-product .theme-variation-form .woocommerce-variation-description {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  color: hsl(var(--muted-foreground));
}

.single-product .theme-variation-form .woocommerce-variation-price .amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: hsl(var(--strawberry));
}

.single-product .variations_form {
  margin: 0;
}

.single-product .woocommerce-variation-add-to-cart {
  display: block;
}

/* Long content guards. */
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Lightbox panel. */
#theme-product-lightbox {
  background-color: hsla(26, 57%, 10%, 0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Thumbnail active state driven by JS. */
.theme-thumb.is-active {
  box-shadow: 0 0 0 2px hsl(var(--raspberry));
}

.theme-thumb:not(.is-active) {
  box-shadow: 0 0 0 1px hsl(var(--nude));
}

/* ==========================================================================
   Shop / archive
   ========================================================================== */

.theme-shop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .theme-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .theme-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.theme-shop-grid > * {
  height: 100%;
}

/* WooCommerce notices styled with source tokens. */
.theme-shop-wrap .woocommerce-message,
.theme-shop-wrap .woocommerce-info,
.theme-shop-wrap .woocommerce-error {
  border-radius: var(--card-radius);
  border: 1px solid var(--line);
  background: hsl(var(--white));
  color: hsl(var(--charcoal));
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-size: 16px;
  list-style: none;
}

.theme-shop-wrap .woocommerce-error {
  border-color: hsl(var(--bobber));
}

.theme-shop-wrap .woocommerce-message::before,
.theme-shop-wrap .woocommerce-info::before,
.theme-shop-wrap .woocommerce-error::before {
  display: none;
}

/* ==========================================================================
   Cart, checkout and account pages
   ========================================================================== */

.theme-page-shell {
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 6rem;
}

body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
body.woocommerce-checkout .site-main,
body.theme-thankyou-page .site-main {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 54px;
  line-height: 1.1;
  letter-spacing: -0.6px;
  color: hsl(var(--forest));
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .page-title {
    font-size: 36px;
  }
}

.theme-page-title-wrap,
.theme-page-content {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 55px;
  width: 100%;
}

@media (max-width: 1279px) {
  .theme-page-title-wrap,
  .theme-page-content {
    padding: 0 20px;
  }
}

/* --- Checkout Block ------------------------------------------------ */

body.woocommerce-checkout .entry-content {
  max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout {
  display: block;
}

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap);
    align-items: start;
  }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}

body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notices {
  grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: hsl(var(--cream));
  border: 1px solid hsl(var(--nude));
  border-radius: 1.75rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    padding: 2rem;
  }
}

body.woocommerce-checkout .wc-block-components-title.wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-checkout__order-summary h2,
body.woocommerce-checkout .wc-block-components-order-summary__heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: hsl(var(--forest));
  font-size: 24px;
  line-height: 1.2;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  color: hsl(var(--charcoal)) !important;
  background-color: hsl(var(--vanilla)) !important;
  border: 1px solid hsl(var(--nude)) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: none !important;
}

body.woocommerce-checkout .wc-block-components-textarea textarea {
  border-radius: 1rem !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus {
  border-color: hsl(var(--raspberry)) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px hsl(var(--raspberry)) !important;
}

body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
  color: hsl(var(--muted-foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button {
  background-color: hsl(var(--forest)) !important;
  border: 1px solid hsl(var(--forest)) !important;
  border-radius: 60px !important;
  color: hsl(var(--white)) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase !important;
  padding: 1.1rem 1.9rem !important;
  transition: color 0.4s var(--ease), background-color 0.4s var(--ease);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button:hover {
  background-color: hsl(var(--gold)) !important;
  border-color: hsl(var(--gold)) !important;
  color: hsl(var(--charcoal)) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
  color: hsl(var(--forest)) !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description,
body.woocommerce-checkout .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-product-price,
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
  font-family: var(--font-body) !important;
  color: hsl(var(--charcoal)) !important;
}

body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  color: hsl(var(--strawberry)) !important;
  font-family: var(--font-display) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: var(--card-radius) !important;
  background-color: hsl(var(--white)) !important;
  border: 1px solid var(--line) !important;
  color: hsl(var(--charcoal)) !important;
  font-family: var(--font-body) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner.is-error {
  border-color: hsl(var(--bobber)) !important;
}

body.woocommerce-checkout .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-radio-control__label,
body.woocommerce-checkout .wc-block-components-radio-control__description {
  font-family: var(--font-body) !important;
  color: hsl(var(--charcoal)) !important;
}

/* --- Classic cart / account tables -------------------------------- */

body.woocommerce-cart .woocommerce table.shop_table,
body.theme-cart-page .woocommerce table.shop_table,
body.woocommerce-account .woocommerce table.shop_table {
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: hsl(var(--white));
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--font-body);
  color: hsl(var(--charcoal));
  width: 100%;
}

body.woocommerce-cart .woocommerce table.shop_table th,
body.theme-cart-page .woocommerce table.shop_table th {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  text-align: left;
}

body.woocommerce-cart .woocommerce table.shop_table td,
body.theme-cart-page .woocommerce table.shop_table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

body.woocommerce-cart .woocommerce a.button,
body.woocommerce-cart .woocommerce button.button,
body.woocommerce-cart .woocommerce input.button,
body.theme-cart-page .woocommerce a.button,
body.theme-cart-page .woocommerce button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  padding: 0.9rem 1.6rem;
  background-color: hsl(var(--forest));
  border: 1px solid hsl(var(--forest));
  color: hsl(var(--white));
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.4s var(--ease), background-color 0.4s var(--ease);
}

body.woocommerce-cart .woocommerce a.button:hover,
body.woocommerce-cart .woocommerce button.button:hover,
body.theme-cart-page .woocommerce a.button:hover,
body.theme-cart-page .woocommerce button.button:hover {
  background-color: hsl(var(--gold));
  border-color: hsl(var(--gold));
  color: hsl(var(--charcoal));
}

/* ==========================================================================
   Thank you page
   ========================================================================== */

body.theme-thankyou-page {
  overflow-x: hidden;
}

body.theme-thankyou-page .woocommerce-order {
  font-family: var(--font-body);
  color: hsl(var(--charcoal));
}

body.theme-thankyou-page .woocommerce-order > p:first-child {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: hsl(var(--forest));
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page .woocommerce-column__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: hsl(var(--forest));
  padding: 0 0 1rem 0;
}

body.theme-thankyou-page .woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2.5rem;
}

body.theme-thankyou-page .woocommerce-order-overview li {
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: hsl(var(--white));
  padding: 1rem 1.25rem;
  font-family: var(--font-label);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: hsl(var(--forest));
}

body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%;
  table-layout: fixed;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  border-collapse: separate;
  border-spacing: 0;
  overflow-wrap: break-word;
}

body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  word-break: break-word;
}

body.theme-thankyou-page .woocommerce-order-details tfoot th {
  text-align: left;
}

body.theme-thankyou-page .woocommerce-order-details tfoot td {
  text-align: right;
}

body.theme-thankyou-page .woocommerce-customer-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px;
  overflow-wrap: break-word;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: hsl(var(--white));
  padding: 1.25rem;
  font-style: normal;
  line-height: 1.6;
}

/* ==========================================================================
   Forms (contact + newsletter) — source has no server-side equivalent
   ========================================================================== */

.theme-form-status {
  color: hsl(var(--forest));
  text-align: center;
}

.theme-form-status.is-error {
  color: hsl(var(--bobber));
}

.theme-field-error {
  color: hsl(var(--bobber));
  margin-top: 0.25rem;
}

.theme-newsletter-embed > * {
  width: 100%;
}

/* ==========================================================================
   Blog (WordPress post markup)
   ========================================================================== */

.theme-post-body > * + * {
  margin-top: 1.5rem;
}

.theme-post-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  color: hsl(var(--forest));
  margin-top: 1.5rem;
}

.theme-post-body blockquote {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  color: hsl(var(--forest));
  border-left: 3px solid hsl(var(--gold));
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.theme-post-body p {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
}

.theme-post-body a {
  color: hsl(var(--forest));
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   Reveal / motion fallbacks
   ========================================================================== */

body.is-customizer [data-reveal],
body.is-customizer [data-reveal-child] {
  opacity: 1 !important;
  transform: none !important;
}

.no-js [data-reveal],
.no-js [data-reveal-child] {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Back to top
   ========================================================================== */

.theme-back-to-top[hidden] {
  display: none !important;
}

/* ==========================================================================
   Modal state
   ========================================================================== */

#theme-modal-contact.is-open,
#theme-modal-privacy.is-open,
#theme-gallery-lightbox.is-open,
#theme-product-lightbox.is-open {
  display: flex !important;
}

#theme-gallery-lightbox {
  background-color: hsl(var(--forest-deep) / 0.95);
}

/* ==========================================================================
   Misc WordPress output
   ========================================================================== */

.theme-404 {
  display: flex;
  min-height: 60vh;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--muted));
}

.theme-404 h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.theme-404 p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.theme-404 a {
  color: hsl(var(--primary));
  text-decoration: underline;
}

/* ==========================================================================
   Section-specific functional rules
   ========================================================================== */

/* Video band overlays (source used inline style objects). */
.theme-band-shade {
  background: rgba(37, 41, 35, 0.1);
}

.theme-band-gradient {
  background: linear-gradient(rgba(36, 74, 53, 0.45), transparent);
}

/* Gradient scrims the source declares inline. */
.theme-learn-shade {
  background: linear-gradient(transparent 40%, rgba(23, 50, 31, 0.85) 100%);
}

.theme-shop-shade {
  background: linear-gradient(transparent 35%, rgba(23, 50, 31, 0.85) 100%);
}

.theme-video-slide-shade {
  background: linear-gradient(transparent 50%, rgba(23, 50, 31, 0.8));
}

.theme-contact-icon {
  background: rgba(255, 255, 255, 0.15);
}

.theme-ribbon-icon {
  color: hsl(var(--ribbon));
}

.theme-footer-watermark {
  font-size: 11cqi;
  letter-spacing: -0.02em;
}

/* Videos carousel slide stacking. */
#videos [data-video-slide] {
  opacity: 0;
  pointer-events: none;
}

#videos [data-video-slide].is-active {
  opacity: 1;
  pointer-events: auto;
}

#videos [data-video-slide].is-active img {
  pointer-events: none;
}

/* FAQ panel: grid rows animate open/closed like the source. */
.theme-faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 350ms var(--ease), opacity 350ms var(--ease);
}

.theme-faq-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* Variation groups stack label, native (hidden) select and pills. */
.single-product .theme-variation-group {
  margin-bottom: 1rem;
}

.single-product .theme-variation-group .variations td.label {
  display: none;
}

.single-product .theme-variation-group .theme-variation-pills {
  margin-bottom: 0;
}

.single-product .theme-variation-form .single_variation_wrap {
  display: block;
}

.single-product .theme-variation-form .woocommerce-variation-price,
.single-product .theme-variation-form .woocommerce-variation-availability,
.single-product .theme-variation-form .woocommerce-variation-description {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  color: hsl(var(--muted-foreground));
}

.single-product .theme-variation-form .woocommerce-variation-price .amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: hsl(var(--strawberry));
}

.single-product .theme-variation-form .woocommerce-variation-add-to-cart {
  display: block;
}

/* Related products: keep cards visible in every context. */
.theme-related-products [data-reveal-child],
.theme-shop-grid [data-reveal-child],
.theme-shop-products [data-reveal-child] {
  height: 100%;
}

/* Product card quick-add sits above the overlay link. */
.theme-product-card .theme-quick-add-wrap {
  pointer-events: none;
}

.theme-product-card .theme-quick-add-wrap .theme-quick-add {
  pointer-events: auto;
}

/* Checkout/account/cart content wrapper parity with the site container. */
body.woocommerce-checkout .theme-page-content,
body.woocommerce-cart .theme-page-content,
body.woocommerce-account .theme-page-content,
body.theme-thankyou-page .theme-page-content,
body.woocommerce-checkout .theme-page-title-wrap,
body.woocommerce-cart .theme-page-title-wrap,
body.woocommerce-account .theme-page-title-wrap,
body.theme-thankyou-page .theme-page-title-wrap {
  max-width: 1680px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 55px;
  padding-right: 55px;
}

@media (max-width: 1279px) {
  body.woocommerce-checkout .theme-page-content,
  body.woocommerce-cart .theme-page-content,
  body.woocommerce-account .theme-page-content,
  body.theme-thankyou-page .theme-page-content,
  body.woocommerce-checkout .theme-page-title-wrap,
  body.woocommerce-cart .theme-page-title-wrap,
  body.woocommerce-account .theme-page-title-wrap,
  body.theme-thankyou-page .theme-page-title-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Utilities used in templates but absent from the compiled Tailwind bundle */
.whitespace-pre-line {
  white-space: pre-line;
}

.mx-6 {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.z-\[2\] {
  z-index: 2;
}

.theme-safety-rule {
  display: block;
  flex: 1 1 0%;
  min-width: 24px;
  height: 1px;
  background-color: hsl(var(--line));
}

.theme-faq-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: hsl(var(--forest));
  color: hsl(var(--primary-foreground));
  transition: transform 350ms ease;
}

.theme-faq-icon.is-open,
button[aria-expanded="true"] .theme-faq-icon {
  transform: rotate(45deg);
}
