/* ==========================================================================
   Fresh theme — Garden Of Greens
   Farm-market storefront built on Bootstrap 5.3
   ========================================================================== */

:root {
  --fr-primary: #1f6f3f;
  --fr-primary-600: #195c34;
  --fr-primary-700: #134a29;
  --fr-primary-50: #eef6ef;
  --fr-primary-100: #d6ead9;
  --fr-deal: #d9822b;
  --fr-deal-50: #fdf1e3;
  --fr-cream: #faf6ee;
  --fr-cream-2: #f3ecdd;
  --fr-ink: #1f2a24;
  --fr-ink-2: #3c4a42;
  --fr-muted: #6c7a71;
  --fr-line: #e6e9e4;
  --fr-line-2: #eff1ec;
  --fr-surface: #ffffff;
  --fr-soft: #f6f7f3;
  --fr-media: #f6f4ee;
  --fr-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --fr-radius-sm: 8px;
  --fr-radius: 12px;
  --fr-radius-lg: 18px;
  --fr-radius-xl: 24px;
  --fr-shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --fr-shadow: 0 6px 20px rgba(16, 24, 40, .08);
  --fr-shadow-lg: 0 16px 40px rgba(16, 24, 40, .14);
  --fr-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fr-header-h: 84px;

  --bs-primary: var(--fr-primary);
  --bs-primary-rgb: 31, 111, 63;
  --bs-link-color: var(--fr-primary);
  --bs-link-color-rgb: 31, 111, 63;
  --bs-link-hover-color: var(--fr-primary-700);
  --bs-link-hover-color-rgb: 19, 74, 41;
  --bs-body-font-family: var(--fr-font);
  --bs-body-color: var(--fr-ink);
  --bs-border-color: var(--fr-line);
  --bs-border-radius: var(--fr-radius-sm);
}

/* ---------- Base ---------- */
html { scroll-padding-top: calc(var(--fr-header-h) + 16px); }

body {
  font-family: var(--fr-font);
  color: var(--fr-ink);
  background: var(--fr-surface);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fr-font);
  color: var(--fr-ink);
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem; }

h1, .fr-page__title, .fr-listing__title, .fr-product__title, .fr-auth__title, .fr-panel__title, .fr-drawer__header .offcanvas-title {
  font-family: var(--fr-serif);
  font-weight: 700;
  color: var(--fr-primary-700);
  letter-spacing: -.01em;
}
h2 { font-size: 1.3rem; }
h3 { font-size: 1.1rem; }

a { color: var(--fr-primary); text-decoration: none; }
a:hover { color: var(--fr-primary-700); }

img { max-width: 100%; }

legend {
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0 0 .5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--fr-line);
}

label { font-weight: 500; }

button:focus { outline: none; }

:focus-visible { outline: 2px solid var(--fr-primary); outline-offset: 2px; }

#container { width: 100%; min-height: 100vh; display: flex; flex-direction: column; }

.fr-main { flex: 1 0 auto; padding-bottom: 2.5rem; }

/* Core pages that still use the stock markup */
.fr-main > .container,
.fr-main > div > .container { max-width: 1320px; }

.container-xxl { max-width: 1320px; }

#content { min-height: 200px; }

#column-left .list-group,
#column-right .list-group { margin-bottom: 1.5rem; }

div.required .col-form-label:before,
div.required .form-label:before {
  content: "* ";
  color: #dc3545;
  font-weight: 700;
}

/* ---------- Buttons & forms ---------- */
.btn {
  font-weight: 600;
  border-radius: 10px;
  padding: .55rem 1.1rem;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s;
}

.btn:active { transform: translateY(1px); }

.btn-lg { padding: .75rem 1.4rem; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: .35rem .7rem; border-radius: 8px; }

.btn-primary {
  --bs-btn-bg: var(--fr-primary);
  --bs-btn-border-color: var(--fr-primary);
  --bs-btn-hover-bg: var(--fr-primary-600);
  --bs-btn-hover-border-color: var(--fr-primary-600);
  --bs-btn-active-bg: var(--fr-primary-700);
  --bs-btn-active-border-color: var(--fr-primary-700);
  --bs-btn-disabled-bg: var(--fr-primary);
  --bs-btn-disabled-border-color: var(--fr-primary);
  --bs-btn-focus-shadow-rgb: 31, 111, 63;
}

.btn-outline-primary {
  --bs-btn-color: var(--fr-primary);
  --bs-btn-border-color: var(--fr-primary);
  --bs-btn-hover-bg: var(--fr-primary);
  --bs-btn-hover-border-color: var(--fr-primary);
  --bs-btn-active-bg: var(--fr-primary-600);
  --bs-btn-active-border-color: var(--fr-primary-600);
}

.btn-light {
  --bs-btn-bg: var(--fr-line-2);
  --bs-btn-border-color: var(--fr-line-2);
  --bs-btn-hover-bg: var(--fr-line);
  --bs-btn-hover-border-color: var(--fr-line);
  --bs-btn-color: var(--fr-ink);
}

.btn-danger { --bs-btn-bg: #e5484d; --bs-btn-border-color: #e5484d; }

.form-control,
.form-select {
  border-radius: 10px;
  border-color: #dde2e7;
  padding: .6rem .85rem;
  font-size: .95rem;
  color: var(--fr-ink);
}

.form-control-lg { padding: .75rem 1rem; font-size: 1rem; border-radius: 12px; }

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--fr-primary);
  box-shadow: 0 0 0 .2rem rgba(31, 111, 63, .15);
}

.form-check-input:checked {
  background-color: var(--fr-primary);
  border-color: var(--fr-primary);
}

.form-switch-lg { font-size: 20px; min-height: 30px; line-height: 30px; }
.form-switch-lg .form-check-label { font-size: .9rem; vertical-align: middle; }

