/* ================================================================
   FLOREKO-CHILD – WooCommerce Pages Stylesheet
   Covers: Archive, Single Product, Cart, Checkout, Global WC
   Design tokens inherited from floreko.css :root
   ================================================================ */

/* ── Box-sizing baseline for WC pages ─────────────────────────── */
.fl-archive-page *,
.fl-single-page *,
.fl-cart-page *,
.fl-checkout-page * {
  box-sizing: border-box;
}

/* ================================================================
   1. WC GLOBAL OVERRIDES
   ================================================================ */

/* ── WC page wrapper spacing ──────────────────────────────────── */
.fl-wc-wrap {
  padding-top: 32px;
  padding-bottom: 96px;
}

/* ── Breadcrumb ───────────────────────────────────────────────── */
.woocommerce-breadcrumb {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--fl-muted);
  margin-bottom: 24px;
  padding: 0;
  background: none;
}
.woocommerce-breadcrumb a {
  color: var(--fl-muted);
  text-decoration: none;
  transition: color .2s;
}
.woocommerce-breadcrumb a:hover {
  color: var(--fl-green);
}
.woocommerce-breadcrumb .breadcrumb-separator,
.woocommerce-breadcrumb > span {
  margin: 0 6px;
  color: var(--fl-muted);
}

/* ── Alert / notice boxes ─────────────────────────────────────── */
/*
 * WooCommerce uses TWO different notice systems:
 *   1. Classic shortcode pages: .woocommerce-info / .woocommerce-message / .woocommerce-error
 *   2. Block checkout/cart:     .wc-block-components-notice-banner.is-info / .is-success / .is-error
 * Both are styled here.
 */

.woocommerce-notices-wrapper {
  margin-bottom: 24px;
}

/* ── Classic WC notices ───────────────────────────────────────── */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  border-radius: var(--fl-radius-sm);
  padding: 14px 20px;
  margin-bottom: 16px;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}
/* Remove WC default icon (pseudo-element and inline SVG) */
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
  display: none !important;
  content: none !important;
}
.woocommerce-message > svg:first-child,
.woocommerce-error > svg:first-child,
.woocommerce-info > svg:first-child {
  display: none !important;
}
.woocommerce-message {
  background: rgba(42, 93, 64, .08) !important;
  color: var(--fl-green) !important;
  border-color: transparent !important;
  border-left: 4px solid var(--fl-green) !important;
}
.woocommerce-error {
  background: rgba(180, 40, 40, .07) !important;
  color: #b42828 !important;
  border-color: transparent !important;
  border-left: 4px solid #c0392b !important;
}
.woocommerce-info {
  background: rgba(42, 93, 64, .07) !important;
  color: var(--fl-green) !important;
  border-color: transparent !important;
  border-left: 4px solid var(--fl-green) !important;
}
.woocommerce-message a,
.woocommerce-error a,
.woocommerce-info a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
}

/* ── Block WC notices (wc-block-components-notice-banner) ─────── */
.wc-block-components-notice-banner {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  border-radius: var(--fl-radius-sm) !important;
  padding: 14px 20px !important;
  margin-bottom: 16px !important;
  border: none !important;
  border-left: 4px solid var(--fl-dark) !important;
  background-color: var(--fl-card-bg) !important;
  color: var(--fl-dark) !important;
}
/* Hide the circular SVG icon — we use left-border accent instead */
.wc-block-components-notice-banner > svg {
  display: none !important;
}
/* Info (e.g. coupon prompt) → green accent */
.wc-block-components-notice-banner.is-info {
  background-color: rgba(42, 93, 64, .07) !important;
  border-color: transparent !important;
  border-left-color: var(--fl-green) !important;
  color: var(--fl-green) !important;
}
.wc-block-components-notice-banner.is-info > svg {
  display: none !important;
}
/* Success → green accent */
.wc-block-components-notice-banner.is-success {
  background-color: rgba(42, 93, 64, .08) !important;
  border-color: transparent !important;
  border-left-color: var(--fl-green) !important;
  color: var(--fl-green) !important;
}
.wc-block-components-notice-banner.is-success > svg {
  display: none !important;
}
/* Error → red accent */
.wc-block-components-notice-banner.is-error {
  background-color: rgba(180, 40, 40, .07) !important;
  border-color: transparent !important;
  border-left-color: #c0392b !important;
  color: #b42828 !important;
}
.wc-block-components-notice-banner.is-error > svg {
  display: none !important;
}
/* Warning → amber accent */
.wc-block-components-notice-banner.is-warning {
  background-color: rgba(240, 184, 73, .10) !important;
  border-color: transparent !important;
  border-left-color: #f0b849 !important;
  color: #7a5a00 !important;
}
.wc-block-components-notice-banner.is-warning > svg {
  display: none !important;
}
/* Links inside block notices */
.wc-block-components-notice-banner a,
.wc-block-components-notice-banner .wc-block-components-notice-banner__content a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit !important;
}

/* ── Archive page title ───────────────────────────────────────── */
h1.woocommerce-products-header__title,
.woocommerce-products-header__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--fl-green);
  letter-spacing: .02em;
  line-height: 1;
  margin-bottom: 8px;
}

/* ================================================================
   2. PRODUCT ARCHIVE
   ================================================================ */

/* ── Category header banner ───────────────────────────────────── */
.fl-archive-header {
  background: #f5f7f5;
  border-bottom: 1px solid var(--fl-border);
  padding: 40px 0 48px;
  margin-bottom: 0;
}
.fl-archive-header__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fl-archive-header__breadcrumb .fl-breadcrumb,
.fl-archive-header__breadcrumb .woocommerce-breadcrumb {
  margin-bottom: 0;
  font-size: 13px;
  color: var(--fl-muted);
}
/* Reset ol/ul list styles inside breadcrumb */
.fl-breadcrumb ol,
.fl-breadcrumb ul,
.woocommerce-breadcrumb ol,
.woocommerce-breadcrumb ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 6px;
}
.fl-breadcrumb li,
.woocommerce-breadcrumb li {
  display: inline-flex;
  align-items: center;
}
.fl-bc-sep {
  color: var(--fl-muted);
  font-size: 12px;
  opacity: .7;
}
.fl-archive-header__breadcrumb .fl-breadcrumb a,
.fl-archive-header__breadcrumb .woocommerce-breadcrumb a {
  color: var(--fl-muted);
  text-decoration: none;
}
.fl-archive-header__breadcrumb .fl-breadcrumb a:hover,
.fl-archive-header__breadcrumb .woocommerce-breadcrumb a:hover {
  color: var(--fl-green);
}
.fl-archive-header__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: var(--fl-green);
  letter-spacing: .02em;
  line-height: 1;
  margin: 0;
}
.fl-archive-header__desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--fl-muted);
  line-height: 1.6;
  max-width: 640px;
}
.fl-archive-header__desc p { margin: 0; }

/* ── Page layout ──────────────────────────────────────────────── */
.fl-archive-page {
  padding-top: 0;
  padding-bottom: 80px;
}
.fl-archive-page > .fl-container {
  padding-top: 32px;
}
/* Topbar spans full container width above the 2-col layout */
.fl-archive-page .fl-archive-topbar {
  margin-bottom: 24px;
}
.fl-archive-page .fl-archive-page__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.fl-sidebar {
  position: sticky;
  top: 100px;
  background: transparent;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--fl-border) transparent;
}

/* ── Active filter chips ──────────────────────────────────────── */
.fl-sidebar__active-filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--fl-border);
}
.fl-sidebar__active-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fl-muted);
}
.fl-active-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--fl-border);
  border-radius: 20px;
  padding: 4px 10px 4px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--fl-dark);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  margin-right: 4px;
  margin-bottom: 4px;
  line-height: 1.4;
}
.fl-active-pill:hover {
  border-color: var(--fl-green);
  background: #f0f7f2;
  color: var(--fl-green);
}
.fl-active-pill span[aria-hidden] {
  font-size: 15px;
  line-height: 1;
  color: var(--fl-muted);
}
.fl-active-pill:hover span[aria-hidden] { color: var(--fl-green); }

