:root {
  --ff-ice: #e3f2fc;
  --ff-ice-soft: #f4faff;
  --ff-yellow: #ffca00;
  --ff-yellow-deep: #e8b700;
  --ff-ink: #111827;
  --ff-muted: #64748b;
  --ff-blue: #167da6;
  --ff-line: rgba(15, 23, 42, .09);
  --ff-glass: rgba(255, 255, 255, .68);
  --ff-shadow: 0 22px 60px rgba(27, 71, 101, .12);
  --ff-radius: 24px;
}

html { scroll-behavior: smooth; }
body.ff-storefront {
  color: var(--ff-ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(227, 242, 252, .92), transparent 29rem),
    radial-gradient(circle at 94% 18%, rgba(255, 202, 0, .11), transparent 26rem),
    #fbfdff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.ff-storefront h1, body.ff-storefront h2, body.ff-storefront h3,
body.ff-storefront h4, body.ff-storefront h5, body.ff-storefront h6 { color: var(--ff-ink); letter-spacing: -.025em; }
body.ff-storefront a { transition: color .2s ease, transform .2s ease, opacity .2s ease; }
body.ff-storefront .container { max-width: 1320px; }

.ff-topbar {
  background: rgba(244, 250, 255, .76) !important;
  border-bottom: 1px solid rgba(255,255,255,.7) !important;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  margin: 0 !important;
}
.ff-topbar a { color: #425466 !important; font-size: .88rem !important; }
.ff-topbar a:hover { color: var(--ff-blue) !important; }

.ff-header { padding: 18px 0 10px; position: relative; z-index: 1020; }
.ff-header .row { align-items: center; }
.ff-brand-lockup { margin: 0 !important; }
.ff-brand-link { display: inline-flex; align-items: center; gap: 12px; color: var(--ff-ink); text-decoration: none; }
.ff-brand-link:hover { color: var(--ff-ink); transform: translateY(-1px); }
.ff-brand-mark { width: 64px; height: 64px; object-fit: cover; border-radius: 21px; box-shadow: 0 10px 30px rgba(22,125,166,.16); }
.ff-brand-copy { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.ff-brand-copy strong { font-size: 1.24rem; letter-spacing: -.035em; }
.ff-brand-copy small { color: var(--ff-muted); font-size: .7rem; margin-top: 6px; letter-spacing: .02em; }

#search form { margin: 0 !important; }
#search .form-control {
  height: 52px; border: 1px solid rgba(255,255,255,.85); border-right: 0; border-radius: 17px 0 0 17px;
  background: rgba(255,255,255,.68); box-shadow: 0 10px 30px rgba(38,74,99,.07); font-size: .92rem;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
#search .btn { width: 56px; border: 1px solid rgba(255,255,255,.85); border-left: 0; border-radius: 0 17px 17px 0; background: rgba(255,255,255,.78); color: var(--ff-ink); padding: 0; }
#search .form-control:focus { border-color: rgba(255,202,0,.8); box-shadow: 0 0 0 4px rgba(255,202,0,.13); }
#cart { margin: 0 !important; }
#cart > .dropdown > .btn { min-height: 52px; border: 0; border-radius: 17px; background: var(--ff-ink); box-shadow: 0 12px 30px rgba(17,24,39,.17); font-weight: 700; }
#cart > .dropdown > .btn:hover { background: #263244; transform: translateY(-1px); }

#menu {
  min-height: 52px; border: 1px solid rgba(255,255,255,.76); border-radius: 18px; margin: 8px 0 26px; padding: 3px 10px;
  background: rgba(227,242,252,.76) !important; box-shadow: 0 12px 34px rgba(35,83,116,.08);
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
}
#menu .navbar-nav > li > a, #menu .dropdown-item { color: #243244 !important; text-shadow: none !important; font-size: .87rem; font-weight: 650; border-radius: 12px; }
#menu .navbar-nav > li > a:hover, #menu .dropdown-item:hover { color: #111 !important; background: rgba(255,202,0,.74) !important; }
#menu .dropdown-menu { border: 1px solid rgba(255,255,255,.82); border-radius: 18px; padding: 10px; background: rgba(255,255,255,.92); box-shadow: var(--ff-shadow); backdrop-filter: blur(24px); }
#category, #menu .navbar-toggler i { color: var(--ff-ink); text-shadow: none; }

.ff-hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.08fr .92fr; min-height: 520px; padding: clamp(34px,5vw,72px);
  border: 1px solid rgba(255,255,255,.9); border-radius: 34px; background: linear-gradient(132deg, rgba(227,242,252,.92), rgba(255,255,255,.74) 55%, rgba(255,202,0,.15));
  box-shadow: var(--ff-shadow); isolation: isolate;
}
.ff-hero-copy { position: relative; z-index: 3; align-self: center; max-width: 680px; }
.ff-eyebrow, .ff-kicker { display: inline-flex; align-items: center; gap: 8px; color: #25556c; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.ff-eyebrow { padding: 9px 13px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: rgba(255,255,255,.52); }
.ff-hero h1 { margin: 22px 0 18px; font-size: clamp(2.55rem,5vw,5rem); line-height: .96; font-weight: 850; letter-spacing: -.065em; }
.ff-hero h1 span { color: var(--ff-blue); }
.ff-hero-copy > p { max-width: 600px; color: #536477; font-size: clamp(1rem,1.5vw,1.18rem); line-height: 1.7; }
.ff-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.ff-hero-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 16px; font-weight: 800; }
.ff-btn-primary, body.ff-storefront .btn-primary { border-color: var(--ff-yellow) !important; background: var(--ff-yellow) !important; color: #161616 !important; box-shadow: 0 12px 30px rgba(255,202,0,.25); }
.ff-btn-primary:hover, body.ff-storefront .btn-primary:hover { background: #ffd329 !important; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(255,202,0,.3); }
.ff-btn-glass { border: 1px solid rgba(255,255,255,.88); background: rgba(255,255,255,.56); color: var(--ff-ink); backdrop-filter: blur(16px); }
.ff-btn-glass:hover { background: rgba(255,255,255,.86); transform: translateY(-2px); }
.ff-trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: #4b6172; font-size: .78rem; font-weight: 700; }
.ff-trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.ff-trust-row i { color: var(--ff-blue); }
.ff-hero-visual { position: relative; min-height: 360px; }
.ff-logo-glass { position: absolute; z-index: 2; width: min(72%,360px); aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(2deg); padding: 18px; border: 1px solid rgba(255,255,255,.9); border-radius: 34%; background: rgba(255,255,255,.42); box-shadow: 0 32px 80px rgba(22,125,166,.2); backdrop-filter: blur(24px) saturate(170%); }
.ff-logo-glass img { width: 100%; height: 100%; object-fit: cover; border-radius: 30%; }
.ff-orb { position: absolute; border-radius: 50%; filter: blur(2px); animation: ff-float 7s ease-in-out infinite; }
.ff-orb-one { width: 220px; height: 220px; right: 0; top: 8%; background: rgba(255,202,0,.7); }
.ff-orb-two { width: 180px; height: 180px; left: 5%; bottom: 5%; background: rgba(93,190,235,.38); animation-delay: -3s; }
.ff-float-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid rgba(255,255,255,.9); border-radius: 16px; background: rgba(255,255,255,.68); box-shadow: 0 16px 40px rgba(30,64,89,.13); backdrop-filter: blur(20px); font-size: .78rem; font-weight: 750; animation: ff-float 6s ease-in-out infinite; }
.ff-float-card i { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--ff-yellow); }
.ff-float-card-one { left: 2%; top: 19%; }.ff-float-card-two { right: 1%; bottom: 18%; animation-delay: -2s; }.ff-float-card-two { flex-direction: column; align-items: flex-start; gap: 1px; }.ff-float-card-two strong { color: var(--ff-blue); }

.ff-section { padding: 70px 0 22px; }
.ff-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.ff-section-heading h2 { margin: 5px 0 0; font-size: clamp(1.7rem,3vw,2.5rem); font-weight: 820; }
.ff-section-heading > a { color: var(--ff-blue); text-decoration: none; font-weight: 750; }
.ff-section-heading > a:hover { transform: translateX(3px); }
.ff-category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.ff-category-card { position: relative; min-height: 190px; overflow: hidden; border: 1px solid rgba(255,255,255,.92); border-radius: 22px; background: var(--ff-ice); box-shadow: 0 12px 32px rgba(31,75,106,.08); text-decoration: none; }
.ff-category-card img { width: 100%; height: 190px; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.ff-category-card:after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent,rgba(7,18,28,.78)); }
.ff-category-card span { position: absolute; z-index: 2; left: 17px; right: 45px; bottom: 15px; color: #fff; font-size: 1rem; font-weight: 800; }
.ff-category-card > i { position: absolute; z-index: 2; right: 14px; bottom: 14px; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--ff-yellow); color: #111; }
.ff-category-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(31,75,106,.15); }.ff-category-card:hover img { transform: scale(1.06); }

.ff-commerce-content { padding-top: 42px; }
.ff-commerce-content h3, .ff-commerce-content h2 { font-weight: 820; margin-bottom: 20px; }
.product-thumb.ff-product-card { overflow: hidden; border: 1px solid var(--ff-line); border-radius: 22px; background: rgba(255,255,255,.82); box-shadow: 0 12px 35px rgba(38,74,99,.07); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.product-thumb.ff-product-card:hover { transform: translateY(-7px); box-shadow: 0 23px 50px rgba(38,74,99,.14); }
.ff-product-card .image { margin: 9px; overflow: hidden; border-radius: 17px; background: var(--ff-ice-soft); }
.ff-product-card .image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.ff-product-card:hover .image img { transform: scale(1.04); }
.ff-product-card .content { padding: 0 16px 16px; }
.ff-product-card .description { min-height: 215px; padding: 5px 0 10px; }
.ff-product-card h4 { font-size: 1rem; font-weight: 760; line-height: 1.38; }.ff-product-card h4 a { color: var(--ff-ink); text-decoration: none; }
.ff-product-card .description > p { color: var(--ff-muted); font-size: .82rem; line-height: 1.55; }
.ff-product-badge { display: inline-flex; margin: 3px 0 10px; padding: 5px 9px; border-radius: 999px; background: var(--ff-ice); color: #28617b; font-size: .64rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.ff-product-card .price-new { color: var(--ff-ink); font-size: 1.1rem; font-weight: 850; }.ff-product-card .price-old { color: #94a3b8; }.ff-product-card .price-tax { color: #94a3b8; font-size: .68rem; }
.ff-product-card .button { display: grid; grid-template-columns: 1fr auto auto; gap: 7px; border: 0; }
.ff-product-card .button button { min-height: 42px; border: 0; border-radius: 13px; background: var(--ff-ice); color: var(--ff-ink); }
.ff-product-card .button .ff-add-cart { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; background: var(--ff-yellow); font-weight: 800; }
.ff-product-card .button button:hover { background: #d9edf9; }.ff-product-card .button .ff-add-cart:hover { background: #ffd329; }

.ff-value-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 70px 0 24px; }
.ff-value-strip > div { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid rgba(255,255,255,.9); border-radius: 20px; background: rgba(227,242,252,.55); box-shadow: 0 10px 28px rgba(38,74,99,.06); }
.ff-value-strip i { display: grid; place-items: center; width: 45px; height: 45px; flex: 0 0 auto; border-radius: 15px; background: var(--ff-yellow); color: #171717; font-size: 1.1rem; }
.ff-value-strip span { display: flex; flex-direction: column; }.ff-value-strip strong { font-size: .9rem; }.ff-value-strip small { color: var(--ff-muted); margin-top: 3px; }

body.ff-storefront .breadcrumb { border: 1px solid rgba(255,255,255,.9); border-radius: 16px; background: rgba(227,242,252,.55); box-shadow: 0 7px 22px rgba(38,74,99,.05); }
body.ff-storefront .form-control, body.ff-storefront .form-select { border-radius: 13px; border-color: var(--ff-line); min-height: 44px; }
body.ff-storefront .form-control:focus, body.ff-storefront .form-select:focus { border-color: var(--ff-yellow); box-shadow: 0 0 0 4px rgba(255,202,0,.14); }
body.ff-storefront .card { border-color: var(--ff-line); border-radius: 20px; box-shadow: 0 10px 30px rgba(38,74,99,.06); }

.ff-footer { position: relative; bottom: auto; margin-top: 70px; padding: 48px 0 28px; border: 0; border-radius: 32px 32px 0 0; background: #101923; color: #d4dfeb; }
.ff-footer h5 { color: #fff; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }.ff-footer a { color: #aebdca; }.ff-footer a:hover { color: var(--ff-yellow); }
#container { min-height: 100vh; margin-bottom: 0 !important; position: relative; }
#content, #column-left, #column-right { padding-bottom: 20px !important; }

.ff-mobile-dock { display: none; }
.ff-js .ff-reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.ff-js .ff-reveal.ff-visible { opacity: 1; transform: none; }
.ff-ripple { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255,255,255,.55); transform: scale(0); animation: ff-ripple .55s ease-out; }
@keyframes ff-float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
@keyframes ff-ripple { to { transform: scale(3.8); opacity: 0; } }

@media (max-width: 991.98px) {
  .ff-brand-copy { display: none; }
  .ff-hero { grid-template-columns: 1fr; min-height: auto; }
  .ff-hero-visual { min-height: 330px; }
  .ff-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #menu { margin-bottom: 18px; }
}

@media (max-width: 767.98px) {
  body.ff-storefront { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .ff-topbar { display: none; }
  .ff-header { padding: 10px 0 4px; }
  .ff-header .row { display: grid; grid-template-columns: auto 1fr; gap: 9px; }
  .ff-header .row > div:first-child { width: auto; }.ff-header .row > div:nth-child(2) { width: auto; }.ff-header #cart { display: none; }
  .ff-brand-mark { width: 50px; height: 50px; border-radius: 16px; }
  #search .form-control { height: 48px; }
  #menu { border-radius: 16px; min-height: 48px; }
  #menu .navbar-nav { padding: 8px 0; max-height: 65vh; overflow-y: auto; }
  #menu .navbar-nav > li > a, #menu .dropdown-item { padding: 10px 12px; }
  .ff-hero { padding: 28px 21px 22px; border-radius: 25px; }
  .ff-hero h1 { font-size: clamp(2.5rem,13vw,4rem); }
  .ff-hero-actions { display: grid; grid-template-columns: 1fr; }
  .ff-trust-row { gap: 10px 15px; }
  .ff-hero-visual { min-height: 270px; }.ff-logo-glass { width: 230px; padding: 12px; border-radius: 30%; }.ff-float-card-two { right: -7px; }.ff-float-card-one { left: -5px; }
  .ff-section { padding-top: 46px; }.ff-section-heading { align-items: flex-start; }.ff-section-heading > a { font-size: .75rem; white-space: nowrap; margin-top: 8px; }
  .ff-category-grid { gap: 10px; }.ff-category-card, .ff-category-card img { min-height: 145px; height: 145px; }.ff-category-card { border-radius: 18px; }.ff-category-card span { left: 12px; bottom: 11px; font-size: .85rem; }.ff-category-card > i { width: 27px; height: 27px; right: 10px; bottom: 10px; font-size: .7rem; }
  .ff-value-strip { grid-template-columns: 1fr; margin-top: 48px; }
  .ff-product-card .description { min-height: 190px; }.ff-product-card .button .ff-add-cart span { display: none; }.ff-product-card .button { grid-template-columns: repeat(3,1fr); }
  .ff-footer { margin-top: 45px; padding-bottom: 36px; }.ff-footer .row > div { width: 50%; margin-bottom: 24px; }
  .ff-mobile-dock { position: fixed; z-index: 1080; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5,1fr); padding: 7px; border: 1px solid rgba(255,255,255,.83); border-radius: 25px; background: rgba(238,247,253,.72); box-shadow: 0 18px 55px rgba(15,35,50,.25), inset 0 1px 0 rgba(255,255,255,.9); backdrop-filter: blur(24px) saturate(190%); -webkit-backdrop-filter: blur(24px) saturate(190%); }
  .ff-mobile-dock:before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(125deg,rgba(255,255,255,.5),rgba(255,202,0,.12)); }
  .ff-mobile-dock a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 55px; gap: 4px; border-radius: 18px; color: #526475; text-decoration: none; font-size: .63rem; font-weight: 750; }
  .ff-mobile-dock a i { font-size: 1.08rem; transition: transform .25s ease; }.ff-mobile-dock a:hover, .ff-mobile-dock a.ff-active { color: var(--ff-ink); background: rgba(255,255,255,.68); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8); }.ff-mobile-dock a.ff-active:after { content: ""; position: absolute; bottom: 3px; width: 17px; height: 3px; border-radius: 99px; background: var(--ff-yellow); }.ff-mobile-dock a.ff-active i { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ff-js .ff-reveal { opacity: 1; transform: none; }
}

@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .ff-mobile-dock, .ff-topbar, #menu, .ff-btn-glass, .ff-logo-glass, .ff-float-card { background: rgba(244,250,255,.97); }
}
