/* FarmasCuba — modern cart & checkout */

:root {
  --fc-accent: #98D648;
  --fc-accent-deep: #7eb83a;
  --fc-blue: #44B4FC;
  --fc-accent-soft: #f4fbf6;
  --fc-ink: #243038;
  --fc-muted: #66737a;
  --fc-line: #e4ecf0;
  --fc-surface: #ffffff;
  --fc-canvas: #f7fbfd;
  --fc-danger: #c0392b;
  --fc-radius: 14px;
  --fc-shadow: 0 10px 28px rgba(36, 48, 56, 0.08);
}

/*
 * Add-to-cart / wishlist toasts must sit above the mobile top bar (z 10040)
 * and the cart FAB (z 10050). Theme default is only z-index 10004.
 */
.container > .alert,
.breadcrumb + .alert,
.row > .alert.alert-success,
.row > .alert.alert-info,
.row > .alert.alert-danger,
.row > .alert.alert-warning,
#common-home > .alert,
#product-category > .alert,
#product-product > .alert,
#product-search > .alert,
#product-special > .alert,
#product-manufacturer > .alert,
#checkout-cart > .alert,
#account-wishlist > .alert,
body > .alert.alert-success,
body > .alert.alert-info,
body > .alert.alert-danger,
body > .alert.alert-warning,
.alert.fc-toast {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  z-index: 10150 !important;
}
.product_page-right > .alert {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
  z-index: 30 !important;
}

/* Shared buttons */
.fc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.fc-btn:hover,
.fc-btn:focus {
  text-decoration: none !important;
}
.fc-btn--primary {
  background: linear-gradient(135deg, var(--fc-accent) 0%, #6fc23d 55%, var(--fc-blue) 160%);
  color: #fff !important;
  border-color: transparent;
}
.fc-btn--primary:hover,
.fc-btn--primary:focus {
  background: linear-gradient(135deg, var(--fc-accent-deep) 0%, var(--fc-blue) 120%);
  border-color: transparent;
  color: #fff !important;
}
.fc-btn--ghost {
  background: #fff;
  color: var(--fc-ink) !important;
  border-color: var(--fc-line);
}
.fc-btn--ghost:hover {
  border-color: var(--fc-blue);
  color: var(--fc-blue) !important;
  background: rgba(68, 180, 252, 0.06);
}
.fc-btn--block {
  width: 100%;
}
.fc-btn.btn,
input.fc-btn {
  line-height: 1.2;
}

/* Option cards (payment / shipping / account) */
.fc-option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 20px;
}
@media (min-width: 768px) {
  .fc-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fc-option-grid--compact {
    grid-template-columns: 1fr;
  }
}
.fc-option-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border: 1.5px solid var(--fc-line);
  border-radius: var(--fc-radius);
  background: var(--fc-surface);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  font-weight: 400;
}
.fc-option-card:hover {
  border-color: var(--fc-blue);
}
.fc-option-card.is-selected {
  border-color: var(--fc-accent);
  background: var(--fc-accent-soft);
  box-shadow: 0 0 0 1px var(--fc-accent);
}
.fc-option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fc-option-card__mark {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 2px solid #b7c4ca;
  border-radius: 50%;
  background: #fff;
  position: relative;
}
.fc-option-card.is-selected .fc-option-card__mark {
  border-color: var(--fc-accent);
}
.fc-option-card.is-selected .fc-option-card__mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fc-accent), var(--fc-blue));
}
.fc-option-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.fc-option-card__title {
  color: var(--fc-ink);
  font-weight: 600;
  line-height: 1.35;
}
.fc-option-card__meta,
.fc-option-card__price {
  color: var(--fc-muted);
  font-size: 13px;
}
.fc-option-card__price {
  font-weight: 700;
  color: var(--fc-accent-deep);
}

.fc-step-lead {
  margin: 0 0 16px;
  color: var(--fc-muted);
}
.fc-step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--fc-line);
}
.fc-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  max-width: 420px;
  font-weight: 400;
  color: var(--fc-muted);
}
.fc-agree input {
  margin-top: 3px;
  accent-color: var(--fc-accent);
}
.fc-comment-box {
  margin: 8px 0 18px;
}
.fc-comment-box label {
  display: block;
  margin-bottom: 8px;
}
.fc-method-group + .fc-method-group {
  margin-top: 18px;
}
.fc-method-group__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--fc-ink);
}

/* ========== CART PAGE ========== */
.fc-cart-page {
  padding-bottom: 48px;
}
.fc-cart-header {
  margin: 8px 0 24px;
}
.fc-cart-header h1 {
  margin: 0;
  color: var(--fc-ink);
  font-size: 30px;
  font-weight: 700;
}
.fc-cart-weight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 12px 0 0;
  padding: 10px 12px;
  color: var(--fc-text, #1a1a1a);
  background: #f7f8fa;
  border: 1px solid var(--fc-line, #e5e7eb);
  border-radius: 8px;
  font-size: 14px;
}
.fc-cart-weight.is-warning {
  color: #7a4a00;
  background: #fff7e8;
  border-color: #f0d39a;
}
.fc-cart-weight-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0 14px;
  padding: 12px 14px;
  background: #fff4e5;
  border: 1px solid #f0c36d;
  border-radius: 8px;
  color: #6b3f00;
}
.fc-cart-weight-alert i {
  margin-top: 2px;
  color: #c47a00;
}
.fc-cart-weight-alert p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}
.fc-product-weight {
  margin: 4px 0 8px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--fc-muted, #667085);
}
.fc-product-weight span,
.fc-product-weight strong {
  font-weight: 600;
  color: var(--fc-text, #1a1a1a);
}
.fc-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (min-width: 992px) {
  .fc-cart-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}
.fc-cart-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fc-cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  background: var(--fc-surface);
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow);
}
.fc-cart-item--voucher {
  grid-template-columns: 1fr;
}
.fc-cart-item.is-out-of-stock {
  border-color: #f0b7b0;
}
.fc-cart-item__media img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--fc-canvas);
}
.fc-cart-item__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
@media (min-width: 768px) {
  .fc-cart-item__body {
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding-right: 28px;
  }
}
.fc-cart-item__name {
  display: inline-block;
  color: var(--fc-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.fc-cart-item__name:hover {
  color: var(--fc-blue);
}
.fc-cart-item__meta,
.fc-cart-item__options {
  display: block;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  color: var(--fc-muted);
  font-size: 13px;
}
.fc-stock-warn {
  color: var(--fc-danger);
  font-weight: 700;
}
.fc-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--fc-line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.fc-qty__btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--fc-ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.fc-qty__btn:hover {
  background: var(--fc-canvas);
}
.fc-qty__input {
  width: 48px !important;
  height: 36px;
  border: 0 !important;
  box-shadow: none !important;
  text-align: center;
  padding: 0 !important;
  background: transparent;
}
.fc-cart-item__update {
  display: none;
}
#fc-cart-form.is-updating {
  opacity: 0.65;
  pointer-events: none;
}
#fc-cart-form.is-updating .fc-qty {
  position: relative;
}
#fc-cart-form.is-updating .fc-qty::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.35);
}
.fc-cart-item__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}
@media (min-width: 768px) {
  .fc-cart-item__prices {
    align-items: flex-end;
    text-align: right;
    min-width: 110px;
  }
}
.fc-cart-item__unit {
  display: block;
  color: var(--fc-muted);
  font-size: 13px;
  margin-bottom: 0;
}
.fc-cart-item__total {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.fc-cart-item__buy-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--fc-accent);
  border-radius: 999px;
  background: var(--fc-accent-soft);
  color: var(--fc-accent-deep) !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.fc-cart-item__buy-now:hover,
.fc-cart-item__buy-now:focus {
  background: linear-gradient(135deg, var(--fc-accent) 0%, #6fc23d 70%);
  border-color: transparent;
  color: #fff !important;
}
.fc-buy-now-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid #cfe6b8;
  border-radius: 12px;
  background: var(--fc-accent-soft);
  color: var(--fc-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: none;
  min-height: 0;
  position: static;
  z-index: auto;
}
.fc-buy-now-notice__icon,
.fc-buy-now-notice > .fa,
.fc-buy-now-notice > i {
  position: static !important;
  top: auto !important;
  left: auto !important;
  bottom: auto !important;
  right: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--fc-blue);
  font-size: 18px !important;
  line-height: 1 !important;
  text-shadow: none !important;
  animation: none !important;
  background: none !important;
}
.fc-buy-now-notice__icon:before,
.fc-buy-now-notice > .fa:before,
.fc-buy-now-notice > i:before {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  line-height: 1 !important;
}
.fc-buy-now-notice__text {
  flex: 1 1 220px;
  min-width: 0;
}
.fc-buy-now-notice__restore {
  margin-left: auto;
  color: var(--fc-blue) !important;
  font-weight: 700;
  text-decoration: underline !important;
  white-space: nowrap;
}
.fc-cart-item__remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--fc-muted);
  cursor: pointer;
}
.fc-cart-item__remove:hover {
  background: #fdecea;
  color: var(--fc-danger);
}

.fc-cart-extras {
  margin-top: 22px;
  padding: 18px;
  border: 1px dashed var(--fc-line);
  border-radius: var(--fc-radius);
  background: #fbfdfc;
}
.fc-cart-extras .panel {
  border: 1px solid var(--fc-line);
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
}
.fc-cart-extras .panel + .panel {
  margin-top: 10px;
}
.fc-cart-extras .panel-heading {
  background: #fff;
  padding: 12px 16px;
}
.fc-cart-extras .panel-title,
.fc-cart-extras .panel-title a {
  color: var(--fc-ink);
  font-size: 15px;
  font-weight: 600;
}
.fc-extra-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.fc-cart-summary__inner {
  position: sticky;
  top: 16px;
  padding: 20px;
  border-radius: calc(var(--fc-radius) + 2px);
  background: linear-gradient(165deg, #f7fbfd 0%, #ffffff 45%, #f4fbf6 100%);
  border: 1px solid var(--fc-line);
  box-shadow: var(--fc-shadow);
}
.fc-cart-summary h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}
.fc-cart-summary__totals {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.fc-cart-summary__totals li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--fc-line);
  color: var(--fc-muted);
}
.fc-cart-summary__totals li.is-grand {
  border-bottom: 0;
  padding-top: 14px;
  color: var(--fc-ink);
  font-size: 18px;
}
.fc-cart-summary .fc-btn + .fc-btn {
  margin-top: 10px;
}
.fc-summary-block {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--fc-line);
}
.fc-summary-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.fc-summary-block__head strong {
  color: var(--fc-ink);
  font-size: 14px;
}
.fc-link-btn {
  border: 0;
  background: none;
  color: var(--fc-blue);
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}
.fc-summary-address,
.fc-summary-note {
  margin: 0;
  color: var(--fc-muted);
  font-size: 13px;
  line-height: 1.45;
}
.fc-summary-empty,
.fc-summary-hint {
  margin: 0;
  color: var(--fc-muted);
  font-size: 12px;
  line-height: 1.4;
}
.fc-summary-hint {
  margin-top: 8px;
  text-align: center;
}
.fc-summary-hint--action {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  color: var(--fc-blue);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin: 10px 0;
}
.fc-address-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 14px;
  border: 1.5px dashed #b7d0c0;
  border-radius: 12px;
  background: #f3faf5;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.fc-address-empty:hover,
.fc-address-empty:focus {
  border-color: var(--fc-accent);
  background: var(--fc-accent-soft);
  box-shadow: 0 0 0 1px var(--fc-accent);
  outline: none;
}
.fc-address-empty.is-highlight {
  border-color: #d9534f;
  background: #fff5f5;
  box-shadow: 0 0 0 2px rgba(217, 83, 79, 0.25);
  animation: fc-address-pulse 1.2s ease-in-out 2;
}
@keyframes fc-address-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(217, 83, 79, 0.25); }
  50% { box-shadow: 0 0 0 4px rgba(217, 83, 79, 0.15); }
}
.fc-address-empty__title {
  color: var(--fc-ink);
  font-size: 14px;
  font-weight: 700;
}
.fc-address-empty__text {
  color: var(--fc-muted);
  font-size: 12px;
  line-height: 1.4;
}
.fc-address-empty__action {
  margin-top: 4px;
  color: var(--fc-blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
}
.fc-modal-lead {
  margin: 0 0 14px;
  color: var(--fc-muted);
}
.fc-recipient-notice {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #f0c36d;
  border-left: 4px solid #e8a317;
  border-radius: 12px;
  background: #fff8e8;
}
.fc-recipient-notice__title {
  margin: 0 0 6px;
  color: #8a5a00;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.fc-recipient-notice__text {
  margin: 0;
  color: #5c4500;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
#fc-address-modal .form-group,
#fc-note-modal .form-group,
#fc-voucher-modal .form-group {
  margin-bottom: 14px;
}
.fc-zone-autocomplete {
  position: relative;
}
.fc-zone-autocomplete__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 10300;
  max-height: 220px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--fc-line, #d9dde3);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.14);
}
.fc-zone-autocomplete__list li {
  padding: 9px 12px;
  cursor: pointer;
  color: var(--fc-ink, #1f2937);
  font-size: 14px;
  line-height: 1.35;
}
.fc-zone-autocomplete__list li:hover,
.fc-zone-autocomplete__list li.is-active {
  background: rgba(132, 189, 0, 0.12);
  color: var(--fc-ink, #1f2937);
}
#collapse-shipping-address .fc-zone-autocomplete__list {
  z-index: 20;
}
#fc-address-modal .modal-footer,
#fc-note-modal .modal-footer,
#fc-voucher-modal .modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Cart modals above mobile top bar (10040) and cart FAB (10050) */
#fc-note-modal,
#fc-address-modal,
#fc-voucher-modal,
.modal,
.modal.in,
.modal.fade.in {
  z-index: 10200 !important;
}
.modal-backdrop,
.modal-backdrop.in,
.modal-backdrop.fade.in {
  z-index: 10190 !important;
}

@media (max-width: 767px) {
  /* Hide mobile chrome so it cannot cover modal headers */
  body.modal-open .rd-mobilepanel,
  body.modal-open .rd-mobilepanel_toggle,
  body.modal-open .fc-mobile-bar-cart,
  body.modal-open .fc-mobile-bar-account,
  body.modal-open .fc-mobile-bar-logo,
  body.modal-open .fc-mobile-bar-search,
  body.modal-open > #cart,
  body.modal-open > #top-links,
  body.modal-open > #search,
  body.fc-modal-open .rd-mobilepanel,
  body.fc-modal-open .rd-mobilepanel_toggle,
  body.fc-modal-open .fc-mobile-bar-cart,
  body.fc-modal-open .fc-mobile-bar-account,
  body.fc-modal-open .fc-mobile-bar-logo,
  body.fc-modal-open .fc-mobile-bar-search,
  body.fc-modal-open > #cart,
  body.fc-modal-open > #top-links,
  body.fc-modal-open > #search {
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }

  #fc-note-modal.modal,
  #fc-address-modal.modal,
  #fc-voucher-modal.modal {
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  #fc-note-modal .modal-dialog,
  #fc-address-modal .modal-dialog,
  #fc-voucher-modal .modal-dialog {
    width: auto !important;
    max-width: calc(100% - 24px);
    margin: 16px 12px !important;
    margin-top: max(16px, env(safe-area-inset-top, 0px)) !important;
    margin-bottom: max(16px, env(safe-area-inset-bottom, 0px)) !important;
  }
  #fc-note-modal .modal-content,
  #fc-address-modal .modal-content,
  #fc-voucher-modal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    overflow: hidden;
    border-radius: 16px;
  }
  #fc-note-modal .modal-header,
  #fc-address-modal .modal-header,
  #fc-voucher-modal .modal-header {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    background: #fff;
    border-bottom: 1px solid var(--fc-line);
    padding: 14px 16px;
  }
  #fc-note-modal .modal-header .modal-title,
  #fc-address-modal .modal-header .modal-title,
  #fc-voucher-modal .modal-header .modal-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--fc-ink);
    padding-right: 28px;
  }
  #fc-note-modal .modal-footer,
  #fc-address-modal .modal-footer,
  #fc-voucher-modal .modal-footer {
    flex-shrink: 0;
  }
  #fc-note-modal .modal-body,
  #fc-address-modal .modal-body,
  #fc-voucher-modal .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
  }
  #fc-note-modal textarea.form-control,
  #fc-address-modal .form-control,
  #fc-voucher-modal .form-control {
    font-size: 16px; /* avoid iOS zoom */
    max-width: 100%;
  }
  #fc-note-modal .modal-footer,
  #fc-address-modal .modal-footer,
  #fc-voucher-modal .modal-footer {
    flex-wrap: wrap;
    justify-content: stretch;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  #fc-note-modal .modal-footer .fc-btn,
  #fc-address-modal .modal-footer .fc-btn,
  #fc-voucher-modal .modal-footer .fc-btn {
    flex: 1 1 140px;
    min-height: 44px;
  }
}

/* ========== CHECKOUT WIZARD ========== */
.fc-checkout-page {
  padding-bottom: 56px;
}
.fc-checkout-header {
  margin: 4px 0 20px;
}
.fc-checkout-header h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: var(--fc-ink);
}
.fc-checkout-subtitle {
  margin: 0 0 4px;
  color: var(--fc-muted);
  font-size: 16px;
}

.fc-steps {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0 0 24px;
  padding: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--fc-surface);
  border: 1px solid var(--fc-line);
  border-radius: 999px;
  box-shadow: var(--fc-shadow);
}
.fc-steps__item {
  flex: 1 1 0;
  min-width: 120px;
}
.fc-steps__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fc-muted);
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.fc-steps__btn:disabled {
  cursor: default;
  opacity: 0.72;
}
.fc-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fc-canvas);
  color: var(--fc-muted);
  font-size: 13px;
  font-weight: 700;
  flex: 0 0 28px;
}
.fc-steps__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fc-steps__item.is-active .fc-steps__btn {
  background: var(--fc-accent-soft);
  color: var(--fc-ink);
}
.fc-steps__item.is-active .fc-steps__num {
  background: linear-gradient(135deg, var(--fc-accent), var(--fc-blue));
  color: #fff;
}
.fc-steps__item.is-done .fc-steps__btn {
  color: var(--fc-ink);
}
.fc-steps__item.is-done .fc-steps__num {
  background: var(--fc-accent-soft);
  color: var(--fc-accent-deep);
  box-shadow: inset 0 0 0 1.5px var(--fc-accent);
}
.fc-steps__item.is-done .fc-steps__btn:not(:disabled):hover {
  background: var(--fc-canvas);
}

