/* =========================================================
   FOOD GEEKS THEME
   Cleaned / Consolidated CSS
   ---------------------------------------------------------
   Notes:
   - Keeps winning styles where duplicates existed
   - Media queries moved to bottom
   - Invalid declarations cleaned up
   - Related rules grouped together
   ========================================================= */


/* =========================================================
   1) DESIGN TOKENS
   ========================================================= */

:root{
  color-scheme: light;

  /* Core surfaces */
  --fg-bg: #fdfdfd;
  --fg-surface: #ffffff;
  --fg-surface-2: #f3f4f6;
  --fg-surface-3: #f1f1f1;
  --fg-border: #e5e7eb;
  --fg-surface-border: #dadada;

  /* Typography */
  --fg-text: #111827;
  --fg-text-muted: #6b7280;

  /* Brand / accents */
  --fg-brand: #ef4e2b;
  --fg-brand-contrast: #ffffff;

  /* Header / nav */
  --fg-header-bg: #ffffff;
  --fg-header-text: #0f0f10;
  --nav-icon-border: #6b7280;

  /* Shadow */
  --fg-shadow: 0 2px 10px rgba(0,0,0,.1);
  --fg-shadow-hover: 0 2px 10px rgba(0,0,0,.16);

  /* UI */
  --fg-radius: 14px;
  --fg-radius-small: 8px;
  --fg-focus: 0 0 0 3px rgba(239,78,43,.35);

  /* Inverted contrast */
  --active-bg: #424242;
  --active-text: #fdfdfd;

  /* Forms */
  --form-border: #11182757;

  /* Layout */
  --ffg-topbar-height: 100px;
  --ffg-basket-width: 350px;
}

html[data-theme="dark"]{
  color-scheme: dark;

  --fg-bg: #181818;
  --fg-surface: #272727;
  --fg-surface-2: #424242;
  --fg-surface-3: #424242;
  --fg-border: rgba(255,255,255,.12);
  --fg-surface-border: rgba(255,255,255,.12);

  --fg-text: #e5e7eb;
  --fg-text-muted: #9ca3af;

  --fg-header-bg: #272727;
  --fg-header-text: #e5e7eb;
  --nav-icon-border: #6b7280;

  --fg-shadow: 0 4px 10px rgba(0,0,0,.25);

  --active-bg: #f5f5f5;
  --active-text: #272727;

  --form-border: #e5e7eb57;
}


/* =========================================================
   2) GLOBAL BASE
   ========================================================= */

body{
  background: var(--fg-bg) !important;
  color: var(--fg-text);
}

a{
  color: var(--fg-brand);
}
a:hover{
  color: var(--fg-brand);
  opacity: .9;
}

.text-muted{
  color: var(--fg-text-muted) !important;
}

hr,
.border,
.border-top,
.border-bottom,
.border-left,
.border-right{
  border-color: var(--fg-border) !important;
}

.container-max{
  max-width: 100%;
  width: 100%;
}


/* =========================================================
   3) COMMON SURFACES / PANELS
   ========================================================= */

.card,
.modal-content,
.dropdown-menu,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error{
  background: var(--fg-surface);
  color: var(--fg-text);
  border-color: var(--fg-border);
  box-shadow: var(--fg-shadow);
}


/* =========================================================
   4) FORM ELEMENTS
   ========================================================= */

input,
select,
textarea,
.form-control{
  background-color: var(--fg-surface);
  color: var(--fg-text);
  border-color: var(--fg-border);
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus{
  outline: none !important;
  box-shadow: none !important;
}


/* =========================================================
   5) NAVBAR / TOPBAR / TOGGLES
   ========================================================= */

.navbar,
.navbar .navbar-brand,
.navbar .nav-link{
  color: var(--fg-header-text) !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus{
  opacity: .9;
}

.user-menu{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ffg-topbar{
  position: relative;
  z-index: 11;
  padding: 14px 15px;
  background: var(--fg-header-bg) !important;
  color: var(--fg-header-text);
  box-shadow: var(--fg-shadow);
}

.ffg-topbar .navbar-brand,
.ffg-topbar a,
.ffg-topbar button{
  color: var(--fg-header-text);
}

.ffg-topbar .ffg-topbar__inner{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ffg-topbar__actions{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ffg-topbar__mobile-fulfilment{
  display: none;
}

/* Icon buttons */
.ffg-menu-toggle,
.ffg-theme-toggle{
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 6px 8px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid var(--fg-border);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-text);
}

.ffg-menu-toggle:hover,
.ffg-theme-toggle:hover{
  background: var(--fg-surface-2);
}

.ffg-menu-toggle:focus,
.ffg-theme-toggle:focus,
.ffg-theme-toggle:focus-visible,
.ffg-theme-toggle:hover,
.ffg-menu-toggle:hover{
  outline: 0 !important;
  box-shadow: none !important;
}
.ffg-theme-toggle .ffg-theme-toggle__icon{
	color: #ffc535;
	font-weight: 600 !important;
}
.ffg-theme-toggle__icon.fa-regular.fa-moon {
	font-size: 16px;
}
.ffg-theme-toggle__icon.fa-regular.fa-sun-bright {
	font-size: 18px;
}
.ffg-theme-toggle__label{
  display: none;
}

/* Burger / X */
.ffg-burger{
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.ffg-burger::before,
.ffg-burger::after{
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .18s ease, top .18s ease, opacity .18s ease;
}

.ffg-burger::before{
  top: -6px;
}

.ffg-burger::after{
  top: 6px;
}

body.ffg-menu-open .ffg-burger{
  background: transparent;
}

body.ffg-menu-open .ffg-burger::before{
  top: 0;
  transform: rotate(45deg);
}

body.ffg-menu-open .ffg-burger::after{
  top: 0;
  transform: rotate(-45deg);
}


/* =========================================================
   6) SITE MENU / ACCOUNT MODAL SHELL
   ========================================================= */

.ffg-site-menu{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 80;
}

body.ffg-menu-open .ffg-site-menu{
  display: flex;
  align-items: center;
  justify-content: center;
}

.ffg-site-menu__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

/* Legacy drawer panel */
.ffg-site-menu__panel{
  position: relative;
  width: min(720px, calc(100vw - 32px));
  max-height: min(80vh, 720px);
  overflow: hidden;
  background: var(--fg-surface);
  color: var(--fg-text);
  border: 1px solid var(--fg-border);
  border-radius: calc(var(--fg-radius) + 6px);
  box-shadow: var(--fg-shadow);
  transform: translateY(6px);
  transition: transform .18s ease;
}

body.ffg-menu-open .ffg-site-menu__panel{
  transform: translateY(0);
}

.ffg-site-menu__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--fg-surface-2);
  border-bottom: 1px solid var(--fg-border);
}

.ffg-site-menu__title{
  margin: 0;
  font-size: 18px;
}

.ffg-site-menu__close{
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: 1px solid var(--fg-border);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-text);
}

.ffg-site-menu__close:focus{
  outline: none;
  box-shadow: none;
}

.ffg-site-menu__body{
  padding: 16px;
  overflow: auto;
}

.ffg-site-menu__section{
  margin-bottom: 14px;
  padding: 14px;
  background: var(--fg-surface-2);
  border: 1px solid var(--fg-border);
  border-radius: var(--fg-radius);
}

.ffg-site-menu__section-title{
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--fg-text-muted);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.ffg-site-menu__navlist{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ffg-site-menu__navlist a{
  color: var(--fg-text);
  text-decoration: none;
}

.ffg-site-menu__navlist a:hover{
  text-decoration: underline;
}

.ffg-site-menu__muted{
  margin: 0;
  font-size: 14px;
  color: var(--fg-text-muted);
}

.ffg-site-menu__footer{
  padding: 12px 16px;
  border-top: 1px solid var(--fg-border);
  background: var(--fg-surface);
}

.user-menu.user-menu--drawer{
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ffg-drawer-account{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-text);
  text-decoration: none;
}

.ffg-drawer-account__icon{
  display: inline-block;
  width: 34px;
  height: 34px;
  border: 1px solid var(--fg-border);
  border-radius: 999px;
  background: var(--fg-surface-2);
}

.ffg-drawer-account__label{
  font-weight: 600;
}


/* =========================================================
   7) ACCOUNT MODAL
   ========================================================= */

.ffg-account-modal__panel{
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(600px, calc(100vw - 24px));
  max-height: min(86vh, 860px);
  overflow: hidden;
  background: var(--fg-surface);
  color: var(--fg-text);
  border: 1px solid var(--fg-border);
  border-radius: calc(var(--fg-radius) + 6px);
  box-shadow: var(--fg-shadow);
  transform: translateY(6px);
  transition: transform .18s ease;
}

body.ffg-menu-open .ffg-account-modal__panel{
  transform: translateY(0);
}

.ffg-account-modal__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 80px;
  padding: 14px 20px;
  background: var(--fg-surface);
  border-bottom: 1px solid var(--fg-border);
}

.ffg-account-modal__title{
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
}

.ffg-account-modal__title span{
  color: #ff7a18;
}

.ffg-account-modal__close{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: 1px solid var(--fg-border);
  border-radius: 999px;
  background: transparent;
  color: inherit;
}

.ffg-account-modal__close i{
  font-size: 20px;
}

.ffg-account-modal__body{
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 18px 20px 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.ffg-account-modal__view[hidden]{
  display: none !important;
}

.ffg-account-card{
  margin-bottom: 18px;
  padding: 20px 20px 30px;
  background: var(--fg-surface-2);
  border: 1px solid var(--fg-border);
  border-radius: calc(var(--fg-radius) + 4px);
}

.ffg-account-card:last-child{
  margin-bottom: 0;
}

.ffg-account-card__title-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.ffg-account-card__title-wrap--subsection{
  margin-top: 6px;
}

.ffg-account-card__title-wrap--password{
  margin-bottom: 14px;
}

.ffg-account-card__title{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.ffg-account-card__title i{
  color: #ff7a18;
  font-size: 22px;
}

.ffg-account-icon-button{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--fg-text);
}

.ffg-account-icon-button i{
  font-size: 22px;
}

.ffg-account-icon-button:hover,
.ffg-account-icon-button:focus-visible{
  border: none !important;
  outline: none !important;
}

.ffg-account-form{
  display: block;
}

.ffg-account-form__messages{
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.ffg-account-form__messages.is-error,
.ffg-account-form__messages.is-success{
  display: block;
}

.ffg-account-form__messages.is-error{
  background: rgba(239,78,43,.08);
  border: 1px solid rgba(239,78,43,.22);
  color: var(--fg-text);
}

.ffg-account-form__messages.is-success{
  background: rgba(56,161,105,.12);
  border: 1px solid rgba(56,161,105,.28);
  color: var(--fg-text);
}

.ffg-account-form__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px 22px;
}

.ffg-account-field{
  margin-bottom: 18px;
}

.ffg-account-field label{
  display: block;
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-text);
}

.ffg-account-field label span{
  color: var(--fg-brand);
}

.ffg-account-field input{
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  font-size: 16px;
  border: 1px solid var(--form-border);
  border-radius: 14px;
  background: var(--fg-surface-2);
  color: var(--fg-text);
  box-shadow: none !important;
}

.ffg-account-field input::placeholder{
  color: var(--fg-text-muted);
}

.ffg-account-field input:focus{
  border-color: var(--fg-border) !important;
  box-shadow: none !important;
}

.ffg-account-password{
  position: relative;
}

.ffg-account-password input{
  padding-right: 58px;
}

.ffg-account-password__toggle{
  position: absolute;
  top: 50%;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--fg-text-muted);
  transform: translateY(-50%);
}

.ffg-account-password__toggle i{
  font-size: 24px;
}

.ffg-account-password__toggle--inline{
  position: static;
  width: 36px;
  height: 36px;
  transform: none;
}

.ffg-account-form__meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 8px 0 10px;
}

