/* ============================================================
   RIGSMITH WEBSITE - COMPLETE STYLESHEET
   Organized and optimized for maintainability
============================================================ */

/* ============================================================
   ROOT VARIABLES - Unified Design System
============================================================ */
:root {
  /* Colors */
  --dark-green: #0B6623;
  --mid-green: #2e7d32;
  --accent: #3aa04a;
  --panel: #ffffff;
  --text: #07210f;
  --text-light: #ffffff;
  --hover-glow: #ff9500;
  --product-bg: #f5f5f5;
  
  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  
  /* Border Radius */
  --radius-pill: 24px;
  --radius-card: 12px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s ease;
}

/* ============================================================
   BASE RESET & GLOBAL STYLES
============================================================ */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background-color: var(--product-bg);
  font-family: var(--font-primary) !important;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  height: auto !important;
  min-height: 100vh !important;
  overflow-y: auto !important;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
.woocommerce,
.woocommerce * {
  font-family: var(--font-primary) !important;
}

h1.page-title,
.entry-title,
.page-title {
  display: block !important;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.4;
  color: var(--text);
}

h1.page-title strong,
.entry-title strong,
.page-title strong {
  font-weight: 900;
  font-size: inherit;
}

/* ============================================================
   LAYOUT WRAPPER - Main Container with Rounded Corners
============================================================ */
.site-wrapper {
  width: calc(100% - 8px);
  max-width: 1200px;
  margin: 4px auto;
  background: #ffffff;
  border: 2px solid var(--accent);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden; /* CRITICAL: Prevents child elements from breaking rounded corners */
}

.site-wrapper > * {
  max-width: 100%;
}

/* ============================================================
   OVERLAY (for Mobile Menu)
============================================================ */
.body-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.body-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   CONTACT BAR
============================================================ */
.contact-bar {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 8px 60px;
  font-size: 14px;
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0.3px;
  background-color: var(--dark-green);
  color: var(--text-light);
}

.contact-item {
  white-space: nowrap;
}

.contact-bar a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-bar a:hover {
  color: var(--hover-glow);
}

/* ============================================================
   HEADER - Main Navigation Area
============================================================ */
.site-header {
  background: var(--dark-green);
  padding: 8px 8px;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
  align-items: flex-end;
  gap: 15px;
  max-width: 100%;
}

/* ============================================================
   HAMBURGER MENU BUTTON
============================================================ */
.header-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  height: 40px;
  background-color: var(--mid-green);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  transition: all var(--transition-fast);
  cursor: pointer;
  width: fit-content;
}

.header-left:hover {
  background-color: var(--hover-glow);
  border-color: var(--hover-glow);
  transform: translateY(-1px);
}

.hamburger-menu {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
  pointer-events: none;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: background var(--transition-fast);
}

.header-left:hover .hamburger-line {
  background: var(--text);
}

.menu-text {
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
  transition: color var(--transition-fast);
  pointer-events: none;
}

.header-left:hover .menu-text {
  color: var(--text);
}

/* ============================================================
   LOGO
============================================================ */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-width: 0;
  height: 40px;
  grid-column: 2;
}

.site-logo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  max-width: 100%;
  height: 100%;
}

.site-logo img {
  max-width: 100%;
  height: auto;
  max-height: 40px;
  filter: brightness(1.4) contrast(1.1);
  display: block;
  object-fit: contain;
}

.site-logo h1,
.site-title,
.site-description {
  display: none !important;
}

/* ============================================================
   HEADER RIGHT - Cart & Currency
============================================================ */
.header-right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  padding-right: 4px;
  min-width: 200px;
}

/* Cart Button */
.cart-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--mid-green);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  color: var(--text-light);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  height: 40px;
  text-transform: uppercase;
}

.cart-box:hover {
  background-color: var(--hover-glow);
  border-color: var(--hover-glow);
  color: var(--text);
  transform: translateY(-1px);
}

.cart-icon {
  display: flex;
  align-items: center;
  margin-top: -2px;
}

