@charset "UTF-8";
/*
Theme Name: Herbar Natura
Author: Aryss.Studio
Author URI: https://aryss.studio
Description: Custom theme stylesheet (compiled from SCSS)
Version: 0.1
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: herbar-natura
*/
:root {
  --hn-color-bg: #ffffff;
  --hn-color-text: #333333;
  --hn-color-text-black: #000000;
  --hn-color-text-invert: #ffffff;
  --hn-color-border-soft: #eeeeee;
  --hn-color-border-medium: #ADADAD;
  --hn-color-brand: #085A2F;
  --hn-color-brand-light: #178F50;
  --hn-color-brand-light-hover: #1FAF60;
  --hn-color-brand-medium: #0c6a3b;
  --hn-color-brand-strong: #0a5a32;
  /* Functional colors */
  --hn-color-success-base: #178F50;
  --hn-color-success-light: #E0F5E9;
  --hn-color-success-dark: #0F6A3C;
  --hn-color-warning-base: #C47C00;
  --hn-color-warning-light: #FFF4D8;
  --hn-color-warning-dark: #8A5700;
  --hn-color-alert-base: #C0392B;
  --hn-color-alert-light: #FDE8E6;
  --hn-color-alert-dark: #962519;
  --hn-color-info-base: #0C6FB8;
  --hn-color-info-light: #E5F2FD;
  --hn-color-info-dark: #084F85;
  --hn-color-neutral-base: #666666;
  --hn-color-neutral-light: #EFEFEF;
  --hn-color-neutral-dark: #444444;
  --hn-color-footer-bg: #0a3d25;
  --hn-color-header-top-bg: #000000;
  --hn-color-section-soft-green: #DDFAEB;
  --hn-color-section-gray: #EEEEEE;
  /* Global typography scale (Desktop defaults) */
  --hn-font-size-display: 64px;
  --hn-font-size-heading-xl: 40px;
  --hn-font-size-heading-lg: 32px;
  --hn-font-size-heading-md: 24px;
  --hn-font-size-heading-card: 36px;
  --hn-font-size-body-xl: 24px;
  --hn-font-size-body-lg: 20px;
  --hn-font-size-body: 16px;
  --hn-font-size-body-sm: 14px;
  /* Vertical rhythm units */
  --hn-space-xs: 0.5rem; /* 8px */
  --hn-space-sm: 0.75rem; /* 12px */
  --hn-space-md: 1rem; /* 16px */
  --hn-space-lg: 1.5rem; /* 24px */
  --hn-space-xl: 2rem; /* 32px */
  --hn-space-xxl: 3rem; /* 48px */
  --hn-space-xxxl: 6rem; /* 96px */
  /* Header height for fixed header offset calculations (measured: 89.97px) */
  --hn-header-height: 90px;
}

@media (max-width: 1023px) {
  :root {
    --hn-font-size-display: 48px;
    --hn-font-size-heading-xl: 32px;
    --hn-font-size-heading-lg: 28px;
    --hn-font-size-heading-md: 22px;
    --hn-font-size-body-xl: 20px;
    --hn-font-size-body-lg: 18px;
    --hn-font-size-body: 16px;
    --hn-font-size-body-sm: 14px;
    /* Adjust header height for tablet if different from desktop */
    --hn-header-height: 90px;
  }
}
@media (max-width: 767px) {
  :root {
    --hn-font-size-display: 40px;
    --hn-font-size-heading-xl: 28px;
    --hn-font-size-heading-lg: 24px;
    --hn-font-size-heading-md: 20px;
    --hn-font-size-body-xl: 20px;
    --hn-font-size-body-lg: 18px;
    --hn-font-size-body: 16px;
    --hn-font-size-body-sm: 14px;
    /* Adjust header height for mobile if different from desktop */
    --hn-header-height: 80px;
  }
}
/* Reset and base defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Typography and links */
body {
  font-family: "Roboto Slab", serif;
  line-height: 1.6;
  color: #333;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: var(--hn-space-lg);
  color: var(--hn-color-text);
}

h1 {
  font-size: var(--hn-font-size-display);
  line-height: 1.1;
}

h2 {
  font-size: var(--hn-font-size-heading-xl);
}

h3 {
  font-size: var(--hn-font-size-heading-lg);
}

h4 {
  font-size: var(--hn-font-size-heading-md);
}

h5 {
  font-size: var(--hn-font-size-body-xl);
}

h6 {
  font-size: var(--hn-font-size-body-lg);
}

/* Paragraphs and text elements */
p {
  font-size: var(--hn-font-size-body);
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: var(--hn-space-lg);
}

/* Lists */
ul, ol {
  font-size: var(--hn-font-size-body);
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: var(--hn-space-lg);
  padding-left: var(--hn-space-xl);
}

li {
  margin-bottom: var(--hn-space-sm);
}

li:last-child {
  margin-bottom: 0;
}

/* Nested lists */
ul ul, ol ol, ul ol, ol ul {
  margin-top: var(--hn-space-sm);
  margin-bottom: 0;
}

/* Small text */
small {
  font-size: var(--hn-font-size-body-sm);
  line-height: 1.4;
}

/* Links */
a {
  color: var(--hn-color-brand-light);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover,
a:focus {
  color: var(--hn-color-brand-light-hover);
  text-decoration: underline;
}

/* Text selection */
::selection {
  background-color: var(--hn-color-brand-light);
  color: var(--hn-color-text-invert);
}

/* Focus styles for keyboard navigation */
a:focus-visible {
  outline: 2px solid var(--hn-color-brand-light);
  outline-offset: 2px;
}

/* Entry titles for search and archive pages */
.entry-title {
  font-size: 32px;
  margin-top: var(--hn-space-lg);
  line-height: 1.3;
  font-weight: 500;
  color: var(--hn-color-text);
}
@media (max-width: 1023px) {
  .entry-title {
    font-size: 28px;
  }
}
@media (max-width: 767px) {
  .entry-title {
    font-size: 24px;
  }
}
.entry-title {
  /* Center align for WooCommerce archive pages */
}
.woocommerce .entry-title, .woocommerce-page .entry-title {
  text-align: center;
}

/* ==========================================================================
   Form Fields System
   Unified styling for input, textarea, and select elements
   ========================================================================== */
/* Global form elements font inheritance */
input,
select,
textarea,
button {
  font-family: "Roboto Slab", serif;
}

/* ==========================================================================
   Form Field Base
   ========================================================================== */
.hn-input,
.hn-textarea,
.hn-select {
  /* Base visual properties */
  display: block;
  width: 100%;
  font-family: "Roboto Slab", serif;
  font-size: var(--hn-font-size-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--hn-color-text);
  background-color: var(--hn-color-bg);
  border: 2px solid var(--hn-color-brand-light);
  border-radius: 8px;
  transition: border-color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 0.2s ease-out;
  /* Focus state */
}
.hn-input:focus,
.hn-textarea:focus,
.hn-select:focus {
  outline: none;
  border-color: var(--hn-color-brand-light-hover);
  box-shadow: 0 0 0 3px rgba(23, 143, 80, 0.15);
}
.hn-input,
.hn-textarea,
.hn-select {
  /* Placeholder styling */
}
.hn-input::placeholder,
.hn-textarea::placeholder,
.hn-select::placeholder {
  color: var(--hn-color-neutral-base);
  opacity: 0.7;
}

/* Input specific */
.hn-input {
  padding: var(--hn-space-sm) var(--hn-space-md);
  height: auto;
  /* Hide number input arrows */
}
.hn-input[type=number]::-webkit-inner-spin-button, .hn-input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.hn-input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.hn-input {
  /* Search input */
}
.hn-input[type=search]::-webkit-search-decoration, .hn-input[type=search]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

/* Textarea specific */
.hn-textarea {
  padding: var(--hn-space-sm) var(--hn-space-md);
  min-height: 120px;
  resize: vertical;
}

/* Select specific */
.hn-select {
  padding: var(--hn-space-sm) 2.5rem var(--hn-space-sm) var(--hn-space-md);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2010%206%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1%201l4%204%204-4%22%20stroke%3D%22%23178F50%22%20stroke-width%3D%223%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 10px 6px;
  cursor: pointer;
}

/* ==========================================================================
   Size Modifiers
   ========================================================================== */
/* Small */
.hn-input--small,
.hn-textarea--small,
.hn-select--small {
  font-size: var(--hn-font-size-body-sm);
  padding: var(--hn-space-xs) var(--hn-space-sm);
  border-radius: 6px;
}

.hn-select--small {
  padding-right: 2rem;
  background-position: right 0.5rem center;
  background-size: 8px 5px;
}

.hn-textarea--small {
  min-height: 80px;
}

/* Large */
.hn-input--large,
.hn-textarea--large,
.hn-select--large {
  font-size: var(--hn-font-size-body-lg);
  padding: var(--hn-space-md) var(--hn-space-lg);
}

.hn-select--large {
  padding-right: 3rem;
}

.hn-textarea--large {
  min-height: 160px;
}

/* Extra Large */
.hn-input--xlarge,
.hn-textarea--xlarge,
.hn-select--xlarge {
  font-size: var(--hn-font-size-body-xl);
  padding: var(--hn-space-lg) var(--hn-space-xl);
  border-radius: 10px;
}

.hn-select--xlarge {
  padding-right: 3.5rem;
  background-size: 12px 7px;
}

.hn-textarea--xlarge {
  min-height: 200px;
}

/* ==========================================================================
   Visual Variants
   Default: outline (white bg, brand border)
   ========================================================================== */
/* Filled variant */
.hn-input--filled,
.hn-textarea--filled,
.hn-select--filled {
  background-color: var(--hn-color-neutral-light);
  border-color: var(--hn-color-neutral-light);
}
.hn-input--filled:focus,
.hn-textarea--filled:focus,
.hn-select--filled:focus {
  background-color: var(--hn-color-bg);
  border-color: var(--hn-color-brand-light-hover);
}

/* ==========================================================================
   Validation States
   ========================================================================== */
/* Error state */
.hn-input--error,
.hn-textarea--error,
.hn-select--error {
  border-color: var(--hn-color-alert-base);
  background-color: var(--hn-color-alert-light);
}
.hn-input--error:focus,
.hn-textarea--error:focus,
.hn-select--error:focus {
  border-color: var(--hn-color-alert-dark);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

/* Success state */
.hn-input--success,
.hn-textarea--success,
.hn-select--success {
  border-color: var(--hn-color-success-base);
  background-color: var(--hn-color-success-light);
}
.hn-input--success:focus,
.hn-textarea--success:focus,
.hn-select--success:focus {
  border-color: var(--hn-color-success-dark);
  box-shadow: 0 0 0 3px rgba(23, 143, 80, 0.15);
}

/* Warning state */
.hn-input--warning,
.hn-textarea--warning,
.hn-select--warning {
  border-color: var(--hn-color-warning-base);
  background-color: var(--hn-color-warning-light);
}
.hn-input--warning:focus,
.hn-textarea--warning:focus,
.hn-select--warning:focus {
  border-color: var(--hn-color-warning-dark);
  box-shadow: 0 0 0 3px rgba(196, 124, 0, 0.15);
}

/* ==========================================================================
   Disabled State
   Supported via attribute [disabled] or modifier class --disabled
   ========================================================================== */
.hn-input[disabled],
.hn-input--disabled,
.hn-textarea[disabled],
.hn-textarea--disabled,
.hn-select[disabled],
.hn-select--disabled {
  background-color: var(--hn-color-border-soft);
  border-color: var(--hn-color-border-medium);
  color: var(--hn-color-neutral-base);
  cursor: not-allowed;
  opacity: 0.7;
}
.hn-input[disabled]:focus,
.hn-input--disabled:focus,
.hn-textarea[disabled]:focus,
.hn-textarea--disabled:focus,
.hn-select[disabled]:focus,
.hn-select--disabled:focus {
  border-color: var(--hn-color-border-medium);
  box-shadow: none;
}

.hn-select[disabled],
.hn-select--disabled {
  background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2010%206%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1%201l4%204%204-4%22%20stroke%3D%22%23ADADAD%22%20stroke-width%3D%223%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
}

/* ==========================================================================
   Checkbox & Radio System
   Custom styled checkbox and radio buttons with label association
   ========================================================================== */
/* Hide native checkbox/radio visually but keep accessible and clickable */
.hn-checkbox,
.hn-radio {
  position: absolute;
  opacity: 0;
  width: 20px;
  height: 20px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1;
}

/* Base label styling for checkbox/radio */
.hn-checkbox-label,
.hn-radio-label {
  display: inline-flex;
  align-items: center;
  gap: var(--hn-space-sm);
  font-family: "Roboto Slab", serif;
  font-size: var(--hn-font-size-body);
  color: var(--hn-color-text);
  cursor: pointer;
  user-select: none;
  /* Custom box (checkbox square or radio circle) */
}
.hn-checkbox-label::before,
.hn-radio-label::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-color: var(--hn-color-bg);
  border: 2px solid var(--hn-color-brand-light);
  transition: border-color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

/* Checkbox specific box shape */
.hn-checkbox-label::before {
  border-radius: 4px;
}

/* Radio specific circle shape */
.hn-radio-label::before {
  border-radius: 50%;
}

/* Checkmark for checkbox (hidden by default) */
.hn-checkbox-label::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2010%208%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1%204l3%203%205-6%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.15s ease-out;
}

/* Dot for radio (hidden by default) */
.hn-radio-label::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 10px;
  height: 10px;
  background-color: var(--hn-color-text-invert);
  border-radius: 50%;
  transition: transform 0.15s ease-out;
}

/* Position relative on label for absolute positioning of checkmark/dot */
.hn-checkbox-label,
.hn-radio-label {
  position: relative;
  padding-left: 28px;
}
.hn-checkbox-label::before,
.hn-radio-label::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Text wrapper inside checkbox/radio label - keeps text inline while parent uses flex */
.hn-checkbox-label-text,
.hn-radio-label-text {
  display: inline;
}

/* Checked state */
.hn-checkbox:checked + .hn-checkbox-label::before,
.hn-radio:checked + .hn-radio-label::before {
  background-color: var(--hn-color-brand-light);
  border-color: var(--hn-color-brand-light);
}

.hn-checkbox:checked + .hn-checkbox-label::after,
.hn-radio:checked + .hn-radio-label::after {
  transform: translateY(-50%) scale(1);
}

/* Focus state */
.hn-checkbox:focus-visible + .hn-checkbox-label::before,
.hn-radio:focus-visible + .hn-radio-label::before {
  outline: none;
  border-color: var(--hn-color-brand-light-hover);
  box-shadow: 0 0 0 3px rgba(23, 143, 80, 0.15);
}

/* Disabled state */
.hn-checkbox[disabled] + .hn-checkbox-label,
.hn-checkbox--disabled + .hn-checkbox-label,
.hn-radio[disabled] + .hn-radio-label,
.hn-radio--disabled + .hn-radio-label {
  cursor: not-allowed;
  opacity: 0.6;
}

.hn-checkbox[disabled] + .hn-checkbox-label::before,
.hn-checkbox--disabled + .hn-checkbox-label::before,
.hn-radio[disabled] + .hn-radio-label::before,
.hn-radio--disabled + .hn-radio-label::before {
  background-color: var(--hn-color-border-soft);
  border-color: var(--hn-color-border-medium);
}

.hn-checkbox[disabled]:checked + .hn-checkbox-label::before,
.hn-checkbox--disabled:checked + .hn-checkbox-label::before,
.hn-radio[disabled]:checked + .hn-radio-label::before,
.hn-radio--disabled:checked + .hn-radio-label::before {
  background-color: var(--hn-color-neutral-base);
  border-color: var(--hn-color-neutral-base);
}

/* Validation states */
.hn-checkbox--error + .hn-checkbox-label::before,
.hn-radio--error + .hn-radio-label::before {
  border-color: var(--hn-color-alert-base);
  background-color: var(--hn-color-alert-light);
}

.hn-checkbox--error:checked + .hn-checkbox-label::before,
.hn-radio--error:checked + .hn-radio-label::before {
  background-color: var(--hn-color-alert-base);
  border-color: var(--hn-color-alert-base);
}

.hn-checkbox--success + .hn-checkbox-label::before,
.hn-radio--success + .hn-radio-label::before {
  border-color: var(--hn-color-success-base);
  background-color: var(--hn-color-success-light);
}

.hn-checkbox--success:checked + .hn-checkbox-label::before,
.hn-radio--success:checked + .hn-radio-label::before {
  background-color: var(--hn-color-success-base);
  border-color: var(--hn-color-success-base);
}

.hn-checkbox--warning + .hn-checkbox-label::before,
.hn-radio--warning + .hn-radio-label::before {
  border-color: var(--hn-color-warning-base);
  background-color: var(--hn-color-warning-light);
}

