/* ============== MENU ============== */
#main-nav a {
    color: #2f505f !important;
    cursor: pointer !important;
    transition: 300ms linear !important;
}

#main-nav a:hover {
    color: #ff0000 !important;
}

/* ============== MOBILE TOPBAR STICKY-ON-SCROLL ============== */
#ifil-mob-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  transform: translateY(0);
  will-change: transform;
}

#ifil-mob-banner {
  position: relative;
}

#ifil-mob-topbar-spacer {
  width: 100%;
  height: 0;
}

@media (min-width: 1024px) {
  #ifil-mob-banner,
  #ifil-mob-topbar,
  #ifil-mob-topbar-spacer {
    display: none !important;
  }
}

/* ========= MOBILE BOTTOM SHEET MENU ========= */
.ifil-mm-overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, #000 60%, transparent);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 9998;
}
.ifil-mm-overlay.is-open {
  opacity: 1;
}

.ifil-mm-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(90vh, 800px);
  background: #fff;
  color: var(--dark-text);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  transition: transform 0.2s ease-in-out;
  z-index: 9999;
  outline: none;
  display: grid;
  grid-template-rows: auto 1fr;
}
.ifil-mm-sheet.is-open {
  transform: translateY(0);
}
.ifil-mm-sheet.dragging {
  transition: none !important;
}

.ifil-mm-head {
  position: relative;
  padding: 10px 14px 8px;
}
.ifil-mm-drag {
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: #e5e7eb;
  margin: 6px auto 10px;
}
.ifil-mm-title {
  margin: 0;
  padding: 0 6px;
  font-weight: 800;
  color: var(--brand-primary-text);
}
.ifil-mm-close {
  display: none;
  position: absolute;
  right: 8px;
  top: 8px;
  background: transparent;
  border: 0;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  color: #6b7280;
  transition: background 0.2s ease, color 0.2s ease;
}
.ifil-mm-close:hover {
  background: var(--light-bg);
  color: #111;
}

.ifil-mm-body {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}

.ifil-mm-list,
.ifil-mm-quick {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ifil-mm-list li a,
.ifil-mm-quick li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  background: #fff;
  color: var(--brand-primary-text);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}
.ifil-mm-list li + li,
.ifil-mm-quick li + li {
  margin-top: 10px;
}
.ifil-mm-list li a:hover,
.ifil-mm-quick li a:hover {
  background: var(--light-bg);
  box-shadow: var(--panel-shadow);
}

.ifil-mm-quick {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed #e5e7eb;
}
.ifil-mm-quick i {
  width: 18px;
  text-align: center;
  color: var(--brand-primary-text);
}

html.ifil-lock-scroll,
body.ifil-lock-scroll {
  height: 100%;
  overflow: hidden;
}

/* ================ ================ TESTIMONIALS ================ ================ */
.testimonial-card {
  transition: background-color var(--transition), color var(--transition);
}

.testimonial-card.is-active {
  background-color: var(--brand-secondary-bg);
  color: var(--on-secondary);
}

.ifil-testimonials .slick-dots {
  bottom: -28px;
}
.ifil-testimonials .slick-dots li button:before {
  font-size: 10px;
  color: rgba(0, 0, 0, 0.35);
}
.ifil-testimonials .slick-dots li.slick-active button:before {
  color: var(--brand-secondary-bg);
}

/* Strzałki */
.ifil-testimonials .slick-prev:before,
.ifil-testimonials .slick-next:before {
  color: rgba(0, 0, 0, 0.45);
}

/* ================ ================ POPOVUERS ================ ================ */
.js-popover {
  position: relative;
}

.acc-popover {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  transform: none;
  margin-top: 0.5rem;
  z-index: 50;

  inline-size: 360px;
  max-inline-size: min(360px, 92vw);

  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 1rem;

  --arrow-left: 92%;
}

.acc-popover::before,
.acc-popover::after {
  content: "";
  position: absolute;
  top: -10px;
  left: var(--arrow-left);
  transform: translateX(-50%);
  inline-size: 0;
  block-size: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  pointer-events: none;
}
.acc-popover::before {
  border-bottom: 10px solid #e5e7eb;
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.04));
}
.acc-popover::after {
  top: -9px;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid #fff;
}

#cart-popover .acc-hover-bridge,
#acc-popover .acc-hover-bridge,
#help-popover .acc-hover-bridge {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  transform: none;
  inline-size: min(360px, 92vw);
  block-size: 14px;
  pointer-events: auto;
  background: transparent;
  z-index: 49;
}

#cart-popover [data-popover-trigger],
#acc-popover [data-popover-trigger],
#help-popover [data-popover-trigger],
#favorites-popover:not(.btn) {
  color: var(--brand-primary-text);
  transition: color var(--transition), transform var(--transition);
  text-decoration: none;
}
#cart-popover [data-popover-trigger] i,
#acc-popover [data-popover-trigger] i,
#help-popover [data-popover-trigger] i,
#favorites-popover:not(.btn) i {
  color: var(--brand-primary-text);
  transition: color var(--transition), transform var(--transition);
}
#cart-popover [data-popover-trigger]:hover,
#acc-popover [data-popover-trigger]:hover,
#help-popover [data-popover-trigger]:hover,
#favorites-popover:not(.btn):hover {
  color: var(--brand-secondary-text);
}
#cart-popover [data-popover-trigger]:hover i,
#acc-popover [data-popover-trigger]:hover i,
#help-popover [data-popover-trigger]:hover i,
#favorites-popover:not(.btn):hover i {
  color: var(--brand-secondary-text);
  transform: translateY(-2px);
}

