/* ==========================================================
   Filosophie — Theme Stylesheet
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #1D1D1D;
  background: #fff;
}

html { margin: 0; padding: 0; }

/* ── Global type scale ─────────────────────────────────── */
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin: 0;
}
h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin: 0;
}
h3, .h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin: 0;
}
h4, .h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin: 0;
}

/* Paragraphs */
p { font-family: 'Inter', sans-serif; margin: 0; }
.par-1 { font-size: 18px; line-height: 1.5; }
.par-2 { font-size: 16px; line-height: 1.5; }
.par-3 { font-size: 14px; line-height: 1.5; }
.par-4 { font-size: 12px; line-height: 1.5; }

/* Captions */
.cap-1 { font-family: 'Inter', sans-serif; font-size: 20px; line-height: 1.3; }
.cap-2 { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.3; }
.cap-3 { font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.3; }
.cap-4 { font-family: 'Inter', sans-serif; font-size: 12px; line-height: 1.3; }

html, body { height: auto !important; min-height: 100%; }

/* #container: flex column so footer sticks to bottom */
#container {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

main { flex: 1 !important; padding: 0 !important; }

#content, #column-left, #column-right { padding-bottom: 0 !important; }

/* Non-home page padding */
#product-info, #account-account, #account-login, #account-register,
#checkout-cart, #checkout-checkout, #product-category,
#product-search, #product-special { padding-bottom: 80px; }

/* Alert */
#alert {
  z-index: 9999; position: fixed;
  top: 30%; left: 50%; width: 400px; margin-left: -200px;
  height: 0; overflow: visible;
}
#alert .alert { margin-bottom: 15px; }

/* Hide legacy chrome */
#top { display: none !important; }

/* Old footer override */
footer { position: static !important; bottom: auto !important; background: #fff !important; border: none !important; padding: 0 !important; }
footer > .container { display: none !important; }

/* ==========================================================
   HEADER
   ========================================================== */
#site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
}

.filo-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: #1D1D1D;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: color .2s;
}
.filo-icon-btn:hover { color: #26A6B3; }
.filo-icon-btn svg { display: block; flex-shrink: 0; }
.filo-icon-btn .iconify { display: block; flex-shrink: 0; }

/* ── Icon badge wrapper ── */
.filo-badge-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.filo-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 50px;
  background: #D41717;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 17px;
  text-align: center;
  pointer-events: none;
  z-index: 2;
}

/* Cart icon wrap — positions badge over the icon link */
.filo-cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.filo-cart-icon-wrap .filo-badge {
  top: 2px;
  right: 2px;
}