.ffg-account-checkbox{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  cursor: pointer;
}

.ffg-account-checkbox input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ffg-account-checkbox__box{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--form-border);
  border-radius: 999px;
  background: transparent;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.ffg-account-checkbox__box::after{
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: transparent;
  transform: scale(.6);
  transition: background-color .18s ease, transform .18s ease;
}

.ffg-account-checkbox input:checked + .ffg-account-checkbox__box{
  background: rgba(239,78,43,.14);
  border-color: var(--fg-brand);
}

.ffg-account-checkbox input:checked + .ffg-account-checkbox__box::after{
  background: var(--fg-brand);
  transform: scale(1);
}

.ffg-account-checkbox input:focus-visible + .ffg-account-checkbox__box{
  box-shadow: none !important;
}

.ffg-account-checkbox__label{
  font-size: 16px;
  line-height: 1.3;
  color: var(--fg-text-muted);
}

.ffg-account-linkbutton{
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--fg-text-muted);
  font-size: 15px;
  font-weight: 400;
}

.ffg-account-linkbutton:hover,
.ffg-account-linkbutton:focus-visible{
  color: var(--fg-text);
  outline: none;
}

.ffg-account-form__switch{
  margin-top: 20px;
  font-size: 15px;
  color: var(--fg-text-muted);
}

.ffg-account-form__switch .ffg-account-linkbutton{
  color: var(--fg-text);
  font-size: 15px;
  font-weight: 400;
}

.ffg-account-form .create-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.create-wrap .ffg-account-form__switch .ffg-account-linkbutton{
  color: var(--fg-text-muted);
}

.ffg-account-button{
  min-width: 235px;
  min-height: 48px;
  margin-top: 15px;
  margin-bottom: 10px;
  padding: 0 26px;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: var(--fg-text-muted);
  color: var(--active-text);
  font-size: 16px;
  font-weight: 400;
  transition: opacity .18s ease, transform .18s ease;
}

.ffg-account-button:hover{
  opacity: .85;
}

.ffg-account-button:disabled,
.ffg-account-button.is-loading{
  opacity: .72;
  cursor: wait;
}

.ffg-account-links__list{
  margin: 0;
  padding: 0;
  list-style: none;
}

.ffg-account-links__list li + li{
  margin-top: 22px;
}

.ffg-account-links__list a{
  color: var(--fg-text);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.4;
}

.ffg-account-links__list a:hover{
  color: var(--fg-brand);
}

.ffg-account-links__empty{
  margin: 0;
  color: var(--fg-text-muted);
}

.ffg-account-summary{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 10px;
}

.ffg-account-summary__row{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--fg-text);
  font-size: 16px;
  line-height: 1.35;
}

.ffg-account-summary__row i{
  width: 20px;
  margin-top: 2px;
  color: var(--fg-text-muted);
}

.ffg-account-divider{
  margin: 30px 0;
  border-top: 1px solid var(--fg-border);
}

.ffg-account-password-preview{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  margin-bottom: 16px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--form-border);
  border-radius: 14px;
  background: var(--fg-surface-2);
}

.ffg-account-password-preview__value{
  color: #b8c1cf;
  font-size: 18px;
  letter-spacing: .28em;
}

.ffg-account-password-panel{
  margin-bottom: 22px;
}

.ffg-account-inline-actions{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ffg-account-inline-actions--password{
  margin-top: 10px;
}

.ffg-account-textlink{
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--fg-text-muted);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
}

.ffg-account-textlink:hover,
.ffg-account-textlink:focus-visible{
  color: var(--fg-text);
  outline: none !important;
}

.ffg-account-modal__footer{
  margin-top: 26px;
  padding: 22px 5px calc(env(safe-area-inset-bottom, 0px) + 30px);
  border-top: 1px solid var(--fg-border);
}

.ffg-account-footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ffg-account-footer__danger{
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--fg-text-muted);
  font-size: 16px;
}

.ffg-account-footer__danger:hover{
  color: var(--fg-text);
}

.ffg-account-footer__logout{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  color: var(--fg-text-muted);
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  transition: .3s ease-in;
}

.ffg-account-footer__logout i{
  color: var(--fg-text-muted);
  font-size: 20px;
  transition: .1s ease-in;
}

.ffg-account-footer__logout:hover,
.ffg-account-footer__logout:hover i{
  color: var(--fg-text);
}

.ffg-account-footer__spacer{
  min-height: 24px;
}

.ffg-account-footer__danger[hidden]{
  display: none !important;
}


/* =========================================================
   8) ORDERING LAYOUT
   ========================================================= */

.ffg-page-shell{
  width: 100%;
}

.ffg-header-bottom__hours{
  margin-bottom: 10px;
}

.ffg-hours-placeholder{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--fg-border);
  border-radius: var(--fg-radius);
  background: var(--fg-surface);
  color: var(--fg-text);
  box-shadow: var(--fg-shadow);
}

.ffg-hours-placeholder__status{
  font-weight: 700;
}

.ffg-hours-placeholder__today{
  color: var(--fg-text-muted);
}


/* =========================================================
   9) CATEGORIES RAIL
   ========================================================= */

#first_sidebar.ffg-categories .left-sidebar{
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#first_sidebar.ffg-categories .menu-title,
#first_sidebar.ffg-categories .all-btn{
  display: none;
}

#first_sidebar.ffg-categories .menu-list{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#first_sidebar.ffg-categories .menu-list ul{
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#first_sidebar.ffg-categories .menu-list ul li a{
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--fg-surface);
  color: var(--fg-text);
  text-decoration: none;
}

#first_sidebar.ffg-categories .menu-list ul li a:hover,
#first_sidebar.ffg-categories .menu-list ul li a:focus{
  outline: none;
  background: var(--fg-surface-2);
}

#first_sidebar.ffg-categories .menu-list ul li a.active{
  background: var(--active-bg);
  color: var(--active-text);
}


/* =========================================================
   10) HOMEPAGE SEARCH / RESULTS
   ========================================================= */

.mid-heading.ffg-search-results-heading{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 7px 7px 10px;
}

.mid-heading.ffg-search-results-heading h4{
  padding: 0;
}

.mid-heading.ffg-search-results-heading p{
  margin: 0 !important;
  padding: 0 !important;
}

.ffg-menu-search{
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 0 2px;
}

.ffg-menu-search__icon{
  position: absolute;
  left: 18px;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.ffg-menu-search__icon::before{
  content: '\f002';
  font-family: 'Font Awesome 7 Pro';
  font-size: 18px;
  line-height: 1;
  color: var(--fg-brand);
}

.ffg-menu-search__input{
  width: 100%;
  height: 45px;
  padding: 0 52px 0 48px;
  border: 1px solid var(--fg-border);
  border-radius: 999px;
  background: var(--fg-surface);
  color: var(--fg-text);
}
.ffg-menu-search__input:focus{
	border: 1px solid var(--fg-border) !important;
}

.ffg-menu-search__input::placeholder{
  color: var(--fg-text-muted);
}

.ffg-menu-search__input::-webkit-search-decoration,
.ffg-menu-search__input::-webkit-search-cancel-button,
.ffg-menu-search__input::-webkit-search-results-button,
.ffg-menu-search__input::-webkit-search-results-decoration{
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.ffg-menu-search__clear{
  position: absolute;
  top: 48%;
  right: 7px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: var(--fg-surface-2);
  color: var(--fg-text-muted);
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
}

button.ffg-menu-search__clear span:before{
  content: '\f00d';
  margin-right: -1px;
  font-family: 'Font Awesome 7 Pro';
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--fg-text-muted);
}

.ffg-search-results-panel{
  display: none;
}

.ffg-page-shell.ffg-search-active .ffg-search-results-panel{
  display: block;
}

.ffg-page-shell.ffg-search-active .ffg-header-bottom__categories,
.ffg-page-shell.ffg-search-active [data-ffg-menu-section],
.ffg-page-shell.ffg-search-active [data-ffg-search-card][hidden],
.ffg-page-shell.ffg-search-active .ffg-search-results-panel[hidden]{
  display: none !important;
}

.ffg-search-results-status{
  margin-top: 8px;
}

.ffg-search-result-card{
  min-height: 118px;
}

.ffg-search-result__category{
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--fg-text-muted);
}


/* =========================================================
   11) FEATURED HOMEPAGE RAIL
   ========================================================= */

.ffg-featured-rail-section{
  margin-bottom: 18px;
}

.ffg-featured-rail-heading{
  padding-bottom: 20px;
}

.ffg-featured-rail-heading p{
  max-width: 700px;
}