/* ── Filter groups (details/summary) ─────────────────────────── */
.fl-filter-group {
  border-bottom: 1px solid var(--fl-border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.fl-filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.fl-filter-group summary {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fl-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 20px 12px 0;
  user-select: none;
}
.fl-filter-group summary::-webkit-details-marker { display: none; }
.fl-filter-group summary::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--fl-muted);
  border-bottom: 2px solid var(--fl-muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s;
}
.fl-filter-group[open] summary::after {
  transform: rotate(-135deg) translateY(-3px);
}

.fl-filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.fl-filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fl-filter-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--fl-green);
  cursor: pointer;
  flex-shrink: 0;
}
.fl-filter-item label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--fl-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.fl-filter-count {
  font-size: 11px;
  font-weight: 500;
  color: var(--fl-muted);
  background: var(--fl-card-bg);
  border: 1px solid var(--fl-border);
  border-radius: 20px;
  padding: 1px 7px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Filter option labels (the actual rendered structure) ─────── */
.fl-filter-group__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.fl-filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 3px 0;
}
.fl-filter-option input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--fl-green);
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}
.fl-filter-option__name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--fl-dark);
  flex: 1;
  line-height: 1.4;
}
.fl-filter-option:hover .fl-filter-option__name { color: var(--fl-green); }
.fl-filter-option__count {
  font-size: 11px;
  font-weight: 500;
  color: var(--fl-muted);
  background: var(--fl-card-bg, #f8f9fa);
  border: 1px solid var(--fl-border);
  border-radius: 20px;
  padding: 1px 7px;
  flex-shrink: 0;
}

/* ── Price filter ─────────────────────────────────────────────── */
.fl-filter-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 8px;
}
.fl-filter-price input[type="number"] {
  width: 100%;
  height: 38px;
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-sm);
  padding: 0 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--fl-dark);
  background: var(--fl-white);
  transition: border-color .2s;
  -moz-appearance: textfield;
}
.fl-filter-price input[type="number"]:focus {
  border-color: var(--fl-green);
  outline: none;
}
.fl-filter-price input[type="number"]::-webkit-inner-spin-button,
.fl-filter-price input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* ── Active filter pills ──────────────────────────────────────── */
.fl-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.fl-active-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--fl-green);
  color: var(--fl-white);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  padding: 4px 10px 4px 12px;
}
.fl-active-filter-pill button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .75);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color .15s;
}
.fl-active-filter-pill button:hover {
  color: var(--fl-white);
}

/* ── Archive main area ────────────────────────────────────────── */
.fl-archive-main {
  min-width: 0;
}

/* ── Topbar (count + sort) ────────────────────────────────────── */
.fl-archive-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--fl-border);
  gap: 16px;
}
.fl-archive-count {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--fl-muted);
}
.fl-sort-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--fl-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238e9a92' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-sm);
  color: var(--fl-dark);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  height: 40px;
  padding: 0 36px 0 14px;
  cursor: pointer;
  transition: border-color .2s;
  min-width: 200px;
}
.fl-sort-select:focus {
  border-color: var(--fl-green);
  outline: none;
}

/* ── Topbar right group (toggle + sort) ──────────────────────── */
.fl-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Grid / list view toggle ─────────────────────────────────── */
.fl-view-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--fl-bg, #f5f7f5);
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-sm);
  padding: 3px;
}

.fl-view-toggle__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: calc(var(--fl-radius-sm) - 2px);
  background: transparent;
  color: var(--fl-muted);
  cursor: pointer;
  transition: background .15s, color .15s;
  padding: 0;
}

.fl-view-toggle__btn:hover {
  color: var(--fl-green);
}

.fl-view-toggle__btn.is-active {
  background: var(--fl-white, #fff);
  color: var(--fl-green);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

/* ── List view overrides ─────────────────────────────────────── */
/* Double class = higher specificity than .fl-products__grid alone */
.fl-products__grid.fl-products__grid--list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fl-products__grid.fl-products__grid--list .fl-product-card {
  display: flex;
  flex-direction: row;
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius, 8px);
  overflow: hidden;
  background: var(--fl-white, #fff);
}

.fl-products__grid.fl-products__grid--list .fl-product-card__img-wrap {
  width: 200px;
  flex-shrink: 0;
  aspect-ratio: 1;
  padding-top: 0;       /* cancel the padding-top: 100% square trick */
}

.fl-products__grid.fl-products__grid--list .fl-product-card__img-link {
  position: relative;   /* cancel absolute positioning inside the wrap */
  width: 100%;
  height: 100%;
  display: block;
}

.fl-products__grid.fl-products__grid--list .fl-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;   /* cancel absolute positioning from base styles */
}

.fl-products__grid.fl-products__grid--list .fl-product-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
  gap: 6px;
}

.fl-products__grid.fl-products__grid--list .fl-product-card__title {
  font-size: 16px;
}

.fl-products__grid.fl-products__grid--list .fl-product-card__price-row {
  margin-top: 4px;
}

/* ── Products grid wrapper ────────────────────────────────────── */
#fl-archive-products {
  position: relative;
}
.fl-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Loading overlay ──────────────────────────────────────────── */
.fl-archive-loading {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .75);
  border-radius: var(--fl-radius-md);
  z-index: 10;
  align-items: center;
  justify-content: center;
}
.fl-archive-loading[aria-hidden="false"],
.fl-archive-loading.is-active {
  display: flex;
}
.fl-archive-loading__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--fl-border);
  border-top-color: var(--fl-green);
  border-radius: 50%;
  animation: fl-spin .7s linear infinite;
}
@keyframes fl-spin {
  to { transform: rotate(360deg); }
}

/* ── Pagination ───────────────────────────────────────────────── */
.fl-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}
.fl-pagination__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 48px;
}
.fl-pagination a,
.fl-pagination span,
.fl-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--fl-radius-sm);
  border: 1px solid var(--fl-border);
  background: var(--fl-white);
  color: var(--fl-dark);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.fl-pagination a:hover,
.fl-pagination .page-numbers:not(.current):not(.dots):hover {
  background: var(--fl-green-10);
  border-color: var(--fl-green);
  color: var(--fl-green);
}
.fl-pagination .page-numbers.current {
  background: var(--fl-green);
  border-color: var(--fl-green);
  color: var(--fl-white);
}
.fl-pagination .page-numbers.dots {
  border: none;
  background: none;
  color: var(--fl-muted);
}

/* ================================================================
   3. SINGLE PRODUCT PAGE
   ================================================================ */

/* ── Page header banner (mirrors .fl-archive-header) ─────────── */
.fl-single__header {
  background: #f5f7f5;
  border-bottom: 1px solid var(--fl-border);
  padding: 40px 0 48px;
}
.fl-single__header-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fl-single__header-breadcrumb .fl-breadcrumb,
.fl-single__header-breadcrumb .woocommerce-breadcrumb,
.fl-single__header .fl-breadcrumb,
.fl-single__header .woocommerce-breadcrumb {
  margin-bottom: 0;
  font-size: 13px;
  color: var(--fl-muted);
}
.fl-single__header-breadcrumb .fl-breadcrumb a,
.fl-single__header .woocommerce-breadcrumb a {
  color: var(--fl-muted);
  text-decoration: none;
}
.fl-single__header-breadcrumb .fl-breadcrumb a:hover,
.fl-single__header .woocommerce-breadcrumb a:hover {
  color: var(--fl-green);
}
.fl-single__header-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: var(--fl-green);
  letter-spacing: .02em;
  line-height: 1;
  margin: 0;
}

/* ── Main body container ──────────────────────────────────────── */
.fl-single__body {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* ── Page layout ──────────────────────────────────────────────── */
.fl-single__layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: start;
}

/* ── Gallery ──────────────────────────────────────────────────── */
.fl-single__gallery {
  width: 480px;
  max-width: 100%;
  position: sticky;
  top: 120px;
}
.fl-single__main-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--fl-card-bg);
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-md);
  padding: 32px;
  overflow: hidden;
}
.fl-single__main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
}
.fl-single__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fl-muted);
  font-size: 48px;
}
.fl-single__sale-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--fl-orange);
  color: var(--fl-white);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}