.cart-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.cart-text {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.cart-count {
  background: var(--text-light);
  color: var(--mid-green);
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.2;
  min-width: 18px;
  text-align: center;
}

.cart-box:hover .cart-count {
  background: var(--text);
  color: var(--text-light);
}

/* Currency Selector */
.currency-selector-wrapper {
  background-color: var(--mid-green);
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  height: 40px;
  min-width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  font-family: var(--font-primary);
  font-weight: 700;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.currency-selector-wrapper:hover {
  background-color: var(--hover-glow);
  border-color: var(--hover-glow);
  color: var(--text);
  transform: translateY(-1px);
}

.currency-display-text {
  z-index: 5;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
  padding: 0 2ch;
}

.currency-custom-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background-color: var(--mid-green);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.currency-selector-wrapper.active .currency-custom-dropdown {
  display: flex;
}

.currency-option {
  padding: 10px 16px;
  color: var(--text-light);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.currency-option:hover {
  background-color: var(--hover-glow);
  color: var(--text);
}

/* ============================================================
   SIDEBAR MENU (Mobile/Drawer Navigation)
============================================================ */
.sidebar-menu {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100%;
  background: var(--panel);
  z-index: 999;
  overflow-y: auto;
  transition: left var(--transition-smooth);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
}

.sidebar-menu.active {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--dark-green);
  color: var(--text-light);
}

.sidebar-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-family: var(--font-primary);
}

.sidebar-close {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  transition: all var(--transition-fast);
}

.sidebar-close:hover {
  color: var(--hover-glow);
  transform: rotate(90deg);
}

.sidebar-content {
  padding: 20px;
}

.sidebar-section {
  margin-bottom: 20px;
}

.sidebar-section h4 {
  color: var(--dark-green);
  font-family: var(--font-primary);
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.sidebar-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-section ul li {
  margin-bottom: 4px;
}

.sidebar-section ul li a {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  padding: 6px 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  transition: color var(--transition-smooth), text-shadow var(--transition-smooth);
  display: block;
}

.sidebar-section ul li a:hover {
  color: var(--hover-glow) !important;
  text-shadow: 0 0 8px var(--hover-glow);
  background: transparent !important;
  transform: none !important;
}

.sidebar-social .social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.sidebar-social .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--dark-green);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.sidebar-social .social-links a svg {
  width: 20px;
  height: 20px;
  fill: var(--text-light);
}

.sidebar-social .social-links a:hover {
  background: var(--hover-glow);
  transform: scale(1.1);
}

/* ============================================================
   MAIN NAVIGATION BAR
============================================================ */
.site-nav {
  padding: 4px 20px;
  background: transparent;
  border-top: 2px solid var(--dark-green);
}

.site-nav .nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .nav a {
  padding: 6px 0;
  color: var(--dark-green);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.site-nav .nav a:hover {
  color: var(--hover-glow);
}

/* ============================================================
   CONTENT AREAS
============================================================ */
.site-content {
  padding: 0 20px 40px 20px !important;
  box-sizing: border-box !important;
}

/* Remove top spacing from content containers */
.content-area {
  padding-top: 0 !important;
}

.inside-article {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.site-main {
  padding-top: 0 !important;
}

.entry-header {
  margin-top: 0 !important;
}

.content-inner,
.site-hero {
  max-width: 1200px;
  margin: 0 auto;
}

.site-hero {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 20px;
}

.hero-copy h1 {
  font-family: var(--font-primary);
  color: var(--text);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-copy p {
  font-family: var(--font-primary);
  color: var(--text);
  line-height: 1.7;
}

.wp-block-separator {
  border-top: 2px solid var(--accent);
  margin: 24px 0;
  border-radius: 4px;
}

/* ============================================================
   BUTTONS - Global Button Styles
============================================================ */
.button,
.wp-block-button__link,
button[type="submit"],
.woocommerce-button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
input[type="submit"],
.footer-column.newsletter button,
.single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt {
  background: var(--dark-green) !important;
  color: var(--text-light) !important;
  padding: 12px 28px !important;
  border-radius: var(--radius-pill) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  text-decoration: none;
  font-family: var(--font-primary) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  cursor: pointer;
  transition: all var(--transition-fast) !important;
  display: inline-block;
  text-align: center;
}

.button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
.woocommerce-button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
input[type="submit"]:hover,
.footer-column.newsletter button:hover,
.single_add_to_cart_button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce button.button.alt:hover {
  background: var(--hover-glow) !important;
  border-color: var(--hover-glow) !important;
  color: var(--text) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 149, 0, 0.4);
}

/* ============================================================
   FORMS - Input Fields & Textareas
============================================================ */
input[type="email"],
input[type="text"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  border: 1px solid rgba(18,45,28,0.2);
  font-family: var(--font-primary);
  transition: all var(--transition-fast);
}

input[type="email"]:focus,
input[type="text"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
  border-color: var(--hover-glow);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1);
}

/* ============================================================
   WOOCOMMERCE - Product Listings
============================================================ */
.woocommerce-archive-wrapper {
  max-width: 100% !important;
  padding: 0 20px !important;
  margin: 0 auto !important;
}

.woocommerce ul.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  padding: 0 20px;
  list-style: none;
}

.woocommerce ul.products li.product {
  background: #fff;
  padding: 20px;
  border: 1px solid rgba(18,45,28,.06);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: all var(--transition-smooth);
  position: relative; /* For positioning the clickable overlay */
}

/* Make entire product card clickable for regular WooCommerce products */
.woocommerce ul.products li.product .woocommerce-loop-product__link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* Ensure buttons are still clickable above the overlay */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product button,
.woocommerce ul.products li.product .add_to_cart_button {
  position: relative;
  z-index: 2;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 149, 0, 0.2);
  cursor: pointer; /* Show pointer cursor on hover */
}