.input-group-text { background: var(--fr-soft); border-color: #dde2e7; }

.col-form-label,
.form-label { font-weight: 600; font-size: .9rem; color: var(--fr-ink-2); }

/* ---------- Tables, alerts, lists ---------- */
.table { --bs-table-border-color: var(--fr-line); vertical-align: middle; }
.table > thead { background: var(--fr-soft); }
.table > thead td,
.table > thead th { font-weight: 700; font-size: .85rem; color: var(--fr-ink-2); }
.table-bordered { border-radius: var(--fr-radius); overflow: hidden; }
.table-responsive { border-radius: var(--fr-radius); }

.alert { border-radius: var(--fr-radius); border: 0; }
.alert-success { background: var(--fr-primary-50); color: var(--fr-primary-700); }
.alert-info { background: #eef4ff; color: #1d4ed8; }
.alert-warning { background: #fff7e6; color: #92400e; }
.alert-danger { background: #fdecec; color: #b42318; }

.list-group {
  border-radius: var(--fr-radius);
  border: 1px solid var(--fr-line);
  overflow: hidden;
  background: var(--fr-surface);
}

.list-group-item {
  border: 0;
  border-bottom: 1px solid var(--fr-line-2);
  padding: .7rem 1rem;
  font-weight: 500;
  color: var(--fr-ink-2);
}

.list-group-item:last-child { border-bottom: 0; }
.list-group-item:hover { background: var(--fr-soft); color: var(--fr-ink); }

.list-group-item.active {
  background: var(--fr-primary-50);
  color: var(--fr-primary-700);
  font-weight: 700;
  border-color: var(--fr-line-2);
  box-shadow: inset 3px 0 0 var(--fr-primary);
}

.card { border-radius: var(--fr-radius); border-color: var(--fr-line); }
.card-header { background: var(--fr-soft); font-weight: 700; }

.accordion { --bs-accordion-border-color: var(--fr-line); --bs-accordion-border-radius: var(--fr-radius); --bs-accordion-inner-border-radius: var(--fr-radius); --bs-accordion-active-bg: var(--fr-primary-50); --bs-accordion-active-color: var(--fr-primary-700); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(31, 111, 63, .15); }
.accordion-button { font-weight: 600; }

.nav-tabs { margin-bottom: 1rem; }
.nav-tabs .nav-link { font-weight: 600; color: var(--fr-muted); }
.nav-tabs .nav-link.active { color: var(--fr-primary); }

.pagination { --bs-pagination-border-radius: 10px; --bs-pagination-color: var(--fr-ink-2); --bs-pagination-active-bg: var(--fr-primary); --bs-pagination-active-border-color: var(--fr-primary); --bs-pagination-hover-color: var(--fr-primary); --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(31, 111, 63, .15); gap: 6px; flex-wrap: wrap; }
.pagination .page-link { border-radius: 10px !important; min-width: 40px; text-align: center; font-weight: 600; }

.dropdown-menu {
  border: 1px solid var(--fr-line);
  border-radius: var(--fr-radius);
  box-shadow: var(--fr-shadow);
  padding: .4rem;
}

.dropdown-item { border-radius: 8px; padding: .5rem .75rem; font-weight: 500; }
.dropdown-item:hover,
.dropdown-item:focus { background: var(--fr-soft); }
.dropdown-item.active,
.dropdown-item:active { background: var(--fr-primary); }

.img-thumbnail { border-radius: var(--fr-radius-sm); border-color: var(--fr-line); }

.rating .fa-star { color: #f5a524; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  margin: 1rem 0 1.25rem;
  padding: 0;
  font-size: .85rem;
  background: transparent;
  border: 0;
  flex-wrap: wrap;
}

.breadcrumb-item a { color: var(--fr-muted); }
.breadcrumb-item a:hover { color: var(--fr-primary); }
.breadcrumb-item:last-child a { color: var(--fr-ink); font-weight: 600; }
.breadcrumb-item + .breadcrumb-item::before { content: "\203A"; color: #aab2bd; }

/* ---------- Toast alerts (#alert) ---------- */
.fr-toasts {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2000;
  width: min(520px, calc(100% - 24px));
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  pointer-events: none;
}

.fr-toasts .alert {
  pointer-events: auto;
  margin: 0;
  background: #1f2a37;
  color: #fff;
  box-shadow: var(--fr-shadow-lg);
  border-radius: 14px;
  padding: .8rem 2.75rem .8rem 1rem;
  font-weight: 500;
  font-size: .9rem;
  animation: fr-toast-in .25s ease-out;
}

.fr-toasts .alert a { color: #9ae6b4; font-weight: 700; }
.fr-toasts .alert .btn-close { filter: invert(1); opacity: .7; padding: 1.05rem .9rem; }
.fr-toasts .alert i { margin-right: .35rem; }
.fr-toasts .alert-success i { color: #4ade80; }
.fr-toasts .alert-danger i { color: #f87171; }

@keyframes fr-toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.fr-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--fr-surface);
  border-bottom: 1px solid var(--fr-line);
  transition: box-shadow .2s;
}

.fr-header.is-scrolled { box-shadow: 0 6px 20px rgba(31, 42, 36, .08); }

.fr-header__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
}

.fr-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--fr-ink);
}

.fr-logo:hover { color: var(--fr-ink); }

.fr-logo__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--fr-primary);
  color: #fff;
  font-size: 1.15rem;
}

.fr-logo__text {
  font-family: var(--fr-serif);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -.01em;
  line-height: 1.05;
  color: var(--fr-primary-700);
  white-space: nowrap;
}

.fr-logo__img { max-height: 52px; width: auto; }

.fr-header__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.fr-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--fr-ink);
  font-size: .88rem;
  font-weight: 600;
}

.fr-action i { font-size: 1.15rem; }
.fr-action:hover { background: var(--fr-soft); color: var(--fr-ink); }

.fr-dropdown { min-width: 220px; }
.fr-dropdown .dropdown-item i { width: 20px; color: var(--fr-muted); }