.filo-lang { display: inline-flex; align-items: center; }
.filo-lang .dropdown > a {
  display: inline-flex; align-items: center;
  padding: 10px 8px; color: #1D1D1D;
  font-size: 12px; text-decoration: none;
}
.filo-lang .dropdown > a:hover { color: #26A6B3; }
.filo-lang .dropdown-menu {
  min-width: 200px;
  font-size: 14px;
  border: 1px solid #E5E7EB !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.10) !important;
  padding: 24px !important;
}
.filo-lang .dropdown-menu .dropdown-item {
  padding: 10px 0 !important;
  color: #1D1D1D !important;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
}
.filo-lang .dropdown-menu .dropdown-item:last-child { border-bottom: none; }
.filo-lang .dropdown-menu .dropdown-item:hover { background: none !important; color: #26A6B3 !important; }

.filo-account-wrap { position: relative; display: inline-flex; }
.filo-dropdown {
  display: none;
  position: absolute; right: 0; top: 100%;
  background: #fff; border: 1px solid #E5E7EB;
  border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.10);
  padding: 24px; min-width: 200px;
  list-style: none; margin: 4px 0 0; z-index: 300;
  flex-direction: column; gap: 0;
}
.filo-account-wrap:hover .filo-dropdown { display: flex; }
.filo-dropdown li a {
  display: block; padding: 10px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: #1D1D1D;
  text-decoration: none;
  border-bottom: 1px solid #F3F4F6;
  transition: color .15s;
}
.filo-dropdown li:last-child a { border-bottom: none; }
.filo-dropdown li a:hover { color: #26A6B3; background: none; }

.filo-cart-wrap { position: relative; display: inline-flex; align-items: center; }
.filo-cart-wrap .btn,
.filo-cart-wrap .btn-lg {
  background: none !important; border: none !important;
  padding: 10px !important; color: #1D1D1D !important;
  font-size: 13px !important; line-height: 1 !important;
  box-shadow: none !important;
  display: inline-flex !important; align-items: center !important; gap: 6px !important;
}
.filo-cart-wrap .btn:hover { color: #26A6B3 !important; }
.filo-cart-wrap .btn i { font-size: 18px !important; }
.filo-cart-wrap .dropdown-menu { right: 0 !important; left: auto !important; min-width: 300px; z-index: 300; }

#main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  overflow: visible;
  flex-wrap: nowrap;
}

/* Desktop: show nav, hide hamburger */
@media (min-width: 768px) {
  .filo-main-nav { display: flex !important; }
  .filo-mobile-toggle { display: none !important; }
  #filo-mobile-nav { display: none !important; }
}

/* Mobile: hide nav, show hamburger */
@media (max-width: 767px) {
  .filo-main-nav { display: none !important; }
  .filo-mobile-toggle { display: inline-flex !important; }
}
#main-nav > a,
#main-nav > .relative > a:first-child {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.24px;
  color: #1D1D1D; text-decoration: none;
  padding: 8px 8px; white-space: nowrap; transition: color .2s;
  display: inline-flex; align-items: center; gap: 4px;
}
#main-nav a:hover { color: #26A6B3; }
#main-nav .relative { position: relative; display: inline-flex; align-items: center; }

/* Dropdown submenu */
#main-nav .relative > div {
  display: none;
  position: absolute;
  left: 0; top: 100%;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  padding: 24px;
  width: 300px;
  z-index: 300;
  display: none;
  flex-direction: column;
  gap: 0;
}
#main-nav .relative:hover > div { display: flex; }
#main-nav .relative > div a {
  display: block !important;
  padding: 10px 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #1D1D1D !important;
  white-space: nowrap;
  border-bottom: 1px solid #F3F4F6;
  text-decoration: none;
  transition: color .15s;
}
#main-nav .relative > div a:last-child { border-bottom: none !important; }
#main-nav .relative > div a:hover { color: #26A6B3 !important; background: none !important; }

/* ==========================================================
   HERO
   ========================================================== */

/* Strip Bootstrap module chrome inside the carousel layer */
#filo-hero-carousel h3 { display: none !important; }

/* Carousel container and all descendants fill 100% height */
#filo-hero-carousel,
#filo-hero-carousel > div,
#filo-hero-carousel .carousel,
#filo-hero-carousel .carousel-inner,
#filo-hero-carousel .carousel-item { height: 100% !important; }

/* Override Bootstrap .container max-width so image fills full hero width */
#filo-hero-carousel .container,
#filo-hero-carousel .container-fluid,
#filo-hero-carousel .container-sm,
#filo-hero-carousel .container-md,
#filo-hero-carousel .container-lg,
#filo-hero-carousel .container-xl,
#filo-hero-carousel .container-xxl {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 100% !important;
}

/* Collapse Bootstrap's row/col grid → single full-bleed image per slide */
#filo-hero-carousel .carousel-item .row {
  margin: 0 !important;
  height: 100% !important;
  flex-wrap: nowrap !important;
  display: flex !important;
}
#filo-hero-carousel .carousel-item [class*="col-"] {
  padding: 0 !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  height: 100% !important;
}
/* Hide extra columns — only first image shown per slide */
#filo-hero-carousel .carousel-item [class*="col-"]:not(:first-child) {
  display: none !important;
}
/* Anchor wrapping the image must also fill full height */
#filo-hero-carousel .carousel-item a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
#filo-hero-carousel .carousel-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  max-height: none !important;
}