.ffg-featured-rail{
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.ffg-featured-rail::-webkit-scrollbar{
  display: none;
}

.ffg-featured-card{
  position: relative;
  display: flex !important;
  align-items: stretch;
  justify-content: space-between;
  flex: 0 0 clamp(250px, 30vw, 320px);
  width: clamp(250px, 30vw, 320px);
  min-width: clamp(250px, 30vw, 320px);
  height: 110px;
  padding: 14px;
  overflow: hidden;
  scroll-snap-align: start;
}

.ffg-featured-card .product-with-img,
.ffg-featured-card .product-without-img{
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  min-height: 0;
}

.ffg-featured-card .product-without-img .product-title{
  padding-left: 0;
}

.ffg-featured-card .product-img{
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  margin-right: 10px;
}

.ffg-featured-card .product-img img{
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 14px;
}

.ffg-featured-card .product-title{
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  text-align: left;
}

.ffg-featured-card .product-title h5{
  display: -webkit-box;
  width: 100%;
  margin: 0;
  overflow: hidden;
  font-size: 15px !important;
  line-height: 1.18;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ffg-featured-card .product-title p,
.ffg-featured-card .product-price{
  display: none !important;
}

.ffg-featured-card__category{
  display: block;
  width: 100%;
  margin-bottom: 2px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--ffg-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ffg-featured-card__price{
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--fg-text);
}

.ffg-featured-card__price p{
  margin: 0 !important;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.ffg-featured-card .cart-item{
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  max-width: 25px !important;
  min-width: 25px;
  margin-left: 0;
  padding-left: 12px !important;
  float: none;
  text-align: right;
}

.ffg-featured-card .product-cart{
  position: static;
  margin-left: 0;
  float: none;
}

.ffg-featured-card .Click-here{
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  margin: 0 0 0 8px;
  transform: none;
}

.ffg-featured-card .Click-here span.add-icon{
  position: relative;
  width: 25px;
  height: 25px;
  margin-top: 0;
  margin-left: 0;
  border-radius: 15px;
  background: #69c144;
  font-size: 30px;
}


/* =========================================================
   12) INFO MODAL
   ========================================================= */

.ffg-info-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}

body.ffg-info-open .ffg-info-modal{
  display: flex;
  align-items: center;
  justify-content: center;
}

.ffg-info-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.ffg-info-modal__panel{
  position: relative;
  width: min(600px, calc(100vw - 24px));
  max-height: min(86vh, 860px);
  overflow: hidden;
  background: var(--fg-surface);
  color: var(--fg-text);
  border: 1px solid var(--fg-border);
  border-radius: calc(var(--fg-radius) + 6px);
  box-shadow: var(--fg-shadow);
  transform: translateY(6px);
  transition: transform .18s ease;
}

body.ffg-info-open .ffg-info-modal__panel{
  transform: translateY(0);
}

.ffg-info-modal__header{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--fg-surface);
  border-bottom: 1px solid var(--fg-border);
}

.ffg-info-modal__title{
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.ffg-info-modal__rating{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  opacity: .95;
}

.icon-google{
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 2px;
  border: 1px solid var(--fg-border);
  border-radius: 25px;
  background-color: var(--fg-surface);
}

.icon-google svg{
  position: relative;
  top: -4px;
  left: 2px;
  width: 12px;
}

.ffg-info-modal__google-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}

.ffg-info-modal__rating-value,
.ffg-info-modal__rating-count{
  color: var(--fg-text);
}

.ffg-info-modal__rating-count{
  font-size: 10px;
}

.ffg-info-modal__stars{
  display: inline-flex;
  gap: 0;
  width: auto;
  height: auto;
  background: none !important;
  color: #f2c94c;
  font-size: 12px;
  -webkit-mask: none !important;
  mask: none !important;
}

.ffg-info-modal__close{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: 1px solid var(--fg-border);
  border-radius: 999px;
  background: transparent;
  color: inherit;
}

.ffg-info-modal__close i{
  font-size: 20px;
}

.ffg-info-modal__body{
  padding: 6px 20px 40px;
}

.ffg-info-wrap{
  overflow: auto;
  max-height: calc(86vh - 90px);
}

.ffg-info-modal__section:first-child{
  margin-top: 0;
}

.ffg-info-modal__section-title{
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 28px 0 15px;
  font-size: 18px;
}

.ffg-info-modal__section-title.biztitle{
  padding-top: 15px;
}

.fas.ffg-info-ico:before{
  font-weight: 400;
  font-size: 16px;
}

.ffg-info-modal__card{
  padding: 20px;
  background: var(--fg-surface-2);
  border: 1px solid var(--fg-border);
  border-radius: var(--fg-radius);
}

.ffg-info-modal__card.bizdetails{
  display: flex;
  gap: 10px;
}

.ffg-info-modal__card .bizlocation{
  display: flex;
  width: 65%;
}

.ffg-info-modal__card .bizlocation .marker:before{
  content: '\f3c5';
  padding-right: 5px;
  font-family: 'Font Awesome 7 Pro';
  font-size: 16px;
  font-weight: 300;
  color: var(--fg-text-muted);
}

.ffg-info-modal__card .bizphone{
  display: flex;
  width: 35%;
  font-size: 14px;
}

.ffg-info-modal__card .bizphone .phone:before{
  content: '\f095';
  padding-right: 5px;
  font-family: 'Font Awesome 7 Pro';
  font-size: 16px;
  font-weight: 300;
  color: var(--fg-text-muted);
}

.ffg-info-modal__card .bizphone a{
  color: var(--fg-text);
  text-decoration: none;
}

.ffg-info-modal__map-wrap{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--fg-border);
  background: #111;
}

.ffg-info-modal__map{
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
}

.ffg-info-modal__map-text a{
  color: inherit;
  text-decoration: none;
}

/* Font Awesome icon mode only */
.ffg-info-ico{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

.ffg-info-ico--address,
.ffg-info-ico--phone,
.ffg-info-ico--alert,
.ffg-info-ico--clock,
.ffg-info-ico--badge{
  color: #ff7a18;
}

.ffg-opening-times__row{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--fg-border);
}

.ffg-opening-times__row:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}

.ffg-opening-times__day{
  font-weight: 700;
}

.ffg-opening-times__time{
  text-align: right;
  opacity: .95;
}

.ffg-info-modal__hygiene{
  display: flex;
  align-items: center;
  gap: 14px;
}

.ffg-info-modal__hygiene-img img{
  max-width: 110px;
  height: auto;
  border-radius: 10px;
}


/* =========================================================
   13) BASKET / FULFILMENT SUMMARY
   ========================================================= */

.ffg-fulfilment-summary{
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.ffg-fulfilment-summary.is-collapsed{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-10px);
}

.ffg-fulfilment-summary__icon,
.delay_time_icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--fg-text-muted);
}

.delay_time_icon::before{
  content: '\e0d2';
  font-family: 'Font Awesome 7 Pro';
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
}

.ffg-fulfilment-summary__icon::before{
  content: '\f017';
  font-family: 'Font Awesome 7 Pro';
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
}

.ffg-fulfilment-summary__content{
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
}

.ffg-fulfilment-summary__label,
.ffg-fulfilment-summary__time{
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
}

.ffg-fulfilment-summary__label{
  opacity: .9;
}

.ffg-fulfilment-summary__time{
  font-weight: 700;
  color: var(--fg-text);
}

.ffg-basket-meta-row{
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 11px 10px;
  color: var(--fg-text-muted);
  border-bottom: .2px solid var(--fg-border);
}

.delay_time_wrapper{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 0 0 auto;
  min-width: 0;
  margin-left: auto;
  transition: width .25s ease, margin .25s ease, transform .25s ease;
}

.delay_time_toggle{
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fg-text-muted);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  transition: color .2s ease, transform .25s ease;
}

.delay_time_toggle:hover,
.delay_time_toggle:focus{
  color: var(--fg-text);
  outline: none;
  box-shadow: none;
}

.delay_time_label_text{
  white-space: nowrap;
}

.delay_time_selector_shell{
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(16px);
  transition: max-width .25s ease, opacity .25s ease, transform .25s ease;
}

#delay_time_selector{
  width: 140px;
  min-width: 140px;
  height: 30px;
  padding: 0 10px;
  opacity: 1;
}

.delay_time_clear{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--fg-text-muted);
  font-size: 18px;
  line-height: 1;
}

.delay_time_clear:hover,
.delay_time_clear:focus{
  color: var(--fg-text);
  outline: none;
  box-shadow: none;
}

.delay_time_clear[hidden]{
  display: none !important;
}

.ffg-basket-meta-row.is-open .delay_time_wrapper,
.ffg-basket-meta-row.is-scheduled .delay_time_wrapper{
  width: 100%;
  justify-content: center;
  margin-left: 0;
}

.ffg-basket-meta-row.is-open .delay_time_toggle{
  justify-content: flex-start;
}

.ffg-basket-meta-row.is-open .delay_time_selector_shell{
  max-width: 180px;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.subtotal .summary-subtotal{
  display: flex;
}

.basket-summary-row{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.summary-subtotal.basket-summary-row{
  margin: 0;
  overflow: visible;
  padding: 14px 0 3px;
  border-top: 1px solid var(--fg-border);
  line-height: 1.2;
}

.summary-fee.basket-summary-row{
  margin: 0;
  overflow: visible;
}

#basket-fees .basket-summary-row{
  padding: 3px 0;
}

.summary-fee .fee-title,
.summary-fee .fee-value{
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--fg-text-muted);
}

.summary-fee .fee-title,
.subtotal-title,
.total-title{
  width: auto;
  max-width: calc(100% - 90px);
  text-align: left;
}

.summary-fee .fee-value{
  min-width: 90px;
  text-align: right;
}

.subtotal-title{
  color: var(--fg-text);
}

#basket-fees:empty{
  display: none;
}

.add-special{
  display: none !important;
}


/* =========================================================
   14) CHECKOUT SHELL / WOOCOMMERCE
   ========================================================= */

body.woocommerce-checkout:not(.wp-admin),
body.woocommerce-order-received:not(.wp-admin){
  background: var(--fg-bg) !important;
}

body.ffg-checkout-shell-active{
  background: transparent !important;
}

body.ffg-checkout-shell-active footer.footer,
body.ffg-checkout-shell-active .callout,
body.ffg-checkout-shell-active .page-title,
body.ffg-checkout-shell-active .hero,
body.ffg-checkout-shell-active .bread-crumb,
body.woocommerce-order-received .site-header,
body.woocommerce-checkout .footer,
body.woocommerce-order-received .footer,
body.woocommerce-checkout .entry-header,
body.woocommerce-order-received .entry-header,
body.woocommerce-checkout .entry-footer,
body.woocommerce-order-received .entry-footer,
body.woocommerce-checkout .edit-link,
body.woocommerce-order-received .edit-link,
body.ffg-checkout-shell-active header,
body.woocommerce-checkout .site-header {
  display: none !important;
}
body.woocommerce-checkout .ffg-account-modal__header {
	display:flex !important;
}
body.woocommerce-checkout .ffg-account-form__switch {
	display: none;
}