.fr-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px 0 16px;
  border: 1.5px solid var(--fr-primary);
  border-radius: 999px;
  background: #fff;
  color: var(--fr-primary);
  font-weight: 700;
  font-size: .92rem;
  transition: background-color .15s, color .15s;
}

.fr-cart-btn:hover { background: var(--fr-primary); color: #fff; }
.fr-cart-btn i { font-size: 1.1rem; }

.fr-cart-btn__meta { display: none; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.fr-cart-btn__count { font-size: .72rem; font-weight: 600; opacity: .85; }
.fr-cart-btn__total { font-size: .95rem; font-weight: 800; }

.fr-cart-btn.has-items { background: var(--fr-primary); color: #fff; }
.fr-cart-btn.has-items:hover { background: var(--fr-primary-600); }
.fr-cart-btn.has-items .fr-cart-btn__empty { display: none; }
.fr-cart-btn.has-items .fr-cart-btn__meta { display: flex; }

.fr-cart-btn.is-bump { animation: fr-bump .35s ease; }

@keyframes fr-bump {
  30% { transform: scale(1.06); }
  60% { transform: scale(.98); }
}

/* Main menu */
.fr-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }

.fr-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  scrollbar-width: none;
}

.fr-nav__list::-webkit-scrollbar { display: none; }

.fr-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  color: var(--fr-ink-2);
  font-weight: 600;
  font-size: .92rem;
  white-space: nowrap;
}

.fr-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--fr-primary);
  transform: scaleX(0);
  transition: transform .2s;
}

.fr-nav__link.dropdown-toggle::after { display: none; }
.fr-nav__link:hover,
.fr-nav__link.is-active { color: var(--fr-primary); }
.fr-nav__link:hover::after,
.fr-nav__link.is-active::after { transform: scaleX(1); }

/* Menu button and slide-in menu (tablets and phones) */
.fr-menu-btn {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--fr-line);
  border-radius: 12px;
  background: #fff;
  color: var(--fr-ink);
  font-size: 1.1rem;
}

.fr-menu-btn:hover { border-color: var(--fr-primary); color: var(--fr-primary); }

.fr-menu-sheet { --bs-offcanvas-width: 300px; }
.fr-menu-sheet .offcanvas-header { border-bottom: 1px solid var(--fr-line); }
.fr-menu-sheet .offcanvas-title { font-family: var(--fr-serif); font-weight: 700; color: var(--fr-primary-700); }
.fr-menu-sheet__list { margin: 0; }
.fr-menu-sheet__list > li > a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--fr-line-2); color: var(--fr-ink); font-weight: 600; font-size: 1rem; }
.fr-menu-sheet__list a:hover,
.fr-menu-sheet__list a.is-active { color: var(--fr-primary); }
.fr-menu-sheet__list ul { padding: 4px 0 8px 14px; }
.fr-menu-sheet__list ul a { display: block; padding: 6px 4px; color: var(--fr-ink-2); font-size: .92rem; }


/* ==========================================================================
   Cart drawer
   ========================================================================== */
.fr-drawer { --bs-offcanvas-width: 420px; background: var(--fr-soft); border-left: 0 !important; }
.fr-drawer__header { background: #fff; border-bottom: 1px solid var(--fr-line); padding: 1rem 1.25rem; }
.fr-drawer__header .offcanvas-title { font-weight: 800; font-size: 1.15rem; }
.fr-drawer__body { padding: 0; display: flex; flex-direction: column; }

.fr-cart { display: flex; flex-direction: column; min-height: 100%; }

.fr-cart__items {
  margin: 12px;
  padding: 4px 14px;
  background: #fff;
  border-radius: var(--fr-radius);
  border: 1px solid var(--fr-line);
}

.fr-cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--fr-line-2);
}

.fr-cart-item:last-child { border-bottom: 0; }

.fr-cart-item__img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  border: 1px solid var(--fr-line);
  background: var(--fr-media);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.fr-cart-item__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.fr-cart-item__name {
  color: var(--fr-ink);
  font-weight: 600;
  font-size: .88rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fr-cart-item__meta { margin: 2px 0 0; font-size: .75rem; color: var(--fr-muted); }
.fr-cart-item__price { font-size: .8rem; color: var(--fr-muted); margin-top: 2px; }
.fr-cart-item__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.fr-cart-item__total { font-weight: 700; font-size: .88rem; }

.fr-cart__bill {
  margin: 0 12px 12px;
  padding: 14px;
  background: #fff;
  border-radius: var(--fr-radius);
  border: 1px solid var(--fr-line);
}

.fr-cart__bill h6 { font-weight: 800; margin-bottom: .6rem; }

.fr-bill { width: 100%; font-size: .9rem; }
.fr-bill td { padding: 5px 0; color: var(--fr-ink-2); }
.fr-bill td:last-child { text-align: right; font-weight: 600; color: var(--fr-ink); }
.fr-bill__grand td { border-top: 1px dashed var(--fr-line); padding-top: 10px; font-weight: 800 !important; color: var(--fr-ink) !important; font-size: 1rem; }

.fr-cart__footer {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  padding: 12px;
  background: #fff;
  border-top: 1px solid var(--fr-line);
  box-shadow: 0 -8px 20px rgba(16, 24, 40, .05);
}

.fr-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--fr-primary);
  color: #fff;
  font-weight: 700;
}

.fr-checkout-btn:hover { background: var(--fr-primary-600); color: #fff; }
.fr-checkout-btn__total { display: flex; flex-direction: column; font-size: 1.05rem; font-weight: 800; line-height: 1.15; }
.fr-checkout-btn__total small { font-size: .72rem; font-weight: 600; opacity: .85; text-transform: uppercase; letter-spacing: .03em; }
.fr-checkout-btn__cta { display: inline-flex; align-items: center; gap: 8px; }

.fr-cart__link { display: block; text-align: center; margin-top: 10px; font-weight: 600; font-size: .88rem; }

/* Empty states */
.fr-empty { text-align: center; padding: 48px 24px; margin: auto; color: var(--fr-muted); }
.fr-empty--page { padding: 64px 24px; }
.fr-empty h6,
.fr-empty .fr-page__title { color: var(--fr-ink); font-weight: 800; margin-bottom: .35rem; }
.fr-empty p { margin-bottom: 1.25rem; }

.fr-empty__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--fr-primary-50);
  color: var(--fr-primary);
  font-size: 2rem;
}

