/* ==========================================
   FRO Header Complete - Modern Header System
   ========================================== */

/* ==========================================
   Topbar Styles
   ========================================== */
.fro-topbar {
  background-color: #0f172a;
  color: #ffffff;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  font-size: 12px;
  position: relative;
  z-index: 10;
}

.fro-topbar__container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Force icon colors in topbar */
.fro-topbar i,
.fro-topbar svg {
  color: inherit;
  fill: currentColor;
}

/* Topbar Left - Links */
.fro-topbar__left {
  flex: 0 0 auto;
}

.fro-topbar__links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fro-topbar__link-item {
  display: flex;
  align-items: center;
}

.fro-topbar__link-item a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  text-decoration: none;
  padding: 0 10px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.fro-topbar__link-item a:hover {
  color: #c5a059;
}

.fro-topbar__link-icon {
  font-size: 11px;
  opacity: 0.8;
  color: #ffffff !important;
}

.fro-topbar__link-icon i,
.fro-topbar__link-icon svg {
  color: inherit !important;
  fill: currentColor !important;
}

.fro-topbar__separator {
  color: rgba(255, 255, 255, 0.3);
  padding: 0 5px;
  font-size: 10px;
}

/* Topbar Center - Marquee */
.fro-topbar__center {
  flex: 1 1 auto;
  overflow: hidden;
  margin: 0 30px;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.fro-topbar__marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.fro-topbar__marquee-track {
  display: flex;
  gap: 50px;
  animation: topbar-marquee var(--marquee-speed, 30s) linear infinite;
  width: max-content;
}

@keyframes topbar-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.fro-topbar__marquee:hover .fro-topbar__marquee-track {
  animation-play-state: paused;
}

.fro-topbar__marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.fro-topbar__marquee-icon {
  color: #c5a059 !important;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.fro-topbar__marquee-icon i,
.fro-topbar__marquee-icon svg {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: #c5a059 !important;
  fill: #c5a059 !important;
}

.fro-topbar__marquee-content {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fro-topbar__marquee-content strong {
  font-weight: 600;
}

.fro-topbar__marquee-content span {
  opacity: 0.7;
  font-size: 11px;
}

/* Topbar Right - Phone */
.fro-topbar__right {
  flex: 0 0 auto;
}

.fro-topbar__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fro-topbar__phone:hover {
  color: #c5a059;
}

.fro-topbar__phone-icon {
  font-size: 20px;
  color: #c5a059 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.fro-topbar__phone-icon i,
.fro-topbar__phone-icon svg {
  font-size: 20px;
  width: 20px;
  height: 20px;
  color: #c5a059 !important;
  fill: #c5a059 !important;
}

.fro-topbar__phone-content {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.fro-topbar__phone-label {
  font-size: 10px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.fro-topbar__phone-number {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* Topbar Hide on Sticky */
.fro-header.is-sticky .fro-topbar--hide-sticky {
  display: none !important;
}

/* ==========================================
   Promo Bar Styles
   ========================================== */
.fro-promobar {
  background-color: #0f172a;
  color: #ffffff;
  width: 100%;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  position: relative;
}

.fro-promobar__marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.fro-promobar__track {
  display: flex;
  gap: 80px;
  animation: promobar-scroll var(--promo-speed, 20s) linear infinite;
  width: max-content;
  padding: 0 40px;
}

@keyframes promobar-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

.fro-promobar:hover .fro-promobar__track {
  animation-play-state: paused;
}

.fro-promobar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.fro-promobar__icon {
  color: #c5a059 !important;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fro-promobar__icon i,
.fro-promobar__icon svg {
  color: #c5a059 !important;
  fill: #c5a059 !important;
  font-size: 14px;
  width: 14px;
  height: 14px;
}

.fro-promobar__text {
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Promo Bar Hide on Sticky */
.fro-header.is-sticky .fro-promobar--hide-sticky {
  display: none !important;
}

/* Promo Bar Responsive */
@media (max-width: 991px) {
  .fro-promobar {
    height: 32px;
    font-size: 11px;
  }
  
  .fro-promobar__track {
    gap: 50px;
  }
}

/* Topbar Responsive */
@media (max-width: 991px) {
  .fro-topbar {
    display: none;
  }
}

@media (max-width: 1199px) {
  .fro-topbar__left {
    display: none;
  }
  
  .fro-topbar__center {
    margin-left: 0;
  }
}

/* CSS Variables */
.fro-header {
  --fro-header-container: 1400px;
  --fro-header-bg: #ffffff;
  --fro-header-text: #0f172a;
  --fro-header-accent: #c5a059;
  --fro-header-border: rgba(15, 23, 42, 0.08);
  --fro-header-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --fro-logo-glow: #c5a059;
  --fro-logo-anim-speed: 2s;
}

/* Reset margins */
.fro-header,
.fro-header * {
  box-sizing: border-box;
}

.fro-header__desktop,
.fro-header__mobile,
.fro-header__main,
.fro-header__menu-wrap,
.fro-header__row,
.fro-header__container {
  margin: 0 !important;
}

/* Force no spacing after header */
.fro-header:last-child {
  margin-bottom: 0 !important;
}

header.fro-header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ==========================================
   Base Layout
   ========================================== */
.fro-header {
  position: relative;
  width: 100%;
  background-color: var(--fro-header-bg);
  border-bottom: 1px solid var(--fro-header-border);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 !important;
  padding: 0 !important;
}

.fro-header--full .fro-header__container {
  max-width: 100%;
  padding: 0 30px;
  width: 100%;
}

.fro-header--boxed .fro-header__container {
  max-width: var(--fro-header-container);
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 20px;
  width: 100%;
}

/* ==========================================
   Desktop Header
   ========================================== */
.fro-header__desktop {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
}

.fro-header__main {
  padding: 15px 0;
  margin: 0;
  width: 100%;
}

.fro-header__main .fro-header__container {
  display: flex;
  justify-content: center;
}

.fro-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}

.fro-header__col--logo {
  flex: 0 0 auto;
  min-width: 150px;
}

.fro-header__col--search {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  max-width: 550px;
  min-width: 300px;
}

.fro-header__col--actions {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
}

/* ==========================================
   Logo Styles
   ========================================== */
.fro-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
}

.fro-header__logo-img {
  max-height: 55px;
  width: auto;
  display: block;
  transition: all 0.3s ease;
}

.fro-header__logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--fro-header-text);
  letter-spacing: -0.02em;
}

/* Logo Animations */
.fro-header__logo--anim-pulse .fro-header__logo-img {
  animation: fro-logo-pulse var(--fro-logo-anim-speed) ease-in-out infinite;
}

.fro-header__logo--anim-bounce .fro-header__logo-img {
  animation: fro-logo-bounce var(--fro-logo-anim-speed) ease-in-out infinite;
}

.fro-header__logo--anim-shine {
  position: relative;
  overflow: hidden;
}

.fro-header__logo--anim-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  animation: fro-logo-shine var(--fro-logo-anim-speed) ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.fro-header__logo--anim-float .fro-header__logo-img {
  animation: fro-logo-float var(--fro-logo-anim-speed) ease-in-out infinite;
}

.fro-header__logo--anim-glow .fro-header__logo-img {
  animation: fro-logo-glow var(--fro-logo-anim-speed) ease-in-out infinite;
}

@keyframes fro-logo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes fro-logo-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes fro-logo-shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes fro-logo-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-2px) rotate(1deg); }
  75% { transform: translateY(2px) rotate(-1deg); }
}

@keyframes fro-logo-glow {
  0%, 100% { filter: drop-shadow(0 0 2px transparent); }
  50% { filter: drop-shadow(0 0 12px var(--fro-logo-glow)); }
}

/* ==========================================
   Search Styles
   ========================================== */
.fro-header__search {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.fro-header__search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.fro-header__search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 16px;
  pointer-events: none;
  z-index: 2;
}

.fro-header__search-input {
  width: 100%;
  height: 48px;
  padding: 12px 16px 12px 48px;
  border: 1px solid var(--fro-header-border);
  border-radius: 12px;
  background-color: #f8fafc;
  font-size: 15px;
  color: var(--fro-header-text);
  outline: none;
  transition: all 0.2s ease;
}

.fro-header__search-input::placeholder {
  color: #94a3b8;
}

.fro-header__search-input:focus {
  border-color: var(--fro-header-accent);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.12);
}

/* Search Dropdown */
.fro-header__search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  z-index: 30000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 420px;
  overflow-y: auto;
}