.fl-single__thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.fl-single__thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border: 2px solid transparent;
  border-radius: var(--fl-radius-sm);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s;
  background: var(--fl-card-bg);
}
.fl-single__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.fl-single__thumb:hover {
  border-color: rgba(42, 93, 64, .4);
}
.fl-single__thumb.is-active {
  border-color: var(--fl-green);
}

/* ── Summary ──────────────────────────────────────────────────── */
.fl-single__summary {
  min-width: 0;
  padding-top: 8px;
}
.fl-single__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--fl-dark);
  margin-bottom: 12px;
}
.fl-single__sku {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--fl-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.fl-single__rating {
  margin-bottom: 16px;
}
.fl-single__rating .star-rating {
  color: var(--fl-orange);
}
.fl-single__price {
  margin-bottom: 20px;
}
.fl-single__price .price,
.fl-single__price .woocommerce-Price-amount {
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  color: var(--fl-green);
  line-height: 1.1;
}
.fl-single__price .price del {
  font-size: 18px;
  font-weight: 400;
  color: var(--fl-muted);
  margin-right: 8px;
}
.fl-single__price .price ins {
  text-decoration: none;
}

/* ── Dual brutto / netto price (custom hook output) ──────────── */
.fl-single__price--custom {
  margin-bottom: 20px;
}

/* ── Discontinued label ───────────────────────────────────────── */
.fl-product-card__discontinued {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fl-muted);
}

.fl-single__price--discontinued {
  margin-bottom: 20px;
}
.fl-single__price-del {
  display: block;
  margin-bottom: 6px;
  color: var(--fl-muted);
}
.fl-single__price-del .woocommerce-Price-amount,
.fl-single__price-del bdi {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--fl-muted) !important;
  text-decoration: line-through;
}
.fl-single__price-brutto {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  color: var(--fl-dark);
  line-height: 1.1;
}
.fl-single__price-brutto .woocommerce-Price-amount,
.fl-single__price-brutto bdi {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}
.fl-single__price-netto {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--fl-muted);
  margin-top: 5px;
}
.fl-single__price-netto .woocommerce-Price-amount,
.fl-single__price-netto bdi {
  font-size: inherit !important;
  color: inherit !important;
}

.fl-single__short-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fl-muted);
  margin-top: 16px;
  margin-bottom: 28px;
}
.fl-single__short-desc p {
  margin-bottom: 8px;
}
.fl-single__short-desc p:last-child {
  margin-bottom: 0;
}

/* ── Bulk pricing table ───────────────────────────────────────── */
.floreko-bulk-pricing {
  margin: 16px 0 20px;
}
.floreko-bulk-pricing h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fl-muted);
  margin: 0 0 8px;
}
.floreko-bulk-pricing-table {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-sm);
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}
.floreko-bulk-pricing-table thead tr {
  background: var(--fl-green);
}
.floreko-bulk-pricing-table thead th {
  color: #fff;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 8px 14px;
  text-align: left;
}
.floreko-bulk-pricing-table tbody tr {
  border-top: 1px solid var(--fl-border);
  transition: background .15s;
}
.floreko-bulk-pricing-table tbody tr:hover {
  background: #f5f7f5;
}
.floreko-bulk-pricing-table td {
  padding: 8px 14px;
  color: var(--fl-dark);
}
.floreko-bulk-pricing-table td:last-child {
  font-weight: 600;
  color: var(--fl-green);
}

/* ── Add to cart form ─────────────────────────────────────────── */
.fl-single__summary form.cart {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* ── Quantity stepper ─────────────────────────────────────────── */
.fl-qty-wrap {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #d1d5db;
  border-radius: var(--fl-radius-sm);
  overflow: hidden;
  background: var(--fl-white);
  transition: border-color .2s;
  height: 52px;
}
.fl-qty-wrap:focus-within {
  border-color: var(--fl-green);
}
.fl-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--fl-muted);
  cursor: pointer;
  transition: background .15s, color .15s;
  padding: 0;
}
.fl-qty-btn:hover {
  background: #f0f4f1;
  color: var(--fl-green);
}
.fl-qty-btn--minus {
  border-right: 1px solid #d1d5db;
}
.fl-qty-btn--plus {
  border-left: 1px solid #d1d5db;
}
.fl-qty-wrap input[type="number"],
.fl-qty-wrap .qty {
  width: 64px;
  height: 100%;
  border: none !important;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--fl-dark);
  text-align: center;
  background: transparent;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: none;
  outline: none;
  padding: 0;
  box-shadow: none !important;
}
.fl-qty-wrap .qty::-webkit-inner-spin-button,
.fl-qty-wrap .qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.fl-single__atc .single_add_to_cart_button,
.fl-single-page .single_add_to_cart_button {
  /* Override WC default + TwentyTwentyFive wp-element-button dark colour */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 52px !important;
  padding: 0 32px !important;
  background: #f0550f !important;
  background-color: #f0550f !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: .02em !important;
  border: none !important;
  border-radius: var(--fl-radius-lg) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background .2s, transform .15s !important;
  flex: 1;
  min-width: 160px;
}
.fl-single__atc .single_add_to_cart_button:hover,
.fl-single-page .single_add_to_cart_button:hover {
  background: #c9430b !important;
  background-color: #c9430b !important;
  color: var(--fl-white) !important;
  transform: translateY(-1px);
}
.fl-single__atc .single_add_to_cart_button:active,
.fl-single-page .single_add_to_cart_button:active {
  transform: translateY(0);
}

/* ── Product meta ─────────────────────────────────────────────── */
.fl-single__meta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--fl-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--fl-border);
}
.fl-single__meta-label {
  font-weight: 500;
  color: var(--fl-dark);
  margin-right: 4px;
}
.fl-single__meta a {
  color: var(--fl-muted);
  text-decoration: none;
  transition: color .2s;
}
.fl-single__meta a:hover {
  color: var(--fl-green);
}

/* ── WC product meta resets (tags, categories) ────────────────── */
.fl-single-page .product_meta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--fl-muted);
  margin-top: 20px;
}
.fl-single-page .product_meta span {
  display: block;
  margin-bottom: 4px;
}
.fl-single-page .product_meta a {
  color: var(--fl-muted);
  text-decoration: none;
  transition: color .2s;
}
.fl-single-page .product_meta a:hover {
  color: var(--fl-green);
}

/* ================================================================
   4. SPECYFIKACJA TABLE
   ================================================================ */

.fl-specyfikacja {
  padding: 64px 0;
  border-top: 1px solid var(--fl-border);
  margin-top: 48px;
}
.fl-specyfikacja__title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--fl-dark);
  margin-bottom: 0;
}
.fl-specyfikacja__table-wrap {
  margin-top: 24px;
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-md);
  overflow: hidden;
}
.fl-specyfikacja__table {
  width: 100%;
  border-collapse: collapse;
}
.fl-specyfikacja__table th {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--fl-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  text-align: left;
  padding: 14px 20px;
  background: var(--fl-card-bg);
  width: 35%;
  border-bottom: 1px solid var(--fl-border);
  vertical-align: top;
}
.fl-specyfikacja__table td {
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--fl-dark);
  border-bottom: 1px solid var(--fl-border);
  vertical-align: top;
  line-height: 1.5;
}
.fl-specyfikacja__table tr:last-child th,
.fl-specyfikacja__table tr:last-child td {
  border-bottom: none;
}
.fl-specyfikacja__table tr:hover td,
.fl-specyfikacja__table tr:hover th {
  background: var(--fl-green-10);
  transition: background .15s;
}

/* ================================================================
   5. PRODUCT NAVIGATION
   ================================================================ */

.floreko-product-nav {
  padding: 32px 0 0;
}

/* ================================================================
   6. CART PAGE
   ================================================================ */

/* Hide FSE block-theme page title on cart/checkout (we render our own header) */
.fl-cart-page .wp-block-post-title,
.fl-checkout-page .wp-block-post-title,
.fl-cart-page h1.entry-title,
.fl-checkout-page h1.entry-title,
.fl-cart-page .page-title,
.fl-checkout-page .page-title,
.fl-checkout-page .wp-block-site-title {
  display: none !important;
}