/* ==========================================================================
   Add to cart button / quantity stepper
   ========================================================================== */
.fr-add { position: relative; display: inline-flex; }

.fr-add__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--fr-primary);
  border-radius: 10px;
  background: var(--fr-primary-50);
  color: var(--fr-primary-700);
  font-weight: 700;
  font-size: .88rem;
  transition: background-color .15s, color .15s;
}

.fr-add__btn:hover { background: var(--fr-primary); color: #fff; }

.fr-add__stepper {
  display: none;
  align-items: center;
  height: 40px;
  border-radius: 10px;
  background: var(--fr-primary);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  overflow: hidden;
}

.fr-add__stepper button {
  width: 40px;
  height: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: .75rem;
}

.fr-add__stepper button:hover { background: rgba(255, 255, 255, .14); }
.fr-add__stepper span { flex: 1; text-align: center; min-width: 28px; }

.fr-add.is-in-cart .fr-add__btn { display: none; }
.fr-add.is-in-cart .fr-add__stepper { display: inline-flex; }

.fr-add.is-loading { pointer-events: none; }
.fr-add.is-loading .fr-add__btn,
.fr-add.is-loading .fr-add__stepper { opacity: .65; }

/* Full-width version on product cards */
.fr-add--block { display: flex; width: 100%; }
.fr-add--block .fr-add__btn,
.fr-add--block .fr-add__stepper { width: 100%; }

/* Compact version in the cart drawer and cart page */
.fr-cart-item .fr-add__stepper,
.fr-cartrow .fr-add__stepper { height: 34px; min-width: 96px; border-radius: 9px; font-size: .88rem; }
.fr-cart-item .fr-add__stepper button,
.fr-cartrow .fr-add__stepper button { width: 32px; }

/* Large version on the product page */
.fr-add--lg { width: 100%; max-width: 340px; }
.fr-add--lg .fr-add__btn {
  width: 100%;
  height: 54px;
  border-radius: 12px;
  background: var(--fr-primary);
  color: #fff;
  font-size: 1rem;
}

.fr-add--lg .fr-add__btn:hover { background: var(--fr-primary-600); }
.fr-add--lg .fr-add__stepper { width: 100%; height: 54px; border-radius: 12px; font-size: 1.1rem; }
.fr-add--lg .fr-add__stepper button { width: 64px; font-size: .9rem; }

/* ==========================================================================
   Product card
   ========================================================================== */
.fr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--fr-line);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}

.fr-card:hover { box-shadow: 0 14px 30px rgba(31, 42, 36, .1); transform: translateY(-3px); border-color: transparent; }

.fr-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--fr-media);
}

.fr-card__img { display: block; width: 100%; height: 100%; overflow: hidden; }

.fr-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.fr-card:hover .fr-card__img img { transform: scale(1.05); }

.fr-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--fr-deal);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.fr-card__badge--lg { top: 18px; left: 18px; font-size: .82rem; padding: 6px 12px; }
.fr-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 8px; flex: 1; }

.fr-card__name {
  color: var(--fr-ink);
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fr-card__name:hover { color: var(--fr-primary); }
.fr-card__unit { font-size: .8rem; color: var(--fr-muted); }
.fr-card__rating { font-size: .78rem; font-weight: 700; color: var(--fr-ink-2); }
.fr-card__rating i { color: #e3a008; }

.fr-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }

.fr-price { font-weight: 800; font-size: 1.1rem; color: var(--fr-ink); }
.fr-price--lg { font-size: 1.9rem; letter-spacing: -.02em; }
.fr-price-old { font-size: .82rem; color: var(--fr-muted); text-decoration: line-through; }

.fr-card__foot { padding: 0 16px 16px; }

.fr-card__oos {
  display: block;
  padding: 9px;
  border-radius: 10px;
  background: var(--fr-soft);
  color: var(--fr-muted);
  font-size: .85rem;
  font-weight: 700;
  text-align: center;
}

.fr-card.is-oos .fr-card__img img { filter: grayscale(.6); opacity: .75; }

/* Grids */
.fr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.fr-grid--compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

/* ==========================================================================
   Home
   ========================================================================== */
.fr-home { padding-top: 0; }

.fr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--fr-primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 2px 8px rgba(31, 42, 36, .06);
}

.fr-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(217, 130, 43, .12), transparent 70%),
    radial-gradient(700px 400px at 10% 90%, rgba(31, 111, 63, .1), transparent 70%),
    var(--fr-cream);
  border-bottom: 1px solid var(--fr-cream-2);
}

.fr-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.fr-hero__title {
  font-family: var(--fr-serif);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--fr-primary-700);
  margin: 18px 0 16px;
}

.fr-hero__text { font-size: 1.08rem; color: var(--fr-ink-2); max-width: 30rem; margin-bottom: 28px; }

.fr-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fr-hero__actions .btn { border-radius: 999px; padding-left: 1.6rem; padding-right: 1.6rem; }
.fr-hero__actions .btn i { margin-left: 6px; }

.fr-hero__art {
  position: relative;
  height: 400px;
}

.fr-hero__photo {
  position: absolute;
  overflow: hidden;
  border-radius: 50%;
  border: 8px solid #fff;
  box-shadow: 0 20px 40px rgba(31, 42, 36, .15);
  background: #fff;
}