.hn-checkbox--warning:checked + .hn-checkbox-label::before,
.hn-radio--warning:checked + .hn-radio-label::before {
  background-color: var(--hn-color-warning-base);
  border-color: var(--hn-color-warning-base);
}

/* Size modifiers for checkbox/radio */
.hn-checkbox--small,
.hn-radio--small {
  width: 16px;
  height: 16px;
}

.hn-checkbox--small + .hn-checkbox-label,
.hn-radio--small + .hn-radio-label {
  font-size: var(--hn-font-size-body-sm);
  padding-left: 24px;
}
.hn-checkbox--small + .hn-checkbox-label::before,
.hn-radio--small + .hn-radio-label::before {
  width: 16px;
  height: 16px;
}
.hn-checkbox--small + .hn-checkbox-label::after,
.hn-radio--small + .hn-radio-label::after {
  left: 4px;
  width: 11px;
  height: 11px;
}

.hn-checkbox--large,
.hn-radio--large {
  width: 26px;
  height: 26px;
}

.hn-checkbox--large + .hn-checkbox-label,
.hn-radio--large + .hn-radio-label {
  font-size: var(--hn-font-size-body-lg);
  padding-left: 36px;
}
.hn-checkbox--large + .hn-checkbox-label::before,
.hn-radio--large + .hn-radio-label::before {
  width: 26px;
  height: 26px;
}
.hn-checkbox--large + .hn-checkbox-label::after,
.hn-radio--large + .hn-radio-label::after {
  left: 7px;
  width: 16px;
  height: 16px;
}

/* Filled variant for checkbox/radio */
.hn-checkbox--filled + .hn-checkbox-label::before,
.hn-radio--filled + .hn-radio-label::before {
  background-color: var(--hn-color-neutral-light);
  border-color: var(--hn-color-neutral-light);
}

.hn-checkbox--filled:checked + .hn-checkbox-label::before,
.hn-radio--filled:checked + .hn-radio-label::before {
  background-color: var(--hn-color-brand-light);
  border-color: var(--hn-color-brand-light);
}

/* ==========================================================================
   File Input
   Custom styled file upload button
   ========================================================================== */
.hn-file {
  display: block;
  width: 100%;
  font-family: "Roboto Slab", serif;
  font-size: var(--hn-font-size-body);
  color: var(--hn-color-text);
  /* Style the file selector button */
}
.hn-file::file-selector-button {
  font-family: inherit;
  font-size: var(--hn-font-size-body);
  padding: var(--hn-space-sm) var(--hn-space-md);
  background-color: var(--hn-color-brand-light);
  color: var(--hn-color-text-invert);
  border: 2px solid var(--hn-color-brand-light);
  border-radius: 8px;
  cursor: pointer;
  margin-right: var(--hn-space-md);
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out, transform 0.15s ease-out;
}
.hn-file::file-selector-button:hover {
  background-color: var(--hn-color-brand-light-hover);
  border-color: var(--hn-color-brand-light-hover);
  transform: translateY(-1px);
}
.hn-file {
  /* Focus state for the whole input */
}
.hn-file:focus {
  outline: none;
}
.hn-file:focus::file-selector-button {
  outline: none;
  border-color: var(--hn-color-brand-light-hover);
  box-shadow: 0 0 0 3px rgba(23, 143, 80, 0.15);
}

/* File input variants */
.hn-file--small::file-selector-button {
  font-size: var(--hn-font-size-body-sm);
  padding: var(--hn-space-xs) var(--hn-space-sm);
  border-radius: 6px;
}

.hn-file--large::file-selector-button {
  font-size: var(--hn-font-size-body-lg);
  padding: var(--hn-space-md) var(--hn-space-lg);
}

.hn-file--filled::file-selector-button {
  background-color: var(--hn-color-neutral-light);
  border-color: var(--hn-color-neutral-light);
  color: var(--hn-color-text);
}

.hn-file--filled::file-selector-button:hover {
  background-color: var(--hn-color-border-soft);
  border-color: var(--hn-color-border-medium);
}

/* Disabled state */
.hn-file[disabled],
.hn-file--disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.hn-file[disabled]::file-selector-button,
.hn-file--disabled::file-selector-button {
  background-color: var(--hn-color-border-soft);
  border-color: var(--hn-color-border-medium);
  color: var(--hn-color-neutral-base);
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   Range Input (Slider)
   ========================================================================== */
.hn-range {
  display: block;
  width: 100%;
  height: 8px;
  padding: 0;
  background-color: var(--hn-color-border-soft);
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  /* Webkit (Chrome, Safari, Edge) thumb */
}
.hn-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background-color: var(--hn-color-brand-light);
  border-radius: 50%;
  border: 2px solid var(--hn-color-brand-light);
  cursor: pointer;
  transition: background-color 0.2s ease-out, transform 0.15s ease-out, box-shadow 0.2s ease-out;
}
.hn-range::-webkit-slider-thumb:hover {
  background-color: var(--hn-color-brand-light-hover);
  border-color: var(--hn-color-brand-light-hover);
  transform: scale(1.1);
}
.hn-range {
  /* Firefox thumb */
}
.hn-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background-color: var(--hn-color-brand-light);
  border-radius: 50%;
  border: 2px solid var(--hn-color-brand-light);
  cursor: pointer;
  transition: background-color 0.2s ease-out, transform 0.15s ease-out;
}
.hn-range::-moz-range-thumb:hover {
  background-color: var(--hn-color-brand-light-hover);
  border-color: var(--hn-color-brand-light-hover);
  transform: scale(1.1);
}
.hn-range {
  /* Firefox track */
}
.hn-range::-moz-range-track {
  height: 8px;
  background-color: var(--hn-color-border-soft);
  border-radius: 4px;
}
.hn-range {
  /* Focus state */
}
.hn-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(23, 143, 80, 0.25);
}
.hn-range:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(23, 143, 80, 0.25);
}

/* Range size modifiers */
.hn-range--small {
  height: 6px;
}
.hn-range--small::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
}
.hn-range--small::-moz-range-thumb {
  width: 16px;
  height: 16px;
}

.hn-range--large {
  height: 12px;
}
.hn-range--large::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
}
.hn-range--large::-moz-range-thumb {
  width: 26px;
  height: 26px;
}

/* Range disabled state */
.hn-range[disabled],
.hn-range--disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.hn-range[disabled]::-webkit-slider-thumb,
.hn-range--disabled::-webkit-slider-thumb {
  background-color: var(--hn-color-border-medium);
  border-color: var(--hn-color-border-medium);
  cursor: not-allowed;
}
.hn-range[disabled]::-moz-range-thumb,
.hn-range--disabled::-moz-range-thumb {
  background-color: var(--hn-color-border-medium);
  border-color: var(--hn-color-border-medium);
  cursor: not-allowed;
}

/* ==========================================================================
   Date & Time Inputs
   ========================================================================== */
.hn-date,
.hn-datetime,
.hn-time,
.hn-month,
.hn-week {
  display: block;
  width: 100%;
  font-family: "Roboto Slab", serif;
  font-size: var(--hn-font-size-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--hn-color-text);
  background-color: var(--hn-color-bg);
  border: 2px solid var(--hn-color-brand-light);
  border-radius: 8px;
  padding: var(--hn-space-sm) var(--hn-space-md);
  transition: border-color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 0.2s ease-out;
  /* Hide native calendar icon in some browsers and use custom */
}
.hn-date::-webkit-calendar-picker-indicator,
.hn-datetime::-webkit-calendar-picker-indicator,
.hn-time::-webkit-calendar-picker-indicator,
.hn-month::-webkit-calendar-picker-indicator,
.hn-week::-webkit-calendar-picker-indicator {
  filter: invert(0.4);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease-out;
}
.hn-date::-webkit-calendar-picker-indicator:hover,
.hn-datetime::-webkit-calendar-picker-indicator:hover,
.hn-time::-webkit-calendar-picker-indicator:hover,
.hn-month::-webkit-calendar-picker-indicator:hover,
.hn-week::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}
.hn-date:focus,
.hn-datetime:focus,
.hn-time:focus,
.hn-month:focus,
.hn-week:focus {
  outline: none;
  border-color: var(--hn-color-brand-light-hover);
  box-shadow: 0 0 0 3px rgba(23, 143, 80, 0.15);
}

/* Date input variants */
.hn-date--small,
.hn-datetime--small,
.hn-time--small,
.hn-month--small,
.hn-week--small {
  font-size: var(--hn-font-size-body-sm);
  padding: var(--hn-space-xs) var(--hn-space-sm);
  border-radius: 6px;
}

.hn-date--large,
.hn-datetime--large,
.hn-time--large,
.hn-month--large,
.hn-week--large {
  font-size: var(--hn-font-size-body-lg);
  padding: var(--hn-space-md) var(--hn-space-lg);
}

.hn-date--xlarge,
.hn-datetime--xlarge,
.hn-time--xlarge,
.hn-month--xlarge,
.hn-week--xlarge {
  font-size: var(--hn-font-size-body-xl);
  padding: var(--hn-space-lg) var(--hn-space-xl);
  border-radius: 10px;
}

.hn-date--filled,
.hn-datetime--filled,
.hn-time--filled,
.hn-month--filled,
.hn-week--filled {
  background-color: var(--hn-color-neutral-light);
  border-color: var(--hn-color-neutral-light);
}
.hn-date--filled:focus,
.hn-datetime--filled:focus,
.hn-time--filled:focus,
.hn-month--filled:focus,
.hn-week--filled:focus {
  background-color: var(--hn-color-bg);
  border-color: var(--hn-color-brand-light-hover);
}

/* Date input validation states */
.hn-date--error,
.hn-datetime--error,
.hn-time--error,
.hn-month--error,
.hn-week--error {
  border-color: var(--hn-color-alert-base);
  background-color: var(--hn-color-alert-light);
}
.hn-date--error:focus,
.hn-datetime--error:focus,
.hn-time--error:focus,
.hn-month--error:focus,
.hn-week--error:focus {
  border-color: var(--hn-color-alert-dark);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

.hn-date--success,
.hn-datetime--success,
.hn-time--success,
.hn-month--success,
.hn-week--success {
  border-color: var(--hn-color-success-base);
  background-color: var(--hn-color-success-light);
}
.hn-date--success:focus,
.hn-datetime--success:focus,
.hn-time--success:focus,
.hn-month--success:focus,
.hn-week--success:focus {
  border-color: var(--hn-color-success-dark);
  box-shadow: 0 0 0 3px rgba(23, 143, 80, 0.15);
}

.hn-date--warning,
.hn-datetime--warning,
.hn-time--warning,
.hn-month--warning,
.hn-week--warning {
  border-color: var(--hn-color-warning-base);
  background-color: var(--hn-color-warning-light);
}
.hn-date--warning:focus,
.hn-datetime--warning:focus,
.hn-time--warning:focus,
.hn-month--warning:focus,
.hn-week--warning:focus {
  border-color: var(--hn-color-warning-dark);
  box-shadow: 0 0 0 3px rgba(196, 124, 0, 0.15);
}

/* Date input disabled */
.hn-date[disabled],
.hn-date--disabled,
.hn-datetime[disabled],
.hn-datetime--disabled,
.hn-time[disabled],
.hn-time--disabled,
.hn-month[disabled],
.hn-month--disabled,
.hn-week[disabled],
.hn-week--disabled {
  background-color: var(--hn-color-border-soft);
  border-color: var(--hn-color-border-medium);
  color: var(--hn-color-neutral-base);
  cursor: not-allowed;
  opacity: 0.7;
}
.hn-date[disabled]:focus,
.hn-date--disabled:focus,
.hn-datetime[disabled]:focus,
.hn-datetime--disabled:focus,
.hn-time[disabled]:focus,
.hn-time--disabled:focus,
.hn-month[disabled]:focus,
.hn-month--disabled:focus,
.hn-week[disabled]:focus,
.hn-week--disabled:focus {
  border-color: var(--hn-color-border-medium);
  box-shadow: none;
}
.hn-date[disabled]::-webkit-calendar-picker-indicator,
.hn-date--disabled::-webkit-calendar-picker-indicator,
.hn-datetime[disabled]::-webkit-calendar-picker-indicator,
.hn-datetime--disabled::-webkit-calendar-picker-indicator,
.hn-time[disabled]::-webkit-calendar-picker-indicator,
.hn-time--disabled::-webkit-calendar-picker-indicator,
.hn-month[disabled]::-webkit-calendar-picker-indicator,
.hn-month--disabled::-webkit-calendar-picker-indicator,
.hn-week[disabled]::-webkit-calendar-picker-indicator,
.hn-week--disabled::-webkit-calendar-picker-indicator {
  cursor: not-allowed;
  opacity: 0.4;
}

/* ==========================================================================
   Color Input
   ========================================================================== */
.hn-color {
  display: block;
  width: 60px;
  height: 40px;
  padding: 4px;
  background-color: var(--hn-color-bg);
  border: 2px solid var(--hn-color-brand-light);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
  -webkit-appearance: none;
  appearance: none;
  /* Ensure the color swatch fills the space */
}
.hn-color::-webkit-color-swatch-wrapper {
  padding: 0;
}
.hn-color::-webkit-color-swatch {
  border: none;
  border-radius: 4px;
}
.hn-color::-moz-color-swatch {
  border: none;
  border-radius: 4px;
}
.hn-color:focus {
  outline: none;
  border-color: var(--hn-color-brand-light-hover);
  box-shadow: 0 0 0 3px rgba(23, 143, 80, 0.15);
}

/* Color input sizes */
.hn-color--small {
  width: 48px;
  height: 32px;
  padding: 3px;
  border-radius: 6px;
}

.hn-color--large {
  width: 72px;
  height: 48px;
  padding: 5px;
}

.hn-color--xlarge {
  width: 84px;
  height: 56px;
  padding: 6px;
  border-radius: 10px;
}

/* Color input disabled */
.hn-color[disabled],
.hn-color--disabled {
  background-color: var(--hn-color-border-soft);
  border-color: var(--hn-color-border-medium);
  cursor: not-allowed;
  opacity: 0.7;
}
.hn-color[disabled]:focus,
.hn-color--disabled:focus {
  border-color: var(--hn-color-border-medium);
  box-shadow: none;
}

/* ==========================================================================
   Floating Label Pattern
   Hybrid approach: floating for short inputs, static for textarea
   ========================================================================== */
/* Wrapper for input+label to isolate positioning from error messages */
.hn-field__input-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.hn-field--floating {
  position: relative;
  display: flex;
  flex-direction: column;
  /* Label acts as placeholder initially */
}
.hn-field--floating .hn-label {
  position: absolute;
  left: var(--hn-space-md);
  top: 50%;
  transform: translateY(-50%);
  font-family: "Roboto Slab", serif;
  font-size: var(--hn-font-size-body);
  font-weight: 400;
  color: var(--hn-color-neutral-base);
  pointer-events: none;
  transition: all 0.2s ease-out;
  background-color: var(--hn-color-bg);
  padding: 0 var(--hn-space-xs);
  line-height: 1;
}
.hn-field--floating {
  /* Input base for floating label */
}
.hn-field--floating .hn-input {
  padding: var(--hn-space-md) var(--hn-space-md);
  background-color: var(--hn-color-bg);
  /* Hide native placeholder when using floating label */
}
.hn-field--floating .hn-input::placeholder {
  opacity: 0;
}
.hn-field--floating {
  /* Floating state: when input has focus or value */
}
.hn-field--floating .hn-input:focus ~ .hn-label,
.hn-field--floating .hn-input:not(:placeholder-shown) ~ .hn-label {
  top: 0;
  transform: translateY(-50%);
  font-size: var(--hn-font-size-body-sm);
  color: var(--hn-color-brand);
}
.hn-field--floating {
  /* Focus state border color on label */
}
.hn-field--floating .hn-input:focus ~ .hn-label {
  color: var(--hn-color-brand-light-hover);
}
.hn-field--floating {
  /* Validation states - label colors */
}
.hn-field--floating .hn-input.hn-input--error ~ .hn-label {
  color: var(--hn-color-alert-base);
}
.hn-field--floating .hn-input.hn-input--error:focus ~ .hn-label {
  color: var(--hn-color-alert-dark);
}
.hn-field--floating .hn-input.hn-input--success ~ .hn-label {
  color: var(--hn-color-success-base);
}
.hn-field--floating .hn-input.hn-input--warning ~ .hn-label {
  color: var(--hn-color-warning-base);
}
.hn-field--floating {
  /* Disabled state */
}
.hn-field--floating .hn-input[disabled] ~ .hn-label,
.hn-field--floating .hn-input.hn-input--disabled ~ .hn-label {
  color: var(--hn-color-neutral-base);
  opacity: 0.6;
}
.hn-field--floating {
  /* Large size modifier */
}
.hn-field--floating--large .hn-label {
  font-size: var(--hn-font-size-body-lg);
  left: var(--hn-space-lg);
}
.hn-field--floating--large .hn-input {
  padding: var(--hn-space-lg) var(--hn-space-lg);
}
.hn-field--floating--large .hn-input:focus ~ .hn-label,
.hn-field--floating--large .hn-input:not(:placeholder-shown) ~ .hn-label {
  font-size: var(--hn-font-size-body);
}
.hn-field--floating {
  /* Small size modifier */
}
.hn-field--floating--small .hn-label {
  font-size: var(--hn-font-size-body-sm);
  left: var(--hn-space-sm);
}
.hn-field--floating--small .hn-input {
  padding: var(--hn-space-sm) var(--hn-space-sm);
}
.hn-field--floating--small .hn-input:focus ~ .hn-label,
.hn-field--floating--small .hn-input:not(:placeholder-shown) ~ .hn-label {
  font-size: 12px;
}
.hn-field--floating {
  /* Filled variant */
}
.hn-field--floating--filled .hn-input {
  background-color: var(--hn-color-neutral-light);
}
.hn-field--floating--filled .hn-input:focus {
  background-color: var(--hn-color-bg);
}
.hn-field--floating--filled .hn-label {
  background-color: transparent;
}
.hn-field--floating--filled .hn-input:focus ~ .hn-label,
.hn-field--floating--filled .hn-input:not(:placeholder-shown) ~ .hn-label {
  background-color: var(--hn-color-neutral-light);
}
.hn-field--floating--filled .hn-input:focus ~ .hn-label {
  background-color: var(--hn-color-bg);
}

/* ==========================================================================
   Form Field Layout Helpers
   ========================================================================== */
.hn-field {
  display: flex;
  flex-direction: column;
  gap: var(--hn-space-xs);
}

.hn-field-error {
  font-size: var(--hn-font-size-body-sm);
  color: var(--hn-color-alert-base);
}

/* Static label (for textarea and non-floating fields) */
.hn-label--static {
  font-family: "Roboto Slab", serif;
  font-size: var(--hn-font-size-body);
  font-weight: 400;
  color: var(--hn-color-text);
  margin-bottom: var(--hn-space-xs);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 767px) {
  .hn-input,
  .hn-textarea,
  .hn-select,
  .hn-date,
  .hn-datetime,
  .hn-time,
  .hn-month,
  .hn-week {
    font-size: 16px; /* Prevent iOS zoom on focus */
  }
  .hn-input--xlarge,
  .hn-textarea--xlarge,
  .hn-select--xlarge,
  .hn-date--xlarge,
  .hn-datetime--xlarge,
  .hn-time--xlarge,
  .hn-month--xlarge,
  .hn-week--xlarge {
    font-size: 18px;
    padding: var(--hn-space-md) var(--hn-space-lg);
  }
  .hn-checkbox-label,
  .hn-radio-label {
    font-size: 16px;
  }
  /* Floating label mobile adjustments */
  .hn-field--floating .hn-label {
    font-size: 16px; /* Prevent iOS zoom */
  }
  .hn-field--floating .hn-input:focus ~ .hn-label,
  .hn-field--floating .hn-input:not(:placeholder-shown) ~ .hn-label {
    font-size: 14px;
  }
  .hn-field--floating--large .hn-label {
    font-size: 16px;
  }
  .hn-field--floating--large .hn-input:focus ~ .hn-label,
  .hn-field--floating--large .hn-input:not(:placeholder-shown) ~ .hn-label {
    font-size: 14px;
  }
}
/* Layout helpers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilities */
/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Offset anchor targets for fixed header using header height variable */
[id] {
  scroll-margin-top: var(--hn-header-height);
}

/* Hide empty elements globally (exclude form elements, void elements, and specific classes) */
div:empty:not(.header-icon):not(.header-contact-icon):not(.search-form__icon):not(.wc-block-components-button__text),
section:empty,
article:empty,
aside:empty,
header:empty,
footer:empty,
nav:empty,
main:empty,
figure:empty,
figcaption:empty,
details:empty,
summary:empty,
dialog:empty,
span:empty:not(.header-icon):not(.header-contact-icon):not(.search-form__icon):not(.wc-block-components-button__text):not(.wc-block-components-spinner),
p:empty,
h1:empty,
h2:empty,
h3:empty,
h4:empty,
h5:empty,
h6:empty {
  display: none;
}

/* Text alignment */
html.mobile-menu-open,
html.mobile-menu-open body {
  overflow: hidden;
  height: 100%;
}

/* Hide empty paragraphs globally to avoid layout gaps */
p:empty {
  display: none;
  margin: 0;
  padding: 0;
}

/* Buttons system */
.hn-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--hn-space-sm);
  background-color: var(--hn-color-brand-light);
  color: var(--hn-color-text-invert);
  font-size: var(--hn-font-size-body-lg);
  font-weight: 300;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  border-width: 1px;
  border-style: solid;
  border-color: var(--hn-color-brand-light);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out, transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.hn-button:hover, .hn-button:focus {
  background-color: var(--hn-color-brand-light-hover);
  border-color: var(--hn-color-brand-light-hover);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}