/* Hide classic accordion chrome; show one step at a time */
.fc-checkout-wizard {
  margin: 0;
}
.fc-checkout-wizard > .panel {
  border: 0;
  box-shadow: none;
  background: transparent;
  margin: 0 !important;
}
.fc-checkout-wizard > .panel > .panel-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.fc-checkout-wizard > .panel:not(.is-current) {
  display: none !important;
}
.fc-checkout-wizard > .panel.is-current,
.fc-checkout-wizard > .panel:has(> .panel-collapse.in) {
  display: block !important;
}
.fc-checkout-wizard .panel-collapse {
  display: block !important;
  height: auto !important;
  visibility: visible !important;
}
.fc-checkout-wizard .panel-collapse.collapsing {
  transition: none;
}
.fc-checkout-wizard .panel-body {
  padding: 22px;
  background: var(--fc-surface);
  border: 1px solid var(--fc-line);
  border-radius: calc(var(--fc-radius) + 2px);
  box-shadow: var(--fc-shadow);
}
.fc-address-editor__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--fc-ink);
  line-height: 1.3;
}
.fc-address-editor__loading {
  margin: 0;
  color: var(--fc-muted);
}
.fc-address-editor .fc-address-editor__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.fc-address-editor .fc-address-editor__actions .pull-right {
  float: none !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
}
.fc-address-editor .fc-address-editor__cancel {
  min-height: 44px;
}
@media (max-width: 767px) {
  .fc-address-editor .fc-address-editor__actions .pull-right {
    flex-direction: column-reverse;
  }
  .fc-address-editor .fc-address-editor__actions .fc-btn,
  .fc-address-editor .fc-address-editor__actions input.fc-btn {
    width: 100%;
  }
  .fc-confirm__totals li.is-shipping {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .fc-confirm__totals li.is-shipping > .text-price {
    align-self: flex-end;
  }
}
.fc-checkout-wizard .panel-body .buttons {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--fc-line);
}
.fc-checkout-wizard .panel-body .btn,
.fc-checkout-wizard .panel-body .btn-primary,
.fc-checkout-wizard .panel-body input.btn {
  min-height: 44px;
  border-radius: 999px;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 600;
}
.fc-checkout-wizard .panel-body .btn-primary,
.fc-checkout-wizard .panel-body input.btn-primary,
.fc-checkout-wizard #button-account,
.fc-checkout-wizard #button-login,
.fc-checkout-wizard #button-register,
.fc-checkout-wizard #button-guest,
.fc-checkout-wizard #button-payment-address,
.fc-checkout-wizard #button-shipping-address,
.fc-checkout-wizard #button-guest-shipping,
.fc-checkout-wizard #button-shipping-method,
.fc-checkout-wizard #button-payment-method {
  background: linear-gradient(135deg, var(--fc-accent) 0%, #6fc23d 55%, var(--fc-blue) 160%);
  border-color: transparent;
  color: #fff;
}
.fc-checkout-wizard .panel-body .btn-primary:hover,
.fc-checkout-wizard .panel-body input.btn-primary:hover,
.fc-checkout-wizard #button-account:hover,
.fc-checkout-wizard #button-login:hover,
.fc-checkout-wizard #button-register:hover,
.fc-checkout-wizard #button-guest:hover,
.fc-checkout-wizard #button-payment-address:hover,
.fc-checkout-wizard #button-shipping-address:hover,
.fc-checkout-wizard #button-guest-shipping:hover,
.fc-checkout-wizard #button-shipping-method:hover,
.fc-checkout-wizard #button-payment-method:hover {
  background: linear-gradient(135deg, var(--fc-accent-deep) 0%, var(--fc-blue) 120%);
  border-color: transparent;
  color: #fff;
}
.fc-checkout-wizard .form-control {
  border-radius: 12px;
  border-color: var(--fc-line);
  background: #f8fafb;
  box-shadow: none;
  min-height: 46px;
}
.fc-checkout-wizard .form-control:focus {
  border-color: var(--fc-blue);
  box-shadow: 0 0 0 3px rgba(68, 180, 252, 0.18);
}
.fc-checkout-wizard .control-label {
  color: var(--fc-ink);
  font-weight: 600;
}
.fc-checkout-wizard legend {
  color: var(--fc-ink);
  border-bottom-color: var(--fc-line);
  font-weight: 700;
}
.fc-checkout-wizard a {
  color: var(--fc-blue);
}
.fc-checkout-wizard a:hover {
  color: var(--fc-accent-deep);
}

/* Login step — guest first, then sign-in + register link */
.fc-identify {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fc-identify__intro {
  margin-bottom: 4px;
}
.fc-identify__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--fc-ink);
  line-height: 1.25;
}
.fc-identify__lead {
  margin: 0;
  color: var(--fc-muted);
  font-size: 14px;
  line-height: 1.45;
}
.fc-identify__radios,
.fc-identify__legacy-continue {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}
.fc-identify-card {
  padding: 18px;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius);
  background: #fff;
  box-shadow: var(--fc-shadow);
}
.fc-identify-card--guest {
  border-color: #cfe6b8;
  background: linear-gradient(180deg, #f7fbf2 0%, #fff 42%);
}
.fc-identify-card--signin {
  background: #fff;
}
.fc-identify-card__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--fc-ink);
}
.fc-identify-card__hint {
  margin: 0 0 14px;
  color: var(--fc-muted);
  font-size: 13px;
  line-height: 1.45;
}
.fc-identify__cta {
  min-height: 48px;
  font-size: 15px;
  font-weight: 700;
}
.fc-identify-card .form-group {
  margin-bottom: 12px;
}
.fc-identify-card .fc-forgot {
  display: inline-block;
  margin-top: 8px;
  color: var(--fc-blue);
  font-size: 13px;
}
.fc-identify-card .fc-forgot:hover {
  color: var(--fc-accent-deep);
  text-decoration: underline;
}
.fc-identify-register-link {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--fc-line);
  color: var(--fc-muted);
  font-size: 14px;
  text-align: center;
  line-height: 1.4;
}
.fc-identify-register-link__btn {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fc-blue);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.fc-identify-register-link__btn:hover,
.fc-identify-register-link__btn:focus {
  color: var(--fc-accent-deep);
}
.fc-identify-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0;
  color: var(--fc-muted);
  font-size: 13px;
  font-weight: 600;
}
.fc-identify-divider::before,
.fc-identify-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--fc-line);
}
.fc-btn--secondary {
  background: #fff;
  color: var(--fc-ink) !important;
  border-color: var(--fc-accent);
  box-shadow: inset 0 0 0 1px var(--fc-accent);
}
.fc-btn--secondary:hover,
.fc-btn--secondary:focus {
  background: var(--fc-accent-soft);
  color: var(--fc-ink) !important;
  border-color: var(--fc-accent-deep);
}
.fc-checkout-wizard #button-account-register,
.fc-checkout-wizard #button-account-guest,
.fc-checkout-wizard #button-login {
  width: auto;
}
.fc-checkout-wizard #button-account-guest,
.fc-checkout-wizard #button-login {
  width: 100%;
}

/* Legacy login grid (kept for other pages if referenced) */
.fc-login-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .fc-login-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.fc-login-card {
  padding: 18px;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius);
  background: linear-gradient(180deg, #fbfdfc 0%, #fff 100%);
}
.fc-login-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}
.fc-login-hint,
.fc-forgot {
  color: var(--fc-muted);
}
.fc-forgot {
  display: inline-block;
  margin-top: 8px;
}

/* Account login / forgotten — keep image + form layout, FarmasCuba brand colors */
#account-login.fc-account-page,
#account-forgotten.fc-account-page {
  --fc-login-green: #98D648;
  --fc-login-green-deep: #7eb83a;
  --fc-login-blue: #44B4FC;
  --fc-login-ink: #243038;
  --fc-login-muted: #66737a;
  --fc-login-line: #e4ecf0;
  --fc-login-soft: #f4fbf6;
  padding-bottom: 56px;
}
.fc-account-login .side-background-login {
  border-radius: 20px;
  border: 1px solid var(--fc-login-line);
  overflow: hidden;
  min-height: 420px;
  height: 100%;
  margin-bottom: 0;
  box-shadow: 0 12px 36px rgba(36, 48, 56, 0.06);
  background-color: var(--fc-login-soft);
}
.fc-account-login .side-background-forgotten {
  border-radius: 20px;
  border: 1px solid var(--fc-login-line);
  overflow: hidden;
  min-height: 420px;
  height: 100%;
  margin-bottom: 0;
  box-shadow: 0 12px 36px rgba(36, 48, 56, 0.06);
  background-color: var(--fc-login-soft);
  background-image: url('../image/fc-forgotten-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 0;
}
.fc-account-login .fc-login-card--form {
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 26px;
  border: 1px solid var(--fc-login-line);
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(152, 214, 72, 0.08) 0%, #fff 38%, rgba(68, 180, 252, 0.06) 100%);
  box-shadow: 0 12px 36px rgba(36, 48, 56, 0.06);
}
.fc-account-login .fc-login-card--form h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 800;
  color: var(--fc-login-ink);
  text-align: left;
  text-transform: none;
}
.fc-account-login .fc-login-card--form h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fc-login-green), var(--fc-login-blue));
}
.fc-account-login .fc-login-card--form .form-control {
  border-radius: 12px;
  border-color: var(--fc-login-line);
  background: #f8fafb;
  box-shadow: none;
  min-height: 46px;
  color: var(--fc-login-ink);
}
.fc-account-login .fc-login-card--form .form-control:focus {
  border-color: var(--fc-login-blue);
  box-shadow: 0 0 0 3px rgba(68, 180, 252, 0.18);
}
.fc-account-login .fc-login-card--form .control-label {
  font-weight: 600;
  color: var(--fc-login-ink);
}
.fc-account-login .fc-login-card--form .form-group {
  margin-bottom: 14px;
}
.fc-account-login .fc-forgot {
  color: var(--fc-login-blue);
  font-weight: 600;
}
.fc-account-login .fc-forgot:hover,
.fc-account-login .fc-forgot:focus {
  color: var(--fc-login-green-deep);
}
.fc-account-login .fc-login-actions .fc-btn--primary {
  background: linear-gradient(135deg, var(--fc-login-green) 0%, #6fc23d 55%, var(--fc-login-blue) 160%);
  border-color: transparent;
  color: #fff !important;
}
.fc-account-login .fc-login-actions .fc-btn--primary:hover,
.fc-account-login .fc-login-actions .fc-btn--primary:focus {
  background: linear-gradient(135deg, var(--fc-login-green-deep) 0%, var(--fc-login-blue) 120%);
  border-color: transparent;
  color: #fff !important;
}
.fc-account-login .fc-login-actions .fc-btn--ghost {
  border-color: var(--fc-login-line);
  color: var(--fc-login-ink) !important;
  background: #fff;
}
.fc-account-login .fc-login-actions .fc-btn--ghost:hover,
.fc-account-login .fc-login-actions .fc-btn--ghost:focus {
  border-color: var(--fc-login-blue);
  color: var(--fc-login-blue) !important;
  background: rgba(68, 180, 252, 0.06);
}
.fc-account-login .fc-password-toggle {
  color: var(--fc-login-muted);
}
.fc-account-login .fc-password-toggle:hover,
.fc-account-login .fc-password-toggle:focus,
.fc-account-login .fc-password-toggle[aria-pressed="true"] {
  color: var(--fc-login-blue);
}
.fc-account-login .fc-forgotten-lead {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fc-login-muted);
}
.fc-login-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

/* Password show/hide */
.fc-password {
  position: relative;
}
.fc-password .form-control {
  padding-right: 44px;
}
.fc-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fc-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}
.fc-password-toggle:hover,
.fc-password-toggle:focus {
  color: var(--fc-accent);
  outline: none;
}
.fc-password-toggle[aria-pressed="true"] {
  color: var(--fc-accent);
}

@media (max-width: 767px) {
  .fc-account-login .side-background-login,
  .fc-account-login .side-background-forgotten {
    min-height: 220px;
    height: 220px;
    margin-bottom: 16px;
  }
  .fc-account-login .fc-login-card--form {
    min-height: 0;
  }
}

/* ========== REGISTER LANDING ========== */
#account-register.fc-register-page {
  --fc-reg-green: #98D648;
  --fc-reg-green-deep: #7eb83a;
  --fc-reg-blue: #44B4FC;
  --fc-reg-ink: #243038;
  --fc-reg-muted: #66737a;
  --fc-reg-line: #e4ecf0;
  --fc-reg-soft: #f4fbf6;
}
#page:has(#account-register) {
  background: #f7fbfd;
}
#page:has(#account-register) > header {
  background: #fff;
  margin-bottom: 0;
}
#page:has(#account-register) > header .menu-line {
  margin-top: 12px;
  margin-bottom: 0;
}
#page:has(#account-register) > header .tm-container > .tm-inner > .row > .row-inner {
  margin-top: 0;
}
#account-register.fc-register-page {
  background-color: #f7fbfd;
  background-image: url('../image/fc-register-bg.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  margin: 0 0 -1px;
  padding: 0;
}
.fc-register-hero {
  padding: 36px 0 40px;
  position: relative;
}
.fc-register-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(36, 48, 56, 0.06);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(36, 48, 56, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.fc-register-promo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 40px 36px;
  background:
    linear-gradient(165deg, rgba(152, 214, 72, 0.12) 0%, rgba(255, 255, 255, 0.95) 42%, rgba(68, 180, 252, 0.08) 100%);
  border-right: 1px solid var(--fc-reg-line);
}
.fc-register-promo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 60px;
}
.fc-register-promo__mark img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: contain;
}
.fc-register-promo__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fc-reg-blue);
}
.fc-register-promo__title,
.fc-register-promo h1.fc-register-promo__title {
  margin: 0 0 10px;
  padding: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--fc-reg-ink);
  text-align: left;
  text-transform: none;
}
.fc-register-promo__title:after,
.fc-register-promo h1.fc-register-promo__title:after {
  display: none !important;
  content: none !important;
  margin: 0 !important;
}
.fc-register-promo__lead {
  margin: 0 0 28px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--fc-reg-green-deep);
  text-align: left;
}
.fc-register-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  width: 100%;
}
.fc-register-benefits li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.fc-register-benefits__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--fc-reg-green) 0%, var(--fc-reg-blue) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 6px 14px rgba(68, 180, 252, 0.2);
}
.fc-register-benefits strong {
  display: block;
  color: var(--fc-reg-ink);
  font-size: 15px;
  margin-bottom: 2px;
}
.fc-register-benefits small {
  display: block;
  color: var(--fc-reg-muted);
  font-size: 13px;
  line-height: 1.45;
}
.fc-register-panel {
  padding: 36px 34px 32px;
  background: #fff;
}
.fc-register-card__head {
  text-align: left;
  margin-bottom: 22px;
}
.fc-register-card__head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--fc-reg-ink);
}
.fc-register-card__head h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  margin: 12px 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fc-reg-green), var(--fc-reg-blue));
}
.fc-register-card__head p {
  margin: 12px 0 0;
  color: var(--fc-reg-muted);
}
.fc-register-form .form-group {
  margin-bottom: 14px;
}
.fc-register-form .text-danger {
  margin-top: 6px;
}
.fc-register-form .control-label {
  display: block;
  margin-bottom: 6px;
  padding-top: 0;
  font-weight: 600;
  color: var(--fc-reg-ink);
  text-align: left;
}
.fc-register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}
.fc-input-icon {
  position: relative;
}
.fc-input-icon > .fa:first-child {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa8b0;
  z-index: 1;
  pointer-events: none;
}
.fc-input-icon .form-control {
  padding-left: 40px;
}
.fc-register-form .form-control {
  border-radius: 12px;
  border-color: var(--fc-reg-line);
  background: #f8fafb;
  box-shadow: none;
  min-height: 46px;
}
.fc-register-form .form-control:focus {
  border-color: var(--fc-reg-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(68, 180, 252, 0.18);
}
.fc-register-form .fc-password.fc-input-icon .form-control {
  padding-right: 44px;
}
.fc-register-radios {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.fc-register-radios label {
  font-weight: 500;
  color: var(--fc-reg-ink);
  margin: 0;
}
.fc-register-agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0 16px;
  color: var(--fc-reg-muted);
}
.fc-register-agree input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--fc-reg-green);
}
.fc-register-agree a {
  color: var(--fc-reg-green-deep);
  font-weight: 600;
}
.fc-register-form .fc-password-toggle {
  right: 10px;
}
.fc-register-submit {
  min-height: 48px;
  font-size: 16px;
  background: linear-gradient(135deg, var(--fc-reg-green) 0%, #6fc23d 55%, var(--fc-reg-blue) 160%);
  border-color: transparent;
}
.fc-register-submit:hover,
.fc-register-submit:focus {
  background: linear-gradient(135deg, var(--fc-reg-green-deep) 0%, var(--fc-reg-blue) 120%);
  border-color: transparent;
}
.fc-register-login {
  margin: 16px 0 0;
  text-align: center;
  color: var(--fc-reg-muted);
}
.fc-register-login a {
  color: var(--fc-reg-blue);
  font-weight: 700;
}
.fc-register-trust {
  background: linear-gradient(135deg, #7eb83a 0%, #98D648 40%, #44B4FC 100%);
  color: #fff;
  padding: 22px 0;
}
.fc-register-trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.fc-register-trust__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.fc-register-trust__list i {
  font-size: 22px;
  opacity: 0.95;
  margin-top: 2px;
}
.fc-register-trust__list strong {
  display: block;
  font-size: 14px;
}
.fc-register-trust__list small {
  display: block;
  opacity: 0.9;
  font-size: 12px;
}
@media (max-width: 991px) {
  .fc-register-shell {
    grid-template-columns: 1fr;
  }
  .fc-register-promo {
    border-right: 0;
    border-bottom: 1px solid var(--fc-reg-line);
    padding: 28px 24px;
  }
  .fc-register-promo__title,
  .fc-register-promo h1.fc-register-promo__title {
    font-size: 28px;
  }
  .fc-register-panel {
    padding: 28px 22px 24px;
  }
  .fc-register-trust__list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .fc-register-hero {
    padding: 18px 0 22px;
  }
  .fc-register-shell {
    border-radius: 18px;
  }
  .fc-register-grid {
    grid-template-columns: 1fr;
  }
  .fc-register-trust__list {
    grid-template-columns: 1fr;
  }
}

/* Confirm step */
.fc-confirm__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
}
.fc-confirm__order,
.fc-confirm__pay {
  min-width: 0;
}
.fc-confirm__section-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--fc-ink);
}
.fc-confirm__pay {
  padding: 18px;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius);
  background: linear-gradient(165deg, #f7fbfd 0%, #ffffff 50%, #f4fbf6 100%);
  box-shadow: var(--fc-shadow);
  position: sticky;
  top: 16px;
}
.fc-confirm__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.fc-confirm__billing {
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid var(--fc-line);
  border-radius: 12px;
  background: #fbfdfc;
}
.fc-confirm__billing .fc-confirm__section-title {
  margin-bottom: 12px;
}
.fc-billing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}
.fc-billing-grid .form-group {
  margin: 0;
}
.fc-billing-grid__full {
  grid-column: 1 / -1;
}
.fc-billing-grid textarea.form-control {
  min-height: 84px;
  resize: vertical;
}
.fc-confirm__payment .fc-cardholder {
  margin: 0 0 12px;
}
.fc-confirm__payment .fc-cardholder .control-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--fc-ink);
}
.fc-confirm__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--fc-line);
  border-radius: 12px;
  background: #fbfdfc;
}
.fc-confirm__item-thumb {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fc-line);
  flex-shrink: 0;
}
.fc-confirm__item-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fc-confirm__item-thumb--empty {
  border-style: dashed;
  background: #f3f6f4;
}
.fc-confirm__item-info a {
  font-weight: 700;
  color: var(--fc-ink);
}
.fc-confirm__item-info small {
  display: block;
  margin-top: 3px;
  color: var(--fc-muted);
}
.fc-confirm__item-qty {
  color: var(--fc-muted);
  white-space: nowrap;
}
.fc-confirm__item-price {
  font-weight: 700;
  white-space: nowrap;
}
.fc-confirm__totals {
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--fc-accent-soft);
}
.fc-confirm__totals li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  color: var(--fc-muted);
}
.fc-confirm__totals li.is-shipping {
  align-items: flex-start;
}
.fc-confirm__total-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.fc-confirm__total-title {
  line-height: 1.35;
  word-break: break-word;
}
.fc-confirm__edit-ship {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fc-accent, #2f8f55);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: underline;
  cursor: pointer;
}
.fc-confirm__edit-ship:hover,
.fc-confirm__edit-ship:focus {
  color: var(--fc-ink, #1f2a24);
  outline: none;
}
.fc-confirm__totals li.is-grand {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #cfe6d7;
  color: var(--fc-ink);
  font-size: 18px;
}
.fc-confirm__payment {
  padding-top: 0;
}
.fc-confirm__payment .sq-card-iframe-container {
  color-scheme: light;
}
.fc-confirm__payment #card-container {
  margin: 0 !important;
}
.fc-confirm__payment .fc-save-card,
.fc-confirm__payment .squareup_save_card {
  display: block;
  width: 100%;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--fc-line);
  clear: both;
}
.fc-confirm__payment .fc-save-card__label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  width: 100% !important;
  max-width: 100%;
  margin: 0;
  padding: 0;
  float: none !important;
  text-align: left !important;
  white-space: normal;
  font-weight: 600;
  color: var(--fc-ink);
  line-height: 1.4;
  cursor: pointer;
}
.fc-confirm__payment .fc-save-card__label input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  margin: 2px 0 0 !important;
  float: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  accent-color: var(--fc-accent);
}
.fc-confirm__payment .fc-save-card__label span {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  word-break: normal;
}
.fc-confirm__payment .nav-tabs {
  margin-bottom: 12px;
  border-bottom-color: var(--fc-line);
}
.fc-confirm__payment .nav-tabs > li > a {
  color: var(--fc-blue);
  font-weight: 600;
}
.fc-confirm__payment .buttons,
.fc-confirm__payment .pull-right,
.fc-confirm__payment .text-right {
  float: none !important;
  text-align: left !important;
  margin-top: 16px;
}
.fc-confirm__payment .btn,
.fc-confirm__payment input[type="button"],
.fc-confirm__payment input[type="submit"],
.fc-confirm__payment button {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 700;
}