.fro-header__search-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fro-header__search-dropdown-header {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 13px;
  color: #64748b;
  background: rgba(15, 23, 42, 0.02);
  border-bottom: 1px solid var(--fro-header-border);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.fro-header__search-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 10px;
  display: grid;
  gap: 4px;
}

.fro-header__search-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--fro-header-text);
  transition: all 0.2s ease;
}

.fro-header__search-item:hover {
  background: rgba(197, 160, 89, 0.08);
  transform: translateX(4px);
}

.fro-header__search-item-image {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
}

.fro-header__search-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fro-header__search-item-info {
  flex: 1;
  min-width: 0;
}

.fro-header__search-item-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fro-header__search-item-price {
  font-weight: 700;
  font-size: 14px;
  color: var(--fro-header-accent);
}

.fro-header__search-item-price del {
  color: #94a3b8;
  font-weight: 400;
  font-size: 12px;
  margin-right: 6px;
}

.fro-header__search-loading {
  padding: 30px;
  text-align: center;
  color: #64748b;
}

.fro-header__search-loading i {
  font-size: 24px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.fro-header__search-empty {
  padding: 30px;
  text-align: center;
  color: #64748b;
}

.fro-header__search-empty i {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
  opacity: 0.5;
}

/* ==========================================
   Actions & Buttons
   ========================================== */
.fro-header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fro-header__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--fro-header-text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.fro-header__btn:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--fro-header-accent);
}