.ffg-checkout-page-shell{
  position: relative;
  display: flex;
  align-items: flex-start !important;
  justify-content: center;
  min-height: var(--ffg-app-height, 100vh);
  min-height: calc(var(--ffg-app-height, 100vh) + var(--ffg-viewport-offset-top, 0px));
  padding: 18px 16px 24px !important;
  overflow: hidden;
}

.ffg-checkout-page-shell::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(8,8,10,.62), rgba(8,8,10,.62)),
    var(--ffg-checkout-bg, none) center/cover no-repeat;
}

.ffg-checkout-page-shell__overlay{
  position: fixed;
  inset: 0;
  z-index: 1;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ffg-checkout-page-shell__inner{
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start !important;
  width: 100%;
  padding-top: 0 !important;
}

.ffg-checkout-modal-shell{
  width: min(100%, 612px) !important;
  margin: 0 auto !important;
}

.ffg-checkout-modal-card{
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: calc(var(--ffg-app-height, 100dvh) - 70px) !important;
  overflow: hidden !important;
  background: var(--fg-surface);
  color: var(--fg-text);
  border: 1px solid var(--fg-border);
  border-radius: 28px !important;
  box-shadow: var(--fg-shadow);
}

.ffg-checkout-modal-card__header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 20px;
	background: var(--fg-surface);
	border-bottom: 1px solid var(--fg-border);
	min-height: 80px;
}

.ffg-checkout-modal-card__title{
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
}

.ffg-checkout-modal-card__close{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	cursor: pointer;
	border: 1px solid var(--fg-border);
	border-radius: 999px;
	background: transparent;
	color: inherit;
}
.ffg-checkout-modal-card__close i {
    font-size: 20px;
}

.ffg-checkout-modal-card__close:hover{
  color: var(--fg-text);
  text-decoration: none;
}

.ffg-checkout-modal-card__body{
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 18px 20px 0;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	overflow-x: hidden;
}

.ffg-checkout-form{
  margin: 0;
}

.ffg-checkout-content > .back-btn{
  margin: 0 0 14px;
}

.ffg-checkout-content > .back-btn a{
  color: var(--fg-text-muted);
  text-decoration: none;
  font-size: 15px;
}

.ffg-checkout-content > .back-btn a:hover{
  color: var(--fg-text);
}

body.woocommerce-checkout .ffg-checkout-content{
  display: flex;
  flex-direction: column;
}

body.woocommerce-checkout .ffg-checkout-card--primary,
body.woocommerce-checkout #payment {
  background: var(--fg-surface-2) !important;
  border: 1px solid var(--fg-border) !important;
  border-radius: 28px !important;
  box-shadow: none !important;
  padding: 30px 20px 30px;
  margin-bottom: 18px;
}

body.woocommerce-checkout .woocommerce-additional-fields{
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.woocommerce-checkout .ffg-checkout-section + .ffg-checkout-section,
body.woocommerce-checkout .ffg-checkout-section--coupon{
  border-top: 1px solid var(--fg-surface-border);
}
body.woocommerce-checkout .ffg-checkout-section--order-details{
  padding-top: 0;
  padding-bottom: 20px;
}
body.woocommerce-checkout .ffg-checkout-section__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 25px;
}
body.woocommerce-checkout .ffg-checkout-section--details .ffg-checkout-section__head {
  padding-top:25px;
}

body.woocommerce-checkout .woocommerce-additional-fields .notes label,
body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon,
body.woocommerce-checkout #payment::before,
body.woocommerce-checkout .woocommerce-checkout-review-order-table::before{
  color: var(--fg-text);
  font-size: 16px !important;
  line-height: 1.2;
  font-weight: 700 !important;
}

body.woocommerce-checkout .ffg-checkout-section__title{
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 20px;
	font-weight: 500;
}

body.woocommerce-checkout .ffg-checkout-section__icon{
	color: #ff7a18;
    font-size: 22px;
}

body.woocommerce-checkout .delivery-method .after{
  display: none !important;
  margin-left: auto;
}

body.woocommerce-checkout .delivery-error{
  margin: -6px 0 12px;
}

.delivery-method .after{
  display: none !important;
}

body.woocommerce-checkout .delivery-method .icon.moppet {
    -webkit-mask: url(../icons/moppet.svg) no-repeat center;
    -webkit-mask-size: contain;
    mask: url(../icons/moppet.svg) no-repeat center;
    mask-size: contain;
}
body.woocommerce-checkout .delivery-method .icon.bag {
    -webkit-mask: url(../icons/bag.svg) no-repeat center;
    -webkit-mask-size: contain;
    mask: url(../icons/bag.svg) no-repeat center;
    mask-size: contain;
}
body.woocommerce-checkout .delivery-method .icon {
	flex: 0 0 auto;
	margin-top: 2px;
	width: 22px;
    height: 22px;
	background-color: var(--fg-text);
} 
body.woocommerce-checkout .ffg-fulfilment-line {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
body.woocommerce-checkout .ffg-fulfilment-line__title {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 18px;
	color: var(--fg-text);
}
body.woocommerce-checkout .ffg-fulfilment-line__meta{
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 16px;
	color: var(--fg-text-muted);
}

.ffg-fulfilment-line__meta strong{
  font-weight: 400 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields{
  position: relative;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3{
  display: none !important;
}

body.woocommerce-checkout .address_box{
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

body.woocommerce-checkout .address_box .address_wrapper{
  display: flex;
  flex-direction: column;
  gap: 10px !important;
  padding-bottom: 20px;
}

.address_box .address_wrapper > div{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 16px;
  color: var(--fg-text);
}
.address_box .address_wrapper .phone span {
  color: var(--fg-text) !important;
}

.address_box .address_wrapper i{
  width: 20px;
  margin-top: 3px;
  color: var(--fg-text-muted);
}

.address_box .address_wrapper span{
  display: block;
  line-height: 1.45;
}
.namewrap {
    display: inline-flex;
    gap: 6px;
}

.ffg-address-indent{
  padding-left:36px;
  margin-top:-10px;
}
body.woocommerce-checkout .ffg-checkout-details-form.show_address_box{
  display: none;
  height: 0;
  overflow: hidden;
}
body.woocommerce-checkout .ffg-checkout-section--details.is-editing .address_box,
body.woocommerce-checkout .ffg-checkout-section--details.is-editing .show_address_form{
  display: none !important;
}

body.woocommerce-checkout .ffg-checkout-section--details.is-editing .ffg-checkout-details-cancel{
  display: block !important;
}

body.woocommerce-checkout .ffg-checkout-section--details.is-editing .ffg-checkout-details-form.show_address_box{
  display: block !important;
  height: auto;
}

body.woocommerce-checkout .show_address_form{
  position: relative;
  top: 0;
  right: 5px;
  margin: 0 !important;
}

body.woocommerce-checkout .show_address_form a{
  color: var(--fg-text) !important;
  font-size: 0 !important;
  text-decoration: none !important;
}

body.woocommerce-checkout .show_address_form a i{
  font-size: 20px;
  color: var(--fg-text-muted);
}

body.woocommerce-checkout .showcoupon.slidecoupon{
  pointer-events: auto;
}

body.woocommerce-checkout .woocommerce-additional-fields .notes label{
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  padding: 0 !important;
}

body.woocommerce-checkout .woocommerce-additional-fields .notes label::before{
  content: "\f249";
  margin-right: 12px;
  font-family: "Font Awesome 7 Pro";
  font-weight: 400;
  color: var(--fg-brand);
}

body.woocommerce-checkout .woocommerce-additional-fields .notes label::after,
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::after{
  content: "\f054";
  margin-left: auto;
  font-family: "Font Awesome 6 Pro","Font Awesome 6 Free";
  font-weight: 400;
  color: var(--fg-text-muted);
}

body.woocommerce-checkout .woocommerce-additional-fields .notes .optional{
  display: none;
}

#order_comments{
  display: none;
  min-height: 110px;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon{
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fg-text);
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before{
  content: "\f02b";
  position: static !important;
  font-family: "Font Awesome 5 Pro","Font Awesome 6 Pro","Font Awesome 6 Free";
  font-weight: 400;
  color: var(--fg-brand);
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon{
  color: var(--fg-text) !important;
}

.checkout_coupon{
  display: none;
}

.checkout_coupon .form-row-first{
  margin-bottom: 0 !important;
}

body.woocommerce-checkout form.checkout_coupon .form-row-first,
body.woocommerce-checkout form.checkout_coupon .form-row-last{
  width: 100%;
  float: none;
}

body.woocommerce-checkout form.checkout_coupon .button{
  min-height: 44px;
  border-radius: 12px;
}

.ffg-order-summary-toggle{
  display: block;
  margin: 2px 0 16px;
  color: var(--fg-text);
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

body.woocommerce-checkout #payment{
  margin: 0 0 30px;
}

body.woocommerce-checkout #payment::before{
  content: "Payment options";
  display: block;
  margin-bottom: 16px;
}

body.woocommerce-checkout #payment .coupon-position{
  display: none !important;
}

body.woocommerce-checkout #payment div.payment_box{
  background: transparent !important;
  color: var(--fg-text) !important;
}

body.woocommerce-checkout #payment div.payment_box::before{
  display: none !important;
}

body.woocommerce-checkout #payment .place-order{
  padding-top: 10px !important;
}

body.woocommerce-checkout #payment .wc_payment_methods{
  margin-bottom: 16px !important;
}

body.woocommerce-checkout #payment .terms,
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout #payment .wc-privacy-policy-text{
  color: var(--fg-text-muted);
}

body.woocommerce-checkout #payment .wc-privacy-policy-text{
  max-width: 360px;
  margin: 14px auto 0 !important;
  text-align: center;
}

body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper{
  margin-top: 12px;
}

body.woocommerce-checkout .wc_payment_methods_label{
  margin-top: 0;
}

body.woocommerce-checkout .wc_payment_methods_label li,
body.woocommerce-checkout .wc_payment_methods li{
  background: transparent;
  border-color: var(--fg-surface-border);
}

body.woocommerce-checkout .wc_payment_methods_label label{
  color: var(--fg-text);
}
div#apple-pay-button-container, #apple-pay-button {
	border-radius: 50px !important;
}