.fc-free-checkout {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fc-free-checkout__lead {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--fc-accent-soft);
  color: var(--fc-ink);
  font-size: 14px;
  line-height: 1.45;
}
.fc-free-checkout #button-confirm {
  width: 100%;
}

/* Mini cart */
.fc-mini-cart .toggle_cont,
#cart.fc-mini-cart .toggle_cont,
div.cart.fc-mini-cart .toggle_cont {
  flex-direction: column;
  width: 340px;
  max-width: min(100vw - 24px, 360px);
  max-height: min(70vh, 560px) !important;
  overflow: hidden !important;
  padding: 0 !important;
  box-sizing: border-box;
}
.fc-mini-cart .toggle_cont.is-open,
#cart.fc-mini-cart .toggle_cont.is-open,
div.cart.fc-mini-cart .toggle_cont.is-open {
  display: flex;
}
.fc-mini-cart__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 12px 12px 8px !important;
  list-style: none;
}
.fc-mini-cart__scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.fc-mini-cart__list {
  max-height: none;
  overflow: visible;
  padding: 0 !important;
}
.fc-mini-cart__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--fc-line);
}
.fc-mini-cart__item:last-child {
  border-bottom: 0;
}
.fc-mini-cart__thumb {
  flex: 0 0 52px;
  width: 52px;
}
.fc-mini-cart__thumb img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--fc-canvas);
}
.fc-mini-cart__info {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}
.fc-mini-cart__info a,
.fc-mini-cart__info > span:first-child {
  display: block;
  text-align: left;
  font-weight: 600;
  color: var(--fc-ink);
  line-height: 1.35;
  word-break: normal;
  overflow-wrap: anywhere;
}
.fc-mini-cart__meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--fc-muted);
  text-align: left;
}
.fc-mini-cart__remove {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--fc-muted);
}
.fc-mini-cart__remove:hover {
  background: #fdecea;
  color: var(--fc-danger);
}
.fc-mini-cart__footer {
  padding: 8px 0 4px !important;
}
.fc-mini-cart__totals {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left !important;
}
.fc-mini-cart__totals li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 6px 0;
  text-align: left !important;
}
.fc-mini-cart__totals li > span,
.fc-mini-cart__totals li > strong {
  display: block;
  width: 100%;
  text-align: left !important;
  word-break: break-word;
}
.fc-mini-cart__actions-bar {
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 10px 12px 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.55) !important;
  background: #afdf72;
  box-shadow: 0 -8px 16px rgba(51, 51, 51, 0.12);
  list-style: none;
}
.fc-mini-cart__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin: 0;
}
.fc-mini-cart__actions .fc-btn {
  min-height: 40px;
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .fc-confirm__layout {
    grid-template-columns: 1fr;
  }
  .fc-confirm__pay {
    position: static;
  }
}

@media (max-width: 767px) {
  .fc-billing-grid {
    grid-template-columns: 1fr;
  }
  .fc-steps {
    border-radius: 16px;
  }
  .fc-steps__label {
    font-size: 12px;
  }
  .fc-cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .fc-cart-item__media img {
    width: 72px;
    height: 72px;
  }
  .fc-confirm__item {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 10px;
  }
  .fc-confirm__item-thumb {
    width: 56px;
    height: 56px;
  }
  .fc-confirm__item-qty {
    grid-column: 3;
  }
  .fc-confirm__item-price {
    grid-column: 2 / -1;
  }
}

/* ========== SUCCESS ========== */
.fc-success-page {
  padding-bottom: 56px;
}
.fc-success-card {
  max-width: 640px;
  margin: 12px auto 24px;
  padding: 36px 28px;
  text-align: center;
  background:
    linear-gradient(165deg, rgba(152, 214, 72, 0.1) 0%, #fff 42%, rgba(68, 180, 252, 0.08) 100%);
  border: 1px solid var(--fc-line);
  border-radius: 24px;
  box-shadow: var(--fc-shadow);
}
.fc-success-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fc-accent), var(--fc-blue));
  color: #fff;
  font-size: 28px;
}
.fc-success-card__title {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 800;
  color: var(--fc-ink);
  text-transform: none;
}
.fc-success-card__title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fc-accent), var(--fc-blue));
}
.fc-success-card__message {
  margin: 0 0 22px;
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.55;
}
.fc-success-card__message p {
  margin: 0 0 10px;
}
.fc-success-card__message a {
  color: var(--fc-blue);
  font-weight: 600;
}
.fc-success-card__message a:hover {
  color: var(--fc-accent-deep);
}
.fc-success-card .fc-btn {
  min-width: 200px;
}

/* ========== INFINITE CATEGORY SCROLL ========== */
.fc-pagination-seo {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.fc-infinite-sentinel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin: 8px 0 20px;
}
.fc-infinite-sentinel__loader {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--fc-line);
  border-top-color: var(--fc-accent);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity .2s ease, transform .2s ease;
}
.fc-infinite-sentinel.is-loading .fc-infinite-sentinel__loader {
  opacity: 1;
  transform: scale(1);
  animation: fc-spin 0.8s linear infinite;
}
@keyframes fc-spin {
  to { transform: rotate(360deg); }
}



/* Soften stuck header strip */
header .stuck-menu {
  background: #fff;
}

/* ========== HEADER SEARCH ========== */
.fc-search.search {
  margin-top: 0;
  padding: 0;
  width: min(100%, 560px);
  max-width: 560px;
}
.fc-search.search input[type="text"] {
  width: 100%;
  height: 48px;
  padding: 12px 118px 12px 18px;
  border: 1.5px solid var(--fc-line);
  border-radius: 999px;
  background: #f8fafb;
  color: var(--fc-ink);
  font-size: 15px;
  font-weight: 500;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.fc-search.search input[type="text"]:focus {
  outline: none;
  background: #fff;
  border-color: var(--fc-blue);
  box-shadow: 0 0 0 3px rgba(68, 180, 252, 0.18);
}
.fc-search.search input[type="text"]::-webkit-input-placeholder,
.fc-search.search input[type="text"]::-moz-placeholder,
.fc-search.search input[type="text"]:-ms-input-placeholder {
  color: var(--fc-muted);
  opacity: 1;
}
.fc-search.search button.button-search,
.fc-search.search button.button-search:focus,
.fc-search.search button.button-search:active {
  top: 4px;
  bottom: 4px;
  right: 4px;
  height: auto;
  line-height: 1;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--fc-accent) 0%, #6fc23d 55%, var(--fc-blue) 160%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  transition: background .2s ease, transform .15s ease;
}
.fc-search.search button.button-search:hover,
.fc-search.search button.button-search:focus:hover {
  background: linear-gradient(135deg, var(--fc-accent-deep) 0%, var(--fc-blue) 120%);
  color: #fff;
}
.fc-search.search button.button-search .fa {
  font-size: 14px;
}
#search.fc-search #livesearch_search_results,
.fc-search #livesearch_search_results {
  margin: 8px 0 0;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: 16px;
  box-shadow: var(--fc-shadow);
  overflow: hidden;
}
#livesearch_search_results li {
  padding: 8px 14px;
}
#livesearch_search_results li + li {
  border-top: 1px solid var(--fc-line);
}
#livesearch_search_results a,
#livesearch_search_results a:visited {
  color: var(--fc-ink);
  font-weight: 600;
}
#livesearch_search_results li:hover,
#livesearch_search_results li.highlighted {
  background: var(--fc-accent-soft);
}
#livesearch_search_results li:hover a,
#livesearch_search_results li:hover a:visited,
#livesearch_search_results li.highlighted a,
#livesearch_search_results li.highlighted a:visited {
  color: var(--fc-ink);
}
@media (max-width: 1199px) {
  .fc-search.search {
    width: min(100%, 360px);
    max-width: 360px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .fc-search.search {
    width: min(100%, 260px);
    max-width: 260px;
  }
  .fc-search.search input[type="text"] {
    padding-right: 52px;
  }
  .fc-search.search button.button-search span {
    display: none;
  }
  .fc-search.search button.button-search {
    padding: 0 14px;
  }
}
@media (max-width: 767px) {
  .fc-search.search {
    width: 100%;
    max-width: none;
  }
}

/* ========== HOME FRESH LOOK ========== */
#page.home-page,
#page:has(.fc-home) {
  background: var(--fc-canvas);
}
.home-page header .menu-line {
  margin-bottom: 0 !important;
}
.fc-home.home-top {
  padding-top: 8px;
  padding-bottom: 28px;
}

/* Categories sidebar — site-wide (home + category pages) */
aside .box.megamenu,
.column-left .box.megamenu,
.col-lg-3 .box.megamenu,
#column-left .box.megamenu {
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: 20px;
  box-shadow: var(--fc-shadow);
  overflow: visible; /* allow sf-mega flyouts */
  margin-bottom: 20px;
  position: relative;
  z-index: 20;
}
aside .box.megamenu .box-heading,
.column-left .box.megamenu .box-heading,
.col-lg-3 .box.megamenu .box-heading,
#column-left .box.megamenu .box-heading,
aside .box .box-heading,
.column-left .box .box-heading,
.col-lg-3 .box .box-heading,
#column-left .box .box-heading {
  margin: 0;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--fc-accent) 0%, #6fc23d 55%, var(--fc-blue) 160%);
  border-radius: 20px 20px 0 0;
}
aside .box .box-heading h2,
aside .box .box-heading h3,
.column-left .box .box-heading h2,
.column-left .box .box-heading h3,
.col-lg-3 .box .box-heading h2,
.col-lg-3 .box .box-heading h3,
#column-left .box .box-heading h2,
#column-left .box .box-heading h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
aside .box.megamenu .sf-menu,
.column-left .box.megamenu .sf-menu,
.col-lg-3 .box.megamenu .sf-menu,
#column-left .box.megamenu .sf-menu,
aside .box.megamenu .box-content,
.column-left .box.megamenu .box-content,
.col-lg-3 .box.megamenu .box-content,
#column-left .box.megamenu .box-content {
  border: 0 !important;
  margin: 0 !important;
  background: #fff;
  border-radius: 0 0 20px 20px;
  overflow: visible;
}
aside .box.megamenu .sf-menu > li,
.column-left .box.megamenu .sf-menu > li,
.col-lg-3 .box.megamenu .sf-menu > li,
#column-left .box.megamenu .sf-menu > li {
  margin: 0 !important;
  line-height: 1.35 !important;
  position: relative;
}
aside .box.megamenu .sf-menu > li + li,
.column-left .box.megamenu .sf-menu > li + li,
.col-lg-3 .box.megamenu .sf-menu > li + li,
#column-left .box.megamenu .sf-menu > li + li {
  border-top: 1px solid var(--fc-line);
  margin-top: 0 !important;
}
aside .box.megamenu .sf-menu > li > a,
.column-left .box.megamenu .sf-menu > li > a,
.col-lg-3 .box.megamenu .sf-menu > li > a,
#column-left .box.megamenu .sf-menu > li > a {
  display: block;
  padding: 12px 16px;
  color: var(--fc-ink);
  font-weight: 600;
  font-size: 14px;
  transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
aside .box.megamenu .sf-menu > li > a:hover,
aside .box.megamenu .sf-menu > li > a.active,
aside .box.megamenu .sf-menu > li.sfHover > a,
.column-left .box.megamenu .sf-menu > li > a:hover,
.column-left .box.megamenu .sf-menu > li > a.active,
.column-left .box.megamenu .sf-menu > li.sfHover > a,
.col-lg-3 .box.megamenu .sf-menu > li > a:hover,
.col-lg-3 .box.megamenu .sf-menu > li > a.active,
.col-lg-3 .box.megamenu .sf-menu > li.sfHover > a,
#column-left .box.megamenu .sf-menu > li > a:hover,
#column-left .box.megamenu .sf-menu > li > a.active,
#column-left .box.megamenu .sf-menu > li.sfHover > a {
  background: var(--fc-accent-soft);
  color: var(--fc-ink);
  text-shadow: none;
  padding-left: 20px;
}
aside .box.megamenu .sf-menu > li > a:hover:before,
aside .box.megamenu .sf-menu > li > a.active:before,
aside .box.megamenu .sf-menu > li.sfHover > a:before,
.column-left .box.megamenu .sf-menu > li > a:hover:before,
.column-left .box.megamenu .sf-menu > li > a.active:before,
.column-left .box.megamenu .sf-menu > li.sfHover > a:before,
.col-lg-3 .box.megamenu .sf-menu > li > a:hover:before,
.col-lg-3 .box.megamenu .sf-menu > li > a.active:before,
.col-lg-3 .box.megamenu .sf-menu > li.sfHover > a:before,
#column-left .box.megamenu .sf-menu > li > a:hover:before,
#column-left .box.megamenu .sf-menu > li > a.active:before,
#column-left .box.megamenu .sf-menu > li.sfHover > a:before {
  color: var(--fc-blue);
  text-shadow: none;
}

