/*
 * Copyright (c) 2026 Conscious Industries Irrevocable Trust.
 * All rights reserved.
 */

/* Organa Micro site-level refinements owned by the Fresh Board package. */

.olm-header-logo-link {
  display: block;
  border-radius: 6px;
  line-height: 0;
}

.olm-header-logo-link:focus-visible {
  outline: 3px solid #318f43;
  outline-offset: 4px;
}

.olm-header-logo-link img {
  transition: opacity 150ms ease;
}

.olm-header-logo-link:hover img {
  opacity: 0.88;
}

.olm-header-cartbar {
  display: none;
}

/* Keep interior-page identity without letting the theme's title cover dominate the viewport. */
body:not(.home) main.wp-block-cover#wp--skip-link--target {
  min-height: clamp(88px, 8vw, 112px) !important;
  padding: clamp(0.75rem, 2vw, 1rem) !important;
}

body:not(.home) main.wp-block-cover#wp--skip-link--target .wp-block-post-title {
  margin: 0 !important;
  font-size: clamp(1.65rem, 3vw, 2.15rem) !important;
  line-height: 1.1 !important;
}

@media (max-width: 700px) {
  header.wp-block-template-part .general-header-middle > .wp-block-columns:has(.header-inner-menu) {
    gap: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  header.wp-block-template-part .header-inner-menu {
    display: grid;
    gap: 0.34rem;
  }

  header.wp-block-template-part .header-inner-menu > .wp-block-navigation {
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #956536;
    border-radius: 11px;
    background: linear-gradient(180deg, #74451f, #4e2b16) !important;
    box-shadow: inset 0 1px rgba(255, 235, 180, 0.34), 0 3px 10px rgba(30, 18, 8, 0.18);
  }

  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container-open {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 0.52rem;
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    padding: 0.48rem 0.8rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #fff3cf !important;
    background: transparent !important;
  }

  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container-open::after {
    color: #fff3cf;
    content: "Explore site";
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
  }

  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container-open svg {
    width: 18px;
    height: 18px;
    fill: #f3c96a;
  }

  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container-open:hover,
  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container-open:focus-visible {
    color: #173c2b !important;
    background: #f3c96a !important;
    outline: none;
  }

  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container-open:hover::after,
  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container-open:focus-visible::after {
    color: #173c2b;
  }

  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container-open:hover svg,
  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container-open:focus-visible svg {
    fill: #173c2b;
  }

  /* Keep the preferred wood-and-brass trigger, but let the page remain visible
   * through the expanded navigation screen. */
  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container.is-menu-open {
    color: #173c2b;
    background: rgba(255, 250, 240, 0.5) !important;
    -webkit-backdrop-filter: blur(14px) saturate(0.82);
    backdrop-filter: blur(14px) saturate(0.82);
  }

  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog,
  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    background: transparent !important;
  }

  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    width: 100%;
    gap: 0.16rem !important;
  }

  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100%;
  }

  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    box-sizing: border-box;
    width: 100%;
    padding: 0.56rem 0.8rem;
    border-radius: 10px;
    color: #173c2b !important;
    background: transparent !important;
    font-size: clamp(1.04rem, 5vw, 1.28rem);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration-thickness: 1px;
    text-shadow: 0 1px 0 rgba(255, 250, 240, 0.85);
    text-underline-offset: 4px;
  }

  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible {
    color: #102d20 !important;
    background: rgba(243, 201, 106, 0.5) !important;
    outline: 2px solid rgba(49, 143, 67, 0.75);
    outline-offset: 1px;
  }

  header.wp-block-template-part .header-inner-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(116, 69, 31, 0.45);
    border-radius: 50%;
    color: #4e2b16;
    background: rgba(255, 250, 240, 0.72);
  }

  header.wp-block-template-part .olm-header-cartbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.3rem;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0.22rem 0.28rem;
    border: 1px solid rgba(245, 228, 176, 0.28);
    border-radius: 12px;
    color: #fffaf0;
    background: linear-gradient(135deg, #173c2b, #102d20);
    box-shadow: 0 3px 10px rgba(13, 40, 29, 0.16);
    font-family: inherit;
  }

  header.wp-block-template-part .olm-header-cart-summary {
    display: grid;
    grid-template-columns: 17px minmax(0, 1fr);
    gap: 0.4rem;
    align-items: center;
    min-width: 0;
    padding: 0.2rem 0.36rem;
    border-radius: 8px;
    color: #fffaf0;
    text-decoration: none;
  }

  header.wp-block-template-part .olm-header-cart-copy {
    display: flex;
    flex-wrap: wrap;
    gap: 0.12rem 0.38rem;
    align-items: baseline;
    min-width: 0;
    line-height: 1.1;
  }

  header.wp-block-template-part .olm-header-cart-label {
    color: #f3c96a;
    font-size: 0.52rem;
    font-weight: 850;
    letter-spacing: 0.075em;
    text-transform: uppercase;
  }

  header.wp-block-template-part .olm-header-cart-meta {
    display: flex;
    gap: 0.28rem;
    align-items: baseline;
    min-width: 0;
    color: #8ea397;
    font-size: 0.67rem;
  }

  header.wp-block-template-part .olm-header-cart-summary strong {
    overflow: hidden;
    color: #fffaf0;
    font-size: 0.74rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  header.wp-block-template-part .olm-header-cart-summary small {
    color: #cfe0c9;
    font-size: 0.7rem;
    font-weight: 750;
    white-space: nowrap;
  }

  header.wp-block-template-part .olm-header-cart-icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #f3c96a;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  header.wp-block-template-part .olm-header-checkout {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    gap: 0.3rem;
    min-width: 88px;
    min-height: 34px;
    padding: 0.38rem 0.68rem;
    border: 1px solid rgba(23, 60, 43, 0.12);
    border-radius: 9px;
    color: #173c2b;
    background: #f3c96a;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
  }

  header.wp-block-template-part .olm-header-cart-summary:hover,
  header.wp-block-template-part .olm-header-cart-summary:focus-visible {
    color: #173c2b;
    background: #f5e4b0;
    outline: none;
  }

  header.wp-block-template-part .olm-header-checkout:hover,
  header.wp-block-template-part .olm-header-checkout:focus-visible {
    color: #fffaf0;
    background: #2d7f3d;
    outline: 2px solid #f5e4b0;
    outline-offset: 1px;
  }

  header.wp-block-template-part .olm-header-cart-summary:hover strong,
  header.wp-block-template-part .olm-header-cart-summary:focus-visible strong,
  header.wp-block-template-part .olm-header-cart-summary:hover small,
  header.wp-block-template-part .olm-header-cart-summary:focus-visible small {
    color: #173c2b;
  }

  header.wp-block-template-part .olm-header-cart-summary:hover .olm-header-cart-label,
  header.wp-block-template-part .olm-header-cart-summary:focus-visible .olm-header-cart-label {
    color: #246f35;
  }

  footer.wp-block-template-part > .wp-block-group {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  footer.wp-block-template-part > .wp-block-group > .wp-block-spacer:first-child {
    height: 22px !important;
  }

  footer.wp-block-template-part > .wp-block-group > .wp-block-columns {
    gap: 1.15rem !important;
    margin-top: 0 !important;
  }

  footer.wp-block-template-part > .wp-block-group > .wp-block-columns > .wp-block-column {
    margin-block-start: 0 !important;
  }

  footer.wp-block-template-part > .wp-block-group > .wp-block-columns > .wp-block-column:first-child {
    min-height: 0 !important;
  }

  footer.wp-block-template-part > .wp-block-group > .wp-block-columns > .wp-block-column:first-child .wp-block-columns {
    gap: 0 !important;
    margin: 0 !important;
  }

  footer.wp-block-template-part > .wp-block-group > .wp-block-columns > .wp-block-column:first-child .wp-block-column:empty {
    display: none !important;
  }

  footer.wp-block-template-part .wp-block-site-logo {
    line-height: 0;
    text-align: center;
  }

  footer.wp-block-template-part .wp-block-site-logo img.custom-logo {
    width: 88px !important;
    max-width: 88px !important;
    height: auto !important;
  }

  footer.wp-block-template-part .photolancer-footer-list h3 {
    margin: 0 0 0.42rem !important;
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }

  footer.wp-block-template-part > .wp-block-group > .wp-block-columns > .wp-block-column.photolancer-footer-list > ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.26rem 0.9rem !important;
    margin: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
    line-height: 1.35 !important;
  }

  footer.wp-block-template-part > .wp-block-group > .wp-block-columns > .wp-block-column.photolancer-footer-list > ul > li::marker {
    content: "";
  }

  footer.wp-block-template-part .photolancer-footer-list li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.35 !important;
  }

  footer.wp-block-template-part .photolancer-footer-list.is-vertical {
    gap: 0.5rem !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0 !important;
  }

  footer.wp-block-template-part .photolancer-footer-list p,
  footer.wp-block-template-part .photolancer-footer-list ul {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  footer.wp-block-template-part .photolancer-footer-list.is-vertical ul {
    padding-left: 0 !important;
    list-style: none !important;
  }

  footer.wp-block-template-part .photolancer-footer-list.is-vertical li::marker {
    content: "";
  }

  footer.wp-block-template-part .photolancer-footer-list p {
    line-height: 1.45;
  }

  footer.wp-block-template-part > .wp-block-group > .wp-block-group.alignwide:last-child {
    gap: 0 !important;
    margin-top: 1rem !important;
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
  }

  footer.wp-block-template-part > .wp-block-group > .wp-block-group.alignwide:last-child p {
    margin: 0 !important;
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
  }

  body.woocommerce-account:not(.logged-in) .woocommerce {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  body.woocommerce-account:not(.logged-in) form.woocommerce-form-login {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.5rem 0 !important;
    padding: 1rem !important;
  }

  body.woocommerce-account:not(.logged-in) form.woocommerce-form-login .form-row,
  body.woocommerce-account:not(.logged-in) form.woocommerce-form-login input:not([type="checkbox"]),
  body.woocommerce-account:not(.logged-in) form.woocommerce-form-login button {
    box-sizing: border-box;
    max-width: 100%;
  }

  body.woocommerce-account:not(.logged-in) form.woocommerce-form-login input:not([type="checkbox"]) {
    width: 100%;
  }

  body:not(.home) main.wp-block-cover#wp--skip-link--target {
    min-height: 84px !important;
    padding: 0.65rem 1rem !important;
  }

  body:not(.home) main.wp-block-cover#wp--skip-link--target .wp-block-post-title {
    font-size: clamp(1.5rem, 8vw, 1.9rem) !important;
  }
}