.fro-header__btn-icon {
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.fro-header__btn-icon i,
.fro-header__btn-icon svg {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.fro-header__btn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.fro-header__btn-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 400;
}

.fro-header__btn-text {
  font-weight: 600;
  font-size: 13px;
}

.fro-header__btn-separator {
  margin: 0 3px;
  color: #cbd5e1;
}

/* Auth button specific */
.fro-header__auth {
  display: flex;
  align-items: center;
}

.fro-header__btn--auth {
  padding: 8px 14px;
}

.fro-header__btn--auth .fro-header__btn-content {
  flex-direction: row;
  align-items: center;
}

/* Cart button specific */
.fro-header__btn--cart {
  position: relative;
  padding: 8px 14px;
}

.fro-header__btn--cart .fro-header__btn-content {
  flex-direction: column;
  align-items: flex-start;
}

.fro-header__btn--cart .fro-header__btn-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.fro-header__btn--cart .fro-header__btn-text {
  font-size: 13px;
  color: var(--fro-header-accent);
}

/* Badge */
.fro-header__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--fro-header-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.fro-header__badge:empty,
.fro-header__badge[data-count="0"] {
  display: none;
}

/* ==========================================
   Cart Dropdown
   ========================================== */
.fro-header__cart {
  position: relative;
}

.fro-header__btn--cart {
  position: relative;
}

.fro-header__cart-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  max-height: 380px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.15);
  z-index: 30000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.fro-header__cart:hover .fro-header__cart-dropdown,
.fro-header__cart-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fro-header__cart-content {
  max-height: 280px;
  overflow-y: auto;
}

/* Mini Cart Customization */
.fro-header__cart-dropdown .widget_shopping_cart_content {
  padding: 0;
}

.fro-header__cart-dropdown .woocommerce-mini-cart__empty-message {
  display: none !important;
}

/* Hide WooCommerce default empty cart elements */
.fro-header__cart-dropdown .cart-empty,
.fro-header__cart-dropdown .wc-empty-cart-message,
.fro-header__cart-dropdown .return-to-shop,
.fro-header__cart-offcanvas .cart-empty,
.fro-header__cart-offcanvas .wc-empty-cart-message,
.fro-header__cart-offcanvas .return-to-shop,
.fro-header .cart_list.empty,
.fro-header p.woocommerce-mini-cart__empty-message {
  display: none !important;
}

.fro-header__cart-dropdown .woocommerce-mini-cart {
  padding: 8px;
  margin: 0;
  list-style: none;
  max-height: none;
  overflow: visible;
}

.fro-header__cart-dropdown .woocommerce-mini-cart-item {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  background: rgba(15, 23, 42, 0.02);
  align-items: center;
  font-size: 12px;
}

.fro-header__cart-dropdown .woocommerce-mini-cart-item a.remove {
  order: 3;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444 !important;
  border-radius: 4px;
  font-size: 12px;
  text-decoration: none;
  margin-left: auto;
  flex-shrink: 0;
  line-height: 1;
}

.fro-header__cart-dropdown .woocommerce-mini-cart-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.fro-header__cart-dropdown .woocommerce-mini-cart__total {
  padding: 10px;
  border-top: 1px solid var(--fro-header-border);
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 13px;
}

.fro-header__cart-dropdown .woocommerce-mini-cart__total .amount {
  color: var(--fro-header-accent);
  font-weight: 700;
}

.fro-header__cart-dropdown .woocommerce-mini-cart__buttons {
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border-top: 1px solid var(--fro-header-border);
}