/* ── Empty cart state ─────────────────────────────────────────── */
.fl-cart-page .woocommerce-cart-empty-cart-message,
.fl-cart-page .cart-empty.woocommerce-info {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--fl-muted);
  text-align: center;
  padding: 48px 0 8px;
}
.fl-cart-page .return-to-shop {
  text-align: center;
  margin: 16px 0 48px;
}
.fl-cart-page .return-to-shop .button,
.fl-cart-page .return-to-shop a {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  background: #f0550f;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--fl-radius-lg);
  text-decoration: none;
  transition: background .2s;
}
.fl-cart-page .return-to-shop .button:hover,
.fl-cart-page .return-to-shop a:hover {
  background: #c9430b;
}

/* ── Update cart button ───────────────────────────────────────── */
.fl-cart-page button[name="update_cart"] {
  float: right;
}

/* ── Cart page layout spacing ─────────────────────────────────── */
.fl-wc-wrap {
  padding-top: 48px;
  padding-bottom: 80px;
}

/* ── Cart table ───────────────────────────────────────────────── */
.fl-cart-page .woocommerce-cart-form {
  margin-bottom: 48px;
}
.fl-cart-page .shop_table.cart {
  width: 100%;
  border-collapse: collapse;
  background: var(--fl-white);
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-md);
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}
.fl-cart-page .shop_table.cart thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--fl-white);
  background: var(--fl-green);
  padding: 14px 16px;
  text-align: left;
  border: none;
}
.fl-cart-page .shop_table.cart tbody tr {
  border-bottom: 1px solid var(--fl-border);
  transition: background .15s;
}
.fl-cart-page .shop_table.cart tbody tr:last-child {
  border-bottom: none;
}
.fl-cart-page .shop_table.cart tbody tr:hover {
  background: var(--fl-card-bg);
}
.fl-cart-page .shop_table.cart td {
  padding: 16px;
  vertical-align: middle;
  font-size: 14px;
  color: var(--fl-dark);
  border: none;
}

/* Product thumbnail */
.fl-cart-page td.product-thumbnail {
  width: 80px;
}
.fl-cart-page td.product-thumbnail a {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: var(--fl-radius-sm);
  overflow: hidden;
  background: var(--fl-card-bg);
  border: 1px solid var(--fl-border);
}
.fl-cart-page td.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Product name */
.fl-cart-page td.product-name {
  font-weight: 500;
  text-transform: capitalize;
}
.fl-cart-page td.product-name a {
  color: var(--fl-dark);
  text-decoration: none;
  transition: color .2s;
}
.fl-cart-page td.product-name a:hover {
  color: var(--fl-green);
}
.fl-cart-page td.product-name .variation {
  font-size: 12px;
  color: var(--fl-muted);
  margin-top: 4px;
}

/* Price / subtotal */
.fl-cart-page td.product-price,
.fl-cart-page td.product-subtotal {
  font-size: 15px;
  font-weight: 500;
}
.fl-cart-page td.product-subtotal {
  color: var(--fl-green);
  font-weight: 600;
}
.fl-cart-page td.product-subtotal .fl-item-tax {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--fl-muted);
  margin-top: 2px;
}
.fl-cart-page td.product-subtotal .woocommerce-Price-suffix {
  display: none;
}

/* Quantity */
.fl-cart-page td.product-quantity .qty {
  width: 72px;
  height: 42px;
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-sm);
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--fl-dark);
  background: var(--fl-white);
  transition: border-color .2s;
  -moz-appearance: textfield;
}
.fl-cart-page td.product-quantity .qty:focus {
  border-color: var(--fl-green);
  outline: none;
}
.fl-cart-page td.product-quantity .qty::-webkit-inner-spin-button,
.fl-cart-page td.product-quantity .qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* Remove button */
.fl-cart-page td.product-remove {
  width: 48px;
  text-align: center;
}
.fl-cart-page td.product-remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--fl-muted);
  font-size: 18px;
  border-radius: 50%;
  border: 1px solid var(--fl-border);
  text-decoration: none;
  transition: color .2s, border-color .2s, background .2s;
  line-height: 1;
}
.fl-cart-page td.product-remove a.remove:hover {
  color: #c0392b;
  border-color: #e74c3c;
  background: rgba(231, 76, 60, .06);
}

/* ── Cart actions (coupon + update) ───────────────────────────── */
.fl-cart-page .cart_item td.actions {
  padding: 16px;
}
.fl-cart-page .coupon {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.fl-cart-page .coupon label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fl-dark);
  white-space: nowrap;
}
.fl-cart-page .coupon #coupon_code {
  height: 42px;
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-sm);
  padding: 0 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--fl-dark);
  background: var(--fl-white);
  transition: border-color .2s;
  min-width: 180px;
}
.fl-cart-page .coupon #coupon_code:focus {
  border-color: var(--fl-green);
  outline: none;
}
.fl-cart-page .coupon .button,
.fl-cart-page button[name="apply_coupon"] {
  height: 42px;
  padding: 0 20px;
  background: #f0550f;
  color: #fff;
  border: 1px solid #f0550f;
  border-radius: var(--fl-radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.fl-cart-page .coupon .button:hover,
.fl-cart-page button[name="apply_coupon"]:hover {
  background: #c9430b;
  color: #fff;
}
.fl-cart-page button[name="update_cart"] {
  height: 42px;
  padding: 0 20px;
  background: #f0550f;
  color: #fff;
  border: none;
  border-radius: var(--fl-radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  float: right;
}
.fl-cart-page button[name="update_cart"]:hover {
  background: #c9430b;
}
.fl-cart-page button[name="update_cart"]:disabled {
  opacity: .45;
  cursor: default;
}

/* ── Cart collaterals / totals ────────────────────────────────── */
.fl-cart-page .cart-collaterals {
  max-width: 400px;
  margin-left: auto;
}
.fl-cart-page .cart_totals {
  width: 100% !important; /* Override WC default 48% */
  float: none !important;
  background: var(--fl-card-bg);
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-md);
  padding: 24px;
}
.fl-cart-page .cart_totals h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--fl-dark);
  margin-bottom: 20px;
}
.fl-cart-page .cart_totals table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}
.fl-cart-page .cart_totals table th {
  font-weight: 500;
  color: var(--fl-muted);
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--fl-border);
  width: 50%;
}
.fl-cart-page .cart_totals table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--fl-border);
  text-align: right;
  color: var(--fl-dark);
}
/* Tax included label on its own line */
.fl-cart-page .cart_totals table td small {
  display: block;
  font-size: 12px;
  color: var(--fl-muted);
  font-weight: 400;
  margin-top: 3px;
}
.fl-cart-page .cart_totals .order-total th,
.fl-cart-page .cart_totals .order-total td {
  font-size: 17px;
  font-weight: 700;
  color: var(--fl-green);
  border-bottom: none;
  padding-top: 16px;
}
.fl-cart-page .cart_totals .wc-proceed-to-checkout {
  margin-top: 20px;
}
.fl-cart-page .cart_totals .checkout-button,
.fl-cart-page .wc-proceed-to-checkout a.checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  background: #f0550f;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  border: none;
  border-radius: var(--fl-radius-lg);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
}
.fl-cart-page .cart_totals .checkout-button:hover,
.fl-cart-page .wc-proceed-to-checkout a.checkout-button:hover {
  background: #c9430b;
}

/* ================================================================
   7. CHECKOUT PAGE
   ================================================================ */

/* ── Two-column layout ────────────────────────────────────────── */
/*
 * Float-based layout (mirrors WooCommerce's own default approach).
 * Both columns stack their own content independently, so the review
 * card appears directly under the "Twoje zamówienie" heading regardless
 * of how tall the billing form is — no CSS Grid row-height distortion.
 */
.fl-checkout-page .woocommerce-checkout {
  display: block;
}
.fl-checkout-page .woocommerce-checkout::after {
  content: '';
  display: table;
  clear: both;
}
.fl-checkout-page #customer_details {
  float: left;
  width: calc(50% - 24px);
}
.fl-checkout-page #order_review_heading,
.fl-checkout-page #order_review {
  float: right;
  width: calc(50% - 24px);
}
.fl-checkout-page #order_review_heading {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--fl-border);
}

/* Stack billing + additional-info vertically within the left column.
   WooCommerce default makes .col-1 and .col-2 side-by-side inside
   #customer_details; we override that so "Informacje dodatkowe" sits
   below the billing fields instead of beside them. */
