/*
Theme Name: FLOOBAN Store
Author: FLOOBAN
Description: A fast, editable, WooCommerce-ready US e-commerce theme with product search, category navigation, dynamic sliders, wishlist, order tracking, printable invoices, social links, and marketing integrations.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flooban-store
Tags: e-commerce, custom-logo, custom-colors, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
*/

:root {
  --flooban-primary: #08abe1;
  --flooban-secondary: #1736b5;
  --flooban-accent: #ffbe00;
  --flooban-ink: #101828;
  --flooban-muted: #667085;
  --flooban-line: #e6eaf0;
  --flooban-soft: #f5f8fc;
  --flooban-white: #ffffff;
  --flooban-success: #159447;
  --flooban-danger: #d92d20;
  --flooban-shadow: 0 12px 32px rgba(16, 24, 40, 0.09);
  --flooban-radius: 14px;
  --flooban-container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--flooban-ink);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
a { color: var(--flooban-secondary); text-decoration: none; }
a:hover { color: var(--flooban-primary); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, .button, input[type="submit"] { cursor: pointer; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important; clip-path: none; display: block; height: auto;
  left: 8px; top: 8px; width: auto; z-index: 100000;
  background: #fff; color: #111; padding: 12px 16px; border-radius: 6px;
}
.container { width: min(calc(100% - 36px), var(--flooban-container)); margin-inline: auto; }
.site-main { min-height: 55vh; }

/* Header */
.topbar { background: linear-gradient(90deg, var(--flooban-secondary), var(--flooban-primary)); color: #fff; font-size: 12px; }
.topbar .container { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a { color: #fff; opacity: .95; }
.topbar-links { display: flex; gap: 18px; align-items: center; white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--flooban-line); backdrop-filter: blur(12px); }
.header-main { display: grid; grid-template-columns: 210px minmax(280px, 1fr) auto; align-items: center; gap: 28px; padding: 15px 0; }
.site-branding { min-width: 0; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-width: 190px; max-height: 54px; object-fit: contain; }
.flooban-default-logo { position: relative; display: block; width: 190px; height: 48px; overflow: hidden; }
.flooban-default-logo img { position: absolute; width: 268px; max-width: none; left: -47px; top: -120px; }
.site-title { margin: 0; font-size: 25px; font-weight: 800; line-height: 1; }
.site-description { margin: 5px 0 0; color: var(--flooban-muted); font-size: 12px; }
.product-search { position: relative; display: flex; height: 48px; border: 2px solid var(--flooban-primary); border-radius: 11px; overflow: hidden; background: #fff; }
.product-search select { width: 148px; border: 0; border-right: 1px solid var(--flooban-line); background: var(--flooban-soft); padding: 0 12px; color: #344054; }
.product-search input[type="search"] { min-width: 0; flex: 1; border: 0; outline: 0; padding: 0 15px; color: var(--flooban-ink); }
.product-search button { width: 52px; border: 0; color: #fff; background: var(--flooban-secondary); font-size: 20px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-action { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--flooban-line); border-radius: 50%; color: var(--flooban-ink); background: #fff; transition: .2s ease; }
.header-action:hover { color: #fff; border-color: var(--flooban-primary); background: var(--flooban-primary); transform: translateY(-2px); }
.action-count { position: absolute; right: -5px; top: -6px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; color: #111; background: var(--flooban-accent); font-size: 10px; font-weight: 800; }
.contact-mini { display: flex; align-items: center; gap: 8px; padding-left: 7px; }
.contact-mini strong, .contact-mini small { display: block; }
.contact-mini small { color: var(--flooban-muted); font-size: 11px; line-height: 1.1; }
.contact-mini strong { font-size: 13px; white-space: nowrap; }
.nav-wrap { border-top: 1px solid var(--flooban-line); }
.nav-row { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.main-navigation ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.main-navigation a { display: block; padding: 13px 0; color: var(--flooban-ink); font-size: 14px; font-weight: 650; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--flooban-primary); }
.shipping-note { color: var(--flooban-muted); font-size: 13px; white-space: nowrap; }
.shipping-note strong { color: var(--flooban-success); }
.menu-toggle { display: none; border: 0; color: #fff; background: var(--flooban-secondary); border-radius: 8px; padding: 8px 12px; }

/* Hero */
.home-hero { padding: 24px 0 12px; background: linear-gradient(180deg, #f8fbff 0, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 238px 1fr; gap: 18px; }
.category-panel { border: 1px solid var(--flooban-line); border-radius: var(--flooban-radius); overflow: hidden; background: #fff; box-shadow: 0 6px 20px rgba(16,24,40,.05); }
.category-title { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px; color: #111; background: var(--flooban-accent); font-size: 15px; font-weight: 800; }
.category-list { list-style: none; margin: 0; padding: 8px 0; }
.category-list li { border-bottom: 1px solid #f1f3f6; }
.category-list li:last-child { border-bottom: 0; }
.category-list a { display: flex; align-items: center; justify-content: space-between; padding: 9px 17px; color: #344054; font-size: 13px; transition: .18s ease; }
.category-list a:hover { padding-left: 21px; color: var(--flooban-secondary); background: #eef7ff; }
.hero-content { min-width: 0; }
.flooban-slider { position: relative; min-height: 408px; border-radius: var(--flooban-radius); overflow: hidden; background: #0b1220; box-shadow: var(--flooban-shadow); }
.flooban-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; padding: 42px 52px; opacity: 0; visibility: hidden; transform: scale(1.02); transition: opacity .55s ease, transform .7s ease, visibility .55s; background-color: #0e1728; background-position: right center; background-repeat: no-repeat; background-size: cover; }
.flooban-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,12,25,.96) 0%, rgba(10,25,45,.82) 46%, rgba(10,25,45,.08) 78%); }
.flooban-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.slide-copy { position: relative; z-index: 2; max-width: 530px; color: #fff; }
.slide-kicker { display: inline-flex; margin-bottom: 12px; color: #62d4ff; font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.slide-copy h1 { margin: 0 0 14px; color: #fff; font-size: clamp(35px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.035em; }
.slide-copy p { max-width: 490px; margin: 0 0 24px; color: #d9e4f2; font-size: 16px; }
.flooban-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 9px; color: #111; background: var(--flooban-accent); font-size: 14px; font-weight: 800; transition: .2s ease; }
.flooban-btn:hover { color: #fff; background: var(--flooban-primary); transform: translateY(-2px); }
.flooban-btn.secondary { color: #fff; background: var(--flooban-secondary); }
.slider-controls { position: absolute; z-index: 5; left: 50px; bottom: 24px; display: flex; gap: 7px; }
.slider-dot { width: 28px; height: 5px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.38); }
.slider-dot.is-active { width: 45px; background: var(--flooban-accent); }

/* Feature strip and sections */
.service-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; border: 1px solid var(--flooban-line); border-radius: 12px; background: #fff; overflow: hidden; }
.service-item { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-right: 1px solid var(--flooban-line); }
.service-item:last-child { border-right: 0; }
.service-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 10px; color: var(--flooban-secondary); background: #edf7ff; font-size: 19px; }
.service-item strong { display: block; font-size: 13px; }
.service-item span { display: block; color: var(--flooban-muted); font-size: 11px; }
.home-section { padding: 48px 0; }
.home-section.soft { background: var(--flooban-soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.section-heading h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.025em; }
.section-heading p { margin: 7px 0 0; color: var(--flooban-muted); }
.section-heading .view-all { white-space: nowrap; font-size: 14px; font-weight: 750; }
.deal-heading { display: flex; align-items: center; gap: 15px; }
.deal-timer { display: inline-flex; padding: 8px 14px; border-radius: 8px; color: #111; background: var(--flooban-accent); font-size: 12px; font-weight: 800; }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.product-card, ul.products li.product {
  position: relative; overflow: hidden; margin: 0 !important; padding: 10px 10px 16px !important;
  border: 1px solid var(--flooban-line); border-radius: 13px; background: #fff;
  box-shadow: 0 4px 16px rgba(16,24,40,.04); transition: .25s ease;
}
.product-card:hover, ul.products li.product:hover { transform: translateY(-6px); border-color: #b8e9fa; box-shadow: var(--flooban-shadow); }
.product-card-image, ul.products li.product a img { display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; margin: 0 0 14px !important; border-radius: 10px; overflow: hidden; background: #f7f8fa; object-fit: cover; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; }
.product-card .product-cat, ul.products li.product .product-category { color: var(--flooban-muted); font-size: 11px; }
.product-card h3, ul.products li.product .woocommerce-loop-product__title { min-height: 42px; margin: 5px 2px 4px !important; padding: 0 !important; color: var(--flooban-ink); font-size: 14px !important; line-height: 1.45; }
.product-card .price, ul.products li.product .price { display: block; margin: 5px 2px 0 !important; color: var(--flooban-ink) !important; font-size: 15px !important; font-weight: 800 !important; }
.product-card .price del, ul.products li.product .price del { color: #98a2b3; font-size: 12px; }
.product-card .price ins, ul.products li.product .price ins { text-decoration: none; }
.product-rating { color: #f6a700; font-size: 11px; }
.sale-badge, ul.products li.product .onsale { position: absolute !important; z-index: 3; top: 18px !important; left: 18px !important; right: auto !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 4px 8px !important; border-radius: 5px !important; color: #111 !important; background: var(--flooban-accent) !important; font-size: 10px !important; line-height: 1.2 !important; font-weight: 800 !important; }
.wishlist-toggle { position: absolute; z-index: 4; right: 17px; top: 17px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--flooban-line); border-radius: 50%; color: var(--flooban-ink); background: rgba(255,255,255,.94); }
.wishlist-toggle.is-saved { color: #fff; border-color: #e44357; background: #e44357; }
.flooban-single-wishlist { position: static; display: inline-flex; width: auto; height: 42px; padding: 0 15px; border-radius: 8px; gap: 8px; }
.product-card .flooban-btn { width: calc(100% - 20px); min-height: 39px; margin: 12px 10px 0; padding: 0 12px; font-size: 12px; }
ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0 !important; }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { float: none !important; width: auto !important; }
ul.products li.product .button { width: 100%; margin-top: 12px !important; text-align: center; border-radius: 8px; color: #111; background: var(--flooban-accent); }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.category-card { display: block; padding: 22px 14px; border: 1px solid var(--flooban-line); border-radius: 14px; color: var(--flooban-ink); background: #fff; text-align: center; transition: .2s ease; }
.category-card:hover { color: var(--flooban-secondary); transform: translateY(-4px); box-shadow: var(--flooban-shadow); }
.category-card .category-art { display: grid; place-items: center; width: 86px; height: 86px; margin: 0 auto 13px; border-radius: 50%; background: linear-gradient(145deg, #ecf9ff, #e8eafe); font-size: 34px; }
.category-card strong { display: block; font-size: 14px; }
.category-card small { color: var(--flooban-muted); }
.promo-banner { display: grid; grid-template-columns: 1fr .85fr; align-items: center; min-height: 270px; overflow: hidden; border-radius: 20px; color: #fff; background: linear-gradient(120deg, #071223, var(--flooban-secondary) 55%, var(--flooban-primary)); box-shadow: var(--flooban-shadow); }
.promo-copy { padding: 45px 55px; }
.promo-copy h2 { max-width: 650px; margin: 0 0 12px; color: #fff; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; }
.promo-copy p { margin: 0 0 22px; color: #dce8f7; }
.promo-art { position: relative; align-self: stretch; overflow: hidden; }
.promo-art::before, .promo-art::after { content: ""; position: absolute; border-radius: 50%; }
.promo-art::before { width: 330px; height: 330px; right: 12%; top: -35px; border: 38px solid rgba(255,255,255,.12); }
.promo-art::after { width: 170px; height: 170px; right: 29%; top: 48px; background: var(--flooban-accent); box-shadow: 0 0 0 32px rgba(255,255,255,.08); }

/* Content and WooCommerce */
.page-hero { padding: 48px 0; color: #fff; background: linear-gradient(115deg, #07172d, var(--flooban-secondary)); }
.page-hero h1 { margin: 0 0 8px; color: #fff; font-size: 40px; }
.breadcrumbs { color: #cbd9ee; font-size: 13px; }
.content-area { padding: 45px 0 70px; }
.content-narrow { max-width: 850px; margin-inline: auto; }
.entry-content h2, .entry-content h3 { line-height: 1.25; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--flooban-line); text-align: left; }
.shop-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 28px; }
.shop-sidebar { align-self: start; position: sticky; top: 160px; padding: 22px; border: 1px solid var(--flooban-line); border-radius: 13px; background: #fff; }
.shop-sidebar h3 { margin: 0 0 16px; font-size: 18px; }
.filter-field { margin-bottom: 15px; }
.filter-field label { display: block; margin-bottom: 5px; font-size: 12px; font-weight: 700; }
.filter-field input, .filter-field select { width: 100%; height: 42px; padding: 0 10px; border: 1px solid var(--flooban-line); border-radius: 7px; background: #fff; }
.price-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-actions { display: grid; gap: 8px; }
.filter-actions .flooban-btn { min-height: 40px; }
.filter-reset { text-align: center; font-size: 12px; }
.woocommerce .woocommerce-breadcrumb { color: var(--flooban-muted); font-size: 13px; }
.woocommerce span.onsale { background: var(--flooban-accent); color: #111; }
.woocommerce div.product div.images img { border-radius: 14px; }
.woocommerce div.product .product_title { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--flooban-secondary); font-size: 27px; font-weight: 800; }
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce #respond input#submit.alt { border-radius: 9px; color: #fff; background: var(--flooban-secondary); }
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: var(--flooban-primary); }
.woocommerce-message { border-top-color: var(--flooban-primary); }
.woocommerce-info { border-top-color: var(--flooban-secondary); }
.woocommerce-error { border-top-color: var(--flooban-danger); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 45px; padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 7px; }
.flooban-stock { display: inline-flex; margin: 8px 0; padding: 5px 9px; border-radius: 5px; color: var(--flooban-success); background: #ecfdf3; font-size: 12px; font-weight: 700; }
.flooban-stock.out { color: var(--flooban-danger); background: #fff1f0; }
.order-tracking-box { padding: 25px; border: 1px solid var(--flooban-line); border-radius: 12px; background: var(--flooban-soft); }
.tracking-number { display: inline-block; padding: 7px 11px; border-radius: 6px; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.invoice-actions { margin: 20px 0; }

/* Forms */
.flooban-contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 35px; }
.contact-card { padding: 28px; border-radius: 14px; background: var(--flooban-soft); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; padding: 11px 12px; border: 1px solid #d0d5dd; border-radius: 8px; }
.form-notice { grid-column: 1 / -1; padding: 11px 14px; border-radius: 7px; background: #ecfdf3; color: #067647; }
.wishlist-empty { padding: 45px; border: 2px dashed var(--flooban-line); border-radius: 14px; text-align: center; }

/* Footer */
.site-footer { color: #c8d4e3; background: #081527; }
.footer-newsletter { border-bottom: 1px solid rgba(255,255,255,.1); }
.newsletter-row { min-height: 112px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.newsletter-row h3 { margin: 0; color: #fff; font-size: 25px; }
.newsletter-row p { margin: 3px 0 0; color: #93a4ba; }
.newsletter-form { display: flex; min-height: 48px; padding: 4px; border-radius: 10px; background: #fff; }
.newsletter-form input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 0 12px; }
.newsletter-form button { border: 0; border-radius: 7px; color: #111; background: var(--flooban-accent); padding: 0 20px; font-weight: 800; }
.footer-main { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.2fr; gap: 45px; padding: 52px 0 40px; }
.footer-column h4 { margin: 0 0 18px; color: #fff; font-size: 16px; }
.footer-column ul { list-style: none; margin: 0; padding: 0; }
.footer-column li { margin: 8px 0; }
.footer-column a { color: #b8c7d9; font-size: 14px; }
.footer-column a:hover { color: #fff; }
.footer-brand-mark { display: inline-flex; margin-bottom: 15px; padding: 9px 14px; border-radius: 9px; color: #fff; background: linear-gradient(90deg, var(--flooban-secondary), var(--flooban-primary)); font-size: 24px; font-weight: 900; letter-spacing: .05em; }
.footer-column p { color: #9fb0c5; font-size: 14px; }
.social-icons { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.social-icon { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: #fff !important; font-size: 13px; font-weight: 800; }
.social-icon:hover { border-color: var(--flooban-primary); background: var(--flooban-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; }
.payment-badges { display: flex; gap: 7px; flex-wrap: wrap; }
.payment-badges span { padding: 5px 8px; border-radius: 4px; color: #1f2937; background: #fff; font-size: 10px; font-weight: 800; }
.floating-contact { position: fixed; z-index: 1000; right: 18px; bottom: 22px; display: grid; gap: 9px; }
.floating-contact a { display: grid; place-items: center; width: 48px; height: 48px; border: 3px solid #fff; border-radius: 50%; color: #fff; box-shadow: 0 8px 25px rgba(16,24,40,.2); font-size: 18px; font-weight: 800; }
.floating-whatsapp { background: #20b858; }
.floating-call { background: var(--flooban-secondary); }
.floating-messenger { background: #0084ff; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { overflow: hidden; border: 1px solid var(--flooban-line); border-radius: 14px; background: #fff; }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card-content { padding: 20px; }
.post-card h2 { margin: 5px 0 8px; font-size: 20px; line-height: 1.25; }
.post-meta { color: var(--flooban-muted); font-size: 12px; }
.pagination { margin-top: 32px; }

/* Responsive */
@media (max-width: 1100px) {
  .header-main { grid-template-columns: 180px 1fr auto; gap: 15px; }
  .contact-mini { display: none; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .flooban-slide { padding: 38px; }
}
@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-links { display: none; }
  .header-main { grid-template-columns: 170px 1fr auto; }
  .header-actions .account-action { display: none; }
  .nav-row { min-height: 0; padding: 9px 0; }
  .menu-toggle { display: inline-flex; }
  .main-navigation { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 15px 20px 22px; border-top: 1px solid var(--flooban-line); background: #fff; box-shadow: var(--flooban-shadow); }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { display: block; }
  .main-navigation a { padding: 10px 0; }
  .shipping-note { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .category-panel { display: none; }
  .service-strip { grid-template-columns: repeat(2, 1fr); }
  .service-item:nth-child(2) { border-right: 0; }
  .service-item:nth-child(-n+2) { border-bottom: 1px solid var(--flooban-line); }
  .product-grid, ul.products { grid-template-columns: repeat(3, 1fr) !important; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .container { width: min(calc(100% - 24px), var(--flooban-container)); }
  .topbar { font-size: 10px; }
  .header-main { grid-template-columns: 1fr auto; padding: 10px 0; }
  .site-branding { grid-column: 1; }
  .flooban-default-logo { width: 156px; height: 42px; }
  .flooban-default-logo img { width: 225px; left: -40px; top: -101px; }
  .header-actions { grid-column: 2; }
  .header-action { width: 38px; height: 38px; }
  .header-actions .wishlist-action { display: none; }
  .product-search { grid-column: 1 / -1; grid-row: 2; height: 44px; }
  .product-search select { display: none; }
  .shipping-note { display: none; }
  .flooban-slider { min-height: 470px; }
  .flooban-slide { grid-template-columns: 1fr; align-items: end; padding: 38px 25px 80px; background-position: 65% center; }
  .flooban-slide::before { background: linear-gradient(0deg, rgba(5,12,25,.98) 8%, rgba(5,12,25,.72) 68%, rgba(5,12,25,.22)); }
  .slide-copy h1 { font-size: 38px; }
  .slider-controls { left: 25px; }
  .service-strip { grid-template-columns: 1fr; }
  .service-item, .service-item:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--flooban-line); }
  .service-item:last-child { border-bottom: 0; }
  .home-section { padding: 37px 0; }
  .section-heading { align-items: start; }
  .section-heading .view-all { display: none; }
  .deal-heading { align-items: start; flex-direction: column; }
  .product-grid, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .product-card, ul.products li.product { padding: 7px 7px 13px !important; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .promo-banner { grid-template-columns: 1fr; }
  .promo-copy { position: relative; z-index: 2; padding: 38px 28px; }
  .promo-art { display: none; }
  .newsletter-row { grid-template-columns: 1fr; gap: 15px; padding: 28px 0; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container { align-items: flex-start; flex-direction: column; padding: 20px 0; }
  .flooban-contact-grid, .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
  .post-grid { grid-template-columns: 1fr; }
  .floating-contact { right: 10px; bottom: 12px; }
  .floating-contact a { width: 43px; height: 43px; }
  .page-hero { padding: 35px 0; }
  .page-hero h1 { font-size: 32px; }
}
@media print {
  .topbar, .site-header, .site-footer, .floating-contact, .invoice-actions { display: none !important; }
  .content-area { padding: 0; }
}