.fro-header__cart-dropdown .woocommerce-mini-cart__buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 11px;
  text-decoration: none;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.fro-header__cart-dropdown .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout) {
  background: rgba(15, 23, 42, 0.06);
  color: var(--fro-header-text);
}

.fro-header__cart-dropdown .woocommerce-mini-cart__buttons a.checkout {
  background: var(--fro-header-accent);
  color: #fff;
}

.fro-header__cart-dropdown .woocommerce-mini-cart__buttons a:hover {
  opacity: 0.85;
}

/* ==========================================
   FRO Mini Cart Styles
   ========================================== */
.fro-mini-cart {
  padding: 0;
  max-height: none;
  overflow: visible;
}

/* Cart Items List */
.fro-mini-cart__list {
  list-style: none;
  margin: 0;
  padding: 10px;
  max-height: none !important;
  overflow: visible !important;
}

.fro-mini-cart__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  margin-bottom: 6px;
  background: rgba(15, 23, 42, 0.02);
  border-radius: 8px;
  position: relative;
}

.fro-mini-cart__item:last-child {
  margin-bottom: 0;
}

/* Product Image */
.fro-mini-cart__image {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}

.fro-mini-cart__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.fro-mini-cart__info {
  flex: 1;
  min-width: 0;
  padding-right: 20px;
}

.fro-mini-cart__name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fro-header-text);
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 4px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.fro-mini-cart__name:hover {
  color: var(--fro-header-accent);
}

/* Variation Data */
.fro-mini-cart__variation {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 4px;
  line-height: 1.4;
}

.fro-mini-cart__variation p {
  margin: 0;
}

.fro-mini-cart__variation dt,
.fro-mini-cart__variation dd {
  display: inline;
  margin: 0;
}

.fro-mini-cart__variation dt::after {
  content: ': ';
}

.fro-mini-cart__variation dd::after {
  content: ' ';
}

/* Price */
.fro-mini-cart__price {
  font-size: 13px;
  color: var(--fro-header-accent);
  font-weight: 600;
}

.fro-mini-cart__qty {
  color: #64748b;
  font-weight: 400;
}

/* Remove Button */
.fro-mini-cart__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444 !important;
  border-radius: 4px;
  font-size: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.fro-mini-cart__remove:hover {
  background: #ef4444;
  color: #fff !important;
}

/* Cart Footer */
.fro-mini-cart__footer {
  padding: 12px;
  border-top: 1px solid var(--fro-header-border);
}

/* Total */
.fro-mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.fro-mini-cart__total-label {
  font-weight: 600;
  color: var(--fro-header-text);
}

.fro-mini-cart__total-price {
  font-weight: 700;
  color: var(--fro-header-accent);
  font-size: 15px;
}

/* Buttons */
.fro-mini-cart__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fro-mini-cart__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 11px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.fro-mini-cart__btn--cart {
  background: rgba(15, 23, 42, 0.06);
  color: var(--fro-header-text) !important;
}

.fro-mini-cart__btn--cart:hover {
  background: rgba(15, 23, 42, 0.12);
}

.fro-mini-cart__btn--checkout {
  background: var(--fro-header-accent);
  color: #fff !important;
}

.fro-mini-cart__btn--checkout:hover {
  background: #b08c48;
}

/* Empty Cart */
.fro-mini-cart__empty {
  padding: 28px 20px;
  text-align: center;
}

.fro-mini-cart__empty i {
  font-size: 36px;
  color: #cbd5e1;
  margin-bottom: 12px;
  display: block;
}

.fro-mini-cart__empty p {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 13px;
}

.fro-mini-cart__btn--shop {
  display: inline-block;
  padding: 10px 20px;
  background: var(--fro-header-accent);
  color: #fff !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 11px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.fro-mini-cart__btn--shop:hover {
  background: #b08c48;
}

/* Hide old WooCommerce elements */
.fro-header .shopping_cart_content,
.fro-header .cart_list,
.fro-header .cart-bottom {
  display: none !important;
}

/* Cart Dropdown Adjustments for new mini cart */
.fro-header__cart-dropdown .fro-mini-cart,
.fro-header__cart-offcanvas-body .fro-mini-cart {
  display: block !important;
}

/* Legacy empty cart styling */
.fro-header__cart-empty-wrap {
  padding: 24px 16px;
  text-align: center;
}

.fro-header__cart-empty-wrap i {
  font-size: 32px;
  color: #cbd5e1;
  margin-bottom: 10px;
  display: block;
}

.fro-header__cart-empty-wrap p {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 13px;
}