/* Hero text */
#filo-hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #FAFAFA;
  max-width: 420px;
  margin: 0;
}

@media (max-width: 767px) {
  #filo-hero-title { font-size: 32px !important; }
}

#filo-hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 400px;
}

#filo-hero-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #FAFAFA;
  margin: 0;
}

#filo-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  height: 59px;
  padding: 16px 30px;
  border-radius: 100px;
  background: #fff;
  color: #1D1D1D;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.32px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,.16);
  transition: opacity .2s;
  white-space: nowrap;
  box-sizing: border-box;
}
#filo-hero-cta:hover { opacity: .88; color: #1D1D1D; }

@media (max-width: 767px) {
  #filo-hero-cta { width: 100%; max-width: 400px; }
}

/* ==========================================================
   SECTIONS
   ========================================================== */
.filo-section {
  padding: 80px 48px;
  width: 100%;
  box-sizing: border-box;
}

.filo-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

.filo-h2 {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700 !important;
  font-size: 40px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.02em !important;
  color: #1D1D1D !important;
  margin: 0 !important;
}

.filo-viewall {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #1D1D1D;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.28px;
}
.filo-viewall:hover { color: #26A6B3; }

/* ==========================================================
   PRODUCT GRID (home page best-sellers via featured/special module)
   ========================================================== */

/* Hide module headings — section title already in home.twig */
.filo-product-grid h3 { display: none !important; }

/* Hide any carousel controls/indicators that bleed in from banner modules */
.filo-product-grid .carousel-control-prev,
.filo-product-grid .carousel-control-next,
.filo-product-grid .carousel-indicators { display: none !important; }

/* Hide non-product modules (banner/brand modules have no .filo-product-card)
   but never hide the special section wrapper */
.filo-product-grid > div:not(:has(.filo-product-card)):not(:has(.filo-special-section)) { display: none !important; }

/* The module wraps products in .row > .col — override Bootstrap's flex row
   with a 4-col CSS grid */
.filo-product-grid .row,
.filo-special-section .row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Each col cell — strip Bootstrap padding and margin */
.filo-product-grid .col,
.filo-product-grid [class*="col-"],
.filo-special-section .col,
.filo-special-section [class*="col-"] {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  flex: none !important;
  width: auto !important;
}


/* Responsive: 2 cols on tablet, 1 col on mobile */
@media (max-width: 1024px) {
  .filo-product-grid .row,
  .filo-special-section .row { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
  .filo-product-grid .row,
  .filo-special-section .row { grid-template-columns: 1fr !important; }
}

/* ==========================================================
   LOOKBOOK (New Arrivals)
   ========================================================== */
.filo-lookbook {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  height: 756px;
  background: linear-gradient(135deg, #3a3028, #1e1e1e);
}

.filo-lookbook-title {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700 !important;
  font-size: 40px !important;
  line-height: 1.3 !important;
  color: #FAFAFA !important;
  margin: 0 0 8px !important;
}

.filo-lookbook-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin: 0;
  letter-spacing: 0.28px;
}

@media (max-width: 1280px) { .filo-lookbook { height: 620px; } }
@media (max-width: 1024px) { .filo-lookbook { height: 520px; } }
@media (max-width: 767px)  { .filo-lookbook { height: 420px; } }

/* ==========================================================
   PERKS
   ========================================================== */
.filo-perks {
  background: #f8f8f8;
  padding: 40px 48px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.filo-perk {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.filo-perk svg { display: block; }

.filo-perk-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: #1D1D1D;
  margin: 0;
}

.filo-perk-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #495A69;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================
   CATEGORIES CIRCLE ROW
   ========================================================== */
.filo-cat-scroll {
  display: flex;
  gap: 64px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.filo-cat-scroll::-webkit-scrollbar { display: none; }

.filo-cat-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex-shrink: 0;
  scroll-snap-align: start;
  /* Exactly 4 per row: (container - 3 gaps) / 4 */
  width: calc((100% - 3 * 64px) / 4);
  min-width: 180px;
}

.filo-cat-circle-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
}

.filo-cat-circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .4s ease;
}
.filo-cat-circle-item:hover .filo-cat-circle-img img { transform: scale(1.05); }

.filo-cat-circle-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #1D1D1D;
  margin: 0;
  letter-spacing: 0.28px;
  text-align: center;
  transition: color .2s;
}
.filo-cat-circle-item:hover .filo-cat-circle-name { color: #26A6B3; }

/* ==========================================================
   REVIEWS
   ========================================================== */
.filo-reviews-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.filo-reviews-row::-webkit-scrollbar { display: none; }

.filo-rev-btn {
  width: 38px;
  height: 38px;
  border-radius: 99px;
  border: none;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  cursor: pointer;
  flex-shrink: 0;
  transition: box-shadow .2s, transform .2s;
  box-sizing: border-box;
}
.filo-rev-btn:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transform: scale(1.06);
}

