/* Original Whisla Commerce layout. This stylesheet is loaded only for Studio. */
body {
  background: #fff !important;
  color: #20201e;
  font-family: Inter, 'Segoe UI', system-ui, sans-serif;
}
body .studio-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 11px max(24px, calc((100vw - 1280px) / 2));
  background: #f6f4f0; color: #68655f; font-size: 12px;
}
.studio-topbar a { color: #68655f; text-decoration: none; }
.studio-topbar a:hover { color: #20201e; }
/* Studio owns each grid area; the classic header's grid placement is overridden here. */
body header.catalog-header {
  background: #fff; color: var(--store-header-text); border-radius: 0;
  box-shadow: none; border-bottom: 1px solid #eae7e1;
  padding: 20px max(24px, calc((100vw - 1280px) / 2));
}
body header.catalog-header .catalog-header__main {
  display: grid;
  grid-template-areas: "brand search actions" "navigation navigation navigation";
  grid-template-columns: auto minmax(240px, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 12px 24px; align-items: center;
}
body header.catalog-header .catalog-header__left {
  display: flex; flex-direction: column; grid-area: brand;
  min-width: 0; max-width: 230px; gap: 6px; align-items: flex-start;
}
body header.catalog-header .catalog-header__left > a { align-self: flex-start; }
body header.catalog-header .catalog-header__center { display: contents; }
body header.catalog-header .catalog-header__subtitle { margin: 0; font-size: 12px; line-height: 1.3; color: #68655f; }
body header.catalog-header .catalog-header__shortcuts {
  display: flex; grid-area: navigation; justify-self: stretch; align-self: center;
  gap: 24px; justify-content: flex-start; flex-wrap: wrap;
  border-top: 1px solid #eae7e1; padding-top: 8px;
}
body header.catalog-header .catalog-header__search {
  grid-area: search; width: 100%; min-width: 0; align-self: center;
}
body header.catalog-header .catalog-header__right {
  display: flex; grid-area: actions; align-self: center; align-items: center;
  justify-content: flex-end; max-width: min(48vw, 580px); min-width: 0; gap: 12px;
}
body header.catalog-header .city-selector-widget { flex: 0 1 auto; }
body header.catalog-header .city-selector-widget .city-name { max-width: 120px; }
body header.catalog-header .pickup-address-widget { flex: 0 1 auto; max-width: 160px; }
body header.catalog-header .pickup-short-label { display: inline-block; color: var(--store-header-text); }
body header.catalog-header .pickup-address-text { display: none; }
body header.catalog-header .catalog-header__logo {
  color: var(--store-header-text); font-size: 28px; letter-spacing: .06em; overflow-wrap: anywhere;
}
body header.catalog-header .catalog-header__logo-image { max-width: min(230px, 100%); max-height: var(--store-logo-height, 56px); object-fit: contain; }
body header.catalog-header .catalog-header__shortcuts span {
  font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--store-header-text);
  background: transparent; padding: 6px 0;
}
body header.catalog-header .catalog-header__shortcuts span.active { background: transparent; color: #9b783a; }
body header.catalog-header .catalog-search-input {
  background: #f6f4f0; border: 1px solid #eae7e1; border-radius: 4px; box-shadow: none;
}
body header.catalog-header .catalog-search-input button { background: var(--store-accent); border-radius: 3px; }
body header.catalog-header .login-btn,
body header.catalog-header .city-selector-widget,
body header.catalog-header .pickup-address-widget {
  color: var(--store-header-text); border-color: #eae7e1; background: transparent; border-radius: 4px;
}
body header.catalog-header .cart-icon { color: var(--store-header-text); }
body header.catalog-header .cart-badge { background: #b18a4a; color: #fff; }
body .catalog-container { max-width: 1360px; padding: 0 40px 32px; margin: 0 auto; }
body .catalog-panel { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; }
.studio-home { margin-bottom: 64px; }
.studio-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 570px; background: #f2eee7; }
.studio-hero--text-only { grid-template-columns: 1fr; min-height: 0; }
.studio-hero--text-only .studio-hero__copy { max-width: 880px; padding-block: 48px 64px; }
.studio-hero__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 72px 64px; position: relative; z-index: 1; }
.studio-eyebrow { margin: 0 0 20px; color: #8b6b36; text-transform: uppercase; font-size: 11px; font-weight: 600; letter-spacing: .18em; }
.studio-hero h1 { margin: 0 0 24px; color: #20201e; font-size: clamp(38px, 4.5vw, 66px); line-height: 1.08; letter-spacing: -.045em; font-weight: 500; }
.studio-hero__description { color: #68655f; line-height: 1.7; max-width: 370px; margin: 0 0 32px; font-size: 15px; }
.studio-button { display: inline-flex; align-items: center; gap: 36px; padding: 18px 24px; color: #fff; background: var(--store-accent); font-size: 13px; text-decoration: none; border-radius: 2px; }
.studio-button:hover { color: #fff; filter: brightness(1.25); }
.studio-hero__media { display: grid; place-items: center; padding: 40px 48px 70px; position: relative; background: #e7e1d7; min-width: 0; }
.studio-hero__media > a { width: 100%; height: 420px; display: grid; place-items: center; }
.studio-hero__media img { width: 100%; height: 100%; max-height: 420px; object-fit: contain; mix-blend-mode: multiply; }
.studio-hero__caption { position: absolute; left: 32px; right: 32px; bottom: 32px; font-size: 12px; text-align: center; color: #68655f; }
.studio-hero__index { position: absolute; bottom: 24px; left: 64px; font-size: 10px; color: #8c8172; letter-spacing: .12em; text-transform: uppercase; }
.studio-section { padding-top: 64px; }
.studio-section__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.studio-section__head .studio-eyebrow { margin-bottom: 10px; }
.studio-section__head h2 { margin: 0; font-size: 30px; font-weight: 500; letter-spacing: -.03em; }
.studio-section__head > a { color: #68655f; text-decoration: none; font-size: 12px; white-space: nowrap; }
.studio-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.studio-category { background: #f5f3ef; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; color: #20201e; text-decoration: none; min-height: 190px; }
.studio-category:nth-child(even) { background: #ece6db; }
.studio-category__number { color: #b09a76; font-family: Georgia, serif; font-size: 32px; }
.studio-category strong { font-weight: 500; font-size: 17px; overflow-wrap: anywhere; }
.studio-category > span:last-child { font-size: 11px; color: #68655f; margin-top: auto; }
.studio-category:hover { color: #20201e; background: #e4dccf; }
.studio-selection { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.studio-product { color: #20201e; text-decoration: none; min-width: 0; }
.studio-product:hover { color: #8b6b36; }
.studio-product__image { background: #f6f5f2; aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 24px; }
.studio-product__image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.studio-product h3 { margin: 16px 0 8px; font-size: 14px; font-weight: 400; line-height: 1.5; }
.studio-product > span { font-size: 14px; }
.studio-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 36px 0; margin-top: 64px; border-block: 1px solid #eae7e1; }
.studio-services a { display: flex; flex-direction: column; gap: 8px; color: #20201e; text-decoration: none; }
.studio-services strong { font-weight: 500; font-size: 15px; }
.studio-services span { font-size: 12px; color: #68655f; }
body .product-card, body .similar-product-card { border-radius: 0; box-shadow: none; border: 1px solid #eae7e1; }
body .product-card:hover, body .similar-product-card:hover { box-shadow: 0 6px 22px #20201e0a; transform: none; }
body .product-image, body .product-image-container { background: #f6f5f2; border-radius: 0; }
body .price, body .product-price, body .current-price, body .similar-product-price { color: var(--store-primary); }
body .add-to-cart-btn, body .checkout-btn, body .place-order-btn, body .submit-btn,
body .apply-filters-btn, body .filter-toggle-btn, body .catalog-header .login-btn:hover { background: var(--store-accent); color: #fff; border-radius: 3px; box-shadow: none; }
body .product-container, body .product-panel, body .cart-container, body .cart-panel,
body .checkout-container, body .page-container { border-radius: 4px; box-shadow: none; }
body .product-title { font-weight: 500; letter-spacing: -.025em; }
body footer .footer-section h3 { font-weight: 500; }
body footer .footer-contacts a { color: #cbb487; }
body :focus-visible { outline: 2px solid #9b783a; outline-offset: 4px; }
@media (max-width: 1200px) {
  body header.catalog-header .catalog-header__main {
    grid-template-areas: "brand actions" "search search" "navigation navigation";
    grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto auto;
  }
  body header.catalog-header .catalog-header__left { max-width: 200px; }
  body header.catalog-header .catalog-header__logo-image { max-height: min(var(--store-logo-height, 56px), 64px); }
  body header.catalog-header .catalog-header__right { max-width: 100%; }
}
@media (max-width: 1100px) {
  .studio-hero__copy { padding: 48px 32px; }
  .studio-hero__index { left: 32px; }
  .studio-hero { min-height: 470px; }
  .studio-hero--text-only { min-height: 0; }
  .studio-hero__media { padding: 32px 24px 60px; }
  .studio-hero__media > a { height: 350px; }
}
@media (max-width: 760px) {
  body .studio-topbar { justify-content: center; padding: 10px 16px; }
  .studio-topbar > span, .studio-topbar > a:last-child { display: none; }
  body header.catalog-header { padding: 16px; }
  body header.catalog-header .catalog-header__main {
    grid-template-areas: "brand actions" "search search" "navigation navigation";
    grid-template-columns: minmax(0, 1fr) auto; gap: 12px;
  }
  body header.catalog-header .catalog-header__left { max-width: 160px; }
  body header.catalog-header .catalog-header__logo { font-size: 21px; }
  body header.catalog-header .catalog-header__logo-image { max-width: min(160px, 100%); max-height: min(var(--store-logo-height, 56px), 42px); }
  body header.catalog-header .city-selector-widget, body header.catalog-header .pickup-address-widget,
  body header.catalog-header .catalog-header__subtitle { display: none; }
  body .catalog-container { padding: 0 16px 24px; }
  .studio-hero { grid-template-columns: 1fr; }
  .studio-hero__copy { padding: 40px 28px; }
  .studio-hero--text-only .studio-hero__copy { padding: 36px 28px; }
  .studio-hero h1 { font-size: 44px; }
  .studio-hero__description { font-size: 14px; }
  .studio-hero__media { min-height: 280px; padding: 28px 28px 60px; }
  .studio-hero__media > a { height: 270px; }
  .studio-hero__index { display: none; }
  .studio-section { padding-top: 40px; }
  .studio-section__head { align-items: start; gap: 12px; }
  .studio-section__head h2 { font-size: 25px; }
  .studio-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .studio-category { padding: 20px 16px; min-height: 170px; }
  .studio-category strong { font-size: 15px; }
  .studio-selection { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .studio-product__image { padding: 16px; }
  .studio-services { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; padding: 28px 0; }
  .studio-home { margin-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-home *, .studio-home *::before, .studio-home *::after { animation: none !important; transition: none !important; }
}

body .product-card button { border-radius: 3px; background: var(--store-accent); }

body header:not(.catalog-header) { background: #fff; color: var(--store-header-text); box-shadow: none; border-bottom: 1px solid #eae7e1; }
body .header-nav a { color: var(--store-header-text); }
body .btn-primary, body .payment-btn { background: var(--store-accent); color: #fff; border-radius: 3px; }

body .cookie-banner a { color: #d2bd99; }