/* ================ ================ SEARCH BAR ================ ================ */
.ifil-search {
  position: relative;
}
.ifil-search-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.ifil-input {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--field-bg);
  color: var(--field-text);
  border: 1px solid var(--field-border);
  border-radius: var(--field-radius);
  padding: var(--field-padding-y) var(--field-padding-x);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.ifil-input:focus {
  border-color: var(--brand-primary-text);
  box-shadow: 0 0 0 3px
    color-mix(in srgb, var(--brand-primary-text) 20%, transparent);
}

.ifil-search-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 8px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  box-shadow: var(--panel-shadow);
  overflow: hidden;
  z-index: 50;
  max-height: 70vh;
  overflow-y: auto;
}
.ifil-search-panel:not(.hidden) {
  display: block;
}

.ifil-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  transition: background-color var(--transition);
}
.ifil-search-item:hover,
.ifil-search-item.is-active {
  background: #f9fafb;
}

/* ================ ================ BANNERS ================ ================ */
.ifil-banners {
  border-radius: var(--panel-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--panel-shadow);
}
.ifil-banners-viewport {
  position: relative;
}
.ifil-banner-slide {
  position: relative;
}
.ifil-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.ifil-banner-overlay {
  position: absolute;
  inset: auto 16px 16px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.ifil-banner-text {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  max-width: 44ch;
  text-align: right;
}

.ifil-banners-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
}

.ifil-banners-tab {
  background: #fff;
  color: #111;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--transition), background-color var(--transition),
    border-color var(--transition);
}

.ifil-banners-tab:hover {
  color: var(--brand-primary-text);
  background: #f9fafb;
}

.ifil-banner-slide {
  position: relative;
}

.ifil-banner-slide .ifil-banner-cta {
  margin-top: auto;
  align-self: flex-end;
  white-space: nowrap;
}

.ifil-banners-tab.is-active {
  color: var(--brand-primary-text);
  border-bottom-color: var(--brand-primary-text);
}

.ifil-banners .slick-prev:before,
.ifil-banners .slick-next:before {
  color: var(--dark-text);
  font-size: 28px;
}
.ifil-banners .slick-prev {
  left: 12px;
  z-index: 2;
}
.ifil-banners .slick-next {
  right: 12px;
  z-index: 2;
}

@media (max-width: 768px) {
  .ifil-banner-overlay {
    inset: auto 12px 12px auto;
  }
  .ifil-banners-tabs {
    flex-wrap: wrap;
    row-gap: 8px;
  }
}

.ifil-banner-progress-wrap {
  position: relative;
}
.ifil-banner-progress {
  transition: width linear;
}

/* ================ ================ PRODUCT CAROUSEL ================ ================ */
.ifil-product-card {
  position: relative;
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  background: var(--panel-bg);
  box-shadow: var(--panel-shadow);
  overflow: hidden;
  transition: var(--transition);
}
.ifil-product-card:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  background-color: #f1f1f1;
}

.ifil-product-media img {
  border-radius: var(--radius);
}

.ifil-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  background: #eef2ff;
  color: #1f2937;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.ifil-badge.is-instock {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}
.ifil-badge.is-backorder {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}
.ifil-badge.is-out {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.ifil-product-body {
  display: grid;
  gap: 0.4rem;
}
.ifil-product-title {
  color: #111;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}

.ifil-product-price {
  color: var(--brand-primary-text);
  font-weight: 700;
  font-size: 0.95rem;
}

.ifil-product-price-net {
  font-size: 0.75rem;
  color: #6b7280;
}

.ifil-product-cta {
  margin-top: 0.35rem;
}

/* ================ ================ SLICK CAROUSEL ================ ================ */
.slick-slider .slick-prev,
.slick-slider .slick-next {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.slick-slider .slick-prev:before,
.slick-slider .slick-next:before {
  display: none;
}

/* ================ ================ ADD TO CART - AJAX ================ ================ */
.added_to_cart.wc-forward {
  display: none !important;
}

/* ================ ================ ADD TO CART - TOAST ================ ================ */
.ifil-toast {
  position: fixed;
  inset-block-end: 16px;
  inset-inline-end: 16px;
  z-index: 9999;
  inline-size: min(92vw, 380px);
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius, 12px);
  box-shadow: var(--panel-shadow);
  color: var(--field-text);
}
.ifil-toast.hidden {
  display: none;
}
.ifil-toast__inner {
  display: flex;
  gap: 12px;
  padding: 14px;
}
.ifil-toast__thumb {
  inline-size: 56px;
  block-size: 56px;
  border-radius: 10px;
  background: #f3f4f6;
  flex: 0 0 auto;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.ifil-toast__title {
  font-weight: 600;
  margin: 0 0 2px;
  color: var(--brand-primary-text);
}
.ifil-toast__msg {
  margin: 0 0 10px;
  font-size: 14px;
  color: #111;
}
.ifil-toast__actions {
  display: flex;
  gap: 8px;
}
.ifil-toast__actions .btn {
  padding: 6px 14px;
  border-radius: var(--btn-radius);
  font-size: 13px;
}
.ifil-toast__close {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
}
.ifil-toast__close:hover {
  background: var(--btn-secondary-bg-hov);
}

/* ================ ================ ADD TO CART - MODAL ================ ================ */
.ifil-atc-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, #000 60%, transparent);
  backdrop-filter: blur(2px);
}
.ifil-atc-overlay:not(.hidden) {
  display: flex;
}

.ifil-atc-dialog {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius, 12px);
  box-shadow: var(--panel-shadow);
  width: min(92vw, 720px);
  padding: 24px 24px 20px;
  position: relative;
}

.ifil-atc-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #6b7280;
  transition: color var(--transition);
}
.ifil-atc-close:hover {
  color: #111;
}
.ifil-atc-close i {
  font-size: 22px;
}