.fro-header__cart-shop-btn {
  display: inline-block;
  padding: 8px 16px;
  background: var(--fro-header-accent);
  color: #fff !important;
  border-radius: 5px;
  font-weight: 600;
  font-size: 11px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.fro-header__cart-shop-btn:hover {
  background: #b08c48;
  color: #fff !important;
}

/* Override WooCommerce mini cart styles */
.fro-header__cart-dropdown .woocommerce-mini-cart-item {
  position: relative;
  padding-right: 30px !important;
}

.fro-header__cart-dropdown .woocommerce-mini-cart-item > a:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fro-header-text);
}

.fro-header__cart-dropdown .woocommerce-mini-cart-item .quantity {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.fro-header__cart-dropdown .woocommerce-mini-cart-item .amount {
  color: var(--fro-header-accent);
  font-weight: 600;
}

/* Force proper styling */
.fro-header .widget_shopping_cart {
  margin: 0 !important;
  padding: 0 !important;
}

.fro-header .widget_shopping_cart_content {
  margin: 0 !important;
  padding: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.fro-header .woocommerce-mini-cart {
  margin: 0 !important;
}

.fro-header .woocommerce-mini-cart li {
  margin: 0 !important;
  list-style: none !important;
}

.fro-header .woocommerce-mini-cart li::before {
  display: none !important;
}

/* ==========================================
   Menu Styles
   ========================================== */
.fro-header__menu-wrap {
  background: rgba(15, 23, 42, 0.02);
  border-top: 1px solid var(--fro-header-border);
  padding: 0;
  margin: 0;
  width: 100%;
}

.fro-header__menu-wrap .fro-header__container {
  max-width: 100% !important;
  width: 100% !important;
}

.fro-header__menu {
  position: relative;
  width: 100%;
}

.fro-header__menu .megamenu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.fro-header__menu .megamenu > li {
  position: relative;
}

.fro-header__menu .megamenu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  color: var(--fro-header-text);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.fro-header__menu .megamenu > li > a:hover,
.fro-header__menu .megamenu > li.active > a {
  color: var(--fro-header-accent);
  background: transparent;
}

.fro-header__menu .megamenu > li > a .down {
  font-size: 9px;
  margin-left: 2px;
  opacity: 0.5;
}

/* Mega Menu Dropdown */
.fro-header__menu .megamenu > li > .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
  padding: 20px 24px;
  min-width: 800px;
  max-width: calc(100vw - 40px);
  z-index: 20002;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fro-header__menu .megamenu.effect1 > li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fro-header__menu .megamenu > li.aligned-right > .dropdown-menu {
  left: auto;
  right: 0;
}

.fro-header__menu .megamenu > li.aligned-center > .dropdown-menu {
  left: 50%;
  transform: translateX(-50%) translateY(10px);
}

.fro-header__menu .megamenu > li.aligned-center:hover > .dropdown-menu {
  transform: translateX(-50%) translateY(0);
}

.fro-header__menu .megamenu > li.aligned-fullwidth > .dropdown-menu {
  width: min(1400px, calc(100vw - 40px));
  left: 50%;
  transform: translateX(-50%) translateY(10px);
}

.fro-header__menu .megamenu > li.aligned-fullwidth:hover > .dropdown-menu {
  transform: translateX(-50%) translateY(0);
}

/* Regular Dropdown */
.fro-header__menu .megamenu > li > ul.dropdown-menu {
  min-width: 220px;
  padding: 10px;
}

.fro-header__menu .megamenu > li > ul.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  color: var(--fro-header-text);
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.fro-header__menu .megamenu > li > ul.dropdown-menu li a:hover {
  background: rgba(197, 160, 89, 0.08);
  color: var(--fro-header-accent);
}

/* ==========================================
   Sticky Header
   ========================================== */
.fro-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  animation: fro-sticky-slide 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  background: var(--fro-header-bg);
  border-bottom: none;
}

@keyframes fro-sticky-slide {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Hide search in sticky mode */
.fro-header.is-sticky .fro-header__col--search {
  display: none !important;
}

/* Hide menu wrap below header in sticky */
.fro-header.is-sticky .fro-header__menu-wrap {
  display: none !important;
}

/* Show inline menu in sticky mode */
.fro-header__sticky-menu {
  display: none;
  flex: 1;
  justify-content: center;
}

.fro-header.is-sticky .fro-header__sticky-menu {
  display: flex !important;
}

.fro-header__sticky-menu .megamenu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fro-header__sticky-menu .megamenu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: var(--fro-header-text);
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.fro-header__sticky-menu .megamenu > li > a:hover {
  color: var(--fro-header-accent);
}

.fro-header__sticky-menu .megamenu > li > a .down {
  font-size: 8px;
  opacity: 0.5;
}

/* Sticky menu dropdowns */
.fro-header__sticky-menu .megamenu > li {
  position: relative;
}

.fro-header__sticky-menu .megamenu > li > .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.15);
  padding: 10px;
  min-width: 200px;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.fro-header__sticky-menu .megamenu > li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.fro-header__sticky-menu .megamenu > li > .dropdown-menu li a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--fro-header-text);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.fro-header__sticky-menu .megamenu > li > .dropdown-menu li a:hover {
  background: rgba(197, 160, 89, 0.1);
  color: var(--fro-header-accent);
}