.fr-hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.fr-hero__photo--1 { width: 300px; height: 300px; top: 30px; left: 12%; z-index: 2; }
.fr-hero__photo--2 { width: 180px; height: 180px; top: 0; right: 4%; z-index: 1; }
.fr-hero__photo--3 { width: 200px; height: 200px; bottom: 0; right: 12%; z-index: 3; }
.fr-hero__art--1 .fr-hero__photo--1 { left: 50%; transform: translateX(-50%); width: 340px; height: 340px; }

.fr-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: -34px 0 48px;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--fr-line);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(31, 42, 36, .07);
}

.fr-perks li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; }
.fr-perks li + li { border-left: 1px solid var(--fr-line-2); }

.fr-perks i {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--fr-primary-50);
  color: var(--fr-primary);
  font-size: 1.05rem;
}

.fr-perks strong { display: block; font-size: .95rem; }
.fr-perks span { display: block; font-size: .8rem; color: var(--fr-muted); line-height: 1.35; }

.fr-section { margin-bottom: 52px; }

.fr-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.fr-section__head--center { flex-direction: column; align-items: center; text-align: center; }

.fr-section__title {
  font-family: var(--fr-serif);
  font-size: 1.85rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -.01em;
  color: var(--fr-primary-700);
}

.fr-section__sub { color: var(--fr-muted); margin: 6px 0 0; }

.fr-section__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1.5px solid var(--fr-line);
  border-radius: 999px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--fr-ink-2);
  white-space: nowrap;
  transition: border-color .15s, color .15s;
}

.fr-section__more:hover { border-color: var(--fr-primary); color: var(--fr-primary); }
.fr-section__more i { font-size: .75rem; }

/* Category photo cards */
.fr-catcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.fr-catcard {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: var(--fr-media);
  isolation: isolate;
}

.fr-catcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fr-catcard:hover img { transform: scale(1.06); }

.fr-catcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(12, 32, 20, .78) 100%);
  z-index: 1;
}

.fr-catcard__body {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.fr-catcard__name { font-family: var(--fr-serif); font-size: 1.5rem; font-weight: 700; line-height: 1.15; }

.fr-catcard__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: var(--fr-primary-700);
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .15s, color .15s;
}

.fr-catcard:hover .fr-catcard__cta { background: var(--fr-deal); color: #fff; }

/* Category tiles (mobile category sheet) */
.fr-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 16px 14px;
}

.fr-cat-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--fr-ink); text-align: center; }
.fr-cat-tile:hover { color: var(--fr-primary); }

.fr-cat-tile__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--fr-cream);
  overflow: hidden;
}

.fr-cat-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.fr-cat-tile__name { font-size: .85rem; font-weight: 700; line-height: 1.25; }

/* Legacy modules (banners, carousels) inside the home page */
.fr-home .carousel { border-radius: 20px; overflow: hidden; margin-bottom: 32px; }

/* ==========================================================================
   Listing pages (category, search, specials, brands)
   ========================================================================== */
.fr-listing__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.fr-listing__layout.has-aisles { grid-template-columns: 230px minmax(0, 1fr); }
.fr-listing__layout > #column-left,
.fr-listing__layout > #column-right { width: auto; max-width: none; padding: 0; }
.fr-listing__layout:has(> #column-left) { grid-template-columns: 250px minmax(0, 1fr); }
.fr-listing__layout:has(> #column-right) { grid-template-columns: minmax(0, 1fr) 250px; }
.fr-listing__layout:has(> #column-left):has(> #column-right) { grid-template-columns: 250px minmax(0, 1fr) 250px; }

.fr-aisles {
  position: sticky;
  top: calc(var(--fr-header-h) + 12px);
  padding: 18px;
  border: 1px solid var(--fr-line);
  border-radius: var(--fr-radius);
  background: var(--fr-cream);
}

.fr-aisles__title {
  font-family: var(--fr-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--fr-cream-2);
}

.fr-aisles__list { display: flex; flex-direction: column; gap: 2px; }

.fr-aisle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--fr-ink-2);
  font-weight: 600;
  font-size: .9rem;
}

.fr-aisle i { font-size: .65rem; opacity: .4; }
.fr-aisle:hover { background: #fff; color: var(--fr-primary); }
.fr-aisle.is-active { background: var(--fr-primary); color: #fff; }
.fr-aisle.is-active i { opacity: .9; }

.fr-listing__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.fr-listing__title { margin: 0; }
.fr-listing__count { font-size: .82rem; color: var(--fr-muted); margin-top: 2px; }
.fr-listing__tools { display: flex; gap: 8px; }
.fr-listing__desc { color: var(--fr-ink-2); margin-bottom: 20px; font-size: .92rem; }
.fr-listing__desc img { border-radius: var(--fr-radius); }

.fr-select { width: auto; min-width: 200px; font-weight: 600; font-size: .85rem; border-radius: 10px; padding-top: .5rem; padding-bottom: .5rem; }
.fr-select--sm { min-width: 90px; }

.fr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.fr-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--fr-line);
  background: #fff;
  color: var(--fr-ink-2);
  font-weight: 600;
  font-size: .82rem;
}

.fr-chip:hover { border-color: var(--fr-primary); color: var(--fr-primary); }

.fr-pagination { display: flex; justify-content: center; margin-top: 28px; }

.fr-panel {
  background: #fff;
  border: 1px solid var(--fr-line);
  border-radius: var(--fr-radius);
  padding: 18px;
}

.fr-panel__title { font-size: 1.05rem; font-weight: 800; margin-bottom: .9rem; }

.fr-search-filters { margin-bottom: 24px; }
.fr-search-filters__checks { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: .88rem; }

/* ==========================================================================
   Product page
   ========================================================================== */
.fr-product__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 32px;
}

.fr-product__media { position: relative; }

.fr-gallery { position: sticky; top: calc(var(--fr-header-h) + 16px); }

.fr-gallery__main {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--fr-radius-xl);
  background: var(--fr-media);
  border: 1px solid var(--fr-line);
  overflow: hidden;
  cursor: zoom-in;
}