.ifil-atc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--brand-primary-text);
}
.ifil-atc-title i {
  color: var(--brand-secondary-text);
}

.ifil-atc-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ifil-atc-thumb {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  object-fit: cover;
  background: #f3f4f6;
  flex: 0 0 auto;
}
.ifil-atc-info {
  flex: 1 1 auto;
}
.ifil-atc-name {
  margin: 0 0 6px;
  font-weight: 500;
  line-height: 1.3;
}
.ifil-atc-qty {
  margin: 0 0 6px;
  font-size: 14px;
  color: #4b5563;
}
.ifil-atc-price {
  margin: 0;
  font-size: 15px;
}
.ifil-atc-price-label {
  opacity: 0.7;
  margin-right: 6px;
}
#ifil-atc-price .woocommerce-Price-amount {
  font-weight: 600;
  color: var(--brand-primary-text);
}

.ifil-atc-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-direction: column;
}
@media (min-width: 640px) {
  .ifil-atc-actions {
    flex-direction: row;
  }
}

html.ifil-lock-scroll,
body.ifil-lock-scroll {
  height: 100%;
  overflow: hidden;
}

/* ================ ================ ARCHIVE PRODUCT ================ ================ */
.ifil-ordering-wrap {
  max-width: 280px;
}

.woocommerce .woocommerce-ordering select,
.ifil-select {
  appearance: none;
  background: var(--field-bg);
  color: var(--field-text);
  border: 1px solid var(--field-border);
  border-radius: var(--field-radius);
  padding: 8px 36px 8px 12px;
  line-height: 1.2;
  transition: border-color var(--transition), box-shadow var(--transition);
  background-image: linear-gradient(
      45deg,
      transparent 50%,
      var(--field-text) 50%
    ),
    linear-gradient(135deg, var(--field-text) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.woocommerce .woocommerce-ordering select:focus,
.ifil-select:focus {
  border-color: var(--brand-primary-text);
  box-shadow: 0 0 0 3px
    color-mix(in srgb, var(--brand-primary-text) 20%, transparent);
  outline: none;
}

.woocommerce .woocommerce-ordering {
  margin: 0;
}

.ifil-cols-btn {
  background: #fff;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition);
}
.ifil-cols-btn.bg-primary {
  background: var(--brand-primary-bg);
  color: var(--on-primary);
  border-color: var(--brand-primary-bg);
}
.ifil-cols-btn:not(.bg-primary):hover {
  border-color: var(--brand-primary-text);
  color: var(--brand-primary-text);
}

.woocommerce .woocommerce-ordering select,
.ifil-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: var(--field-bg);
  color: var(--field-text);
  border: 1px solid var(--field-border);
  border-radius: var(--field-radius);
  padding: 8px 44px 8px 12px;
  line-height: 1.2;
  transition: border-color var(--transition), box-shadow var(--transition);

  background-image: linear-gradient(
      45deg,
      transparent 50%,
      var(--field-text) 50%
    ),
    linear-gradient(135deg, var(--field-text) 50%, transparent 50%);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  background-position: right 18px center, right 12px center;
  min-width: 70px;
}

.ifil-select::-ms-expand,
.woocommerce .woocommerce-ordering select::-ms-expand {
  display: none;
}

.woocommerce .woocommerce-ordering select:focus,
.ifil-select:focus {
  border-color: var(--brand-primary-text);
  box-shadow: 0 0 0 3px
    color-mix(in srgb, var(--brand-primary-text) 20%, transparent);
  outline: none;
}

/* ========== ================ PAGINATION ========== ================ */
.woocommerce nav.woocommerce-pagination {
  margin-top: 24px;
}

.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
  margin: 0;
  padding: 0;
}

.woocommerce nav.woocommerce-pagination a.page-numbers,
.woocommerce nav.woocommerce-pagination span.page-numbers {
  overflow: hidden;
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius, 12px);
  background: #fff;
  color: #111;
  font-size: 14px;
  line-height: 34px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), box-shadow var(--transition);
}

.woocommerce nav.woocommerce-pagination a.page-numbers:hover,
.woocommerce nav.woocommerce-pagination a.page-numbers:focus {
  border-color: var(--brand-primary-bg);
  color: var(--brand-primary-bg);
  outline: none;
}

.woocommerce nav.woocommerce-pagination .page-numbers.current {
  background: var(--brand-primary-bg);
  color: var(--on-primary);
  border-color: var(--brand-primary-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: default;
}

.woocommerce nav.woocommerce-pagination .page-numbers.prev,
.woocommerce nav.woocommerce-pagination .page-numbers.next {
  padding: 0 12px;
}

.woocommerce nav.woocommerce-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: #9ca3af;
  cursor: default;
  box-shadow: none;
}

.woocommerce nav.woocommerce-pagination .page-numbers[aria-disabled="true"],
.woocommerce nav.woocommerce-pagination .page-numbers.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.woocommerce nav.woocommerce-pagination {
  text-align: center;
}

