/* Kwiaciarnia Ola — catalog-first storefront, 2026-10-16 */
.catalog-first-ratebar {
  background: #f5f4ee !important;
  color: #344238 !important;
  border-bottom: 1px solid #e8e8df;
}
.catalog-first-ratebar__inner {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 4px 9px;
  padding: 4px 12px;
  font-size: .76rem;
  line-height: 1.3;
  text-align: center;
}
.catalog-first-ratebar__inner strong { color: #263d30; font-weight: 700; }
.site-header { background: #fff !important; border-bottom: 1px solid #eceee9; }
.brand-logo { flex: 0 0 auto; }
.brand-logo-img { display: block; width: auto !important; height: 48px !important; object-fit: contain !important; }
.nav-links .nav-link { color: #303a33; font-weight: 550; }
.nav-links .nav-link-secondary { color: #5f6f63; font-size: .92em; }
.catalog-store-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 15px;
  border: 1px solid #244e39;
  border-radius: 7px;
  background: #244e39;
  color: #fff !important;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.catalog-store-link:hover { background: #1c402e; }
.catalog-store-link:focus-visible,
.catalog-phone-link:focus-visible,
.catalog-first-hero__cta:focus-visible { outline: 3px solid #c6a862; outline-offset: 3px; }
.catalog-phone-link { color: #46594b; font-size: .84rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.catalog-first-hero {
  padding: 15px 0 17px;
  background: #faf9f6;
  border-bottom: 1px solid #efeee7;
  color: #29342d;
}
.catalog-first-hero__inner { max-width: 1220px; }
.catalog-first-hero__eyebrow {
  margin: 0 0 4px;
  color: #617466;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .045em;
}
.catalog-first-hero h1 {
  max-width: 24ch;
  margin: 0;
  color: #293a30;
  font-family: inherit;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.catalog-first-hero__copy {
  max-width: 66ch;
  margin: 7px 0 10px;
  color: #505b53;
  font-size: .95rem;
  line-height: 1.45;
}
.catalog-first-hero__cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border-radius: 6px;
  background: #244e39;
  color: #fff !important;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
}
.catalog-first-hero__cta:hover { background: #1c402e; }
#kwiaty, #katalog { scroll-margin-top: 118px; padding-top: 17px !important; padding-bottom: 34px !important; background: #fff; }
#kwiaty .section-header, #katalog .section-header { max-width: 850px; margin: 0 auto 12px !important; text-align: left; }
#kwiaty .section-tag, #katalog .section-tag { color: #65776a; font-size: .76rem; }
#kwiaty .section-title, #katalog .section-title { margin: 1px 0 3px !important; color: #293a30; font-size: clamp(1.38rem, 2.4vw, 1.9rem); line-height: 1.18; }
#kwiaty .section-subtitle, #katalog .section-subtitle { margin: 0 !important; color: #59645c; font-size: .88rem; line-height: 1.4; }
#kwiaty .new-bouquets-banner, #katalog .new-bouquets-banner { display: none !important; }
#kwiaty .budget-filter, #katalog .budget-filter {
  max-width: 1220px;
  margin: 9px auto 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
#kwiaty .budget-filter h3, #katalog .budget-filter h3 { margin: 0 0 5px !important; color: #526055; font-size: .78rem; font-weight: 600; }
.budget-filter-buttons { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding: 1px 0 3px; scrollbar-width: thin; }
.budget-filter-buttons .budget-btn { min-height: 32px; flex: 0 0 auto; padding: 5px 11px; border: 1px solid #d9dfd9; border-radius: 5px; background: #fff; color: #39463d; font-size: .78rem; line-height: 1.2; }
.budget-filter-buttons .budget-btn.active { border-color: #244e39; background: #edf2ed; color: #244e39; font-weight: 650; }
#kwiaty .filter-tabs-wrapper, #katalog .filter-tabs-wrapper {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 4px 0 9px !important;
  overflow-x: auto;
  padding: 1px 0 4px;
  scrollbar-width: thin;
}
#kwiaty .filter-tabs-wrapper > *, #katalog .filter-tabs-wrapper > * { min-height: 30px; flex: 0 0 auto; padding: 5px 10px; font-size: .75rem; }
.products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 15px !important;
}
.product-card {
  display: flex !important;
  min-width: 0;
  height: 100%;
  flex-direction: column !important;
  overflow: hidden;
  border: 1px solid #e8ebe6 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 2px 9px rgb(28 48 35 / 5%) !important;
}
.product-card-image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #f6f5f0;
}
.product-card-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
  transition: transform .2s ease;
}
.product-card-body { display: flex !important; min-width: 0; flex: 1 1 auto; flex-direction: column !important; gap: 0; padding: 12px !important; }
.product-card-title, .product-title-button {
  display: block;
  width: 100%;
  margin: 0 0 5px !important;
  padding: 0;
  border: 0;
  background: transparent;
  color: #293a30 !important;
  font-size: .98rem !important;
  font-weight: 650 !important;
  line-height: 1.28 !important;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}
.product-card-desc {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 9px !important;
  color: #5c665e !important;
  font-size: .81rem !important;
  line-height: 1.38 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.product-card-footer { display: flex !important; width: 100%; min-width: 0; flex-direction: column !important; align-items: stretch !important; gap: 8px !important; margin-top: auto !important; padding-top: 9px !important; border-top: 1px solid #edf0ed; }
.product-price-info { display: flex !important; min-width: 0; flex-wrap: wrap !important; align-items: baseline !important; justify-content: space-between !important; gap: 4px 8px; }
.product-price-info .price-label { color: #748078; font-size: .7rem; }
.product-price-info .price-value, .public-promo-price strong { color: #244e39 !important; font-size: 1.12rem !important; font-weight: 750 !important; }
.product-price-note, .public-price-note { display: none !important; }
.product-card-buttons { display: flex !important; width: 100% !important; min-width: 0; flex-direction: column !important; gap: 4px !important; }
.product-card-buttons > .btn, .product-card-buttons > button {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px !important;
  border: 0;
  border-radius: 6px;
  background: #244e39;
  color: #fff !important;
  font-size: .86rem !important;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}
.product-card-buttons > .btn:hover, .product-card-buttons > button:hover { background: #1c402e; }
.product-card-buttons .btn-outline-dark { min-height: 28px; padding: 3px 4px !important; border: 0 !important; background: transparent !important; color: #56665a !important; font-size: .76rem !important; font-weight: 500; text-decoration: underline; }
.boutique-collections, .boutique-proof, .trust-strip { background: #faf9f6; }
.boutique-collections, .boutique-proof, .trust-strip { padding-top: 28px !important; padding-bottom: 28px !important; }
.boutique-collection-card, .boutique-proof-grid article { box-shadow: 0 2px 10px rgb(28 48 35 / 5%) !important; }
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 820px) { .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 11px !important; } }
@media (max-width: 600px) {
  .catalog-first-ratebar__inner { min-height: 28px; gap: 3px 6px; padding: 4px 8px; font-size: .69rem; }
  .brand-logo-img { height: 43px !important; }
  .catalog-phone-link, .customer-account-btn { display: none !important; }
  .catalog-store-link { min-height: 38px; padding: 0 10px; font-size: .82rem; }
  .catalog-first-hero { padding: 10px 0 12px; }
  .catalog-first-hero__eyebrow { margin-bottom: 3px; font-size: .7rem; }
  .catalog-first-hero h1 { max-width: 19ch; font-size: clamp(1.55rem, 7.1vw, 1.9rem); line-height: 1.05; }
  .catalog-first-hero__copy { margin: 5px 0 8px; font-size: .83rem; line-height: 1.32; }
  .catalog-first-hero__cta { min-height: 34px; padding: 0 11px; font-size: .82rem; }
  #kwiaty, #katalog { padding-top: 12px !important; padding-bottom: 26px !important; }
  #kwiaty .section-header, #katalog .section-header { margin-bottom: 8px !important; }
  #kwiaty .section-title, #katalog .section-title { font-size: 1.35rem; }
  #kwiaty .section-subtitle, #katalog .section-subtitle { font-size: .79rem; line-height: 1.3; }
  #kwiaty .budget-filter, #katalog .budget-filter { margin: 6px auto 5px !important; }
  #kwiaty .budget-filter h3, #katalog .budget-filter h3 { margin-bottom: 3px !important; font-size: .72rem; }
  #kwiaty .filter-tabs-wrapper, #katalog .filter-tabs-wrapper { margin: 2px 0 6px !important; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px !important; }
  .product-card-image-wrap { aspect-ratio: 4 / 5; }
  .product-card-body { padding: 9px !important; }
  .product-card-title, .product-title-button { font-size: .9rem !important; }
  .product-card-desc { font-size: .75rem !important; }
  .product-card-buttons > .btn, .product-card-buttons > button { min-height: 41px; padding: 7px 6px !important; font-size: .78rem !important; }
  .product-card-buttons .btn-outline-dark { min-height: 25px; font-size: .71rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card-image-wrap img { transition: none !important; }
  .catalog-first-hero__cta, .catalog-store-link { transition: none !important; }
}
/* Tight first viewport refinements after owner mobile review. */
.catalog-first-section-heading { height: 1px; margin: 0 !important; overflow: hidden; }
.catalog-first-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
#kwiaty .budget-filter, #katalog .budget-filter { display: grid !important; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 8px; }
#kwiaty .budget-filter-buttons, #katalog .budget-filter-buttons { min-width: 0; flex-wrap: nowrap; justify-content: space-between; }
@media (max-width: 600px) {
  .catalog-first-hero { padding: 9px 0 10px; }
  .catalog-first-hero__eyebrow { margin-bottom: 2px; }
  .catalog-first-hero h1 { max-width: none; font-size: 1.42rem; line-height: 1.08; }
  .catalog-first-hero__copy { max-width: 52ch; margin: 4px 0 0; font-size: .79rem; line-height: 1.28; }
  #kwiaty > .container, #katalog > .container { width: 100% !important; max-width: none !important; padding-right: 16px !important; padding-left: 16px !important; }
  #kwiaty, #katalog { padding-top: 7px !important; padding-bottom: 22px !important; }
  #kwiaty .section-header, #katalog .section-header { height: 1px; margin: 0 !important; overflow: hidden; }
  #kwiaty .budget-filter, #katalog .budget-filter { display: block !important; margin: 2px 0 5px !important; }
  #kwiaty .budget-filter-buttons, #katalog .budget-filter-buttons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; overflow: visible; }
  .budget-filter-buttons .budget-btn { min-width: 0; min-height: 29px; padding: 3px 2px; font-size: .64rem; white-space: normal; }
  #kwiaty .filter-tabs-wrapper, #katalog .filter-tabs-wrapper { margin: 2px 0 4px !important; }
  #kwiaty .filter-tabs-wrapper > *, #katalog .filter-tabs-wrapper > * { min-height: 28px; padding: 4px 8px; font-size: .69rem; }
  #kwiaty .section-title, #katalog .section-title { font-size: 1px; }
  #kwiaty .section-subtitle, #katalog .section-subtitle { display: none; }
  .products-grid { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .product-card-image-wrap { aspect-ratio: 4 / 5; }
  .product-card-body { padding: 8px !important; }
  .product-card-title, .product-title-button { margin-bottom: 4px !important; font-size: .87rem !important; line-height: 1.2 !important; }
  .product-card-desc { display: none !important; }
  .product-price-info .price-label { display: none !important; }
  .product-price-info .price-value, .public-promo-price strong { font-size: 1.02rem !important; }
  .product-card-buttons > .btn, .product-card-buttons > button { min-height: 44px; padding: 7px 5px !important; font-size: .76rem !important; }
  .product-card-buttons .btn-outline-dark { min-height: 23px; padding: 2px !important; font-size: .68rem !important; }
}
/* Exact mobile card sizing from the 390px owner review. */
#kwiaty .catalog-first-section-heading, #katalog .catalog-first-section-heading {
  position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important;
}
#kwiaty .product-card-footer, #katalog .product-card-footer { gap: 4px !important; padding-top: 6px !important; }
@media (max-width: 600px) {
  #kwiaty .product-card-body, #katalog .product-card-body { padding: 6px !important; }
  #kwiaty .product-card-buttons > .btn-primary, #kwiaty .product-card-buttons > button.btn-primary,
  #katalog .product-card-buttons > .btn-primary, #katalog .product-card-buttons > button.btn-primary { min-height: 44px !important; height: 44px !important; }
  #kwiaty .product-card-buttons > a.btn-outline-dark, #katalog .product-card-buttons > a.btn-outline-dark {
    min-height: 27px !important; height: 27px !important; padding: 1px 2px !important; line-height: 1.15 !important;
  }
}
/* Header and first-row position tuning for the 390px storefront check. */
.top-bar.catalog-first-ratebar { min-height: 30px !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
.site-header { margin: 0 !important; padding: 0 !important; }
.site-header .nav-container { min-height: 56px; padding-top: 4px !important; padding-bottom: 4px !important; gap: 8px; }
@media (max-width: 600px) {
  .catalog-first-ratebar__inner { min-height: 26px; padding-top: 3px; padding-bottom: 3px; }
  .site-header .nav-container { min-height: 50px; padding-right: 12px !important; padding-left: 12px !important; gap: 5px; }
  .catalog-first-hero { padding-top: 8px; padding-bottom: 9px; }
  .catalog-first-hero__copy { max-width: none; }
}
/* High-specificity mobile overrides for retained global !important rules. */
@media (max-width: 600px) {
  #kwiaty, #katalog { padding-right: 0 !important; padding-left: 0 !important; }
  #kwiaty > .container, #katalog > .container {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  #kwiaty .budget-filter, #katalog .budget-filter {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 4px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  #kwiaty .filter-tabs-wrapper > button, #katalog .filter-tabs-wrapper > button {
    min-height: 32px !important;
    height: auto !important;
    padding: 6px 10px !important;
  }
  #kwiaty .product-card .product-card-title, #katalog .product-card .product-card-title,
  #kwiaty .product-card .product-title-button, #katalog .product-card .product-title-button { font-family: inherit !important; }
  #kwiaty .product-card .product-card-buttons > a.btn-outline-dark,
  #katalog .product-card .product-card-buttons > a.btn-outline-dark {
    min-height: 27px !important;
    height: 27px !important;
    padding: 1px 2px !important;
    line-height: 1.15 !important;
  }
  #kwiaty .product-card .product-card-buttons > .btn-primary,
  #katalog .product-card .product-card-buttons > .btn-primary,
  #kwiaty .product-card .product-card-buttons > button.btn-primary,
  #katalog .product-card .product-card-buttons > button.btn-primary { min-height: 44px !important; height: 44px !important; }
}
/* Heritage theme tokens from the pre-14.10 storefront, layered over catalog-first layout. */
:root {
  --bg-page: #FAF7F2;
  --bg-card: #FFFFFF;
  --bg-glass: #FFFFFF;
  --bg-glass-card: #FFFFFF;
  --border-glass: #EAE3D9;
  --border-light: #E2DBD0;
  --green-deep: #162B20;
  --green-primary: #1F3D2E;
  --green-soft: #385E49;
  --green-light: #EBF2EC;
  --gold-accent: #C5A059;
  --gold-hover: #AF8B45;
  --gold-light: #F7F2E7;
  --rose-nude: #F3EAE4;
  --rose-soft: #DFCCC1;
  --text-primary: #1C231F;
  --text-secondary: #38453D;
  --text-muted: #5E6C63;
  --text-on-dark: #FFFFFF;
  --shadow-subtle: 0 4px 20px rgba(22, 43, 32, 0.05);
  --shadow-hover: 0 16px 36px rgba(22, 43, 32, 0.10);
  --shadow-glass: 0 8px 30px rgba(0, 0, 0, 0.06);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
}
.catalog-first-ratebar { background: var(--green-deep) !important; color: #fff !important; border-bottom: 1px solid var(--gold-accent); }
.catalog-first-ratebar__inner { color: #fff; }
.catalog-first-ratebar__inner strong { color: #E7D4A8; }
.catalog-first-hero {
  position: relative;
  background: linear-gradient(118deg, #FAF7F2 0%, #FFFFFF 58%, #F7F2E7 100%);
  border-bottom-color: var(--border-light);
}
.catalog-first-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-accent) 24%, #E6D6B4 76%, transparent);
  content: '';
}
.catalog-first-hero__eyebrow { color: #8B6B34; font-family: var(--font-body); }
.catalog-first-hero h1 {
  color: var(--green-deep);
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.2vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.02;
}
.catalog-first-hero__copy { color: var(--text-secondary); font-family: var(--font-body); }
.catalog-first-hero__cta, .catalog-store-link {
  border: 1px solid var(--gold-accent);
  background: var(--green-primary);
  color: #fff !important;
}
.catalog-first-hero__cta:hover, .catalog-store-link:hover { background: var(--green-deep); border-color: var(--gold-hover); }
.site-header { background: #fff !important; border-bottom: 1px solid var(--border-light); }
.nav-links .nav-link { color: var(--green-deep); }
.nav-links .nav-link:hover, .catalog-phone-link:hover { color: var(--gold-hover); }
.catalog-phone-link { color: var(--green-soft); }
#kwiaty .section-title, #katalog .section-title { color: var(--green-deep); font-family: var(--font-heading); }
#kwiaty .section-tag, #katalog .section-tag { color: #8B6B34; }
.budget-filter-buttons .budget-btn { border-color: var(--border-light); color: var(--green-deep); }
.budget-filter-buttons .budget-btn.active { border-color: var(--gold-accent); background: var(--gold-light); color: var(--green-deep); }
.product-card {
  border-color: var(--border-light) !important;
  border-radius: 14px !important;
  box-shadow: var(--shadow-subtle) !important;
}
.product-card-image-wrap { background: var(--bg-page); }
.product-card-title, .product-title-button { color: var(--green-deep) !important; font-family: var(--font-heading) !important; }
.product-card-desc { color: var(--text-secondary) !important; font-family: var(--font-body); }
.product-price-info .price-value, .public-promo-price strong { color: var(--green-deep) !important; }
.product-card-buttons > .btn, .product-card-buttons > button {
  border: 1px solid var(--gold-accent);
  background: var(--green-primary);
  color: #fff !important;
}
.product-card-buttons > .btn:hover, .product-card-buttons > button:hover { background: var(--green-deep); border-color: var(--gold-hover); }
.product-card-buttons .btn-outline-dark { color: var(--green-soft) !important; }
.boutique-collections, .boutique-proof, .trust-strip { background: var(--bg-page); }
.boutique-collection-card, .boutique-proof-grid article { border-color: var(--border-light) !important; box-shadow: var(--shadow-subtle) !important; }
@media (max-width: 600px) {
  .catalog-first-hero h1 { font-size: 30px; line-height: 1.04; }
  .product-card-title, .product-title-button { font-size: .87rem !important; }
}