.fro-header.is-sticky .fro-header__main {
  padding: 6px 0;
}

.fro-header.is-sticky .fro-header__row {
  justify-content: space-between;
  gap: 20px;
}

.fro-header.is-sticky .fro-header__col--logo {
  flex: 0 0 auto;
}

.fro-header.is-sticky .fro-header__col--actions {
  flex: 0 0 auto;
}

.fro-header.is-sticky .fro-header__logo-img {
  max-height: 36px;
}

/* Hide auth text in sticky, show only cart */
.fro-header.is-sticky .fro-header__auth {
  display: none;
}

.fro-header.is-sticky .fro-header__btn--cart .fro-header__btn-content {
  display: none !important;
}

/* Placeholder for sticky - prevents page jump */
.fro-header-placeholder {
  display: none;
  height: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  transition: height 0.15s ease;
}

.fro-header-placeholder.active {
  display: block;
}

/* ==========================================
   Mobile Header
   ========================================== */
.fro-header__mobile {
  display: none;
}

@media (max-width: 991px) {
  .fro-header__desktop {
    display: none;
  }

  .fro-header__mobile {
    display: block;
  }

  .fro-header__mobile-row {
    padding: 12px 0;
  }

  .fro-header__mobile-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .fro-header__hamburger {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 10px;
    font-size: 22px;
    color: var(--fro-header-text);
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .fro-header__hamburger:hover {
    background: rgba(15, 23, 42, 0.08);
  }

  .fro-header__logo--mobile {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .fro-header__logo--mobile img {
    max-height: 38px;
  }

  .fro-header__mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .fro-header__mobile-actions .fro-header__btn {
    padding: 8px;
  }

  .fro-header__mobile-search {
    padding: 0 0 12px;
    border-top: 1px solid var(--fro-header-border);
    padding-top: 12px;
  }

  .fro-header__mobile-search .fro-header__search {
    max-width: 100%;
  }

  .fro-header__mobile-search .fro-header__search-input {
    height: 44px;
    font-size: 14px;
  }
}

/* ==========================================
   Offcanvas Menu
   ========================================== */
.fro-header__offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.fro-header__offcanvas-overlay.active {
  opacity: 1;
  visibility: visible;
}

.fro-header__offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #fff;
  z-index: 99999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
}

.fro-header__offcanvas.active {
  transform: translateX(0);
}

.fro-header__offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--fro-header-border);
}

.fro-header__offcanvas-logo img {
  max-height: 36px;
  width: auto;
}

.fro-header__offcanvas-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 8px;
  font-size: 18px;
  color: var(--fro-header-text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.fro-header__offcanvas-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.fro-header__offcanvas-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

/* Offcanvas User */
.fro-header__offcanvas-user {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--fro-header-border);
}

.fro-header__offcanvas-user-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fro-header-text);
  padding: 12px;
  background: rgba(15, 23, 42, 0.03);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.fro-header__offcanvas-user-link:hover {
  background: rgba(197, 160, 89, 0.08);
}

.fro-header__offcanvas-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
}

.fro-header__offcanvas-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fro-header__offcanvas-user-info {
  display: flex;
  flex-direction: column;
}

.fro-header__offcanvas-user-welcome {
  font-size: 12px;
  color: #64748b;
}

.fro-header__offcanvas-user-name {
  font-weight: 600;
  font-size: 15px;
}

