/* Storefront themes — chosen in the ERP (Podešavanja kompanije → Webshop, companies.webshop_theme),
 * returned by GET /api/company and applied as a class on <body> (see ApplicationHelper#storefront_theme).
 *
 * Every theme uses the same views. A theme first re-points the variables application.css is
 * built on (palette, fonts, radii, header/nav/footer colors, card and hero knobs), then adds a
 * small number of shape overrides that variables can't express (hero layout, header shape,
 * card details). "klasik" is application.css as it is — no overrides.
 *
 *   klasik  monochrome WooCommerce shape: Poppins/Inter, dark nav, rounded cards
 *   atelje  editorial: Fraunces serif on warm ivory, hairlines, square cards, tall photo hero
 *   volt    tech: all-dark header, Space Grotesk, electric blue + lime signal, bold hero
 *   basta   fresh: Plus Jakarta Sans, greens, pill controls, soft cards, inset rounded hero
 *
 * Themes that also change the layout itself each have their own file:
 *   galerija (theme-galerija.css) quiet gallery: header as a left sidebar, muted greige/olive, split hero
 *   magazin  (theme-magazin.css)  Swiss editorial: asymmetric product grid, picture-tile categories, cover hero
 *   nordik  (theme-nordik.css)   minimal, one-row header, horizontal list cards, headline above photo
 *   noir    (theme-noir.css)     dark luxury, centered-logo header, full-screen hero, portrait cards
 *   market  (theme-market.css)   Magento-style catalogue store: layered-nav filter column, bordered grid, orange CTAs
 *   puls    (theme-puls.css)     modern headless-commerce: sticky blurred header, rounded cards, inset indigo hero
 */

/* ════════════════════════════════════════════════════════════════════════════════════════════
   ATELJE — editorial
   ════════════════════════════════════════════════════════════════════════════════════════════ */

body.theme-atelje {
  --bg: #f5f1ea;
  --surface: #fffdf9;
  --surface-alt: #eee8de;
  --border: #e0d7c8;
  --text: #1f1a14;
  --text-muted: #776c5f;
  --accent: #9c4a2a;
  --accent-dark: #76341a;
  --accent-soft: #f3e3d9;
  --dark: #1f1a14;
  --dark-2: #2b241c;
  --radius-sm: 0;
  --radius-md: 2px;
  --radius-lg: 2px;
  --shadow-sm: none;
  --shadow-md: 0 1rem 2rem rgba(31, 26, 20, 0.08);
  --gradient-accent: var(--accent);
  --gradient-dark: var(--dark);

  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --heading-weight: 500;
  --heading-tracking: -0.015em;
  --header-bg: var(--bg);
  --topbar-bg: var(--dark);
  --topbar-ink: #efe6d8;
  --catnav-bg: var(--bg);
  --catnav-ink: var(--text);
  --catnav-ink-muted: var(--text-muted);
  --catnav-hover-bg: transparent;
  --catnav-all-bg: transparent;
  --catnav-all-ink: var(--text);
  --search-border: 0;
  --search-radius: 0;
  --btn-radius: 0;
  --card-radius: 0;
  --card-border: 0;
  --card-shadow: none;
  --card-media-bg: #ebe4d8;
  --card-body-bg: transparent;
  --trust-bg: var(--surface-alt);
  --trust-ink: var(--text);
  --trust-ink-muted: var(--text-muted);
  --trust-icon-bg: transparent;
  --footer-bg: var(--dark);
  --footer-ink: #f3ece1;
  --footer-ink-muted: #b3a792;
  --hero-min-h: 30rem;
  --hero-min-h-lg: clamp(32rem, 72vh, 46rem);
  font-size: 1rem;
}

.theme-atelje .topbar {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.theme-atelje .header-main {
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border);
}