.hn-button:not(.hn-button--outline):not(.hn-button--outline-filled):hover, .hn-button:not(.hn-button--outline):not(.hn-button--outline-filled):focus {
  color: var(--hn-color-text-invert);
}
.hn-button:focus-visible {
  outline: 2px solid var(--hn-color-brand);
  outline-offset: 2px;
}
.hn-button--small {
  padding: var(--hn-space-sm);
  font-size: var(--hn-font-size-body-sm);
}
.hn-button--large {
  padding: var(--hn-space-md);
  font-size: var(--hn-font-size-body-lg);
}
.hn-button--vpad-2x {
  padding-block: var(--hn-space-md);
}
.hn-button--hpad-2x {
  padding-inline: var(--hn-space-md);
}
.hn-button--pad-2x {
  padding: var(--hn-space-md);
}
.hn-button--pad-wide {
  padding-left: 28px;
  padding-right: 28px;
}
.hn-button--full-width {
  width: 100%;
}
.hn-button--ucase {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hn-button--bold {
  font-weight: 700;
}
.hn-button--outline {
  background-color: transparent;
  color: var(--hn-color-brand-light);
}
.hn-button--outline-filled {
  background-color: var(--hn-color-bg);
  color: var(--hn-color-brand-light);
}
.hn-button--link {
  background-color: transparent !important;
  color: var(--hn-color-brand-light) !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.hn-button--link:hover, .hn-button--link:focus {
  background-color: transparent !important;
  color: var(--hn-color-brand-light-hover) !important;
  transform: none !important;
  box-shadow: none !important;
  text-decoration: underline !important;
}
.hn-button--success {
  background-color: var(--hn-color-success-base);
  color: var(--hn-color-text-invert);
  border: 1px solid var(--hn-color-success-base);
}
.hn-button--success:hover, .hn-button--success:focus-visible {
  background-color: var(--hn-color-success-dark);
  border-color: var(--hn-color-success-dark);
  color: var(--hn-color-text-invert);
}
.hn-button--success:active {
  background-color: var(--hn-color-success-dark);
  color: var(--hn-color-text-invert);
}
.hn-button--warning {
  background-color: var(--hn-color-warning-base);
  color: var(--hn-color-text-invert);
  border: 1px solid var(--hn-color-warning-base);
}
.hn-button--warning:hover, .hn-button--warning:focus-visible {
  background-color: var(--hn-color-warning-dark);
  border-color: var(--hn-color-warning-dark);
  color: var(--hn-color-text-invert);
}
.hn-button--warning:active {
  background-color: var(--hn-color-warning-dark);
  color: var(--hn-color-text-invert);
}
.hn-button--alert {
  background-color: var(--hn-color-alert-base);
  color: var(--hn-color-text-invert);
  border: 1px solid var(--hn-color-alert-base);
}
.hn-button--alert:hover, .hn-button--alert:focus-visible {
  background-color: var(--hn-color-alert-dark);
  border-color: var(--hn-color-alert-dark);
  color: var(--hn-color-text-invert);
}
.hn-button--alert:active {
  background-color: var(--hn-color-alert-dark);
  color: var(--hn-color-text-invert);
}
.hn-button--info {
  background-color: var(--hn-color-info-base);
  color: var(--hn-color-text-invert);
  border: 1px solid var(--hn-color-info-base);
}
.hn-button--info:hover, .hn-button--info:focus-visible {
  background-color: var(--hn-color-info-dark);
  border-color: var(--hn-color-info-dark);
  color: var(--hn-color-text-invert);
}
.hn-button--info:active {
  background-color: var(--hn-color-info-dark);
  color: var(--hn-color-text-invert);
}
.hn-button--neutral {
  background-color: var(--hn-color-neutral-base);
  color: var(--hn-color-text-invert);
  border: 1px solid var(--hn-color-neutral-base);
}
.hn-button--neutral:hover, .hn-button--neutral:focus-visible {
  background-color: var(--hn-color-neutral-dark);
  border-color: var(--hn-color-neutral-dark);
  color: var(--hn-color-text-invert);
}
.hn-button--neutral:active {
  background-color: var(--hn-color-neutral-dark);
  color: var(--hn-color-text-invert);
}
.hn-button--success-outline {
  background-color: transparent;
  color: var(--hn-color-success-base);
  border: 1px solid var(--hn-color-success-base);
}
.hn-button--success-outline:hover, .hn-button--success-outline:focus-visible {
  background-color: var(--hn-color-success-light);
  border-color: var(--hn-color-success-base);
  color: var(--hn-color-success-dark);
}
.hn-button--success-outline:active {
  border-color: var(--hn-color-success-dark);
  color: var(--hn-color-success-dark);
}
.hn-button--warning-outline {
  background-color: transparent;
  color: var(--hn-color-warning-base);
  border: 1px solid var(--hn-color-warning-base);
}
.hn-button--warning-outline:hover, .hn-button--warning-outline:focus-visible {
  background-color: var(--hn-color-warning-light);
  border-color: var(--hn-color-warning-base);
  color: var(--hn-color-warning-dark);
}
.hn-button--warning-outline:active {
  border-color: var(--hn-color-warning-dark);
  color: var(--hn-color-warning-dark);
}
.hn-button--alert-outline {
  background-color: transparent;
  color: var(--hn-color-alert-base);
  border: 1px solid var(--hn-color-alert-base);
}
.hn-button--alert-outline:hover, .hn-button--alert-outline:focus-visible {
  background-color: var(--hn-color-alert-light);
  border-color: var(--hn-color-alert-base);
  color: var(--hn-color-alert-dark);
}
.hn-button--alert-outline:active {
  border-color: var(--hn-color-alert-dark);
  color: var(--hn-color-alert-dark);
}
.hn-button--info-outline {
  background-color: transparent;
  color: var(--hn-color-info-base);
  border: 1px solid var(--hn-color-info-base);
}
.hn-button--info-outline:hover, .hn-button--info-outline:focus-visible {
  background-color: var(--hn-color-info-light);
  border-color: var(--hn-color-info-base);
  color: var(--hn-color-info-dark);
}
.hn-button--info-outline:active {
  border-color: var(--hn-color-info-dark);
  color: var(--hn-color-info-dark);
}
.hn-button--neutral-outline {
  background-color: transparent;
  color: var(--hn-color-neutral-base);
  border: 1px solid var(--hn-color-neutral-base);
}
.hn-button--neutral-outline:hover, .hn-button--neutral-outline:focus-visible {
  background-color: var(--hn-color-neutral-light);
  border-color: var(--hn-color-neutral-base);
  color: var(--hn-color-neutral-dark);
}
.hn-button--neutral-outline:active {
  border-color: var(--hn-color-neutral-dark);
  color: var(--hn-color-neutral-dark);
}
.hn-button--gray {
  background-color: var(--hn-color-border-soft);
  color: var(--hn-color-text);
  border-color: var(--hn-color-border-soft);
}
.hn-button--outline.hn-button--gray, .hn-button--outline-filled.hn-button--gray {
  background-color: #ffffff;
  color: var(--hn-color-text);
  border-color: var(--hn-color-text);
}
.hn-button--static {
  pointer-events: none;
  cursor: default;
}
.hn-button:disabled, .hn-button[disabled] {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}
.hn-button:disabled:hover, .hn-button:disabled:focus, .hn-button[disabled]:hover, .hn-button[disabled]:focus {
  background-color: var(--hn-color-brand-light) !important;
  border-color: var(--hn-color-brand-light) !important;
  transform: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  color: var(--hn-color-text-invert) !important;
}
.hn-button--icon-gap {
  gap: var(--hn-space-sm);
}
.hn-button--outline:hover, .hn-button--outline:focus-visible, .hn-button--outline-filled:hover, .hn-button--outline-filled:focus-visible {
  background-color: var(--hn-color-brand-light);
  border-color: var(--hn-color-brand-light-hover);
  color: var(--hn-color-text-invert);
}

/* Header-specific tweak */
.header-b2b-button.hn-button {
  font-size: 16px;
}

@media (max-width: 1023px) {
  .hn-button:not(.hn-button--small) {
    font-size: 18px;
  }
  .products li .button.hn-button,
  .wc-block-grid__product .wp-block-button .button.hn-button,
  .wc-block-grid__product .wp-block-button .wp-block-button__link.hn-button {
    font-size: 18px;
  }
}
@media (max-width: 767px) {
  .hn-button:not(.hn-button--small) {
    font-size: 16px;
  }
  .products li .button.hn-button,
  .wc-block-grid__product .wp-block-button .button.hn-button,
  .wc-block-grid__product .wp-block-button .wp-block-button__link.hn-button {
    font-size: 16px;
  }
}
/* Product badges */
.product-card .hn-product-badges--right {
  position: absolute;
  top: var(--hn-space-lg);
  right: var(--hn-space-md);
  margin: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--hn-space-sm);
}
.product-card .hn-product-badges--right .hn-badge {
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hn-space-sm);
  margin-bottom: 0;
  display: inline-flex;
  justify-content: center;
  padding: var(--hn-space-sm);
  background-color: var(--hn-color-bg);
  border-radius: 4px;
  border: 1px solid var(--hn-color-brand-light);
  color: var(--hn-color-brand-light);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  min-width: 0;
  min-height: 0;
}
.product-card .hn-badge-out-of-stock {
  position: absolute;
  top: var(--hn-space-lg);
  left: var(--hn-space-md);
  margin: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--hn-space-sm) var(--hn-space-xs);
  background-color: var(--hn-color-bg);
  border-radius: 4px;
  border: 1px solid #cccccc;
  color: #666666;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  min-width: 0;
  min-height: 0;
}

.hn-product-badges--single {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hn-space-sm);
}

/* Breadcrumbs component styles */
.hn-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: var(--hn-space-xl);
  margin-bottom: var(--hn-space-xl);
  text-align: left;
  flex-wrap: wrap;
}

/* Home link in breadcrumbs */
.hn-breadcrumbs__home {
  display: inline-block;
  width: 24px;
  height: 24px;
}

/* Home icon in breadcrumbs */
.hn-breadcrumbs__home-icon {
  width: 24px;
  height: 24px;
}
.hn-breadcrumbs__home-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  color: var(--hn-color-brand);
  fill: var(--hn-color-brand);
}

/* Breadcrumbs in standard pages (Polityka Prywatności, Regulamin) - no horizontal padding */
.container > .hn-breadcrumbs {
  padding-left: 0;
  padding-right: 0;
}