.woocommerce ul.products li.product img,
.woocommerce div.product div.images img,
.woocommerce-product-gallery__image img {
  border-radius: var(--radius-card) !important;
  background-color: var(--product-bg);
  padding: 12px;
  transition: transform var(--transition-fast);
}

.woocommerce ul.products li.product img:hover {
  transform: scale(1.05);
}

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-primary) !important;
  color: var(--text) !important;
  font-weight: 700;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
  color: var(--dark-green) !important;
  font-family: var(--font-primary) !important;
  font-weight: 700 !important;
}

/* ============================================================
   WOOCOMMERCE - Product Blocks (Block Editor)
============================================================ */
.wc-block-product {
  border: 2px solid var(--dark-green);
  border-radius: 12px;
  padding: 15px;
  background: #f7f8f9;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative; /* For positioning the clickable overlay */
}

/* Make entire product card clickable */
.wc-block-product .wp-block-post-title a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* Ensure buttons are still clickable above the overlay */
.wc-block-product .wp-block-button,
.wc-block-product button,
.wc-block-product a.button,
.wc-block-product .add_to_cart_button {
  position: relative;
  z-index: 2;
}

.wc-block-product > *:last-child {
  margin-top: auto;
}

.wp-block-woocommerce-product-price {
  margin-top: auto;
}

.wc-block-product-template {
  gap: 5px;
}

.wc-block-product:hover {
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
  transform: translateY(-2px);
  transition: all 0.3s ease;
  border-color: #45a049;
  cursor: pointer; /* Show pointer cursor on hover */
}

.wc-block-components-product-image img {
  border-radius: 8px;
}

.wp-block-post-title {
  margin-bottom: 0.75rem;
  min-height: 2.8em;
}

/* ============================================================
   WOOCOMMERCE - Product Grid Layout & Responsive
============================================================ */

/* Center the product grid */
ul.wc-block-product-template__responsive.columns-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  justify-items: center !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

