@charset "UTF-8";
/* COMPONENTS.CSS — Global Reusable Components */

/* Pagination */
.gi-pro-pagination ul li a:hover i {
  color: #fff;
}

.gi-pro-pagination ul li a.next {
  width: auto;
  padding: 0 13px;
  color: #fff;
  background-color: #5a8219;
  line-height: 30px;
}

.gi-pro-pagination ul li a.next i {
  transition: all 0.3s ease-in-out;
  margin-left: 10px;
  color: #fff;
}

.gi-pro-pagination ul li a.next:hover i {
  color: #fff;
}

.gi-pro-pagination ul li a.active {
  color: #fff;
  background-color: #5a8219;
}

.gi-product-inner .gi-pro-image-outer {
  transition: all 0.3s ease 0s;
}

.gi-product-inner .gi-pro-image .percentage {
  position: absolute;
  z-index: 8;
  top: 15px;
  right: 15px;
  font-size: 13px;
  font-weight: 500;
  line-height: 29px;
  padding: 0 7px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #5a8219;
}

/* Legacy image zoom on hover — disabled */
/* .gi-product-inner:hover .gi-pro-image .image img {
  transform: scale(1.1);
} */

.gi-product-inner:hover .gi-pro-image .image img:not(:last-child) {
  opacity: 0;
}

/**  Shop Sidebar  **/

.gi-open {
  transform: translateX(0) !important;
}

.gi-shop-sidebar .gi-sidebar-block .gi-sidebar-block-item input:checked~.checked::after,
.gi-shop-sidebar-2 .gi-sidebar-block .gi-sidebar-block-item input:checked~.checked::after {
  display: block;
}

.gi-shop-sidebar .gi-sidebar-block .gi-sidebar-block-item a i,
.gi-shop-sidebar-2 .gi-sidebar-block .gi-sidebar-block-item a i {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  font-size: 17px;
}

.gi-shop-sidebar .gi-sidebar-block .gi-sidebar-block-item a .products,
.gi-shop-sidebar-2 .gi-sidebar-block .gi-sidebar-block-item a .products {
  color: #999;
  font-size: 13px;
}

.gi-shop-sidebar .gi-sidebar-block .gi-sidebar-block-item .checked:after,
.gi-shop-sidebar-2 .gi-sidebar-block .gi-sidebar-block-item .checked:after {
  left: -1px;
  top: -1px;
  width: 18px;
  height: 18px;
  border: 1px solid #5a8219;
  content: "\f00c";
  position: absolute;
  display: none;
  background: #5a8219;
  font-family: "gIcons";
  font-size: 10px;
  color: #fff;
  line-height: 16px;
  text-align: center;
}

.gi-single-product {
  margin-bottom: 0;
  /* Single Product */
}

.gi-single-product .single-pro-content p {
  font-size: 14px;
  color: #525252;
  margin: 0 0 10px;
}

.gi-single-product .single-pro-content p span {
  font-weight: 400;
}

@keyframes wave {

  0%,
  100% {
    height: 4px;
  }

  50% {
    height: 14px;
  }
}

/* Components from page.css */

/* GLOBAL TAG SYSTEM */

/* 1. Base Tag Styles */
.gl-tag {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

/* 2. Size Variants */

/* Small: Product card badges (New, -15%, Color) */
.gl-tag-sm {
  padding: 4px 10px;
  font-size: 11px;
}

/* Medium: Category badges, filter labels */
.gl-tag-md {
  padding: 5px 10px;
  font-size: 11px;
}

/* 3. Color Variants - Solid Background */

/* Dark (Default) - #262626 */
.gl-tag-dark {
  background-color: rgba(38, 38, 38, 0.85);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

/* Primary (Brand Green) - #5a8219 */
.gl-tag-primary {
  background-color: #5a8219;
  color: #ffffff;
}

/* Danger (Discount Red) - #dc2626 */
.gl-tag-danger {
  background-color: rgba(220, 38, 38, 0.85);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

/* 4. Color Variants - Subtle/Outline */

/* Subtle Primary (Light green background) */
.gl-tag-subtle-primary {
  background-color: rgba(90, 130, 25, 0.1);
  color: #5a8219;
}

/* Outline Style (Border only) - used for product color tags */
.gl-tag-outline {
  background-color: rgba(255, 255, 255, 0.85);
  color: #262626;
  border: 1px solid #e5e5e7;
  padding-right: calc(10px + 0.5px);
  /* compensate letter-spacing trailing space */
  backdrop-filter: blur(4px);
}

.gl-tag-outline:hover {
  border-color: #5a8219;
  color: #5a8219;
}

/* Semantic Aliases — Product Badge System */

/* Brand Tag → Neutral & Elegant #f5f5f5 */
.gl-tag-brand {
  background-color: #f5f5f5;
  color: #525252;
  border-color: #e5e5e7;
}

.gl-tag-brand:hover {
  background-color: #e5e5e7;
  color: #262626;
}


/* New Arrival → Brand Green #5a8219 */
.gl-tag-new {
  background-color: #5a8219;
  color: #ffffff;
}

/* Hot → Dark #262626 */
.gl-tag-bestseller {
  background-color: #f27d0c;
  color: #ffffff;
}

/* Discount → Red #dc2626 */
.gl-tag-discount {
  background-color: rgba(220, 38, 38, 0.85);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

/* Top Rated → Orange #f27d0c */
.gl-tag-toprated {
  background-color: #f27d0c;
  color: #ffffff;
}

/* Product Color → Outline (white bg + border) */
.gl-tag-color {
  background-color: rgba(255, 255, 255, 0.85);
  color: #262626;
  border: 1px solid #e5e5e7;
  padding-right: calc(10px + 0.5px);
  backdrop-filter: blur(4px);
}

.gl-tag-color:hover {
  border-color: #5a8219;
  color: #5a8219;
}

/* Discontinued gl-tag */
.gl-tag-discontinued {
  background-color: #d4d4d4;
  color: #ffffff;
  border: 1px solid #d4d4d4;

}

.gi-pro-badge-row .gl-tag-discontinued {
  margin-top: 8px
}

/* Certified Standards Badge — "Globlazer Standards" verification seal */
.gl-tag-standards {
  background: linear-gradient(135deg, #f5f0ea 0%, #ece5db 100%);
  color: #5c5347;
  border: 1px solid #d9d0c4;
  font-weight: 600;
  letter-spacing: 0.02em;
  gap: 5px;
}

.gl-tag-standards i {
  font-size: 12px;
  color: #8a7e6f;
}

/* 6. Filter Tag */
.gl-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px 5px 13px;
  background-color: #fafafa;
  border: 2px solid #262626;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #262626;
  transition: all 0.2s ease;
}

.gl-filter-tag:hover {
  background-color: #f0f0f0;
}

.gl-filter-tag .gl-tag-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: rgba(38, 38, 38, 0.1);
  font-size: 12px;
  color: #262626;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.gl-filter-tag:hover .gl-tag-close {
  background-color: rgba(38, 38, 38, 0.2);
}

/* Sort dropdown focus state removal */
#sort-desktop,
#sort-mobile {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

#sort-desktop:focus,
#sort-mobile:focus,
#sort-desktop:focus-visible,
#sort-mobile:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.gl-identity-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gl-identity-card:hover {
  transform: none;
}

.gl-form-group input:focus,
.gl-form-group select:focus,
.gl-form-group textarea:focus {
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(90, 130, 25, 0.08);
}

.gl-nav-card {
  transition: all 0.3s ease;
}

.gl-nav-card:hover {
  transform: none;
}

.gl-nav-card img {
  transition: transform 0.5s ease;
}

.gl-nav-card:hover img {
  transform: scale(1.05);
}

.gl-availability-container {
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
}

/* Form refinement */
.gl-form-group input::placeholder,
.gl-form-group textarea::placeholder {
  color: #999999;
}

.gl-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23999999'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}

/* Product List Page - Sidebar Toggle (PC) */

/* Smooth transition for sidebar show/hide */
@media (min-width: 992px) {
  .gi-shop-sidebar {
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.25s ease,
      padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  }
}

/* Product List Page - Mobile Filter Sidebar */

/* Mobile: sidebar as slide-in drawer from right (framework pattern) */
@media (max-width: 991px) {
  .gi-shop-sidebar {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 340px !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 1001 !important;
    background: #fdfdfd !important;
    overflow-y: auto !important;
    padding: 15px 20px 20px !important;
    transform: translateX(100%);
    transition: all 0.2s ease-in-out !important;
  }

  .gi-shop-sidebar.gl-sidebar-mobile-open {
    transform: translateX(0);
    opacity: 1;
  }

  /* Mobile filter header visible */
  .gi-mobile-filter-header {
    display: block !important;
  }
}

/* Overlay — matches .gi-mobile-menu-overlay pattern */
.gl-sidebar-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

/* Reviews List Page - #review_sidebar Card Style */

#review_sidebar .gi-sidebar-block {
  background: #ffffff;
  border: 1px solid #e5e5e7;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

#review_sidebar .gi-sidebar-block .gi-sb-title {
  margin-bottom: 0;
}

#review_sidebar .gi-sidebar-block .gi-sb-block-content ul {
  margin-top: 0;
}