/* Mobile responsive styles */
@media (max-width: 767px) {
  .hn-breadcrumbs {
    margin-top: var(--hn-space-md);
    margin-bottom: var(--hn-space-md);
    font-size: 0.875rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .hn-breadcrumbs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
  }
  .hn-breadcrumbs__home {
    width: 20px;
    height: 20px;
  }
  .hn-breadcrumbs__home-icon {
    width: 20px;
    height: 20px;
  }
  .hn-breadcrumbs__home-icon svg {
    width: 20px;
    height: 20px;
  }
}
/* Tablet responsive styles */
@media (min-width: 768px) and (max-width: 1023px) {
  .hn-breadcrumbs {
    margin-top: var(--hn-space-lg);
    margin-bottom: var(--hn-space-lg);
    font-size: 0.9375rem;
  }
}
/* Product cards and price layouts */
.woocommerce .product-card,
.product-card {
  background-color: #ffffff;
  border-radius: 4px;
  border: 1px solid #EBEBEB;
  box-shadow: none;
  padding: 1.25rem 1rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out;
}
.woocommerce .product-card:hover, .woocommerce .product-card:focus-within,
.product-card:hover,
.product-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
  border-color: var(--hn-color-brand-light);
}
.woocommerce .product-card img,
.product-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}
.woocommerce .product-card,
.product-card {
  /* Product link area */
}
.woocommerce .product-card > a.woocommerce-LoopProduct-link,
.product-card > a.woocommerce-LoopProduct-link {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.woocommerce .product-card > a.woocommerce-LoopProduct-link:hover, .woocommerce .product-card > a.woocommerce-LoopProduct-link:focus,
.product-card > a.woocommerce-LoopProduct-link:hover,
.product-card > a.woocommerce-LoopProduct-link:focus {
  text-decoration: none;
}
.woocommerce .product-card > a.button,
.product-card > a.button {
  margin-top: 0.75rem;
}
.woocommerce .product-card,
.product-card {
  /* Titles */
}
.woocommerce .product-card h3,
.woocommerce .product-card .title,
.product-card h3,
.product-card .title {
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  margin: 0.5rem 0 0.25rem;
}
.woocommerce .product-card,
.product-card {
  /* Price grid inside cards - higher specificity to override WooCommerce */
}
.woocommerce .product-card .price, .woocommerce .product-card.product .price, div.product .woocommerce .product-card .price,
.product-card .price,
.product-card.product .price,
div.product .product-card .price {
  margin: 0;
  padding-top: 0.5rem;
  font-size: 18px !important;
  font-weight: 500;
  color: var(--hn-color-brand-strong) !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  column-gap: 1.5rem;
  row-gap: 0.25rem;
  justify-content: center;
  align-items: flex-end;
  margin-top: auto;
  margin-bottom: 0.75rem;
}
.woocommerce .product-card .hn-price-column,
.product-card .hn-price-column {
  display: flex;
  flex-direction: column;
}
.woocommerce .product-card .hn-price-column--regular,
.product-card .hn-price-column--regular {
  align-items: flex-start;
  text-align: left;
}
.woocommerce .product-card .hn-price-column--sale,
.product-card .hn-price-column--sale {
  align-items: flex-end;
  text-align: right;
}
.woocommerce .product-card .hn-price-lowest,
.product-card .hn-price-lowest {
  grid-column: 1/-1; /* Span across all columns */
  margin-top: 0.5rem;
  font-size: 13px;
  color: #666666;
  text-align: center;
}
.woocommerce .product-card .hn-price-lowest--30-days,
.product-card .hn-price-lowest--30-days {
  font-weight: 400;
}
.woocommerce .product-card,
.product-card {
  /* Remove underline from sale price */
}
.woocommerce .product-card .hn-price-amount--sale,
.product-card .hn-price-amount--sale {
  text-decoration: none !important;
}
.woocommerce .product-card .hn-price-column--single,
.product-card .hn-price-column--single {
  align-items: center;
  text-align: center;
  grid-column: 1/-1;
}
.woocommerce .product-card .hn-price-column--regular-on-sale .hn-price-amount--gross,
.woocommerce .product-card .hn-price-column--regular-on-sale .hn-price-net--regular,
.product-card .hn-price-column--regular-on-sale .hn-price-amount--gross,
.product-card .hn-price-column--regular-on-sale .hn-price-net--regular {
  text-decoration: line-through;
  color: #999999;
}
.woocommerce .product-card .hn-price-net,
.product-card .hn-price-net {
  display: block;
  margin-top: 0.15rem;
  font-size: 14px;
  font-weight: 400;
  color: #555555;
}
.woocommerce .product-card .hn-price-amount--gross,
.product-card .hn-price-amount--gross {
  display: inline-block;
}
.woocommerce .product-card del.hn-price-amount--gross,
.product-card del.hn-price-amount--gross {
  color: #777777;
  margin-bottom: 0;
}
.woocommerce .product-card ins.hn-price-amount--gross,
.product-card ins.hn-price-amount--gross {
  color: var(--hn-color-brand-strong);
}
.woocommerce .product-card,
.product-card {
  /* Variant price info */
}
.woocommerce .product-card .hn-price-variant-info,
.product-card .hn-price-variant-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 13px;
  color: #666666;
}
.woocommerce .product-card .hn-price-variant-info__icon,
.product-card .hn-price-variant-info__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #999999;
  background-color: #f5f5f5;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  color: #666666;
  flex-shrink: 0;
}
@media (max-width: 785px) {
  .woocommerce .product-card,
  .product-card {
    max-width: none;
  }
}

/* Related products price styling */
.related.products .products li.product .hn-price-net {
  display: block;
  margin-top: 0.15rem;
  font-size: 14px;
  font-weight: 400;
  color: #555555;
}

/* Variant price info (standalone) */
.hn-price-variant-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 13px;
  color: #666666;
}
.hn-price-variant-info__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #999999;
  background-color: #f5f5f5;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  color: #666666;
  flex-shrink: 0;
}

/* Force override WooCommerce price styles for product cards */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product.product-card .price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product.product-card p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product.product-card span.price {
  font-size: 18px !important;
  color: var(--hn-color-brand-strong) !important;
}

@media (max-width: 785px) {
  .product-card {
    max-width: none;
  }
}
/* Hide variant info completely on cards (catalog and related) to match primary design */
.woocommerce .product-card .hn-price-variant-info,
.product-card .hn-price-variant-info {
  display: none !important;
}

.hn-price-variant-info__text {
  font-style: italic;
}

/* Hide duplicate out-of-stock message on single product pages */
.single-product .stock.out-of-stock {
  display: none !important;
}

/* Hide old unavailable message */
.hn-unavailable-message {
  display: none !important;
}

/* Card-only alignment for variant info - higher specificity */
.woocommerce ul.products .hn-price-variant-info,
.woocommerce .product-card .hn-price-variant-info,
.woocommerce div.product .product-card .hn-price-variant-info {
  grid-column: 1/-1;
}

/* Product meta tags on single product */
.single-product div.product .product_meta {
  display: flex;
  flex-direction: column;
  row-gap: var(--hn-space-md);
  /* Tagged list */
}
.single-product div.product .product_meta .tagged_as {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hn-space-sm);
}
.single-product div.product .product_meta .hn-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hn-space-xs);
}
.single-product div.product .product_meta .hn-product-meta-label {
  font-size: var(--hn-font-size-body-sm);
  font-weight: 500;
  color: #444444;
}
.single-product div.product .product_meta .hn-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--hn-color-brand-light);
  background-color: var(--hn-color-bg);
  color: var(--hn-color-brand-light);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out, transform 0.2s ease, box-shadow 0.2s ease;
}
.single-product div.product .product_meta .hn-tag::before {
  content: "#";
  margin-right: 4px;
  font-weight: 500;
}
.single-product div.product .product_meta .hn-tag:hover, .single-product div.product .product_meta .hn-tag:focus-visible {
  background-color: var(--hn-color-section-soft-green);
  border-color: var(--hn-color-brand-light);
  color: var(--hn-color-brand-light);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Pagination */
.hn-pagination {
  margin-top: var(--hn-space-xl);
  margin-bottom: var(--hn-space-xl);
}
.hn-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--hn-space-xs);
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
  border-right: 0;
}
.hn-pagination ul.page-numbers li {
  margin: 0;
  border-right: none;
  overflow: visible;
}
.hn-pagination ul.page-numbers a,
.hn-pagination ul.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: var(--hn-space-xs) 0.9rem;
  border-radius: 8px;
  font-size: var(--hn-font-size-body);
  font-weight: 400;
  text-decoration: none;
  border: 1px solid var(--hn-color-brand-light);
  background-color: #ffffff;
  color: var(--hn-color-brand-light);
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out, transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.hn-pagination ul.page-numbers a:hover, .hn-pagination ul.page-numbers a:focus,
.hn-pagination ul.page-numbers span:hover,
.hn-pagination ul.page-numbers span:focus {
  background-color: var(--hn-color-brand-light);
  border-color: var(--hn-color-brand-light-hover);
  color: var(--hn-color-text-invert);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}
.hn-pagination ul.page-numbers span.current {
  background-color: var(--hn-color-brand-light);
  border-color: var(--hn-color-brand-light);
  color: var(--hn-color-text-invert);
}
.hn-pagination ul.page-numbers .dots {
  border-color: transparent;
  background: transparent;
  color: #666666;
  box-shadow: none;
  transform: none;
}
@media (max-width: 480px) {
  .hn-pagination ul.page-numbers {
    gap: 0.25rem;
    /* On very narrow screens keep only: prev arrow, previous page, current page, next page, next arrow */
  }
  .hn-pagination ul.page-numbers li {
    display: none;
  }
  .hn-pagination ul.page-numbers li:has(.page-numbers.prev),
  .hn-pagination ul.page-numbers li:has(.page-numbers.current),
  .hn-pagination ul.page-numbers li:has(.page-numbers.next),
  .hn-pagination ul.page-numbers li:has(+ li .page-numbers.current),
  .hn-pagination ul.page-numbers li:has(.page-numbers.current) + li {
    display: block;
  }
}

/* WooCommerce notice styling */
.woocommerce .woocommerce-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--hn-space-md);
  padding: var(--hn-space-md) 1.25rem;
  background-color: var(--hn-color-section-soft-green);
  border: 1px solid var(--hn-color-brand-light);
  border-radius: 10px;
  color: var(--hn-color-brand-strong);
  animation: hn-woocommerce-message-glow 2.4s ease-out;
}
.woocommerce .woocommerce-message .button {
  border-radius: 10px;
  background-color: transparent;
  color: var(--hn-color-brand-light);
  border: 1px solid var(--hn-color-brand-light);
  transition: background-color 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out, transform 0.15s ease-out;
}
.woocommerce .woocommerce-message .button:hover, .woocommerce .woocommerce-message .button:focus-visible {
  background-color: var(--hn-color-brand-light);
  color: var(--hn-color-text-invert);
  border-color: var(--hn-color-brand-light-hover);
  transform: translateY(-1px) scale(1.02);
}
@media (max-width: 767px) {
  .woocommerce .woocommerce-message {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Unavailable message on single product page */
.hn-unavailable-message {
  display: block;
  padding: var(--hn-space-lg);
  margin: var(--hn-space-lg) 0;
  text-align: center;
  font-size: var(--hn-font-size-body-lg);
  font-weight: 500;
  border-radius: 8px;
  background-color: var(--hn-color-warning-light);
  color: var(--hn-color-warning-dark);
  border: 1px solid var(--hn-color-warning-base);
}

@keyframes hn-woocommerce-message-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(23, 143, 80, 0);
  }
  15% {
    box-shadow: 0 0 0 4px rgba(23, 143, 80, 0.35);
  }
  70% {
    box-shadow: 0 0 0 4px rgba(23, 143, 80, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(23, 143, 80, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .woocommerce .woocommerce-message {
    animation: none;
  }
}
/* Universal Notice System */
.hn-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--hn-space-md);
  padding: var(--hn-space-md) 1.25rem;
  border-radius: 10px;
  margin: var(--hn-space-lg) 0;
  position: relative;
}
@media (max-width: 767px) {
  .hn-notice {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hn-notice-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.hn-toast-container {
  position: fixed;
  top: 20px;
  right: 0;
  max-width: 400px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding-right: 20px;
  overflow-x: hidden;
}
@media (max-width: 767px) {
  .hn-toast-container {
    top: 10px;
    right: 0;
    left: 0;
    padding-right: 10px;
    padding-left: 10px;
    max-width: none;
  }
}

.hn-toast-container--bottom {
  top: auto;
  bottom: 0;
  right: 0;
  padding-bottom: 20px;
  padding-right: 20px;
  overflow-x: hidden;
}
@media (max-width: 767px) {
  .hn-toast-container--bottom {
    bottom: 0;
    right: 0;
    left: 0;
    padding-bottom: 10px;
    padding-right: 10px;
    padding-left: 10px;
  }
}

.hn-toast-container--inline {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  max-width: none;
  z-index: auto;
  padding: 20px;
  overflow-x: hidden;
}

.hn-notice--toast {
  margin: 0;
  margin-bottom: var(--hn-space-sm);
  padding: var(--hn-space-sm) var(--hn-space-md);
  gap: var(--hn-space-sm);
  animation: hn-toast-slide-in 0.5s ease-in-out;
  transition: height 0.5s ease-in-out, opacity 0.5s ease-in-out, transform 0.5s ease-in-out, padding 0.5s ease-in-out, margin 0.5s ease-in-out;
  overflow: hidden;
}
.hn-notice--toast p {
  margin: 0;
  font-size: var(--hn-font-size-body-sm);
}
.hn-notice--toast .hn-notice-icon {
  width: 16px;
  height: 16px;
}
.hn-notice--toast .hn-notice-dismiss {
  top: 8px;
  right: 8px;
  font-size: 14px;
}

@keyframes hn-toast-slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes hn-toast-slide-out {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hn-notice--toast {
    animation: none;
    transition: none;
  }
  .hn-notice--toast.hn-toast-removing {
    animation: none;
  }
}
.hn-notice--success {
  background-color: var(--hn-color-success-light);
  color: var(--hn-color-success-dark);
  border: 1px solid var(--hn-color-success-base);
}

.hn-notice--warning {
  background-color: var(--hn-color-warning-light);
  color: var(--hn-color-warning-dark);
  border: 1px solid var(--hn-color-warning-base);
}

.hn-notice--alert {
  background-color: var(--hn-color-alert-light);
  color: var(--hn-color-alert-dark);
  border: 1px solid var(--hn-color-alert-base);
}

.hn-notice--info {
  background-color: var(--hn-color-info-light);
  color: var(--hn-color-info-dark);
  border: 1px solid var(--hn-color-info-base);
}

.hn-notice--neutral {
  background-color: var(--hn-color-neutral-light);
  color: var(--hn-color-neutral-dark);
  border: 1px solid var(--hn-color-neutral-base);
}

.hn-notice--dismissible {
  padding-right: 3rem;
}

.hn-notice-dismiss {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: inherit;
  opacity: 0.6;
  transition: opacity 0.15s ease-out;
}
.hn-notice-dismiss:hover, .hn-notice-dismiss:focus-visible {
  opacity: 1;
}

.woocommerce .woocommerce-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--hn-space-md);
  padding: var(--hn-space-md) 1.25rem;
  border-radius: 10px;
  margin: var(--hn-space-lg) 0;
  background-color: var(--hn-color-success-light);
  border: 1px solid var(--hn-color-success-base);
  color: var(--hn-color-success-dark);
  animation: hn-notice-glow 2.4s ease-out;
  outline: none;
}
.woocommerce .woocommerce-message::before {
  content: none;
}
.woocommerce .woocommerce-message:focus-visible {
  outline: none;
}
.woocommerce .woocommerce-message .button {
  border-radius: 10px;
  background-color: transparent;
  color: var(--hn-color-success-base);
  border: 1px solid var(--hn-color-success-base);
  transition: background-color 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out, transform 0.15s ease-out;
}
.woocommerce .woocommerce-message .button:hover, .woocommerce .woocommerce-message .button:focus-visible {
  background-color: var(--hn-color-success-base);
  color: var(--hn-color-text-invert);
  border-color: var(--hn-color-success-dark);
  transform: translateY(-1px) scale(1.02);
}
@media (max-width: 767px) {
  .woocommerce .woocommerce-message {
    flex-direction: column;
    align-items: flex-start;
  }
}
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--hn-space-md);
  padding: var(--hn-space-md) 1.25rem;
  border-radius: 10px;
  margin: var(--hn-space-lg) 0;
  outline: none;
}
.woocommerce .woocommerce-error::before,
.woocommerce .woocommerce-info::before {
  content: none;
}
.woocommerce .woocommerce-error:focus-visible,
.woocommerce .woocommerce-info:focus-visible {
  outline: none;
}
.woocommerce .woocommerce-error {
  background-color: var(--hn-color-alert-light);
  border: 1px solid var(--hn-color-alert-base);
  color: var(--hn-color-alert-dark);
}
.woocommerce .woocommerce-info {
  background-color: var(--hn-color-info-light);
  border: 1px solid var(--hn-color-info-base);
  color: var(--hn-color-info-dark);
}

@keyframes hn-notice-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(23, 143, 80, 0);
  }
  15% {
    box-shadow: 0 0 0 4px rgba(23, 143, 80, 0.35);
  }
  70% {
    box-shadow: 0 0 0 4px rgba(23, 143, 80, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(23, 143, 80, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .woocommerce .woocommerce-message {
    animation: none;
  }
}
.hn-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  animation: hn-modal-fade-in 0.3s ease-out;
}

.hn-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.hn-modal__content {
  position: relative;
  background-color: #ffffff;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: hn-modal-slide-up 0.3s ease-out;
}
@media (max-width: 767px) {
  .hn-modal__content {
    width: 95%;
    max-width: none;
  }
}

.hn-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--hn-color-border);
}