.fl-checkout-page .col2-set {
  display: block;
}
.fl-checkout-page .col2-set .col-1,
.fl-checkout-page .col2-set .col-2 {
  width: 100% !important;
  float: none;
  padding: 0;
}
.fl-checkout-page .col2-set .col-2 {
  margin-top: 40px;
}

/* ── Section headings ─────────────────────────────────────────── */
.fl-checkout-page .woocommerce-checkout h3,
.fl-checkout-page .woocommerce-billing-fields h3,
.fl-checkout-page .woocommerce-shipping-fields h3,
.fl-checkout-page #order_review_heading,
.fl-checkout-page .woocommerce-additional-fields h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--fl-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--fl-border);
}

/* ── Form inputs ──────────────────────────────────────────────── */
.fl-checkout-page .woocommerce-input-wrapper {
  display: block;
}
.fl-checkout-page .woocommerce-input-wrapper input[type="text"],
.fl-checkout-page .woocommerce-input-wrapper input[type="email"],
.fl-checkout-page .woocommerce-input-wrapper input[type="tel"],
.fl-checkout-page .woocommerce-input-wrapper input[type="number"],
.fl-checkout-page .woocommerce-input-wrapper input[type="password"],
.fl-checkout-page .woocommerce-input-wrapper textarea,
.fl-checkout-page .woocommerce-input-wrapper select,
.fl-checkout-page .select2-container--default .select2-selection--single {
  width: 100%;
  height: 48px;
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-sm);
  padding: 0 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--fl-dark);
  background: var(--fl-white);
  transition: border-color .2s;
  appearance: none;
  -webkit-appearance: none;
}
.fl-checkout-page .woocommerce-input-wrapper textarea {
  height: auto;
  min-height: 100px;
  padding: 12px 16px;
  resize: vertical;
}
.fl-checkout-page .woocommerce-input-wrapper input:focus,
.fl-checkout-page .woocommerce-input-wrapper textarea:focus,
.fl-checkout-page .woocommerce-input-wrapper select:focus {
  border-color: var(--fl-green);
  outline: none;
  box-shadow: 0 0 0 3px var(--fl-green-10);
}
.fl-checkout-page .form-row {
  margin-bottom: 16px;
}
.fl-checkout-page .form-row label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--fl-dark);
  display: block;
  margin-bottom: 6px;
}
.fl-checkout-page .form-row label .required {
  color: #e74c3c;
}
.fl-checkout-page .form-row-first,
.fl-checkout-page .form-row-last {
  width: calc(50% - 8px);
  display: inline-block;
  vertical-align: top;
}
.fl-checkout-page .form-row-last {
  margin-left: 16px;
}

/* Select2 */
.fl-checkout-page .select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
  line-height: 1;
}
.fl-checkout-page .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--fl-dark);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 0;
  line-height: 46px;
}
.fl-checkout-page .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
}

/* ── Payment section ──────────────────────────────────────────── */
.fl-checkout-page #payment,
.fl-checkout-page .woocommerce-checkout-payment {
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-md);
  overflow: hidden;
  background: var(--fl-white);
}
.fl-checkout-page #payment ul.payment_methods {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--fl-border);
}
.fl-checkout-page #payment ul.payment_methods li {
  padding: 16px 20px;
  border-bottom: 1px solid var(--fl-border);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}
.fl-checkout-page #payment ul.payment_methods li:last-child {
  border-bottom: none;
}
.fl-checkout-page #payment ul.payment_methods li label {
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fl-checkout-page #payment ul.payment_methods li input[type="radio"] {
  accent-color: var(--fl-green);
}
.fl-checkout-page #payment .payment_box {
  background: var(--fl-card-bg);
  padding: 14px 20px;
  font-size: 13px;
  color: var(--fl-muted);
  border-top: 1px solid var(--fl-border);
}
.fl-checkout-page #payment .place-order {
  padding: 20px;
}
.fl-checkout-page #place_order {
  width: 100%;
  height: 54px;
  background: #f0550f;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  border: none;
  border-radius: var(--fl-radius-lg);
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.fl-checkout-page #place_order:hover {
  background: #c9430b;
  transform: translateY(-1px);
}

/* Privacy policy blurb below the Place Order button */
.woocommerce-privacy-policy-text {
  font-size: .6em;
}

/* ── Order review card + table ────────────────────────────────── */
/*
 * #order_review is the visible card. It provides the border, radius and
 * overflow:hidden so the dark thead clips correctly at the top corners.
 * The table itself is edge-to-edge inside that card (no padding on the card).
 *
 * We use border-separate + border-spacing:0 on the table so that
 * border-radius / overflow:hidden actually work — border-collapse:collapse
 * breaks those in Chrome.
 */
.fl-checkout-page #order_review {
  border: 1px solid #d1d5db;
  border-radius: var(--fl-radius-md);
  overflow: hidden;
  background: var(--fl-white);
}
.fl-checkout-page table.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}
/* Green header — matches the cart table */
.fl-checkout-page table.shop_table thead {
  background: var(--fl-green);
}
.fl-checkout-page table.shop_table thead th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  padding: 13px 16px;
  border-bottom: none;
  text-align: left;
}
.fl-checkout-page table.shop_table thead th:last-child {
  text-align: right;
}
/* Clean white rows — strip WC alternating backgrounds */
.fl-checkout-page table.shop_table tbody tr:nth-child(odd),
.fl-checkout-page table.shop_table tbody tr:nth-child(even) {
  background: transparent;
}
/* Row separators via cell border (border-separate mode) */
.fl-checkout-page table.shop_table tbody td {
  padding: 14px 16px;
  color: var(--fl-dark);
  vertical-align: top;
  border-bottom: 1px solid #e9eaec;
}
.fl-checkout-page table.shop_table tbody td:last-child {
  text-align: right;
  font-weight: 600;
}
/* VAT breakdown line on item rows */
.fl-checkout-page table.shop_table tbody td .fl-item-tax {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--fl-muted);
  margin-top: 3px;
}
/* Product name links — override site orange link color */
.fl-checkout-page table.shop_table tbody td.product-name,
.fl-checkout-page .woocommerce-table--order-details td.product-name {
  text-transform: capitalize;
}
.fl-checkout-page table.shop_table tbody td.product-name a,
.fl-checkout-page table.shop_table tbody td.product-name a:visited {
  color: var(--fl-dark);
  text-decoration: none;
}
.fl-checkout-page table.shop_table tbody td.product-name a:hover {
  color: var(--fl-green);
  text-decoration: underline;
}

/* Quantity badge */
.fl-checkout-page table.shop_table .product-quantity {
  display: inline-block;
  background: var(--fl-card-bg);
  border: 1px solid #e2e4e8;
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 12px;
  color: var(--fl-muted);
  margin-left: 4px;
  vertical-align: middle;
}
/* Footer rows */
.fl-checkout-page table.shop_table tfoot td,
.fl-checkout-page table.shop_table tfoot th {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--fl-dark);
  border-bottom: 1px solid #e9eaec;
}
.fl-checkout-page table.shop_table tfoot th {
  text-align: left;
  font-weight: 500;
  color: var(--fl-muted);
}
.fl-checkout-page table.shop_table tfoot td {
  text-align: right;
}
/* Hide "(z VAT)" suffix everywhere in the order review table */
.fl-checkout-page table.shop_table .woocommerce-Price-suffix {
  display: none;
}
/* Grand total row */
.fl-checkout-page table.shop_table tfoot .order-total td,
.fl-checkout-page table.shop_table tfoot .order-total th {
  font-size: 16px;
  font-weight: 700;
  color: var(--fl-green);
  padding: 16px;
  border-bottom: none;
  background: rgba(42, 93, 64, .04);
}
/* "(zawiera X zł VAT 23%)" on its own line in the grand total row */
.fl-checkout-page table.shop_table tfoot .order-total td small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--fl-muted);
  margin-top: 4px;
}

/* ================================================================
   8. ORDER RECEIVED (Thank You) PAGE
   ================================================================ */