.filo-review-card {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.10);
  border-radius: 24px;
  padding: 24px;
  width: 402px;
  min-width: 402px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filo-review-top { display: flex; gap: 16px; align-items: center; }

.filo-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 18px;
  color: #FAFAFA;
  letter-spacing: 0.32px;
}

.filo-reviewer {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  color: #1D1D1D;
  margin: 0 0 4px;
}

.filo-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.filo-review-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: #495A69;
  line-height: 1.6; margin: 0;
  letter-spacing: 0.28px;
}

/* ==========================================================
   NEWSLETTER + FOOTER  (both live in footer.twig)
   ========================================================== */

#site-footer {
  background: #fff;
}

/* ── Newsletter ─────────────────────────────────────────── */
.filo-newsletter {
  display: flex;
  width: 100%;
  min-height: 180px;
}
.filo-newsletter-left {
  flex: 1;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  min-height: 180px;
}
.filo-newsletter-copy {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.filo-newsletter-title {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700 !important;
  font-size: 40px !important;
  line-height: 1.3 !important;
  color: #fff !important;
  margin: 0 !important;
}
.filo-newsletter-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0.28px;
}
.filo-newsletter-right {
  flex: 1;
  background: #f5f6fc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  min-height: 180px;
}
.filo-newsletter-form {
  display: flex;
  align-items: stretch;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.16);
  width: 100%;
  max-width: 520px;
}
.filo-newsletter-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 0 24px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #495A69;
  background: #fff;
  min-height: 64px;
}
.filo-newsletter-btn {
  background: #26A6B3;
  border: none;
  width: 64px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
}
.filo-newsletter-btn:hover { background: #1e8f9b; }

/* ── Footer body ────────────────────────────────────────── */
.filo-footer-inner {
  padding: 80px 48px 32px;
}
.filo-footer-top {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.filo-footer-brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.filo-footer-logo { height: 40px; width: auto; }
.filo-footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 24px;
  color: #1D1D1D;
  text-decoration: none;
  line-height: 1.3;
}
.filo-footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
}
.filo-footer-socials a {
  color: #1D1D1D;
  text-decoration: none;
  transition: color .2s;
  display: inline-flex;
}
.filo-footer-socials a:hover { color: #26A6B3; }

.filo-footer-cols {
  flex: 3;
  display: flex;
  gap: 24px;
  min-width: 0;
}
.filo-footer-col {
  flex: 1;
  min-width: 0;
}
.filo-footer-col-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: #1D1D1D;
  margin: 0 0 24px;
}
.filo-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.filo-footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #495A69;
  text-decoration: none;
  padding: 4px 0;
  line-height: 1.5;
  letter-spacing: 0.28px;
  transition: color .2s;
  display: block;
}
.filo-footer-links a:hover { color: #1D1D1D; }

/* Contact rows with icon */
.filo-footer-contact-row {
  display: flex !important;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}
.filo-footer-contact-row svg { flex-shrink: 0; }
.filo-footer-contact-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* ── Footer bottom bar ──────────────────────────────────── */
.filo-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 16px;
}
.filo-footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #495A69;
  letter-spacing: 0.28px;
  margin: 0;
}
.filo-footer-payments {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================
   SEARCH OVERLAY
   ========================================================== */
#filo-search-overlay {
  background: rgba(255,255,255,0.97);
}