.hn-modal__title {
  display: flex;
  align-items: center;
  gap: var(--hn-space-md);
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--hn-color-text);
}

.hn-modal__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.hn-modal__close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--hn-color-text-muted);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.15s ease-out;
}
.hn-modal__close:hover, .hn-modal__close:focus-visible {
  color: var(--hn-color-text);
}

.hn-modal__body {
  padding: 1.5rem;
  color: var(--hn-color-text);
  line-height: 1.6;
}
.hn-modal__body p {
  margin: 0 0 1rem 0;
}
.hn-modal__body p:last-child {
  margin-bottom: 0;
}

.hn-modal__footer {
  display: flex;
  gap: var(--hn-space-md);
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--hn-color-border);
  justify-content: flex-end;
}
@media (max-width: 767px) {
  .hn-modal__footer {
    flex-direction: column-reverse;
  }
}

.hn-modal__button {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: var(--hn-font-size-body);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out, transform 0.15s ease-out;
}
.hn-modal__button:hover, .hn-modal__button:focus-visible {
  transform: translateY(-1px);
}

.hn-modal__button--confirm {
  background-color: var(--hn-color-primary);
  color: var(--hn-color-text-invert);
  border: 1px solid var(--hn-color-primary);
}
.hn-modal__button--confirm:hover, .hn-modal__button--confirm:focus-visible {
  background-color: var(--hn-color-primary-dark);
  border-color: var(--hn-color-primary-dark);
}

.hn-modal__button--cancel {
  background-color: transparent;
  color: var(--hn-color-text);
  border: 1px solid var(--hn-color-border);
}
.hn-modal__button--cancel:hover, .hn-modal__button--cancel:focus-visible {
  background-color: var(--hn-color-background-hover);
  border-color: var(--hn-color-border-dark);
}

.hn-modal--success .hn-modal__title {
  color: var(--hn-color-success-dark);
}

.hn-modal--warning .hn-modal__title {
  color: var(--hn-color-warning-dark);
}

.hn-modal--alert .hn-modal__title {
  color: var(--hn-color-alert-dark);
}

.hn-modal--info .hn-modal__title {
  color: var(--hn-color-info-dark);
}

.hn-modal--neutral .hn-modal__title {
  color: var(--hn-color-text);
}

.hn-modal--success .hn-modal__button--confirm {
  background-color: var(--hn-color-success-base);
  border-color: var(--hn-color-success-base);
}
.hn-modal--success .hn-modal__button--confirm:hover, .hn-modal--success .hn-modal__button--confirm:focus-visible {
  background-color: var(--hn-color-success-dark);
  border-color: var(--hn-color-success-dark);
}

.hn-modal--alert .hn-modal__button--confirm {
  background-color: var(--hn-color-alert-base);
  border-color: var(--hn-color-alert-base);
}
.hn-modal--alert .hn-modal__button--confirm:hover, .hn-modal--alert .hn-modal__button--confirm:focus-visible {
  background-color: var(--hn-color-alert-dark);
  border-color: var(--hn-color-alert-dark);
}

@keyframes hn-modal-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hn-modal-slide-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hn-modal {
    animation: none;
  }
  .hn-modal__content {
    animation: none;
  }
}
/* WooCommerce Cart Styles */
/* Force WooCommerce cart styles to use our theme */
.wc-block-cart .wc-block-cart__submit-button {
  background-color: var(--hn-color-brand-light) !important;
  color: var(--hn-color-text-invert) !important;
  border-color: var(--hn-color-brand-light) !important;
  padding: var(--hn-space-sm) !important;
  border-radius: 8px !important;
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out, transform 0.15s ease-out, box-shadow 0.15s ease-out !important;
}
.wc-block-cart .wc-block-cart__submit-button:hover {
  background-color: var(--hn-color-brand-light-hover) !important;
  border-color: var(--hn-color-brand-light-hover) !important;
  transform: translateY(-1px) scale(1.02) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15) !important;
}
.wc-block-cart .wc-block-cart-item__remove-link {
  background-color: transparent !important;
  color: var(--hn-color-neutral-base) !important;
  border: 1px solid var(--hn-color-neutral-base) !important;
  padding: var(--hn-space-xs) var(--hn-space-sm) !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  transition: all 0.2s ease-out !important;
}
.wc-block-cart .wc-block-cart-item__remove-link:hover {
  background-color: var(--hn-color-neutral-light) !important;
  color: var(--hn-color-neutral-dark) !important;
  border-color: var(--hn-color-neutral-base) !important;
  transform: translateY(-1px) scale(1.02) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15) !important;
  text-decoration: none !important;
}
.wc-block-cart .wc-block-cart-item__remove-link:focus {
  background-color: var(--hn-color-neutral-light) !important;
  color: var(--hn-color-neutral-dark) !important;
  border-color: var(--hn-color-neutral-base) !important;
  transform: translateY(-1px) scale(1.02) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15) !important;
  text-decoration: none !important;
}

/* Cart Item Typography */
.wc-block-components-product-name {
  font-size: var(--hn-font-size-body) !important;
  font-weight: 500 !important;
  color: var(--hn-color-text-base) !important;
  text-decoration: none !important;
}
.wc-block-components-product-name:hover {
  text-decoration: underline !important;
  color: var(--hn-color-brand-light) !important;
}

.wc-block-cart-item__total,
.wc-block-cart-item__prices {
  font-size: var(--hn-font-size-body) !important;
  font-weight: 400 !important;
  color: var(--hn-color-text-base) !important;
}

.wc-block-components-product-metadata {
  font-size: var(--hn-font-size-body) !important;
  color: var(--hn-color-text-base) !important;
}
.wc-block-components-product-metadata .wc-block-components-product-metadata__description {
  font-size: var(--hn-font-size-body) !important;
}
.wc-block-components-product-metadata .wc-block-components-product-metadata__description p, .wc-block-components-product-metadata .wc-block-components-product-metadata__description h4, .wc-block-components-product-metadata .wc-block-components-product-metadata__description span, .wc-block-components-product-metadata .wc-block-components-product-metadata__description div {
  font-size: var(--hn-font-size-body) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  color: var(--hn-color-text-base) !important;
}
.wc-block-components-product-metadata h4 {
  font-size: var(--hn-font-size-body) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  color: var(--hn-color-text-base) !important;
}

/* Quantity Selector */
.wc-block-components-quantity-selector__input {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--hn-color-text-base) !important;
}

/* Quantity Selector Buttons */
.wc-block-components-quantity-selector__button--minus,
.wc-block-components-quantity-selector__button--plus {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--hn-color-text-base) !important;
}

/* Cart Unit Price with Quantity */
.hn-cart-unit-qty-wrapper {
  font-size: var(--hn-font-size-body) !important;
  font-weight: 400 !important;
  color: var(--hn-color-text-base) !important;
}

.hn-cart-unit-qty {
  font-weight: 400 !important;
}

.hn-cart-unit-qty-sep {
  margin-left: 4px !important;
  margin-right: 4px !important;
}

/* Remove gap from unit price element */
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices .price,
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices .price {
  gap: 0 !important;
}

/* Product details (variant attributes) — pill style on cart page */
.wc-block-cart .wc-block-components-product-details {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin: 4px 0 0 !important;
}
.wc-block-cart .wc-block-components-product-details > span {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 10px !important;
  border-radius: 999px !important;
  border: 1px solid var(--hn-color-brand-light) !important;
  background-color: var(--hn-color-bg) !important;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--hn-color-brand-light) !important;
}
.wc-block-cart .wc-block-components-product-details .wc-block-components-product-details__name {
  font-weight: 500 !important;
}
.wc-block-cart .wc-block-components-product-details .wc-block-components-product-details__name::after {
  content: ":";
  margin-right: 4px;
}
.wc-block-cart .wc-block-components-product-details .wc-block-components-product-details__value {
  font-weight: 400 !important;
}

/* Quantity Container - stretch to full row height */
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity,
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity {
  align-items: stretch !important;
}

/* Cart Remove Button */
.wc-block-cart .wc-block-cart-item__remove-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: var(--hn-space-xs) var(--hn-space-sm) !important;
  font-size: var(--hn-font-size-body-sm) !important;
  font-weight: 400 !important;
  font-family: inherit !important;
  text-align: center !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.2s ease-out !important;
  height: 100% !important;
  width: auto !important;
  aspect-ratio: 1/1 !important;
  display: inline-flex !important;
  background-color: transparent !important;
  color: var(--hn-color-neutral-base) !important;
  border: 1px solid var(--hn-color-neutral-base) !important;
}
.wc-block-cart .wc-block-cart-item__remove-link:hover, .wc-block-cart .wc-block-cart-item__remove-link:focus {
  background-color: var(--hn-color-neutral-light) !important;
  color: var(--hn-color-neutral-dark) !important;
  border-color: var(--hn-color-neutral-base) !important;
  transform: translateY(-1px) scale(1.02) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15) !important;
}
.wc-block-cart .wc-block-cart-item__remove-link:focus-visible {
  outline: 2px solid var(--hn-color-brand-light) !important;
  outline-offset: 2px !important;
}
.wc-block-cart .wc-block-cart-item__remove-link svg {
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0 !important;
  display: block !important;
}
.wc-block-cart .wc-block-cart-item__remove-link svg[width] {
  width: 24px !important;
  height: 24px !important;
}

/* WooCommerce Checkout Block Button Overrides */
.wc-block-checkout__actions_row {
  display: flex !important;
  gap: var(--hn-space-sm) !important;
  align-items: center !important;
}

.wc-block-components-checkout-return-to-cart-button.hn-button--link {
  display: inline-flex !important;
  align-items: center !important;
  gap: var(--hn-space-xs) !important;
  font-size: var(--hn-font-size-body) !important;
  font-weight: 400 !important;
  font-family: inherit !important;
  text-align: left !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: color 0.2s ease-out !important;
  background-color: transparent !important;
  color: var(--hn-color-brand-light) !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}
.wc-block-components-checkout-return-to-cart-button.hn-button--link:hover, .wc-block-components-checkout-return-to-cart-button.hn-button--link:focus {
  background-color: transparent !important;
  color: var(--hn-color-brand-light-hover) !important;
  text-decoration: underline !important;
  transform: none !important;
  box-shadow: none !important;
}
.wc-block-components-checkout-return-to-cart-button.hn-button--link svg {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}

.wc-block-components-checkout-place-order-button.hn-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: var(--hn-space-sm) !important;
  background-color: var(--hn-color-brand-light) !important;
  color: var(--hn-color-text-invert) !important;
  font-size: var(--hn-font-size-body-lg) !important;
  font-weight: 300 !important;
  font-family: inherit !important;
  text-align: center !important;
  text-decoration: none !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: var(--hn-color-brand-light) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out, transform 0.15s ease-out, box-shadow 0.15s ease-out !important;
}
.wc-block-components-checkout-place-order-button.hn-button:hover, .wc-block-components-checkout-place-order-button.hn-button:focus {
  background-color: var(--hn-color-brand-light-hover) !important;
  border-color: var(--hn-color-brand-light-hover) !important;
  transform: translateY(-1px) scale(1.02) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15) !important;
  text-decoration: none !important;
  color: var(--hn-color-text-invert) !important;
}
.wc-block-components-checkout-place-order-button.hn-button:focus-visible {
  outline: 2px solid var(--hn-color-brand) !important;
  outline-offset: 2px !important;
}
.wc-block-components-checkout-place-order-button.hn-button .wc-block-components-button__text,
.wc-block-components-checkout-place-order-button.hn-button .wc-block-components-checkout-place-order-button__text {
  color: inherit !important;
  font-weight: inherit !important;
  font-size: inherit !important;
}

/* Hide product descriptions in order summary globally (WC Blocks renders .wc-block-components-order-summary directly) */
.wc-block-components-order-summary .wc-block-components-product-metadata__description {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__total-price {
  font-size: var(--hn-font-size-body) !important;
  font-weight: 500 !important;
}
.wc-block-components-order-summary .wc-block-components-product-details {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin: 4px 0 0 !important;
}
.wc-block-components-order-summary .wc-block-components-product-details > span {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 10px !important;
  border-radius: 999px !important;
  border: 1px solid var(--hn-color-brand-light) !important;
  background-color: var(--hn-color-bg) !important;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--hn-color-brand-light) !important;
}
.wc-block-components-order-summary .wc-block-components-product-details .wc-block-components-product-details__name {
  font-weight: 500 !important;
}
.wc-block-components-order-summary .wc-block-components-product-details .wc-block-components-product-details__name::after {
  content: ":";
  margin-right: 4px;
}
.wc-block-components-order-summary .wc-block-components-product-details .wc-block-components-product-details__value {
  font-weight: 400 !important;
}

/* Checkout Order Summary Styles */
.hn-checkout-price-qty-wrapper {
  font-size: var(--hn-font-size-body-sm) !important;
  font-weight: 400 !important;
  color: var(--hn-color-text-base) !important;
}

.hn-checkout-price-qty {
  font-size: var(--hn-font-size-body) !important;
  font-weight: 400 !important;
  color: var(--hn-color-text-base) !important;
}

.hn-checkout-price-qty-sep {
  font-size: var(--hn-font-size-body-sm) !important;
  font-weight: 400 !important;
  color: var(--hn-color-text-base) !important;
  margin: 0 0.25rem;
}

.wc-block-components-checkout-order-summary .wc-block-cart-item__prices,
.wc-block-components-checkout-order-summary .wc-block-components-order-summary-item__individual-prices {
  font-size: var(--hn-font-size-body-sm) !important;
  font-weight: 400 !important;
  color: var(--hn-color-text-base) !important;
}
.wc-block-components-checkout-order-summary .wc-block-components-order-summary-item__total-price {
  font-size: var(--hn-font-size-body) !important;
  font-weight: 500 !important;
  color: var(--hn-color-text-base) !important;
}
.wc-block-components-checkout-order-summary .wc-block-components-product-metadata {
  font-size: var(--hn-font-size-body) !important;
  color: var(--hn-color-text-base) !important;
}
.wc-block-components-checkout-order-summary .wc-block-components-product-metadata .wc-block-components-product-metadata__description {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}
.wc-block-components-checkout-order-summary .hn-product-description {
  font-size: var(--hn-font-size-body-sm) !important;
  font-weight: 400 !important;
  color: var(--hn-color-neutral-dark) !important;
  display: block;
  margin-top: 4px;
}

/* ==========================================================================
   Checkout: mobile order-summary toggle fallback
   WooCommerce Blocks activates the collapsible order summary via React's
   useResizeObserver. On this theme the observer fires before layout is
   computed and always returns isMobile = false, so the native container
   queries never activate. The rules below replicate the @container
   (max-width: 699px) behaviour using @media queries instead, which are
   evaluated against the viewport after layout and are therefore reliable.
   ========================================================================== */
@media (max-width: 700px) {
  .wc-block-components-sidebar-layout {
    flex-direction: column !important;
    margin: 0 auto 16px !important;
  }
  .wc-block-components-sidebar-layout .wc-block-components-main,
  .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    padding: 0 !important;
    width: 100% !important;
  }
  .wp-block-woocommerce-checkout-order-summary-block {
    border: none !important;
    margin-top: 0 !important;
  }
  .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
    align-items: center;
    border-bottom: 1px solid color-mix(in srgb, currentColor 20%, transparent);
    border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent);
    cursor: pointer;
    display: flex;
    padding: 20px 0;
  }
  .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title.is-open {
    border-bottom: none;
  }
  .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
    flex-grow: 1;
    margin: 0;
  }
  .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-price,
  .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-icon {
    display: block !important;
    fill: currentColor;
  }
  .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__content {
    display: none !important;
  }
  .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__content.is-open {
    border-bottom: 1px solid color-mix(in srgb, currentColor 20%, transparent);
    display: block !important;
  }
}
/* Header layout, navigation, and mobile menu */
.header-top {
  background-color: var(--hn-color-header-top-bg);
  color: var(--hn-color-text-invert);
  font-size: 0.875rem;
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 20px;
  gap: 2rem;
}