.fr-gallery__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.fr-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

.fr-gallery__thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 2px solid var(--fr-line);
  background: var(--fr-media);
  overflow: hidden;
  transition: border-color .15s;
}

.fr-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.fr-gallery__thumb.is-active,
.fr-gallery__thumb:hover { border-color: var(--fr-primary); }

.fr-product__brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .85rem; margin-bottom: 6px; }
.fr-product__brand i { font-size: .65rem; }
.fr-product__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .35rem; }
.fr-product__unit { color: var(--fr-muted); font-weight: 600; margin-bottom: .75rem; }

.fr-product__rating { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .85rem; margin-bottom: 1rem; }
.fr-stars { color: #f5a524; letter-spacing: 1px; }

.fr-product__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 1rem 0 .25rem; }
.fr-product__price .fr-price-old { font-size: .95rem; }

.fr-save {
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--fr-deal-50);
  color: #b44b0c;
  font-weight: 800;
  font-size: .8rem;
}

.fr-product__tax { font-size: .82rem; color: var(--fr-muted); }

.fr-product__discounts { margin: .75rem 0 0; font-size: .88rem; }
.fr-product__discounts li { color: var(--fr-primary-700); font-weight: 600; }

.fr-product__delivery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 1rem 0 .5rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff8e6;
  color: #8a5a00;
  font-weight: 700;
  font-size: .82rem;
}

.fr-product__delivery i { color: #f5a524; }

.fr-product__options { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--fr-line); }
.fr-product__subtitle { font-size: 1rem; font-weight: 800; margin-bottom: .9rem; }

.fr-option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fr-option-pills .form-check { padding: 0; margin: 0; }
.fr-option-pills .form-check-input { position: absolute; opacity: 0; }
.fr-option-pills .form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--fr-line);
  border-radius: 10px;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
}

.fr-option-pills .form-check-label img { width: 28px; height: 28px; padding: 0; border: 0; }
.fr-option-pills .form-check-input:checked + .form-check-label { border-color: var(--fr-primary); background: var(--fr-primary-50); color: var(--fr-primary-700); }
.fr-option-pills .form-check-input:focus-visible + .form-check-label { outline: 2px solid var(--fr-primary); outline-offset: 2px; }

.fr-product__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 1.25rem; }
.fr-product__cta { min-width: 220px; }

.fr-qty-input {
  display: inline-flex;
  align-items: center;
  height: 52px;
  border: 1.5px solid var(--fr-line);
  border-radius: 12px;
  overflow: hidden;
}

.fr-qty-input button { width: 44px; height: 100%; border: 0; background: var(--fr-soft); color: var(--fr-ink); }
.fr-qty-input input { width: 52px; height: 100%; border: 0; text-align: center; font-weight: 800; font-size: 1rem; outline: none; }

.fr-product__oos {
  margin-top: 1.25rem;
  padding: 14px;
  border-radius: 12px;
  background: var(--fr-soft);
  color: var(--fr-muted);
  font-weight: 700;
  text-align: center;
}

.fr-product__secondary { display: flex; flex-wrap: wrap; gap: 16px; margin: 1rem 0 1.5rem; }

.fr-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fr-ink-2);
  font-weight: 600;
  font-size: .88rem;
}

.fr-link-btn:hover { color: var(--fr-primary); }
.fr-link-btn--danger:hover { color: #e5484d; }

.fr-specs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; font-size: .9rem; }
.fr-specs dt { color: var(--fr-muted); font-weight: 500; }
.fr-specs dd { margin: 0; font-weight: 600; }

.fr-product__tabs { margin-bottom: 32px; }

.fr-tabs { gap: 8px; margin-bottom: 12px; }
.fr-tabs .nav-link {
  border-radius: 999px;
  background: var(--fr-soft);
  color: var(--fr-ink-2);
  font-weight: 700;
  font-size: .88rem;
  padding: .5rem 1.1rem;
}

.fr-tabs .nav-link.active { background: var(--fr-primary); color: #fff; }

.fr-product__tabs .tab-content { font-size: .93rem; color: var(--fr-ink-2); }
.fr-tags { margin: 1rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* Reviews */
#review .table { font-size: .9rem; }
#form-review { margin-top: 1.5rem; }

/* ==========================================================================
   Cart page
   ========================================================================== */
.fr-page { padding-bottom: 1rem; }
.fr-page__title { font-size: 1.6rem; font-weight: 800; }
.fr-page__title small { font-size: .9rem; color: var(--fr-muted); font-weight: 600; }

.fr-cartpage { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.fr-cartpage__items { display: flex; flex-direction: column; gap: 12px; }
.fr-cartpage__summary { position: sticky; top: calc(var(--fr-header-h) + 16px); }

.fr-cartrow { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px; }

.fr-cartrow__img {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  background: var(--fr-media);
  overflow: hidden;
}

.fr-cartrow__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.fr-cartrow__name { color: var(--fr-ink); font-weight: 700; }
.fr-cartrow__meta { margin: 2px 0; font-size: .8rem; color: var(--fr-muted); }
.fr-cartrow__price { font-size: .85rem; color: var(--fr-muted); }
.fr-cartrow__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fr-cartrow__total { font-weight: 800; }
.fr-cartrow .fr-link-btn { font-size: .78rem; }

/* ==========================================================================
   Account & auth
   ========================================================================== */
.fr-auth {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 8px auto 24px;
}

.fr-auth__card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--fr-line);
  border-radius: var(--fr-radius-lg);
  box-shadow: var(--fr-shadow-sm);
}

.fr-auth__card--alt { background: linear-gradient(160deg, var(--fr-primary-50) 0%, #fff 70%); display: flex; flex-direction: column; justify-content: center; }
.fr-auth__card--alt p { color: var(--fr-ink-2); font-size: .92rem; }

.fr-auth__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--fr-primary);
  color: #fff;
  font-size: 1.3rem;
}

.fr-auth__title { font-size: 1.4rem; font-weight: 800; margin-bottom: .25rem; }
.fr-auth__sub { color: var(--fr-muted); margin-bottom: 1.25rem; }
.fr-auth__link { font-size: .85rem; font-weight: 600; }

.fr-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.fr-tiles + .fr-section__title,
.fr-section__title + .fr-tiles { margin-top: 12px; }

.fr-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--fr-line);
  border-radius: var(--fr-radius);
  color: var(--fr-ink);
  font-weight: 700;
  font-size: .9rem;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.fr-tile i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--fr-primary-50);
  color: var(--fr-primary);
  font-size: 1.05rem;
}