.filo-search-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #495A69;
  text-decoration: none;
  background: #fff;
  transition: border-color .2s, color .2s, background .2s;
}
.filo-search-chip:hover {
  border-color: #26A6B3;
  color: #26A6B3;
  background: #f0fbfc;
}

#filo-search-results-grid .filo-product-card {
  width: 100%;
  gap: 8px;
}
#filo-search-results-grid .filo-card-image-wrap {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
}
#filo-search-results-grid .filo-card-body {
  gap: 4px;
  padding: 0;
}
#filo-search-results-grid .filo-card-name {
  font-size: 13px;
  line-height: 1.3;
}
#filo-search-results-grid .filo-card-cat {
  font-size: 11px;
}
#filo-search-results-grid .filo-card-price {
  font-size: 13px;
}

/* ==========================================================
   CATEGORY PAGE
   ========================================================== */

#product-category {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px 80px;
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.filo-breadcrumb-bar {
  padding: 16px 0 8px;
}

.filo-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filo-breadcrumb-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #495A69;
  text-decoration: none;
  transition: color .2s;
}
.filo-breadcrumb-link:hover { color: #1D1D1D; }

.filo-breadcrumb-sep {
  font-size: 13px;
  color: #aaa;
}

.filo-breadcrumb-current {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #1D1D1D;
}

/* ── Page Header ────────────────────────────────────────── */
.filo-cat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 16px 0 20px;
  flex-wrap: wrap;
}

.filo-cat-title {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700 !important;
  font-size: 40px !important;
  line-height: 1.3 !important;
  color: #1D1D1D !important;
  margin: 0 !important;
}

/* ── Filter / Sort Controls ─────────────────────────────── */
.filo-cat-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.filo-filter-dropdown-wrap {
  position: relative;
}

.filo-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1D1D1D;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .2s;
}
.filo-filter-btn:hover { border-color: #1D1D1D; }

.filo-filter-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  padding: 8px 0;
  min-width: 180px;
  z-index: 300;
}
.filo-filter-dropdown-wrap:hover .filo-filter-menu { display: block; }

.filo-filter-menu-item {
  display: block;
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #495A69;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.filo-filter-menu-item:hover,
.filo-filter-menu-item.active {
  background: #f9f9f9;
  color: #1D1D1D;
}

/* ── Active Filter Chips ────────────────────────────────── */
.filo-active-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filo-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid #d1d5db;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #1D1D1D;
  background: #fff;
}
.filo-filter-chip strong { font-weight: 500; }

.filo-chip-remove {
  color: #9ca3af;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  transition: color .2s;
}
.filo-chip-remove:hover { color: #1D1D1D; }

.filo-clear-filters {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #495A69;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}
.filo-clear-filters:hover { color: #1D1D1D; }

.filo-clear-icon { font-size: 14px; }

/* ── Product Count ──────────────────────────────────────── */
.filo-product-count {
  margin-bottom: 24px;
}
.filo-product-count p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #495A69;
  margin: 0;
}

/* ── Product Grid ───────────────────────────────────────── */
.filo-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 1200px) {
  .filo-cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .filo-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  #product-category { padding: 0 20px 60px; }
  .filo-cat-title { font-size: 28px !important; }
}
@media (max-width: 480px) {
  .filo-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ── Product Card ───────────────────────────────────────── */
/* Figma spec: W 318, H 419, vertical auto-layout, gap 16   */
.filo-product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* Image: W 318, H 318, corner-radius 24, clip content */
.filo-card-image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 318px;
  border-radius: 24px;
  overflow: hidden;
  background: #f5f5f5;
  flex-shrink: 0;
  position: relative;
}

.filo-card-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.filo-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.filo-card-image-wrap:hover .filo-card-img { transform: scale(1.05); }

/* Subtle dark scrim on hover so white buttons stay legible */
.filo-card-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  border-radius: inherit;
  transition: background .3s ease;
  pointer-events: none;
  z-index: 1;
}
.filo-card-image-wrap:hover::after {
  background: rgba(0,0,0,0.08);
}