.header-top-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header-top-left .header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.header-top-left .header-brand .header-brand-logo img {
  display: block;
  height: 50px;
  width: auto;
  transition: transform 0.2s ease-out;
}
.header-top-left .header-brand .header-brand-text {
  font-size: 32px;
  font-weight: 700;
  color: var(--hn-color-text-invert);
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .header-top-left .header-brand .header-brand-text {
    font-size: 22px;
  }
}
.header-top-left .header-brand:hover .header-brand-logo img, .header-top-left .header-brand:focus .header-brand-logo img {
  transform: scale(1.1);
}
.header-top-left .header-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-top-left .header-contact .header-contact-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.header-top-left .header-contact .header-contact-item:hover, .header-top-left .header-contact .header-contact-item:focus {
  text-decoration: underline;
}
.header-top-left .header-contact .header-contact-icon {
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.header-top-left .header-contact .header-contact-icon--phone {
  background-image: url("assets/images/icon-phone.svg");
}
.header-top-left .header-contact .header-contact-icon--mail {
  background-image: url("assets/images/icon-mail.svg");
  height: 12px;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.header-top-right .header-icon-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 8px;
}
.header-top-right .header-icon-link:hover, .header-top-right .header-icon-link:focus {
  text-decoration: underline;
}

.header-icon {
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.header-icon--account {
  width: 25px;
  height: 28px;
  background-color: var(--hn-color-text-invert);
  -webkit-mask-image: url("assets/images/icon-account.svg");
  mask-image: url("assets/images/icon-account.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.header-icon--cart {
  width: 32px;
  height: 28px;
  background-color: var(--hn-color-text-invert);
  -webkit-mask-image: url("assets/images/icon-cart.svg");
  mask-image: url("assets/images/icon-cart.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.header-cart-count {
  font-size: 19px;
  font-weight: 700;
}

.header-main {
  background-color: #fff;
}
.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0.8rem 20px;
}
.header-main-inner .header-logo {
  flex: 0 0 auto;
}
.header-main-inner .header-search {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.header-main-inner .header-search-form {
  display: flex;
  align-items: stretch;
  width: 400px;
  max-width: 100%;
}
.header-main-inner .header-search-form .search-form__label {
  flex: 1 1 auto;
}
.header-main-inner .header-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 1rem;
}
.header-main-inner .header-actions .header-action-link {
  font-size: 0.875rem;
  text-decoration: none;
  color: #064a2f;
}

.search-form__input {
  width: 100%;
  border: 2px solid var(--hn-color-brand-light);
  border-radius: 8px 0 0 8px;
  padding: 0.75rem 1rem;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  border-right: none;
}

.search-form__input::placeholder {
  color: #888;
}

.search-form__submit {
  flex: 0 0 auto;
  border: none;
  border-radius: 0 8px 8px 0;
  background-color: var(--hn-color-brand-light);
  padding: 0 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-form__icon {
  width: 32px;
  height: 32px;
  background-image: url("assets/images/icon-search.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.header-icon--menu {
  background-image: url("assets/images/icon-menu.svg");
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.header-icon--cart {
  width: 32px;
  height: 28px;
  background-color: var(--hn-color-text-invert);
  -webkit-mask-image: url("assets/images/icon-cart.svg");
  mask-image: url("assets/images/icon-cart.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.header-cart-count {
  font-size: 19px;
  font-weight: 700;
}

/* Navigation bar */
.header-nav {
  background-color: var(--hn-color-bg);
  border-top: 1px solid var(--hn-color-brand);
  border-bottom: 1px solid var(--hn-color-brand);
}
.header-nav .container {
  padding: 16px 20px;
}
.header-nav .main-navigation {
  display: flex;
  justify-content: center;
}
.header-nav .main-navigation ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.header-nav .main-navigation a {
  color: #000;
  text-decoration: none;
  font-size: 19px;
  font-weight: 700;
  padding: 8px 16px;
  display: inline-block;
  transition: color 0.2s ease-out, transform 0.15s ease-out;
}
.header-nav .main-navigation a:hover, .header-nav .main-navigation a:focus {
  text-decoration: underline;
  color: var(--hn-color-brand-light);
}
.header-nav .main-navigation .menu-item.is-active > a {
  text-decoration: underline;
  color: var(--hn-color-brand-light);
}
.header-nav .main-navigation .menu-item.menu-item-product-category {
  margin-bottom: 0;
}

/* Mobile menu toggle + panel */
.header-menu-toggle {
  display: none !important;
  background: none;
  border: none;
  padding: 0;
}

.mobile-menu {
  display: none;
}

@media (max-width: 1023px) {
  .header-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
  }
  .site-header {
    padding-top: 75px;
  }
  .header-contact {
    display: none !important;
  }
  .header-top-inner {
    padding: 0.8rem 16px;
  }
  .header-main-inner {
    padding: 24px 16px;
  }
  .header-nav {
    display: none !important;
  }
  .header-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 8px;
  }
  /* Fix search form width on tablets and mobile */
  .header-search-form {
    width: 100% !important;
  }
  .mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
    z-index: 999;
    display: block;
  }
  .mobile-menu__overlay {
    position: absolute;
    inset: 0;
  }
  .mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    padding: 0 20px 0 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    display: flex;
    flex-direction: column;
  }
  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu.is-open .mobile-menu__panel {
    transform: translateX(0);
  }
  .mobile-menu__close {
    background: none;
    border: none;
    color: #000;
    font-size: 48px;
    width: 32px;
    height: 32px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    align-self: flex-end;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
  }
  .mobile-menu__section {
    margin-top: 16px;
  }
  .mobile-menu__section--contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    margin-top: 0;
  }
  .mobile-menu__section--contact .header-contact-item {
    color: #000;
    padding-left: 0;
    padding-right: 0;
  }
  .mobile-menu__section--contact .header-contact-icon {
    filter: brightness(0);
  }
  .mobile-menu__section--contact .header-b2b-button {
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .mobile-menu__content {
    flex: 1 1 auto;
    overflow-y: auto;
    margin-top: 0;
    padding: 16px 0;
  }
  .mobile-menu__section--nav {
    border-top: 2px dashed var(--hn-color-brand-medium);
    padding-top: 16px;
    margin-top: 16px;
  }
  .mobile-menu__list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .mobile-menu__list a {
    color: #000;
    text-decoration: none;
    padding: 0.4rem 0;
  }
  .mobile-menu__list a:hover,
  .mobile-menu__list a:focus {
    text-decoration: none;
  }
  .mobile-menu__item.is-active > a {
    font-weight: 700;
    text-decoration: underline;
    color: var(--hn-color-brand-light);
  }
  /* Admin bar offset on mobile */
  body.admin-bar .mobile-menu {
    top: 46px;
  }
  body.admin-bar .header-top {
    top: 46px;
  }
  body.admin-bar .site-header {
    padding-top: 75px;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .header-top-inner {
    gap: 0.75rem;
    padding: 1.2rem 16px;
  }
  .header-top-left {
    gap: 0.75rem;
  }
  .header-top-right {
    gap: 0.75rem;
  }
  .header-brand-text {
    font-size: 16px;
    white-space: nowrap;
  }
  .header-top-left .header-contact {
    gap: 0.25rem;
  }
  .header-top-left .header-contact .header-contact-item {
    font-size: 16px;
    padding: 0.4rem 0.4rem;
  }
}
@media (min-width: 1200px) {
  .header-top-left .header-contact {
    gap: 1rem;
  }
}
@media (min-width: 1024px) {
  .header-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
  }
  .site-header {
    padding-top: 90px;
  }
  body.admin-bar .header-top {
    top: 32px;
  }
  body.admin-bar .site-header {
    padding-top: 90px;
  }
  /* Ensure desktop navigation is visible and mobile menu is hidden */
  .header-nav {
    display: block !important;
  }
  .header-contact {
    display: flex !important;
  }
  .header-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .header-brand-text {
    display: none;
  }
  .header-nav {
    display: none;
  }
  .header-search-form {
    width: 100%;
  }
  .header-nav .container {
    padding: 12px 16px;
  }
  .main-navigation a {
    font-size: 16px;
    padding: 6px 8px;
  }
}
/* Footer layout */
.site-footer {
  background-color: var(--hn-color-footer-bg);
  color: var(--hn-color-text-invert);
  margin-top: var(--hn-space-xl);
}
.site-footer .footer-main {
  background-color: var(--hn-color-footer-bg);
  padding: var(--hn-space-xxl) 0 var(--hn-space-xl);
}
.site-footer .footer-main-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer .footer-column {
  flex: 0 0 33.33%;
}
.site-footer .footer-column--brand {
  max-width: 100%;
}
.site-footer .footer-column--contact, .site-footer .footer-column--links {
  padding-left: 6rem;
}
.site-footer .footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--hn-space-md);
  margin-bottom: var(--hn-space-sm);
}
.site-footer .footer-brand-logo img {
  display: block;
  width: 100px;
  height: 100px;
}
.site-footer .footer-brand-text-group {
  display: flex;
  flex-direction: column;
}
.site-footer .footer-brand-name {
  font-size: var(--hn-font-size-heading-lg);
  font-weight: 500;
  line-height: 1;
}
.site-footer .footer-brand-text {
  font-size: var(--hn-font-size-body-lg);
  line-height: 1.6;
  font-weight: 300;
  margin-top: 10px;
  margin-bottom: 0;
}
.site-footer .footer-bottles img {
  display: block;
  width: 100%;
  max-width: 355px;
  height: auto;
}
.site-footer .footer-heading {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: var(--hn-space-sm);
  color: var(--hn-color-text-invert);
}
.site-footer .footer-contact-item {
  font-size: var(--hn-font-size-body-lg);
  line-height: 1.6;
  margin-bottom: 0;
  font-weight: 300;
}
.site-footer .footer-contact-item a {
  color: inherit;
  text-decoration: none;
}
.site-footer .footer-contact-item a:hover, .site-footer .footer-contact-item a:focus {
  text-decoration: underline;
}
.site-footer .footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--hn-space-md);
}
.site-footer .footer-links-list li + li {
  margin-top: 0;
}
.site-footer .footer-links-list a {
  color: inherit;
  text-decoration: none;
  font-size: var(--hn-font-size-body-lg);
  font-weight: 300;
}
.site-footer .footer-links-list a:hover, .site-footer .footer-links-list a:focus {
  text-decoration: underline;
}
.site-footer .footer-social {
  margin-top: var(--hn-space-sm);
}
.site-footer .footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-size: var(--hn-font-size-body-lg);
  font-weight: 300;
}
.site-footer .footer-social-link:hover, .site-footer .footer-social-link:focus {
  text-decoration: underline;
}
.site-footer .footer-social-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.site-footer .footer-social-icon--facebook {
  background-image: url("assets/images/logo-facebook.svg");
}
.site-footer .footer-bottom {
  background-color: var(--hn-color-footer-bg);
  padding: var(--hn-space-xl) 0 var(--hn-space-xxl);
}
.site-footer .footer-bottom-inner {
  text-align: center;
}
.site-footer .footer-copy {
  font-size: var(--hn-font-size-body);
  font-weight: 300;
  margin-bottom: var(--hn-space-sm);
}
.site-footer .footer-copy + .footer-copy {
  font-size: 10px;
}
.site-footer .footer-copy a {
  color: var(--hn-color-text-invert);
  text-decoration: none;
}
.site-footer .footer-copy a:hover, .site-footer .footer-copy a:focus {
  text-decoration: underline;
}
.site-footer {
  /* Empty cart block headings/spacers */
}
.site-footer .wp-block-woocommerce-empty-cart-block > .wp-block-heading {
  margin-top: var(--hn-space-xl);
  margin-bottom: var(--hn-space-lg);
}
.site-footer .wp-block-woocommerce-empty-cart-block {
  margin-bottom: var(--hn-space-xxl);
}

/* Footer responsive */
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-footer .footer-brand-text {
    font-size: 18px;
  }
  .site-footer .footer-main-inner {
    gap: 0;
  }
  .site-footer .footer-column {
    flex: 0 0 33%;
  }
  .site-footer .footer-column--contact {
    max-width: none;
    flex: 0 0 25%;
    padding-left: 0;
  }
  .site-footer .footer-column--links {
    flex: 0 0 25%;
    padding-left: 0;
  }
}
@media (max-width: 1023px) {
  .site-footer .footer-main-inner {
    flex-direction: column;
    gap: var(--hn-space-lg);
  }
  .site-footer .footer-column {
    flex: none;
    max-width: none;
  }
  .site-footer .footer-column--contact, .site-footer .footer-column--links {
    padding-left: 0;
  }
}
@media (max-width: 767px) {
  .site-footer .footer-brand-logo {
    flex-direction: column;
    text-align: center;
  }
  .site-footer .footer-brand-name {
    font-size: var(--hn-font-size-heading-lg);
  }
  .site-footer .footer-brand-text {
    font-size: var(--hn-font-size-body);
  }
}
/* Home sections (hero, intro, benefits, B2B) */
.home-hero {
  padding: 2.5rem 0;
}

.home-hero-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.home-hero-header p {
  font-size: 18px;
  font-weight: 300;
}

.home-hero-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.home-hero-column--secondary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-banner--primary {
  height: 100%;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background-color: #000;
}

.hero-banner__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner__cta {
  position: absolute;
  right: 24px;
  bottom: 24px;
}

.home-section {
  padding: 2rem 0 2.5rem;
}

.home-intro {
  padding: 2rem 0 2.5rem;
  text-align: center;
}

.home-intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.home-intro-title,
.home-intro-subtitle {
  font-size: var(--hn-font-size-heading-xl);
  font-weight: 400;
  margin: 0;
}

.home-intro-subtitle strong {
  color: var(--hn-color-brand);
  font-weight: 500;
}

.home-intro-text {
  max-width: 720px;
  margin: 0 auto;
  font-size: var(--hn-font-size-body-xl);
  font-weight: 400;
}

.home-benefits {
  background-color: var(--hn-color-section-soft-green);
  padding: 2.5rem 0;
}

.home-benefits-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "image title" "image items";
  align-items: center;
  column-gap: 3rem;
  row-gap: 1.5rem;
}

.home-benefits-title {
  grid-area: title;
  font-size: var(--hn-font-size-heading-xl);
  font-weight: 400;
  margin: 0 0 1rem;
  text-align: center;
}

.home-benefits-title-brand {
  color: var(--hn-color-brand);
}

.home-benefits-image {
  grid-area: image;
  display: flex;
  justify-content: center;
}

.home-benefits-image-graphic {
  display: block;
  max-width: 260px;
  width: 100%;
  height: auto;
}

.home-benefits-items {
  grid-area: items;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.home-benefits-item {
  flex: 0 1 200px;
  text-align: center;
}

.home-benefits-item-title {
  font-size: var(--hn-font-size-display);
  font-weight: 200;
  margin: 0 0 0.25rem;
}

.home-benefits-item-text {
  font-size: var(--hn-font-size-body-lg);
  font-weight: 200;
  margin: 0;
}

.home-b2b {
  background-color: #EEEEEE;
  padding: 2.5rem 0;
}

.home-b2b-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.home-b2b-media {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.home-b2b-media-image {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}

.home-b2b-content {
  flex: 1 1 auto;
  text-align: center;
}

.home-b2b-title {
  font-size: 48px;
  font-weight: 600;
  color: var(--hn-color-brand);
  margin: 0 0 0.5rem;
}

.home-b2b-subtitle {
  font-size: 36px;
  font-weight: 600;
  color: var(--hn-color-brand);
  margin: 0 0 1rem;
}

.home-b2b-text {
  font-size: 24px;
  font-weight: 400;
  color: #000000;
  margin: 0 0 1rem;
}

.home-b2b-cta {
  margin-top: 1.5rem;
}

.hn-product-name {
  color: var(--hn-color-text);
  margin: 0 0 0.5rem 0;
  font-size: var(--hn-font-size-body-lg);
  font-weight: 500;
}

.home-new-products .section-header,
.home-promotions .section-header,
.home-bestsellers .section-header {
  text-align: center;
}
.home-new-products .section-header h2,
.home-promotions .section-header h2,
.home-bestsellers .section-header h2 {
  font-size: var(--hn-font-size-heading-lg);
  margin-bottom: var(--hn-space-lg);
}

@media (max-width: 1023px) {
  .home-benefits-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "image" "items";
  }
  .home-benefits-title {
    margin-bottom: 1.5rem;
  }
  .home-b2b-title {
    font-size: 32px;
  }
  .home-b2b-subtitle {
    font-size: 28px;
  }
  .home-b2b-text {
    font-size: 20px;
  }
  .home-hero-layout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .home-hero-column--secondary {
    flex-direction: row;
    gap: 1.25rem;
  }
  .hero-banner--secondary {
    flex: 1 1 50%;
  }
}
@media (max-width: 767px) {
  .home-hero-header h1 {
    font-size: 26px;
  }
  .home-benefits-items {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .home-benefits-item {
    flex: 1 1 100%;
  }
  .home-hero-layout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .home-hero-column--secondary {
    flex-direction: column;
    gap: 1.25rem;
  }
  /* Mobile CTA size adjustment for primary hero banner */
  .hero-banner--primary .hn-button--large {
    padding: 8px;
    font-size: 14px;
  }
  .hero-banner__cta {
    right: 16px;
    bottom: 16px;
  }
  .home-b2b-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  .home-b2b-content {
    text-align: center;
  }
  .home-b2b-cta {
    display: flex;
    justify-content: center;
  }
  .home-b2b-title {
    font-size: 28px;
  }
  .home-b2b-subtitle {
    font-size: 24px;
  }
  .home-b2b-text {
    font-size: 18px;
  }
}
/* Product archive and grids */
/* Home/product grids */
.product-grid,
.hn-products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--hn-space-xl);
}