/* ================ ================ BREADCRUMB ================ ================ */
.woocommerce-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

.woocommerce-breadcrumb .bc-delim {
  opacity: 0.55;
  margin: 0 0.125rem;
}

.woocommerce-breadcrumb a {
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
  text-decoration: underline;
}

.woocommerce-breadcrumb .crumb:last-of-type {
  color: var(--brand-primary-text);
  font-weight: 600;
}

/* ================ ================ QUANTITY ================ ================ */
.wc-block-components-quantity-selector {
  display: inline-flex;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  width: auto;
  overflow: hidden;
  background-color: #ffffff;
}

.wc-block-components-quantity-selector__button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  padding: 4px;
  color: #333;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  transition: 0.3s ease-in-out;
}

.wc-block-components-quantity-selector__button:hover {
  background-color: #f1f1f1;
}

.wc-block-components-quantity-selector__button:focus {
  outline: none;
}

.wc-block-components-quantity-selector__input {
  border-left: 1px solid #d4d4d4 !important;
  border-right: 1px solid #d4d4d4 !important;
  border-top: none !important;
  border-bottom: none !important;
  border-radius: 0px !important;
  text-align: center;
  font-size: 1rem;
  width: 30px;
  box-sizing: border-box;
}

.wc-block-components-quantity-selector__input:focus {
  outline: none;
}

.wc-block-components-quantity-selector__input[type="number"]::-webkit-inner-spin-button,
.wc-block-components-quantity-selector__input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wc-block-components-quantity-selector__input {
  color: #000000 !important;
}

.wc-block-components-quantity-selector__input[type="number"] {
  -moz-appearance: textfield;
}

/* ================ ================ ACCORDION (PRODUCT) ================ ================ */
.acc {
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  background: var(--panel-bg);
  box-shadow: var(--panel-shadow);
  overflow: hidden;
}

.acc + .acc {
  margin-top: 12px;
}

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  background: var(--panel-bg);
  color: var(--dark-text);
  padding: 12px 16px;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
}

.acc-head:hover,
.acc-head:focus {
  background: var(--light-bg);
}

.acc-head:focus-visible {
  outline: 2px solid rgba(21, 36, 106, 0.25);
  outline-offset: -2px;
  border-radius: calc(var(--panel-radius) - 2px);
}

.acc-head .acc-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.acc-head .acc-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-primary-text);
  opacity: 0.25;
}

.acc-head .acc-caret {
  flex: 0 0 auto;
  transition: transform var(--transition), color var(--transition);
  color: var(--brand-primary-text);
  font-size: 14px;
}

.acc-head[aria-expanded="true"] .acc-caret {
  transform: rotate(180deg);
}

.acc-panel {
  background: var(--panel-bg);
  border-top: 1px solid var(--panel-border);
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  will-change: max-height, padding;
  transition: max-height var(--transition), padding var(--transition);
}

.acc-panel[hidden] {
  display: block;
}

.acc-panel-inner {
  padding: 12px 0 16px;
}

.specs-grid {
  width: 100%;
  border-collapse: collapse;
}
.specs-grid tr + tr {
  border-top: 1px solid var(--panel-border);
}
.specs-grid th,
.specs-grid td {
  text-align: left;
  padding: 10px 0;
  vertical-align: top;
}
.specs-grid th {
  width: 30%;
  color: #666;
  font-weight: 500;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--panel-border);
}

.faq-q {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 600;
  color: var(--dark-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-q:hover,
.faq-q:focus {
  color: var(--brand-primary-text);
}

.faq-q:focus-visible {
  outline: 2px solid rgba(21, 36, 106, 0.2);
  outline-offset: 2px;
  border-radius: 6px;
}

.faq-q .faq-caret {
  color: var(--brand-primary-text);
  transition: transform var(--transition), color var(--transition);
  font-size: 14px;
}

.faq-q[aria-expanded="true"] .faq-caret {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 0 14px;
  color: var(--dark-text);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  will-change: max-height, padding;
  transition: max-height var(--transition), padding var(--transition);
}

.faq-a[hidden] {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .acc-panel,
  .faq-a,
  .acc-head .acc-caret,
  .faq-q .faq-caret {
    transition: none !important;
  }
}

.specs-grid tbody tr:nth-child(even) {
  background-color: var(--light-bg);
}

.specs-grid tbody tr:nth-child(even) th,
.specs-grid tbody tr:nth-child(even) td {
  background-color: transparent;
}

.specs-grid tbody tr:first-child th,
.specs-grid tbody tr:first-child td {
  padding-top: 12px;
}
.specs-grid tbody tr:last-child th,
.specs-grid tbody tr:last-child td {
  padding-bottom: 12px;
}

/* ================ ================ WOOCOMMERCE NOTICES ================ ================ */
.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.notice,
.update-nag {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.woocommerce-message::before {
  display: none !important;
}

.woocommerce-info::before {
  display: none !important;
}

.woocommerce-message::after {
  display: none !important;
}

.woocommerce-info::after {
  display: none !important;
}

.woocommerce-message a {
  display: none !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.notice {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 25px;
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  color: var(--dark-text);
  box-shadow: var(--panel-shadow);
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  margin-bottom: 0 !important;
  margin-top: 25px !important;
}

.woocommerce-message,
.notice-success {
  background: #e8fff3;
  border-color: #baf2d7;
}

.woocommerce-info,
.notice-info,
.update-nag {
  background: #eaf3ff;
  border-color: #cfe3ff;
}

.woocommerce-error,
.notice-error {
  background: #fff0f0;
  border-color: #ffd4d4;
}

@media (max-width: 640px) {
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error,
  .notice {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .woocommerce-message .button,
  .woocommerce-info .button,
  .woocommerce-error .button,
  .notice .button {
    width: 100%;
    text-align: center;
  }
}

/* ================ E-COMMERCE INFORMATION ================ */
.ifil-info-nav {
  position: sticky;
  top: 12px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  box-shadow: var(--panel-shadow);
  overflow: hidden;
}

.ifil-info-nav__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-primary-text);
}

.ifil-info-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.ifil-info-nav__list a {
  display: block;
  padding: 10px 15px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--brand-primary-text);
  transition: background-color var(--transition), color var(--transition);
}
.ifil-info-nav__list a:hover {
  background: var(--light-bg);
}

.ifil-info-nav__list a.is-active {
  background: var(--brand-primary-bg);
  color: var(--on-primary);
}

.ifil-info-anchor {
  display: block;
  position: relative;
  top: -80px;
  visibility: hidden;
}

.ifil-info-content h2[id],
.ifil-info-content h3[id] {
  scroll-margin-top: 90px;
}

@media (max-width: 1024px) {
  .ifil-info-nav {
    position: static;
    margin-bottom: 8px;
  }
}

/* ================ DRAWER ================ */
.ifil-cart-fab {
  position: fixed;
  right: 25px;
  bottom: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 9999px;
  background: var(--brand-primary-bg);
  color: var(--on-primary);
  border: 1px solid #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  z-index: 9998;
  transition: transform var(--transition), box-shadow var(--transition),
    opacity var(--transition);
}
.ifil-cart-fab svg {
  display: block;
  fill: currentColor;
}
.ifil-cart-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  opacity: 0.7;
}

.ifil-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 9999px;
  background: var(--brand-secondary-bg);
  color: var(--on-secondary);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ifil-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 9998;
}
.ifil-cart-overlay.is-open {
  opacity: 1;
}