.fr-tile:hover { color: var(--fr-ink); border-color: var(--fr-primary-100); box-shadow: var(--fr-shadow); transform: translateY(-2px); }

/* Stock account/checkout/information pages: turn form sections into cards */
#account-register form,
#account-edit #content > form,
#account-password #content > form,
#account-newsletter #content > form,
#account-forgotten #content > form,
#account-address #content,
#account-affiliate #content > form,
#information-contact #content > form,
#product-compare #content .table-responsive,
#account-order #content .table-responsive,
#account-return #content .table-responsive,
#account-transaction #content .table-responsive,
#account-download #content .table-responsive,
#account-reward #content .table-responsive {
  background: #fff;
  border: 1px solid var(--fr-line);
  border-radius: var(--fr-radius-lg);
  padding: 22px;
}

#account-register fieldset,
#checkout-checkout fieldset { margin-bottom: 1rem; }

#checkout-checkout #checkout-register,
#checkout-checkout #checkout-payment-address,
#checkout-checkout #checkout-shipping-address,
#checkout-checkout #checkout-shipping-method,
#checkout-checkout #checkout-payment-method,
#checkout-checkout #checkout-confirm {
  background: #fff;
  border: 1px solid var(--fr-line);
  border-radius: var(--fr-radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}

#checkout-checkout #checkout-confirm { background: var(--fr-soft); }
#checkout-checkout legend { border-bottom: 0; margin-bottom: .5rem; font-weight: 800; }

#information-contact .card,
#information-information #content,
#information-sitemap #content { line-height: 1.7; }

#common-success #content,
#error-not-found #content { text-align: center; padding: 40px 0; }

/* Cookie bar */
#cookie {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1050;
  padding: 14px 18px;
  border-radius: var(--fr-radius);
  background: #1f2a37;
  color: #fff;
  box-shadow: var(--fr-shadow-lg);
  font-size: .88rem;
}

#cookie div { font-size: .88rem; }
#cookie a { color: #9ae6b4; }