/* Product List Page - Sidebar Keyword Search */

#sidebar-keyword-input {
  width: 100%;
  height: 44px;
  padding-left: 40px;
  padding-right: 44px;
  font-family: inherit;
  font-size: 14px;
  color: #262626;
  background-color: #f5f5f5;
  border: 1px solid #e5e5e7;
  border-radius: 9999px;
  outline: none;
  box-shadow: none;
  transition: all 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  letter-spacing: 0;
}

#sidebar-keyword-input::placeholder {
  color: #999;
  letter-spacing: 0;
}

#sidebar-keyword-input:focus {
  background-color: #ffffff;
  border-color: #5a8219;
  box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.08);
}

/* Clear All Button — override Storefront global button styles */
#sidebar-search-reset {
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: #5a8219;
  background-color: #ffffff;
  border: 1px solid #5a8219;
  padding: 8px 20px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: none;
}

#sidebar-search-reset:hover {
  background-color: #5a8219;
  color: #ffffff;
}

/* Product List Page - Color Variant Dots */

.gi-pro-color-dot {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #e5e5e7;
  cursor: pointer;
}

.gi-pro-color-dot:hover {
  border-color: #525252;
}

.gi-pro-color-dot.active {
  border-color: transparent;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #262626;
  margin: 0 3.5px;
}

/* Color Variant Classes */
.gi-color-light-grey {
  background-color: #c8c8c8;
}

.gi-color-dark-grey {
  background-color: #4a4a4a;
}

.gi-color-beige {
  background-color: #d4c5a9;
}

.gi-color-cactus-green {
  background-color: #5a8219;
}