/* Confirmation message */
.fl-checkout-page .woocommerce-order .woocommerce-thankyou-order-received,
.fl-checkout-page .woocommerce-notice--success {
  background: rgba(42, 93, 64, .07) !important;
  color: var(--fl-green) !important;
  border: none !important;
  border-left: 4px solid var(--fl-green) !important;
  border-radius: var(--fl-radius-sm) !important;
  padding: 14px 20px !important;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 32px;
  list-style: none;
}

/* 4-box order overview strip */
.fl-checkout-page .woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}
.fl-checkout-page .woocommerce-order-overview li {
  flex: 1 1 160px;
  background: var(--fl-card-bg);
  border: 1px solid #e2e4e8;
  border-radius: var(--fl-radius-sm);
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--fl-muted);
  line-height: 1.5;
}
.fl-checkout-page .woocommerce-order-overview li strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--fl-dark);
  margin-top: 4px;
}
.fl-checkout-page .woocommerce-order-overview li.woocommerce-order-overview__total strong {
  color: var(--fl-green);
  font-size: 17px;
}

/* Order details section heading */
.fl-checkout-page .woocommerce-order-details__title,
.fl-checkout-page .woocommerce-column__title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--fl-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e4e8;
}

/* Order details table — same card style as checkout order review */
.fl-checkout-page .woocommerce-table--order-details {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  border: 1px solid #d1d5db;
  border-radius: var(--fl-radius-md);
  overflow: hidden;
  margin-bottom: 40px;
}
.fl-checkout-page .woocommerce-table--order-details thead {
  background: var(--fl-green);
}
.fl-checkout-page .woocommerce-table--order-details thead th {
  padding: 13px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  text-align: left;
  border-bottom: none;
}
.fl-checkout-page .woocommerce-table--order-details thead th:last-child { text-align: right; }
.fl-checkout-page .woocommerce-table--order-details tbody td {
  padding: 14px 16px;
  color: var(--fl-dark);
  border-bottom: 1px solid #e9eaec;
  vertical-align: middle;
}
.fl-checkout-page .woocommerce-table--order-details tbody td:last-child {
  text-align: right;
  font-weight: 600;
}
.fl-checkout-page .woocommerce-table--order-details tfoot td,
.fl-checkout-page .woocommerce-table--order-details tfoot th {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--fl-dark);
  border-bottom: 1px solid #e9eaec;
}
.fl-checkout-page .woocommerce-table--order-details tfoot th {
  text-align: left;
  font-weight: 500;
  color: var(--fl-muted);
}
.fl-checkout-page .woocommerce-table--order-details tfoot td { text-align: right; }
.fl-checkout-page .woocommerce-table--order-details tfoot .order-total td,
.fl-checkout-page .woocommerce-table--order-details tfoot .order-total th {
  font-size: 16px;
  font-weight: 700;
  color: var(--fl-green);
  padding: 16px;
  border-bottom: none;
  background: rgba(42, 93, 64, .04);
}
/* Hide price suffix in order table */
.fl-checkout-page .woocommerce-table--order-details .woocommerce-Price-suffix { display: none; }

/* Product name links in order table */
.fl-checkout-page .woocommerce-table--order-details td.product-name a {
  color: var(--fl-dark);
  text-decoration: none;
}
.fl-checkout-page .woocommerce-table--order-details td.product-name a:hover {
  color: var(--fl-green);
  text-decoration: underline;
}

/* Customer details (billing address) */
.fl-checkout-page .woocommerce-customer-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.fl-checkout-page .woocommerce-column {
  background: var(--fl-card-bg);
  border: 1px solid #e2e4e8;
  border-radius: var(--fl-radius-md);
  padding: 24px;
}
.fl-checkout-page .woocommerce-column address {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--fl-dark);
  line-height: 1.7;
  font-style: normal;
}

/* ================================================================
   9. PRODUCT NAVIGATION (prev / next)
   ================================================================ */

/* Override inline styles from floreko_product_nav_styles() */
.fl-single-page .fl-container:has(.floreko-product-nav) {
  border-top: 1px solid var(--fl-border);
  border-bottom: 1px solid var(--fl-border);
}
.fl-single-page .floreko-product-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  margin: 0;
}
.fl-single-page .floreko-product-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--fl-dark);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  max-width: 45%;
  transition: color .2s;
}
.fl-single-page .floreko-product-nav a:hover {
  color: var(--fl-green);
}
.fl-single-page .floreko-product-nav__arrow {
  font-size: 18px;
  line-height: 1;
  color: var(--fl-muted);
}
.fl-single-page .floreko-product-nav__thumb img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--fl-radius-sm);
  background: var(--fl-card-bg);
  border: 1px solid var(--fl-border);
}
.fl-single-page .floreko-product-nav__next {
  margin-left: auto;
  flex-direction: row-reverse;
  text-align: right;
}
.fl-single-page .floreko-product-nav__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ================================================================
   9. WC PRODUCT DATA TABS
   ================================================================ */

.fl-single-page .woocommerce-tabs {
  margin-top: 0;
}
.fl-single-page .woocommerce-tabs .wc-tabs {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 2px solid var(--fl-border);
}
.fl-single-page .woocommerce-tabs .wc-tabs li {
  margin: 0;
}
.fl-single-page .woocommerce-tabs .wc-tabs li a {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--fl-muted);
  text-decoration: none;
  padding: 12px 24px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.fl-single-page .woocommerce-tabs .wc-tabs li.active a,
.fl-single-page .woocommerce-tabs .wc-tabs li a:hover {
  color: var(--fl-green);
  border-bottom-color: var(--fl-green);
}
.fl-single-page .woocommerce-tabs .woocommerce-Tabs-panel {
  padding: 28px 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--fl-dark);
}
.fl-single-page .woocommerce-tabs .woocommerce-Tabs-panel p {
  margin-bottom: 12px;
}
.fl-single-page .woocommerce-tabs .woocommerce-Tabs-panel h2 {
  display: none; /* WC inserts a duplicate heading */
}

/* ── Reviews ──────────────────────────────────────────────────── */
.fl-single-page #reviews #comments .woocommerce-Reviews-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--fl-dark);
  margin-bottom: 24px;
}
.fl-single-page #reviews ol.commentlist {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.fl-single-page #reviews ol.commentlist li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--fl-border);
}
.fl-single-page #reviews ol.commentlist li:last-child {
  border-bottom: none;
}
.fl-single-page #reviews .comment-text .star-rating {
  color: var(--fl-orange);
  margin-bottom: 8px;
}
.fl-single-page #reviews .comment-text p {
  font-size: 14px;
  color: var(--fl-dark);
}
.fl-single-page #reviews #review_form .comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fl-single-page #reviews #review_form label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--fl-dark);
}
.fl-single-page #reviews #review_form input[type="text"],
.fl-single-page #reviews #review_form input[type="email"],
.fl-single-page #reviews #review_form textarea {
  width: 100%;
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-sm);
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--fl-dark);
  background: var(--fl-white);
  transition: border-color .2s;
}
.fl-single-page #reviews #review_form input:focus,
.fl-single-page #reviews #review_form textarea:focus {
  border-color: var(--fl-green);
  outline: none;
}
.fl-single-page #reviews #review_form .form-submit input[type="submit"] {
  height: 46px;
  padding: 0 28px;
  background: var(--fl-green);
  color: var(--fl-white);
  border: none;
  border-radius: var(--fl-radius-lg);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.fl-single-page #reviews #review_form .form-submit input[type="submit"]:hover {
  background: #1e4430;
}

/* ================================================================
   10. INLINE OPIS / SPECYFIKACJA TABS
   ================================================================ */

.fl-product-tabs {
  margin-top: 28px;
  border-top: 1px solid var(--fl-border);
}

/* ── Share buttons (below add-to-cart) ────────────────────────── */
.fl-share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--fl-border);
}
.fl-share-buttons__label {
  font-size: 13px;
  color: var(--fl-muted);
}
.fl-share-buttons__link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--fl-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fl-muted);
  transition: border-color .2s, color .2s, background .2s;
}
.fl-share-buttons__link svg { width: 16px; height: 16px; }
.fl-share-buttons__link:hover { color: var(--fl-green); border-color: var(--fl-green); }