/* Blog (CMS) */
.blog-thumb { border: 1px solid var(--fr-line); border-radius: var(--fr-radius); overflow: hidden; margin-bottom: 20px; background: #fff; }
.blog-thumb .image img { width: 100%; }
.blog-thumb .description { padding: 16px; }
.blog-thumb h4 a { color: var(--fr-ink); font-weight: 800; }

/* ==========================================================================
   Footer
   ========================================================================== */
.fr-footer {
  padding: 56px 0 0;
  background: #14291d;
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
}

.fr-footer h5 {
  font-family: var(--fr-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.1rem;
}

.fr-footer ul li { margin-bottom: .55rem; }
.fr-footer a { color: rgba(255, 255, 255, .72); }
.fr-footer a:hover { color: #fff; }

.fr-logo--footer { margin-bottom: 1rem; }
.fr-logo--footer .fr-logo__text { color: #fff; }
.fr-logo--footer .fr-logo__mark { background: #fff; color: var(--fr-primary); }

.fr-footer__about { max-width: 22rem; line-height: 1.6; margin-bottom: 1.1rem; }

.fr-footer__contact li { display: flex; gap: 10px; }
.fr-footer__contact i { width: 16px; margin-top: 4px; color: #8fcf94; }

.fr-footer__switchers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.fr-footer__switchers form { margin: 0; }

.fr-footer__switchers .dropdown > a,
.fr-footer__switchers .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
  font-size: .82rem;
}

.fr-footer__switchers .dropdown-item { color: var(--fr-ink); }

.fr-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: 8px;
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .55);
  font-size: .82rem;
}

/* Mobile-only chrome, hidden on desktop */
.fr-bottomnav { display: none; }

.fr-sheet { --bs-offcanvas-height: auto; max-height: 80vh; border-radius: 20px 20px 0 0; }
.fr-sheet .offcanvas-title { font-family: var(--fr-serif); font-weight: 700; }
.fr-sheet .fr-cat-grid { grid-template-columns: repeat(3, 1fr); padding-bottom: 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
  .fr-hero__photo--1 { width: 250px; height: 250px; }
  .fr-hero__photo--2 { width: 150px; height: 150px; }
  .fr-hero__photo--3 { width: 170px; height: 170px; }
  .fr-hero__art { height: 340px; }
}

@media (max-width: 991.98px) {
  :root { --fr-header-h: 76px; }

  .fr-header__bar { padding: 14px 0; gap: 12px; }
  .fr-header__actions { margin-left: auto; }
  .fr-nav { display: none; }
  .fr-menu-btn { display: inline-grid; }

  .fr-hero__inner { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 64px; }
  .fr-hero__art { height: 280px; max-width: 460px; width: 100%; margin: 0 auto; }
  .fr-perks { grid-template-columns: repeat(2, 1fr); }
  .fr-perks li:nth-child(3) { border-left: 0; }
  .fr-perks li:nth-child(n+3) { border-top: 1px solid var(--fr-line-2); }

  .fr-product__layout { grid-template-columns: 1fr; gap: 24px; }
  .fr-gallery { position: static; }

  .fr-cartpage { grid-template-columns: 1fr; }
  .fr-cartpage__summary { position: static; }

  .fr-auth { grid-template-columns: 1fr; }

  .fr-listing__layout.has-aisles,
  .fr-listing__layout:has(> #column-left),
  .fr-listing__layout:has(> #column-right),
  .fr-listing__layout:has(> #column-left):has(> #column-right) { grid-template-columns: minmax(0, 1fr); }

  .fr-listing__layout > #column-left { display: none; }

  /* Sidebar categories become a row of scrollable chips */
  .fr-aisles { position: static; padding: 0; border: 0; background: transparent; }
  .fr-aisles__title { display: none; }
  .fr-aisles__list { flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .fr-aisles__list::-webkit-scrollbar { display: none; }
  .fr-aisle { flex-shrink: 0; border: 1.5px solid var(--fr-line); border-radius: 999px; background: #fff; padding: 7px 16px; font-size: .85rem; }
  .fr-aisle i { display: none; }
}

@media (max-width: 767.98px) {
  :root { --fr-header-h: 66px; }

  body { font-size: 14px; padding-bottom: 64px; }

  h1, .fr-page__title { font-size: 1.35rem; }


  .fr-header__bar { padding: 10px 0; gap: 10px; }
  .fr-logo__mark { width: 36px; height: 36px; font-size: .95rem; }
  .fr-logo__text { font-size: 1.2rem; }

  .fr-action span { display: none; }
  .fr-cart-btn { display: none; }


  .fr-hero__inner { padding-top: 28px; padding-bottom: 56px; gap: 20px; }
  .fr-hero__title { font-size: 2rem; margin-top: 14px; }
  .fr-hero__text { font-size: .95rem; margin-bottom: 20px; }
  .fr-hero__art { height: 220px; }
  .fr-hero__photo { border-width: 5px; }
  .fr-hero__photo--1 { width: 180px; height: 180px; top: 20px; left: 8%; }
  .fr-hero__photo--2 { width: 110px; height: 110px; }
  .fr-hero__photo--3 { width: 124px; height: 124px; right: 6%; }
  .fr-hero__art--1 .fr-hero__photo--1 { width: 210px; height: 210px; }

  .fr-perks { display: flex; overflow-x: auto; scrollbar-width: none; margin: -30px 0 32px; }
  .fr-perks::-webkit-scrollbar { display: none; }
  .fr-perks li { flex: 0 0 auto; padding: 14px 16px; }
  .fr-perks li + li { border-left: 1px solid var(--fr-line-2); border-top: 0 !important; }
  .fr-perks i { width: 38px; height: 38px; }

  .fr-section { margin-bottom: 36px; }
  .fr-section__title { font-size: 1.45rem; }
  .fr-section__more { padding: 6px 12px; font-size: .8rem; }

  .fr-catcards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fr-catcard { aspect-ratio: 1 / 1; border-radius: 16px; }
  .fr-catcard__body { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .fr-catcard__name { font-size: 1.1rem; }
  .fr-catcard__cta { padding: 5px 10px; font-size: .72rem; }

  .fr-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 12px 10px; }
  .fr-cat-tile__name { font-size: .78rem; }

  .fr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

  .fr-card { border-radius: 14px; }
  .fr-card__body { padding: 10px 12px 6px; }
  .fr-card__name { font-size: .88rem; }
  .fr-price { font-size: 1rem; }
  .fr-card__foot { padding: 0 12px 12px; }
  .fr-add__btn { height: 38px; font-size: .82rem; padding: 0 10px; }
  .fr-add--block .fr-add__btn i { display: none; }
  .fr-add__stepper { height: 38px; }

  .fr-listing__head { align-items: flex-start; flex-direction: column; }
  .fr-listing__tools { width: 100%; }
  .fr-select { flex: 1; min-width: 0; }

  .fr-cartrow { grid-template-columns: 64px minmax(0, 1fr); }
  .fr-cartrow__img { width: 64px; height: 64px; }
  .fr-cartrow__side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }

  .fr-auth__card { padding: 22px; }

  .fr-footer { padding-top: 36px; }

  .fr-toasts { bottom: 80px; }

  #cookie { bottom: 76px; }

  /* Bottom navigation */
  .fr-bottomnav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1035;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 62px;
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    border-top: 1px solid var(--fr-line);
    box-shadow: 0 -4px 16px rgba(31, 42, 36, .06);
  }

  .fr-bottomnav__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    background: none;
    color: var(--fr-ink-2);
    font-size: .68rem;
    font-weight: 700;
  }

  .fr-bottomnav__item i { font-size: 1.15rem; }
  .fr-bottomnav__item:hover { color: var(--fr-primary); }

  .fr-bottomnav__badge {
    position: absolute;
    top: 6px;
    left: calc(50% + 6px);
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--fr-deal);
    color: #fff;
    font-style: normal;
    font-size: .65rem;
    line-height: 18px;
    text-align: center;
  }

  .fr-bottomnav__badge:empty,
  .fr-bottomnav__badge[data-empty] { display: none; }

  .fr-drawer { --bs-offcanvas-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.fr-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.fr-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--fr-line);
  border-radius: var(--fr-radius-lg);
}

.fr-contact__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--fr-primary-50);
  color: var(--fr-primary);
  font-size: 1.1rem;
}

.fr-contact__label {
  margin: 2px 0 6px;
  font-family: var(--fr-font);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fr-muted);
}

.fr-contact__value { font-size: 1rem; color: var(--fr-ink); line-height: 1.5; word-break: break-word; }
.fr-contact__value--link { font-weight: 700; color: var(--fr-primary-700); }
.fr-contact__value--link:hover { color: var(--fr-primary); }
.fr-contact__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; font-size: .88rem; }
.fr-contact__link i { font-size: .7rem; }
.fr-contact__meta { margin-top: 6px; font-size: .85rem; color: var(--fr-muted); }

.fr-contact__note {
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: var(--fr-radius);
  background: var(--fr-cream);
  color: var(--fr-ink-2);
}