/* Mega flyout panel */
aside .sf-menu .sf-mega,
.column-left .sf-menu .sf-mega,
.col-lg-3 .sf-menu .sf-mega,
#column-left .sf-menu .sf-mega {
  background: #fff !important;
  border: 1px solid var(--fc-line);
  border-radius: 16px;
  box-shadow: var(--fc-shadow);
  z-index: 50;
  padding: 18px !important;
}
aside .sf-menu .sf-mega a,
.column-left .sf-menu .sf-mega a,
.col-lg-3 .sf-menu .sf-mega a,
#column-left .sf-menu .sf-mega a {
  color: var(--fc-ink);
}
aside .sf-menu .sf-mega a:hover,
.column-left .sf-menu .sf-mega a:hover,
.col-lg-3 .sf-menu .sf-mega a:hover,
#column-left .sf-menu .sf-mega a:hover,
aside .sf-menu .sf-mega li.sfHover > a,
.column-left .sf-menu .sf-mega li.sfHover > a {
  color: var(--fc-blue) !important;
}

/* Sticky only on home; overflow must stay visible for flyouts */
@media (min-width: 992px) {
  .fc-home .column-left .box.megamenu,
  .home-top .column-left .box.megamenu {
    position: sticky;
    top: 12px;
    z-index: 30;
    overflow: visible;
  }
}

/* Slideshow & banners */
.fc-home .column-content .slideshow,
.home-top .column-content .slideshow,
.fc-home .column-content .banners,
.home-top .column-content .banners {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--fc-line);
  box-shadow: var(--fc-shadow);
  margin-bottom: 18px;
}

/* Product category sections */
.fc-home .single-category,
.home-top .single-category,
.column-content > .single-category {
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: 20px;
  box-shadow: var(--fc-shadow);
  overflow: hidden;
  margin-bottom: 20px;
}
.fc-home .single-category:before,
.home-top .single-category:before {
  background: linear-gradient(180deg, rgba(152, 214, 72, 0.18) 0%, rgba(68, 180, 252, 0.14) 100%);
  border-color: transparent;
  border-radius: 20px 0 0 20px;
}
.fc-home .single-category .box-heading h2,
.home-top .single-category .box-heading h2,
.fc-home .single-category .name__aside,
.home-top .single-category .name__aside {
  color: var(--fc-ink);
  font-weight: 800;
}
.fc-home .single-category .view-all a,
.home-top .single-category .view-all a,
.single-category .view-all a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--fc-line);
  color: var(--fc-blue) !important;
  font-weight: 700;
  background: #fff;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.fc-home .single-category .view-all a:hover,
.home-top .single-category .view-all a:hover,
.single-category .view-all a:hover {
  border-color: var(--fc-blue);
  background: rgba(68, 180, 252, 0.06);
  color: var(--fc-blue) !important;
}

/* Product cards on home */
.fc-home .product-thumb,
.home-top .product-thumb {
  border-radius: 14px;
  transition: transform .15s ease, box-shadow .2s ease;
}
/* Keep main product image static on home (no hover swap) */
.fc-home .single-category .product-thumb .image .img-secondary,
.home-top .single-category .product-thumb .image .img-secondary,
.fc-home .single-category .product-thumb:hover .image .img-secondary,
.home-top .single-category .product-thumb:hover .image .img-secondary {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.fc-home .single-category .product-thumb .image .img-primary,
.home-top .single-category .product-thumb .image .img-primary,
.fc-home .single-category .product-thumb:hover .image .img-primary,
.home-top .single-category .product-thumb:hover .image .img-primary {
  opacity: 1 !important;
  visibility: visible !important;
}
.fc-home .product-thumb .name a,
.home-top .product-thumb .name a {
  color: var(--fc-ink);
  font-weight: 600;
}
.fc-home .product-thumb .name a:hover,
.home-top .product-thumb .name a:hover {
  color: var(--fc-blue);
}
.fc-home .product-thumb .price,
.home-top .product-thumb .price {
  color: var(--fc-accent-deep);
  font-weight: 800;
}

/* Featured / specials boxes in left column */
.fc-home .column-left .box:not(.megamenu),
.home-top .column-left .box:not(.megamenu) {
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: 20px;
  box-shadow: var(--fc-shadow);
  overflow: hidden;
  margin-bottom: 18px;
}
.fc-home .column-left .box:not(.megamenu) .box-content,
.home-top .column-left .box:not(.megamenu) .box-content {
  padding: 10px 12px 14px;
}

@media (max-width: 991px) {
  aside .box.megamenu .box-heading,
  .column-left .box.megamenu .box-heading,
  .col-lg-3 .box.megamenu .box-heading,
  #column-left .box.megamenu .box-heading {
    border-radius: 16px;
    cursor: pointer;
  }
}

/* ========== MOBILE-FIRST PLATFORM UX ========== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (max-width: 991px) {
  #page {
    overflow-x: clip;
  }

  /* Compact sticky header */
  header .stuck-menu {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 6px 20px rgba(36, 48, 56, 0.08);
  }
  header .navigation,
  header .stuck-menu .tm-container,
  header .stuck-menu .container,
  header .container.col-inner,
  .container.col-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  header .logo {
    margin: 10px 0 12px !important;
    max-width: 160px;
  }
  header .logo img {
    max-height: 42px;
    width: auto;
  }
  /* On phone widths the logo moves to the top bar; header keeps search only */
  @media (max-width: 767px) {
    body.fc-has-mobile-logo header h1.logo,
    body.fc-has-mobile-logo header .logo {
      display: none !important;
    }
    header .stuck-menu {
      display: none !important;
    }
    header .menu-line {
      display: none !important;
    }
  }

  /* Fixed full-width mobile search bar (below top utility panel) */
  @media (max-width: 767px) {
    body > #search.fc-mobile-bar-search,
    body > .fc-search.fc-mobile-bar-search,
    #search.fc-mobile-bar-search {
      position: fixed !important;
      top: max(52px, calc(52px + env(safe-area-inset-top, 0px))) !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      max-width: none !important;
      float: none !important;
      z-index: 10035 !important;
      margin: 0 !important;
      padding: 20px !important;
      box-sizing: border-box !important;
      background: #fff !important;
      border-bottom: 1px solid var(--fc-line);
    }
    body > #search.fc-mobile-bar-search input[type="text"],
    #search.fc-mobile-bar-search input[type="text"] {
      width: 100% !important;
      height: 48px !important;
      padding-left: 16px !important;
      padding-right: 52px !important;
      box-sizing: border-box !important;
    }
    body > #search.fc-mobile-bar-search button.button-search,
    body > #search.fc-mobile-bar-search button.button-search:focus,
    body > #search.fc-mobile-bar-search button.button-search:active,
    #search.fc-mobile-bar-search button.button-search,
    #search.fc-mobile-bar-search button.button-search:focus,
    #search.fc-mobile-bar-search button.button-search:active {
      /* Container padding 20px + 6px inset inside the 48px input */
      top: 26px !important;
      bottom: auto !important;
      right: 26px !important;
      left: auto !important;
      width: 36px !important;
      min-width: 36px !important;
      max-width: 36px !important;
      height: 36px !important;
      padding: 0 !important;
      line-height: 1 !important;
      border-radius: 50% !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
    body > #search.fc-mobile-bar-search button.button-search span,
    #search.fc-mobile-bar-search button.button-search span {
      display: none !important;
    }
    body > #search.fc-mobile-bar-search button.button-search .fa,
    #search.fc-mobile-bar-search button.button-search .fa {
      font-size: 15px !important;
      line-height: 1 !important;
      margin: 0 !important;
    }
    body > #search.fc-mobile-bar-search #livesearch_search_results,
    #search.fc-mobile-bar-search #livesearch_search_results {
      left: 20px !important;
      right: 20px !important;
      width: auto !important;
      max-width: none !important;
    }
  }

  header .menu-line {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
  }

  /* Search dominates mobile header — keep inset from screen edges */
  .fc-search.search {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  @media (max-width: 767px) {
    .fc-search.search:not(.fc-mobile-bar-search) {
      margin: 0 !important;
    }
  }
  .fc-search.search input[type="text"] {
    height: 48px;
    font-size: 16px; /* avoid iOS zoom */
    padding-left: 16px;
    padding-right: 56px;
    box-sizing: border-box !important;
  }
  .fc-search.search button.button-search span {
    display: none;
  }
  .fc-search.search button.button-search {
    min-width: 48px;
    padding: 0 16px !important;
  }
  #livesearch_search_results {
    max-height: 55vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  #livesearch_search_results li img {
    display: none !important;
  }

  /* Breadcrumbs — ocultos en móvil */
  .breadcrumb {
    display: none !important;
  }

  /* Home layout — content inset; banners stay full-bleed below */
  .fc-home.home-top,
  .home-top {
    padding: 8px 20px 24px !important;
    box-sizing: border-box !important;
  }
  .home-top .column-left,
  .home-top .column-content,
  .fc-home .column-left,
  .fc-home .column-content {
    width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .fc-home .column-content .slideshow,
  .home-top .column-content .slideshow,
  .fc-home .column-content .banners,
  .home-top .column-content .banners {
    margin-left: -20px !important;
    margin-right: -20px !important;
    width: calc(100% + 40px) !important;
    max-width: none !important;
    border-radius: 0 !important;
    margin-bottom: 16px !important;
  }

  /* Categories as primary mobile discovery */
  aside .box.megamenu,
  .column-left .box.megamenu,
  #column-left .box.megamenu {
    border-radius: 16px;
    margin-bottom: 14px;
  }
  aside .box.megamenu .box-heading,
  .column-left .box.megamenu .box-heading,
  #column-left .box.megamenu .box-heading {
    padding: 14px 16px;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-radius: 16px;
  }
  aside .box.megamenu .sf-menu > li > a,
  .column-left .box.megamenu .sf-menu > li > a,
  #column-left .box.megamenu .sf-menu > li > a {
    padding: 14px 16px;
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 15px;
  }

  /* Home product sections — kill vertical title rail + give real inset */
  .fc-home .single-category,
  .home-top .single-category,
  .column-content > .single-category,
  #common-home .single-category,
  .single-category {
    padding: 8px 0 12px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 18px !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
  }
  .fc-home .single-category:before,
  .home-top .single-category:before,
  .single-category:before {
    content: none !important;
    display: none !important;
  }
  .fc-home .single-category .box-heading,
  .home-top .single-category .box-heading,
  .single-category .box-heading {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    writing-mode: horizontal-tb !important;
    margin: 18px 18px 12px !important;
    text-align: left !important;
  }
  .single-category .box-heading h2,
  .single-category .name__aside {
    font-size: 18px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }
  .fc-home .single-category .box-content,
  .home-top .single-category .box-content,
  .single-category .box-content,
  .single-category div.box-content {
    padding: 0 18px 12px !important;
  }
  .single-category .product-thumb {
    width: auto !important;
    max-width: 100%;
    padding: 12px 10px 14px !important;
  }
  .single-category .product-thumb .name {
    margin-bottom: 8px !important;
  }
  .single-category .product-thumb .price {
    margin: 6px 0 10px !important;
  }
  .single-category .view-all {
    padding: 12px 16px 20px !important;
    text-align: center;
  }
  .single-category .view-all a {
    width: 100%;
    min-height: 46px;
  }
  .module_tab .swiper-container .swiper-slide {
    padding: 0 8px !important;
  }
}

/* Home categories — Amazon-style 2-row horizontal carousel on mobile */
@media (max-width: 767px) {
  .fc-home .single-category,
  .home-top .single-category {
    background: #fff !important;
    border: 1px solid var(--fc-line) !important;
    border-radius: 18px !important;
    box-shadow: var(--fc-shadow) !important;
    overflow: hidden !important;
    margin-bottom: 16px !important;
    padding: 0 !important;
  }
  .fc-home .single-category .fc-category-grid,
  .home-top .single-category .fc-category-grid,
  .fc-home .single-category .row.fc-category-grid,
  .home-top .single-category .row.fc-category-grid {
    display: grid !important;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 16px) / 2.4);
    gap: 4px 8px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    margin: 0 !important;
    padding: 0 8px 8px !important;
  }
  /* Bootstrap .row clearfix pseudos become empty grid cells — hide them */
  .fc-home .single-category .fc-category-grid::before,
  .home-top .single-category .fc-category-grid::before,
  .fc-home .single-category .fc-category-grid::after,
  .home-top .single-category .fc-category-grid::after {
    content: none !important;
    display: none !important;
  }
  .fc-home .single-category .fc-category-grid::-webkit-scrollbar,
  .home-top .single-category .fc-category-grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  .fc-home .single-category .fc-category-grid > .product-layout,
  .home-top .single-category .fc-category-grid > .product-layout {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 5px 5px !important;
    margin: 0 !important;
    scroll-snap-align: start;
  }
  .fc-home .single-category .product-thumb,
  .home-top .single-category .product-thumb {
    position: relative;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    text-align: left !important;
  }
  .fc-home .single-category .product-thumb .aside,
  .home-top .single-category .product-thumb .aside {
    display: none !important;
  }
  .fc-home .single-category .product-thumb .image,
  .home-top .single-category .product-thumb .image {
    position: relative;
    margin: 0 0 4px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden;
    aspect-ratio: 1 / 1;
  }
  .fc-home .single-category .product-thumb .image a,
  .home-top .single-category .product-thumb .image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  .fc-home .single-category .product-thumb .image img,
  .home-top .single-category .product-thumb .image img {
    width: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain;
  }
  .fc-home .single-category .product-thumb .image .img-secondary,
  .home-top .single-category .product-thumb .image .img-secondary,
  .fc-home .single-category .product-thumb .quickview,
  .home-top .single-category .product-thumb .quickview,
  .fc-home .single-category .product-thumb .sale,
  .home-top .single-category .product-thumb .sale,
  .fc-home .single-category .product-thumb .discount,
  .home-top .single-category .product-thumb .discount,
  .fc-home .single-category .product-thumb .new-pr,
  .home-top .single-category .product-thumb .new-pr,
  .fc-home .single-category .product-thumb .rating,
  .home-top .single-category .product-thumb .rating,
  .fc-home .single-category .product-thumb .cart-button,
  .home-top .single-category .product-thumb .cart-button,
  .fc-home .single-category .product-thumb > .btn-primary,
  .home-top .single-category .product-thumb > .btn-primary,
  .fc-home .single-category .product-thumb .caption + .btn-primary,
  .home-top .single-category .product-thumb .caption + .btn-primary,
  .fc-home .single-category .product-option-wrap,
  .home-top .single-category .product-option-wrap,
  .fc-home .single-category .product-thumb .price-tax,
  .home-top .single-category .product-thumb .price-tax {
    display: none !important;
  }
  .fc-home .single-category .product-thumb .caption,
  .home-top .single-category .product-thumb .caption {
    padding: 0 !important;
    margin: 0 !important;
  }
  .fc-home .single-category .product-thumb .image + .caption,
  .home-top .single-category .product-thumb .image + .caption {
    margin-top: 0 !important;
  }
  .fc-home .single-category .product-thumb .name,
  .home-top .single-category .product-thumb .name {
    margin: 0 0 1px !important;
    min-height: 0 !important;
    height: auto !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .fc-home .single-category .product-thumb .name a,
  .home-top .single-category .product-thumb .name a {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: var(--fc-ink) !important;
  }
  .fc-home .single-category .product-thumb .name a::after,
  .home-top .single-category .product-thumb .name a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
  }
  .fc-home .single-category .product-thumb .price,
  .home-top .single-category .product-thumb .price {
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #565959 !important;
  }
  .fc-home .single-category .product-thumb .price .price-old,
  .home-top .single-category .product-thumb .price .price-old {
    display: none !important;
  }
  .fc-home .single-category .nav-tabs,
  .home-top .single-category .nav-tabs,
  .fc-home .single-category .box-content > h3,
  .home-top .single-category .box-content > h3,
  .fc-home .single-category .module_tab > h3,
  .home-top .single-category .module_tab > h3 {
    display: none !important;
  }
  .fc-home .single-category .box-heading,
  .home-top .single-category .box-heading {
    margin: 12px 12px 6px !important;
  }
  .fc-home .single-category .box-heading h2,
  .home-top .single-category .box-heading h2 {
    margin: 0 !important;
    font-size: 16px !important;
  }
  .fc-home .single-category .box-content,
  .home-top .single-category .box-content {
    padding: 0 !important;
  }
  .fc-home .single-category .view-all,
  .home-top .single-category .view-all {
    padding: 4px 12px 12px !important;
  }
}

/*
 * Product detail — Amazon-style identity (brand + stars, then title)
 */
.fc-product-detail {
  display: grid;
  gap: 6px 28px;
  width: 100%;
  margin: 0 0 8px;
}
.fc-product-detail > .product_page-left,
.fc-product-detail > .product_page-right,
.fc-product-detail > .fc-product-identity {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.fc-product-identity {
  grid-area: identity;
  min-width: 0;
  text-align: left;
}
.fc-product-detail > .product_page-left {
  grid-area: gallery;
}
.fc-product-detail > .product_page-right {
  grid-area: buy;
}
.fc-product-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 4px;
  min-height: 20px;
}
.fc-product-brand {
  color: var(--fc-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.fc-product-brand:hover,
.fc-product-brand:focus {
  color: var(--fc-accent-deep);
  text-decoration: underline;
}
.fc-product-brand--empty {
  flex: 1 1 auto;
}
.fc-product-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}
.fc-product-rating__score {
  color: var(--fc-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.fc-product-rating__stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
}
.fc-product-rating__star {
  color: #c8c8c8;
  font-size: 15px !important;
  line-height: 1 !important;
}
.fc-product-rating__star.is-on {
  color: #de7921;
}
.fc-product-rating__count {
  color: var(--fc-blue);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}
.fc-product-rating__count:hover,
.fc-product-rating__count:focus {
  color: var(--fc-accent-deep);
  text-decoration: underline;
}
.fc-product-identity .product-title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--fc-ink);
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: 0;
  text-align: left !important;
}

/*
 * Related products — Amazon-style horizontal carousel
 */