body.woocommerce-checkout button#place_order{
  width: 100%;
  min-height: 56px !important;
  border: 0;
  border-radius: 999px;
  background: #000 !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select,
body.woocommerce-checkout .select2-container--default .select2-selection--single{
	width: 100%;
	min-height: 48px;
	padding: 12px 18px;
	font-size: 16px;
	border: 1px solid var(--form-border);
	border-radius: 14px;
	background: var(--fg-surface-2);
	color: var(--fg-text);
	box-shadow: none !important;
}
.woocommerce form .form-row .input-text:focus, .woocommerce form .form-row select:focus {
    border-color: var(--form-border) !important;
}
.woocommerce form .form-row.woocommerce-validated input.input-text, .woocommerce form .form-row.woocommerce-validated select {
	border-color: var(--form-border) !important;
}

body.woocommerce-checkout .form-row label,
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title{
  color: var(--fg-text);
}

/* Checkout Your Details minimal controls */
body.woocommerce-checkout .ffg-checkout-section--details .ffg-checkout-section__head{
  position: relative;
}
body.woocommerce-checkout .ffg-checkout-details-cancel{
  margin-left: auto;
}
body.woocommerce-checkout .ffg-checkout-details-cancel a{
  color: var(--fg-text-muted);
  text-decoration: none;
  font-size: 16px;
}
body.woocommerce-checkout .ffg-checkout-section--details .woocommerce-billing-fields__field-wrapper{
  display: none;
  height: 0;
  overflow: hidden;
}
body.woocommerce-checkout .ffg-checkout-section--details.is-editing .woocommerce-billing-fields__field-wrapper{
  display: block;
  height: auto;
  max-height: none;
  min-height: 0;
  overflow: visible;
}
body.woocommerce-checkout .ffg-checkout-section--details .address_box,
body.woocommerce-checkout .ffg-checkout-section--details .show_address_form{
  max-height: none;
}
body.woocommerce-checkout .ffg-checkout-section--details .ffg-checkout-details-actions{
  display: none;
}
body.woocommerce-checkout .ffg-checkout-section--details .ffg-checkout-details-actions .ffg-checkout-details-save{
	min-width: 235px;
	min-height: 48px;
	margin-top: 5px;
    margin-bottom: 30px;
	padding: 0 26px;
	cursor: pointer;
	border: 0;
	border-radius: 999px;
	background: var(--fg-text-muted);
	color: var(--active-text);
	font-size: 16px;
	font-weight: 400;
	transition: opacity .18s ease, transform .18s ease;
}

/* ---------------------------------------------------*/
/* -------- Thank You Page - Order received ----------*/
/* ---------------------------------------------------*/

body.woocommerce-order-received .ffg-checkout-modal-shell{
  width: min(100%, 612px) !important;
}

body.woocommerce-order-received .woocommerce-order section{
    background: var(--fg-surface-2) !important;
    border: 1px solid var(--fg-border) !important;
    border-radius: 28px !important;
    box-shadow: none !important;
    padding: 30px 20px 30px;
    margin-bottom: 18px;
}

body.woocommerce-order-received .woocommerce-order section:last-of-type{
  margin-bottom: 60px;
}

body.woocommerce-order-received .ffg-thankyou-card--guest-account.is-success-state{
  scroll-margin-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px);
}

body.woocommerce-order-received .ffg-thankyou-card--guest-account.is-success-state .ffg-thankyou-guest-account{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 140px;
}
body.woocommerce-order-received .woocommerce-notice--success{
	margin: 0 0 15px !important;
	color: #ff2b2b;
	font-size: 22px;
	font-weight: 500;
}
.ffg-thankyou-meta-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 20px;
}
.ffg-thankyou-meta-grid__item{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 85px;
  padding: 10px;
  border: 1px solid var(--fg-border);
  border-radius: var(--fg-radius);
}
.ffg-thankyou-meta-grid__label{
	margin-bottom: 8px;
	font-size: 10px;
	line-height: 1.2;
	font-weight: 400;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--fg-text-muted);
}
.ffg-thankyou-meta-grid__value{
  font-size:14px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--fg-text);
  word-break: break-word;
  display:block;
}
/* ETA banner */
.ffg-thankyou-eta{
  margin-top: 8px;
  padding: 18px 22px;
  border: 2px dashed var(--form-border);
  border-radius: 999px;
}
.ffg-thankyou-eta p{
  color: var(--fg-text);
  text-align: center;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}
.ffg-thankyou-eta p strong{
  font-weight: 700;
}
body.woocommerce-order-received .shop_table{
	margin: 0 !important;
	border: 1px solid var(--fg-border);
	border-radius: var(--fg-radius);
}
body.woocommerce-order-received .shop_table thead tr th{
	border-bottom: 1px solid var(--fg-border);
	font-size: 16px;
	font-weight: 500;
}
body.woocommerce-order-received .shop_table tfoot th,
body.woocommerce-order-received .shop_table tfoot td {
	border:none;
	padding: 2px 12px;
	font-weight: 400;
	color: var(--fg-text-muted);
}
body.woocommerce-order-received .shop_table tfoot .ffg-thankyou-total-row--payment_method,
body.woocommerce-order-received .shop_table .wc-item-meta-label {
	display: none !important;
}
body.woocommerce-order-received td.product-name .wc-item-meta, 
body.woocommerce-order-received td.product-name dl.variation {
	padding-left: 0;
	color: var(--fg-text-muted);
}

body.woocommerce-order-received .shop_table tfoot .ffg-thankyou-total-row--cart_subtotal th, 
body.woocommerce-order-received .shop_table tfoot  .ffg-thankyou-total-row--cart_subtotal td{
	padding-top: 12px;
	border-top: 1px solid var(--fg-border);
}
body.woocommerce-order-received .shop_table tfoot tr.ffg-thankyou-total-row--order_total th,
body.woocommerce-order-received .shop_table tfoot tr.ffg-thankyou-total-row--order_total td {
	padding-bottom: 12px;
	font-size: 16px;
	font-weight: 500;
	color: var(--fg-text);
}
body.woocommerce-order-received .shop_table tfoot tr:last-child th,
body.woocommerce-order-received .shop_table tfoot tr:last-child td {
	padding-bottom:15px;
}


body.woocommerce-order-received .shop_table tr th:nth-child(2) {
  width: 40%;
}
body.woocommerce-order-received .shop_table td {
    vertical-align: top;
    border:none;
	font-weight: 400;
}
body.woocommerce-order-received h2 {
	font-size:20px;
	padding: 0 0 15px 5px;
    margin-bottom: 0;
}
body.woocommerce-order-received h2 i {
	color: #ff7a18;
    font-size: 22px;
	padding-right: 5px;
}
.ffg-checkout-details-summary.ffg-checkout-details-summary--thankyou {
	display: flex;
	flex-direction:column;
	align-items: flex-start;
	gap: 10px;
}
.ffg-checkout-details-summary.ffg-checkout-details-summary--thankyou .ffg-checkout-details-summary__row {
	display: flex;
	font-size: 16px;
	gap: 16px;
}
.ffg-checkout-details-summary__content.city,
.ffg-checkout-details-summary__content.postcode {
	padding-left: 20px;
	margin-top: -10px;
}

/* =========================================================
   THANK YOU – IOS / MOBILE MODAL SIZING
   ========================================================= */

body.woocommerce-order-received .ffg-checkout-modal-shell--thankyou{
	min-height: var(--ffg-app-height, 100dvh);
}

body.woocommerce-order-received .ffg-checkout-modal-card--thankyou{
	display: flex;
	flex-direction: column;
	height: var(--ffg-app-height, 100dvh);
	min-height: var(--ffg-app-height, 100dvh);
	max-height: var(--ffg-app-height, 100dvh) !important;
}

body.woocommerce-order-received .ffg-checkout-modal-card--thankyou .ffg-checkout-modal-card__body{
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
}

body.woocommerce-order-received .ffg-checkout-modal-card--thankyou .woocommerce-order.ffg-thankyou{
	min-height: 0;
}

@media (max-width: 767px){
	body.woocommerce-order-received .ffg-checkout-modal-shell--thankyou{
		min-height: var(--ffg-app-height, 100dvh);
	}

	body.woocommerce-order-received .ffg-checkout-modal-card--thankyou{
		width: 100vw;
		width: 100dvw;
		height: var(--ffg-app-height, 100dvh);
		min-height: var(--ffg-app-height, 100dvh);
		max-height: var(--ffg-app-height, 100dvh) !important;
		margin: 0 !important;
		border-radius: 0 !important;
	}

	body.woocommerce-order-received .ffg-checkout-modal-card--thankyou .ffg-checkout-modal-card__body{
		padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
	}

/*	body.woocommerce-order-received .ffg-checkout-modal-card--thankyou .ffg-thankyou-card:last-child{
		margin-bottom: 12px;
	} */
    body.woocommerce-order-received #ffg-thankyou-guest-account {
	scroll-margin-top: 20px;
	scroll-margin-bottom: 60px;
	}
}


/* ===== Checkout notes + coupon ===== */

body.woocommerce-checkout .ffg-checkout-card--primary{
  display: flex;
  flex-direction: column;
}

body.woocommerce-checkout .ffg-checkout-section--notes{
  order: 3;
  margin-top:5px
}

body.woocommerce-checkout .ffg-checkout-section--coupon{
  order: 4;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid var(--fg-border);
}

body.woocommerce-checkout .ffg-checkout-section--notes,
body.woocommerce-checkout .ffg-checkout-section--coupon{
  border-top: 1px solid var(--fg-surface-border);
}

body.woocommerce-checkout .ffg-checkout-section--notes .ffg-checkout-accordion__trigger{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 25px 0;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: left;
  box-shadow: none;
  color: var(--fg-text) !important;
}
body.woocommerce-checkout .ffg-checkout-section--coupon .ffg-checkout-accordion__trigger,
body.woocommerce-checkout .ffg-checkout-coupon > .ffg-checkout-accordion__trigger{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 25px 0 5px;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: left;
  box-shadow: none;
  color: var(--fg-text) !important;
}

body.woocommerce-checkout .ffg-checkout-section--notes .ffg-checkout-accordion__trigger:hover,
body.woocommerce-checkout .ffg-checkout-section--coupon .ffg-checkout-accordion__trigger:hover,
body.woocommerce-checkout .ffg-checkout-coupon > .ffg-checkout-accordion__trigger:hover{
  background: transparent;
}