.fro-header__offcanvas-auth-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fro-header__offcanvas-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--fro-header-border);
  background: transparent;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  color: var(--fro-header-text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.fro-header__offcanvas-auth-btn:hover {
  border-color: var(--fro-header-accent);
  color: var(--fro-header-accent);
}

.fro-header__offcanvas-auth-btn--primary {
  background: var(--fro-header-accent);
  border-color: var(--fro-header-accent);
  color: #fff;
}

.fro-header__offcanvas-auth-btn--primary:hover {
  background: #b08c48;
  color: #fff;
}

/* Offcanvas Menu */
.fro-header__offcanvas-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fro-header__offcanvas-nav li {
  border-bottom: 1px solid var(--fro-header-border);
}

.fro-header__offcanvas-nav li:last-child {
  border-bottom: none;
}

.fro-header__offcanvas-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  color: var(--fro-header-text);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.fro-header__offcanvas-nav > li > a:hover {
  color: var(--fro-header-accent);
}

.fro-header__offcanvas-nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 10px 16px;
  display: none;
}

.fro-header__offcanvas-nav .sub-menu.active {
  display: block;
}

.fro-header__offcanvas-nav .sub-menu a {
  display: block;
  padding: 10px 4px;
  color: #64748b;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.fro-header__offcanvas-nav .sub-menu a:hover {
  color: var(--fro-header-accent);
}

.fro-header__offcanvas-extra {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--fro-header-border);
}

/* ==========================================
   Auth Popup
   ========================================== */
.fro-header__popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.fro-header__popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.fro-header__popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 420px;
  max-width: 92vw;
  max-height: 90vh;
  background: #fff;
  border-radius: 20px;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.fro-header__popup.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.fro-header__popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 8px;
  font-size: 16px;
  color: var(--fro-header-text);
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
}

.fro-header__popup-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.fro-header__popup-tabs {
  display: flex;
  border-bottom: 1px solid var(--fro-header-border);
}

.fro-header__popup-tab {
  flex: 1;
  padding: 18px 20px;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 15px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.fro-header__popup-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fro-header-accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.fro-header__popup-tab.active {
  color: var(--fro-header-text);
}

.fro-header__popup-tab.active::after {
  transform: scaleX(1);
}

.fro-header__popup-content {
  padding: 24px;
  display: none;
}

.fro-header__popup-content.active {
  display: block;
}

/* Auth Form */
.fro-header__auth-form {
  display: grid;
  gap: 18px;
}

.fro-header__form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fro-header__form-group label {
  font-weight: 500;
  font-size: 13px;
  color: #64748b;
}

.fro-header__form-group input[type="text"],
.fro-header__form-group input[type="email"],
.fro-header__form-group input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--fro-header-border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--fro-header-text);
  transition: all 0.2s ease;
  background: #fff;
}

.fro-header__form-group input:focus {
  outline: none;
  border-color: var(--fro-header-accent);
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.12);
}

.fro-header__form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fro-header__form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fro-header__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #64748b;
}

.fro-header__checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--fro-header-accent);
}

.fro-header__form-link {
  font-size: 13px;
  color: var(--fro-header-accent);
  text-decoration: none;
}

.fro-header__form-link:hover {
  text-decoration: underline;
}

.fro-header__form-message {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  display: none;
}

.fro-header__form-message.show {
  display: block;
}

.fro-header__form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.fro-header__form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.fro-header__popup-btn-primary {
  width: 100%;
  padding: 14px 20px;
  border: none;
  background: var(--fro-header-accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.fro-header__popup-btn-primary:hover {
  background: #b08c48;
  transform: translateY(-1px);
}

.fro-header__popup-btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.fro-header__btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.fro-header__popup-btn-primary.loading .fro-header__btn-loader {
  display: block;
}

/* ==========================================
   Cart Offcanvas
   ========================================== */
.fro-header__cart-offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.fro-header__cart-offcanvas-overlay.active {
  opacity: 1;
  visibility: visible;
}

.fro-header__cart-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 340px;
  max-width: 90vw;
  background: #fff;
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.fro-header__cart-offcanvas.active {
  transform: translateX(0);
}

.fro-header__cart-offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--fro-header-border);
}

.fro-header__cart-offcanvas-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.fro-header__cart-offcanvas-title .fro-header__badge {
  position: static;
}

.fro-header__cart-offcanvas-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 6px;
  font-size: 16px;
  color: var(--fro-header-text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.fro-header__cart-offcanvas-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.fro-header__cart-offcanvas-body {
  flex: 1;
  overflow-y: auto;
}

/* Cart Offcanvas Mini Cart Styles */
.fro-header__cart-offcanvas-body .widget_shopping_cart_content {
  padding: 0;
}

.fro-header__cart-offcanvas-body .woocommerce-mini-cart__empty-message {
  display: none !important;
}

.fro-header__cart-offcanvas-body .woocommerce-mini-cart {
  padding: 12px;
  margin: 0;
  list-style: none;
}

.fro-header__cart-offcanvas-body .woocommerce-mini-cart-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  background: rgba(15, 23, 42, 0.02);
  align-items: center;
  font-size: 13px;
}