.theme-atelje .header-brand {
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.theme-atelje .brand-mark {
  border-radius: 0;
  font-weight: 500;
}

/* Search: a single underline instead of a box. */
.theme-atelje .header-search-combo {
  border-bottom: 1px solid var(--text);
}

.theme-atelje .search-category-select {
  background: transparent;
  border-right: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
}

.theme-atelje .header-search-input {
  background: transparent;
  font-size: 1rem;
}

.theme-atelje .header-search-btn {
  background: transparent;
  color: var(--text);
}

.theme-atelje .header-search-btn:hover {
  background: transparent;
  color: var(--accent);
}

.theme-atelje .header-action-btn:hover {
  background: transparent;
}

.theme-atelje .header-action-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  font-size: 0.62rem;
}

.theme-atelje .header-catnav {
  border-bottom: 1px solid var(--border);
}

.theme-atelje .catnav-all-toggle,
.theme-atelje .catnav-link {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 500;
}

.theme-atelje .catnav-all-toggle {
  padding-left: 0;
}

.theme-atelje .catnav-link:hover,
.theme-atelje .catnav-link.active {
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-thickness: 1px;
}

.theme-atelje .btn {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  font-size: 0.76rem;
  padding: 0.85rem 1.8rem;
}

/* Hero: tall photograph, dark scrim rising from the bottom, large serif title bottom-left. */
.theme-atelje .hero-slide {
  align-items: flex-end;
  padding-bottom: 4rem;
  color: #fff;
}

.theme-atelje .hero-slide-image::before {
  background: linear-gradient(0deg, rgba(24, 18, 12, 0.72) 0%, rgba(24, 18, 12, 0.25) 45%, rgba(24, 18, 12, 0) 70%);
}

.theme-atelje .hero-slide-content {
  max-width: 44rem;
}

.theme-atelje .hero-slide h1 {
  color: #fff;
  font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.theme-atelje .hero-slide p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}

.theme-atelje .hero-slide .btn-primary {
  --bs-btn-bg: #fffdf9;
  --bs-btn-border-color: #fffdf9;
  --bs-btn-color: var(--text);
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: #fffdf9;
  --bs-btn-hover-color: #fffdf9;
  background-image: none;
}