.ifil-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: clamp(420px, 25vw, 520px);
  background: #fff;
  color: var(--dark-text);
  border-left: 1px solid var(--panel-border);
  box-shadow: -10px 0 24px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.2s ease-in-out;
  display: grid;
  grid-template-rows: auto 1fr auto;
  z-index: 9999;
  outline: none;
}
.ifil-cart-drawer.is-open {
  transform: translateX(0);
}
@media (max-width: 800px) {
  .ifil-cart-drawer {
    width: min(92vw, 420px);
  }
}

.ifil-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--panel-border);
}
.ifil-cart-header h3 {
  margin: 0;
  font-size: 18px;
  color: var(--brand-primary-text);
  font-weight: 800;
}
.ifil-cart-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background var(--transition);
}
.ifil-cart-close:hover {
  background: var(--light-bg);
}
.ifil-cart-body {
  overflow: auto;
  padding: 12px 16px;
}
.ifil-cart-footer {
  border-top: 1px solid var(--panel-border);
  padding: 12px 16px;
  display: grid;
  gap: 8px;
}

.widget_shopping_cart_content .total,
.widget_shopping_cart_content .buttons {
  border: 0 !important;
}

#ifil-drawer-cart .divide-y > div,
#ifil-drawer-cart .cart_list li {
  background: #fff;
}
#ifil-drawer-cart .py-3 {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
#ifil-drawer-cart .text-sm.font-semibold {
  color: var(--brand-primary-text);
}

#ifil-drawer-cart,
.ifil-cart-body .widget_shopping_cart_content {
  display: block !important;
}

/* ================ FAVORITES ================ */
.ifil-fav-btn[aria-pressed="true"] {
  border-color: #ef4444;
  color: #ef4444;
}

/* ================ MY ACCOUNT ================ */
.woocommerce-MyAccount-navigation .is-active > a {
  background: var(--muted-light, #f6f7f9);
  border-color: var(--scheme-border, #e5e7eb);
  font-weight: 600;
}

.woocommerce-account section .woocommerce-MyAccount-navigation {
  position: sticky;
  top: 12px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 8px;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand-primary-text);
  transition: background-color var(--transition), border-color var(--transition),
    box-shadow var(--transition);
  text-decoration: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--light-bg);
  border-color: var(--panel-border);
  box-shadow: var(--panel-shadow);
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active > a {
  background: var(--light-bg);
  border-color: var(--panel-border);
  font-weight: 600;
}
@media (min-width: 1280px) {
  .woocommerce-account section .max-w-\[1400px\] {
    max-width: 1440px;
  }
  .woocommerce-account section .lg\:grid-cols-\[280px_1fr\] {
    grid-template-columns: 320px 1fr;
  }
}
.woocommerce-account section .woocommerce-MyAccount-content {
  min-width: 0;
}

.woocommerce-account .woocommerce-MyAccount-content form .form-row,
.woocommerce-account .woocommerce-EditAccountForm .form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  clear: none !important;
}
.woocommerce-account .woocommerce-MyAccount-content form,
.woocommerce-account .woocommerce-EditAccountForm {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 18px;
}
@media (min-width: 768px) {
  .woocommerce-account .woocommerce-MyAccount-content form,
  .woocommerce-account .woocommerce-EditAccountForm {
    grid-template-columns: 1fr 1fr;
  }
  .woocommerce-account .woocommerce-MyAccount-content .form-row-wide {
    grid-column: 1 / -1;
  }
}
.woocommerce-account .woocommerce-MyAccount-content .clear {
  display: none;
}

