/* SaaS official theme baraha 2.0 — loaded only for stores on this theme's 2.0 generation.
   Colours come from the store's own tokens (--store-*), so merchant colour, font,
   corner and header/footer choices keep precedence over the theme's defaults. */
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] {
  --v2-heading-font: var(--store-heading-font, var(--store-font-family, system-ui));
  --v2-section-gap: 3rem;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] .theme-v2-ornament { display: block; height: var(--v2-ornament-height, 0); background: var(--v2-ornament, none); }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] .store-sections { gap: var(--v2-section-gap); }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] :is(.t-display, .t-h2) { font-family: var(--v2-heading-font); text-wrap: balance; }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] [data-product-card] .t-card-title { white-space: normal; overflow: visible; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] :is(a, button):focus-visible { outline: 2px solid var(--store-accent, currentColor); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .studio-store[data-theme-generation="2"][data-studio-theme="baraha"] * { transition: none !important; animation: none !important; } }

/* Baraha 2.0 — gifts: joyful, rounded, confetti and ribbon. */
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] { --v2-heading-font: var(--store-heading-font, "Trebuchet MS", Arial, sans-serif); --v2-section-gap: clamp(2.5rem, 5cqw, 4rem);
  background-image: radial-gradient(circle, color-mix(in srgb, var(--store-accent) 18%, transparent) 2px, transparent 2.5px), radial-gradient(circle, color-mix(in srgb, var(--store-primary) 12%, transparent) 2px, transparent 2.5px);
  background-size: 48px 48px, 48px 48px; background-position: 0 0, 24px 24px; }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] .theme-v2-ornament[data-ornament="top"] { --v2-ornament-height: 8px; --v2-ornament: repeating-linear-gradient(90deg, var(--store-primary) 0 22px, var(--store-accent) 22px 44px); }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] .studio-header { border-bottom: 0; background: var(--store-surface); border-radius: 0 0 1.5rem 1.5rem; box-shadow: 0 .6rem 1.4rem color-mix(in srgb, var(--store-primary) 12%, transparent); }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] .studio-brand { font-weight: 800; font-size: 1.6rem; }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] .studio-desktop-navigation a { font-weight: 700; border-radius: 999px; padding-inline: .9rem; }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] .studio-desktop-navigation a:hover { background: color-mix(in srgb, var(--store-accent) 20%, transparent); }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] [data-section-type="hero"] section { border-radius: 12rem 12rem 2rem 2rem; min-height: 26rem; justify-content: center; text-align: center; }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] [data-section-type="hero"] section > div:last-child { margin-inline: auto; }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] [data-section-type="hero"] .t-display { font-weight: 800; font-size: clamp(2.2rem, 5cqw, 3.6rem); }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] .t-h2 { font-weight: 800; text-align: center; text-decoration: underline wavy var(--store-accent); text-decoration-thickness: 3px; text-underline-offset: .45em; }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] [data-product-card] { border: 0; border-radius: 1.75rem; box-shadow: 0 .8rem 2rem color-mix(in srgb, var(--store-primary) 14%, transparent); transition: transform .25s ease; }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] [data-product-card]:nth-child(odd):hover { transform: rotate(-1.2deg) translateY(-4px); }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] [data-product-card]:nth-child(even):hover { transform: rotate(1.2deg) translateY(-4px); }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] [data-product-card] > a:first-child { border-radius: 1.75rem 1.75rem 0 0; background: color-mix(in srgb, var(--store-accent) 16%, var(--store-surface)); }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] [data-product-card] .t-card-title { font-weight: 800; }
.studio-store[data-theme-generation="2"][data-studio-theme="baraha"] [data-product-card] button { border-radius: 999px; font-weight: 800; }

.studio-store[data-theme-generation="2"][data-studio-theme="baraha"][dir="rtl"] { --v2-dir: left; }