body.woocommerce-checkout .ffg-checkout-section--notes .ffg-checkout-section__title,
body.woocommerce-checkout .ffg-checkout-section--coupon .ffg-checkout-section__title,
body.woocommerce-checkout .ffg-checkout-coupon .ffg-checkout-section__title{
  font-size: 20px;
  line-height: 1.1;
  font-weight: 500;
  margin: 0;
}

body.woocommerce-checkout .ffg-checkout-accordion__chevron{
  flex: 0 0 auto;
  color: var(--fg-text);
  font-size: 24px;
  line-height: 1;
  transition: transform .2s ease;
}

body.woocommerce-checkout [data-ffg-accordion].is-open > .ffg-checkout-accordion__trigger .ffg-checkout-accordion__chevron{
  transform: rotate(90deg);
}

body.woocommerce-checkout .ffg-checkout-accordion__panel{
  display: none;
  padding: 0;
  margin-top: 20px;
  width:100%;
}
body.woocommerce-checkout .couponwrap  {
	display: flex;
	flex-direction:column;
	align-items: flex-start;
	gap: 12px;
	}
.couponwrap .form-row.form-row-first {
	width: 100% !important;
}
body.woocommerce-checkout .ffg-checkout-notes-panel{
  margin-top: -15px;
}

body.woocommerce-checkout .ffg-checkout-notes-panel textarea#order_comments{
  display: block !important;
  width: 100%;
  min-height: 112px;
  resize: vertical;
  margin: 0;
  border: 1px solid var(--form-border) !important;
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--fg-surface-2);
  color: var(--fg-text);
  box-shadow: none;
  font-size: 16px;
}

body.woocommerce-checkout .ffg-checkout-notes-actions{
  margin-top: 20px;
  margin-bottom: 30px
}

body.woocommerce-checkout .ffg-checkout-notes-save{
	min-width: 235px;
	min-height: 48px;
	padding: 0 26px;
	cursor: pointer;
	border: 0;
	border-radius: 999px;
	background: var(--fg-text-muted);
	color: var(--active-text);
	font-size: 16px;
	font-weight: 400;
	transition: opacity .18s ease, transform .18s ease;
}

body.woocommerce-checkout .ffg-checkout-coupon .woocommerce-form-coupon{
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .ffg-checkout-coupon .form-row{
  float: none;
  margin: 0 !important;
}

body.woocommerce-checkout .ffg-checkout-coupon .form-row-first{
  flex: 1 1 auto;
}

body.woocommerce-checkout .ffg-checkout-coupon .form-row-last{
  flex: 0 0 auto;
}

body.woocommerce-checkout .ffg-checkout-coupon #coupon_code{
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 16px;
    border: 1px solid var(--form-border) !important;
    border-radius: 14px;
    background: var(--fg-surface-2);
    color: var(--fg-text);
    box-shadow: none !important;
}

body.woocommerce-checkout .ffg-checkout-coupon button[name="apply_coupon"]{
	min-width: 235px;
	min-height: 48px;
	padding: 0 26px;
	cursor: pointer;
	border: 0;
	border-radius: 999px;
	background: var(--fg-text-muted);
	color: var(--active-text);
	font-size: 16px;
	font-weight: 400;
	transition: opacity .18s ease, transform .18s ease;
}

body.woocommerce-checkout .ffg-checkout-coupon .clear,
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .ffg-order-summary-toggle{
  display: none !important;
}




/* ===== Checkout coupon + order summary ===== */

body.woocommerce-checkout .ffg-checkout-coupon .woocommerce-form-coupon{
  display: block;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .ffg-checkout-coupon .couponwrap{
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

body.woocommerce-checkout .ffg-checkout-coupon .form-row{
  width: 100%;
  float: none;
  margin: 0 !important;
}

body.woocommerce-checkout .ffg-checkout-coupon #coupon_code{
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  font-size: 16px;
  border: 1px solid var(--form-border) !important;
  border-radius: 14px;
  background: var(--fg-surface-2);
  color: var(--fg-text);
  box-shadow: none !important;
}

body.woocommerce-checkout .ffg-checkout-coupon button[name="apply_coupon"]{
  min-width: 235px;
  min-height: 48px;
  padding: 0 26px;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: var(--fg-text-muted);
  color: var(--active-text);
  font-size: 16px;
  font-weight: 400;
  transition: opacity .18s ease, transform .18s ease;
}

body.woocommerce-checkout .ffg-checkout-order-summary{
  background: var(--fg-surface-2) !important;
  border: 1px solid var(--fg-border) !important;
  border-radius: 28px !important;
  box-shadow: none !important;
  padding: 20px 20px 30px;
  margin-bottom: 18px;
}

body.woocommerce-checkout .ffg-checkout-order-summary .woocommerce-checkout-review-order-table{
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border-collapse: collapse;
  border-spacing: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table::before{
  content: none !important;
  display: none !important;
}

body.woocommerce-checkout .ffg-checkout-order-summary .cart_item{
  display: none !important;
}

body.woocommerce-checkout .ffg-checkout-order-summary th,
body.woocommerce-checkout .ffg-checkout-order-summary td{
  padding: 6px 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 16px;
  line-height: 1.35;
  color: var(--fg-text-muted);
  vertical-align: top;
}

body.woocommerce-checkout .ffg-checkout-order-summary tbody tr:first-child th,
body.woocommerce-checkout .ffg-checkout-order-summary tbody tr:first-child td{
  padding-top: 0 !important;
}

body.woocommerce-checkout .ffg-checkout-order-summary th{
  font-weight: 500;
  text-align: left;
}

body.woocommerce-checkout .ffg-checkout-order-summary td{
  text-align: right;
  white-space: normal;
}

body.woocommerce-checkout .ffg-checkout-order-summary .cart-subtotal th,
body.woocommerce-checkout .ffg-checkout-order-summary .cart-subtotal td{
  color: var(--fg-text);
  font-weight: 600;
}

body.woocommerce-checkout .ffg-checkout-order-summary .fee th,
body.woocommerce-checkout .ffg-checkout-order-summary .fee td,
body.woocommerce-checkout .ffg-checkout-order-summary .shipping th,
body.woocommerce-checkout .ffg-checkout-order-summary .shipping td,
body.woocommerce-checkout .ffg-checkout-order-summary .cart-discount th,
body.woocommerce-checkout .ffg-checkout-order-summary .cart-discount td,
body.woocommerce-checkout .ffg-checkout-order-summary .tax-rate th,
body.woocommerce-checkout .ffg-checkout-order-summary .tax-rate td,
body.woocommerce-checkout .ffg-checkout-order-summary .tax-total th,
body.woocommerce-checkout .ffg-checkout-order-summary .tax-total td{
  color: var(--fg-text-muted);
  font-weight: 500;
}

body.woocommerce-checkout .ffg-checkout-order-summary .order-total th,
body.woocommerce-checkout .ffg-checkout-order-summary .order-total td{
  padding-top: 12px !important;
  color: var(--fg-text);
  font-size: 18px !important;
  font-weight: 700 !important;
}

body.woocommerce-checkout .ffg-checkout-order-summary .order-total .amount{
  color: #e34a4a !important;
  font-weight: 500;
}

body.woocommerce-checkout .ffg-checkout-order-summary ul#shipping_method{
  margin: 0;
  padding: 0;
  list-style: none;
}

body.woocommerce-checkout .ffg-checkout-order-summary ul#shipping_method li{
  margin: 0;
  color: inherit;
}

body.woocommerce-checkout .ffg-checkout-order-summary ul#shipping_method input{
  display: none !important;
}

body.woocommerce-checkout .ffg-checkout-order-summary ul#shipping_method label{
  color: inherit;
  font-weight: inherit;
  cursor: default;
}

body.woocommerce-checkout .ffg-checkout-order-summary .shipping-calculator-button,
body.woocommerce-checkout .ffg-checkout-order-summary small,
body.woocommerce-checkout .ffg-checkout-order-summary .woocommerce-shipping-destination{
  display: none !important;
}

body.woocommerce-checkout .ffg-checkout-order-summary .amount{
  color: inherit;
}

body.woocommerce-checkout .ffg-checkout-order-summary .cart-discount a.woocommerce-remove-coupon{
  margin-left: 8px;
  color: var(--fg-brand);
}

body.woocommerce-checkout .ffg-checkout-order-summary .cart-discount a.woocommerce-remove-coupon:hover{
  color: var(--fg-brand);
}


/* ===== Checkout order summary static wrapper ===== */
body.woocommerce-checkout .ffg-checkout-review-order{
  display: flex;
  flex-direction: column;
}

body.woocommerce-checkout .ffg-checkout-order-summary{
  background: var(--fg-surface-2) !important;
  border: 1px solid var(--fg-border) !important;
  border-radius: 28px !important;
  box-shadow: none !important;
  padding: 30px 20px 30px;
  margin-bottom: 18px;
}

body.woocommerce-checkout .ffg-checkout-order-summary .woocommerce-checkout-review-order-table{
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border-collapse: collapse;
  border-spacing: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .ffg-checkout-order-summary .woocommerce-checkout-review-order-table::before{
  content: none !important;
  display: none !important;
}


/* ===== Checkout order summary items toggle ===== */

body.woocommerce-checkout .ffg-order-items-toggle{
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fg-text);
  font-size: 14px;
  line-height: 1.3;
  text-decoration: underline;
  cursor: pointer;
}

body.woocommerce-checkout .ffg-order-items-toggle:hover{
  color: var(--fg-text);
  opacity: .85;
}

body.woocommerce-checkout .ffg-order-items-panel{
  margin-top: 14px;
}

body.woocommerce-checkout .ffg-order-items-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.woocommerce-checkout .ffg-order-item{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  color: var(--fg-text-muted);
}