.woocommerce-account .woocommerce-MyAccount-content label {
  font-size: 14px;
  font-weight: 600;
  color: var(--field-text);
  margin: 0 0 6px;
  display: inline-block;
}
.woocommerce-account .woocommerce-MyAccount-content input.input-text,
.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content textarea {
  width: 100%;
  border: 1px solid var(--field-border);
  background: var(--field-bg);
  color: var(--field-text);
  border-radius: var(--field-radius);
  padding: var(--field-padding-y) var(--field-padding-x);
  line-height: 1.4;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition),
    background var(--transition);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02) inset;
}
.woocommerce-account .woocommerce-MyAccount-content input:focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus,
.woocommerce-account .woocommerce-MyAccount-content textarea:focus {
  border-color: var(--brand-primary-text);
  box-shadow: 0 0 0 3px
    color-mix(in srgb, var(--brand-primary-text) 18%, transparent);
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-invalid input,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-invalid select,
.woocommerce-account
  .woocommerce-MyAccount-content
  .woocommerce-invalid
  textarea {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.woocommerce-account .woocommerce-MyAccount-content fieldset {
  grid-column: 1 / -1;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
}
.woocommerce-account .woocommerce-MyAccount-content fieldset legend {
  font-weight: 700;
  padding: 0 6px;
  margin-left: 6px;
}
.woocommerce-account .woocommerce-MyAccount-content .password-input {
  position: relative;
  display: block;
}
.woocommerce-account .woocommerce-MyAccount-content .password-input input {
  padding-right: 36px;
}
.woocommerce-account .woocommerce-MyAccount-content .show-password-input {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  opacity: 0.7;
  cursor: pointer;
}
.woocommerce-account .woocommerce-MyAccount-content .show-password-input:hover {
  opacity: 1;
}

.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  padding: var(--btn-padding-y) var(--btn-padding-x);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text, var(--on-primary));
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), transform 0.02s ease;
}
.woocommerce-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-account .woocommerce-MyAccount-content button:hover,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button:hover {
  background: var(--btn-primary-bg-hov);
}
.woocommerce-account .woocommerce-MyAccount-content .button:active,
.woocommerce-account .woocommerce-MyAccount-content button:active,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button:active {
  transform: translateY(1px);
}
.woocommerce-account .woocommerce-MyAccount-content .button.alt {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border-color: transparent;
}
.woocommerce-account .woocommerce-MyAccount-content .button.alt:hover {
  background: var(--btn-secondary-bg-hov);
}
.woocommerce-account .woocommerce-MyAccount-content a {
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info {
  border: 1px solid var(--panel-border);
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 12px;
}

.woocommerce-account table.shop_table {
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td {
  padding: 12px 16px;
  border-top: 1px solid var(--panel-border);
}
.woocommerce-account table.shop_table thead th {
  background: var(--light-bg);
  font-weight: 700;
  border-top: 0;
}

.woocommerce-account .woocommerce-MyAccount-content input[type="checkbox"],
.woocommerce-account .woocommerce-MyAccount-content input[type="radio"] {
  accent-color: var(--brand-primary-bg);
}

@media (max-width: 767px) {
  .woocommerce-account section.p-6 {
    padding: 16px !important;
  }
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 100% !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  width: 100% !important;
}

.woocommerce-account .woocommerce-order-details,
.woocommerce-account .woocommerce-customer-details {
  border: 1px solid var(--panel-border) !important;
  border-radius: var(--panel-radius) !important;
  background: var(--panel-bg) !important;
  box-shadow: var(--panel-shadow) !important;
  padding: 16px !important;
  margin: 14px 0 0 !important;
}

.woocommerce-account .woocommerce-order-details__title,
.woocommerce-account .woocommerce-column__title {
  color: var(--brand-primary-text) !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  margin: 4px 0 10px !important;
}

.woocommerce-account .woocommerce-order-details table.shop_table {
  width: 100% !important;
  border: 1px solid var(--panel-border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  background: #fff !important;
  margin: 0 !important;
}
.woocommerce-account .woocommerce-order-details table.shop_table thead th {
  background: var(--light-bg) !important;
  font-weight: 700 !important;
  border-top: 0 !important;
}
.woocommerce-account .woocommerce-order-details table.shop_table th,
.woocommerce-account .woocommerce-order-details table.shop_table td {
  padding: 12px 16px !important;
  border-top: 1px solid var(--panel-border) !important;
}

.woocommerce-account .woocommerce-order-details tfoot th {
  text-align: left !important;
  color: #6b7280 !important;
}
.woocommerce-account .woocommerce-order-details tfoot td {
  text-align: right !important;
  font-weight: 700 !important;
  color: #111 !important;
}

.woocommerce-account .woocommerce-customer-details .addresses,
.woocommerce-account .woocommerce-columns--addresses {
  display: flex !important;
  flex-wrap: row !important;
  gap: 12px !important;
}
@media (min-width: 768px) {
  .woocommerce-account .woocommerce-customer-details .addresses,
  .woocommerce-account .woocommerce-columns--addresses {
    display: flex !important;
    flex-wrap: row !important;
  }
}

.woocommerce-account .woocommerce-customer-details address {
  margin: 0 !important;
  border: 1px dashed var(--panel-border) !important;
  border-radius: 10px !important;
  padding: 10px !important;
  color: #111 !important;
  line-height: 1.5 !important;
}
.woocommerce-account .woocommerce-customer-details--phone,
.woocommerce-account .woocommerce-customer-details--email {
  margin: 6px 0 0 !important;
  color: #6b7280 !important;
  font-size: 14px !important;
}

.woocommerce-account .woocommerce-MyAccount-content > p > .order-number,
.woocommerce-account .woocommerce-MyAccount-content > p > .order-date,
.woocommerce-account .woocommerce-MyAccount-content > p > .order-status {
  background: var(--light-bg) !important;
  border: 1px solid var(--panel-border) !important;
  border-radius: 9999px !important;
  padding: 2px 8px !important;
  font-weight: 600 !important;
}
.woocommerce-account .woocommerce-MyAccount-content > p {
  margin-bottom: 12px !important;
}

.woocommerce-account .woocommerce-order-details a {
  color: var(--link-color) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

.woocommerce-account .woocommerce-MyAccount-content section + section {
  margin-top: 12px !important;
}

/* ================ LOGIN / REGISTER ================ */
@media screen and (min-width: 768px) {
  .woocommerce #customer_login.u-columns.col2-set {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    max-width: 1080px !important;
    margin: 24px auto !important;
  }
}

@media screen and (max-width: 768px) {
  .woocommerce #customer_login.u-columns.col2-set {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    max-width: 1080px !important;
    margin: 24px auto !important;
  }
}

.woocommerce .woocommerce-form-register > p:not(.form-row),
.woocommerce .woocommerce-form-register .woocommerce-privacy-policy-text p {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: var(--muted-text, #6b7280) !important;
}

.woocommerce-privacy-policy-text p {
  margin-bottom: 15px !important;
  margin-top: 5px !important;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  border: 0px !important;
}

.woocommerce #customer_login .u-column1.col-1,
.woocommerce #customer_login .u-column2.col-2 {
  background: var(--panel-bg) !important;
  border: 1px solid var(--panel-border) !important;
  border-radius: var(--panel-radius) !important;
  box-shadow: var(--panel-shadow) !important;
  padding: 18px !important;
}

.woocommerce #customer_login .woocommerce-form {
  margin: 0 !important;
}

.woocommerce #customer_login .woocommerce-form .form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  clear: none !important;
  display: block !important;
}