/* ── Quick action buttons (heart + eye) top-right on hover ── */
.filo-card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  z-index: 3;
}
.filo-card-image-wrap:hover .filo-card-actions {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

/* Quick button — white circle, dark icon; teal on hover / active */
.filo-quick-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #1D1D1D;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.14);
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
  flex-shrink: 0;
  text-decoration: none;
}
.filo-quick-btn:hover,
.filo-quick-btn--active {
  background: #26A6B3;
  color: #fff;
  box-shadow: 0 4px 14px rgba(38,166,179,.35);
  transform: scale(1.08);
}
.filo-quick-btn .iconify { pointer-events: none; }

/* ── Add to Cart bar — slides up from image bottom on hover ── */
.filo-card-atc-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 12px 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  z-index: 3;
}
.filo-card-image-wrap:hover .filo-card-atc-wrap {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Add to Cart button — outlined pill default, teal filled on hover */
.filo-card-atc-btn {
  display: block;
  width: 100%;
  padding: 11px 0;
  border-radius: 100px;
  border: 1.5px solid #1D1D1D;
  background: #fff;
  color: #1D1D1D;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
  white-space: nowrap;
}
.filo-card-atc-btn:hover {
  background: #26A6B3;
  border-color: #26A6B3;
  color: #fff;
  box-shadow: 0 4px 16px rgba(38,166,179,.3);
}

/* Text block: fill width, hug height, vertical gap 10 */
.filo-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* Category label — Color/Info/--info-text (#0B72EB) */
.filo-card-cat {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #0B72EB;
  letter-spacing: 0.24px;
  line-height: 1.4;
}

/* Product name — Color/Text/--text-primary (#1D1D1D) */
.filo-card-name {
  margin: 0;
  line-height: 1.25;
}
.filo-card-name a {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: #1D1D1D;
  text-decoration: none;
  transition: color .2s;
}
.filo-card-name a:hover { color: #26A6B3; }

/* Price row */
.filo-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sale price — Color/Danger/--danger (#D41717) */
.filo-price-new {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #D41717;
  letter-spacing: 0.32px;
  line-height: 1.4;
}

/* Original price — strikethrough, muted */
.filo-price-old {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #9ca3af;
  text-decoration: line-through;
  letter-spacing: 0.24px;
  line-height: 1.4;
}

/* ── Pagination ─────────────────────────────────────────── */
.filo-pagination-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.filo-pagination-wrap .pagination {
  margin: 0;
}

/* ── Sub-categories ─────────────────────────────────────── */
.filo-subcat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}
.filo-subcat-card {
  padding: 10px 20px;
  border: 1px solid #d1d5db;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1D1D1D;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.filo-subcat-card:hover { border-color: #26A6B3; background: #f0fbfc; color: #26A6B3; }

/* ── No Results ─────────────────────────────────────────── */
.filo-no-results {
  padding: 60px 0;
  text-align: center;
}
.filo-no-results p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #495A69;
  margin-bottom: 24px;
}
.filo-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: #1D1D1D;
  color: #fff;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s;
}
.filo-btn-primary:hover { background: #26A6B3; color: #fff; }

/* ==========================================================
   PRODUCT DETAIL PAGE
   ========================================================== */

/* ── Accordion ─────────────────────────────────────────── */
.filo-accordion {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
}

.filo-accordion-item {
  border-bottom: 1px solid #e5e7eb;
}
.filo-accordion-item:last-child { border-bottom: none; }

.filo-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.filo-accordion-btn:hover { background: #fafafa; }

.filo-acc-icon {
  flex-shrink: 0;
  transition: transform .25s ease;
  color: #1D1D1D;
}
.filo-acc-closed-icon { transform: rotate(180deg); }

.filo-accordion-body {
  padding: 0 24px 24px;
}
.filo-acc-open { display: block !important; }

/* ── Option chips (radio/checkbox) ─────────────────────── */
.filo-option-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #1D1D1D;
  margin-bottom: 8px;
  letter-spacing: 0.26px;
}

.filo-radio-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #495A69;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  user-select: none;
}
.filo-radio-chip:hover { border-color: #1D1D1D; color: #1D1D1D; }
.filo-radio-chip.filo-chip-active {
  border-color: #26A6B3;
  background: #f0fbfc;
  color: #26A6B3;
}

/* ── Form inputs ────────────────────────────────────────── */
.filo-select,
.filo-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1D1D1D;
  background: #fff;
  outline: none;
  transition: border-color .2s;
  appearance: none;
}
.filo-select:focus, .filo-input:focus { border-color: #26A6B3; }

/* ── Related section ────────────────────────────────────── */
.filo-related { border-top: 1px solid #f0f0f0; padding-top: 48px; }

/* ==========================================================
   WISHLIST PAGE
   ========================================================== */

/* Selected row highlight */
.filo-wish-row-selected {
  background: rgba(38,166,179,.04);
  border-radius: 12px;
}

/* Custom checkbox */
.filo-checkbox-ui {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  transition: border-color .2s, background .2s;
  flex-shrink: 0;
}
.filo-checkbox-ui:hover { border-color: #26A6B3; }

.filo-wish-check:checked + .filo-checkbox-ui {
  background: #26A6B3;
  border-color: #26A6B3;
}

.filo-wish-check:checked + .filo-checkbox-ui::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

/* ==========================================================
   BREADCRUMB / OTHER PAGES (legacy override)
   ========================================================== */
.breadcrumb {
  margin: 0 0 20px;
  padding: 8px 0;
  border: none;
  background: transparent;
}

#cookie {
  position: fixed; bottom: 0; left: 0;
  width: 100%; height: 150px;
  z-index: 9999; opacity: 0.95;
  background: #343a40; color: #ecf0f1;
}
#cookie div { font-size: 16px; color: #fff; }

.rating .fa-star { color: #FC0; font-size: 15px; }
.price { color: #444; }
.price-new { font-weight: 600; }
.price-old { color: #dc512c; text-decoration: line-through; }
.price-tax { color: #999; font-size: 12px; display: block; }
label { font-size: 12px; font-weight: normal; }
div.required .col-form-label:before,
div.required .form-label:before { content: "* "; color: #F00; font-weight: bold; }
@media (min-width: 768px) { .col-form-label { text-align: right; } }

/* ==========================================================
   AUTH PAGES (Login / Register / Forgotten)
   ========================================================== */

.filo-auth-card {
  width: 100%;
  max-width: 540px;
  border: 1.5px dashed #26A6B3;
  border-radius: 24px;
  padding: 40px 48px 44px;
  background: #fff;
}

.filo-auth-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 36px;
  color: #1D1D1D;
  margin: 0 0 28px;
  letter-spacing: 0.72px;
  text-align: center;
}

/* Tabs */
.filo-auth-tabs {
  display: flex;
  border-bottom: 1.5px solid #E5E7EB;
  margin-bottom: 28px;
}

.filo-auth-tab {
  flex: 1;
  padding: 10px 0 12px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 20px;
  color: #9ca3af;
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  cursor: pointer;
  text-align: center;
  transition: color 0.15s, border-color 0.15s;
  letter-spacing: 0.4px;
  text-decoration: none;
  display: block;
}

.filo-auth-tab:hover { color: #1D1D1D; }

.filo-auth-tab-active {
  color: #1D1D1D !important;
  border-bottom-color: #26A6B3 !important;
}

/* Fields */
.filo-auth-field { position: relative; }

.filo-auth-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #1D1D1D;
  margin-bottom: 7px;
}

.filo-required { color: #D41717; }

.filo-auth-input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1D1D1D;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.filo-auth-input:focus { border-color: #26A6B3; }

/* Password visibility toggle */
.filo-password-wrap { position: relative; }

.filo-password-wrap .filo-auth-input { padding-right: 44px; }

.filo-pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filo-pw-toggle:hover { color: #495A69; }

/* Submit button */
.filo-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border-radius: 50px;
  background: #26A6B3;
  color: #fff;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  letter-spacing: 0.3px;
}

.filo-auth-btn:hover { background: #1e8f9b; }
.filo-auth-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Modal */
.filo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.filo-modal-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 40px 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.filo-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  color: #9ca3af; padding: 4px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.filo-modal-close:hover { color: #1D1D1D; background: #f3f4f6; }

.filo-modal-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 28px;
  color: #1D1D1D;
  margin: 0 0 8px;
  letter-spacing: 0.56px;
  text-align: center;
}

.filo-modal-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #495A69;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

/* OTP boxes */
.filo-otp-box {
  width: 48px;
  height: 56px;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #1D1D1D;
  text-align: center;
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
}

.filo-otp-box:focus { border-color: #26A6B3; }

/* ==========================================================
   CHECKOUT PAGE
   ========================================================== */

/* ── Flat-style checkout field classes ── */
.filo-co-field { position: relative; }

.filo-co-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #1D1D1D;
  margin-bottom: 6px;
}

.filo-co-input {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1D1D1D;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.filo-co-input:focus { border-color: #26A6B3; box-shadow: none; }
.filo-co-input.filo-input-error { border-color: #D41717; }
textarea.filo-co-input { -webkit-appearance: none; appearance: none; }

.filo-co-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23495A69' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.filo-co-error {
  display: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #D41717;
  margin-top: 4px;
}

/* Checkout page layout */
#checkout-checkout {
  max-width: 1440px;
  margin: 0 auto;
}

/* ── Legacy checkout classes (used by shipping_address.twig when logged in) ── */
.filo-checkout-section {
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 20px;
  padding: 28px 32px;
}

.filo-checkout-section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  color: #1D1D1D;
  margin: 0 0 20px;
  letter-spacing: 0.44px;
}

.filo-checkout-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #495A69;
  margin-bottom: 6px;
  letter-spacing: 0.24px;
}

.filo-checkout-input {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1D1D1D;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.filo-checkout-input:focus { border-color: #26A6B3; }
.filo-checkout-input.filo-input-error { border-color: #D41717; }

.filo-checkout-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23495A69' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.filo-field-error {
  display: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #D41717;
  margin-top: 4px;
}

.filo-checkout-field { position: relative; }

.filo-checkbox-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

/* Checkbox native input hidden */
.filo-checkbox-native {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.filo-checkbox-ui {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 5px;
  background: #fff;
  transition: border-color .2s, background .2s;
  flex-shrink: 0;
  cursor: pointer;
}
.filo-checkbox-wrap:hover .filo-checkbox-ui { border-color: #26A6B3; }

.filo-checkbox-native:checked + .filo-checkbox-ui {
  background: #26A6B3;
  border-color: #26A6B3;
}

.filo-checkbox-native:checked + .filo-checkbox-ui::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

/* Place Order button */
#button-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border-radius: 50px;
  background: #26A6B3;
  color: #fff;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 12px;
  box-sizing: border-box;
}
#button-confirm:hover:not(:disabled) { background: #1e8f9b; }
#button-confirm:disabled { opacity: 0.5; cursor: not-allowed; }

/* Address cards (logged-in shipping/payment selection) */
.filo-address-card {
  display: block;
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.filo-address-card:hover { border-color: #26A6B3; }
.filo-address-card-active { border-color: #26A6B3; background: #f0fbfc; }

.filo-address-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  color: #1D1D1D;
  margin: 0 0 4px;
}
.filo-address-line {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #495A69;
  margin: 0 0 2px;
}
.filo-address-radio-ui {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid #D1D5DB;
  transition: border-color 0.15s, background 0.15s;
  position: relative; flex-shrink: 0;
}
.filo-address-card-active .filo-address-radio-ui {
  border-color: #26A6B3; background: #26A6B3;
}
.filo-address-card-active .filo-address-radio-ui::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
}

/* ==========================================================
   SUCCESS PAGE
   ========================================================== */

#common-success { background: #fff; }