.hn-products {
  justify-items: center;
  align-items: stretch; /* Make all items stretch to full height */
  /* Force all cards to have the same height */
}
.hn-products .product-card {
  height: 100%;
}

/* Alternative approach for desktop - fixed columns */
@media (min-width: 1200px) {
  .hn-products {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .hn-products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hn-products {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Woo Blocks "New products" grid alignment */
.wp-block-woocommerce-product-new.wc-block-grid.has-4-columns .wc-block-grid__products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  gap: var(--hn-space-xl);
}
.wp-block-woocommerce-product-new.wc-block-grid.has-4-columns .wc-block-grid__product {
  flex: 0 0 auto;
  max-width: 280px;
}
@media (max-width: 1199px) {
  .wp-block-woocommerce-product-new.wc-block-grid.has-4-columns .wc-block-grid__products {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
  }
}
@media (max-width: 1023px) {
  .wp-block-woocommerce-product-new.wc-block-grid.has-4-columns .wc-block-grid__products {
    grid-template-columns: repeat(2, minmax(210px, 1fr));
  }
}
@media (max-width: 600px) {
  .wp-block-woocommerce-product-new.wc-block-grid.has-4-columns .wc-block-grid__products {
    grid-template-columns: repeat(1, minmax(210px, 1fr));
    justify-items: center;
  }
}

.wp-block-woocommerce-empty-cart-block > .wp-block-heading {
  margin-top: var(--hn-space-xl);
  margin-bottom: var(--hn-space-lg);
}
.wp-block-woocommerce-empty-cart-block {
  margin-bottom: var(--hn-space-xxl);
}

/* Product search header */
.products-search-header {
  text-align: center;
  padding: var(--hn-space-xl) 0;
}

/* Result count and ordering */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin-bottom: var(--hn-space-xxl);
}
.woocommerce .woocommerce-result-count {
  margin-top: var(--hn-space-sm);
}
@media (max-width: 600px) {
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    margin-bottom: var(--hn-space-lg);
  }
  .woocommerce .woocommerce-result-count {
    margin-bottom: var(--hn-space-md);
  }
}

/* Archive header/meta */
.hn-archive {
  display: grid;
  gap: var(--hn-space-lg);
}
.hn-archive__header {
  display: grid;
  gap: var(--hn-space-sm);
}
.hn-archive__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--hn-space-md);
}
.hn-archive__result-count {
  justify-self: start;
}
.hn-archive__ordering {
  justify-self: end;
}
@media (max-width: 767px) {
  .hn-archive__meta {
    grid-template-columns: 1fr;
  }
  .hn-archive__result-count, .hn-archive__ordering {
    justify-self: stretch;
  }
}

/* Remove legacy float/clearfix for grid-based lists */
.woocommerce ul.hn-products li.product,
.woocommerce ul.hn-products li.product.product-card {
  float: none;
  clear: none;
  width: auto;
  margin: 0;
}
.woocommerce ul.hn-products::before, .woocommerce ul.hn-products::after {
  content: none;
  display: none;
}

/* Blocks gap alignment */
.wc-block-grid__products {
  column-gap: var(--hn-space-xl);
  row-gap: var(--hn-space-xl);
}

/* Enforce 4-column setup with responsive fallbacks */
.hn-products.columns-4 {
  grid-template-columns: repeat(4, minmax(210px, 1fr));
}
@media (max-width: 1199px) {
  .hn-products.columns-4 {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
  }
}
@media (max-width: 1023px) {
  .hn-products.columns-4 {
    grid-template-columns: repeat(2, minmax(210px, 1fr));
  }
}
@media (max-width: 600px) {
  .hn-products.columns-4 {
    grid-template-columns: repeat(1, minmax(210px, 1fr));
  }
}

@media (max-width: 600px) {
  .hn-products.columns-4,
  .woocommerce ul.hn-products.columns-4,
  .woocommerce-page ul.hn-products.columns-4 {
    justify-items: center;
  }
  .product-grid {
    justify-items: center;
  }
}
/* WooCommerce: use grid instead of float-based columns on mobile */
@media (max-width: 768px) {
  .woocommerce ul.products[class*=columns-] li.product,
  .woocommerce-page ul.products[class*=columns-] li.product {
    float: none;
    clear: none;
    width: auto;
    margin: 0;
  }
}
/* WooCommerce product ordering dropdown - use Herbar Natura select styling */
.woocommerce-ordering .orderby {
  display: block;
  width: 100%;
  max-width: 280px;
  font-family: "Roboto Slab", serif;
  font-size: var(--hn-font-size-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--hn-color-text);
  background-color: var(--hn-color-bg);
  border: 2px solid var(--hn-color-brand-light);
  border-radius: 8px;
  padding: var(--hn-space-sm) 2.5rem var(--hn-space-sm) var(--hn-space-md);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2010%206%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1%201l4%204%204-4%22%20stroke%3D%22%23178F50%22%20stroke-width%3D%223%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 10px 6px;
  cursor: pointer;
  transition: border-color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 0.2s ease-out;
}
.woocommerce-ordering .orderby:focus {
  outline: none;
  border-color: var(--hn-color-brand-light-hover);
  box-shadow: 0 0 0 3px rgba(23, 143, 80, 0.15);
}
.woocommerce-ordering .orderby {
  /* Mobile: prevent zoom on iOS */
}
@media (max-width: 767px) {
  .woocommerce-ordering .orderby {
    font-size: 16px;
    max-width: 100%;
  }
}

/* Single product page tweaks */
.single-product {
  /* Product title alignment - override global center alignment */
}
.single-product div.product .product_title {
  text-align: left;
  margin-bottom: var(--hn-space-sm);
}
.single-product {
  /* Product short description - use base font size, not h4 sizing */
}
.single-product .woocommerce-product-details__short-description h4 {
  font-size: var(--hn-font-size-body);
  font-weight: 400;
  margin-bottom: 0;
}
.single-product {
  /* Variations form layout */
}
.single-product div.product .summary.entry-summary form.variations_form.cart {
  flex-direction: column;
  gap: var(--hn-space-lg);
}
.single-product div.product .summary.entry-summary form.variations_form.cart .quantity {
  margin: 0;
}
.single-product div.product .summary.entry-summary form.cart {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: var(--hn-space-md);
  margin-top: 0;
}
.single-product .variations {
  margin-bottom: 0 !important;
  display: block;
  width: 100%;
}
.single-product .variation-item {
  margin-bottom: 0;
}
.single-product .variation-item label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--hn-space-sm);
  color: #333;
}
.single-product .variation-item select {
  width: 100%;
}
.single-product .single_variation_wrap {
  display: block;
  width: 100%;
}
.single-product {
  /* Quantity widget */
}
.single-product .hn-quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--hn-color-brand-light);
  border-radius: 8px;
  overflow: hidden;
  min-height: 52px;
}
.single-product .hn-qty-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--hn-space-md);
  background: transparent;
  border: none;
  color: var(--hn-color-brand-light);
  cursor: pointer;
  font-size: 28px;
  align-self: stretch;
  height: 100%;
  transition: background-color 0.15s ease;
}
.single-product .hn-qty-button:hover, .single-product .hn-qty-button:focus-visible {
  background-color: var(--hn-color-border-soft);
}
.single-product .hn-qty-input {
  width: 60px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: var(--hn-font-size-body-lg);
  font-weight: 500;
  color: #333;
  appearance: textfield;
  -moz-appearance: textfield;
}
.single-product .hn-qty-input::-webkit-outer-spin-button, .single-product .hn-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.single-product .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: stretch;
  gap: var(--hn-space-md);
}
.single-product .woocommerce-variation-add-to-cart.woocommerce-variation-add-to-cart-disabled {
  opacity: 0.5;
  pointer-events: none;
}
.single-product .woocommerce-variation-add-to-cart .quantity {
  margin: 0;
  flex-shrink: 0;
}
.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  flex-shrink: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--hn-space-sm);
  flex: 1;
}
.single-product .single_add_to_cart_button.hn-button {
  font-size: var(--hn-font-size-body-lg);
  padding: var(--hn-space-md);
}
.single-product .single_add_to_cart_button.hn-button:hover {
  transform: none;
  box-shadow: none;
}
.single-product .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  gap: var(--hn-space-sm);
}
.single-product .hn-add-to-cart-label {
  display: inline-flex;
  align-items: center;
}
.single-product .hn-add-to-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: var(--hn-space-sm);
  font-size: var(--hn-font-size-body-lg);
}
.single-product .hn-add-to-cart-qty-icon {
  display: inline-flex;
  align-items: center;
  width: 12px;
  height: 12px;
  color: currentColor;
}
.single-product .hn-add-to-cart-qty-icon svg {
  width: 100%;
  height: 100%;
}
.single-product .hn-add-to-cart-qty-value {
  min-width: 2ch;
  text-align: center;
}
.single-product {
  /* Variation price styling */
}
.single-product .woocommerce-variation-price {
  margin-bottom: var(--hn-space-lg);
  font-size: var(--hn-font-size-heading-md);
}
.single-product .woocommerce-variation-price .hn-price-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.single-product .woocommerce-variation-price .hn-price-column--single {
  align-items: flex-start;
  text-align: left;
}
.single-product .woocommerce-variation-price .hn-price-amount--gross {
  display: inline-block;
}
.single-product .woocommerce-variation-price .hn-price-net {
  display: block;
  margin-top: 0.15rem;
  font-size: 15px;
}
.single-product .woocommerce-variation-price .hn-price-label--net {
  font-weight: 400;
  color: #666666;
}
.single-product .woocommerce-variation-price .hn-price-amount--net {
  color: #666666;
}
.single-product .woocommerce-variation-price .hn-price-column--single .hn-price-amount--regular {
  font-size: var(--hn-font-size-heading-xl);
  color: var(--hn-color-brand-strong);
  font-weight: 500;
}
.single-product .woocommerce-variation-price .hn-price-column--single .hn-price-amount--regular .woocommerce-Price-amount {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.single-product .woocommerce-variation-price .hn-price-column--single .hn-price-net--regular {
  font-size: var(--hn-font-size-body);
}
.single-product {
  /* Single product summary price */
}
.single-product div.product .summary.entry-summary {
  display: flex;
  flex-direction: column;
  row-gap: var(--hn-space-md);
  margin-bottom: var(--hn-space-xl);
}
.single-product div.product .summary.entry-summary .cart {
  margin-bottom: 0;
}
.single-product div.product .summary.entry-summary .price {
  margin: 0;
  padding-top: 0;
  font-size: var(--hn-font-size-heading-md);
  font-weight: 500;
  color: var(--hn-color-brand-strong);
  display: flex;
  align-items: flex-end;
  gap: var(--hn-space-lg);
  flex-wrap: wrap;
}
.single-product div.product .summary.entry-summary .price .hn-price-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.single-product div.product .summary.entry-summary .price .hn-price-column--sale {
  align-items: flex-end;
  text-align: right;
}
.single-product div.product .summary.entry-summary .price .hn-price-column--single {
  align-items: flex-start;
  text-align: left;
}
.single-product div.product .summary.entry-summary .price .hn-price-column--regular-on-sale .hn-price-net--regular {
  text-decoration: line-through;
  color: #999999;
}
.single-product div.product .summary.entry-summary .price .hn-price-column--regular .hn-price-amount--regular {
  font-size: var(--hn-font-size-body-lg);
}
.single-product div.product .summary.entry-summary .price .hn-price-column--regular .hn-price-net--regular {
  font-size: 13px;
}
.single-product div.product .summary.entry-summary .price .hn-price-column--sale .hn-price-amount--sale {
  font-size: var(--hn-font-size-heading-xl);
}
.single-product div.product .summary.entry-summary .price .hn-price-amount--gross {
  display: inline-block;
}
.single-product div.product .summary.entry-summary .price del.hn-price-amount--gross {
  color: #777777;
  margin-bottom: 0;
}
.single-product div.product .summary.entry-summary .price ins.hn-price-amount--gross {
  text-decoration: none;
  margin-bottom: 0;
}
.single-product div.product .summary.entry-summary .price .hn-price-net {
  display: block;
  margin-top: 0.15rem;
  font-size: 15px;
  font-weight: 400;
  color: #555555;
}
.single-product div.product .summary.entry-summary .price .hn-price-net--sale .hn-price-amount--sale {
  font-size: var(--hn-font-size-heading-xl);
}
.single-product div.product .summary.entry-summary .price .hn-price-net--sale .hn-price-net--sale {
  font-size: var(--hn-font-size-body);
}
.single-product div.product .summary.entry-summary .price .hn-price-net--single .hn-price-amount--regular {
  font-size: var(--hn-font-size-heading-xl);
}
.single-product div.product .summary.entry-summary .price .hn-price-net--single .hn-price-net--regular {
  font-size: var(--hn-font-size-body);
}
.single-product div.product .summary.entry-summary form.cart {
  margin-left: calc(var(--hn-space-md) * -1);
  margin-right: calc(var(--hn-space-md) * -1);
}
@media (max-width: 1023px) {
  .single-product .hn-quantity {
    min-width: 100px;
  }
  .single-product .hn-qty-input {
    width: 35px;
  }
  .single-product .hn-qty-button--minus,
  .single-product .hn-qty-button--plus {
    padding-inline: var(--hn-space-xs);
  }
}
@media (max-width: 600px) {
  .single-product .hn-variation-add-to-cart-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: var(--hn-space-md);
  }
  .single-product .hn-variation-add-to-cart-wrapper .single_add_to_cart_button {
    width: 100%;
  }
}
.single-product {
  /* Related products heading */
}
.single-product .related.products {
  text-align: center;
}
.single-product .related.products > h2 {
  font-size: var(--hn-font-size-heading-lg);
  margin-bottom: var(--hn-space-lg);
}
.single-product .related.products .products.columns-4 {
  margin-bottom: var(--hn-space-xxl);
}
.single-product {
  /* Product tabs: list styling with custom bullet */
}
.single-product .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
.single-product .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel ol {
  margin-left: 0;
  padding-left: var(--hn-space-lg);
}
.single-product .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel ol li {
  position: relative;
  padding-left: var(--hn-space-lg);
  margin-bottom: 0.35rem;
}
.single-product .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel ol li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background-color: var(--hn-color-brand-light);
  border-radius: 50%;
}
.single-product .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel ul li {
  position: relative;
  padding-left: var(--hn-space-lg);
  margin-bottom: 0.35rem;
}
.single-product .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background-color: var(--hn-color-brand-light);
  border-radius: 50%;
}

/* B2B Page - Wholesale landing page styles */
/* ============================================
   B2B HERO SECTION (Container-width with background)
   ============================================ */
.b2b-hero__inner {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  align-items: center;
}

.b2b-hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.b2b-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.b2b-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hn-space-lg);
  padding: var(--hn-space-xxl);
}

.b2b-hero__title {
  font-size: var(--hn-font-size-display);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin: 0;
  line-height: 1.2;
}

.b2b-hero__cta {
  background-color: var(--hn-color-brand-light);
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  padding: var(--hn-space-sm) var(--hn-space-lg);
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.b2b-hero__cta:hover {
  background-color: var(--hn-color-brand-light-hover);
  transform: translateY(-2px);
}

.b2b-hero__logo {
  position: absolute;
  bottom: var(--hn-space-lg);
  right: var(--hn-space-lg);
  z-index: 2;
}

.b2b-hero__logo-img {
  width: 100px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* B2B Hero - Tablet */
@media (max-width: 1023px) {
  .b2b-hero__inner {
    min-height: 350px;
  }
  .b2b-hero__title {
    font-size: var(--hn-font-size-heading-xl);
  }
  .b2b-hero__logo-img {
    width: 50px;
  }
}
/* B2B Hero - Mobile */
@media (max-width: 767px) {
  .b2b-hero__inner {
    min-height: 300px;
    border-radius: 12px;
  }
  .b2b-hero__content {
    text-align: center;
    padding: var(--hn-space-xl);
    width: 100%;
  }
  .b2b-hero__title {
    font-size: var(--hn-font-size-heading-lg);
  }
  .b2b-hero__logo {
    right: var(--hn-space-md);
    bottom: var(--hn-space-md);
  }
  .b2b-hero__logo-img {
    width: 40px;
  }
}
/* ============================================
   B2B CATALOG SECTION (PDF download)
   ============================================ */
.b2b-catalog {
  padding: var(--hn-space-xxl) 0;
  background-color: var(--hn-color-bg);
}

.b2b-catalog-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hn-space-xxl);
  text-align: center;
}