.woocommerce #customer_login label {
  display: inline-block !important;
  margin: 0 0 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--field-text) !important;
}

.woocommerce #customer_login input.input-text,
.woocommerce #customer_login input[type="text"],
.woocommerce #customer_login input[type="email"],
.woocommerce #customer_login input[type="password"] {
  width: 100% !important;
  border: 1px solid var(--field-border) !important;
  background: var(--field-bg) !important;
  color: var(--field-text) !important;
  border-radius: var(--field-radius) !important;
  padding: var(--field-padding-y) var(--field-padding-x) !important;
  line-height: 1.4 !important;
  outline: none !important;
  transition: border-color var(--transition), box-shadow var(--transition),
    background var(--transition) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02) inset !important;
}
.woocommerce #customer_login input:focus {
  border-color: var(--brand-primary-text) !important;
  box-shadow: 0 0 0 3px
    color-mix(in srgb, var(--brand-primary-text) 18%, transparent) !important;
}

.woocommerce #customer_login .password-input {
  position: relative !important;
  display: block !important;
}
.woocommerce #customer_login .password-input input {
  padding-right: 40px !important;
}
.woocommerce #customer_login .show-password-input {
  position: absolute !important;
  right: 8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 32px !important;
  height: 32px !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
  opacity: 0.7 !important;
  transition: opacity var(--transition) !important;
}
.woocommerce #customer_login .show-password-input:hover {
  opacity: 1 !important;
}

.woocommerce #customer_login input[type="checkbox"] {
  accent-color: var(--brand-primary-bg) !important;
}
.woocommerce #customer_login .woocommerce-form__label-for-checkbox {
  color: #3a3a3a !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 5px !important;
  cursor: pointer !important;
}
.woocommerce #customer_login .woocommerce-form__label-for-checkbox:hover {
  opacity: 0.5 !important;
}

.woocommerce #customer_login .button,
.woocommerce #customer_login button,
.woocommerce #customer_login .woocommerce-button {
  appearance: none !important;
  border: 1px solid transparent !important;
  border-radius: var(--btn-radius) !important;
  padding: var(--btn-padding-y) var(--btn-padding-x) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  background: var(--btn-primary-bg) !important;
  color: var(--btn-primary-text, var(--on-primary)) !important;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), transform 0.02s ease !important;
}
.woocommerce #customer_login .button:hover,
.woocommerce #customer_login button:hover {
  background: var(--btn-primary-bg-hov) !important;
}
.woocommerce #customer_login .button:active,
.woocommerce #customer_login button:active {
  transform: translateY(1px) !important;
}

.woocommerce #customer_login .woocommerce-LostPassword a,
.woocommerce #customer_login .woocommerce-privacy-policy-link {
  color: var(--link-color) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  transition: opacity var(--transition) !important;
}
.woocommerce #customer_login .woocommerce-LostPassword a:hover,
.woocommerce #customer_login .woocommerce-privacy-policy-link:hover {
  opacity: 0.7 !important;
}

.woocommerce .woocommerce-notices-wrapper {
  margin: 0 auto 12px !important;
}