/* ── Tab nav ──────────────────────────────────────────────────── */
.fl-product-tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--fl-border);
  margin-bottom: 0;
}

.fl-product-tabs__btn {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fl-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 14px 20px;
  cursor: pointer;
  transition: color .18s, border-color .18s;
  line-height: 1;
}

.fl-product-tabs__btn:hover {
  color: var(--fl-green);
}

.fl-product-tabs__btn.is-active {
  color: var(--fl-green);
  border-bottom-color: var(--fl-green);
}

/* ── Panels ───────────────────────────────────────────────────── */
.fl-product-tabs__panel {
  display: none;
  padding: 24px 0 8px;
}

.fl-product-tabs__panel.is-active {
  display: block;
}

/* ── Opis (description) panel ─────────────────────────────────── */
.fl-product-tabs__content {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fl-text, #1a1a1a);
}

.fl-product-tabs__content p {
  margin: 0 0 12px;
}

.fl-product-tabs__content ul,
.fl-product-tabs__content ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.fl-product-tabs__content li {
  margin-bottom: 4px;
}

.fl-product-tabs__content h2,
.fl-product-tabs__content h3,
.fl-product-tabs__content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  margin: 16px 0 8px;
}

/* ================================================================
   11. RELATED PRODUCTS
   ================================================================ */

.fl-related-products {
  border-top: 1px solid var(--fl-border);
  padding: 64px 0 80px;
}
.fl-related-products__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--fl-dark);
  margin-bottom: 32px;
}
.fl-products__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ================================================================
   11. RESPONSIVE – Mobile (≤768px)
   ================================================================ */

@media (max-width: 768px) {

  /* ── Archive ────────────────────────────────────────────────── */
  .fl-archive-page .fl-archive-page__inner {
    grid-template-columns: 1fr;
  }
  .fl-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
  .fl-archive-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .fl-topbar-right {
    width: 100%;
    justify-content: space-between;
  }
  .fl-sort-select {
    width: 100%;
    min-width: unset;
  }
  .fl-products__grid.fl-products__grid--list .fl-product-card__img-wrap {
    width: 120px;
  }
  .fl-products__grid.fl-products__grid--list .fl-product-card__info {
    padding: 14px 16px;
  }
  .fl-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fl-archive-header {
    padding: 28px 0 32px;
  }

  /* ── Single product ─────────────────────────────────────────── */
  .fl-single__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .fl-single__gallery {
    width: 100%;
    position: static;
  }
  .fl-single__title {
    font-size: 26px;
  }
  .fl-single__summary form.cart {
    flex-direction: column;
  }
  .fl-qty-wrap {
    width: auto;
    max-width: 140px;
  }
  .fl-single__atc .single_add_to_cart_button,
  .fl-single-page .single_add_to_cart_button {
    width: 100%;
  }
  .fl-single__body {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  /* ── Related products ────────────────────────────────────────── */
  .fl-products__grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .fl-related-products {
    padding: 40px 0 56px;
  }

  /* ── WC tabs ──────────────────────────────────────────────────── */
  .fl-single-page .woocommerce-tabs .wc-tabs li a {
    padding: 10px 16px;
    font-size: 12px;
  }

  /* ── Specyfikacja ───────────────────────────────────────────── */
  .fl-specyfikacja {
    padding: 40px 0;
  }
  .fl-specyfikacja__table th {
    width: 42%;
  }

  /* ── Cart ───────────────────────────────────────────────────── */
  .fl-cart-page .shop_table.cart {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  .fl-cart-page .cart-collaterals {
    max-width: 100%;
  }

  /* ── Checkout: single column ────────────────────────────────── */
  .fl-checkout-page #customer_details,
  .fl-checkout-page #order_review_heading,
  .fl-checkout-page #order_review {
    float: none;
    width: 100%;
  }
  .fl-checkout-page #order_review_heading { margin-top: 32px; }
  .fl-checkout-page .form-row-first,
  .fl-checkout-page .form-row-last {
    width: 100%;
    display: block;
    margin-left: 0;
  }
}

/* ── Tablet adjustments (769px – 1024px) ─────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  .fl-archive-page .fl-archive-page__inner {
    grid-template-columns: 240px 1fr;
    gap: 28px;
  }
  .fl-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fl-single__layout {
    gap: 40px;
  }
  .fl-single__gallery {
    width: 380px;
  }
  .fl-products__grid--4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ================================================================
   10. MY ACCOUNT PAGE
   ================================================================ */

/* Wrapper */
.fl-account-wrap {
  padding-top: 48px;
  padding-bottom: 80px;
}

/* Two-column layout: nav left, content right */
.fl-account-page .woocommerce {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
  width: 100%;
}

/* ── Navigation sidebar ───────────────────────────────────────── */
.fl-account-page .woocommerce-MyAccount-navigation {
  grid-column: 1 !important;
  float: none !important;
  width: auto !important;
  background: var(--fl-white);
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-md);
  overflow: hidden;
}

.fl-account-page .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 8px;
}

.fl-account-page .woocommerce-MyAccount-navigation li {
  margin: 0;
}

.fl-account-page .woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--fl-radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--fl-dark);
  text-decoration: none;
  transition: background .15s, color .15s;
}

.fl-account-page .woocommerce-MyAccount-navigation li a:hover {
  background: rgba(42, 93, 64, .07);
  color: var(--fl-green);
}

.fl-account-page .woocommerce-MyAccount-navigation li.is-active a,
.fl-account-page .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--active a {
  background: var(--fl-green);
  color: #fff;
}

.fl-account-page .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #e53e3e;
}
.fl-account-page .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  background: rgba(229, 62, 62, .08);
  color: #c53030;
}

/* ── Content area ─────────────────────────────────────────────── */
.fl-account-page .woocommerce-MyAccount-content {
  grid-column: 2 !important;
  float: none !important;
  width: auto !important;
  background: var(--fl-white);
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-md);
  padding: 32px;
  min-width: 0;
}

/* Headings inside content */
.fl-account-page .woocommerce-MyAccount-content h2,
.fl-account-page .woocommerce-MyAccount-content h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--fl-dark);
  margin-top: 0;
  margin-bottom: 20px;
}

/* Intro paragraph on dashboard */
.fl-account-page .woocommerce-MyAccount-content p {
  font-size: 15px;
  color: var(--fl-muted);
  line-height: 1.6;
}

/* Orders table */
.fl-account-page .woocommerce-orders-table,
.fl-account-page .woocommerce-MyAccount-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-sm);
  overflow: hidden;
}

.fl-account-page .woocommerce-orders-table thead,
.fl-account-page .woocommerce-MyAccount-content table thead {
  background: var(--fl-green);
}

.fl-account-page .woocommerce-orders-table thead th,
.fl-account-page .woocommerce-MyAccount-content table thead th {
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff;
  border: none;
  text-align: left;
}

.fl-account-page .woocommerce-orders-table tbody td,
.fl-account-page .woocommerce-MyAccount-content table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--fl-border);
  color: var(--fl-dark);
  vertical-align: middle;
}

.fl-account-page .woocommerce-orders-table tbody tr:last-child td,
.fl-account-page .woocommerce-MyAccount-content table tbody tr:last-child td {
  border-bottom: none;
}

.fl-account-page .woocommerce-orders-table tbody tr:hover td,
.fl-account-page .woocommerce-MyAccount-content table tbody tr:hover td {
  background: rgba(42, 93, 64, .03);
}

/* Order status badges */
.fl-account-page .woocommerce-orders-table .woocommerce-orders-table__cell-order-status mark,
.fl-account-page mark.order-status {
  background: rgba(42, 93, 64, .1);
  color: var(--fl-green);
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

/* View order button */
.fl-account-page .woocommerce-button.button {
  background: #f0550f;
  color: #fff !important;
  border: none;
  border-radius: var(--fl-radius-sm);
  padding: 7px 16px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
  display: inline-block;
}
.fl-account-page .woocommerce-button.button:hover { background: #c9430b; }

/* Address boxes */
.fl-account-page .woocommerce-Addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fl-account-page .woocommerce-Address {
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-sm);
  padding: 20px;
}

.fl-account-page .woocommerce-Address-title h3 {
  font-size: 15px;
  margin-bottom: 12px !important;
}

.fl-account-page .woocommerce-Address address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fl-muted);
}