.fc-related {
  width: 100%;
  margin: 28px 0 24px;
  padding: 0;
}
.fc-related__title {
  margin: 0 0 12px;
  padding: 0 2px;
  color: var(--fc-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.fc-related__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fc-related__track::-webkit-scrollbar {
  display: none;
}
.fc-related-card {
  flex: 0 0 auto;
  width: min(46vw, 168px);
  scroll-snap-align: start;
  background: #fff;
}
.fc-related-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: 8px;
}
.fc-related-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fc-related-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.fc-related-card__brand {
  color: var(--fc-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
.fc-related-card__brand:hover {
  color: var(--fc-blue);
  text-decoration: underline;
}
.fc-related-card__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--fc-ink);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
}
.fc-related-card__name:hover {
  color: var(--fc-blue);
  text-decoration: underline;
}
.fc-related-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.fc-related-card__stars {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 1;
}
.fc-related-card__stars i {
  color: #c8c8c8;
  font-size: 13px !important;
  line-height: 1 !important;
}
.fc-related-card__stars i.is-on {
  color: #de7921;
}
.fc-related-card__reviews {
  color: var(--fc-muted);
  font-size: 12px;
  line-height: 1;
}
.fc-related-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  margin-top: 4px;
}
.fc-related-card__discount {
  color: #cc0c39;
  font-size: 13px;
  font-weight: 700;
}
.fc-related-card__now {
  color: var(--fc-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}
.fc-related-card__list {
  width: 100%;
  color: var(--fc-muted);
  font-size: 12px;
  text-decoration: line-through;
}
@media (min-width: 768px) {
  .fc-related-card {
    width: 180px;
  }
  .fc-related__title {
    font-size: 20px;
  }
}

@media (min-width: 768px) {
  .fc-product-detail {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-areas:
      "gallery identity"
      "gallery buy";
    align-items: start;
    gap: 8px 24px;
  }
  .fc-product-identity .product-title {
    font-size: 18px !important;
  }
}
@media (max-width: 767px) {
  .fc-product-detail {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "identity"
      "gallery"
      "buy";
    gap: 3px;
    row-gap: 3px;
  }
  .fc-product-identity {
    margin: 0 !important;
    padding: 0 !important;
  }
  .fc-product-byline {
    margin: 0 0 2px !important;
    min-height: 0 !important;
  }
  .fc-product-identity .product-title {
    font-size: 15px !important;
    margin: 0 !important;
  }
  .fc-product-detail > .product_page-left {
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Responsive product gallery: side arrows + image count dots (< lg) */
@media (max-width: 1199px) {
  .product-product .product-gallery .col-xs-12.image-thumb .bx-wrapper {
    position: relative;
  }
  .product-product .col-xs-12.image-thumb .bx-wrapper .bx-controls-direction a,
  .product-product .col-xs-12.image-thumb .bx-wrapper .bx-prev,
  .product-product .col-xs-12.image-thumb .bx-wrapper .bx-next {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    z-index: 5 !important;
    width: 36px !important;
    height: 36px !important;
    margin: -18px 0 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(36, 48, 56, 0.45) !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
  .product-product .col-xs-12.image-thumb .bx-wrapper .bx-prev {
    left: 8px !important;
    right: auto !important;
  }
  .product-product .col-xs-12.image-thumb .bx-wrapper .bx-next {
    right: 8px !important;
    left: auto !important;
  }
  .product-product .col-xs-12.image-thumb .bx-wrapper .bx-prev.disabled,
  .product-product .col-xs-12.image-thumb .bx-wrapper .bx-next.disabled {
    opacity: 0.35 !important;
    visibility: visible !important;
    display: inline-flex !important;
    pointer-events: none;
  }
  .product-product .col-xs-12.image-thumb .bx-wrapper .bx-prev i,
  .product-product .col-xs-12.image-thumb .bx-wrapper .bx-next i {
    font-size: 22px !important;
    line-height: 1 !important;
    color: #fff !important;
  }
  .product-product .col-xs-12.image-thumb .bx-wrapper .bx-pager {
    position: static !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    text-align: center;
  }
  .product-product .col-xs-12.image-thumb .bx-wrapper .bx-pager .bx-pager-item {
    display: inline-block;
    float: none !important;
    margin: 0 !important;
    vertical-align: middle;
  }
  .product-product .col-xs-12.image-thumb .bx-wrapper .bx-pager .bx-pager-link {
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #c5ced3 !important;
    text-indent: -9999px !important;
    outline: none !important;
    box-shadow: none !important;
  }
  .product-product .col-xs-12.image-thumb .bx-wrapper .bx-pager .bx-pager-link:hover,
  .product-product .col-xs-12.image-thumb .bx-wrapper .bx-pager .bx-pager-link.active {
    background: var(--fc-accent-deep) !important;
  }
  .product-product .col-xs-12.image-thumb .bx-wrapper .bx-controls-direction {
    position: static;
  }
}

@media (max-width: 767px) {
  /* Mobile product toolbar — stacked, touch-friendly controls */
  .row > .col-sm-9 > .product-filter,
  #content .product-filter,
  #product-category .product-filter,
  #product-search .product-filter,
  #product-special .product-filter,
  #product-manufacturer .product-filter {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 12px !important;
    background: #fff !important;
    border: 1px solid var(--fc-line) !important;
    border-radius: 16px !important;
    box-shadow: var(--fc-shadow) !important;
    float: none !important;
    text-align: left !important;
  }
  #content .product-filter:before,
  #content .product-filter:after,
  #content .product-filter .product-filter_elem:before,
  #content .product-filter .product-filter_elem:after {
    display: none !important;
    content: none !important;
  }
  #content .product-filter .product-filter_elem {
    float: none !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }
  #content .product-filter .product-filter_elem.pull-right {
    float: none !important;
  }
  #content .product-filter .button-view,
  #content .product-filter .compare-total {
    display: none !important;
  }
  /* Hide empty wrappers that only held grid/list/compare controls */
  #content .product-filter > .product-filter_elem:not(.sort):not(.show) {
    display: none !important;
  }
  #content .product-filter .sort,
  #content .product-filter .show {
    flex: none !important;
    width: 100% !important;
  }
  #content .product-filter .sort label,
  #content .product-filter .show label,
  #content .product-filter .product-filter_elem label,
  #content .product-filter label.control-label {
    display: block !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    text-align: left !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    color: var(--fc-muted) !important;
    white-space: nowrap !important;
  }
  #content .product-filter .sort,
  #content .product-filter .show {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  #content .product-filter select,
  #content .product-filter .sbHolder {
    display: block !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 40px 0 14px !important;
    border: 1.5px solid var(--fc-line) !important;
    border-radius: 12px !important;
    background-color: #f4f8fa !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2366737a' d='M1.4.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 8px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    color: var(--fc-ink) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 46px !important;
    box-shadow: none !important;
  }
  #content .product-filter select:focus,
  #content .product-filter .sbHolder:focus {
    outline: none !important;
    border-color: var(--fc-blue) !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 3px rgba(68, 180, 252, 0.18) !important;
  }
  /* Compact limit row under sort */
  #content .product-filter .show {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding-top: 2px !important;
  }
  #content .product-filter .show label {
    margin: 0 !important;
    flex: 0 0 auto !important;
  }
  #content .product-filter .show select {
    width: auto !important;
    min-width: 88px !important;
    max-width: 120px !important;
    flex: 0 0 auto !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 34px 0 12px !important;
    line-height: 38px !important;
    font-size: 14px !important;
  }

  /* Product grid: 2 columnas sin huecos (CSS Grid, no floats) */
  #fc-product-grid,
  #content .row.fc-product-grid,
  #product-category #fc-product-grid,
  #product-special #fc-product-grid,
  #product-manufacturer #fc-product-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  #fc-product-grid::before,
  #fc-product-grid::after,
  #content .row.fc-product-grid::before,
  #content .row.fc-product-grid::after {
    display: none !important;
    content: none !important;
  }
  #content .product-layout,
  #content .product-layout.product-grid,
  #content .product-layout.product-list,
  #fc-product-grid .product-layout {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }
  #content .product-thumb,
  #fc-product-grid .product-thumb {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 14px 12px 16px;
    background: #fff;
    border: 1px solid var(--fc-line);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(36, 48, 56, 0.05);
    box-sizing: border-box;
  }
  #content .product-thumb .caption,
  #fc-product-grid .product-thumb .caption {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }
  #content .product-thumb .btn-primary,
  #content .product-thumb .cart-button,
  #content .product-thumb .caption + .btn-primary,
  #fc-product-grid .product-thumb .btn-primary,
  #fc-product-grid .product-thumb .cart-button,
  #fc-product-grid .product-thumb .caption + .btn-primary {
    margin-top: auto;
  }
  #content .product-thumb .image,
  #fc-product-grid .product-thumb .image {
    margin: 0 0 12px;
  }
  #content .product-thumb .caption,
  #fc-product-grid .product-thumb .caption {
    padding: 0 2px 4px !important;
  }
  #content .product-thumb .name,
  #fc-product-grid .product-thumb .name {
    font-size: 13px !important;
    line-height: 1.4 !important;
    min-height: 2.8em;
    margin-bottom: 8px !important;
  }
  #content .product-thumb .price,
  #fc-product-grid .product-thumb .price {
    font-size: 15px;
    font-weight: 800;
    color: var(--fc-accent-deep);
    margin: 6px 0 12px !important;
  }
  #content .product-thumb .btn-primary,
  #content .product-thumb .cart-button .btn-primary,
  #fc-product-grid .product-thumb .btn-primary {
    min-height: 42px;
    width: 100%;
    border-radius: 999px;
    font-size: 12px;
    padding: 10px 12px;
    background: linear-gradient(135deg, var(--fc-accent) 0%, #6fc23d 55%, var(--fc-blue) 160%);
    border: 0;
  }
  #content .product-thumb .product-btn,
  #fc-product-grid .product-thumb .product-btn {
    min-height: 36px;
  }

  /* Category/search-style list inside #fc-product-grid overrides the 2-col grid */
  #fc-product-grid.fc-search-results,
  .fc-category-page #fc-product-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    background: #fff;
    border: 1px solid var(--fc-line);
    border-radius: 14px;
    overflow: hidden;
  }
  #fc-product-grid.fc-search-results .product-layout,
  #fc-product-grid.fc-search-results .fc-search-card,
  .fc-category-page #fc-product-grid .fc-search-card {
    display: grid !important;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    padding: 20px 16px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--fc-line) !important;
    box-sizing: border-box;
  }
  #fc-product-grid.fc-search-results .fc-search-card:last-child,
  .fc-category-page #fc-product-grid .fc-search-card:last-child {
    border-bottom: 0 !important;
  }

  .fc-category-page__header {
    margin: 0 0 14px;
  }
  .fc-category-page__title {
    margin: 0;
    color: var(--fc-ink);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
  }
  .fc-category-page .product-filter,
  .fc-category-page #column-left,
  .fc-category-page #column-right,
  .fc-category-page .box.latest,
  .fc-category-page .box.featured,
  .fc-category-page .box.bestseller,
  .fc-category-page .box.special {
    display: none !important;
  }
  .fc-category-page #content {
    width: 100% !important;
    float: none !important;
  }

  /* Infinite scroll loader spacing */
  .fc-infinite-sentinel {
    min-height: 64px;
    margin: 4px 0 24px;
  }

  /* Cart page mobile */
  .fc-cart-page {
    padding-bottom: 96px;
  }
  .fc-cart-header h1 {
    font-size: 24px;
  }
  .fc-cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
  }
  .fc-cart-item__media img {
    width: 72px;
    height: 72px;
  }
  .fc-cart-item__body {
    grid-template-columns: 1fr !important;
    padding-right: 0 !important;
  }
  .fc-cart-item__prices {
    text-align: left !important;
  }
  .fc-cart-summary {
    position: static !important;
  }
  .fc-cart-summary__inner {
    border-radius: 16px;
  }
  .fc-cart-summary .fc-btn,
  .fc-cart-summary .fc-btn--primary {
    min-height: 48px;
    font-size: 15px;
  }

  /* Sticky mobile checkout CTA when summary in view flow */
  .fc-cart-summary .fc-btn--primary {
    position: sticky;
    bottom: 12px;
    z-index: 40;
    box-shadow: 0 10px 28px rgba(36, 48, 56, 0.18);
  }

  /* Checkout wizard */
  .fc-checkout-page {
    padding-bottom: 40px;
  }
  .fc-checkout-subtitle {
    font-size: 14px;
  }
  .fc-steps {
    gap: 6px;
    padding: 8px;
    border-radius: 16px;
    margin-bottom: 16px;
  }
  .fc-steps__item {
    min-width: 110px;
  }
  .fc-steps__btn {
    padding: 10px;
  }
  .fc-steps__label {
    font-size: 12px;
  }
  .fc-checkout-wizard .panel-body {
    padding: 16px 14px !important;
    border-radius: 16px;
  }
  .fc-login-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .fc-login-card,
  .fc-account-login .fc-login-card--form {
    padding: 18px 16px !important;
    border-radius: 16px;
    min-height: 0 !important;
  }
  .fc-account-login .side-background-login,
  .fc-account-login .side-background-forgotten {
    display: none;
  }
  .fc-account-login > .col-sm-6 {
    width: 100%;
    float: none;
  }
  .fc-checkout-wizard .form-control,
  .fc-account-login .form-control,
  .fc-register-form .form-control {
    min-height: 48px;
    font-size: 16px;
  }
  .fc-btn,
  .fc-checkout-wizard .panel-body .btn,
  .fc-checkout-wizard .panel-body input.btn {
    min-height: 48px;
  }

  /* Register */
  .fc-register-hero {
    padding: 12px 0 18px;
  }
  .fc-register-promo {
    padding: 22px 18px !important;
  }
  .fc-register-promo__mark {
    margin-bottom: 16px !important;
  }
  .fc-register-promo__mark img {
    width: 96px !important;
    height: 96px !important;
  }
  .fc-register-promo__title,
  .fc-register-promo h1.fc-register-promo__title {
    font-size: 24px !important;
  }
  .fc-register-panel {
    padding: 22px 16px 20px !important;
  }
  .fc-register-trust {
    padding: 16px 0 20px;
  }
  .fc-register-trust__list {
    gap: 10px;
  }

  /* Confirm */
  .fc-confirm__pay {
    position: static;
  }
  .fc-billing-grid {
    grid-template-columns: 1fr !important;
  }

  /* Mini cart dropdown */
  .fc-mini-cart .toggle_cont,
  #cart .toggle_cont,
  div.cart .toggle_cont {
    width: min(100vw - 24px, 360px) !important;
    max-width: min(100vw - 24px, 360px) !important;
    right: 0 !important;
    left: auto !important;
    top: 56px !important;
    max-height: min(70vh, 560px) !important;
    overflow: hidden !important;
    border-radius: 16px !important;
  }
  .fc-mini-cart__actions {
    grid-template-columns: 1fr;
  }
  .fc-mini-cart__actions .fc-btn {
    min-height: 44px;
  }
  .fc-mini-cart__actions-bar {
    width: 100% !important;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)) !important;
  }

  /*
   * Mobile top utility bar (rd-mobilepanel):
   * Theme paints this bar above #page, so a fixed cart inside the header
   * stays hidden behind it. JS mounts #cart into the panel; style it there.
   */
  body {
    padding-top: max(52px, calc(52px + env(safe-area-inset-top, 0px))) !important;
  }
  body.fc-has-fixed-search {
    padding-top: max(140px, calc(52px + 88px + env(safe-area-inset-top, 0px))) !important;
  }
  .rd-mobilepanel {
    display: block !important;
    position: fixed !important;
    height: 52px !important;
    padding-top: env(safe-area-inset-top, 0px);
    box-sizing: content-box !important;
    background: #fff !important;
    border-bottom: 1px solid var(--fc-line);
    box-shadow: none !important;
    z-index: 10040 !important;
    overflow: visible !important;
  }
  .rd-mobilepanel_title {
    display: none !important;
  }
  .rd-mobilepanel_toggle {
    top: calc(env(safe-area-inset-top, 0px) + 8px) !important;
    left: 12px !important;
    width: 36px !important;
    height: 36px !important;
    z-index: 10045 !important;
  }
  .rd-mobilepanel_toggle span,
  .rd-mobilepanel_toggle span:before,
  .rd-mobilepanel_toggle span:after {
    width: 18px !important;
    background-color: var(--fc-ink) !important;
  }

  /* Logo left-aligned next to hamburger, with consistent gap */
  .rd-mobilepanel .fc-mobile-bar-logo,
  .rd-mobilepanel h1.logo.fc-mobile-bar-logo {
    position: absolute !important;
    left: 56px !important;
    right: auto !important;
    top: calc(env(safe-area-inset-top, 0px) + 26px) !important;
    transform: translateY(-50%) !important;
    z-index: 10042 !important;
    display: block !important;
    width: auto !important;
    max-width: calc(100vw - 168px) !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    text-align: left !important;
    line-height: 1 !important;
  }
  .rd-mobilepanel .fc-mobile-bar-logo:after {
    display: none !important;
  }
  .rd-mobilepanel .fc-mobile-bar-logo a {
    display: inline-block !important;
    line-height: 1 !important;
  }
  .rd-mobilepanel .fc-mobile-bar-logo img {
    display: block !important;
    max-height: 32px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  header .box-cart,
  header .box-cart.pull-right,
  .box-cart.pull-right,
  .box-cart {
    position: static !important;
    float: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  /* Cart re-parented to body by fc-mobile-header.js (above .rd-mobilepanel) */
  body > #cart.cart,
  body > #cart.fc-mobile-bar-cart,
  header #cart.cart,
  header div#cart.cart,
  #cart.cart,
  div#cart.cart,
  div.cart#cart,
  .fc-mini-cart#cart {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 6px) !important;
    right: max(10px, env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 10050 !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body > #cart > button,
  body > #cart.cart > button,
  header #cart.cart > button,
  #cart.cart > button,
  div#cart.cart > button,
  div.cart > button.toggle,
  .fc-mini-cart > button.toggle {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #98d648 !important;
    box-shadow: 0 2px 10px rgba(36, 48, 56, 0.2) !important;
    line-height: 1 !important;
    text-align: center !important;
    color: #fff !important;
  }

  body > #cart > button i,
  header #cart.cart > button i,
  #cart.cart > button i,
  div.cart > button i,
  .fc-mini-cart > button i {
    display: block !important;
    float: none !important;
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    color: #fff !important;
  }

  body > #cart > button strong,
  body > #cart > button br,
  body > #cart > button .cart-total,
  body > #cart > button .cart-total2,
  header #cart.cart > button strong,
  header #cart.cart > button br,
  header #cart.cart > button .cart-total,
  header #cart.cart > button .cart-total2,
  #cart.cart > button strong,
  #cart.cart > button br,
  #cart.cart > button .cart-total,
  #cart.cart > button .cart-total2,
  div.cart > button strong,
  div.cart > button .cart-total,
  div.cart > button .cart-total2 {
    display: none !important;
  }

  body > #cart > button .cart-total3,
  header #cart.cart > button .cart-total3,
  #cart.cart > button .cart-total3,
  div.cart > button .cart-total3,
  .fc-mini-cart > button .cart-total3 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: -3px !important;
    right: -3px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #243038 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  /* Account icon sits left of cart in the same bar */
  body > #top-links,
  body > #top-links.fc-mobile-bar-account,
  #top-links {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 6px) !important;
    right: 58px !important;
    left: auto !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    z-index: 10050 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  #top-links > .toggle,
  #top-links > .fc-top-account,
  #top-links > a.material-icons-person_outline {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 26px !important;
    line-height: 1 !important;
    color: var(--fc-ink) !important;
  }
  #top-links > .toggle span,
  #top-links > .fc-top-account span {
    display: none !important;
  }
  /* No dropdown under the user icon — direct link only */
  body > #top-links > .toggle_cont,
  #top-links.fc-mobile-bar-account > .toggle_cont {
    display: none !important;
  }

  /* Success */
  .fc-success-card {
    margin: 8px 0 20px;
    padding: 28px 18px;
    border-radius: 18px;
  }
  .fc-success-card__title {
    font-size: 22px;
  }

  /* Generic containers breathing room */
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Content below banners: more horizontal + vertical air */
  #content,
  #common-home #content,
  #product-category #content,
  #product-search #content {
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-top: 20px;
  }

  /*
   * Product detail mobile redesign
   * NOTE: template uses class .product-product (not #product-product id)
   */
  .product-product.container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .product-product > .row,
  .product-product #content,
  .product-product #content > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .product-product #content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    width: 100% !important;
  }
  .product-product .breadcrumb {
    display: none !important;
  }
  .product-product .product_page-left,
  .product-product .product_page-right {
    float: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .product-product .product_page-left {
    margin: 0 !important;
  }
  .product-product .product_page-left + .product_page-right {
    margin-top: 5px !important;
  }
  .product-product .product-gallery,
  .product-product .product-gallery .row,
  .product-product .product-gallery .col-xs-12 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .product-product .product-gallery {
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden;
    background: #fff;
    box-shadow: none !important;
  }
  .product-product .product-gallery .image-thumb li a,
  .product-product .col-xs-12.image-thumb li a,
  .product-product #productFullGallery li a {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  .product-product .product-gallery .bx-wrapper,
  .product-product .product-gallery img {
    max-width: 100%;
  }
  .product-product .product_page-right {
    padding: 0 !important;
  }
  .product-product .general_info.product-info,
  .product-product .fc-product-meta {
    margin: 8px 0 0 !important;
    padding: 0 !important;
  }
  .product-product .fc-product-meta .product-section,
  .product-product .fc-product-meta .list-unstyled {
    margin: 0 !important;
    padding: 0 !important;
  }
  .product-product .fc-product-meta .product-section li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
  }
  .product-product #product .product-share,
  .product-product .product-share {
    display: none !important;
  }
  .product-product .cart-button.hidden-lg,
  .product-product .hidden-lg.cart-button {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 6px 0 0 !important;
    padding: 0 !important;
  }
  .product-product .fc-related {
    margin-top: 28px !important;
  }
  .product-product .fc-product-identity {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
  }
  .product-product .product-title,
  .product-product h1.product-title,
  .product-product h2.product-title,
  .product-product .fc-product-identity .product-title {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--fc-ink);
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    letter-spacing: 0;
    text-align: left !important;
  }
  .product-product .product-section.list-unstyled,
  .product-product .list-unstyled.product-section {
    margin: 0 0 14px !important;
    padding: 0 !important;
  }
  .product-product .fc-product-meta .product-section.list-unstyled,
  .product-product .fc-product-meta .list-unstyled.product-section {
    margin: 0 !important;
    padding: 0 !important;
  }
  .product-product .product-section li {
    margin: 0 0 8px !important;
    padding: 0 !important;
    line-height: 1.45 !important;
    color: var(--fc-ink);
  }
  .product-product .fc-product-meta .product-section li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
  }
  .product-product .rating-section,
  .product-product .product-rating-status,
  .product-product .rating {
    margin: 0 0 18px !important;
    padding: 0 !important;
  }
  .product-product #product {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .product-product #product .form-group,
  .product-product #product .form-horizontal,
  .product-product #product .form-horizontal .form-group {
    margin: 0 !important;
    padding: 0 !important;
  }
  .product-product #product .form-horizontal .col-sm-12 {
    padding: 0 !important;
    width: 100% !important;
  }
  .product-product #product .quantity {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 14px !important;
  }
  .product-product #product .fc-buybox__qty.quantity {
    margin: 0 !important;
  }
  .product-product #product .quantity > label,
  .product-product #product .fc-buybox__qty-label {
    margin: 0 !important;
    color: var(--fc-ink);
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
  }
  .product-product #product .price-section,
  .product-product #product .fc-buybox__price {
    margin: 0 !important;
    padding: 0 !important;
  }
  .product-product #product .price-section .price-new,
  .product-product #product .price-section .price,
  .product-product #product .fc-buybox__price .price-new {
    display: inline-block;
    margin: 0 !important;
    color: var(--fc-ink);
    font-size: 40px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
  }
  .product-product #product .price-section .reward-block:empty,
  .product-product #product .price-section .tax:empty {
    display: none !important;
  }
  .product-product #product .reward-block {
    margin-top: 6px;
  }
  .product-product .fc-product-actions {
    margin: 10px 0 0 !important;
    gap: 6px !important;
  }
  .product-product .fc-product-actions__cart,
  .product-product .fc-product-actions__buy,
  .product-product #product #button-cart.fc-product-actions__cart,
  .product-product #product #button-buy-now.fc-product-actions__buy,
  .product-product #product button#button-cart {
    display: inline-flex !important;
    width: 100% !important;
    min-height: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }
  .product-product .fc-product-actions__cart span,
  .product-product .fc-product-actions__buy span,
  .product-product #product #button-cart span,
  .product-product #product #button-buy-now span {
    display: inline !important;
    font-size: 17px !important;
    line-height: inherit !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-indent: 0 !important;
  }
  .product-product #product .product-countdown {
    margin: 4px 0 !important;
  }
  .product-product #product .product-options {
    margin: 0 0 6px !important;
  }
  .product-product .cart-button.hidden-lg,
  .product-product .hidden-lg.cart-button {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 6px 0 0 !important;
    padding: 0 !important;
  }
  .product-product .cart-button .product-btn {
    margin: 0 !important;
  }
  .product-product .product_tabs,
  .product-product .nav-tabs {
    margin-top: 20px !important;
    padding: 0 !important;
  }
  .product-product .tab-content {
    padding: 16px 2px 24px !important;
  }
  .product-product .related-block {
    margin-top: 8px !important;
    padding: 0 2px !important;
  }
  .product-product .box-heading,
  .product-product .related-block .box-heading {
    margin-bottom: 14px !important;
    padding: 0 !important;
  }

  #content > h1,
  #content .product_page-right,
  #content .product-info,
  #product,
  .product_page-right {
    padding-left: 4px;
    padding-right: 4px;
  }
  .product_page-right h1,
  #content h1 {
    margin: 12px 0 14px;
    line-height: 1.3;
    padding: 0 2px;
  }
  .product_page-right .list-unstyled,
  #content .product-info .list-unstyled {
    margin: 0 0 16px;
    padding: 0 2px;
  }
  .product_page-right .list-unstyled li,
  #content .product-info .list-unstyled li {
    margin-bottom: 8px;
    line-height: 1.45;
  }
  #product {
    margin-top: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  #product .price-section {
    margin: 0 !important;
  }
  #product #button-cart,
  #product #button-buy-now,
  #product button#button-cart,
  #product .btn-primary,
  #product .fc-btn--buy-now {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    border-radius: 999px;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }
  #product .fc-product-actions {
    margin-top: 10px !important;
    gap: 6px !important;
  }
  #product .fc-product-actions__cart span,
  #product .fc-product-actions__buy span,
  #product #button-cart span,
  #product #button-buy-now span {
    display: inline !important;
    font-size: 17px !important;
    line-height: inherit !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-indent: 0 !important;
  }
  #product .quantity {
    margin-bottom: 0 !important;
  }
  .product_page-right .rating,
  #content .rating {
    margin: 12px 0 16px;
    padding: 0 2px;
  }
  .nav-tabs {
    margin-top: 18px;
    padding: 0 2px;
  }
  .tab-content {
    padding: 16px 4px 20px;
  }
  .box .box-heading,
  #content .box-heading {
    margin-bottom: 14px;
    padding-left: 4px;
    padding-right: 4px;
  }

  /* Keep product gallery edge behavior; home banners already full-bleed via negative margin */
  .product_page-left,
  .thumbnails {
    margin-left: 0;
    margin-right: 0;
  }

  /* Tap-friendly links in account/footer areas */
  footer a,
  #top-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 479px) {
  .product-product.container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .product-product #product {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .product-product #product button#button-cart,
  .product-product #product #button-cart,
  .product-product #product #button-buy-now {
    display: inline-flex !important;
    width: 100% !important;
    min-height: 50px !important;
    height: 50px !important;
    margin: 0 !important;
  }
  #content .product-thumb .name,
  #fc-product-grid .product-thumb .name {
    font-size: 12px !important;
  }
  .fc-cart-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .fc-cart-item__media img {
    width: 64px;
    height: 64px;
  }
}

