/*
Theme Name: TJoBees
Theme URI:
Author: TJoBees
Author URI:
Description: A minimal custom theme with WooCommerce support
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tjobees
*/

/* ==========================================================================
   Reset & Base
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-family-body: "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-family-heading: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

body {
  font-family: var(--font-family-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text, #333);
  background: #fff;
  /* background: #f3e2b8; */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title,
.site-title,
.hero-heading,
.hero h1,
.hero h2,
.hero h3 {
  font-family: var(--font-family-heading);
}

.site-content {
  flex: 1 0 auto;
  width: 100%;
}

/* When admin bar is present */
body.admin-bar .site-header {
  top: 32px; /* desktop admin bar height */
}

@media (max-width: 782px) {
  body.admin-bar .front-page-sticky-section {
    top: calc(clamp(4.25rem, 8vw, 6.25rem) + 46px);
  }

  body.admin-bar .site-header {
    top: 46px; /* mobile admin bar height */
  }
}

a {
  color: var(--color-primary-hover, #0073aa);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  padding: 0rem 4rem 0rem;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.site-header.is-fixed {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.site-header-inner {
  max-width: none;
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-branding {
  flex-shrink: 0;
  padding: 10px 0 0;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.site-title a {
  color: inherit;
}

.site-title a:hover {
  text-decoration: none;
}

.custom-logo {
  max-height: 100px;
  width: auto;
}

/* Navigation */
.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-left: auto;
  min-width: 0;
}

.header-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
}

.header-nav a {
  color: #333;
  font-weight: 500;
}

.header-nav a:hover {
  text-decoration: underline;
}

.main-navigation {
  display: none;
  align-items: center;
  gap: 2rem;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.main-navigation a {
  color: #333;
  font-weight: 500;
}

.main-navigation a:hover {
  text-decoration: underline;
}

.cart-link {
  padding: 0.5rem 1rem;
  color: #333;
  border-radius: 50px;
  border: 1px solid #333;
}

.cart-link:hover {
  text-decoration: none;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  left: 0;
  background-color: #333;
}

.menu-toggle-icon::before {
  top: -7px;
}

.menu-toggle-icon::after {
  top: 7px;
}

/* ==========================================================================
   Content
   ========================================================================== */

.site-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Posts list */
.posts-list {
  display: grid;
  gap: 2rem;
}

.entry {
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.entry:last-child {
  border-bottom: none;
}

.entry-thumbnail {
  display: block;
  margin-bottom: 1rem;
}

.entry-thumbnail img {
  width: 100%;
  border-radius: 4px;
}

.entry-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.entry-meta {
  color: var(--color-text-secondary, #666);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.entry-content p,
.entry-excerpt p {
  margin-bottom: 1rem;
}

.page-template .entry-content p {
  margin-bottom: 0;
}

.page-template .entry-content > * + * {
  margin-top: 1rem;
}

.page-template .entry-content,
.front-page-hero-rich-text,
.front-page-sticky-rich-text,
.shop-description {
  --editor-image-border-radius: 10px;
}

.page-template .entry-content .alignleft,
.front-page-hero-rich-text .alignleft,
.front-page-sticky-rich-text .alignleft,
.shop-description .alignleft,
.page-template .entry-content figure.alignleft,
.front-page-hero-rich-text figure.alignleft,
.front-page-sticky-rich-text figure.alignleft,
.shop-description figure.alignleft {
  float: left;
  margin: 0.25rem 1rem 1rem 0;
}

.page-template .entry-content .alignright,
.front-page-hero-rich-text .alignright,
.front-page-sticky-rich-text .alignright,
.shop-description .alignright,
.page-template .entry-content figure.alignright,
.front-page-hero-rich-text figure.alignright,
.front-page-sticky-rich-text figure.alignright,
.shop-description figure.alignright {
  float: right;
  margin: 0.25rem 0 1rem 1rem;
}

.page-template .entry-content .aligncenter,
.front-page-hero-rich-text .aligncenter,
.front-page-sticky-rich-text .aligncenter,
.shop-description .aligncenter,
.page-template .entry-content figure.aligncenter,
.front-page-hero-rich-text figure.aligncenter,
.front-page-sticky-rich-text figure.aligncenter,
.shop-description figure.aligncenter {
  display: block;
  margin-inline: auto;
  clear: both;
}

.page-template .entry-content .alignnone,
.front-page-hero-rich-text .alignnone,
.front-page-sticky-rich-text .alignnone,
.shop-description .alignnone,
.page-template .entry-content figure.alignnone,
.front-page-hero-rich-text figure.alignnone,
.front-page-sticky-rich-text figure.alignnone,
.shop-description figure.alignnone {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 600px) {
  .page-template .entry-content .alignleft,
  .front-page-hero-rich-text .alignleft,
  .front-page-sticky-rich-text .alignleft,
  .shop-description .alignleft,
  .page-template .entry-content figure.alignleft,
  .front-page-hero-rich-text figure.alignleft,
  .front-page-sticky-rich-text figure.alignleft,
  .shop-description figure.alignleft,
  .page-template .entry-content .alignright,
  .front-page-hero-rich-text .alignright,
  .front-page-sticky-rich-text .alignright,
  .shop-description .alignright,
  .page-template .entry-content figure.alignright,
  .front-page-hero-rich-text figure.alignright,
  .front-page-sticky-rich-text figure.alignright,
  .shop-description figure.alignright {
    float: none;
    margin-inline: 0;
  }
}

.page-template .entry-content img,
.front-page-hero-rich-text img,
.front-page-sticky-rich-text img,
.shop-description img {
  border-radius: var(--editor-image-border-radius);
}

.page-template .entry-content figure,
.front-page-hero-rich-text figure,
.front-page-sticky-rich-text figure,
.shop-description figure {
  margin-top: 0;
  margin-bottom: 0;
}

/* Single post */
.single-post .entry-header {
  margin-bottom: 1.5rem;
}

.single-post .entry-thumbnail {
  margin-bottom: 2rem;
}

.single-post .entry-thumbnail img {
  border-radius: 8px;
}

.entry-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-size: 0.875rem;
  color: var(--color-text-secondary, #666);
}

/* Page */
.page-content {
  max-width: 800px;
  width: min(100%, 800px);
  margin: 0 auto;
}

.page-template .entry-content {
  display: flow-root;
}

.page-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Content + Image Sections
   ========================================================================== */

.content-image-page article.page-content {
  margin-top: 3rem;
}

.content-image-section {
  padding: 4rem 0;
}

.content-image-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.content-image-text {
  flex: 1 1 0;
  color: #334155;
}

.content-image-text > * + * {
  margin-top: 1rem;
}

.content-image-text > *:last-child {
  margin-bottom: 0;
}

.content-image-text h2,
.content-image-text h3 {
  color: #0f172a;
  letter-spacing: -0.02em;
}

.content-image-text p {
  color: #475569;
}

.content-image-media {
  flex: 1 1 0;
}

.content-image-media img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  display: block;
}

.content-image-section--text-right .content-image-text {
  order: 2;
}

.content-image-section--text-right .content-image-media {
  order: 1;
}

@media (max-width: 900px) {
  .content-image-inner {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.75rem;
  }

  .content-image-section {
    padding: 2.5rem 0;
  }

  .content-image-section--text-right .content-image-text,
  .content-image-section--text-right .content-image-media {
    order: 0;
  }
}

/* Image Grid */
.content-image-grid {
  padding: 3.5rem 0 4.5rem;
}

.content-image-grid-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.content-image-grid--count-1 .content-image-grid-inner {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.content-image-grid--count-1 .content-image-grid-item {
  width: min(520px, 100%);
}

.content-image-grid--count-2 .content-image-grid-inner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-image-grid--count-3 .content-image-grid-inner {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-image-grid-item {
  aspect-ratio: 25 / 36;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  background: #f1f5f9;
}

.content-image-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .content-image-grid {
    padding: 2.5rem 0 3rem;
  }

  .content-image-grid-inner {
    grid-template-columns: 1fr;
  }

  .content-image-grid-item {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
  }

  .content-image-grid-item img {
    border-radius: 14px;
  }
}

/* Pagination */
.pagination {
  margin-top: 2rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.pagination .page-numbers {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.pagination .current {
  background: var(--color-primary, #333);
  color: #fff;
  border-color: var(--color-text, #333);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid #eee;
  background: var(--color-footer-bg, #f9f9f9);
}

.footer-widgets {
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  color: #333;
}

.footer-widget .widget-title {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-branding {
  text-align: left;
}

.footer-branding .custom-logo-link {
  display: inline-block;
}

.footer-branding .custom-logo {
  max-height: 112px;
  width: auto;
}

.footer-site-name {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
}

.footer-site-name:hover {
  text-decoration: none;
}

.footer-contact {
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  color: #333;
}

.footer-brand-contact {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  justify-self: start;
}

.footer-contact-info {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-column-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-contact-info address {
  font-style: normal;
  margin-bottom: 0.5rem;
}

.footer-contact-info p {
  margin: 0.25rem 0;
}

.footer-contact-info a {
  color: #333;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-self: end;
}

.footer-links {
  text-align: center;
  justify-self: center;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.footer-links a {
  color: #333;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #333;
  transition: transform 0.2s ease;
}

.social-link svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.social-link:hover {
  transform: scale(1.1);
  text-decoration: none;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: #333;
  font-size: 0.875rem;
}

.footer-bottom ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 1.5rem;
  margin: 0.5rem 0;
}

.footer-bottom ul a {
  color: #333;
}

/* ==========================================================================
   Widgets
   ========================================================================== */

.widget {
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.widget ul {
  list-style: none;
}

.widget li {
  padding: 0.25rem 0;
}

/* ==========================================================================
   WooCommerce
   ========================================================================== */

.woocommerce,
.woocommerce-page {
  --wc-button-bg: #f3e2b8;
  --wc-button-text: #333;
  --wc-button-radius: var(--front-page-sticky-radius, 18px);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.woocommerce-page #respond input#submit,
.woocommerce-page .button {
  background: var(--wc-button-bg, #f3e2b8);
  color: var(--wc-button-text, #333);
  border-radius: var(--wc-button-radius, 18px);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .button:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover,
.woocommerce-page #respond input#submit:hover,
.woocommerce-page .button:hover {
  background: var(--wc-button-bg, #f3e2b8);
  color: var(--wc-button-text, #333);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
  content: none;
}

.woocommerce ul.products li.product {
  text-align: center;
}

.woocommerce ul.products li.product a img {
  border-radius: 8px;
  object-fit: contain;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.woocommerce ul.products li.product .price {
  color: var(--color-text, #333);
  font-weight: 600;
  margin-bottom: 1rem;
}

.woocommerce ul.products li.product .button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--wc-button-bg, #f3e2b8);
  color: var(--wc-button-text, #333);
  border: none;
  border-radius: var(--wc-button-radius, 18px);
  cursor: pointer;
  text-decoration: none;
}

.woocommerce ul.products li.product .button:hover {
  background: var(--wc-button-bg, #f3e2b8);
  color: var(--wc-button-text, #333);
}

/* Single product */
.woocommerce div.product {
  max-width: 1000px;
}

.woocommerce div.product div.images {
  margin-bottom: 2rem;
}

.woocommerce div.product div.images img {
  border-radius: 8px;
}

.woocommerce div.product .product_title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.woocommerce div.product p.price {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
  color: #000 !important;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock {
  color: #000 !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  margin-bottom: 1.5rem;
}

.woocommerce div.product form.cart {
  margin-bottom: 2rem;
}

.woocommerce div.product form.cart .button {
  padding: 1rem 2rem;
  background: var(--wc-button-bg, #f3e2b8);
  color: var(--wc-button-text, #333);
  border: none;
  border-radius: var(--wc-button-radius, 18px);
  font-size: 1rem;
  cursor: pointer;
}

.woocommerce div.product form.cart .button:hover {
  background: var(--wc-button-bg, #f3e2b8);
  color: var(--wc-button-text, #333);
}

/* Cart & Checkout */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  max-width: 900px;
}

.woocommerce table.shop_table {
  border-collapse: collapse;
  width: 100%;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.woocommerce .checkout .form-row label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.woocommerce .checkout .form-row input,
.woocommerce .checkout .form-row textarea,
.woocommerce .checkout .form-row select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.woocommerce #place_order {
  padding: 1rem 2rem;
  background: var(--wc-button-bg, #f3e2b8);
  color: var(--wc-button-text, #333);
  border: none;
  border-radius: var(--wc-button-radius, 18px);
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
}

.woocommerce #place_order:hover {
  background: var(--wc-button-bg, #f3e2b8);
  color: var(--wc-button-text, #333);
}

/* Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  --wc-notice-icon-size: 1.05rem;
  --wc-notice-icon-left: 1rem;
  --wc-notice-icon-top: 1.05rem;
  --wc-notice-success-accent: #1f3d36;
  --wc-notice-info-accent: #1a5a50;
  --wc-notice-error-accent: #9a4f3f;
  padding: 1rem 1.5rem;
  padding-inline-start: calc(var(--wc-notice-icon-left) + var(--wc-notice-icon-size) + 0.7rem);
  margin-bottom: 1.5rem;
  border-radius: var(--front-page-sticky-radius, 18px);
  border: 1px solid rgb(225 208 166 / 0.95);
  background: rgb(243 226 184 / 0.32);
  color: var(--color-text, #333);
  line-height: 1.5;
  background-repeat: no-repeat;
  background-size: var(--wc-notice-icon-size) var(--wc-notice-icon-size);
  background-position: left var(--wc-notice-icon-left) top var(--wc-notice-icon-top);
}

.woocommerce-message {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3d36' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-4.5'/%3E%3C/svg%3E");
}

.woocommerce-info {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5a50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 10v6'/%3E%3Cpath d='M12 7h.01'/%3E%3C/svg%3E");
}

.woocommerce-error {
  list-style: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a4f3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v6'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E");
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  content: none !important;
  display: none !important;
}

.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
  color: inherit;
  text-decoration: underline;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button,
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 1rem;
  border: 1px solid rgb(208 189 145 / 0.95);
  background: var(--wc-button-bg, #f3e2b8);
  color: var(--wc-button-text, #333);
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--front-page-sticky-radius, 18px) !important;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35);
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover,
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-error a.button:hover {
  background: var(--wc-button-bg, #f3e2b8);
  color: var(--wc-button-text, #333);
  text-decoration: none;
}

.woocommerce-message .button.wc-forward,
.woocommerce-info .button.wc-forward,
.woocommerce-error .button.wc-forward {
  float: right;
  margin-inline-start: 0.75rem;
}

.woocommerce-message:focus,
.woocommerce-info:focus,
.woocommerce-error:focus,
.woocommerce-message:focus-visible,
.woocommerce-info:focus-visible,
.woocommerce-error:focus-visible {
  outline: 2px solid rgb(26 90 80 / 0.45);
  outline-offset: 2px;
  box-shadow: none;
}

.woocommerce-message:active,
.woocommerce-info:active,
.woocommerce-error:active {
  box-shadow: none;
}

/* Shop Page */
.shop-page {
  min-height: 80vh;
  max-width: none;
  padding: 0;
}

.shop-page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2rem 4rem;
}

.shop-page .shop-page-notices {
  position: fixed;
  top: calc(clamp(4.25rem, 8vw, 6.25rem) + 0.9rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100vw - 2rem));
  z-index: 140;
  pointer-events: none;
}

.shop-page .shop-page-notices .woocommerce-notices-wrapper {
  display: grid;
  gap: 0.65rem;
}

.shop-page .shop-page-notices .woocommerce-message,
.shop-page .shop-page-notices .woocommerce-info,
.shop-page .shop-page-notices .woocommerce-error {
  margin-bottom: 0;
  pointer-events: auto;
  box-shadow: 0 12px 30px rgb(15 23 42 / 0.14);
  animation: shop-notice-enter 0.22s ease-out both;
}

@keyframes shop-notice-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.admin-bar .shop-page .shop-page-notices {
  top: calc(clamp(4.25rem, 8vw, 6.25rem) + 32px + 0.9rem);
}

.shop-mobile-toast-layer {
  display: none;
}

.shop-material-row {
  margin: 4rem 0 0;
}

.shop-material-row:first-of-type {
  margin-top: 0;
}

.shop-material-row__title {
  margin-bottom: 1.75rem;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.shop-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  margin-bottom: 12rem;
}

.shop-intro--has-image {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.shop-intro-copy {
  max-width: 680px;
}

.shop-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  
  font-weight: 700;
  letter-spacing: -0.02em;
}

.shop-description {
  max-width: 640px;
  color: #666;
  font-size: 1.1rem;
  line-height: 1.7;
}

.shop-description > * + * {
  margin-top: 1rem;
}

.shop-intro-media {
  width: 100%;
  max-width: 420px;
  justify-self: end;
}

.shop-intro-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.shop-sizes-note {
  text-align: center;
  font-style: normal;
  
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #eaddcf 0%, #f5efe8 100%);
  padding: 1rem 2rem;
  border-radius: 50px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  width: auto;
}

.woocommerce-archive-description {
  text-align: center;
}

/* Product Cards (Custom Template) */
.woocommerce ul.products.columns-3 li.product,
.woocommerce.columns-3 ul.products li.product,
.woocommerce.columns-4 ul.products li.product {
  --product-card-border-color: rgb(225 208 166 / 0.7);
  --product-card-border-hover-color: rgb(208 189 145 / 0.9);
  --product-card-media-ratio: 4 / 5;
  --product-card-image-scale: 1;
  width: auto;
  margin: 0;
  float: none;
  background: rgb(243 226 184 / 0.18);
  border: 1px solid var(--product-card-border-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

/* Product image tuning knobs:
   Update these variables to fine-tune jar framing per card in one place. */
.shop-page ul.products li.product {
  --product-card-media-ratio: 4 / 5;
  --product-card-image-scale: 1;
}

.shop-page ul.products li.product[data-product-container="glass"] {
  --product-card-image-scale: 1.04;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-2px);
  box-shadow: none;
  border-color: var(--product-card-border-hover-color);
  background: rgb(243 226 184 / 0.24);
}

.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card-link:hover {
  text-decoration: none;
}

.product-card-media {
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.product-card-gallery {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.product-card-gallery-main {
  position: relative;
}

.product-card-gallery-viewport {
  overflow: hidden;
}

.product-card-gallery-track {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

.product-card-gallery-slide {
  flex: 0 0 100%;
  text-decoration: none;
}

.product-card-gallery-slide-media {
  display: block;
  width: 100%;
  aspect-ratio: var(--product-card-media-ratio);
}

.product-card-gallery-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid rgb(148 163 184 / 0.4);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.78);
  color: rgb(51 65 85 / 0.85);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 2px 10px rgb(15 23 42 / 0.12);
  opacity: 0.82;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.product-card-gallery-control:hover {
  background: rgb(255 255 255 / 0.96);
  border-color: rgb(100 116 139 / 0.45);
  opacity: 1;
}

.product-card-gallery-control:focus-visible,
.product-card-gallery-thumb:focus-visible {
  outline: 1px solid rgb(26 90 80 / 0.45);
  outline-offset: 1px;
}

.product-card-gallery-control--prev {
  left: 0.55rem;
}

.product-card-gallery-control--next {
  right: 0.55rem;
}

.product-card-gallery-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem 0.7rem;
  overflow-x: auto;
  border-top: 0;
  background: rgb(255 255 255 / 0.95);
  scrollbar-width: thin;
}

.product-card-gallery-thumb {
  flex: 0 0 2.8rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.product-card-gallery-thumb:hover {
  opacity: 1;
}

.product-card-gallery-thumb.is-active {
  opacity: 1;
  border-color: rgb(26 90 80 / 0.55);
  transform: translateY(-1px);
}

.woocommerce ul.products li.product .product-card-gallery-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 0;
  filter: none;
  transform: scale(var(--product-card-image-scale));
  transform-origin: center;
  transition: transform 0.2s ease;
}

.woocommerce ul.products li.product:hover .product-card-gallery-slide img {
  transform: scale(calc(var(--product-card-image-scale) * 1.01));
}

.woocommerce ul.products li.product .product-card-gallery-thumb img {
  width: 100%;
  height: 2.5rem;
  object-fit: cover;
  display: block;
  filter: none;
  border-radius: 0;
  aspect-ratio: auto;
  transition: none;
}

.product-card-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 0 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.product-card-spec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #3e4c47;
  font-size: 0.79rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 500;
}

.product-card-spec-separator {
  color: #7f6c45;
  font-size: 0.79rem;
  line-height: 1;
  font-weight: 500;
}

.product-card-content {
  padding: 0.95rem 1.15rem 0.75rem;
  text-align: center;
}

.product-card-content--price {
  padding-bottom: 0.25rem;
}

.product-card-content--meta {
  padding-top: 0.25rem;
}

.product-card-title {
  font-size: 1.5rem !important;
  font-weight: 700;
  margin-bottom: 0.75rem;
  
  letter-spacing: -0.02em;
}

.product-card-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.35rem;
  line-height: 1.6;
}

.product-card-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.08;
  color: #1f3d36;
}

.product-card-price del {
  font-size: 0.9rem;
  color: #999;
  font-weight: 500;
}

.product-card-price ins {
  text-decoration: none;
}

.product-card-actions {
  margin-top: auto;
  padding: 0.5rem 1.5rem 2rem;
}

.product-add-to-cart {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--wc-button-bg, #f3e2b8);
  color: var(--wc-button-text, #333);
  border: none;
  border-radius: var(--wc-button-radius, 18px);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(20, 69, 61, 0.3);
  letter-spacing: 0.02em;
}

.product-add-to-cart:hover {
  background: var(--wc-button-bg, #f3e2b8);
  color: var(--wc-button-text, #333);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 69, 61, 0.4);
}

/* Single Product Page */
.single-product-page {
  max-width: 1400px;
  padding: 2rem 1.5rem;
}

.single-product .woocommerce div.product {
  max-width: none;
}

.single-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 3rem;
  align-items: start;
}

.single-product-gallery {
  position: sticky;
  top: 2rem;
  align-self: start;
}

.single-product-gallery .woocommerce-product-gallery {
  margin: 0;
  width: 100% !important;
  max-width: none;
  float: none !important;
}

.single-product-gallery .woocommerce-product-gallery__wrapper {
  width: 100%;
}

.single-product-gallery .woocommerce-product-gallery__image a,
.single-product-gallery .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
}

.single-product-gallery img {
  border-radius: 12px;
}

.single-product-summary {
  --single-summary-gap: clamp(0.9rem, 1.2vw, 1.3rem);
  padding-top: clamp(0.35rem, 0.9vw, 0.9rem);
  width: 100% !important;
  max-width: none;
  margin: 0;
  float: none !important;
  display: grid;
  align-content: start;
  gap: var(--single-summary-gap);
}

.single-product-summary > * {
  margin: 0;
}

.single-product-summary .product_title {
  font-size: clamp(2rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.single-product-summary .price {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text, #333);
}

.single-product-summary .stock {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}

.single-product-summary .woocommerce-product-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--color-text-secondary, #666);
}

.single-product-summary .woocommerce-review-link {
  color: inherit;
  text-decoration: underline;
}

.single-product-summary .woocommerce-product-details__short-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-secondary, #666);
  max-width: 62ch;
}

.single-product-summary form.cart {
  margin-top: 0.2rem;
  margin-bottom: 0;
}

.single-product-summary form.cart:not(.variations_form):not(.grouped_form):not(.external) {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.875rem;
  max-width: 620px;
  width: 100%;
}

.single-product-summary form.cart:not(.variations_form):not(.grouped_form):not(.external) .quantity {
  width: auto;
  margin: 0;
}

.single-product-summary form.cart:not(.variations_form):not(.grouped_form):not(.external) .qty {
  width: 80px;
  min-height: 52px;
  padding: 0.875rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 1rem;
  text-align: center;
}

.single-product-summary form.cart .single_add_to_cart_button {
  flex: 1 1 240px;
  min-height: 52px;
  padding: 1rem 2rem;
  background: var(--wc-button-bg, #f3e2b8);
  color: var(--wc-button-text, #333);
  border: none;
  border-radius: var(--wc-button-radius, 18px);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s;
}

.single-product-summary form.cart .single_add_to_cart_button:hover {
  background: var(--wc-button-bg, #f3e2b8);
  color: var(--wc-button-text, #333);
}

.single-product-summary form.variations_form {
  max-width: 620px;
  width: 100%;
}

.single-product-summary form.variations_form table.variations {
  margin-bottom: 0.65rem;
}

.single-product-summary form.variations_form table.variations th,
.single-product-summary form.variations_form table.variations td {
  padding: 0.35rem 0;
  vertical-align: middle;
}

.single-product-summary form.variations_form table.variations th label {
  font-weight: 600;
}

.single-product-summary form.variations_form .single_variation_wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.875rem;
}

.single-product-summary form.variations_form .quantity {
  margin: 0;
}

.single-product-extra-sections {
  margin-top: 0.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid #eee;
  display: grid;
  gap: clamp(0.95rem, 1.2vw, 1.25rem);
}

.single-product-extra__heading {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.single-product-extra__content {
  color: var(--color-text-secondary, #666);
  font-size: 0.99rem;
  line-height: 1.7;
}

.single-product-extra__content > *:last-child {
  margin-bottom: 0;
}

.single-product-extra__content p {
  line-height: 1.7;
}

.single-product-extra__content ul,
.single-product-extra__content ol {
  margin: 0.45rem 0 0.75rem;
  padding-inline-start: 1.15rem;
}

.single-product-extra__content ul {
  list-style: disc;
}

.single-product-extra__content ol {
  list-style: decimal;
}

.single-product-extra__content ul li,
.single-product-extra__content ol li {
  margin: 0.22rem 0;
  line-height: 1.65;
}

.single-product-extra__content ul.a-unordered-list,
.single-product-extra__content ul.a-unordered-list.a-vertical.a-spacing-mini {
  list-style-type: disc !important;
  list-style-position: inside;
  margin: 0.45rem 0 0.75rem;
  padding-inline-start: 0;
}

.single-product-extra__content ul.a-unordered-list li,
.single-product-extra__content ul.a-unordered-list.a-vertical.a-spacing-mini li {
  margin: 0.2rem 0;
}

.single-product-extra__content .shop_attributes {
  width: 100%;
  border-collapse: collapse;
  margin: 0.2rem 0 0;
}

.single-product-extra__content .shop_attributes th,
.single-product-extra__content .shop_attributes td {
  padding: 0.55rem 0.35rem;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

.single-product-extra__content .shop_attributes th {
  width: 40%;
  color: var(--color-text, #333);
  font-weight: 600;
}

.single-product-extra__content .shop_attributes tr:last-child th,
.single-product-extra__content .shop_attributes tr:last-child td {
  border-bottom: 0;
}

.single-product-details {
  border-top: 1px solid #eee;
  padding-top: 3rem;
}

/* WooCommerce Tabs (Single Product) */
.woocommerce-tabs {
  margin-top: 2rem;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  list-style: none;
  border-bottom: 1px solid #eee;
  margin-bottom: 2rem;
  padding: 0;
}

.woocommerce-tabs ul.tabs li {
  margin-bottom: -1px;
}

.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--color-text-secondary, #666);
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.woocommerce-tabs ul.tabs li a:hover {
  color: var(--color-text, #333);
  text-decoration: none;
}

.woocommerce-tabs ul.tabs li.active a {
  color: var(--color-text, #333);
  border-bottom-color: var(--color-primary, #333);
}

.woocommerce-tabs .panel h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
  font-size: 0.9rem;
  color: var(--color-text-secondary, #666);
  margin-bottom: 2rem;
}

.woocommerce-breadcrumb a {
  color: var(--color-text-secondary, #666);
}

.woocommerce-breadcrumb a:hover {
  color: var(--color-primary-hover, #0073aa);
}

/* Responsive - Single Product */
@media (max-width: 782px) {
  body.admin-bar .shop-page .shop-page-notices {
    top: calc(clamp(4.25rem, 8vw, 6.25rem) + 46px + 0.75rem);
  }
}

@media (max-width: 768px) {
  .shop-page .shop-page-notices {
    display: none;
  }

  .single-product-page .single-product-notices {
    display: none;
  }

  .shop-mobile-toast-layer {
    position: fixed;
    right: 0.7rem;
    bottom: 0.85rem;
    width: min(20rem, calc(100vw - 1rem));
    z-index: 180;
    display: block;
    pointer-events: none;
  }

  .shop-mobile-toast-stack {
    position: absolute;
    right: 0;
    bottom: 3.25rem;
    width: 100%;
    display: grid;
    gap: 0.6rem;
  }

  .shop-mobile-toast {
    width: 100%;
    padding: 0.72rem 0.75rem 0.68rem;
    border-radius: var(--front-page-sticky-radius, 18px);
    border: 1px solid rgb(225 208 166 / 0.95);
    background: rgb(243 226 184 / 0.97);
    color: var(--color-text, #333);
    box-shadow: 0 14px 34px rgb(15 23 42 / 0.16);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(12px);
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .shop-mobile-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .shop-mobile-toast.is-exit {
    opacity: 0;
    transform: translateY(-8px);
  }

  .shop-mobile-toast.is-success {
    border-inline-start: 4px solid var(--wc-notice-success-accent, #1f3d36);
  }

  .shop-mobile-toast.is-info {
    border-inline-start: 4px solid var(--wc-notice-info-accent, #1a5a50);
  }

  .shop-mobile-toast.is-error {
    border-inline-start: 4px solid var(--wc-notice-error-accent, #9a4f3f);
  }

  .shop-mobile-toast__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 600;
  }

  .shop-mobile-toast__actions {
    margin-top: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .shop-mobile-toast__dismiss {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    border: 1px solid rgb(208 189 145 / 0.9);
    background: rgb(255 255 255 / 0.68);
    color: #2f3f3a;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
  }

  .shop-mobile-toast__view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgb(208 189 145 / 0.95);
    background: var(--wc-button-bg, #f3e2b8);
    color: var(--wc-button-text, #333);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
  }

  .shop-mobile-cart-fab {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 999px;
    border: 1px solid rgb(208 189 145 / 0.95);
    background: var(--wc-button-bg, #f3e2b8);
    color: var(--wc-button-text, #333);
    box-shadow: 0 12px 28px rgb(15 23 42 / 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px) scale(0.92);
    transition: opacity 220ms ease, transform 220ms ease;
    text-decoration: none;
  }

  .shop-mobile-cart-fab.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .shop-mobile-cart-fab__icon {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3d36' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h8.8a2 2 0 0 0 2-1.6L22 7H7.2'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .shop-mobile-cart-fab__count {
    position: absolute;
    top: -0.28rem;
    right: -0.28rem;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.24rem;
    border-radius: 999px;
    border: 1px solid rgb(225 208 166 / 0.95);
    background: #1f3d36;
    color: #fff;
    font-size: 0.62rem;
    line-height: 1.05rem;
    font-weight: 700;
    text-align: center;
    display: none;
  }

  .shop-mobile-cart-fab.has-count .shop-mobile-cart-fab__count {
    display: inline-block;
  }
}

@media (max-width: 900px) {
  .shop-intro--has-image {
    grid-template-columns: 1fr;
  }

  .shop-intro-media {
    justify-self: start;
    max-width: 360px;
  }

  .single-product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .single-product-gallery {
    position: static;
  }

  .single-product-summary .product_title {
    font-size: 1.75rem;
  }

  .single-product-summary {
    --single-summary-gap: 0.95rem;
    padding-top: 0;
  }

  .single-product-summary form.cart:not(.variations_form):not(.grouped_form):not(.external),
  .single-product-summary form.variations_form {
    max-width: 100%;
  }

  .single-product-summary form.cart:not(.variations_form):not(.grouped_form):not(.external),
  .single-product-summary form.variations_form .single_variation_wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .single-product-summary form.cart .qty {
    width: 100%;
  }

  .single-product-summary form.cart .single_add_to_cart_button {
    width: 100%;
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0.85rem 1.1rem;
  }

  /* Product grid - 2 columns on tablets */
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .shop-page-content {
    padding: 2rem 1rem;
  }

  .shop-title {
    font-size: 2rem;
  }

  .woocommerce ul.products {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-card-gallery-control {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 1rem;
  }

  .product-card-gallery-control--prev {
    left: 0.35rem;
  }

  .product-card-gallery-control--next {
    right: 0.35rem;
  }

  .product-card-gallery-thumbs {
    gap: 0.35rem;
    padding: 0.45rem 0.5rem 0.6rem;
  }

  .product-card-gallery-thumb {
    flex-basis: 2.5rem;
  }

  .product-card-gallery-thumb img {
    height: 2.25rem;
  }

  .product-card-specs {
    margin-bottom: 0.35rem;
  }

  .product-card-spec {
    font-size: 0.72rem;
    letter-spacing: 0.025em;
  }

  .product-card-spec-separator {
    font-size: 0.72rem;
  }

  .product-card-content {
    padding: 0.85rem 0.95rem 0.5rem;
  }

  .product-card-title {
    font-size: 1.2rem;
  }

  .product-card-price {
    font-size: 1.4rem;
  }

  .product-card-actions {
    padding: 0.5rem 1rem 1.5rem;
  }
}

/* ==========================================================================
   Front Page
   ========================================================================== */

.front-page {
  padding: 0;
  max-width: none;
}

.front-page .featured-products h2 {
  color: #fff;
}

.front-page section:not(.hero):not(.featured-products) {
  max-width: 1200px;
  margin: 0 auto;
}

.front-page .hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(620px, 70vw, 900px);
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 8rem;
}

.front-page .hero-content {
  display: flex;
  justify-content: flex-start;
  margin: clamp(12px, 0vh, 120px) 0 0;
}

.front-page-hero-rich-text {
  width: min(703px, 100%);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.front-page-hero-rich-text > * + * {
  margin-top: 0.85rem;
}

.front-page-hero-rich-text > *:last-child {
  margin-bottom: 0;
}

.front-page-hero-rich-text h1,
.front-page-hero-rich-text h2,
.front-page-hero-rich-text h3 {
  
}

.front-page-hero-rich-text p {
  color: #24342f;
  font-size: 18px;
}

.front-page-sticky-stack {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  --front-page-sticky-radius: 18px;
  --front-page-sticky-top: clamp(4.25rem, 8vw, 6.25rem);
  --front-page-sticky-bottom-clearance: clamp(0.9rem, 2vh, 1.35rem);
  --front-page-sticky-available-height: calc(
    100vh - var(--front-page-sticky-top) - var(--front-page-sticky-bottom-clearance)
  );
  --front-page-sticky-overlap-delay: clamp(2.75rem, 6vw, 4rem);
}

.front-page-sticky-section {
  position: sticky;
  top: var(--front-page-sticky-top);
  min-height: min(var(--front-page-sticky-available-height), 760px);
  margin-bottom: var(--front-page-sticky-overlap-delay);
  z-index: calc(12 + var(--stack-index, 0));
  background-color: #fff;
}

body.admin-bar .front-page-sticky-stack {
  --front-page-sticky-top: calc(clamp(4.25rem, 8vw, 6.25rem) + 58px);
  --front-page-sticky-available-height: calc(
    100vh - var(--front-page-sticky-top) - var(--front-page-sticky-bottom-clearance)
  );
}

body.admin-bar .front-page-sticky-section {
  top: var(--front-page-sticky-top);
}

@supports (height: 100svh) {
  .front-page-sticky-stack {
    --front-page-sticky-available-height: calc(
      100svh - var(--front-page-sticky-top) - var(--front-page-sticky-bottom-clearance)
    );
  }

  body.admin-bar .front-page-sticky-stack {
    --front-page-sticky-available-height: calc(
      100svh - var(--front-page-sticky-top) - var(--front-page-sticky-bottom-clearance)
    );
  }
}

.front-page-sticky-panel {
  min-height: inherit;
  border-radius: var(--front-page-sticky-radius, 18px);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.front-page-sticky-panel.has-media-image {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.95fr);
  grid-template-rows: auto;
  height: auto;
  min-height: inherit;
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.4rem);
}

.front-page-sticky-media {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: min(var(--front-page-sticky-available-height), 72vh);
  border-radius: var(--front-page-sticky-radius);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: start;
  overflow: hidden;
}

.front-page-sticky-media-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: top center;
  align-self: flex-start;
  display: block;
}

.front-page-sticky-panel.has-media-image .front-page-sticky-content {
  width: 100%;
  align-self: start;
}

.front-page-sticky-panel.has-media-image .front-page-sticky-links-actions {
  width: 100%;
  align-self: start;
}

.front-page-sticky-panel.has-media-image .front-page-sticky-links-actions--split {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.front-page-sticky-panel.has-media-image
  .front-page-sticky-links-actions--split
  .front-page-sticky-link {
  max-width: none;
  min-width: 0;
}

@media (max-width: 980px) {
  .front-page-sticky-panel.has-media-image {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: stretch;
    gap: clamp(0.75rem, 1.6vw, 1.15rem);
  }

  .front-page-sticky-media {
    min-height: clamp(200px, 45vw, 320px);
    max-height: none;
    padding: 0;
  }

  .front-page-sticky-media-image {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: top center;
  }

  .front-page-sticky-panel.has-media-image .front-page-sticky-links-actions--split {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: clamp(1rem, 2.2vw, 1.75rem);
  }

  .front-page-sticky-panel.has-media-image
    .front-page-sticky-links-actions--split
    .front-page-sticky-link {
    max-width: none;
    min-width: 220px;
    flex: 0 1 auto;
  }
}

@media (min-width: 981px) {
  .front-page-sticky-panel.has-media-image .front-page-sticky-media-image {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: top center;
  }
}

.front-page-sticky-content {
  width: 100%;
  padding: 3rem;
  background: rgb(var(--front-sticky-content-rgb, 243 226 184) / 0.88);
  border: 1px solid rgb(var(--front-sticky-content-border-rgb, 225 208 166) / 0.95);
  border-radius: var(--front-page-sticky-radius);
}

.front-page-sticky-heading {
  margin-bottom: 0.65rem;
}

.front-page-sticky-rich-text > * + * {
  margin-top: 0.85rem;
}

.front-page-sticky-rich-text > *:last-child {
  margin-bottom: 0;
}

.front-page-sticky-rich-text p,
.front-page-sticky-rich-text li {
  color: #24342f;
}

.front-page-sticky-links-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 0;
}

.front-page-sticky-links-actions--split {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  align-self: stretch;
  gap: clamp(1rem, 2vw, 1.75rem);
  flex-wrap: nowrap;
}

.front-page-sticky-links-actions--split .front-page-sticky-link {
  flex: 0 1 auto;
  min-width: 220px;
  max-width: none;
  padding: 1rem 1.35rem;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  border-width: 2px;
  box-shadow: 0 16px 25px -24px rgba(26, 36, 40, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.front-page-sticky-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(36, 52, 47, 0.2);
  border-radius: var(--front-page-sticky-radius);
  background: #f3e2b8;
  color: #24342f;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  word-break: break-word;
  text-decoration: none;
}

.front-page-sticky-link--primary:hover {
  text-decoration: none;
  background: #efd7a0;
  transform: translateY(-1px);
  box-shadow: 0 18px 24px -18px rgba(36, 52, 47, 0.9);
}

.front-page-sticky-panel.has-media-image .front-page-sticky-link--secondary,
.front-page-sticky-link--secondary:link,
.front-page-sticky-link--secondary:visited {
  background: #ffffff !important;
  color: #24342f !important;
  border-color: #24342f !important;
}

.front-page-sticky-link--secondary:focus-visible {
  outline: 2px solid #24342f;
  outline-offset: 2px;
}

.front-page-sticky-link--secondary:hover {
  text-decoration: none;
  background: #fff8e6 !important;
  border-color: #17231f !important;
  color: #17231f !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 24px -18px rgba(36, 52, 47, 0.75);
}

/* Page template hero (normal content width) */
.page-hero {
  max-width: min(1200px, calc(100% - 4rem));
  margin: 0rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-title--featured {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 3rem);
  width: 100%;
}

.page-featured-image {
  width: min(100%, 980px);
  display: flex;
  justify-content: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 2.5rem;
}

.page-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
}

.page-shop-honey-cta {
  margin: clamp(2.5rem, 6vw, 5rem) auto 0;
  max-width: 780px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  --front-page-sticky-radius: 18px;
  width: 100%;
  clear: both;
}

.page-shop-honey-link {
  width: max-content;
  min-width: 220px;
}

.page-shop-honey-logo-wrap {
  padding-top: 0.75rem;
}

.page-shop-honey-logo-wrap .custom-logo-link,
.page-shop-honey-logo-wrap img,
.page-shop-honey-site-name {
  margin: 0 auto;
}

.page-shop-honey-logo-wrap .custom-logo {
  max-height: 180px;
  width: auto;
  height: auto;
}

.page-shop-honey-site-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Hero Section - Base */
.hero {
  text-align: center;
  padding: 2rem 2rem 15rem;
  max-width: none;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Media (Image, Video, Gallery) */
.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-media img,
.hero-media video,
.hero-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Image */
.hero-image img {
  object-position: center;
}

/* Hero Video */
.hero-video iframe,
.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
}

/* Hero Gallery */
.hero-gallery {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-gallery-slide.active {
  opacity: 1;
}

.hero-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--video .hero-content {
  color: #fff;
}

.hero--video .hero-heading {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero--video .hero-description {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* Hero Content */
.hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 140px auto 0;
  position: relative;
  z-index: 3;
  padding: 2rem;
}

.hero-heading {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 700px;
}

.hero-text-center .hero-heading {
  margin-left: auto;
  margin-right: auto;
}

.hero-text-right .hero-heading {
  margin-left: auto;
}

.hero-description {
  font-size: 1.25rem;
  color: #555;
  line-height: 1.7;
  max-width: 550px;
  margin-bottom: 2rem;
}

.hero--image .hero-description,
.hero--gallery .hero-description {
  color: #24342f;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

/* Hero Text Alignment */
.hero-text-left {
  text-align: left;
}

.hero-text-left .hero-description {
  margin-left: 0;
  margin-right: auto;
}

.hero-text-center {
  text-align: center;
}

.hero-text-center .hero-description {
  margin-left: auto;
  margin-right: auto;
}

.hero-text-right {
  text-align: right;
}

.hero-text-right .hero-description {
  margin-left: auto;
  margin-right: 0;
}

/* ==========================================================================
   Feature Block
   ========================================================================== */

.feature-block {
  background: linear-gradient(180deg, #fff 0%, #f8f6f3 100%);
  padding: 5rem 2rem;
  max-width: none !important;
}

.feature-block .container {
  max-width: 1200px;
  margin: 0 auto;
}

.feature-block-heading,
.feature-cards-block-heading {
  text-align: center;
  font-size: 2.5rem;
  
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.feature-block-heading::after,
.feature-cards-block-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #333, #709775);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.feature-block-description,
.feature-cards-block-description {
  text-align: center;
  font-size: 1.15rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* Feature Cards Block */
.feature-cards-block {
  padding: 10rem 2rem;
  max-width: none !important;
}

.feature-cards-block .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Feature Images Row */
.feature-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0rem;
  margin-bottom: 8rem;
  justify-items: center;
}

.feature-image {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(20, 69, 61, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  transform-origin: center;
  width: 95%;
  position: relative;
}

.feature-image::before {
  content: "";
  display: block;
  padding-top: 62.5%;
}

.feature-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(20, 69, 61, 0.12);
}

.feature-images-3d .feature-images {
  perspective: 1000px;
  padding-top: 4rem;
}

.feature-images-3d .feature-image:nth-child(1) {
  transform: rotateY(25deg) scale(0.9);
}

.feature-images-3d .feature-image:nth-child(2) {
  transform: scale(1.1);
}

.feature-images-3d .feature-image:nth-child(3) {
  transform: rotateY(-25deg) scale(0.9);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

/* Feature Cards */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card,
.feature-card-link {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(20, 69, 61, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card-link,
.feature-card-link * {
  color: inherit;
  text-decoration: none;
}

.feature-card:hover,
.feature-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(20, 69, 61, 0.12);
}

.feature-card-link:hover,
.feature-card-link:focus {
  text-decoration: none;
}

.feature-card-link:focus-visible {
  outline: 3px solid rgba(20, 69, 61, 0.35);
  outline-offset: 3px;
}

.feature-card-image {
  width: 80px;
  height: 80px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #eaddcf 0%, #f5efe8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card-heading {
  font-size: 1.15rem;
  font-weight: 700;
  
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.feature-card-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Feature Cards on light section */
.feature-cards-block .feature-card,
.feature-cards-block .feature-card-link {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(214, 233, 224, 0.72) 100%
  );
  border: 1px solid rgba(112, 151, 117, 0.45);
  box-shadow:
    0 14px 30px rgba(20, 69, 61, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  position: relative;
  overflow: hidden;
}

.feature-cards-block .feature-card::before,
.feature-cards-block .feature-card-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 18% 8%,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  opacity: 0.85;
  pointer-events: none;
}

.feature-cards-block .feature-card::after,
.feature-cards-block .feature-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' stitchTiles='stitch'/></filter><rect width='120' height='120' filter='url(%23n)' opacity='0.08'/></svg>");
  mix-blend-mode: soft-light;
  opacity: 0.35;
  pointer-events: none;
}

.feature-cards-block .feature-card:hover,
.feature-cards-block .feature-card-link:hover {
  box-shadow:
    0 20px 40px rgba(20, 69, 61, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-cards-block .feature-card-heading {
  
}

.feature-cards-block .feature-card-text {
  color: #4b6b5e;
}

.feature-cards-block .feature-card-image {
  background: rgba(112, 151, 117, 0.18);
}

/* Feature Block Responsive */
@media (max-width: 900px) {
  .feature-images {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .feature-image {
    width: 100%;
  }

  .feature-image img {
    height: 100%;
  }

  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .site-branding {
    padding: 0;
  }

  .custom-logo {
    max-height: 75px;
  }

  .feature-block,
  .feature-cards-block {
    padding: 3rem 1rem;
  }

  .feature-block-heading,
  .feature-cards-block-heading {
    font-size: 2rem;
  }

  .feature-block-description,
  .feature-cards-block-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .feature-images {
    display: flex;
    gap: 1rem;
    padding: 0 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .feature-image {
    flex: 0 0 min(85vw, 420px);
    aspect-ratio: 16 / 10;
    scroll-snap-align: center;
    margin: 0;
  }

  .feature-image::before {
    content: none;
    padding-top: 0;
  }

  .feature-images-3d .feature-images {
    padding-top: 0;
    perspective: none;
  }

  .feature-images-3d .feature-image {
    transform: none;
  }

  .feature-images-3d .feature-image:nth-child(2) {
    transform: none;
  }

  .feature-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.5rem 1rem;
  }

  .feature-card-image {
    width: 60px;
    height: 60px;
  }
}

/* ==========================================================================
   Flavor Profile Block
   ========================================================================== */

.flavor-profile-block {
  margin-top: 4rem;
}

.flavor-profile-heading {
  text-align: center;
  font-size: 2rem;
  
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.flavor-profile-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.flavor-profile-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
}

.flavor-profile-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f7f2ea;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(20, 69, 61, 0.18);
}

.flavor-profile-text {
  font-size: 0.98rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
  max-width: 240px;
}

@media (max-width: 900px) {
  .flavor-profile-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .flavor-profile-block {
    margin-top: 3rem;
  }

  .flavor-profile-heading {
    font-size: 1.75rem;
  }

  .flavor-profile-items {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Guide Block
   ========================================================================== */

.guide-block {
  background: radial-gradient(circle at top left, #f2e7d8 0%, #fff 55%);
  padding: 10rem 2rem;
  position: relative;
  overflow: hidden;
  max-width: none !important;
}

.guide-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(20, 69, 61, 0.04) 0,
    rgba(20, 69, 61, 0.04) 2px,
    transparent 2px,
    transparent 10px
  );
  opacity: 0.4;
  pointer-events: none;
}

.guide-block .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.guide-block-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: start;
}

.guide-block-header {
  max-width: 520px;
}

.guide-block-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #709775;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.guide-block-heading {
  font-size: 2.4rem;
  
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.guide-block-description {
  font-size: 1.05rem;
  color: #5f5f5f;
  line-height: 1.7;
  margin: 0;
}

.guide-block-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.guide-card {
  padding: 1.5rem;
  border: 1px solid rgba(20, 69, 61, 0.08);
  border-radius: 3px 10px 10px 3px;
  box-shadow: 0 14px 30px rgba(20, 69, 61, 0.08);
  position: relative;
}

.guide-card {
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 69, 61, 0.12);
}

.guide-card-heading {
  font-size: 1.1rem;
  font-weight: 700;
  
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.guide-card-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1000px) {
  .guide-block-inner {
    grid-template-columns: 1fr;
  }

  .guide-block-header {
    max-width: none;
  }
}

@media (max-width: 650px) {
  .guide-block {
    padding: 3.5rem 1.5rem;
  }

  .guide-block-heading {
    font-size: 2rem;
  }

  .guide-block-grid {
    grid-template-columns: 1fr;
  }
}

.featured-products {
  background: #709775;
  padding: 5rem 2rem !important;
}

.featured-products > h2,
.featured-products .woocommerce {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.featured-products h2,
.shop-page .products h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  
  font-weight: 700;
  letter-spacing: -0.02em;
}


.latest-posts h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.featured-products .woocommerce,
.shop-page ul.products {
  width: 100%;
}

.featured-products ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.shop-page ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.featured-products ul.products::before,
.featured-products ul.products::after,
.shop-page ul.products::before,
.shop-page ul.products::after {
  display: none;
  content: none;
}

@media (max-width: 900px) {
  .featured-products ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .featured-products ul.products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .featured-products ul.products {
    grid-template-columns: 1fr;
  }
}

.view-all-link {
  display: block;
  text-align: center;
  margin-top: 2rem;
}

/* ==========================================================================
   Blog Page & Post Cards
   ========================================================================== */

.blog-page .page-header {
  margin-bottom: 2rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.post-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-card-thumbnail {
  display: block;
}

.post-card-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card-content {
  padding: 1.5rem;
}

.post-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.post-card-title a {
  color: var(--color-text, #333);
}

.post-card-title a:hover {
  color: var(--color-primary-hover, #0073aa);
  text-decoration: none;
}

.post-card-meta {
  font-size: 0.875rem;
  color: var(--color-text-secondary, #666);
  margin-bottom: 0.75rem;
}

.post-card-excerpt p {
  margin: 0;
  color: #555;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404 {
  text-align: center;
  padding: 6rem 2rem;
}

.error-content h1 {
  font-size: 6rem;
  color: #ddd;
  margin-bottom: 1rem;
}

.error-content p {
  font-size: 1.25rem;
  color: var(--color-text-secondary, #666);
  margin-bottom: 2rem;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary, #333);
  border-radius: 50px;
  text-decoration: none;
  border: none;
  font-family: inherit;
}

.button:hover {
  background: var(--color-primary-hover, #0073aa);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

/* ==========================================================================
   Search & Archive
   ========================================================================== */

.search-results .page-title span,
.archive-description {
  color: var(--color-text-secondary, #666);
}

.archive-description {
  margin-top: 0.5rem;
}

.post-type-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-secondary, #666);
  margin-bottom: 0.5rem;
}

.no-results {
  text-align: center;
  padding: 3rem 0;
}

.no-results p {
  margin-bottom: 1.5rem;
}

.search-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
}

.search-form .search-field {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  border-right: none;
}

.search-form .search-submit {
  padding: 0.75rem 1.5rem;
  background: var(--color-primary, #333);
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.search-form .search-submit:hover {
  background: var(--color-primary-hover, #0073aa);
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

.contact-page .page-content {
  max-width: 600px;
}

.contact-page .entry-content {
  margin-bottom: 2rem;
}

.contact-page .contact-page-content {
  max-width: 1100px;
}

.contact-page-layout {
  display: block;
}

.contact-page-content--with-media .contact-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  align-items: start;
  gap: 2.5rem;
}

.contact-page-main {
  max-width: 600px;
}

.contact-page-content--with-media .contact-page-main {
  max-width: none;
}

.contact-page-media {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 340px;
  justify-self: center;
}

.contact-page-media-item {
  margin: 0 auto;
  width: 100%;
  max-width: 220px;
  display: flex;
  justify-content: center;
}

.contact-page-media-item img {
  width: 100%;
  margin: 0 auto;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.contact-form {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group .required {
  color: #c00;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-hover, #0073aa);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-message {
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.contact-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.contact-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

@media (max-width: 820px) {
  .contact-page-content--with-media .contact-page-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1rem 5px;
  }

  .site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .site-branding {
    order: 0;
    padding: 0;
  }

  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    order: 1;
  }

  .main-navigation {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    order: 2;
  }

  .main-navigation.toggled {
    display: flex;
    padding-bottom: 1rem;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }

  .main-navigation li {
    border-top: 1px solid #eee;
  }

  .main-navigation a {
    display: block;
    padding: 0.75rem 0;
  }

  .cart-link {
    margin-top: 1rem;
    text-align: center;
    border: 1px solid #333;
    color: #333;
  }

  .site-content {
    padding: 1.5rem 1rem;
  }

  .site-content.front-page {
    padding: 0;
  }

  .entry-title {
    font-size: 1.5rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .woocommerce ul.products {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero {
    padding: 4rem 1.5rem 5rem;
    min-height: 400px;
  }

  .front-page .hero {
    min-height: clamp(460px, 92vw, 620px);
    align-items: flex-end;
    position: relative;
    overflow: visible;
    padding: 0;
    margin-bottom: 5rem;
    display: block;
  }

  .front-page .hero-media {
    position: static;
    margin: 0;
  }

  .front-page .hero-media img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: cover;
    display: block;
  }

  .front-page .hero-content {
    position: relative;
    left: auto;
    right: auto;
    bottom: 0;
    margin: 1rem 0 0;
    transform: none;
    max-width: none;
    justify-content: flex-start;
    padding: 0 1rem;
  }

  .front-page-hero-rich-text {
    width: min(94vw, 780px);
  }

  .hero h1,
  .hero-heading {
    font-size: 2.25rem;
  }

  .hero p,
  .hero-description {
    font-size: 1.1rem;
  }

  .front-page section {
    padding: 3rem 1rem;
  }

  .front-page-sticky-stack {
    padding: 0;
    --front-page-sticky-top: 6rem;
    --front-page-sticky-bottom-clearance: 0.75rem;
    --front-page-sticky-available-height: calc(
      100vh - var(--front-page-sticky-top) - var(--front-page-sticky-bottom-clearance)
    );
    --front-page-sticky-overlap-delay: 2.5rem;
  }

  .front-page-sticky-section {
    top: var(--front-page-sticky-top);
    min-height: min(var(--front-page-sticky-available-height), 640px);
    margin-bottom: var(--front-page-sticky-overlap-delay);
  }

  body.admin-bar .front-page-sticky-stack {
    --front-page-sticky-top: calc(2rem + 46px);
    --front-page-sticky-available-height: calc(
      100vh - var(--front-page-sticky-top) - var(--front-page-sticky-bottom-clearance)
    );
  }

  .front-page-sticky-panel {
    padding: 0;
    border-radius: 0px;
  }

  .front-page-sticky-panel.has-media-image {
    gap: 0;
  }

  .front-page-sticky-media {
    min-height: clamp(180px, 52vw, 260px);
    max-height: none;
    padding: 0;
    border-radius: 0;
  }

  .front-page-sticky-media-image {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: top center;
  }

  @supports (height: 100svh) {
    .front-page-sticky-stack {
      --front-page-sticky-available-height: calc(
        100svh - var(--front-page-sticky-top) - var(--front-page-sticky-bottom-clearance)
      );
    }

    body.admin-bar .front-page-sticky-stack {
      --front-page-sticky-available-height: calc(
        100svh - var(--front-page-sticky-top) - var(--front-page-sticky-bottom-clearance)
      );
    }
  }

  .front-page-sticky-content {
    width: 100%;
    margin: 0;
    padding: 1.25rem;
    border-radius: 0;
  }

  .front-page-sticky-links-actions {
    justify-content: center;
  }

  .front-page-sticky-links-actions--split {
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    padding-inline: 1rem;
    box-sizing: border-box;
  }

  .front-page-sticky-panel.has-media-image .front-page-sticky-links-actions--split {
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: stretch;
    margin-top: 1rem;
  }

  .front-page-sticky-links-actions--split .front-page-sticky-link {
    flex: 0 1 auto;
    max-width: none;
    margin-inline: 0;
    width: 100%;
  }

  .front-page-sticky-panel.has-media-image
    .front-page-sticky-links-actions--split
    .front-page-sticky-link {
    max-width: none;
    min-width: 0;
    margin-inline: 0;
    width: 100%;
  }

  .featured-products {
    padding: 3rem 1rem !important;
  }

  .featured-products h2 {
    font-size: 2rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand-contact {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    justify-self: center;
  }

  .footer-contact-info,
  .footer-links,
  .footer-social {
    justify-self: center;
  }

  .footer-links ul {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .footer-social .social-link {
    justify-content: center;
  }
}