.gi-color-red-black {
  background: linear-gradient(135deg, #ab2027, #1f2120);
}

.gi-color-leopard-print {
  background: linear-gradient(135deg, #b18057, #1a1712);
}

.gi-color-pink {
  background-color: #f7ced4;
}

/* Color Variant Dots - Mobile Responsive */
@media (max-width: 767px) {
  .gi-pro-color-dot {
    width: 20px;
    height: 20px;
    border-radius: 2px; /* Square with slight rounding */
    border: 1px solid #d4d4d4;
  }

  .gi-pro-color-dot.active {
    border: 2px solid #262626;
    box-shadow: none;
    margin: 0;
  }
}

/* Product List Page - Left Sidebar Filter Styles */

/* Element-Level Reset (Anti-Pollution Guard) */
.gi-shop-sidebar *,
.gi-shop-sidebar *::before,
.gi-shop-sidebar *::after {
  box-sizing: border-box;
}

.gi-shop-sidebar ul,
.gi-shop-sidebar ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gi-shop-sidebar li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gi-shop-sidebar a:not(.gl-filter-tag) {
  text-decoration: none;
  color: inherit;
  background: none;
}

.gi-shop-sidebar .gi-sidebar-title {
  margin: 0;
  padding: 0;
}

.gi-shop-sidebar button {
  font-family: inherit;
  cursor: pointer;
}

.gi-shop-sidebar input[type="text"] {
  font-family: inherit;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

.gi-shop-sidebar img {
  max-width: 100%;
  height: auto;
  border: none;
}

.gi-shop-sidebar form {
  margin: 0;
  padding: 0;
}

/* Filter checkbox hover - border thickness increases to 2px */
.gi-shop-sidebar .gi-sb-block-content ul li a.group:hover span.border-\[1\.5px\] {
  border-width: 2px !important;
}

/* Hover checkmark preview (non-selected items only) */
.gi-shop-sidebar .gi-sb-block-content ul li a.group:not(.gl-sidebar-select):hover span.border-\[1\.5px\] {
  position: relative;
}

.gi-shop-sidebar .gi-sb-block-content ul li a.group:not(.gl-sidebar-select):hover {
  background-color: rgba(90, 130, 25, 0.06);
}

.gi-shop-sidebar .gi-sb-block-content ul li a.group:not(.gl-sidebar-select):hover span.border-\[1\.5px\]::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  width: 5px;
  height: 9px;
  border: solid rgba(90, 130, 25, 0.5);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* Sidebar Filter Title */
.gi-shop-sidebar .gi-sidebar-block {
  border-bottom: 1px solid #e5e5e7;
}

.gi-shop-sidebar .gi-sidebar-title {
  padding: 15px 12px;
  cursor: pointer;
  align-items: center;
}

.gi-shop-sidebar .gi-sb-block-content {
  padding-bottom: 15px;
}

.gi-shop-sidebar .gi-sidebar-title .gi-sidebar-res {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-left: auto;
  flex-shrink: 0;
}

.gi-shop-sidebar .gi-sidebar-title .gi-sidebar-res i {
  font-size: 14px;
  line-height: 1;
  transition: transform 0.3s ease;
}

/* Mobile: ensure same flex alignment */
@media (max-width: 991px) {
  .gi-shop-sidebar .gi-sidebar-title .gi-sidebar-res {
    padding-right: 0;
  }
}

/* Sidebar Filter - Selected State (.gl-sidebar-select) */

/* Container background for selected state */
.gi-shop-sidebar .gl-sidebar-select {
  background-color: #fafafa !important;
}

/* Type 1: Checkbox Selected State (Series, Capacity, Cat Size, Height) */
/* Target the checkbox span with existing Tailwind classes */
.gi-shop-sidebar .gl-sidebar-select span.border-\[1\.5px\] {
  border-width: 2px !important;
  border-color: #262626 !important;
  background-color: #262626 !important;
  position: relative;
}

/* Add checkmark icon via pure CSS (border technique) */
.gi-shop-sidebar .gl-sidebar-select span.border-\[1\.5px\]::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* Checkbox text - medium weight */
.gi-shop-sidebar .gl-sidebar-select span.text-\[14px\] {
  font-weight: 500 !important;
}

/* Disable hover effect for already selected items */
.gi-shop-sidebar .gl-sidebar-select:hover {
  background-color: #fafafa !important;
}

.gi-shop-sidebar .gl-sidebar-select:hover span.border-\[1\.5px\] {
  border-color: #262626 !important;
}

/* GLOBAL ACCORDION COMPONENT */

/* Accordion item container */
.gi-accordion-item {
  transition: all 0.3s ease;
}

/* Active state border highlight */
.gi-accordion-item.gi-accordion-active {
  border-color: #5a8219 !important;
}

/* Accordion header hover */
.gi-accordion-header:hover {
  background-color: rgba(90, 130, 25, 0.03);
}

/* Accordion body (content) */
.gi-accordion-body {
  display: none;
}

/* Icon rotation class */
.gi-accordion-icon {
  transition: transform 0.3s ease;
}

.gi-accordion-icon.rotate-180 {
  transform: rotate(180deg);
}

/* TOAST NOTIFICATION ANIMATION */

@keyframes gi-toast-fade-in {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.gl-animate-fade-in {
  animation: gi-toast-fade-in 0.2s ease-out;
}

/* Toast base styles */
.gi-toast {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* CUSTOM CHECKBOX DOT FOR PROJECT GOAL */

/* Outer square: checked state */
input[type="checkbox"]:checked~div .gl-checkbox-dot {
  border-color: #5a8219;
  background-color: #5a8219;
}

/* Inner checkmark: checked state */
input[type="checkbox"]:checked~div .gl-checkbox-dot-inner {
  color: #fff;
  opacity: 1;
}

/* DESIGN FORM - SELECTED CHECKMARK ICON */

.gl-design-check-group label>div {
  position: relative;
}

.gl-design-check-group label>input:checked+div::after {
  content: '✓';
  position: absolute;
  bottom: 3px;
  right: 5px;
  color: #5a8219;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

/* Exclude sections that use their own selection indicator */
.gl-design-check-group .gl-no-check label>input:checked+div::after {
  display: none;
}

/* RICH TEXT COMPONENT (.gi-richtext) */

/* Base container */
.gi-richtext {
  font-size: 16px;
  line-height: 1.8;
  color: #525252;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* --- Headings --- */
.gi-richtext h2 {
  font-size: 24px;
  font-weight: 600;
  color: #262626;
  line-height: 1.3;
  margin-top: 20px;
  margin-bottom: 12px;
}

.gi-richtext h3 {
  font-size: 20px;
  font-weight: 600;
  color: #262626;
  line-height: 1.4;
  margin-top: 20px;
  margin-bottom: 10px;
}

.gi-richtext h4 {
  font-size: 18px;
  font-weight: 600;
  color: #262626;
  line-height: 1.4;
  margin-top: 20px;
  margin-bottom: 8px;
}

.gi-richtext h5 {
  font-size: 16px;
  font-weight: 600;
  color: #262626;
  line-height: 1.5;
  margin-top: 20px;
  margin-bottom: 6px;
}

.gi-richtext h6 {
  font-size: 14px;
  font-weight: 600;
  color: #525252;
  line-height: 1.5;
  margin-top: 20px;
  margin-bottom: 6px;
}

/* First child: no top margin */
.gi-richtext> :first-child {
  margin-top: 0;
}

/* Last child: no bottom margin */
.gi-richtext> :last-child {
  margin-bottom: 0;
}

/* --- Paragraphs --- */
.gi-richtext p {
  margin-bottom: 20px;
}

/* --- Links --- */
.gi-richtext a {
  color: #5a8219;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.gi-richtext a:hover {
  opacity: 0.7;
}

/* --- Bold & Italic --- */
.gi-richtext strong,
.gi-richtext b {
  font-weight: 600;
  color: #262626;
}

.gi-richtext em,
.gi-richtext i {
  font-style: italic;
}

/* --- Blockquote --- */
.gi-richtext blockquote {
  border-left: 3px solid #5a8219;
  padding: 12px 20px;
  margin: 20px 0;
  font-style: italic;
  font-size: 17px;
  color: #525252;
  line-height: 1.7;
  background: #fafafa;
  border-radius: 0 8px 8px 0;
}

.gi-richtext blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #262626;
  font-style: normal;
}

/* --- Lists --- */
.gi-richtext ul {
  list-style-type: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}

.gi-richtext ol {
  list-style-type: decimal;
  padding-left: 24px;
  margin-bottom: 20px;
}

.gi-richtext li {
  margin-bottom: 6px;
  line-height: 1.7;
}

.gi-richtext li:last-child {
  margin-bottom: 0;
}

/* Nested lists */
.gi-richtext ul ul,
.gi-richtext ol ol,
.gi-richtext ul ol,
.gi-richtext ol ul {
  margin-top: 6px;
  margin-bottom: 0;
}

/* --- Images --- */
.gi-richtext img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

/* --- Figure & Figcaption --- */
.gi-richtext figure {
  margin: 20px 0;
}

.gi-richtext figure img {
  margin: 0 0 10px 0;
}

.gi-richtext figcaption {
  font-size: 13px;
  color: #999999;
  line-height: 1.5;
  text-align: center;
}

/* --- Horizontal Rule --- */
.gi-richtext hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 24px 0;
}

/* --- Table --- */
.gi-richtext table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.gi-richtext thead th {
  background-color: #fafafa;
  font-weight: 600;
  color: #262626;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid #e5e5e5;
}

.gi-richtext tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #f5f5f5;
  color: #525252;
  vertical-align: top;
}

.gi-richtext tbody tr:hover {
  background-color: #fafafa;
}

/* --- Code --- */
.gi-richtext code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  background-color: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
  color: #262626;
}

.gi-richtext pre {
  background-color: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 20px 0;
  overflow-x: auto;
}

.gi-richtext pre code {
  background: none;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* --- Video / Iframe embeds --- */
.gi-richtext iframe,
.gi-richtext video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* --- Responsive adjustments --- */
@media (max-width: 767px) {
  .gi-richtext {
    font-size: 15px;
  }

  .gi-richtext h2 {
    font-size: 20px;
  }

  .gi-richtext h3 {
    font-size: 18px;
  }

  .gi-richtext blockquote {
    font-size: 15px;
    padding: 10px 16px;
  }
}

/* GLOBAL FORM INPUT SYSTEM — .gi-input */

/* Base state */
.gi-input {
  width: 100%;
  padding: 12px 16px !important;
  background-color: #ffffff !important;
  border: 1px solid #d4d4d4 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  color: #262626 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gi-input::placeholder {
  color: #999999 !important;
}

/* Focus state — brand green glow */
.gi-input:focus {
  border-color: #5a8219 !important;
  box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.08) !important;
}

/* Error state — red border */
.gi-input.gi-field-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.06) !important;
}

.gi-input.gi-field-error:focus {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

/* Valid state — green border (after correcting an error) */
.gi-input.gi-field-valid {
  border-color: #5a8219 !important;
}

.gi-input.gi-field-valid:focus {
  border-color: #5a8219 !important;
  box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.08) !important;
}

/* Error message text */
.gi-error-msg {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #dc2626;
  line-height: 1.4;
}

/* Error message in dark footer */
.gi-footer .gi-error-msg {
  color: #f87171;
}

/* Error border in dark footer (non .gi-input fields) */
.gi-footer .gi-field-error {
  border-color: #f87171 !important;
}

/* Select dropdown arrow override for .gi-input */
select.gi-input {
  appearance: none !important;
  cursor: pointer;
  padding-right: 40px !important;
}

/* Textarea override for .gi-input */
textarea.gi-input {
  resize: none;
}

/* Pre-order Product Card — Visual Distinction */

/* Pre-order card: no special border — relies on overlay + desaturation + badge */

/* Image area: desaturated to indicate upcoming */
.gi-product-preorder .gi-pro-image-outer img {
  filter: saturate(0.6);
  transition: filter 0.4s ease, transform 0.7s ease-out;
}

/* Hover: restore saturation */
.gi-product-preorder:hover .gi-pro-image-outer img {
  filter: saturate(1);
}

/* Product Card — Unified Component System */

/* Shop Toolbar — Result Count + Ordering */
.gi-shop-toolbar .woocommerce-result-count {
  font-size: 14px;
  color: #525252;
  margin: 0;
  float: none;
}

.gi-shop-toolbar .woocommerce-ordering {
  margin: 0;
  float: none;
}

/* Mobile: push sort dropdown to the right when sharing row with Filter button */
@media (max-width: 767px) {
  .gi-shop-toolbar .woocommerce-ordering {
    margin-left: auto;
  }
}

.gi-shop-toolbar .woocommerce-ordering .orderby {
  appearance: none;
  -webkit-appearance: none;
  font-size: 14px;
  color: #525252;
  background-color: transparent;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  padding: 8px 32px 8px 12px;
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23525252' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.2s ease;
}

.gi-shop-toolbar .woocommerce-ordering .orderby:hover {
  border-color: #5a8219;
}

.gi-shop-toolbar .woocommerce-ordering .orderby:focus {
  border-color: #5a8219;
  box-shadow: 0 0 0 2px rgba(90, 130, 25, 0.1);
}

/* WC Loop Grid — <ul class="products"> drives the grid */
/* Override Storefront's float clearfix (::before/::after { display:table }) */
ul.products {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  clear: none;
}

/* Owl Carousel strips: suppress grid flash before JS init */
ul.products.owl-carousel:not(.owl-loaded) {
  display: flex !important;
  flex-wrap: nowrap;
  overflow: hidden;
  opacity: 0;
  animation: glCarouselFallback 0s 4s forwards;
}

ul.products.owl-carousel:not(.owl-loaded)>li {
  flex: 0 0 20%;
  min-width: 0;
}

@keyframes glCarouselFallback {
  to {
    opacity: 1;
  }
}

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

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

@media (min-width: 1200px) {
  ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1488px) {
  ul.products {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 575px) {
  ul.products {
    gap: 16px;
  }
}

/* Full-width layout: 5-4-3-2 column progression */
@media (min-width: 768px) {
  ul.products.columns-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  ul.products.columns-5 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1488px) {
  ul.products.columns-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* <li.product> replaces the old .gi-product-content — grid child full-height stretch */
/* Override Storefront's float-based column layout entirely */
ul.products li.product,
.site-main ul.products li.product,
.site-main ul.products.columns-4 li.product,
.site-main ul.products.columns-3 li.product,
.site-main ul.products.columns-2 li.product {
  display: flex;
  float: none !important;
  width: 100% !important;
  height: 100%;
  margin: 0 !important;
  list-style: none;
  font-size: inherit;
  clear: none !important;
  text-align: left;
  position: relative;
}

/* Reset Storefront's img margin inside product cards */
ul.products li.product img {
  margin: 0;
}

/* Reset Storefront's .button overrides inside product cards */
ul.products li.product .button {
  box-shadow: none;
  margin-bottom: 0;
}

ul.products li.product .button:hover {
  box-shadow: none;
}

/* Card body — the real visual container */
.gi-product-inner {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #e5e5e7;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Card hover: border color + subtle outer shadow */
.gi-product-inner:hover {
  border-color: rgba(90, 130, 25, 0.55);
  box-shadow: 0 4px 16px rgba(90, 130, 25, 0.10);
}

/* Image area */
.gi-pro-image-outer {
  position: relative;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

/* Content area — responsive padding + flex stretch */
.gi-pro-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (max-width: 767px) {
  .gi-shop .gi-product-inner {
    flex-direction: row;
    align-items: stretch; /* Makes left and right same height */
  }
  .gi-shop .gi-pro-image-outer {
    width: 42%;
    max-width: 160px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f5f5f5; /* Grey background fills full height */
  }
  .gi-shop .gi-pro-image-link {
    background-color: transparent; /* Let the outer grey show through */
  }
  .gi-shop .gi-pro-body {
    width: 58%;
    flex: 1;
    padding: 16px 14px;
    justify-content: center;
  }
  .gi-shop .gi-pro-title {
    margin-bottom: 6px;
  }
  .gi-shop .gi-pro-title a {
    font-size: 15px;
    line-height: 1.3;
  }
  .gi-shop .gi-pro-colors {
    margin-bottom: 8px;
  }
  .gi-shop .gi-product-inner .price {
    margin-bottom: 8px;
    min-height: auto;
  }
}

/* Product Card — Row-Level Semantic Elements */

/* Image link wrapper — 1:1 square ratio (narrow products center within) */
.gi-pro-image-link {
  display: block;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: #f5f5f5;
}

/* Product thumbnail — WC class: attachment-woocommerce_thumbnail */
.gi-pro-image-primary {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.7s ease-out;
}

/* Image zoom on hover — disabled, replaced by card border/shadow hover */

/* Badge row — inline badges above product title (inside gi-pro-body) */
.gi-pro-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

/* Badge positioning container (image overlay — legacy fallback) */
.gi-pro-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px;
  z-index: 10;
}

/* Product title */
.gi-pro-title {
  margin-bottom: 10px;
}

.gi-pro-title a {
  font-size: 16px;
  color: #262626;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gi-pro-title a:hover {
  color: #5a8219;
}

@media (max-width: 575px) {
  .gi-pro-title a {
    font-size: 14px;
  }
}

/* Color variant swatches row */
.gi-pro-colors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

@media (max-width: 575px) {
  .gi-pro-colors {
    gap: 6px;
  }
}

/* Feature / variant text row */
.gi-pro-feature {
  margin-bottom: 10px;
}

.gi-pro-feature span {
  font-size: 14px;
  line-height: 1.4;
  color: #5a8219;
}

/* Footer — fills remaining space, content sticks to top */
.gi-pro-footer {
  flex: 1;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Rating row — wraps .gi-pro-starrating + score/count */
.gi-pro-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

/* Star Rating — gi-pro-starrating */
.gi-pro-starrating {
  position: relative;
  display: inline-block;
  width: 78px;
  /* 5×14px + 4×2px gaps */
  height: 1em;
  line-height: 1;
  font-size: 14px;
  font-family: "gIcons";
  letter-spacing: 2px;
  margin: 0;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Single pseudo-element with gradient color split — no clip, no bleed */
.gi-pro-starrating::before {
  content: "\f005\f005\f005\f005\f005";
  background: linear-gradient(90deg,
      #f27d0c var(--star-pct, 100%),
      #d4d4d4 var(--star-pct, 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  letter-spacing: inherit;
  white-space: nowrap;
}

/* Rating numeric score */
.gi-pro-rating-score {
  font-size: 14px;
  color: #262626;
  font-weight: 400;
  line-height: 1;
  order: -1;
}

/* Rating review count */
.gi-pro-rating-count {
  font-size: 14px;
  color: #999999;
  line-height: 1;
}

.gi-pro-starrating a {
  color: #999999;
}

/* Star Rating — Size Modifiers
   Default = 14px (all standard contexts)
   gi-star-sm  = 12px (compact / product cards if needed)
   gi-star-lg  = 18px (scorecard hero)  */
.gi-pro-starrating.gi-star-sm {
  font-size: 12px;
  width: 68px;
}

/* 5×12 + 8 */
.gi-pro-starrating.gi-star-lg {
  font-size: 18px;
  width: 98px;
}

/* 5×18 + 8 */

/* WC Price — Override Storefront, match GL design */
ul.products li.product .price,
.gi-product-inner .price {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px;
  min-height: 28px;
  margin-bottom: 10px;
}

/* Learn More fallback — occupies same slot as .price when no price is set */
.gi-pro-learnmore {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #262626;
  transition: color 0.2s ease;
}

.gi-pro-learnmore:hover {
  color: #5a8219;
}

.gi-pro-learnmore i {
  margin-left: 5px;
  font-size: 18px;
}

/* Current price (either regular-only or <ins> inside sale) */
ul.products li.product .price .woocommerce-Price-amount,
.gi-product-inner .price .woocommerce-Price-amount {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #262626 !important;
  letter-spacing: -0.02em;
}

/* Sale: <del> = old price → smaller, gray, strikethrough — display SECOND */
ul.products li.product .price del,
.gi-product-inner .price del {
  opacity: 1 !important;
  order: 2 !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
}

ul.products li.product .price del .woocommerce-Price-amount,
.gi-product-inner .price del .woocommerce-Price-amount {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #999999 !important;
}

/* Sale: <ins> = new/current price → display FIRST */
ul.products li.product .price ins,
.gi-product-inner .price ins {
  text-decoration: none !important;
  order: 1 !important;
}

/* Reset Storefront del+ins margin */
ul.products li.product .price del+ins,
.gi-product-inner .price del+ins {
  margin-left: 0 !important;
}

/* GL-Body Global Price — Universal rule for all pages using .gl-body */
/* Covers: sidebar product cards, product-promo, review pages, etc. */
/* Scoped overrides: ul.products/.gi-product-inner (loop cards), .gi-pdp-price (PDP) */
.gl-body .price {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px;
}

/* Default price amount: 16px semibold dark */
.gl-body .price .woocommerce-Price-amount {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #262626 !important;
  letter-spacing: -0.02em;
}

/* Sale: <del> = old price — smaller, gray, strikethrough — display SECOND */
.gl-body .price del {
  opacity: 1 !important;
  order: 2 !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
}

.gl-body .price del .woocommerce-Price-amount {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #999999 !important;
}

/* Sale: <ins> = new/current price — display FIRST */
.gl-body .price ins {
  text-decoration: none !important;
  order: 1 !important;
}

/* Reset Storefront del+ins margin */
.gl-body .price del+ins {
  margin-left: 0 !important;
}

/* Sale price (ins) red across all WC contexts */
.price del + ins .woocommerce-Price-amount,
.gl-body .price del + ins .woocommerce-Price-amount {
  color: #dc2626 !important;
}

@media (max-width: 575px) {

  ul.products li.product .price .woocommerce-Price-amount,
  .gi-product-inner .price .woocommerce-Price-amount {
    font-size: 16px;
  }
}

/* Stock Status — WC <p class="stock"> overrides */
.stock {
  font-size: 13px;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 500;
}

/* In Stock */
.stock.in-stock {
  color: #5a8219;
}

/* Low Stock (urgent) */
.stock.in-stock.low-stock {
  color: #ea580c;
}

/* Out of Stock */
.stock.out-of-stock {
  color: #dc2626;
}

/* Available on Backorder */
.stock.available-on-backorder {
  color: #2563eb;
}

/* WC .onsale Badge — Override to GL tag system */
.onsale {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 4px;
  white-space: nowrap;
  /* Storefront reset */
  position: static;
  border: none;
  text-transform: none;
  margin: 0;
  /* Match gl-tag-discount */
  background-color: rgba(220, 38, 38, 0.85);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

/* Loop Add to Cart — override WC .button defaults */
.gl-loop-atc.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 16px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: #5a8219;
  background-color: #ffffff;
  border: 1px solid #5a8219;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gl-loop-atc.button:hover {
  color: #ffffff;
  background-color: #5a8219;
}

/* WC AJAX states */
.gl-loop-atc.button.loading {
  opacity: 0.6;
  pointer-events: none;
}

.gl-loop-atc.button.added {
  color: #5a8219;
  border-color: #5a8219;
}

.gl-loop-atc.button.added:hover {
  color: #ffffff;
  background-color: #5a8219;
}

/* Variable / Out of Stock — subtle secondary style */
.gl-loop-atc.product_type_variable,
.gl-loop-atc.button:not(.ajax_add_to_cart) {
  color: #525252;
  border-color: #d4d4d4;
}

.gl-loop-atc.product_type_variable:hover,
.gl-loop-atc.button:not(.ajax_add_to_cart):hover {
  color: #5a8219;
  border-color: #5a8219;
  background-color: #ffffff;
}

@media (max-width: 575px) {
  .gl-loop-atc.button {
    padding: 8px 12px;
    font-size: 13px;
    margin-top: 10px;
  }
}

/* Quick Add CTA — Hover Overlay States */

/* State 1: Add shopping bag icon before button text */
.gi-pro-image-outer .add_to_cart_button.ajax_add_to_cart::before {
  font-family: 'uicons-regular-rounded';
  content: '\f492';
  font-size: 14px;
  line-height: 1;
}

/* Container: stay visible + vertical stack, auto-width to match widest button */
.gi-pro-image-outer>div:has(.added) {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: fit-content !important;
  margin: 0 auto;
  gap: 8px;
}

/* Added button — gray disabled, keeps "Add to cart" text visible */
.gi-pro-image-outer .add_to_cart_button.added {
  background: #f5f5f5 !important;
  border: 1px solid #d4d4d4 !important;
  color: #999999 !important;
  pointer-events: none;
  justify-content: center;
  box-shadow: none !important;
  backdrop-filter: none;
}

/* Override: replace shopping bag with green check icon */
.gi-pro-image-outer .add_to_cart_button.added::before {
  font-family: 'uicons-regular-rounded';
  content: '\f211';
  font-size: 14px;
  color: #999999;
}

/* View Cart link — HIDDEN (side cart drawer replaces this) */
.gi-pro-image-outer .added_to_cart.wc-forward {
  display: none !important;
}

/* Screen reader text — accessible but hidden */
.gi-pro-image-outer .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Product Strip Carousel — Shadow Safe Zone */
.gl-strip-carousel-wrapper {
  padding-bottom: 10px;
}

.gl-strip-carousel-wrapper .owl-stage {
  display: flex;
}

/* Equal-height cards across all strips */
.gl-strip-carousel-wrapper .owl-item {
  display: flex;
}

.gl-strip-carousel-wrapper .owl-item>div {
  display: flex;
  width: 100%;
}

.gl-strip-carousel-wrapper .owl-item .gi-product-inner {
  height: 100%;
}

/* Ensure gallery card chain fills full width for aspect-ratio */
.gl-strip-carousel-wrapper .owl-item .gl-media-trigger {
  display: block;
  width: 100%;
}

.gl-strip-carousel-wrapper .owl-item .gl-review-card {
  width: 100%;
}

/* Product Strip 2 — Compact Card Text Override */

/* Text area: tighter padding, centered */
.gl-pro-strip2 .gi-product-inner>div:last-child {
  padding: 12px 12px 14px;
  text-align: center;
}

/* Title: 14px, single-line truncate */
.gl-pro-strip2 .gi-product-inner h3 {
  margin-bottom: 4px;
}

.gl-pro-strip2 .gi-product-inner h3 a {
  font-size: 14px !important;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Review Gallery Card — .gl-review-card */

/* Card frame: rounded, clipped — aspect set by modifier */
.gl-review-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
}

/* Aspect modifiers */
.gl-review-card--portrait {
  aspect-ratio: 4 / 5;
}

/* Cover image: fill + subtle desaturation + hover restore */
.gl-review-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(0.95) brightness(1.02);
  transition: all 0.5s ease;
}

.group:hover .gl-review-card img {
  filter: grayscale(0) contrast(1) brightness(1);
  transform: scale(1.05);
}

/* Brand tint overlay */
.gl-review-card-tint {
  position: absolute;
  inset: 0;
  background: rgba(90, 130, 25, 0.03);
  transition: background-color 0.5s ease;
}

.group:hover .gl-review-card-tint {
  background: transparent;
}

/* Bottom caption gradient */
.gl-review-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  padding: 30px 12px 10px;
}

.gl-review-card-caption p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

/* Video play button (centered) */
.gl-review-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-review-play span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.group:hover .gl-review-play span {
  background: #ffffff;
  transform: scale(1.1);
}

.gl-review-play i {
  font-size: 16px;
  color: #262626;
  margin-left: 2px;
}

/* No-cover variant: dark gradient + brand watermark */
.gl-review-card--no-cover {
  background: linear-gradient(135deg, #3d4f56, #2a3840);
}

.gl-review-card--no-cover>img {
  position: absolute;
  inset: 0;
  width: 60%;
  height: auto;
  margin: auto;
  object-fit: contain;
  opacity: 0.15;
  filter: brightness(0) invert(1);
  pointer-events: none;
  transform: none;
}

.group:hover .gl-review-card--no-cover>img {
  filter: brightness(0) invert(1);
  transform: none;
}

/* Play button in no-cover mode: translucent white */
.gl-review-card--no-cover .gl-review-play span {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.group:hover .gl-review-card--no-cover .gl-review-play span {
  background: rgba(255, 255, 255, 0.3);
}

.gl-review-card--no-cover .gl-review-play i {
  color: #ffffff;
}

/* GLOBAL TOAST NOTIFICATION — .gl-toast */

.gl-toast {
  position: fixed;
  left: 50%;
  top: 100px;
  transform: translateX(-50%);
  z-index: 9999;
  max-width: 360px;
  padding: 14px 20px;
  background: #ffffff;
  border-radius: 8px;
  border-bottom: 3px solid #5a8219;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #262626;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: gl-toast-slide-in 0.3s ease-out;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Icon */
.gl-toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Fade-out state */
.gl-toast--out {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
}

/* Slide-in animation */
@keyframes gl-toast-slide-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Mobile */
@media (max-width: 575px) {
  .gl-toast {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 20px;
    max-width: none;
    transform: none;
  }

  @keyframes gl-toast-slide-in {
    from {
      opacity: 0;
      transform: translateY(20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .gl-toast--out {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Details / Summary Accordion — Hide native marker */
summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::marker {
  display: none;
}

/* Accordion arrow — vertical centering & rotation */
.gi-accordion summary>span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.gi-accordion details[open]>summary>span:last-child {
  transform: rotate(180deg);
}

/* Policy accordion (no .gi-accordion wrapper) */
details.group>summary>span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

details.group[open]>summary>span:last-child {
  transform: rotate(180deg);
}

/* Tom Select — Globlazer Brand Override */
.ts-wrapper.single .ts-control {
  height: 48px;
  padding: 0 40px 0 16px;
  background: #fafafa;
  border: 1px solid #e5e5e7;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #262626;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  box-shadow: none;
}

.ts-wrapper.single .ts-control:hover {
  border-color: #d4d4d4;
}

.ts-wrapper.single.focus .ts-control {
  border-color: #5a8219;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.08);
}

/* Caret / arrow */
.ts-wrapper.single .ts-control::after {
  content: '\e817';
  font-family: 'uicons-regular-rounded';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #999;
  border: none;
  margin: 0;
  width: auto;
  height: auto;
}

/* Dropdown panel */
.ts-dropdown {
  border: 1px solid #e5e5e7;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  margin-top: 4px;
  padding: 6px;
  background: #fff;
  z-index: 50;
}

.ts-wrapper {
  position: relative;
  z-index: 10;
}

/* Dropdown options */
.ts-dropdown .option {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: #525252;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
  background: #f0f5e8;
  color: #262626;
}

.ts-dropdown .option.selected {
  background: #5a8219;
  color: #fff;
}

/* Search input inside dropdown */
.ts-dropdown .ts-dropdown-content {
  max-height: 240px;
}

.ts-wrapper .ts-control input {
  font-size: 14px;
  color: #262626;
}

.ts-wrapper .ts-control input::placeholder {
  color: #999;
}

/* Placeholder text */
.ts-wrapper .ts-control .item {
  color: #262626;
}

/* Disabled state */
.ts-wrapper.disabled .ts-control {
  opacity: 0.5;
  background: #f5f5f5;
  cursor: not-allowed;
}

/* Remove default tom-select blue focus */
.ts-wrapper .ts-control,
.ts-wrapper .ts-control:focus {
  outline: none;
}

/* No results message */
.ts-dropdown .no-results {
  padding: 10px 14px;
  font-size: 13px;
  color: #999;
  text-align: center;
}

/* FAQ Accordion — Two Styles */
.gi-accordion--line .gi-faq-item {
  border-left: 3px solid #e5e5e5;
  border-radius: 0;
  padding-left: 0;
  transition: all 0.25s ease;
}

.gi-accordion--line .gi-faq-item[open] {
  border-left-color: #5a8219;
  background: #fafcf6;
  border-radius: 0 8px 8px 0;
}

/* GL-VIDEO-CARD — Unified Background (fill empty space below tags) */
.gl-video-card {
  background-color: #fafafa;
}

/* Grid Card — Single Item Right Align */
@media (min-width: 992px) {

  /* download-detail S2: Associated Visual Guide (video cards in 50% right grid) */
  .gi-video-guide .gl-video-card:only-child,
  /* video-detail S2: Download the Manual (doc cards in 50% right column) */
  .gi-manual-guide .gl-doc-card:only-child {
    grid-column-start: -2;
  }
}

/* GL-DOC-CARD — Model List */
.gl-doc-models {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #999999;
}

.gl-doc-models span+span::before {
  content: "/";
  margin-right: 4px;
}

/* GL-PAGINATION — WP: paginate_links() Component */
.gl-pagination .page-numbers {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #e5e5e7;
  color: #262626;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.gl-pagination .page-numbers:hover {
  border-color: #262626;
}

/* Current page — WP: <span class="page-numbers current"> */
.gl-pagination .page-numbers.current {
  background-color: #5a8219;
  border-color: #5a8219;
  color: #ffffff;
}

.gl-pagination .page-numbers.current:hover {
  background-color: #5a8219;
  border-color: #5a8219;
}

/* Dots "..." — WP: <span class="page-numbers dots"> */
.gl-pagination .page-numbers.dots {
  border: none;
  color: #999;
  pointer-events: none;
}

.gl-pagination .page-numbers.dots:hover {
  border: none;
}

/* Prev / Next arrows */
.gl-pagination .prev.page-numbers,
.gl-pagination .next.page-numbers {
  color: #999;
}

.gl-pagination .prev.page-numbers:hover,
.gl-pagination .next.page-numbers:hover {
  border-color: #262626;
  color: #262626;
}

/* WP nav-links container (the_posts_pagination output) */
.gl-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* WC Pagination compat: <ul class="page-numbers"> is a flex container, not a button */
.gl-pagination ul.page-numbers {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  background: transparent;
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

.gl-pagination ul.page-numbers:hover {
  border: none;
  background: transparent;
}

.gl-pagination ul.page-numbers li {
  list-style: none;
}

/* BREADCRUMB PLUGIN OVERRIDES */

/* Shared: Reset the <p> wrapper both plugins output */
.gi-breadcrumb .yoast-breadcrumb p,
.gi-breadcrumb .rank-math-breadcrumb p {
  margin: 0;
  padding: 12px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* All links — breadcrumb trail items */
.gi-breadcrumb .yoast-breadcrumb a,
.gi-breadcrumb .rank-math-breadcrumb a {
  color: #525252;
  font-size: 12px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gi-breadcrumb .yoast-breadcrumb a:hover,
.gi-breadcrumb .rank-math-breadcrumb a:hover {
  color: #262626;
}

/* YOAST SEO Breadcrumb */

/* Hide Yoast's default » separator text via font-size:0 on wrappers */
.gi-breadcrumb .yoast-breadcrumb span>span {
  font-size: 0;
}

/* Restore visible size for links, last-item, and child spans */
.gi-breadcrumb .yoast-breadcrumb span>span a,
.gi-breadcrumb .yoast-breadcrumb span>span .breadcrumb_last,
.gi-breadcrumb .yoast-breadcrumb span>span>span {
  font-size: 12px;
}

/* Current / last item */
.gi-breadcrumb .yoast-breadcrumb .breadcrumb_last {
  color: #262626;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
  display: inline-block;
  vertical-align: middle;
}

/* Inject "/" separator between adjacent items */
.gi-breadcrumb .yoast-breadcrumb span>span>span+span::before,
.gi-breadcrumb .yoast-breadcrumb span>span>a+span::before,
.gi-breadcrumb .yoast-breadcrumb span>span>span+a::before,
.gi-breadcrumb .yoast-breadcrumb span>span>a+a::before {
  content: "/";
  font-size: 10px;
  color: #999999;
  margin: 0 7px;
  vertical-align: middle;
}

/* Yoast flat structure fallback (p > span wrapper) */
.gi-breadcrumb .yoast-breadcrumb p>span {
  font-size: 0;
}

.gi-breadcrumb .yoast-breadcrumb p>span>a,
.gi-breadcrumb .yoast-breadcrumb p>span>span,
.gi-breadcrumb .yoast-breadcrumb p>span>strong {
  font-size: 12px;
}

/* RANK MATH Breadcrumb */

/* Hide RankMath's default separator text */
.gi-breadcrumb .rank-math-breadcrumb .separator {
  font-size: 0;
  display: inline-block;
  width: auto;
  overflow: hidden;
  vertical-align: middle;
}

/* Replace with "/" */
.gi-breadcrumb .rank-math-breadcrumb .separator::before {
  content: "/";
  font-size: 10px;
  color: #999999;
  margin: 0 7px;
  display: inline;
}

/* Current / last item */
.gi-breadcrumb .rank-math-breadcrumb .last {
  color: #262626;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
  display: inline-block;
  vertical-align: middle;
}

/* Mobile: Truncate current breadcrumb item */
@media (max-width: 767px) {

  .gi-breadcrumb .yoast-breadcrumb .breadcrumb_last,
  .gi-breadcrumb .rank-math-breadcrumb .last {
    max-width: 260px;
  }
}

/* IMMUNE INPUT COMPONENTS */

/* ── .gi-search-input: Compact search field ── */
.gi-search-input {
  width: 220px !important;
  height: 44px !important;
  padding: 0 44px 0 14px !important;
  background-color: #f9f9f9 !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #262626 !important;
  line-height: normal !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.gi-search-input:focus {
  border-color: #5a8219 !important;
  box-shadow: none !important;
}

.gi-search-input::placeholder {
  color: #999 !important;
}

/* Full-width variant */
.gi-search-input.gi-search-full {
  width: 100% !important;
}

@media (max-width: 767px) {
  .gi-search-input {
    width: 100% !important;
  }
}

/* ── .gi-search-btn: Embedded search button ── */
.gi-search-btn {
  position: absolute !important;
  right: 4px !important;
  top: 4px !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #262626 !important;
  border: none !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  cursor: pointer !important;
  padding: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.gi-search-btn:hover {
  background-color: #5a8219 !important;
}

.gi-search-btn i {
  font-size: 14px !important;
  color: inherit !important;
}

/* ── .gi-email-input: Newsletter email field ── */
.gi-email-input {
  height: 52px !important;
  padding: 0 140px 0 20px !important;
  background-color: #ffffff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #262626 !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.gi-email-input:focus {
  border-color: #5a8219 !important;
  box-shadow: none !important;
}

/* Product Promo — WC Price Override */
/* REMOVED: .product-promo .price rules now handled globally by .gl-body .price */


/* GL-REVIEW-ITEM — Review List Card Component */
.gl-review-item {
  padding: 25px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
}

@media (max-width: 767px) {
  .gl-review-item {
    padding: 20px;
  }
}

/* ADD-TO-CART BUTTON — Storefront Anti-Bleed Guard */
a.ajax_add_to_cart {
  background-color: #ffffff !important;
  color: #525252 !important;
  border: 1px solid #d4d4d4 !important;
  border-radius: 6px !important;
}

a.ajax_add_to_cart:hover {
  border-color: #5a8219 !important;
  color: #5a8219 !important;
  background-color: #ffffff !important;
}

/* WC loading state — keep border visible during AJAX */
a.ajax_add_to_cart.loading {
  opacity: 0.6 !important;
  border: 1px solid #d4d4d4 !important;
  background-color: #ffffff !important;
  color: #525252 !important;
}

/* WC added state — keep border visible after item added */
a.ajax_add_to_cart.added {
  border: 1px solid #5a8219 !important;
  color: #5a8219 !important;
  background-color: #ffffff !important;
}

/* WC "View Cart" link — hidden, side cart drawer replaces it */
a.added_to_cart {
  display: none !important;
}

/* Topic Card — Selection Component */
.topic-card {
  display: block;
}

.topic-card input:checked+div {
  border-color: #5a8219 !important;
  border-width: 2px !important;
  background-color: #f0f9eb !important;
  box-shadow: 0 4px 16px rgba(90, 130, 25, 0.2) !important;
}

.topic-card input:checked+div>div:first-child {
  background-color: #5a8219 !important;
}

.topic-card input:checked+div>div:first-child i {
  color: #ffffff !important;
}

.topic-card input:checked+div>div:nth-child(2)>span:first-child {
  color: #5a8219 !important;
}

.topic-card input:checked+div>div:last-child {
  display: flex !important;
}

/* =============================================
   BUY MODAL — Global Component (Accordion v3)
   Rendered by main.js renderChannels()
   ============================================= */

/* Modal body scrollbar */
.buy-modal-body::-webkit-scrollbar {
  width: 4px;
}

.buy-modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.buy-modal-body::-webkit-scrollbar-thumb {
  background: #e5e5e5;
  border-radius: 4px;
}

.buy-modal-body:hover::-webkit-scrollbar-thumb {
  background: #d4d4d4;
}

/* Channel card — shared base (both direct and accordion use .buy-channel-card) */
.buy-channel-card {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.buy-channel-card:hover {
  border-color: #d4d4d4;
}

/* Direct card link hover — brand green border */
.buy-channel-card--direct:hover {
  border-color: #5a8219;
}

/* Accordion header */
.buy-channel-accordion-btn {
  cursor: pointer;
  user-select: none;
}

/* Accordion body scrollbar (for 20+ regions) */
.buy-channel-accordion-body::-webkit-scrollbar {
  width: 3px;
}

.buy-channel-accordion-body::-webkit-scrollbar-thumb {
  background: #d4d4d4;
  border-radius: 3px;
}

/* Region link — separator between items */
.buy-channel-link+.buy-channel-link {
  border-top: 1px solid #f0f0f0;
}

/* ==============================================
   GL-SUBSCRIBE — Unified Email Subscription Form
   ==============================================
   Usage:
     .gl-subscribe               — Default: inline (horizontal) layout
     .gl-subscribe--stack         — Stacked (vertical, button full-width)
     .gl-subscribe--sm            — Compact (44px height, PDP context)
     .gl-subscribe--dark          — Footer dark underline variant

   CF7 Integration:
     html_class="gl-subscribe"    — Inline form
     html_class="gl-subscribe gl-subscribe--stack"  — Stacked
     html_class="gl-subscribe gl-subscribe--sm"     — Compact

   CF7 DOM auto-generates:
     input.wpcf7-form-control     — email input
     input.wpcf7-submit           — submit button
     span.wpcf7-spinner           — loading spinner (inside .gl-subscribe-submit)
     span.wpcf7-not-valid-tip     — field error text
     div.wpcf7-response-output    — form success/error message
     .wpcf7-not-valid             — added to invalid inputs
     form.submitting              — during AJAX submit
     form.sent / form.invalid     — after response
   ============================================== */

/* ── Container: inline (horizontal) by default ── */
.gl-subscribe {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

/* ── Input wrapper ── */
.gl-subscribe .gl-subscribe-field {
  flex: 1;
  min-width: 200px;
}

/* ── Input (static HTML + CF7 override) ── */
.gl-subscribe .gl-subscribe-input,
.gl-subscribe input.wpcf7-form-control[type="email"] {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #262626;
  background: #ffffff;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.gl-subscribe .gl-subscribe-input::placeholder,
.gl-subscribe input.wpcf7-form-control::placeholder {
  color: #999;
}

.gl-subscribe .gl-subscribe-input:focus,
.gl-subscribe input.wpcf7-form-control:focus {
  border-color: #5a8219;
  box-shadow: 0 0 0 3px rgba(90, 130, 25, 0.08);
}

/* ── Invalid state: red border (CF7 adds .wpcf7-not-valid) ──
   Selector must be at least as specific as the normal-state rule
   (.gl-subscribe input.wpcf7-form-control[type="email"]) */
.gl-subscribe input.wpcf7-not-valid,
.gl-subscribe input.wpcf7-form-control.wpcf7-not-valid,
.gl-subscribe input.wpcf7-not-valid[type="email"] {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.06) !important;
}

/* ── Validation error tip text (CF7 injects below input) ── */
.gl-subscribe .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #dc2626;
  line-height: 1.4;
  text-align: left;
}

.gl-subscribe .wpcf7-not-valid-tip+.wpcf7-not-valid-tip {
  display: none;
}

/* ── Submit button (static HTML) ── */
.gl-subscribe .gl-subscribe-btn {
  height: 50px;
  padding: 0 28px;
  background: #5a8219;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.gl-subscribe .gl-subscribe-btn:hover {
  opacity: 0.7;
}

/* ── Submit button (CF7 override — input[type=submit]) ── */
.gl-subscribe .gl-subscribe-submit {
  position: relative;
  flex-shrink: 0;
}

.gl-subscribe .wpcf7-submit {
  height: 50px;
  padding: 0 28px;
  background: #5a8219 !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
  outline: none !important;
  text-shadow: none !important;
  line-height: 50px;
  text-align: center;
}

.gl-subscribe .wpcf7-submit:hover {
  opacity: 0.7;
}

.gl-subscribe .wpcf7-submit:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Submitting state */
.wpcf7 form.gl-subscribe.submitting .wpcf7-submit {
  opacity: 0.6;
  pointer-events: none;
  cursor: wait;
}

/* After submit restore */
.wpcf7 form.gl-subscribe.sent .wpcf7-submit,
.wpcf7 form.gl-subscribe.failed .wpcf7-submit,
.wpcf7 form.gl-subscribe.invalid .wpcf7-submit,
.wpcf7 form.gl-subscribe.init .wpcf7-submit {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

/* ── Spinner (CF7 injects inside .gl-subscribe-submit) ── */
.gl-subscribe .wpcf7-spinner {
  display: none !important;
  background: none !important;
  background-color: transparent !important;
  opacity: 0;
  visibility: hidden;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
}

.gl-subscribe .wpcf7-spinner::before {
  display: none !important;
  content: none !important;
}

.wpcf7 form.gl-subscribe.submitting .gl-subscribe-submit .wpcf7-spinner {
  display: block !important;
  visibility: visible;
  opacity: 1;
  position: absolute;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: gi-cf7-spin 0.6s linear infinite;
  background: none !important;
  background-color: transparent !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.wpcf7 form.gl-subscribe.submitting .gl-subscribe-submit .wpcf7-spinner::before {
  display: none !important;
  content: none !important;
}

/* ── Response output (success / error message below form) ── */
.wpcf7 form.gl-subscribe .wpcf7-response-output {
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid transparent;
  box-sizing: border-box;
  text-align: left;
}

.wpcf7 form.gl-subscribe.sent .wpcf7-response-output {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: #f0f9eb;
  color: #5a8219;
  border-color: #d4e8c2;
}

.wpcf7 form.gl-subscribe.invalid .wpcf7-response-output,
.wpcf7 form.gl-subscribe.failed .wpcf7-response-output,
.wpcf7 form.gl-subscribe.spam .wpcf7-response-output {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: #fff5f5;
  color: #dc2626;
  border-color: #f5c6c6;
}

/* ── Privacy hint (below form) ── */
.gl-subscribe-hint {
  margin-top: 12px;
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}

.gl-subscribe-hint a {
  color: #525252;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.gl-subscribe-hint a:hover {
  color: #5a8219;
}

/* ══ Modifier: Stacked layout (brandstory card) ══ */
.gl-subscribe--stack {
  flex-direction: column;
}

.gl-subscribe--stack .gl-subscribe-field {
  width: 100%;
  min-width: auto;
}

.gl-subscribe--stack .gl-subscribe-btn,
.gl-subscribe--stack .wpcf7-submit {
  width: 100%;
}

.gl-subscribe--stack .gl-subscribe-submit {
  width: 100%;
}

/* ══ Modifier: Compact (PDP area, 44px height) ══ */
.gl-subscribe--sm .gl-subscribe-input,
.gl-subscribe--sm input.wpcf7-form-control[type="email"] {
  height: 44px;
}

.gl-subscribe--sm .gl-subscribe-btn,
.gl-subscribe--sm .wpcf7-submit {
  height: 44px;
  padding: 0 20px;
  line-height: 44px;
}

/* ══ Modifier: Dark (footer newsletter) ══ */
.gl-subscribe--dark {
  display: block;
  position: relative;
  width: 100%;
}

.gl-subscribe--dark .gl-subscribe-field {
  min-width: auto;
}

.gl-subscribe--dark .gl-subscribe-input,
.gl-subscribe--dark input.wpcf7-form-control[type="email"] {
  width: 100%;
  height: 40px;
  padding: 0 40px 0 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #404040;
  border-radius: 0;
  color: #ffffff;
  font-size: 14px;
  box-shadow: none;
  transition: border-color 0.3s ease;
}

.gl-subscribe--dark .gl-subscribe-input::placeholder,
.gl-subscribe--dark input.wpcf7-form-control::placeholder {
  color: #525252;
}

.gl-subscribe--dark .gl-subscribe-input:focus,
.gl-subscribe--dark input.wpcf7-form-control:focus {
  border-bottom-color: #ffffff;
  box-shadow: none;
}

/* Dark invalid state */
.gl-subscribe--dark input.wpcf7-not-valid {
  border-bottom-color: #dc2626 !important;
  box-shadow: none !important;
}

.gl-subscribe--dark .gl-subscribe-btn,
.gl-subscribe--dark .gl-subscribe-submit {
  position: absolute;
  right: 0;
  top: 0;
}

.gl-subscribe--dark .gl-subscribe-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  color: #a1a1a1;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gl-subscribe--dark .gl-subscribe-btn:hover {
  color: #ffffff;
  background: #262626;
  opacity: 1;
}

.gl-subscribe--dark .wpcf7-submit {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  background: transparent !important;
  color: transparent !important;
  border: none !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  outline: none !important;
  text-shadow: none !important;
  line-height: 40px;
  text-indent: -9999px;
  overflow: hidden;
  transition: all 0.3s ease;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.gl-subscribe--dark .wpcf7-submit:hover {
  background: #262626 !important;
  opacity: 1;
}

.gl-subscribe--dark .wpcf7-submit:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Dark submit — arrow icon via ::after (CF7 input[type=submit] cannot contain <i>) */
.gl-subscribe--dark .gl-subscribe-submit::after {
  content: '\f14e';
  font-family: 'uicons-regular-rounded';
  font-style: normal;
  font-weight: normal;
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #a1a1a1;
  pointer-events: none;
  transition: color 0.3s ease;
  z-index: 3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gl-subscribe--dark .gl-subscribe-submit:hover::after {
  color: #ffffff;
}

/* Dark — validation tip */
.gl-subscribe--dark .wpcf7-not-valid-tip {
  color: #f5a5a5;
}

/* Dark — response output */
.wpcf7 form.gl-subscribe.gl-subscribe--dark.sent .wpcf7-response-output {
  background: rgba(90, 130, 25, 0.15);
  color: #a3c46a;
  border-color: rgba(90, 130, 25, 0.3);
}

.wpcf7 form.gl-subscribe.gl-subscribe--dark.invalid .wpcf7-response-output,
.wpcf7 form.gl-subscribe.gl-subscribe--dark.failed .wpcf7-response-output {
  background: rgba(211, 47, 47, 0.15);
  color: #f5a5a5;
  border-color: rgba(211, 47, 47, 0.3);
}

/* ── Responsive: stack on mobile ── */
@media (max-width: 575px) {
  .gl-subscribe .gl-subscribe-field {
    width: 100%;
  }
}

/* Hide WooCommerce native PhotoSwipe dialog as we use custom Swiper modal */
#photoswipe-fullscreen-dialog {
  display: none !important;
}

/* Shop Loading Overlay — compact centered pill during sort/filter page transitions */
.gl-shop-loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 100px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gl-shop-loading.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.gl-shop-loading-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid #e5e5e5;
  border-top-color: #5a8219;
  border-radius: 50%;
  animation: glShopSpin 0.7s linear infinite;
}

@keyframes glShopSpin {
  to {
    transform: rotate(360deg);
  }
}