body.woocommerce-checkout .ffg-order-item__main{
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

body.woocommerce-checkout .ffg-order-item__name{
  color: var(--fg-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}

body.woocommerce-checkout .ffg-order-item__qty{
  color: var(--fg-text-muted);
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}

body.woocommerce-checkout .ffg-order-item__total{
  color: var(--fg-text-muted);
  font-size: 14px;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

body.woocommerce-checkout .ffg-order-item__meta{
  grid-column: 1 / -1;
  color: var(--fg-text-muted);
  font-size: 12px;
  line-height: 1.4;
}

body.woocommerce-checkout .ffg-order-item__meta dl{
  margin: 0;
}

body.woocommerce-checkout .ffg-order-item__meta p{
  margin: 0;
}

body.woocommerce-checkout .ffg-order-summary-divider{
  margin: 25px 0 18px;
  border-top: 1px solid var(--fg-surface-border);
}

body.woocommerce-checkout .ffg-checkout-order-summary .woocommerce-checkout-review-order-table{
  margin-top: 0 !important;
}

/* ===== Checkout payment heading ===== */
body.woocommerce-checkout #payment::before{
  content: none !important;
  display: none !important;
}

body.woocommerce-checkout #payment .ffg-checkout-section__head--payment{
  margin-bottom: 5px;
}


/* ===== Checkout details validation + guest state ===== */
body.woocommerce-checkout .ffg-checkout-section--details.is-editing .woocommerce-billing-fields__field-wrapper{
  display: block;
  height: auto !important;
  overflow: visible !important;
}

body.woocommerce-checkout .ffg-checkout-section--details.is-editing .ffg-checkout-details-actions{
  display: flex;
  align-items: center;
  gap: 16px;
}

body.woocommerce-checkout .ffg-checkout-section--details.is-guest .ffg-checkout-details-cancel{
  display: none !important;
}

body.woocommerce-checkout .ffg-checkout-section--details .ffg-inline-error{
  margin: 10px 0 0;
  color: #ef4444;
  font-size: 14px;
  line-height: 1.4;
}

body.woocommerce-checkout .ffg-checkout-section--details .ffg-field-invalid{
  border-color: #b91c1c !important;
}

body.woocommerce-checkout .ffg-checkout-section--details .address_box{
  margin-bottom: 0;
}


/* ===== Checkout details validation / guest summary fixes ===== */
body.woocommerce-checkout .ffg-checkout-section--details .address_box{
  display:block;
}
body.woocommerce-checkout .ffg-checkout-section--details.is-editing .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .ffg-checkout-section--details.is-editing .ffg-checkout-details-actions{
  display:block !important;
}
body.woocommerce-checkout .ffg-checkout-section--details .woocommerce-billing-fields__field-wrapper{
  height:auto;
  overflow:visible;
}


/* ===== Checkout details login link ===== */
body.woocommerce-checkout .ffg-checkout-details-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
body.woocommerce-checkout .ffg-checkout-details-actions .ffg-checkout-details-login-link{
  color: var(--fg-text-muted);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  float: right;
  margin: 20px;
}
body.woocommerce-checkout .ffg-checkout-details-actions .ffg-checkout-details-login-link:hover{
  color: var(--fg-text);
}
body.woocommerce-checkout #order_review {
	margin-bottom: 30px;
}


/* =========================================================
   DELIVERY ERROR STYLING
   ========================================================= */

.ffg-checkout-delivery-zone-error{
	display: block;
	width: 100%;
	margin: 0 0 20px;
	padding: 14px 16px;
	background: rgba(255, 82, 120, 0.12);
    border: 1px solid rgba(255, 82, 120, 0.22);
    color: var(--fg-text);
    border-radius: var(--fg-radius);
}

body.woocommerce-checkout .ffg-checkout-delivery-zone-error:not(.is-visible){
  display: none;
}

body.woocommerce-checkout .ffg-checkout-delivery-zone-error strong{
  display: block;
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--fg-text);
}

body.woocommerce-checkout .ffg-checkout-delivery-zone-error span{
  display: block;
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--fg-text);
}

body.woocommerce-checkout .ffg-checkout-section--details .ffg-checkout-details-actions .ffg-checkout-details-save.is-disabled,
body.woocommerce-checkout .ffg-checkout-section--details .ffg-checkout-details-actions .ffg-checkout-details-save:disabled,
body.woocommerce-checkout button#place_order.is-disabled,
body.woocommerce-checkout button#place_order:disabled{
  opacity: .35 !important;
  cursor: not-allowed !important;
  transform: none !important;
}


/* Delivery zone invalid state: lock payment method switching / wallet buttons */
body.woocommerce-checkout #payment.ffg-payment-disabled .wc_payment_methods_label,
body.woocommerce-checkout #payment.ffg-payment-disabled .wc_payment_methods,
body.woocommerce-checkout #payment.ffg-payment-disabled .payment_box,
body.woocommerce-checkout #payment.ffg-payment-disabled #apple-pay-button-container,
body.woocommerce-checkout #payment.ffg-payment-disabled #apple-pay-button,
body.woocommerce-checkout #payment.ffg-payment-disabled .wc-stripe-payment-request-wrapper,
body.woocommerce-checkout #payment.ffg-payment-disabled .wc-stripe-express-checkout-element,
body.woocommerce-checkout #payment.ffg-payment-disabled .woocommerce-payments-express-checkout,
body.woocommerce-checkout #payment.ffg-payment-disabled .wcpay-payment-request-button,
body.woocommerce-checkout #payment.ffg-payment-disabled [id*="google-pay"],
body.woocommerce-checkout #payment.ffg-payment-disabled [class*="google-pay"],
body.woocommerce-checkout #payment.ffg-payment-disabled [id*="apple-pay"],
body.woocommerce-checkout #payment.ffg-payment-disabled [class*="apple-pay"],
body.woocommerce-checkout #payment.ffg-payment-disabled [class*="payment-request"]{
  pointer-events: none !important;
  opacity: 0.6;
}

body.woocommerce-checkout #payment.ffg-payment-disabled .wc_payment_methods_label label,
body.woocommerce-checkout #payment.ffg-payment-disabled .wc_payment_methods label{
  cursor: not-allowed;
}



/* ===== Checkout login modal support ===== */
body.woocommerce-checkout .ffg-site-menu{
  z-index: 9999;
}



/* =========================================================
   Footer
   ========================================================= */

.footer{
  display: block !important;
}

.ffg-footer-business{
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.ffg-footer-business__logo img{
  display: block;
  width: 100%;
  height: auto;
  margin-top:10px;
}

.ffg-footer-business__contact{
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding-bottom: 5px;
}
.ffg-footer-business__row.footphone {
    font-size: 24px;
}
.ffg-footer-business__row.footmail {
	font-weight: 400;
	font-size: 16px;
}

.ffg-footer-business__row{
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}
.ffg-footer-business__row.footaddress {
	align-items: flex-start;
	font-weight: 400;
}
.ffg-footer-business__row.footaddress i {
	padding-top:7px;
}
.ffg-footer-business__row a{
  color: #fff;
  text-decoration: none !important;
}
.ffg-footer-business__row a:hover{
  text-decoration: underline;
}
.ffg-footer-business__icon{
  color: var(--ffg-footer-icon-color, var(--ffg-primary, var(--fg-primary, #ff4d7a)));
  font-size: 1.2rem;
  line-height: 1;
}
.ffg-footer-business__icon i {
  font-weight:500 !important;
}
.copyright p {
	color: var(--fg-text-muted);
}

.ffg-footer-spacer{
  min-height: 100%;
}


/* =========================================================
   15) REDUCED-MOTION / TRANSITIONS
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {
    .card,
    .menu-item,
    .product,
    .basket,
    .cart,
    .modal-content,
    .dropdown-menu,
    .form-control {
        transition: background-color .18s ease, color .18s ease, border-color .18s ease;
    }
}
html,
body {
    transition: none;
}


/* =========================================================
   16) RESPONSIVE
   ========================================================= */

@media (min-width:992px) {
	footer .container {
		max-width: 1200px !important; 
	}
}

@media (min-width: 768px){
  .ffg-header-info .wrapper,
  .ffg-header-bottom .wrapper,
  .ffg-ordering .wrapper{
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  #last_sidebar.ffg-basket{
    position: sticky;
    top: var(--ffg-topbar-height);
    right: 0;
    width: var(--ffg-basket-width);
    height: calc(100vh - var(--ffg-topbar-height));
    z-index: 10;
    overflow: hidden;
  }

  #last_sidebar.ffg-basket .right-sidebar{
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--fg-surface);
    border-left: 1px solid var(--fg-border);
  }

  #last_sidebar.ffg-basket,
  #main_content.ffg-menu-items,
  #first_sidebar.ffg-categories{
    float: none !important;
  }

  #main_content.ffg-menu-items{
    width: 100% !important;
  }

  .ffg-topbar__mobile-fulfilment{
    display: none !important;
  }
  body.woocommerce-checkout .ffg-checkout-coupon .couponwrap{
    flex-direction: row;
    align-items: center;
  }

  body.woocommerce-checkout .ffg-checkout-coupon .form-row-first{
    flex: 1 1 auto;
  }

  body.woocommerce-checkout .ffg-checkout-coupon .form-row-last{
    flex: 0 0 auto;
    width: auto;
  }
	
}

@media (min-width: 575px) {
	p#billing_city_field, p#billing_postcode_field {
		width:49%;
		display: inline-block;
	}
	p#billing_city_field {margin-right:2%;}
}