.fro-header__cart-offcanvas-body .woocommerce-mini-cart-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.fro-header__cart-offcanvas-body .woocommerce-mini-cart__total {
  padding: 12px;
  border-top: 1px solid var(--fro-header-border);
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 14px;
}

.fro-header__cart-offcanvas-body .woocommerce-mini-cart__buttons {
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-top: 1px solid var(--fro-header-border);
}

.fro-header__cart-offcanvas-body .woocommerce-mini-cart__buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
}

.fro-header__cart-offcanvas-body .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout) {
  background: rgba(15, 23, 42, 0.06);
  color: var(--fro-header-text);
}

.fro-header__cart-offcanvas-body .woocommerce-mini-cart__buttons a.checkout {
  background: var(--fro-header-accent);
  color: #fff;
}

/* ==========================================
   Prevent Overflow Issues & Remove Spacing
   ========================================== */
.elementor-location-header,
.elementor-location-header .elementor-section,
.elementor-location-header .elementor-container,
.elementor-location-header .elementor-column,
.elementor-location-header .elementor-widget-wrap,
.elementor-location-header .elementor-widget,
.elementor-location-header .elementor-widget-container {
  overflow: visible !important;
}

/* Remove vertical spacing only */
.elementor-location-header .elementor-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.elementor-location-header .elementor-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.elementor-location-header .elementor-widget-wrap {
  padding: 0 !important;
}

.elementor-location-header .elementor-element {
  margin-bottom: 0 !important;
}

.elementor-location-header .elementor-section-wrap > .elementor-section:last-child {
  margin-bottom: 0 !important;
}

/* Header widget container */
.elementor-widget-vango_header_complete {
  width: 100% !important;
  max-width: 100% !important;
}

.elementor-widget-vango_header_complete .elementor-widget-container {
  width: 100% !important;
}

/* Make header section full width */
[data-elementor-type="header"] .elementor-section {
  width: 100% !important;
}

[data-elementor-type="header"] .elementor-section-boxed > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
}

[data-elementor-type="header"] .elementor-section-full_width > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
}

/* Goal header theme override */
.goal-header .elementor-widget-vango_header_complete {
  width: 100% !important;
}

/* Direct section after header */
.fro-header + *,
.fro-header-placeholder + *,
.elementor-location-header + * {
  margin-top: 0 !important;
}

/* Fix cart dropdown visibility */
.fro-header__cart {
  position: relative;
  z-index: 100;
}

.fro-header__cart-dropdown {
  z-index: 99999;
}

/* ==========================================
   Responsive Adjustments
   ========================================== */
@media (max-width: 1199px) {
  .fro-header--full .fro-header__container {
    padding: 0 16px;
  }

  .fro-header__menu .megamenu > li > .dropdown-menu {
    min-width: 600px;
  }

  .fro-header__col--search {
    max-width: 400px;
  }

  .fro-header__btn-content {
    display: none;
  }

  .fro-header__btn--cart .fro-header__btn-content {
    display: none;
  }
}

@media (max-width: 991px) {
  .fro-header__btn-content {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .fro-header--full .fro-header__container {
    padding: 0 12px;
  }

  .fro-header__popup {
    max-width: 96vw;
  }

  .fro-header__form-row--half {
    grid-template-columns: 1fr;
  }

  .fro-header__offcanvas {
    width: 280px;
  }

  .fro-header__cart-dropdown {
    width: 290px;
    right: -10px;
  }
}

/* ==========================================
   FIX: Single Scrollbar for Cart Dropdown
   ========================================== */
.fro-header__cart-dropdown {
  overflow: hidden !important;
}

.fro-header__cart-dropdown .fro-header__cart-content {
  max-height: 280px;
  overflow-y: auto;
}

/* Remove ALL inner scrollbars */
.fro-header__cart-dropdown .widget_shopping_cart_content,
.fro-header__cart-dropdown .woocommerce-mini-cart,
.fro-header__cart-dropdown .fro-mini-cart,
.fro-header__cart-dropdown .fro-mini-cart__list,
.fro-header__cart-dropdown ul,
.fro-header__cart-dropdown .cart_list {
  max-height: none !important;
  overflow: visible !important;
  overflow-y: visible !important;
}