/* ========== Site footer (FarmasCuba) ========== */
.fc-site-footer {
  --fc-accent: #98D648;
  --fc-accent-deep: #7eb83a;
  --fc-blue: #44B4FC;
  --fc-accent-soft: #f4fbf6;
  --fc-ink: #243038;
  --fc-muted: #66737a;
  --fc-line: #e4ecf0;
  --fc-surface: #ffffff;
  --fc-canvas: #f7fbfd;
  margin-top: 40px;
  padding-top: 0;
  background:
    linear-gradient(180deg, #eef8f1 0%, var(--fc-canvas) 28%, #ffffff 100%);
  border-top: 3px solid var(--fc-accent);
  color: var(--fc-muted);
  font-size: 14px;
  line-height: 1.45;
}
.fc-site-footer > .container {
  padding-top: 28px;
}
.fc-footer-panels {
  display: flow-root;
}
.fc-site-footer a,
.fc-site-footer a:visited {
  color: var(--fc-muted);
}
.fc-site-footer a:hover,
.fc-site-footer a:focus,
.fc-site-footer a:active {
  color: var(--fc-accent-deep);
}
.fc-site-footer .box-heading,
.fc-site-footer h4.box-heading {
  margin: 0 0 14px;
  color: var(--fc-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}
.fc-site-footer ul.box-content li + li {
  margin-top: 10px;
}
.fc-site-footer address {
  margin: 0;
  line-height: 1.7;
}
.fc-site-footer address i {
  color: var(--fc-accent-deep);
}
.fc-site-footer .copyright {
  margin-top: 28px;
  border-top: 1px solid var(--fc-line);
  background: rgba(255, 255, 255, 0.55);
}
.fc-site-footer .copyright > .container {
  padding-top: 14px;
  padding-bottom: 18px;
  color: var(--fc-muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 767px) {
  .fc-site-footer {
    margin-top: 28px;
    text-align: left;
  }
  .fc-site-footer > .container {
    padding-top: 28px;
    padding-bottom: 12px;
  }
  .fc-footer-panels {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .fc-site-footer .footer_modules,
  .fc-site-footer .fc-footer-panel {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .fc-site-footer .footer_modules .homebuilder {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0 !important;
  }
  .fc-site-footer .footer_modules .col-xs-12,
  .fc-site-footer .fc-footer-panel > .box,
  .fc-site-footer .fc-footer-panel {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  /* Wide wrapper (homebuilder) is not a card itself */
  .fc-site-footer .fc-footer-panel--wide {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  .fc-site-footer .fc-footer-panel:not(.fc-footer-panel--wide),
  .fc-site-footer .footer_modules .col-xs-12 {
    border: 1px solid var(--fc-line);
    border-radius: 14px;
    background: var(--fc-surface);
    box-shadow: 0 6px 18px rgba(36, 48, 56, 0.05);
    overflow: hidden;
  }
  .fc-site-footer .box-heading,
  .fc-site-footer h4.box-heading,
  .fc-site-footer .footer_modules .col-xs-12 .box-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 !important;
    padding: 17px 18px !important;
    background: transparent !important;
    color: var(--fc-ink) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .fc-site-footer .box-heading::after {
    content: '';
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: -3px;
    border-right: 2px solid var(--fc-accent-deep);
    border-bottom: 2px solid var(--fc-accent-deep);
    transform: rotate(45deg);
    transition: transform 0.2s ease, border-color 0.2s ease;
  }
  .fc-site-footer .box-heading.active {
    background: var(--fc-accent-soft) !important;
    color: var(--fc-accent-deep) !important;
    border-bottom: 1px solid var(--fc-line);
  }
  .fc-site-footer .box-heading.active::after {
    margin-top: 3px;
    border-color: var(--fc-blue);
    transform: rotate(-135deg);
  }
  .fc-site-footer .box-heading + .box-content,
  .fc-site-footer .box-heading + .box-content.footer_box {
    display: none;
    margin: 0 !important;
    padding: 8px 12px 14px !important;
    background: var(--fc-surface);
    text-align: left;
  }
  .fc-site-footer .box-content.list-unstyled {
    list-style: none;
  }
  .fc-site-footer ul.box-content li {
    margin: 0 !important;
  }
  .fc-site-footer ul.box-content li + li {
    margin: 0 !important;
    border-top: 1px solid #f0f4f6;
  }
  .fc-site-footer ul.box-content a {
    display: flex !important;
    align-items: center;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--fc-ink) !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
  }
  .fc-site-footer ul.box-content a:hover,
  .fc-site-footer ul.box-content a:focus {
    background: var(--fc-accent-soft);
    color: var(--fc-accent-deep) !important;
  }
  .fc-site-footer .box-content.footer_box {
    padding: 8px 16px 18px !important;
  }
  .fc-site-footer address {
    margin: 0;
    text-align: left;
    line-height: 1.55;
  }
  .fc-site-footer address p {
    margin: 0;
  }
  .fc-site-footer address i {
    width: 22px;
    margin: 0 10px 0 0;
    font-size: 18px;
    vertical-align: middle;
  }
  .fc-site-footer address a,
  .fc-site-footer .footer-link {
    display: inline !important;
    min-height: 0;
    color: var(--fc-ink) !important;
    font-weight: 500;
  }
  /* Social icons centered with breathing room */
  .fc-site-footer .module-social,
  .fc-site-footer .social-block {
    display: block;
    width: 100%;
    margin: 6px 0 0;
    padding: 0;
    text-align: center;
  }
  .fc-site-footer .module-social .box-content,
  .fc-site-footer .social-block .box-content {
    display: block !important;
    margin: 0 !important;
    padding: 18px 12px 8px !important;
    text-align: center !important;
  }
  .fc-site-footer .module-social .box-content > p {
    margin: 0 0 14px;
    color: var(--fc-muted);
    font-size: 13px;
  }
  .fc-site-footer .social-list {
    display: inline-flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    float: none;
    margin: 0 auto;
    padding: 0;
    list-style: none;
  }
  .fc-site-footer .social-list li {
    float: none !important;
    display: block;
    margin: 0 !important;
  }
  .fc-site-footer .social-list a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-height: 48px;
    border: 1px solid var(--fc-line);
    border-radius: 50%;
    background: #fff;
    color: var(--fc-accent-deep) !important;
    font-size: 22px;
    line-height: 1;
  }
  .fc-site-footer .social-list a:hover,
  .fc-site-footer .social-list a:focus {
    background: var(--fc-accent);
    border-color: var(--fc-accent);
    color: #fff !important;
  }
  .fc-site-footer .copyright {
    margin-top: 24px;
  }
  .fc-site-footer .copyright > .container {
    padding-top: 16px;
    padding-bottom: max(18px, env(safe-area-inset-bottom, 18px));
    font-size: 11px;
  }
}

/* ========== Information / CMS pages (Sobre Nosotros, etc.) ========== */
.fc-info-page {
  padding-bottom: 32px;
}
.fc-info-hero {
  margin: 8px 0 20px;
}
.fc-info-hero h1 {
  margin: 0;
  color: var(--fc-ink);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  border: 0;
}
.fc-info-card {
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius);
  background: var(--fc-surface);
  box-shadow: var(--fc-shadow);
  overflow: hidden;
}
.fc-info-body {
  padding: 22px 20px 28px;
  color: var(--fc-ink);
  font-size: 15px;
  line-height: 1.65;
}
.fc-info-body > .text-center {
  text-align: left !important;
}
.fc-info-body h3,
.fc-info-body h4,
.fc-info-body h5 {
  color: var(--fc-ink);
  font-weight: 700;
  line-height: 1.3;
}
.fc-info-body h3 {
  margin: 36px 0 16px;
  padding-top: 8px;
  border-top: 1px solid var(--fc-line);
  font-size: 20px;
}
.fc-info-body h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.fc-info-body h4 {
  margin: 0 0 14px;
  font-size: 18px;
  color: var(--fc-accent-deep);
}
.fc-info-body h5 {
  margin: 0 0 8px;
  font-size: 15px;
}
.fc-info-body p {
  margin: 0 0 14px;
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.65;
}
.fc-info-body ul,
.fc-info-body ol {
  margin: 0 0 18px;
  padding-left: 1.25em;
  color: var(--fc-muted);
}
.fc-info-body li {
  margin: 0 0 8px;
  line-height: 1.55;
}
.fc-info-body li::marker {
  color: var(--fc-accent-deep);
}
.fc-info-body .fc-policy-updated {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--fc-accent-soft);
  border: 1px solid #d7ebda;
  color: var(--fc-ink);
  font-size: 14px;
}
.fc-info-body a {
  color: var(--fc-blue);
}
.fc-info-body a:hover {
  color: var(--fc-accent-deep);
}
.fc-info-body .row {
  margin-left: -8px;
  margin-right: -8px;
}
.fc-info-body .row > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}
.fc-info-body .count-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 120px;
  margin: 8px 0 16px;
  padding: 22px 16px;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius);
  background:
    linear-gradient(160deg, var(--fc-accent-soft) 0%, #ffffff 55%);
  text-align: center;
  box-shadow: 0 6px 18px rgba(36, 48, 56, 0.05);
}
.fc-info-body .count-box strong {
  display: block;
  color: var(--fc-accent-deep);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.fc-info-body .count-box h5 {
  margin: 0;
  max-width: 12em;
  color: var(--fc-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.fc-info-body .icon-box {
  height: 100%;
  margin: 0 0 14px;
  padding: 20px 16px;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius);
  background: #fff;
  box-shadow: 0 6px 18px rgba(36, 48, 56, 0.05);
  text-align: left;
}
.fc-info-body .icon-box i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 0 14px;
  border-radius: 14px;
  background: var(--fc-accent-soft);
  color: var(--fc-accent-deep) !important;
  font-size: 26px !important;
  line-height: 1 !important;
}
.fc-info-body .icon-box h5 {
  margin: 0 0 8px;
  color: var(--fc-ink);
  font-size: 16px;
  font-weight: 700;
}
.fc-info-body .icon-box p {
  margin: 0;
  color: var(--fc-muted);
  font-size: 14px;
  line-height: 1.55;
}
.fc-info-body .row[style*="margin-bottom"] {
  margin-bottom: 0 !important;
  margin-top: 4px;
  padding: 18px 18px;
  border-radius: 12px;
  background: var(--fc-accent-soft);
  border: 1px solid #d7ebda;
}
.fc-info-body .row[style*="margin-bottom"] p {
  margin: 0;
  color: var(--fc-ink);
  white-space: pre-line;
}
.fc-info-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.fc-info-actions .fc-btn {
  min-width: 200px;
}

@media (min-width: 768px) {
  .fc-info-body {
    padding: 28px 32px 36px;
  }
  .fc-info-hero h1 {
    font-size: 32px;
  }
  .fc-info-body .count-box {
    margin-top: 18px;
    margin-bottom: 8px;
  }
  .fc-info-body .icon-box {
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .fc-info-hero h1 {
    font-size: 24px;
  }
  .fc-info-body {
    padding: 18px 16px 22px;
  }
  .fc-info-body h3 {
    margin-top: 28px;
    font-size: 18px;
  }
  .fc-info-body .count-box {
    min-height: 100px;
    margin-bottom: 10px;
  }
  .fc-info-body .count-box strong {
    font-size: 30px;
  }
}

/* Hide empty green band under related products on product detail */
.product-product .tm-container,
.product-product .tm-container .block-info,
.product-product .block-info,
.block-info.row-inner {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  overflow: hidden !important;
}

/* Product page — buy box (tight stack, no card) */
.fc-buybox {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.fc-buybox__price {
  margin: 0 !important;
  padding: 0 !important;
}
.fc-buybox__price .price-new {
  display: inline-block;
  color: var(--fc-ink);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
}
.fc-buybox__price .price-old {
  display: inline-block;
  margin-right: 8px;
  color: var(--fc-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: line-through;
}
.fc-buybox__price .tax,
.fc-buybox__price .reward-block {
  display: block;
  margin-top: 2px;
  color: var(--fc-muted);
  font-size: 12px;
}
.fc-buybox__stock {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.fc-buybox__stock.is-in {
  color: #007600;
}
.fc-buybox__stock.is-out {
  color: var(--fc-danger);
}
.fc-buybox__qty.quantity {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 2px 0 !important;
  padding: 8px 12px !important;
  border: 1px solid #888c8c;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 17, 17, 0.06);
  box-sizing: border-box;
}
.fc-buybox__qty-label {
  margin: 0 !important;
  color: var(--fc-ink);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}
.fc-buybox__qty #input-quantity {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 36px;
  max-width: 64px;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 6px !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--fc-ink);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.fc-buybox__qty .counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  color: var(--fc-ink);
  text-decoration: none;
}
.fc-buybox__qty .counter-minus {
  order: 3;
  margin-left: auto;
}
.fc-buybox__qty .counter-plus {
  order: 4;
}
.fc-buybox__qty #input-quantity {
  order: 2;
}
.fc-buybox__qty-label {
  order: 1;
}

/* Product page — add to cart + buy now (Amazon-style stacked pills) */
.fc-product-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 2px 0 0;
}
.fc-product-actions__cart,
.fc-product-actions__buy {
  width: 100%;
  min-height: 50px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px !important;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  box-sizing: border-box;
}
.fc-product-actions__cart span,
.fc-product-actions__buy span {
  display: inline !important;
  font-size: 17px !important;
  line-height: inherit !important;
  color: inherit !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-indent: 0 !important;
}
.fc-product-actions__cart.btn-primary {
  background: linear-gradient(135deg, var(--fc-accent) 0%, #6fc23d 55%, var(--fc-blue) 160%) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: none !important;
}
.fc-product-actions__cart.btn-primary:hover,
.fc-product-actions__cart.btn-primary:focus {
  background: linear-gradient(135deg, var(--fc-accent-deep) 0%, var(--fc-blue) 120%) !important;
  color: #fff !important;
}
#product .fc-btn--buy-now,
.fc-product-actions__buy.fc-btn--buy-now {
  background: linear-gradient(135deg, #2f9fe8 0%, var(--fc-blue) 55%, #1a7fc4 140%) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: none !important;
}
#product .fc-btn--buy-now:hover,
#product .fc-btn--buy-now:focus,
.fc-product-actions__buy.fc-btn--buy-now:hover,
.fc-product-actions__buy.fc-btn--buy-now:focus {
  background: linear-gradient(135deg, #1f8fd6 0%, #1670b0 120%) !important;
  color: #fff !important;
}
#product .fc-btn--buy-now i,
#product .fc-product-actions__buy.fc-btn--buy-now i,
#product .fc-product-actions__cart i {
  display: none !important;
}
@media (min-width: 768px) {
  .fc-product-actions {
    flex-direction: column;
    gap: 6px;
  }
  .fc-product-actions__cart,
  .fc-product-actions__buy,
  #product #button-cart.fc-product-actions__cart,
  #product #button-buy-now.fc-product-actions__buy {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
  }
}

/* Quick view — buy now + add to cart (full width, no horizontal overflow) */
.ajax-quickview .product-option-wrap {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}
.ajax-quickview .fc-product-actions--quickview {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin: 12px 0 0;
  box-sizing: border-box;
}
.ajax-quickview .fc-product-actions--quickview .fc-product-actions__cart,
.ajax-quickview .fc-product-actions--quickview .fc-product-actions__buy {
  flex: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  min-height: 44px;
  height: auto !important;
  padding: 10px 14px !important;
  box-sizing: border-box !important;
  white-space: normal;
  text-align: center;
}
.ajax-quickview .fc-product-actions--quickview .fc-product-actions__cart span,
.ajax-quickview .fc-product-actions--quickview .fc-product-actions__buy span {
  white-space: normal;
}
.ajax-quickview-cont-wrap {
  max-width: 50%;
  overflow-x: hidden;
  box-sizing: border-box;
}
.ajax-quickview-cont-wrap .ajax-quickview-cont {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
.ajax-quickview-cont-wrap .ajax-quickview-cont .counter + .fc-product-actions--quickview {
  margin-left: 0;
  margin-top: 12px;
}
.ajax-quickview-cont-wrap .ajax-quickview-cont .btn-primary.fc-product-actions__cart,
.ajax-quickview-cont-wrap .ajax-quickview-cont .fc-product-actions__buy {
  float: none !important;
  clear: both;
}

/* Product page — add to cart + buy now (mobile overrides in responsive section) */

/* ========== Contact page ========== */
.fc-contact-page {
  padding-bottom: 28px;
}
.fc-contact-hero {
  margin: 8px 0 22px;
}
.fc-contact-hero h1 {
  margin: 0 0 8px;
  color: var(--fc-ink);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  border: 0;
}
.fc-contact-hero__lead {
  margin: 0;
  max-width: 36em;
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.5;
}
.fc-contact-layout {
  display: grid;
  gap: 22px;
}
@media (min-width: 992px) {
  .fc-contact-layout {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 28px;
  }
}
.fc-contact-cards {
  display: grid;
  gap: 12px;
}
.fc-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 16px;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius);
  background: var(--fc-surface);
  box-shadow: var(--fc-shadow);
  color: inherit;
  text-decoration: none !important;
  transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
a.fc-contact-card:hover,
a.fc-contact-card:focus {
  border-color: var(--fc-accent);
  box-shadow: 0 12px 28px rgba(36, 48, 56, 0.1);
  transform: translateY(-1px);
}
.fc-contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--fc-accent-soft);
  color: var(--fc-accent-deep);
  font-size: 22px;
  line-height: 1;
}
.fc-contact-card__icon i {
  font-size: inherit;
  line-height: 1;
  color: inherit;
}
.fc-contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.fc-contact-card__body strong {
  color: var(--fc-ink);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.fc-contact-card__body > span,
.fc-contact-card__body address {
  margin: 0;
  color: var(--fc-ink);
  font-size: 15px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.45;
  word-break: break-word;
}
.fc-contact-card__body a {
  color: var(--fc-blue) !important;
  text-decoration: none !important;
}
.fc-contact-card__body a:hover {
  color: var(--fc-accent-deep) !important;
}
.fc-contact-locations {
  margin-top: 20px;
}
.fc-contact-locations h2,
.fc-contact-form-card h2 {
  margin: 0 0 8px;
  color: var(--fc-ink);
  font-size: 18px;
  font-weight: 700;
}
.fc-contact-accordion .panel {
  margin-bottom: 10px;
  border: 1px solid var(--fc-line);
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
}
.fc-contact-accordion .panel-heading {
  padding: 0;
  background: var(--fc-surface);
  border: 0;
}
.fc-contact-accordion .panel-title {
  font-size: 14px;
  font-weight: 700;
}
.fc-contact-accordion .panel-title > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--fc-ink) !important;
  text-decoration: none !important;
}
.fc-contact-accordion .panel-title > a i {
  color: var(--fc-accent-deep);
  font-size: 12px;
}
.fc-contact-accordion .panel-body {
  border-top: 1px solid var(--fc-line);
  padding: 14px 16px;
  color: var(--fc-muted);
  font-size: 14px;
}
.fc-contact-locations__img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 12px;
  border-radius: 10px;
}
.fc-contact-form-card {
  padding: 22px 20px 24px;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-radius);
  background: var(--fc-surface);
  box-shadow: var(--fc-shadow);
}
.fc-contact-form-card__hint {
  margin: 0 0 18px;
  color: var(--fc-muted);
  font-size: 13px;
  line-height: 1.45;
}
.fc-contact-form .form-group {
  margin-bottom: 16px;
}
.fc-contact-form .control-label {
  display: block;
  margin-bottom: 6px;
  color: var(--fc-ink);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
.fc-contact-form .form-control {
  height: 46px;
  border: 1.5px solid var(--fc-line);
  border-radius: 12px;
  box-shadow: none;
  color: var(--fc-ink);
  font-size: 15px;
}
.fc-contact-form textarea.form-control {
  height: auto;
  min-height: 140px;
  padding-top: 12px;
  resize: vertical;
}
.fc-contact-form .form-control:focus {
  border-color: var(--fc-accent);
  box-shadow: 0 0 0 3px rgba(152, 214, 72, 0.2);
}
.fc-contact-form .has-error .form-control {
  border-color: var(--fc-danger);
}
.fc-contact-form .text-danger {
  margin-top: 6px;
  font-size: 12px;
}
.fc-contact-form__actions {
  margin-top: 8px;
}
.fc-contact-form__actions .fc-btn--primary {
  border-radius: 999px;
}

@media (max-width: 767px) {
  .fc-contact-hero h1 {
    font-size: 24px;
  }
  .fc-contact-hero__lead {
    font-size: 14px;
  }
  .fc-contact-form-card {
    padding: 18px 16px 20px;
  }
  .fc-contact-card {
    padding: 14px;
  }
}

/* ========== ACCOUNT EDIT ========== */
.fc-edit-page {
  padding-bottom: 48px;
}
.fc-edit-hero {
  margin: 8px 0 20px;
}
.fc-edit-hero h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  color: var(--fc-ink);
  text-transform: none;
}
.fc-edit-hero__lead {
  margin: 0;
  max-width: 520px;
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.5;
}
.fc-edit-card {
  max-width: 640px;
  padding: 24px 22px 26px;
  border: 1px solid var(--fc-line);
  border-radius: calc(var(--fc-radius) + 2px);
  background: var(--fc-surface);
  box-shadow: var(--fc-shadow);
}
.fc-edit-card__head {
  margin-bottom: 18px;
}
.fc-edit-card__head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--fc-ink);
}
.fc-edit-card__head h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fc-accent), var(--fc-blue));
}
.fc-edit-form .form-group {
  margin-bottom: 16px;
}
.fc-edit-form .control-label {
  display: block;
  margin-bottom: 6px;
  color: var(--fc-ink);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
.fc-edit-form .form-control {
  min-height: 46px;
  border: 1.5px solid var(--fc-line);
  border-radius: 12px;
  background: #f8fafb;
  box-shadow: none;
  color: var(--fc-ink);
  font-size: 15px;
}
.fc-edit-form .form-control:focus {
  border-color: var(--fc-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(68, 180, 252, 0.18);
}
.fc-edit-form textarea.form-control {
  min-height: 110px;
  padding-top: 12px;
  resize: vertical;
}
.fc-edit-form .text-danger {
  margin-top: 6px;
  font-size: 12px;
}
.fc-edit-form .fc-password.fc-input-icon .form-control {
  padding-right: 44px;
}
.fc-edit-card .fc-recipient-notice {
  margin: 0 0 18px;
}
.fc-edit-form .fc-zone-autocomplete {
  position: relative;
}
.fc-edit-form select.form-control {
  padding-right: 36px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.4 1.4L6 6l4.6-4.6L12 2.8 6 8.8 0 2.8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.fc-edit-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  padding-top: 4px;
}
.fc-edit-radios .radio-inline,
.fc-edit-radios .checkbox-inline {
  margin: 0;
  padding: 0;
  color: var(--fc-ink);
  font-size: 14px;
  font-weight: 500;
}
.fc-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
.fc-edit-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--fc-line);
}
.fc-edit-actions .fc-btn {
  min-height: 44px;
  min-width: 140px;
}
@media (max-width: 767px) {
  .fc-edit-hero h1 {
    font-size: 24px;
  }
  .fc-edit-card {
    padding: 18px 16px 20px;
  }
  .fc-edit-grid {
    grid-template-columns: 1fr;
  }
  .fc-edit-actions {
    flex-direction: column-reverse;
  }
  .fc-edit-actions .fc-btn {
    width: 100%;
  }
}