.theme-atelje .hero-slide-1 { background: linear-gradient(160deg, #6d4a33 0%, #2b241c 100%); }
.theme-atelje .hero-slide-2 { background: linear-gradient(160deg, #8a5a3c 0%, #3a2c20 100%); }
.theme-atelje .hero-slide-3 { background: linear-gradient(160deg, #5a4a3a 0%, #1f1a14 100%); }

.theme-atelje .hero-slider .carousel-control-prev,
.theme-atelje .hero-slider .carousel-control-next {
  filter: none;
  opacity: 0.7;
}

.theme-atelje .hero-slider .carousel-indicators {
  justify-content: flex-end;
  margin-right: var(--gutter);
}

.theme-atelje .hero-slider .carousel-indicators [data-bs-target] {
  width: 28px;
  height: 2px;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.5);
}

.theme-atelje .hero-slider .carousel-indicators .active {
  background-color: #fff;
}

.theme-atelje .fb-section:not(.fb-band-trust) {
  background: var(--bg);
  padding: 4.5rem 0;
}

.theme-atelje .fb-band-alt {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.theme-atelje .fb-section-title {
  text-align: left;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

/* Categories: arched photographs instead of circles. */
.theme-atelje .category-item {
  width: 8.5rem;
}

.theme-atelje div.category-tile,
.theme-atelje .category-tile.category-tile-photo {
  box-shadow: none;
}

.theme-atelje .category-tile.category-tile-photo,
.theme-atelje div.category-tile {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 0 0;
  object-fit: cover;
}

.theme-atelje div.category-tile {
  background: var(--surface-alt) !important;
}

.theme-atelje .category-card:hover {
  box-shadow: none;
}

.theme-atelje .category-card-name {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.95rem;
}

.theme-atelje .category-scroll-btn {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.theme-atelje .fb-feature svg {
  border: 1px solid var(--border);
  color: var(--accent);
}

.theme-atelje .fb-feature h3 {
  font-size: 1.05rem;
}

/* Product cards: no box at all — photo, then type. */
.theme-atelje .product-card:hover {
  box-shadow: none;
  transform: none;
}

.theme-atelje .product-card .card-body {
  padding: 0.85rem 0 0;
}

.theme-atelje .product-card img.product-tile {
  transition: transform 0.5s ease;
}

.theme-atelje .product-card:hover img.product-tile {
  transform: scale(1.04);
}

.theme-atelje .card-title {
  font-family: var(--font-heading);
  font-weight: 400 !important;
  font-size: 1rem;
}

.theme-atelje .price-row {
  text-align: left !important;
}

.theme-atelje .price {
  font-weight: 500;
}

.theme-atelje .sku-pill {
  border: 0;
  padding: 0;
  background: transparent;
  letter-spacing: 0.08em;
}

.theme-atelje .stock-ribbon {
  left: 0;
  right: auto;
  top: 0;
  border-radius: 0;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.theme-atelje .quick-add-form {
  left: 0;
  right: 0;
}

.theme-atelje .product-card:hover .quick-add-form {
  bottom: 0;
}

.theme-atelje .quick-add-btn {
  background: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  padding: 0.8rem;
  box-shadow: none;
}

.theme-atelje .footer-heading {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.16em;
}

.theme-atelje .footer-brand {
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════════════════════════════════
   VOLT — tech / bold
   ════════════════════════════════════════════════════════════════════════════════════════════ */

body.theme-volt {
  --volt: #c6f432;
  --volt-ink: #0b0e14;
  --ink: #0b0e14;
  --bg: #eef0f4;
  --surface: #ffffff;
  --surface-alt: #f4f6f9;
  --border: #dde1e8;
  --text: #0b0e14;
  --text-muted: #5b6475;
  --accent: #3355ff;
  --accent-dark: #1f3be0;
  --accent-soft: #e6ebff;
  --dark: #0b0e14;
  --dark-2: #161a23;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: none;
  --shadow-md: 0 0.75rem 2rem rgba(11, 14, 20, 0.12);
  --gradient-accent: var(--accent);
  --gradient-dark: var(--dark);

  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Space Grotesk", "Inter", sans-serif;
  --heading-weight: 700;
  --heading-tracking: -0.03em;
  --header-bg: var(--ink);
  --topbar-bg: #000;
  --topbar-ink: #c9cfdb;
  --catnav-bg: var(--ink);
  --catnav-ink: #ffffff;
  --catnav-ink-muted: #aab2c2;
  --catnav-hover-bg: rgba(255, 255, 255, 0.06);
  --catnav-all-bg: var(--volt);
  --catnav-all-ink: var(--volt-ink);
  --search-border: 1px solid #2a3040;
  --search-radius: 10px;
  --btn-radius: 10px;
  --card-radius: 14px;
  --card-border: 1px solid var(--border);
  --card-shadow: none;
  --card-media-bg: #f4f6f9;
  --card-body-bg: #ffffff;
  --trust-bg: var(--ink);
  --trust-ink: #ffffff;
  --trust-ink-muted: #8b93a5;
  --trust-icon-bg: var(--volt);
  --footer-bg: #06080c;
  --footer-ink: #ffffff;
  --footer-ink-muted: #8b93a5;
  --hero-min-h: 26rem;
  --hero-min-h-lg: clamp(28rem, 60vh, 38rem);
}

.theme-volt .header-catnav {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.theme-volt .header-brand,
.theme-volt .header-brand:hover,
.theme-volt .header-action-btn {
  color: #fff;
}

.theme-volt .header-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--volt);
}

/* An uploaded logo is usually drawn for a light background — it sits on a white chip here. */
.theme-volt .brand-logo {
  background: #fff;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  height: 2.5rem;
}

.theme-volt .brand-mark {
  background: var(--volt);
  color: var(--volt-ink);
  border-radius: 8px;
}

.theme-volt .search-category-select {
  background: #1b2030;
  color: #c9cfdb;
  border-right-color: #2a3040;
}

.theme-volt .header-search-input {
  background: #141824;
  color: #fff;
}

.theme-volt .header-search-input::placeholder {
  color: #7d8597;
}

.theme-volt .header-search-btn {
  background: var(--volt);
  color: var(--volt-ink);
}

.theme-volt .header-search-btn:hover {
  background: #d8ff5c;
}

.theme-volt .cart-count {
  background: var(--volt);
  color: var(--volt-ink);
  border-color: var(--ink);
}

.theme-volt .catnav-all-toggle {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.theme-volt .catnav-all-toggle:hover,
.theme-volt .catnav-all-toggle.show {
  background: #d8ff5c;
}

.theme-volt .catnav-link.active {
  box-shadow: inset 0 -3px 0 var(--volt);
}

.theme-volt .btn {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Hero: dark scrim from the left, big uppercase grotesk title under a lime bar. */
.theme-volt .hero-slide {
  color: #fff;
}

.theme-volt .hero-slide-image::before {
  background: linear-gradient(90deg, rgba(11, 14, 20, 0.88) 0%, rgba(11, 14, 20, 0.5) 45%, rgba(11, 14, 20, 0) 75%);
}

.theme-volt .hero-slide-content {
  max-width: 40rem;
}

.theme-volt .hero-slide-content::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 5px;
  background: var(--volt);
  margin-bottom: 1.25rem;
}

.theme-volt .hero-slide h1 {
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 5.5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.theme-volt .hero-slide p {
  color: #c9cfdb;
}

.theme-volt .hero-slide .btn-primary {
  --bs-btn-bg: var(--volt);
  --bs-btn-border-color: var(--volt);
  --bs-btn-color: var(--volt-ink);
  --bs-btn-hover-bg: #d8ff5c;
  --bs-btn-hover-border-color: #d8ff5c;
  --bs-btn-hover-color: var(--volt-ink);
  --bs-btn-active-bg: #d8ff5c;
  --bs-btn-active-color: var(--volt-ink);
  background-image: none;
  text-transform: uppercase;
}

.theme-volt .hero-slide-1 { background: radial-gradient(120% 140% at 85% 20%, #3355ff 0%, #0b0e14 60%); }
.theme-volt .hero-slide-2 { background: radial-gradient(120% 140% at 85% 80%, #5a2bff 0%, #0b0e14 60%); }
.theme-volt .hero-slide-3 { background: radial-gradient(120% 140% at 90% 50%, #0f9b8e 0%, #0b0e14 60%); }

.theme-volt .hero-slider .carousel-control-prev,
.theme-volt .hero-slider .carousel-control-next {
  filter: none;
  opacity: 0.6;
}

.theme-volt .hero-slider .carousel-indicators [data-bs-target] {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.35);
}

.theme-volt .hero-slider .carousel-indicators .active {
  background-color: var(--volt);
}

.theme-volt .fb-section:not(.fb-band-trust) {
  background: var(--bg);
}

.theme-volt .fb-band-alt {
  background: var(--surface);
}

.theme-volt .fb-section-title {
  text-align: left;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}

.theme-volt .fb-section-title::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 4px;
  margin-top: 0.6rem;
  background: var(--volt);
}

/* Categories: rounded squares with a border, lime on hover. */
.theme-volt .category-item {
  width: 7rem;
}

.theme-volt div.category-tile,
.theme-volt .category-tile.category-tile-photo {
  box-shadow: none;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.theme-volt div.category-tile {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  background: var(--surface-alt) !important;
}

.theme-volt .category-card:hover {
  box-shadow: none;
  transform: none;
}

.theme-volt .category-card:hover .category-tile {
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--volt);
}

.theme-volt .category-scroll-btn {
  border-radius: 10px;
  box-shadow: none;
}

.theme-volt .fb-feature svg {
  color: var(--volt-ink);
  border-radius: 12px;
}

/* Product cards: bordered, hard offset shadow on hover. */
.theme-volt .product-card {
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.theme-volt .product-card:hover {
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.theme-volt .card-title {
  font-family: var(--font-heading);
  font-weight: 600 !important;
  letter-spacing: -0.01em;
}

.theme-volt .price:not(.price-lg) {
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.theme-volt .sku-pill {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  border-radius: 6px;
}

.theme-volt .stock-ribbon {
  left: 0.6rem;
  right: auto;
  border-radius: 6px;
}

.theme-volt .stock-ribbon-in {
  background: var(--volt);
  color: var(--volt-ink);
}

.theme-volt .quick-add-btn {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.theme-volt .quick-add-btn:hover {
  background: var(--volt);
  color: var(--volt-ink);
}

.theme-volt .footer-social-link:hover {
  background: var(--volt);
  color: var(--volt-ink);
}

/* ════════════════════════════════════════════════════════════════════════════════════════════
   BAŠTA — fresh / friendly
   ════════════════════════════════════════════════════════════════════════════════════════════ */

body.theme-basta {
  --bg: #f5f8f2;
  --surface: #ffffff;
  --surface-alt: #eef4ea;
  --border: #dde7d6;
  --text: #16261b;
  --text-muted: #5d6f62;
  --accent: #1f7a4d;
  --accent-dark: #145c39;
  --accent-soft: #e0f1e6;
  --dark: #10301f;
  --dark-2: #1a4630;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(22, 38, 27, 0.06);
  --shadow-md: 0 0.9rem 2rem rgba(22, 38, 27, 0.12);
  --gradient-accent: var(--accent);
  --gradient-dark: var(--dark);

  --font-body: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  --heading-weight: 800;
  --heading-tracking: -0.025em;
  --header-bg: var(--surface);
  --topbar-bg: var(--accent-soft);
  --topbar-ink: var(--accent-dark);
  --catnav-bg: var(--surface);
  --catnav-ink: var(--accent-dark);
  --catnav-ink-muted: var(--text);
  --catnav-hover-bg: var(--accent-soft);
  --catnav-all-bg: var(--accent);
  --catnav-all-ink: #ffffff;
  --search-border: 2px solid var(--border);
  --search-radius: 999px;
  --btn-radius: 999px;
  --card-radius: 22px;
  --card-border: 0;
  --card-shadow: var(--shadow-sm);
  --card-media-bg: var(--surface-alt);
  --card-body-bg: var(--surface);
  --trust-bg: var(--accent-soft);
  --trust-ink: var(--text);
  --trust-ink-muted: var(--text-muted);
  --trust-icon-bg: var(--surface);
  --footer-bg: var(--dark);
  --footer-ink: #ffffff;
  --footer-ink-muted: #a8c2b1;
  --hero-min-h: 24rem;
  --hero-min-h-lg: clamp(26rem, 56vh, 34rem);
}

.theme-basta .topbar {
  font-weight: 600;
}

.theme-basta .header-brand {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.theme-basta .header-search-combo {
  background: var(--bg);
  padding: 0.25rem;
}

.theme-basta .header-search-combo:focus-within {
  border-color: var(--accent);
}

.theme-basta .search-category-select,
.theme-basta .header-search-input {
  background: transparent;
}

.theme-basta .search-category-select {
  border-right: 0;
  padding-left: 0.9rem;
}

.theme-basta .header-search-btn {
  border-radius: 999px;
  width: 2.6rem;
  height: 2.6rem;
}

.theme-basta .header-action-btn {
  border-radius: 14px;
}

.theme-basta .header-action-btn:hover {
  background: var(--accent-soft);
}

.theme-basta .cart-count {
  background: #f2a93b;
  color: var(--text);
}

.theme-basta .header-catnav {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.theme-basta .header-catnav-inner {
  align-items: center;
  min-height: 3.4rem;
  gap: 0.4rem;
}

.theme-basta .catnav-all-toggle {
  height: 2.4rem;
  border-radius: 999px;
}

.theme-basta .catnav-link {
  height: 2.4rem;
  border-radius: 999px;
  font-weight: 600;
}

.theme-basta .catnav-link.active {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.theme-basta .header-catnav .navbar-toggler {
  color: var(--text);
}

.theme-basta .btn {
  font-weight: 700;
  padding: 0.7rem 1.6rem;
}

/* Hero: an inset rounded card; the text sits in a frosted panel over the photo. */
.theme-basta .hero-slider {
  margin: var(--gutter) var(--gutter) 0;
  border-radius: 28px;
  overflow: hidden;
}

.theme-basta .hero-slide-image::before {
  background: linear-gradient(90deg, rgba(16, 48, 31, 0.25) 0%, rgba(16, 48, 31, 0) 60%);
}

.theme-basta .hero-slide-content {
  max-width: 31rem;
  padding: 2rem 2.1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.theme-basta .hero-slide h1 {
  color: var(--accent-dark);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

.theme-basta .hero-slide p {
  margin-bottom: 1.4rem;
}

.theme-basta .hero-slide-1 { background: linear-gradient(120deg, #cfe9d6 0%, #f3f8ee 70%); }
.theme-basta .hero-slide-2 { background: linear-gradient(120deg, #fde6c4 0%, #f7f7ee 70%); }
.theme-basta .hero-slide-3 { background: linear-gradient(120deg, #d6e8f5 0%, #f2f7f2 70%); }

.theme-basta .hero-slider .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  background-color: rgba(255, 255, 255, 0.7);
}

.theme-basta .hero-slider .carousel-indicators .active {
  width: 26px;
  border-radius: 999px;
  background-color: #fff;
}

.theme-basta .hero-slider .carousel-control-prev,
.theme-basta .hero-slider .carousel-control-next {
  filter: none;
}

.theme-basta .fb-section:not(.fb-band-trust) {
  background: var(--bg);
}

.theme-basta .fb-band-alt {
  background: var(--bg);
}

.theme-basta .fb-band-trust {
  margin: 0 var(--gutter);
  width: auto;
  border-radius: 28px;
  padding: 2.25rem 0;
}

.theme-basta .fb-section-title {
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.theme-basta div.category-tile,
.theme-basta .category-tile.category-tile-photo {
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--accent-soft);
}

.theme-basta div.category-tile {
  background: var(--surface) !important;
  color: var(--accent);
}

.theme-basta div.category-tile .category-tile-icon {
  stroke: var(--accent);
}

.theme-basta .category-card:hover {
  box-shadow: none;
  background: var(--surface);
}

.theme-basta .category-card:hover .category-tile {
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--accent);
}

.theme-basta .category-item {
  width: 6.25rem;
}

.theme-basta .fb-feature svg {
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* Product cards: soft, the photo inset in its own rounded frame. */
.theme-basta .product-card-media {
  margin: 0.5rem 0.5rem 0;
  border-radius: 16px;
}

.theme-basta .product-card:hover {
  transform: translateY(-4px);
}

.theme-basta .card-title {
  font-weight: 700 !important;
}

.theme-basta .price:not(.price-lg) {
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 1.05rem;
}

.theme-basta .stock-ribbon {
  left: 0.6rem;
  right: auto;
}

.theme-basta .quick-add-btn {
  border-radius: 999px;
}

.theme-basta .footer-social-link:hover {
  background: #f2a93b;
  color: var(--text);
}

/* Pills sit in the middle of the bar instead of stretching to its full height. */
.theme-basta .catnav-all,
.theme-basta .catnav-links,
.theme-basta .header-catnav .navbar-collapse {
  align-items: center;
}

@media (max-width: 767.98px) {
  .theme-atelje .topbar {
    letter-spacing: 0.06em;
    font-size: 0.66rem;
  }

  .theme-atelje .category-item {
    width: 6.5rem;
  }

  .theme-atelje .hero-slide {
    padding-bottom: 3rem;
  }

  .theme-basta .hero-slide-content {
    padding: 1.5rem;
  }
}