/* Make sure each product card takes full width of its grid cell */
li.wc-block-product {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

/* Checkout and cart padding */
.woocommerce-checkout .woocommerce,
.woocommerce-cart .woocommerce {
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce form.checkout,
.woocommerce-cart-form {
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce form.checkout,
.woocommerce-cart-form,
.woocommerce-checkout {
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ============================================================
   WOOCOMMERCE - Utility Classes
============================================================ */
.woocommerce-message {
  display: none !important;
}

.added_to_cart.wc_forward {
  display: none !important;
}


/* ==========================================================
    WooCommerce Cart Coupon Field Width
   Makes the coupon code input box wider on the cart page.
   ========================================================== */

.woocommerce-cart .coupon input.input-text {
    width: 300px !important;
    min-width: 300px;
}
/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--dark-green);
  color: var(--text-light);
  padding: 40px 0 0 0; /* Remove side padding so footer-copy can extend to edges */
  text-align: center;
  border-radius: 0 0 22px 22px; /* Match the wrapper's bottom corners */
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* Add padding here instead, but not to footer-copy */
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
  text-align: left;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h4 {
  color: var(--text-light);
  font-family: var(--font-primary);
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: var(--text-light);
  font-family: var(--font-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--hover-glow);
}

/* Footer Social Links */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-social a svg {
  width: 28px;
  height: 28px;
  fill: var(--text-light);
  transition: all var(--transition-fast);
}

.footer-social a:hover svg {
  fill: var(--hover-glow);
  transform: scale(1.2);
}

/* Footer Newsletter */
.footer-column.newsletter form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer-column.newsletter input[type="email"] {
  flex: 1;
  padding: 10px 16px;
}

.footer-column.newsletter button {
  flex-shrink: 0;
}

/* Footer Copyright */
.footer-copy {
  background: var(--text-light);
  color: var(--text);
  font-family: var(--font-primary);
  font-weight: 500;
  margin: 0 !important; /* Important to override any theme defaults */
  padding: 12px 0; /* Remove side padding so it extends to edges */
  text-align: center;
  /* Parent's overflow:hidden will handle the rounded corners */
}

/* ============================================================
   COOKIE BANNER (Complianz Plugin)
============================================================ */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
  background-color: #ffffff;
  color: #333333;
  font-family: var(--font-primary);
  border: 1px solid #2a7a2a;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner a {
  color: #2a7a2a;
  text-decoration: underline;
}

#cmplz-cookiebanner-container .cmplz-btn {
  background-color: #2a7a2a;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 6px 18px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

#cmplz-cookiebanner-container .cmplz-btn:hover {
  background-color: #3fa33f;
  color: #ffffff;
}

/* Hide the banner completely after user makes selection */
.cmplz-cookiebanner.cmplz-hidden,
.cmplz-cookiebanner[style*="display: none"],
#cmplz-cookiebanner-container.cmplz-hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Also hide any minimized/collapsed state */
.cmplz-cookiebanner.cmplz-minimized {
  display: none !important;
}

/* Hide the "manage consent" button that appears after selection */
.cmplz-manage-consent,
button.cmplz-manage-consent,
.manage-consent-1,
button.manage-consent-1,
a.cmplz-manage-consent,
#cmplz-manage-consent {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* ============================================================
   RESPONSIVE DESIGN - Mobile & Tablet
============================================================ */

/* Tablet & Below */
@media (max-width: 900px) {
  .contact-bar {
    padding: 8px 30px;
    gap: 20px;
  }
  
  /* For tablets in portrait mode */
  ul.wc-block-product-template__responsive.columns-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

/* Large Mobile */
@media (max-width: 850px) {
  .logo-container {
    height: 60px;
  }
  
  .site-logo img {
    max-height: 60px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .site-nav {
    padding: 4px 10px;
  }
  
  .site-nav .nav {
    gap: 0 10px;
  }
  
  .site-nav .nav a {
    font-size: 0.85rem;
    padding: 5px 0;
  }
  
  .sidebar-menu {
    width: 280px;
    left: -280px;
  }
  
  .footer-columns {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-column {
    max-width: 100%;
  }
  
  .footer-column ul li {
    margin-bottom: 4px;
  }
  
  .footer-column.newsletter form {
    flex-direction: column;
  }
  
  .footer-column.newsletter input[type="email"],
  .footer-column.newsletter button {
    width: 100%;
  }
  
  /* Mobile responsive for product grid */
  ul.wc-block-product-template__responsive.columns-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
}

/* Mobile - Header Reorganization */
@media (max-width: 650px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  
  .logo-container {
    order: 1;
    flex-basis: 100%;
    margin-bottom: 8px;
    height: 50px;
    grid-column: unset;
  }
  
  .site-logo img {
    max-height: 50px;
  }
  
  .header-left,
  .cart-box,
  .currency-selector-wrapper {
    order: 2;
    flex: 1 1 0;
    min-width: 0;
    height: 40px;
    padding: 8px 10px;
    justify-content: center;
  }
  
  .header-left {
    flex-direction: row;
    gap: 6px;
    align-items: center;
  }
  
  .header-right {
    order: 2;
    display: contents;
    padding-right: 0;
  }
  
  .hamburger-menu {
    padding: 0;
  }
  
  .menu-text,
  .cart-text,
  .currency-display-text {
    font-size: 0.75rem;
  }
}

/* Contact Bar Mobile */
@media (max-width: 600px) {
  .contact-bar {
    flex-direction: column;
    text-align: center;
    padding: 6px 10px;
    gap: 2px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .site-nav .nav {
    gap: 0 8px;
  }
  
  .site-nav .nav a {
    font-size: 0.8rem;
  }
  
  ul.wc-block-product-template__responsive.columns-3 {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  /* Reduce site content padding on very small screens */
  .site-content {
    padding: 0 10px 40px 10px !important;
  }
}

/* ============================================================
   COOKIE BANNER (Complianz Plugin)
============================================================ */
/* Center the banner container */
#cmplz-cookiebanner-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Style the banner itself */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
  background-color: #ffffff;
  color: #333333;
  font-family: var(--font-primary);
  border: 1px solid #2a7a2a;
  padding: 20px;
  max-width: 700px;
  width: 90%;
  box-sizing: border-box;
}

/* Links */
#cmplz-cookiebanner-container .cmplz-cookiebanner a {
  color: #2a7a2a;
  text-decoration: underline;
}

/* Tighten text spacing */
#cmplz-cookiebanner-container .cmplz-message {
  line-height: 1.4;
  margin-bottom: 15px;
}

#cmplz-cookiebanner-container .cmplz-message p {
  margin: 0 0 8px 0;
  line-height: 1.4;
}

/* Button container */
#cmplz-cookiebanner-container .cmplz-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Style buttons without breaking functionality */
#cmplz-cookiebanner-container .cmplz-btn {
  background-color: #2a7a2a;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.75rem;
  white-space: nowrap;
}

#cmplz-cookiebanner-container .cmplz-btn:hover {
  background-color: #3fa33f;
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #cmplz-cookiebanner-container .cmplz-cookiebanner {
    padding: 15px;
    max-width: 95vw;
    width: 95%;
  }
  
  #cmplz-cookiebanner-container .cmplz-btn {
    padding: 8px 16px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  #cmplz-cookiebanner-container .cmplz-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  #cmplz-cookiebanner-container .cmplz-btn {
    padding: 8px 16px;
    font-size: 0.7rem;
    width: 100%;
  }
}