@media (max-width: 360px) {
  header.wp-block-template-part .olm-header-cartbar {
    gap: 0.2rem;
    padding: 0.2rem;
  }

  header.wp-block-template-part .olm-header-cart-summary {
    gap: 0.3rem;
    padding-right: 0.24rem;
    padding-left: 0.24rem;
  }

  header.wp-block-template-part .olm-header-checkout {
    min-width: 80px;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}

/* Compact, product-focused WooCommerce single-product layout. */
body.single-product .wp-block-group.woocommerce.product {
  --wp--style--block-gap: 1rem;
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

body.single-product .wp-block-woocommerce-breadcrumbs {
  margin-top: clamp(1rem, 2vw, 1.5rem) !important;
  margin-bottom: 0.45rem !important;
  font-size: 0.78rem !important;
}

body.single-product .wp-block-group.woocommerce.product > .wp-block-columns.alignwide {
  align-items: flex-start !important;
  gap: clamp(1.5rem, 3vw, 2.4rem) !important;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}

body.single-product .wp-block-group.woocommerce.product > .wp-block-columns.alignwide > .wp-block-column:nth-child(2) {
  --wp--style--block-gap: 0.78rem;
}

body.single-product .wp-block-post-title {
  margin: 0 !important;
  font-size: clamp(2.15rem, 4vw, 3.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em;
}

body.single-product .wp-block-woocommerce-product-price {
  margin: 0 !important;
  color: #173c2b;
  font-size: 1.05rem;
  font-weight: 800;
}

body.single-product .wp-block-post-excerpt {
  margin: 0 !important;
  color: #34483b;
  font-size: 0.98rem;
  line-height: 1.55;
}

body.single-product .wp-block-post-excerpt p {
  margin: 0;
}

body.single-product .wp-block-add-to-cart-form {
  margin-top: 0.2rem !important;
}

body.single-product .wp-block-add-to-cart-form .stock {
  margin: 0 0 0.58rem !important;
  color: #315f37;
  font-size: 0.9rem;
  font-weight: 750;
}

body.single-product .wp-block-add-to-cart-form form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 0 !important;
}

body.single-product .wp-block-add-to-cart-form form.cart .quantity,
body.single-product .wp-block-add-to-cart-form form.cart .qty {
  margin: 0 !important;
}

body.single-product .wp-block-add-to-cart-form form.cart .qty {
  box-sizing: border-box;
  width: 74px;
  min-height: 44px;
  padding: 0.45rem 0.65rem;
  border: 1px solid #c8cfbd;
  border-radius: 9px;
  text-align: center;
}

body.single-product .wp-block-add-to-cart-form .single_add_to_cart_button {
  min-height: 44px;
  margin: 0 !important;
  padding: 0.68rem 1.3rem !important;
  border-radius: 999px !important;
}

body.single-product .rj-hvhc-product-disclosure {
  margin: 0.78rem 0 0 !important;
  padding: 0.75rem 0.9rem !important;
  border-radius: 9px;
  font-size: 0.86rem;
  line-height: 1.45;
}

body.single-product .wp-block-woocommerce-product-meta {
  margin-top: 0.25rem !important;
  font-size: 0.82rem;
}

body.single-product .wp-block-woocommerce-product-image-gallery {
  margin: 0 auto !important;
}

body.single-product .woocommerce-product-gallery__image img {
  border-radius: 14px;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.5rem !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  width: 74px !important;
}

body.single-product .wp-block-woocommerce-product-details,
body.single-product .wp-block-woocommerce-product-collection {
  margin-top: 1rem !important;
}

body.single-product .woocommerce-tabs .tabs {
  margin-bottom: 0.65rem !important;
}

body.single-product .woocommerce-Tabs-panel {
  padding-top: 0.4rem !important;
  font-size: 0.95rem;
  line-height: 1.6;
}

body.single-product .woocommerce-Tabs-panel--description > h2:first-child {
  display: none;
}

body.single-product .wp-block-woocommerce-product-collection > h2 {
  margin-bottom: 0.8rem !important;
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
}

@media (max-width: 781px) {
  body.single-product .wp-block-group.woocommerce.product > .wp-block-columns.alignwide {
    gap: 1rem !important;
  }

  body.single-product .wp-block-woocommerce-product-image-gallery {
    width: min(100%, 320px);
  }

  body.single-product .wp-block-group.woocommerce.product > .wp-block-columns.alignwide > .wp-block-column:nth-child(2) {
    text-align: left;
  }

  body.single-product .wp-block-post-title {
    font-size: clamp(1.9rem, 9vw, 2.45rem) !important;
    text-align: left !important;
  }

  body.single-product .wp-block-woocommerce-product-price,
  body.single-product .wp-block-post-excerpt,
  body.single-product .wp-block-woocommerce-product-meta {
    text-align: left !important;
  }

  body.single-product .wp-block-add-to-cart-form form.cart {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
  }

  body.single-product .wp-block-add-to-cart-form .single_add_to_cart_button {
    width: 100%;
  }

  body.single-product .wp-block-woocommerce-product-details,
  body.single-product .wp-block-woocommerce-product-collection {
    margin-top: 0.7rem !important;
  }
}