@media (max-width: 900px) {
  .woocommerce #customer_login.u-columns.col2-set {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    max-width: 560px !important;
  }
}
@media (max-width: 640px) {
  .woocommerce #customer_login .u-column1.col-1,
  .woocommerce #customer_login .u-column2.col-2 {
    padding: 16px !important;
  }
  .woocommerce #customer_login .button {
    width: 100% !important;
  }
}

.woocommerce #customer_login > .u-column1.col-1 > h2,
.woocommerce #customer_login > .u-column2.col-2 > h2 {
  display: none !important;
}

/* ================ RETURNS / CLAIM ================ */
.rc-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 24px;
}
.rc-stepper-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-primary-text);
  font-weight: 600;
}
.rc-stepper-item i {
  opacity: 0.85;
}
.rc-stepper-item.is-active {
  box-shadow: 0 0 0 3px
    color-mix(in srgb, var(--brand-primary-text) 16%, transparent);
}
.rc-stepper-item.is-done {
  opacity: 0.7;
}
.rc-stepper-sep {
  flex: 1;
  height: 1px;
  background: var(--panel-border);
}
.rc-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 10px 0;
}
@media (min-width: 640px) {
  .rc-options-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.rc-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: #fff;
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
}
.rc-option:hover {
  background: var(--light-bg);
}
.rc-option.is-selected {
  border-color: var(--brand-primary-bg);
  box-shadow: 0 0 0 3px
    color-mix(in srgb, var(--brand-primary-bg) 16%, transparent);
}

.rc-notices > .woocommerce-message,
.rc-notices > .woocommerce-error,
.rc-notices > .woocommerce-info {
  margin-bottom: 18px;
}

.rc-card {
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  box-shadow: var(--panel-shadow);
  padding: 16px;
}
.rc-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) {
  .rc-summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.rc-card-kv {
  display: grid;
  grid-auto-rows: min-content;
  gap: 8px;
}
.rc-kv {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
.rc-kv span {
  color: #6b7280;
}
.rc-right .rc-kv {
  justify-content: space-between;
}
.rc-right .rc-kv strong {
  margin-left: auto;
  text-align: right;
}

.rc-card-list {
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
.rc-list-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--brand-primary-text);
  margin-bottom: 8px;
}
.rc-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.rc-li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: #fafafa;
}
.rc-li-name {
  font-weight: 500;
}
.rc-li-qty {
  text-align: right;
  opacity: 0.8;
}

.rc-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ================ THANK YOU PAGE ================ */
.ifil-thankyou-head {
  text-align: center;
  margin-bottom: 16px;
}
.ifil-thankyou-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  margin: 4px auto 10px;
  color: #fff;
}
.ifil-thankyou-icon.success {
  background: #16a34a;
}
.ifil-thankyou-icon.error {
  background: #ef4444;
}
.ifil-thankyou-icon i {
  font-size: 28px;
}

.ifil-ty-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-primary-text);
}
.ifil-ty-sub {
  margin: 0;
  color: #4b5563;
}

.ifil-ty-grid-2 {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .ifil-ty-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.ifil-ty-panel {
  background: #fff;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 14px;
}

.ifil-ty-h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-primary-text);
}
.ifil-ty-h3 {
  margin: 12px 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.ifil-ty-stats {
  display: grid;
  gap: 8px;
  margin: 0;
}
.ifil-ty-stats > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed #eee;
  padding: 6px 0;
}
.ifil-ty-stats dt {
  color: #6b7280;
}
.ifil-ty-stats dd {
  margin: 0;
  font-weight: 600;
  color: #111;
}
.ifil-ty-stats .price {
  color: var(--brand-primary-text);
}

@media (min-width: 640px) {
  .ifil-ty-stats--2col {
    grid-template-columns: 1fr 1fr;
  }
}

.ifil-ty-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.ifil-ty-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ifil-ty-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #f3f4f6;
  flex: 0 0 auto;
}
.ifil-ty-item-info {
  flex: 1 1 auto;
  min-width: 0;
}
.ifil-ty-name {
  font-weight: 600;
  color: #111;
  line-height: 1.3;
}
.ifil-ty-meta {
  font-size: 13px;
  color: #6b7280;
}
.ifil-ty-line {
  font-weight: 700;
  color: var(--brand-primary-text);
  white-space: nowrap;
}

.ifil-ty-totals {
  margin-top: 10px;
  border-top: 1px solid var(--panel-border);
  padding-top: 10px;
}
.ifil-ty-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}
.ifil-ty-total-row .label {
  color: #6b7280;
}
.ifil-ty-total-row .value {
  font-weight: 700;
  color: #111;
}

.ifil-ty-addresses {
  display: grid;
  gap: 10px;
}
@media (min-width: 640px) {
  .ifil-ty-addresses {
    grid-template-columns: 1fr 1fr;
  }
}
.ifil-ty-address {
  border: 1px dashed #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  color: #111;
}

.ifil-ty-instructions {
  margin-top: 12px;
}
.ifil-ty-instructions .woocommerce-bacs-bank-details,
.ifil-ty-instructions .woocommerce-bacs-bank-details * {
  all: revert;
}
.ifil-ty-instructions .woocommerce-bacs-bank-details {
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}
.ifil-ty-instructions .wc-bacs-bank-details-heading {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-primary-text);
}
.ifil-ty-instructions .wc-bacs-bank-details-account-name {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
}
.ifil-ty-instructions .bacs_details {
  margin: 0;
  padding-left: 16px;
}

.ifil-ty-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}
@media (max-width: 640px) {
  .ifil-ty-actions {
    flex-direction: column;
  }
}