/* ========== ORDER HISTORY ========== */
.fc-orders-list {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}
.fc-order-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 18px 20px;
  border: 1px solid var(--fc-line);
  border-radius: calc(var(--fc-radius) + 2px);
  background: var(--fc-surface);
  box-shadow: var(--fc-shadow);
}
.fc-order-card__id {
  margin-bottom: 6px;
  color: var(--fc-ink);
  font-size: 17px;
  font-weight: 800;
}
.fc-order-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 6px;
  color: var(--fc-muted);
  font-size: 13px;
}
.fc-order-card__meta .fa {
  margin-right: 4px;
  color: var(--fc-blue);
}
.fc-order-card__customer {
  color: var(--fc-ink);
  font-size: 14px;
  font-weight: 600;
}
.fc-order-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 140px;
}
.fc-order-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(68, 180, 252, 0.12);
  color: #0b6ea8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.fc-order-card__total {
  color: var(--fc-ink);
  font-size: 18px;
  font-weight: 800;
}
.fc-order-card__view {
  min-height: 40px;
  min-width: 120px;
  padding: 8px 16px;
}
.fc-orders-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--fc-muted);
  font-size: 13px;
}
.fc-orders-empty {
  max-width: 520px;
  margin: 8px 0 24px;
  padding: 36px 24px;
  text-align: center;
  border: 1px dashed var(--fc-line);
  border-radius: calc(var(--fc-radius) + 2px);
  background:
    linear-gradient(165deg, rgba(152, 214, 72, 0.08) 0%, #fff 42%, rgba(68, 180, 252, 0.06) 100%);
}
.fc-orders-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(152, 214, 72, 0.18);
  color: #5a9a14;
  font-size: 28px;
}
.fc-orders-empty h2 {
  margin: 0 0 8px;
  color: var(--fc-ink);
  font-size: 22px;
  font-weight: 800;
  text-transform: none;
}
.fc-orders-empty p {
  margin: 0 0 18px;
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.5;
}
.fc-orders-actions {
  justify-content: flex-start;
  border-top: 0;
  padding-top: 0;
}
@media (max-width: 767px) {
  .fc-order-card {
    padding: 16px;
  }
  .fc-order-card__side {
    width: 100%;
    align-items: stretch;
  }
  .fc-order-card__view {
    width: 100%;
  }
  .fc-orders-pagination {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========== REWARD POINTS ========== */
.fc-reward-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 560px;
  margin: 0 0 22px;
  padding: 20px 22px;
  border: 1px solid var(--fc-line);
  border-radius: calc(var(--fc-radius) + 2px);
  background:
    linear-gradient(135deg, rgba(152, 214, 72, 0.16) 0%, #fff 48%, rgba(68, 180, 252, 0.12) 100%);
  box-shadow: var(--fc-shadow);
}
.fc-reward-summary__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(152, 214, 72, 0.22);
  color: #5a9a14;
  font-size: 24px;
}
.fc-reward-summary__label {
  margin-bottom: 2px;
  color: var(--fc-muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.fc-reward-summary__points {
  color: var(--fc-ink);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
}
.fc-reward-summary__hint {
  margin: 6px 0 0;
  color: var(--fc-muted);
  font-size: 13px;
  line-height: 1.4;
}
.fc-reward-list {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}
.fc-reward-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--fc-line);
  border-radius: calc(var(--fc-radius) + 2px);
  background: var(--fc-surface);
  box-shadow: var(--fc-shadow);
}
.fc-reward-card__desc {
  margin-bottom: 6px;
  color: var(--fc-ink);
  font-size: 15px;
  font-weight: 650;
}
.fc-reward-card__desc a {
  color: inherit;
  text-decoration: none;
}
.fc-reward-card__desc a:hover,
.fc-reward-card__desc a:focus {
  color: var(--fc-blue);
}
.fc-reward-card__date {
  color: var(--fc-muted);
  font-size: 13px;
}
.fc-reward-card__date .fa {
  margin-right: 4px;
  color: var(--fc-blue);
}
.fc-reward-card__points {
  flex-shrink: 0;
  min-width: 72px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(152, 214, 72, 0.16);
  color: #3f7a0c;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}
.fc-reward-card__points.is-negative {
  background: rgba(220, 68, 68, 0.12);
  color: #b42318;
}
@media (max-width: 767px) {
  .fc-reward-summary {
    padding: 16px;
  }
  .fc-reward-summary__points {
    font-size: 28px;
  }
  .fc-reward-card {
    align-items: flex-start;
  }
}

/* ========== VOUCHER BALANCE ========== */
.fc-voucher-balance-result {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 18px 0 8px;
  padding: 18px 20px;
  border: 1.5px solid var(--fc-line);
  border-radius: 16px;
  background: linear-gradient(135deg, #f3faf5 0%, #ffffff 60%);
  box-shadow: var(--fc-shadow);
}
.fc-voucher-balance-result__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--fc-accent-soft);
  color: var(--fc-accent-deep, #2f8f4e);
  font-size: 22px;
}
.fc-voucher-balance-result__label {
  color: var(--fc-muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fc-voucher-balance-result__amount {
  margin: 4px 0 12px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--fc-ink);
}
.fc-voucher-balance-result__meta {
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
}
.fc-voucher-balance-result__meta > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px;
  align-items: baseline;
}
.fc-voucher-balance-result__meta dt {
  margin: 0;
  color: var(--fc-muted);
  font-size: 12px;
  font-weight: 600;
}
.fc-voucher-balance-result__meta dd {
  margin: 0;
  color: var(--fc-ink);
  font-size: 14px;
  font-weight: 600;
}
.fc-voucher-balance-result__meta code {
  padding: 2px 8px;
  border-radius: 6px;
  background: #eef4f0;
  font-size: 13px;
}
.fc-voucher-balance-result__hint {
  margin: 0;
  color: var(--fc-muted);
  font-size: 13px;
  line-height: 1.45;
}
@media (max-width: 767px) {
  .fc-voucher-balance-result {
    flex-direction: column;
  }
  .fc-voucher-balance-result__amount {
    font-size: 28px;
  }
  .fc-voucher-balance-result__meta > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ========== NEWSLETTER ========== */
.fc-newsletter-hint {
  margin: 0 0 14px;
  color: var(--fc-ink);
  font-size: 15px;
  font-weight: 650;
}
.fc-newsletter-options {
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
}
.fc-newsletter-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  padding: 16px 16px;
  border: 1.5px solid var(--fc-line);
  border-radius: 14px;
  background: #f8fafb;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.fc-newsletter-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fc-newsletter-option__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(68, 180, 252, 0.14);
  color: var(--fc-blue);
  font-size: 18px;
}
.fc-newsletter-option__title {
  display: block;
  margin-bottom: 4px;
  color: var(--fc-ink);
  font-size: 15px;
  font-weight: 750;
}
.fc-newsletter-option__text {
  display: block;
  color: var(--fc-muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}
.fc-newsletter-option:hover,
.fc-newsletter-option:focus-within {
  border-color: rgba(68, 180, 252, 0.55);
  background: #fff;
}
.fc-newsletter-option.is-selected {
  border-color: var(--fc-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(68, 180, 252, 0.16);
}
.fc-newsletter-option.is-selected .fc-newsletter-option__icon {
  background: rgba(152, 214, 72, 0.2);
  color: #5a9a14;
}

/* ========== ADDRESS BOOK ========== */
.fc-address-list {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}
.fc-address-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 20px;
  padding: 18px 20px;
  border: 1px solid var(--fc-line);
  border-radius: calc(var(--fc-radius) + 2px);
  background: var(--fc-surface);
  box-shadow: var(--fc-shadow);
}
.fc-address-card.is-default {
  border-color: rgba(68, 180, 252, 0.45);
  background:
    linear-gradient(165deg, rgba(68, 180, 252, 0.08) 0%, #fff 42%, rgba(152, 214, 72, 0.06) 100%);
}
.fc-address-card__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(68, 180, 252, 0.14);
  color: #0b6ea8;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}
.fc-address-card__body {
  color: var(--fc-ink);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.55;
}
.fc-address-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 140px;
}
.fc-address-card__actions .fc-btn {
  min-height: 40px;
  min-width: 110px;
  padding: 8px 14px;
}
.fc-address-card__delete {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.28);
}
.fc-address-card__delete:hover,
.fc-address-card__delete:focus {
  background: #fdecea;
  border-color: rgba(180, 35, 24, 0.4);
  color: #912018;
}
.fc-address-list-actions {
  justify-content: space-between;
}
.fc-address-empty-state {
  margin-bottom: 8px;
}
@media (max-width: 767px) {
  .fc-address-card {
    padding: 16px;
  }
  .fc-address-card__actions {
    width: 100%;
  }
  .fc-address-card__actions .fc-btn {
    flex: 1 1 calc(50% - 4px);
  }
  .fc-address-list-actions {
    flex-direction: column-reverse;
  }
  .fc-address-list-actions .fc-btn {
    width: 100%;
  }
}

/* ========== GIFT VOUCHER ========== */
.fc-voucher-page {
  padding-bottom: 48px;
}
.fc-voucher-hero {
  margin: 8px 0 20px;
  text-align: center;
}
.fc-voucher-hero h1 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 800;
  color: var(--fc-ink);
  text-transform: none;
}
.fc-voucher-hero__lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.55;
}
.fc-voucher-card {
  max-width: 820px;
  margin: 0 auto 24px;
  padding: 28px 26px 24px;
  border: 1px solid var(--fc-line);
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(152, 214, 72, 0.08) 0%, #fff 38%, rgba(68, 180, 252, 0.06) 100%);
  box-shadow: var(--fc-shadow);
}
.fc-voucher-section {
  margin-bottom: 22px;
  padding-bottom: 6px;
}
.fc-voucher-section + .fc-voucher-section {
  border-top: 1px solid var(--fc-line);
  padding-top: 20px;
}
.fc-voucher-section__title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: var(--fc-ink);
}
.fc-voucher-section__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fc-accent), var(--fc-blue));
}
.fc-voucher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.fc-voucher-form .form-group {
  margin-bottom: 0;
}
.fc-voucher-form .control-label {
  display: block;
  margin-bottom: 6px;
  color: var(--fc-ink);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
.fc-voucher-optional {
  color: var(--fc-muted);
  font-weight: 500;
}
.fc-voucher-form .form-control {
  height: 46px;
  border: 1.5px solid var(--fc-line);
  border-radius: 12px;
  box-shadow: none;
  color: var(--fc-ink);
  font-size: 15px;
  background: #fff;
}
.fc-voucher-form textarea.form-control {
  height: auto;
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}
.fc-voucher-form .form-control:focus {
  border-color: var(--fc-accent);
  box-shadow: 0 0 0 3px rgba(152, 214, 72, 0.2);
}
.fc-voucher-form .has-error .form-control,
.fc-voucher-themes.has-error .fc-voucher-theme {
  border-color: var(--fc-danger);
}
.fc-voucher-form .text-danger {
  margin-top: 6px;
  font-size: 12px;
}
.fc-voucher-hint {
  margin: 6px 0 0;
  color: var(--fc-muted);
  font-size: 12px;
  line-height: 1.4;
}
.fc-voucher-themes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.fc-voucher-theme {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1.5px solid var(--fc-line);
  border-radius: 14px;
  background: #fff;
  color: var(--fc-ink);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.fc-voucher-theme input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fc-voucher-theme__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #f3f7f4;
  overflow: hidden;
}
.fc-voucher-theme__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fc-voucher-theme:hover {
  border-color: var(--fc-blue);
  transform: translateY(-1px);
}
.fc-voucher-theme:has(input:checked),
.fc-voucher-theme.is-selected {
  border-color: var(--fc-accent-deep);
  box-shadow: 0 0 0 3px rgba(152, 214, 72, 0.22);
}
@media (max-width: 767px) {
  .fc-voucher-themes {
    grid-template-columns: 1fr;
  }
}
.fc-voucher-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--fc-line);
}
.fc-voucher-footer .fc-agree {
  flex: 1 1 260px;
  margin: 0;
}
.fc-voucher-footer .fc-btn--primary {
  min-width: 200px;
  border-radius: 999px;
}