/* Edit account / password form */
.fl-account-page .woocommerce-EditAccountForm .form-row,
.fl-account-page .woocommerce-ResetPassword .form-row {
  margin-bottom: 16px;
}

.fl-account-page .woocommerce-EditAccountForm label,
.fl-account-page .woocommerce-ResetPassword label,
.fl-account-page .woocommerce-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--fl-dark);
  margin-bottom: 6px;
}

.fl-account-page .woocommerce-EditAccountForm input[type="text"],
.fl-account-page .woocommerce-EditAccountForm input[type="email"],
.fl-account-page .woocommerce-EditAccountForm input[type="password"],
.fl-account-page .woocommerce-ResetPassword input[type="text"],
.fl-account-page .woocommerce-ResetPassword input[type="email"],
.fl-account-page .woocommerce-ResetPassword input[type="password"],
.fl-account-page .woocommerce-form input[type="text"],
.fl-account-page .woocommerce-form input[type="email"],
.fl-account-page .woocommerce-form input[type="password"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-sm);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--fl-dark);
  transition: border-color .2s;
  box-sizing: border-box;
}

.fl-account-page .woocommerce-EditAccountForm input:focus,
.fl-account-page .woocommerce-ResetPassword input:focus,
.fl-account-page .woocommerce-form input:focus {
  outline: none;
  border-color: var(--fl-green);
  box-shadow: 0 0 0 3px rgba(42, 93, 64, .1);
}

/* Login / Register forms */
.fl-account-page .woocommerce-account .woocommerce {
  display: block;
}

.fl-account-page .u-columns.col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.fl-account-page .u-column1,
.fl-account-page .u-column2 {
  background: var(--fl-white);
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-md);
  padding: 32px;
}

.fl-account-page .u-column1 h2,
.fl-account-page .u-column2 h2 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--fl-dark);
  margin-bottom: 24px;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .fl-account-page .woocommerce {
    grid-template-columns: 1fr;
  }

  .fl-account-page .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }

  .fl-account-page .u-columns.col2-set {
    grid-template-columns: 1fr;
  }

  .fl-account-page .woocommerce-MyAccount-content {
    padding: 20px;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
 *  Floreko feature additions — May 2026
 *  T&C checkbox, NIP field, wishlist (archive + single + page),
 *  single-product zoom magnifier + fullscreen.
 * ═══════════════════════════════════════════════════════════════════════════ */


/* ───────────────────────── T&C checkbox on register form ───────────────── */
.floreko-terms-row {
  margin-top: 18px;
  padding: 12px 14px;
  background: #faf7f2;
  border: 1px solid #ecdfca;
  border-radius: var(--fl-radius-sm);
}
.floreko-terms-row label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  font-size: 13px;
  font-weight: 400 !important;
  color: var(--fl-dark);
  cursor: pointer;
}
.floreko-terms-row input[type="checkbox"] {
  margin: 3px 0 0;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--fl-green, #2a5d40);
}
.floreko-terms-row a {
  color: var(--fl-green, #2a5d40);
  text-decoration: underline;
}


/* ───────────────────────── billing_nip field ───────────────────────────── */
.fl-checkout-page #billing_nip_field input,
.fl-account-page #billing_nip_field input {
  letter-spacing: 0.05em;
}


/* ───────────────────────── Archive card wishlist active state ──────────── */
.fl-product-card__wishlist.is-active {
  opacity: 1 !important;
  background: #fff0f0;
  color: #e0205a;
  border-color: #e0205a;
}
.fl-product-card__wishlist.is-active svg {
  fill: #e0205a;
  stroke: #e0205a;
}


/* ───────────────────────── Single-product wishlist button ──────────────── */
.fl-single__wishlist-wrap {
  margin: 10px 0 4px;
}
.fl-single__wishlist {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--fl-white, #fff);
  border: 1px solid #b0b0b0;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--fl-dark);
  cursor: pointer;
  transition: color .15s, background .15s, border-color .15s;
}
.fl-single__wishlist:hover {
  background: #fff0f0;
  color: #e0205a;
  border-color: #e0205a;
}
.fl-single__wishlist svg {
  transition: fill .15s, stroke .15s;
}
.fl-single__wishlist .fl-single__wishlist-label--remove { display: none; }
.fl-single__wishlist .fl-single__wishlist-label--add    { display: inline; }

.fl-single__wishlist.is-active {
  background: #fff0f0;
  color: #e0205a;
  border-color: #e0205a;
}
.fl-single__wishlist.is-active svg {
  fill: #e0205a;
  stroke: #e0205a;
}
.fl-single__wishlist.is-active .fl-single__wishlist-label--remove { display: inline; }
.fl-single__wishlist.is-active .fl-single__wishlist-label--add    { display: none; }


/* ───────────────────────── My Account → Ulubione ───────────────────────── */
.fl-wishlist-page__intro {
  margin: 0 0 18px;
  color: var(--fl-muted);
  font-size: 14px;
}
.fl-wishlist-page__grid {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax( 220px, 1fr ) );
  gap: 20px;
}
.fl-wishlist-page__item {
  position: relative;
}
.fl-wishlist-page__empty {
  padding: 40px 16px;
  text-align: center;
  color: var(--fl-muted);
  border: 1px dashed #b0b0b0;
  border-radius: var(--fl-radius-sm);
}
.fl-wishlist-page__empty .button {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 24px;
  background: var(--fl-green, #2a5d40);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity .15s;
}
.fl-wishlist-page__empty .button:hover { opacity: .88; }

/* On the Ulubione list, the heart is always visible (not hover-only). */
.fl-wishlist-page .fl-product-card__wishlist {
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════════════════════════
 *  Single-product gallery zoom — custom magnifier (not WC-native)
 * ═══════════════════════════════════════════════════════════════════════════ */

.fl-single__main-img-wrap.fl-zoom-enabled {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.fl-zoom__lens {
  position: absolute;
  border: 1px solid rgba( 0, 0, 0, .25 );
  background: rgba( 255, 255, 255, .25 );
  pointer-events: none;
  box-sizing: border-box;
  z-index: 5;
}
.fl-zoom__pane {
  position: absolute;
  z-index: 9999;
  background-repeat: no-repeat;
  border: 1px solid rgba( 0, 0, 0, .12 );
  box-shadow: 0 10px 40px rgba( 0, 0, 0, .18 );
  background-color: #fff;
  pointer-events: none;
  border-radius: 6px;
}

/* On smaller viewports there isn't room to anchor the pane next to the
 * gallery — fall back to the tap-fullscreen mode by hiding the pane and
 * letting the click handler take over. */
@media ( max-width: 1100px ) {
  .fl-single__main-img-wrap.fl-zoom-enabled { cursor: zoom-in; }
  .fl-zoom__pane,
  .fl-zoom__lens { display: none !important; }
}

.fl-zoom__fullscreen {
  position: fixed;
  inset: 0;
  background: rgba( 0, 0, 0, .92 );
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.fl-zoom__fullscreen img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.fl-zoom__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba( 255, 255, 255, .15 );
  color: #fff;
  border: 0;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.fl-zoom__close:hover { background: rgba( 255, 255, 255, .25 ); }


/* ───────────────────────── Form-input borders (WC scope) ───────────────── */
/* Mirrors floreko.css sitewide rule but with the higher specificity needed
 * to win against the existing `.fl-checkout-page .woocommerce-input-wrapper input`
 * declarations which use --fl-border. */
.fl-checkout-page .woocommerce-input-wrapper input,
.fl-checkout-page .woocommerce-input-wrapper textarea,
.fl-checkout-page .woocommerce-input-wrapper select,
.fl-checkout-page .select2-container--default .select2-selection--single,
.fl-account-page .woocommerce-EditAccountForm input,
.fl-account-page .woocommerce-ResetPassword input,
.fl-account-page .woocommerce-form input,
.fl-account-page .woocommerce-address-fields input,
.fl-account-page .woocommerce-address-fields select,
.fl-account-page .woocommerce-address-fields textarea {
  border-color: #b0b0b0 !important;
}

span.fl-product-card__discontinued {
    font-size: 1em !important;
}