@media (max-width: 991px){
  .ffg-theme-toggle__label{
    display: none;
  }
}
@media (max-width: 767px){
	.ffg-topbar .ffg-topbar__inner{
		justify-content: space-between;
		gap: 12px;
	}

	.ffg-topbar__mobile-fulfilment{
		display: block;
		flex: 1 1 auto;
		min-width: 0;
	}

	.ffg-topbar__mobile-fulfilment .cart-modal-tab{
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		margin-left: 0;
	}

	.ffg-topbar__mobile-fulfilment .cart-modal-tab .title{
		font-size: 14px;
	}

	.ffg-topbar__mobile-fulfilment .cart-modal-tab .time{
		margin-top: -4px;
		font-size: 12px;
	}

	.ffg-topbar__mobile-fulfilment .cart-modal-tab .icon{
		min-width: 18px;
	}

	.ffg-topbar__actions{
		flex: 0 0 auto;
	}

	.ffg-main{
		margin-right: 0;
	}

	.ffg-header-info{
		padding: 25px 15px 25px;
	}

	.ffg-header-bottom{
		margin-bottom: 10px;
		padding: 10px 10px 5px;
		background: var(--fg-header-bg);
		box-shadow: 0 6px 10px rgba(0, 0, 0, .1);
	}

	.ffg-header-bottom .ffg-category-arrows{
		padding-left: 8px;
		background: var(--fg-header-bg);
	}

	.mid-heading{
		width: 100%;
	}

	.mid-heading h4{
		padding-top: 20px;
	}

	.mid-heading p{
		padding-bottom: 5px;
	}

	.ffg-menu-search{
		margin-bottom: 5px;
	}

	.ffg-menu-search__input{
		height: 46px;
	}

	.ffg-basket-meta-row{
		gap: 10px;
	}

	.ffg-fulfilment-summary__content{
		gap: 4px;
	}

	.ffg-fulfilment-summary__label,
	.ffg-fulfilment-summary__time,
	.delay_time_toggle{
		font-size: 13px;
	}

	#delay_time_selector{
		width: 128px;
		min-width: 128px;
	}

	.ffg-featured-rail{
		gap: 12px;
		padding-bottom: 0;
	}

	.ffg-featured-card{
		display: flex !important;
		flex: 0 0 min(84vw, 320px);
		width: min(84vw, 320px);
		min-width: min(84vw, 320px);
		height: 102px;
		padding: 10px 12px;
	}

	.ffg-featured-card .product-with-img,
	.ffg-featured-card .product-without-img{
		width: auto !important;
	}

	.ffg-featured-card .product-img{
		flex-basis: 80px;
		width: 80px;
		height: 80px;
		margin-right: 12px;
	}

	.ffg-featured-card .product-img img{
		width: 80px;
		height: 80px;
	}

	.ffg-featured-card .cart-item{
		width: auto !important;
		padding-left: 10px !important;
	}

	.ffg-featured-card .product-title h5{
		font-size: 14px !important;
	}

	.ffg-featured-card__price{
		margin-top: 7px;
		font-size: 13px;
	}
	body.woocommerce-checkout .ffg-checkout-coupon .woocommerce-form-coupon{
		display: block;
	}

	body.woocommerce-checkout .ffg-checkout-coupon button[name="apply_coupon"]{
		width: 100%;
	}
	.ffg-footer-business,
	.standard-footer{
		align-items: center;
		text-align: center;
	}

	.ffg-footer-business__row{
		justify-content: center;
	}
	.standard-footer {
		padding-top:70px;
	}
	.stripecol{
		text-align: center;
	}
}

@media (max-width: 640px){
  .ffg-info-modal{
    align-items: stretch;
    justify-content: stretch;
  }

  .ffg-info-modal__panel{
    display: flex;
    flex-direction: column;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  .ffg-info-modal__header{
    position: sticky;
    top: 0;
    z-index: 20;
    padding-top: calc(env(safe-area-inset-top, 0px) + 14px);
    background: var(--fg-surface);
  }

  .ffg-info-wrap{
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(100vh - 90px);
    overflow: auto;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  body.woocommerce-checkout .ffg-checkout-details-actions{
    align-items:flex-start;
  }
}

@media (max-width: 600px){
  body.ffg-menu-open .ffg-site-menu{
    align-items: stretch;
    justify-content: stretch;
  }

  .ffg-account-modal__panel{
    width: 100vw;
    width: 100dvw;
    height: var(--ffg-app-height, 100dvh);
    min-height: var(--ffg-app-height, 100dvh);
    max-height: var(--ffg-app-height, 100dvh);
    margin: 0;
    border-radius: 0;
  }

  .ffg-account-modal__header{
    padding-top: calc(env(safe-area-inset-top, 0px) + 20px);
    padding-left: 20px;
    padding-right: 20px;
  }

  .ffg-account-modal__view.is-active{
    min-height: 0;
  }

  .ffg-account-modal__body{
    padding: 16px 20px 0;
  }

  .ffg-account-card{
    padding: 30px 20px;
  }

  .ffg-account-card__title{
    font-size: 18px;
  }

  .ffg-account-form__grid{
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ffg-account-button{
    width: 100%;
    min-width: 0;
  }

  .ffg-account-form .create-wrap{
    flex-direction: column;
  }

  .create-wrap .ffg-account-form__switch{
    width: 100%;
    padding-right: 10px;
    text-align: right;
  }

  .ffg-account-inline-actions--password{
    justify-content: flex-end;
  }

  .ffg-account-inline-actions--password .ffg-account-textlink{
    padding-right: 10px;
  }

  .ffg-info-modal__card .bizlocation{
    width: 60%;
  }

  .ffg-info-modal__card .bizphone{
    width: 40%;
  }
    .ffg-checkout-page-shell{
    padding: 0 !important;
  }

  .ffg-checkout-modal-shell{
    width: 100% !important;
  }
  .ffg-checkout-modal-card {
    width: 100dvw;
    width: var(--ffg-app-width, 100dvw);
    height: var(--ffg-app-height, 100dvh);
    min-height: var(--ffg-app-height, 100dvh);
    max-height: var(--ffg-app-height, 100dvh) !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  .ffg-checkout-modal-card__header{
    padding-top: calc(env(safe-area-inset-top, 0px) + 20px) !important;
    padding-right: 16px !important;
    padding-bottom: 20px !important;
    padding-left: 16px !important;
  }
  .ffg-checkout-modal-card__title{
    font-size: 24px !important;
  }
  .ffg-checkout-modal-card__body{
    padding: 16px 16px calc(env(safe-area-inset-bottom, 0px) + 16px) !important;
  }
  body.woocommerce-order-received .ffg-checkout-modal-card__body{
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 76px) !important;
  }
  body.woocommerce-order-received .woocommerce-order section:last-of-type{
    margin-bottom: 76px;
  }
  body.woocommerce-order-received .ffg-thankyou-card--guest-account.is-success-state{
    position: sticky;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    z-index: 5;
  }
  body.woocommerce-order-received .ffg-thankyou-card--guest-account.is-success-state .ffg-thankyou-guest-account{
    min-height: 0;
  }
  .ffg-thankyou-meta-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 18px;
  }

  .ffg-thankyou-meta-item{
    min-height: 88px;
    padding: 16px 16px;
    border-radius: 18px;
  }

  .ffg-thankyou-meta-label{
    margin-bottom: 6px;
    font-size: 12px;
  }

  .ffg-thankyou-meta-value{
    font-size: 22px;
    line-height: 1.2;
  }

  .ffg-thankyou-meta-value--small{
    font-size: 18px;
  }

  .ffg-thankyou-eta{
    padding: 16px 18px;
    border-radius: 24px;
    font-size: 18px;
    line-height: 1.4;
  }
   body.woocommerce-checkout .ffg-checkout-delivery-zone-error strong{
	font-size: 15px;
	}
	body.woocommerce-checkout .ffg-checkout-delivery-zone-error span{
	font-size: 14px;
	}
}

@media (max-width: 575px){
  .ffg-featured-card{
    display: flex !important;
    flex: 0 0 min(84vw, 300px);
    width: min(84vw, 300px);
    min-width: min(84vw, 300px);
  }

  .ffg-featured-card .cart-item{
    width: auto !important;
    padding-left: 8px !important;
    float: none;
  }

  .ffg-featured-card .Click-here{
    width: 25px;
    height: 25px;
  }
	.couponwrap .form-row.form-row-first, 
    .woocommerce form .form-row-first, .woocommerce form .form-row-last, 
	.woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last,
    body.woocommerce-checkout .ffg-checkout-section--details .ffg-checkout-details-actions .ffg-checkout-details-save,
    body.woocommerce-checkout .ffg-checkout-notes-save {
		width: 100% !important;
	}
	body.woocommerce-checkout .ffg-checkout-details-actions .ffg-checkout-details-login-link{
		width: 100%;
		text-align: center;
		margin: 0;
		padding-bottom: 30px;
	}
}

@media (max-width: 480px){
  #delay_time_selector{
    width: 132px;
    min-width: 132px;
  }
  .ffg-basket-meta-row.is-open .delay_time_selector_shell{
    max-width: 170px;
  }
  .wc_payment_methods_label li {
    width: 100%;
  }
}


/* =========================================================
   17) PLATFORM-SPECIFIC SUPPORT
   ========================================================= */

@supports (-webkit-touch-callout: none){
  .ffg-account-modal__view.is-active{
    min-height: 0;
  }
}

/* =========================================================
   PROMOTION BANNERS
   ========================================================= */

.ffg-promo-banner{
  --ffg-promo-banner-bg: #8f1d1d;
  --ffg-promo-banner-text: #ffffff;
  --ffg-promo-banner-highlight: #ffd166;
  --ffg-promo-banner-weight: 500;
  position: relative;
  width: 100%;
  background: var(--ffg-promo-banner-bg);
  color: var(--ffg-promo-banner-text);
  overflow: hidden;
  z-index: 2;
}

.ffg-promo-banner__static{
  display:block;
  text-align:center;
  white-space:normal;
  font-size:15px;
  line-height:1.15;
  letter-spacing:.05em;
  text-transform:uppercase;
  padding:8px 16px 9px;
  font-weight:var(--ffg-promo-banner-weight);
}

.ffg-promo-banner__static .ffg-promo-banner__highlight,
.ffg-promo-banner__static .ffg-promo-banner__bold{
  display:inline;
}

.ffg-promo-banner__viewport{
  display:flex;
  width:100%;
  overflow:hidden;
}

.ffg-promo-banner__track{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  width:max-content;
  will-change:transform;
  animation:ffgPromoBannerScroll 40s linear infinite;
}

.ffg-promo-banner__group{
  display:flex;
  align-items:center;
  gap:.8rem;
  flex:0 0 auto;
  min-width:max-content;
  padding-inline-end:.8rem;
}

.ffg-promo-banner__item{
  display:inline-flex;
  align-items:center;
  gap:.28rem;
  white-space:nowrap;
  font-size:15px;
  line-height:1;
  letter-spacing:.05em;
  text-transform:uppercase;
  padding:8px 0 9px;
  font-weight:var(--ffg-promo-banner-weight);
}

.ffg-promo-banner__highlight{
  color:var(--ffg-promo-banner-highlight);
  font-weight:700;
}

.ffg-promo-banner__bold{
  font-weight:800;
}

.ffg-promo-banner__placeholder{
  opacity:.8;
}

@keyframes ffgPromoBannerScroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

@media (prefers-reduced-motion: reduce){
  .ffg-promo-banner__track{
    animation:none;
  }
}

@media (max-width: 767px){
  .ffg-promo-banner__static{
    font-size:13px;
    line-height:1.2;
    padding:7px 12px 8px;
    text-align:center;
    white-space:normal;
    word-break:normal;
    overflow-wrap:anywhere;
  }

  .ffg-promo-banner__item{
    font-size:13px;
    padding:7px 0 8px;
  }

  .ffg-promo-banner__static .ffg-promo-banner__highlight,
  .ffg-promo-banner__static .ffg-promo-banner__bold{
    white-space:normal;
  }
}