@media (max-width: 767px) {
  .fc-voucher-hero h1 {
    font-size: 24px;
  }
  .fc-voucher-hero__lead {
    font-size: 14px;
  }
  .fc-voucher-card {
    padding: 18px 16px 20px;
    border-radius: 16px;
  }
  .fc-voucher-grid {
    grid-template-columns: 1fr;
  }
  .fc-voucher-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .fc-voucher-footer .fc-btn--primary {
    width: 100%;
    min-width: 0;
  }
}

/* Safe areas for notched phones */
@supports (padding: max(0px)) {
  @media (max-width: 767px) {
    header .stuck-menu {
      padding-top: max(0px, env(safe-area-inset-top));
    }
    .fc-cart-summary .fc-btn--primary,
    .fc-mini-cart__actions {
      margin-bottom: max(0px, env(safe-area-inset-bottom));
    }
  }
}

/*
 * Search results — Amazon-style horizontal cards (FarmasCuba colors)
 */
.fc-search-page.container {
  padding-left: 16px;
  padding-right: 16px;
}
/* Hide layout modules if a cached/modified template still renders them */
#product-search #column-left,
#product-search #column-right,
#product-search .box.latest,
#product-search .box.featured,
#product-search .box.bestseller,
#product-search .box.special,
.fc-search-page #column-left,
.fc-search-page #column-right,
.fc-search-page .box.latest,
.fc-search-page .box.featured,
.fc-search-page .box.bestseller,
.fc-search-page .box.special {
  display: none !important;
}
.fc-search-page__empty {
  margin: 24px 0;
  color: var(--fc-muted);
  font-size: 15px;
}
.fc-search-results {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: 14px;
  overflow: hidden;
}
.fc-search-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 16px;
  border-bottom: 1px solid var(--fc-line);
}
.fc-search-card:last-child {
  border-bottom: 0;
}
.fc-search-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.fc-search-card__media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.fc-search-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.fc-search-card__brand {
  color: var(--fc-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
.fc-search-card__brand:hover {
  color: var(--fc-blue);
  text-decoration: underline;
}
.fc-search-card__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: var(--fc-ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
}
.fc-search-card__name:hover {
  color: var(--fc-blue);
}
.fc-search-card__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.fc-search-card__score {
  color: var(--fc-ink);
  font-size: 13px;
  font-weight: 700;
}
.fc-search-card__stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
}
.fc-search-card__stars i {
  display: inline-block;
  color: #c8c8c8;
  font-size: 15px !important;
  line-height: 1 !important;
  font-style: normal;
  speak: none;
}
.fc-search-card__stars i.is-on {
  color: #de7921;
}
.fc-search-card__stars i:before {
  font-family: "Material Icons" !important;
}
.fc-search-card__reviews {
  color: var(--fc-muted);
  font-size: 12px;
}
.fc-search-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}
.fc-search-card__discount {
  color: #cc0c39;
  font-size: 13px;
  font-weight: 700;
}
.fc-search-card__now {
  color: var(--fc-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}
.fc-search-card__list {
  color: var(--fc-muted);
  font-size: 13px;
  text-decoration: line-through;
}
.fc-search-card__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 4px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--fc-accent) 0%, #6fc23d 55%, var(--fc-blue) 160%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-sizing: border-box;
}
.fc-search-card__cart:hover,
.fc-search-card__cart:focus {
  background: linear-gradient(135deg, var(--fc-accent-deep) 0%, var(--fc-blue) 120%);
  color: #fff;
  outline: none;
}
.fc-search-page__pagination {
  margin: 18px 0 8px;
}
@media (min-width: 768px) {
  .fc-search-card {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 22px;
    padding: 24px 20px;
  }
  .fc-search-card__media {
    width: 160px;
    height: 160px;
  }
  .fc-search-card__name {
    font-size: 15px;
  }
  .fc-search-card__now {
    font-size: 26px;
  }
  .fc-search-card__cart {
    width: auto;
    min-width: 200px;
    min-height: 44px;
  }
}
@media (max-width: 767px) {
  .fc-search-page.container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .fc-search-page #content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/*
 * Category listing — search-style cards + title
 */
/* Ensure new category layout is not hidden by legacy stylesheet rule */
#product-category.fc-category-page > .row > div,
#product-category.fc-category-page > div.row > #content {
  display: block !important;
}
.fc-category-page__header {
  margin: 0 0 16px;
}
.fc-category-page__title {
  margin: 0;
  color: var(--fc-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}
.fc-category-page #fc-product-grid.fc-search-results {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: 14px;
  overflow: hidden;
}
.fc-category-page #fc-product-grid.fc-search-results .fc-search-card {
  float: none;
  width: 100%;
  margin: 0;
}
.fc-category-page .fc-pagination-seo {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.fc-category-empty {
  margin: 24px 0;
  padding: 28px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: 14px;
}
.fc-category-empty__text {
  margin: 0 0 18px;
  color: var(--fc-muted);
  font-size: 15px;
  line-height: 1.45;
}
.fc-category-empty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--fc-accent) 0%, #6fc23d 55%, var(--fc-blue) 160%);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}
.fc-category-empty__btn:hover,
.fc-category-empty__btn:focus {
  background: linear-gradient(135deg, var(--fc-accent-deep) 0%, var(--fc-blue) 120%);
  color: #fff !important;
}

/* Desktop category grid — 4 vertical Amazon-style cards */
@media (min-width: 992px) {
  .fc-category-page__header,
  .fc-category-page__title {
    display: none !important;
  }
  .fc-category-page #fc-product-grid.fc-cat-grid,
  .fc-category-page #fc-product-grid.fc-search-results.fc-cat-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  .fc-category-page #fc-product-grid.fc-cat-grid .fc-cat-card,
  .fc-category-page #fc-product-grid.fc-cat-grid .fc-search-card {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    border: 1px solid var(--fc-line) !important;
    border-radius: 14px !important;
    background: #fff;
    box-shadow: 0 4px 14px rgba(36, 48, 56, 0.04);
    box-sizing: border-box;
  }
  .fc-category-page #fc-product-grid.fc-cat-grid .fc-cat-card:last-child {
    border-bottom: 1px solid var(--fc-line) !important;
  }
  .fc-category-page .fc-cat-card__media,
  .fc-category-page .fc-cat-card .fc-search-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: auto !important;
    min-height: 180px;
    aspect-ratio: 1 / 1;
    margin: 0 0 10px;
    padding: 8px;
    border-radius: 10px;
  }
  .fc-category-page .fc-cat-card__media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }
  .fc-category-page .fc-cat-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }
  .fc-category-page .fc-cat-card__brand {
    display: none;
  }
  .fc-category-page .fc-cat-card__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0;
    color: var(--fc-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
  }
  .fc-category-page .fc-cat-card__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }
  .fc-category-page .fc-cat-card__meta-item {
    margin: 0;
    color: var(--fc-muted);
    font-size: 12px;
    line-height: 1.35;
  }
  .fc-category-page .fc-cat-card__meta-item span {
    color: var(--fc-ink);
    font-weight: 600;
  }
  .fc-category-page .fc-cat-card__rating {
    margin-top: 2px;
  }
  .fc-category-page .fc-cat-card__price .fc-search-card__now {
    font-size: 20px;
  }
  .fc-category-page .fc-cat-card__cart {
    width: 100%;
    min-width: 0;
    margin-top: 8px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .fc-category-page #fc-product-grid.fc-cat-grid,
  .fc-category-page #fc-product-grid.fc-search-results.fc-cat-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    background: transparent;
    border: 0;
    overflow: visible;
  }
  .fc-category-page #fc-product-grid.fc-cat-grid .fc-cat-card {
    display: flex !important;
    flex-direction: column;
    padding: 12px !important;
    border: 1px solid var(--fc-line) !important;
    border-radius: 14px !important;
  }
  .fc-category-page .fc-cat-card__media {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin-bottom: 10px;
  }
  .fc-category-page .fc-cat-card__brand {
    display: none;
  }
}

@media (max-width: 767px) {
  .fc-category-page__title {
    font-size: 18px;
  }
  .fc-category-page > .row > #column-left,
  .fc-category-page > .row > #column-right,
  .fc-category-page #content > .box.latest,
  .fc-category-page #content > .box.featured,
  .fc-category-page #content > .box.bestseller,
  .fc-category-page #content > .box.special {
    display: none !important;
  }
}