.b2b-catalog-title {
  font-size: var(--hn-font-size-heading-xl);
  font-weight: 700;
  color: var(--hn-color-brand);
  margin: 0;
}

.b2b-catalog-description {
  font-size: var(--hn-font-size-body-xl);
  line-height: 1.6;
  color: var(--hn-color-text);
  margin: 0;
  max-width: 900px;
}

/* B2B Catalog - Tablet */
@media (max-width: 1023px) {
  .b2b-catalog-title {
    font-size: var(--hn-font-size-heading-lg);
  }
  .b2b-catalog-description {
    max-width: 100%;
  }
}
/* B2B Catalog - Mobile */
@media (max-width: 767px) {
  .b2b-catalog {
    padding: var(--hn-space-xl) 0;
  }
  .b2b-catalog-title {
    font-size: var(--hn-font-size-heading-md);
  }
  .b2b-catalog-description {
    font-size: var(--hn-font-size-body-lg);
  }
}
/* ============================================
   B2B TARGET AUDIENCE SECTION
   ============================================ */
.b2b-targets {
  padding: var(--hn-space-xxl) 0;
  background-color: var(--hn-color-section-gray);
}

.b2b-targets-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hn-space-xxl);
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--hn-space-lg);
}

.b2b-targets-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hn-space-xs);
  text-align: center;
}

.b2b-targets-title {
  font-size: var(--hn-font-size-heading-xl);
  font-weight: 400;
  color: var(--hn-color-text-black);
  margin: 0;
}

.b2b-targets-subtitle {
  font-size: var(--hn-font-size-heading-xl);
  font-weight: 700;
  color: var(--hn-color-brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.b2b-targets-list {
  display: flex;
  flex-direction: column;
  gap: var(--hn-space-xxl);
  width: 100%;
  max-width: 900px;
}

.b2b-target-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--hn-space-lg);
}

.b2b-target-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hn-color-brand);
}
.b2b-target-icon img {
  max-width: 160px;
  height: auto;
  display: block;
}

.b2b-target-card-title {
  font-size: var(--hn-font-size-heading-card);
  font-weight: 400;
  color: var(--hn-color-brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.b2b-target-card-desc {
  font-size: 20px;
  font-weight: 300;
  color: var(--hn-color-text-black);
  line-height: 1.7;
  margin: 0;
  max-width: 800px;
}

.b2b-targets-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hn-space-xl);
  text-align: center;
  max-width: 800px;
}

.b2b-targets-cta-text {
  font-size: var(--hn-font-size-body-lg);
  font-weight: 400;
  color: var(--hn-color-text);
  line-height: 1.6;
  margin: 0;
}

/* B2B Targets - Tablet */
@media (max-width: 1023px) {
  .b2b-targets {
    padding: var(--hn-space-xl) 0;
  }
  .b2b-targets-title {
    font-size: var(--hn-font-size-heading-lg);
  }
  .b2b-targets-subtitle {
    font-size: var(--hn-font-size-heading-md);
  }
  .b2b-target-icon img {
    max-width: 140px;
  }
  .b2b-target-card-title {
    font-size: var(--hn-font-size-heading-md);
  }
  .b2b-target-card-desc {
    font-size: var(--hn-font-size-body-lg);
  }
}
/* B2B Targets - Mobile */
@media (max-width: 767px) {
  .b2b-targets {
    padding: var(--hn-space-xl) 0;
  }
  .b2b-targets-inner {
    gap: var(--hn-space-xl);
  }
  .b2b-targets-title {
    font-size: var(--hn-font-size-heading-md);
  }
  .b2b-targets-subtitle {
    font-size: var(--hn-font-size-body-xl);
  }
  .b2b-targets-list {
    gap: var(--hn-space-xl);
  }
  .b2b-target-card {
    gap: var(--hn-space-md);
  }
  .b2b-target-icon img {
    max-width: 120px;
  }
  .b2b-target-card-title {
    font-size: var(--hn-font-size-body-xl);
  }
  .b2b-target-card-desc {
    font-size: var(--hn-font-size-body);
  }
  .b2b-targets-cta-text {
    font-size: var(--hn-font-size-body);
  }
}
/* ============================================
   B2B CONTACT FORM SECTION
   ============================================ */
.b2b-contact {
  padding: var(--hn-space-xxl) 0;
}

.b2b-contact-inner {
  display: flex;
  flex-direction: column;
  gap: var(--hn-space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.b2b-contact-logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--hn-space-sm);
}
.b2b-contact-logo img {
  width: 200px;
  height: 198px;
  object-fit: contain;
}

.b2b-contact-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--hn-space-xs);
}

.b2b-contact-title {
  font-size: var(--hn-font-size-heading-xl);
  font-weight: 400;
  color: #000000;
  margin: 0;
}

.b2b-contact-title-line2 {
  font-size: var(--hn-font-size-heading-xl);
  font-weight: 700;
  color: var(--hn-color-brand);
  margin: 0;
}

.b2b-contact-subtitle {
  font-size: var(--hn-font-size-body-lg);
  font-weight: 400;
  color: var(--hn-color-neutral-dark);
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

.b2b-contact-message {
  padding: var(--hn-space-md) var(--hn-space-lg);
  border-radius: 8px;
  font-size: var(--hn-font-size-body);
  text-align: center;
}
.b2b-contact-message--success {
  background-color: var(--hn-color-success-light);
  color: var(--hn-color-success-dark);
  border: 1px solid var(--hn-color-success-base);
}
.b2b-contact-message--error {
  background-color: var(--hn-color-alert-light);
  color: var(--hn-color-alert-dark);
  border: 1px solid var(--hn-color-alert-base);
}

.b2b-contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--hn-space-lg);
}

.b2b-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hn-space-lg);
}

.hn-field--full {
  grid-column: 1/-1;
}

.b2b-contact-submit {
  display: flex;
  justify-content: center;
  margin-top: var(--hn-space-sm);
}

/* Checkbox Privacy */
.b2b-contact-privacy {
  margin: var(--hn-space-sm) 0;
  position: relative;
}

.hn-field-error--privacy {
  display: block;
  margin-top: var(--hn-space-xs);
}

/* B2B Contact - Tablet */
@media (max-width: 1023px) {
  .b2b-contact {
    padding: var(--hn-space-xl) 0;
  }
  .b2b-contact-title,
  .b2b-contact-title-line2 {
    font-size: var(--hn-font-size-heading-lg);
  }
  .b2b-contact-subtitle {
    font-size: var(--hn-font-size-body);
  }
  .b2b-contact-row {
    gap: var(--hn-space-md);
  }
}
/* B2B Contact - Mobile */
@media (max-width: 767px) {
  .b2b-contact {
    padding: var(--hn-space-xl) 0;
  }
  .b2b-contact-inner {
    gap: var(--hn-space-lg);
  }
  .b2b-contact-logo img {
    width: 120px;
    height: 119px;
  }
  .b2b-contact-title,
  .b2b-contact-title-line2 {
    font-size: var(--hn-font-size-heading-md);
  }
  .b2b-contact-row {
    grid-template-columns: 1fr;
  }
  .b2b-contact-submit .hn-button {
    width: 100%;
    font-size: var(--hn-font-size-body);
  }
}
/* ============================================
   B2B ADVANTAGES SECTION
   ============================================ */
.b2b-advantages {
  padding: var(--hn-space-xxxl) 0;
  background-color: var(--hn-color-bg);
}

.b2b-advantages-inner {
  display: flex;
  gap: var(--hn-space-xxl);
  align-items: flex-start;
}

/* Left column - Image */
.b2b-advantages-image-col {
  flex: 0 0 500px;
  display: flex;
  flex-direction: column;
  gap: var(--hn-space-sm);
}

.b2b-advantages-image-wrapper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}
.b2b-advantages-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.b2b-advantages-photo-credit {
  font-size: var(--hn-font-size-body-sm);
  color: var(--hn-color-text);
  margin: 0;
  text-align: left;
}

/* Right column - Content */
.b2b-advantages-content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--hn-space-xxl);
}

.b2b-advantages-header {
  display: flex;
  flex-direction: column;
  gap: var(--hn-space-xs);
}

.b2b-advantages-title {
  font-size: var(--hn-font-size-heading-xl);
  font-weight: 400;
  color: var(--hn-color-text-black);
  margin: 0;
}

.b2b-advantages-subtitle {
  font-size: var(--hn-font-size-heading-xl);
  font-weight: 700;
  color: var(--hn-color-brand);
  text-transform: uppercase;
  margin: 0;
}

/* Advantages list */
.b2b-advantages-list {
  display: flex;
  flex-direction: column;
  gap: var(--hn-space-xl);
}

.b2b-advantages-item {
  display: flex;
  flex-direction: column;
  gap: var(--hn-space-sm);
  padding-bottom: var(--hn-space-xl);
  border-bottom: 1px solid var(--hn-color-border-medium);
}
.b2b-advantages-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.b2b-advantages-item-header {
  display: flex;
  align-items: center;
  gap: var(--hn-space-xs);
}

.b2b-advantages-item-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.b2b-advantages-item-title {
  font-size: var(--hn-font-size-heading-lg);
  font-weight: 700;
  color: var(--hn-color-brand);
  margin: 0;
}

.b2b-advantages-item-desc {
  font-size: var(--hn-font-size-body-xl);
  font-weight: 400;
  color: var(--hn-color-text-black);
  line-height: 1.6;
  margin: 0;
}

/* B2B Advantages - Tablet */
@media (max-width: 1023px) {
  .b2b-advantages {
    padding: var(--hn-space-xl) 0;
  }
  .b2b-advantages-inner {
    gap: var(--hn-space-xl);
  }
  .b2b-advantages-image-col {
    flex: 0 0 400px;
  }
  .b2b-advantages-title,
  .b2b-advantages-subtitle {
    font-size: var(--hn-font-size-heading-lg);
  }
  .b2b-advantages-item-title {
    font-size: var(--hn-font-size-heading-md);
  }
  .b2b-advantages-item-desc {
    font-size: var(--hn-font-size-body-lg);
  }
  .b2b-advantages-list {
    gap: var(--hn-space-lg);
  }
}
/* B2B Advantages - Mobile */
@media (max-width: 767px) {
  .b2b-advantages {
    padding: var(--hn-space-xl) 0;
  }
  .b2b-advantages-inner {
    flex-direction: column;
    gap: var(--hn-space-lg);
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
  }
  /* On mobile: header first, then image as square, then content */
  .b2b-advantages-content-col {
    order: 1;
    gap: var(--hn-space-lg);
  }
  .b2b-advantages-header {
    text-align: center;
  }
  .b2b-advantages-image-col {
    order: 2;
    flex: none;
    width: 100%;
  }
  .b2b-advantages-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
  }
  .b2b-advantages-image-wrapper img {
    width: 100%;
    height: auto;
  }
  .b2b-advantages-title,
  .b2b-advantages-subtitle {
    font-size: var(--hn-font-size-heading-md);
  }
  .b2b-advantages-item-title {
    font-size: var(--hn-font-size-body-xl);
  }
  .b2b-advantages-item-desc {
    font-size: var(--hn-font-size-body);
  }
  .b2b-advantages-list {
    gap: var(--hn-space-lg);
  }
}
/* ============================================
   B2B ASSORTMENT SECTION
   ============================================ */
.b2b-assortment {
  padding: var(--hn-space-xxl) 0;
  background-color: #F5F5F5;
}

.b2b-assortment-inner {
  display: flex;
  flex-direction: column;
  gap: var(--hn-space-xxl);
}

/* Header */
.b2b-assortment-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--hn-space-xs);
}

.b2b-assortment-title {
  font-size: var(--hn-font-size-heading-xl);
  font-weight: 400;
  color: #000000;
  margin: 0;
}

.b2b-assortment-subtitle {
  font-size: var(--hn-font-size-heading-xl);
  font-weight: 700;
  color: #085A2F;
  text-transform: uppercase;
  margin: 0;
}

.b2b-assortment-description {
  font-size: var(--hn-font-size-heading-lg);
  font-weight: 700;
  color: #085A2F;
  margin: 0;
}

/* Categories Grid */
.b2b-assortment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--hn-space-xxl) var(--hn-space-xl);
}

.b2b-assortment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--hn-space-sm);
}

.b2b-assortment-item-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--hn-space-sm);
}
.b2b-assortment-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.b2b-assortment-item-title {
  font-size: var(--hn-font-size-heading-md);
  font-weight: 700;
  color: var(--hn-color-brand);
  text-transform: uppercase;
  margin: 0;
}

.b2b-assortment-item-desc {
  font-size: var(--hn-font-size-body);
  font-weight: 400;
  color: var(--hn-color-text-black);
  line-height: 1.6;
  margin: 0;
}

/* B2B Assortment - Tablet */
@media (max-width: 1023px) {
  .b2b-assortment {
    padding: var(--hn-space-xl) 0;
  }
  .b2b-assortment-inner {
    gap: var(--hn-space-xl);
  }
  .b2b-assortment-title,
  .b2b-assortment-subtitle {
    font-size: var(--hn-font-size-heading-lg);
  }
  .b2b-assortment-description {
    font-size: var(--hn-font-size-body-lg);
  }
  .b2b-assortment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--hn-space-xl);
  }
  .b2b-assortment-item-icon {
    width: 80px;
    height: 80px;
  }
  .b2b-assortment-item-title {
    font-size: var(--hn-font-size-heading-sm);
  }
}
/* B2B Assortment - Mobile */
@media (max-width: 767px) {
  .b2b-assortment {
    padding: var(--hn-space-xl) 0;
  }
  .b2b-assortment-inner {
    gap: var(--hn-space-lg);
  }
  .b2b-assortment-title,
  .b2b-assortment-subtitle {
    font-size: var(--hn-font-size-heading-md);
  }
  .b2b-assortment-description {
    font-size: var(--hn-font-size-body-lg);
  }
  .b2b-assortment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--hn-space-lg);
  }
  .b2b-assortment-item-icon {
    width: 60px;
    height: 60px;
  }
  .b2b-assortment-item-title {
    font-size: var(--hn-font-size-body);
  }
  .b2b-assortment-item-desc {
    font-size: var(--hn-font-size-body-sm);
    display: none;
  }
}
/* My Account page styles */
.woocommerce-form-login-wrapper {
  max-width: 480px;
  margin: 0 auto;
  padding: var(--hn-space-lg);
}
.woocommerce-form-login-wrapper h2 {
  margin-bottom: var(--hn-space-md);
  text-align: center;
}

.woocommerce-form-register .woocommerce-form-row {
  margin-bottom: var(--hn-space-sm);
}
.woocommerce-form-register .woocommerce-form-row label {
  display: block;
  margin-bottom: var(--hn-space-xs);
  font-weight: 500;
}
.woocommerce-form-register .woocommerce-form-row input.input-text {
  width: 100%;
}

.woocommerce-form-login .woocommerce-form-row {
  margin-bottom: var(--hn-space-sm);
}
.woocommerce-form-login .woocommerce-form-row label {
  display: block;
  margin-bottom: var(--hn-space-xs);
  font-weight: 500;
}
.woocommerce-form-login .woocommerce-form-row input.input-text {
  width: 100%;
}
.woocommerce-form-login .lost_password {
  margin-top: var(--hn-space-sm);
  text-align: center;
}
.woocommerce-form-login .lost_password a {
  color: var(--hn-color-brand);
  text-decoration: underline;
}
.woocommerce-form-login .lost_password a:hover {
  color: var(--hn-color-brand-hover);
}

.woocommerce-register-section {
  margin-top: var(--hn-space-lg);
  padding-top: var(--hn-space-lg);
  border-top: 1px solid var(--hn-color-border);
  text-align: center;
}
.woocommerce-register-section h3 {
  margin-bottom: var(--hn-space-sm);
  font-size: var(--hn-font-size-h4);
}
.woocommerce-register-section p {
  margin-bottom: var(--hn-space-md);
  color: var(--hn-color-text-secondary);
}
.woocommerce-register-section .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--hn-space-sm) var(--hn-space-md);
  background-color: transparent;
  color: var(--hn-color-brand-light);
  font-size: var(--hn-font-size-body-lg);
  font-weight: 300;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--hn-color-brand-light);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;
}
.woocommerce-register-section .button:hover, .woocommerce-register-section .button:focus {
  background-color: var(--hn-color-brand-light);
  border-color: var(--hn-color-brand-light-hover);
  color: var(--hn-color-text-invert);
  text-decoration: none;
}
.woocommerce-register-section .button:focus-visible {
  outline: 2px solid var(--hn-color-brand);
  outline-offset: 2px;
}
