/* VEO-approved store templates. Every selector is scoped to StorePageRenderer;
   this file does not alter the public homepage or discovery layout. */
.store-page-renderer.template-veo_signature_v1 {
  background: linear-gradient(180deg, #fffaf2 0, #fff 32rem);
}
.store-page-renderer.template-veo_signature_v1 .store-gallery {
  gap: 10px;
  padding: 10px;
  background: #2c2420;
  box-shadow: 0 22px 55px #3e241429;
}
.store-page-renderer.template-veo_signature_v1 .store-gallery img:first-child {
  border-radius: calc(var(--store-radius) - 8px) 8px 8px calc(var(--store-radius) - 8px);
}
.store-page-renderer.template-veo_signature_v1 .store-heading h1 {
  letter-spacing: -.035em;
}
.store-page-renderer.template-veo_signature_v1 .detail-side {
  border-color: color-mix(in srgb, var(--store-accent) 28%, #e8dfd5);
  background: color-mix(in srgb, var(--store-surface) 92%, var(--store-accent));
}
.store-page-renderer.template-veo_signature_v1 .tabs {
  border-bottom: 1px solid #d9cbbd;
}

.store-page-renderer.template-veo_market_v1 {
  background: linear-gradient(180deg, #f3f8f4 0, #fff 28rem);
}
.store-page-renderer.template-veo_market_v1 .store-gallery,
.store-page-renderer.template-veo_market_v1 .panel,
.store-page-renderer.template-veo_market_v1 .offer-row {
  box-shadow: none;
}
.store-page-renderer.template-veo_market_v1 .store-gallery {
  padding: 8px;
  border: 2px solid var(--store-text);
  background: var(--store-surface);
}
.store-page-renderer.template-veo_market_v1 .store-heading h1 {
  font-weight: 850;
  letter-spacing: -.045em;
}
.store-page-renderer.template-veo_market_v1 .tabs a.active {
  color: var(--store-surface);
  background: var(--store-accent);
  border-radius: 999px;
}
.store-page-renderer.template-veo_market_v1 .detail-side {
  border: 2px solid var(--store-text);
  background: #fff;
}

.store-page-renderer.template-veo_heritage_v1 {
  background: linear-gradient(180deg, #173e34 0 22rem, #f7f1e4 22rem 100%);
}
.store-page-renderer.template-veo_heritage_v1 .breadcrumb {
  color: #f6ecd5;
}
.store-page-renderer.template-veo_heritage_v1 .store-gallery {
  padding: 9px;
  border: 1px solid #d5b878;
  background: #102e27;
  box-shadow: 0 22px 55px #09211b66;
}
.store-page-renderer.template-veo_heritage_v1 .detail-layout {
  padding: clamp(18px, 3vw, 36px);
  border-radius: var(--store-radius);
  background: #f7f1e4;
}
.store-page-renderer.template-veo_heritage_v1 .store-heading h1 {
  color: #163c32;
  letter-spacing: -.025em;
}
.store-page-renderer.template-veo_heritage_v1 .detail-side {
  border-color: #ccb06f;
  background: #fffaf0;
}
.store-page-renderer.template-veo_heritage_v1 .tabs {
  border-color: #d7c9a8;
}

.premium-template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.premium-template-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.premium-template-card.current {
  border-color: var(--red);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--red) 14%, transparent);
}
.premium-template-card .template-miniature {
  display: grid;
  grid-template-rows: 56px 34px;
  gap: 7px;
  padding: 9px;
  border-radius: 13px;
  background: var(--preview-surface, #fff8f2);
}
.premium-template-card .template-miniature::before,
.premium-template-card .template-miniature::after {
  content: '';
  display: block;
  border-radius: var(--preview-radius, 10px);
}
.premium-template-card .template-miniature::before {
  background: linear-gradient(125deg, var(--preview-accent, #f05a28), #f4cf99);
}
.premium-template-card .template-miniature::after {
  background: color-mix(in srgb, var(--preview-text, #17221c) 12%, #fff);
}
.premium-template-card[data-template='veo_market_v1'] .template-miniature {
  --preview-accent: #e9473f;
  --preview-surface: #edf5ef;
  --preview-text: #102820;
  --preview-radius: 4px;
}
.premium-template-card[data-template='veo_signature_v1'] .template-miniature {
  --preview-accent: #b74b2a;
  --preview-surface: #fff6e9;
  --preview-text: #27231f;
  --preview-radius: 15px;
}
.premium-template-card[data-template='veo_heritage_v1'] .template-miniature {
  --preview-accent: #b78a3d;
  --preview-surface: #173e34;
  --preview-text: #f7f1e4;
  --preview-radius: 10px;
}
.premium-template-card small {
  color: var(--muted);
  line-height: 1.5;
}
.premium-template-card .pill {
  justify-self: start;
}
.theme-editor {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.theme-color-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.theme-color-grid input[type='color'] {
  width: 100%;
  min-height: 46px;
  padding: 4px;
}
@media (max-width: 900px) {
  .premium-template-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .theme-color-grid { grid-template-columns: 1fr; }
  .store-page-renderer.template-veo_heritage_v1 .detail-layout { padding: 14px; }
}

/* Mobile business controls, shared by the forty purchased catalogue designs. */
[data-premium-store] [data-premium-inactive],
[data-premium-store] [data-premium-replaced-nav],
[data-premium-store] [data-premium-replaced-actions] {display:none!important;}
[data-premium-store] {min-width:0;max-width:100%;overflow-wrap:anywhere;}
[data-premium-store] .premium-commerce-toolbar {padding-block:0;min-width:0;}
[data-premium-store] .store-section-nav {position:sticky;top:var(--premium-header-height,0px);z-index:35;display:flex;gap:4px;margin:0 0 16px;padding:6px;border:1px solid #e5e7e3;border-radius:16px;background:#fff;box-shadow:0 6px 20px #26302908;}
[data-premium-store] .store-section-nav button {flex:1;min-width:0;min-height:46px;display:flex;justify-content:center;align-items:center;gap:7px;padding:10px;border:0;border-radius:11px;background:transparent;color:#58645b;font-size:15px;font-weight:700;white-space:normal;}
[data-premium-store] .store-section-nav button.active {background:#fff0e7;color:#e94320;}
[data-premium-store] .store-section-nav.premium-nav-fixed {position:fixed;top:var(--premium-header-height,0px);left:var(--premium-nav-left);width:var(--premium-nav-width);margin-top:0;}
[data-premium-store] .premium-commerce-toolbar {scroll-margin-top:calc(var(--premium-header-height,0px) + 8px);}
[data-premium-store] .premium-order-host {padding:0;margin:0;border:0;}
[data-premium-store] .premium-commerce-status:empty {display:none;}
[data-premium-store] [data-premium-product-actions] {display:flex;grid-column:1/-1;padding:12px;gap:8px;align-items:center;}
[data-premium-store] [data-premium-product-actions] button {width:100%;min-height:46px;min-width:44px;padding:11px 16px;border:0;border-radius:12px;background:#f65422;color:white;font-family:inherit;font-size:15px;font-weight:700;line-height:1.35;cursor:pointer;touch-action:manipulation;}
[data-premium-store] [data-premium-product-actions] button:disabled {background:#e7e8e5;color:#646d65;cursor:default;}
[data-premium-store] .premium-store-information {padding-block:0 24px;display:grid;gap:16px;}
[data-premium-store] .premium-store-information .store-section {margin:0;}
[data-premium-store] .premium-store-information .utility-location {max-width:100%;}
[data-premium-store] .veo-template-cafe-editorial-v1 .ladera-editorial-grid {display:block;}
[data-premium-store] .veo-template-cafe-editorial-v1 .ladera-information-column {display:none;}
[data-premium-store] .premium-mobile-filters {border-block:1px solid #a0a69a44;margin-block:10px 14px;padding-block:2px;}
[data-premium-store] .premium-mobile-filters>summary {min-height:44px;display:list-item;align-content:center;cursor:pointer;font-size:14px;font-weight:650;}
[data-premium-store] .premium-mobile-filters[open]>*:not(summary) {margin-block:6px;}
[data-premium-store] .premium-mobile-filters label {min-height:44px;align-content:center;}
[data-premium-store] button:focus-visible,[data-premium-store] a:focus-visible {outline:3px solid #f65422;outline-offset:3px;}
@media(max-width:760px){
 /* Keep compact design overrides from shrinking catalogue touch targets. */
 [data-premium-store] [data-catalog-surface] button:not([data-premium-order]),
 [data-premium-store] [data-catalog-surface] input[type="search"] {min-height:44px!important;}
 .store-page-renderer:has([data-premium-store]) .ladera-system-page {width:100%;max-width:100%;margin-inline:auto;padding-inline:0;}
 [data-premium-store] {padding-bottom:calc(84px + env(safe-area-inset-bottom,0px));}
 [data-premium-store] .premium-commerce-toolbar,
 [data-premium-store] .premium-store-information {width:calc(100% - 24px);max-width:100%;margin-inline:auto;}
 [data-premium-store] [data-native-operations]>.wrap {width:calc(100% - 24px);padding:0;margin-inline:auto;}
 [data-premium-store] .premium-commerce-toolbar .store-section-nav {width:100%;gap:3px;margin-top:0;border-radius:14px;}
 [data-premium-store] .store-section-nav button {font-size:14px;padding:10px 6px;gap:5px;min-height:46px;}
 [data-premium-store] .store-section-nav svg {width:18px;height:18px;flex-shrink:0;}
 [data-premium-store] .store-action-bar {margin:12px 0;}
 [data-premium-store] .store-primary-actions {display:grid;grid-template-columns:1fr 1fr;gap:8px;}
 [data-premium-store] [data-native-operations] .store-primary-actions>.btn {grid-column:auto;min-width:0;min-height:46px;justify-content:center;padding:10px 8px;font-size:14px;}
 [data-premium-store] input:not([type=checkbox]):not([type=radio]),[data-premium-store] select,[data-premium-store] textarea {font-size:16px;max-width:100%;}
 :is([data-premium-store],.dining-workspace) dialog {width:calc(100% - 16px);max-width:calc(100% - 16px);max-height:calc(100dvh - 16px);margin:auto;border-radius:18px;}
 :is([data-premium-store],.dining-workspace) .customer-order-workspace button {min-height:44px;}
 :is([data-premium-store],.dining-workspace) [data-order-action="decrease"],
 :is([data-premium-store],.dining-workspace) [data-order-action="increase"] {min-width:44px;}
 .dining-workspace .customer-order-workspace input:not([type=checkbox]):not([type=radio]),
 .dining-workspace .customer-order-workspace select,.dining-workspace .customer-order-workspace textarea {font-size:16px;}
 :is([data-premium-store],.dining-workspace) .order-product-dialog {padding:18px;}
 :is([data-premium-store],.dining-workspace) .order-product-dialog input,
 :is([data-premium-store],.dining-workspace) .order-product-dialog select {min-height:46px;}
 :is([data-premium-store],.dining-workspace) .order-product-dialog form>button:not([type="button"]) {display:flex;width:100%;min-height:48px;margin-top:14px;background:#f65422;border-color:#f65422;color:white;font-weight:750;font-size:16px;}
 [data-premium-store] [data-premium-card] {min-width:0;display:flex;flex-direction:column;}
 [data-premium-store] [data-premium-card]>button {width:100%;min-width:0;}
 [data-premium-store] [data-premium-product-actions] {padding:10px;}
 [data-premium-store] .store-delivery-section {width:calc(100% - 24px);max-width:100%;margin:0 auto 20px;padding:16px;border-radius:18px;background:#fff;border:1px solid #e5e7e3;}
 [data-premium-store] .store-delivery-section .dish-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;}
 [data-premium-store] .store-delivery-section>.btn {width:100%;min-height:48px;justify-content:center;}
 [data-premium-store] .premium-store-information .store-info-grid {grid-template-columns:minmax(0,1fr);}
 [data-premium-store] [data-section="catalog"] h2 {font-size:25px;line-height:1.2;}
}
@media(min-width:761px){[data-premium-store] .premium-mobile-filters>summary{display:none;}}
