/* WordPress owns the outer shell; Ecwid keeps its native catalogue and forms. */
/* Keep native Ecwid sticky panels/notices in the content stacking context.
   The global sticky header retains its existing z-index and scroll behavior. */
.sm-site #inhalt:has(.sm-shop) { isolation:isolate; }
.sm-shop .sm-shop-intro { max-width:48rem; margin-top:2rem; }
.sm-shop .sm-shop-catalogue { margin-top:2.5rem; min-width:0; }
/* Ecwid supplies its own title on detail/cart/account views. Keep the editable
   Shop introduction for the catalogue root, without a second visible title. */
.sm-shop:has(.ecwid-productBrowser h1) .sm-shop-intro { display:none; }
.sm-shop .sm-shop-help { margin-top:3rem; padding-top:2rem; border-top:1px solid var(--border); max-width:48rem; }
.sm-shop .sm-shop-help h2 { font-size:1.375rem; font-weight:600; margin-bottom:.75rem; }
.sm-shop .sm-shop-help p { line-height:1.65; color:var(--ink-soft); }
.sm-shop .sm-shop-help a { text-decoration:underline; text-underline-offset:3px; }

/* M6.1 — WordPress promotion, kept outside native commerce. */
.sm-shop { padding-top:1rem; padding-bottom:3rem; }
.sm-shop .sm-shop-promo { margin-bottom:1.25rem; }
.sm-shop .sm-shop-banner-image a { display:block; border-radius:.25rem; overflow:hidden; }
.sm-shop .sm-shop-banner-image img { display:block; width:100%; height:auto; }
.sm-shop .sm-shop-mobile-promo { display:none; }
.sm-shop:has(.ecwid-productBrowser h1) .sm-shop-promo { display:none; }
.sm-shop .sm-shop-intro { margin-top:1rem; }
.sm-shop .sm-shop-intro .sm-intro { margin-top:.75rem; }
.sm-shop .sm-shop-catalogue { margin-top:1.5rem; scroll-margin-top:7rem; }
.sm-shop .sm-shop-help { margin-top:2rem; padding:1.5rem; background:var(--stone); border:1px solid var(--border); border-radius:.25rem; max-width:none; }
.sm-shop .sm-shop-help p { max-width:52rem; }

/* Empty native category navigation has no purpose in the approved flat catalogue.
   Links, if ever present, keep the navigation visible. No categories are changed. */
.sm-shop .ecwid-shopping-cart-categories:not(:has(a)) { display:none; }
.sm-shop .ecwid-shopping-cart-search { max-width:30rem; margin-bottom:1.25rem; }
.sm-shop .ecwid-shopping-cart-search input { font-family:var(--font-inter),sans-serif; font-size:1rem; min-height:2.75rem; background:var(--background); color:var(--foreground); border-color:var(--border); border-radius:.25rem; }
.sm-shop .ecwid-shopping-cart-search input:focus-visible { outline:2px solid var(--brand); outline-offset:3px; }

/* Stable native Ecwid typography and UI classes; no generated/product selectors. */
#inhalt .sm-shop .ec-store { font-family:var(--font-inter),sans-serif; color:var(--foreground); }
#inhalt .sm-shop .ec-store .grid-product__title-inner { font-family:var(--font-inter),sans-serif; font-size:1rem; line-height:1.45; font-weight:500; }
#inhalt .sm-shop .ec-store .grid-product__price-value { font-family:var(--font-inter),sans-serif; font-size:1.375rem; font-weight:600; }
#inhalt .sm-shop .ec-store .grid-product__price-compare { font-family:var(--font-inter),sans-serif; font-size:.8125rem; color:var(--muted-foreground); }
#inhalt .sm-shop .ec-store .grid-product__wrap { padding-bottom:1.5rem; }
#inhalt .sm-shop .ec-store .ec-label.label--notice { background:var(--brand); color:white; }
#inhalt .sm-shop .ec-store .ec-label.label--attention { background:var(--foreground); color:white; }
#inhalt .sm-shop .ec-store .label--notice .label__text { font-family:var(--font-inter),sans-serif; font-size:.6875rem; font-weight:600; letter-spacing:.04em; }
#inhalt .sm-shop .ec-store .label--notice.label--flag::before,
#inhalt .sm-shop .ec-store .label--notice.label--flag::after { border-top-color:var(--brand); border-right-color:var(--brand); border-bottom-color:var(--brand); }
#inhalt .sm-shop .ec-store .form-control__button { font-family:var(--font-inter),sans-serif; font-size:.9375rem; border-radius:.25rem; min-height:2.75rem; }
#inhalt .sm-shop .ec-store .form-control--primary .form-control__button { background:var(--brand); border-color:var(--brand); color:white; }
#inhalt .sm-shop .ec-store .form-control--primary .form-control__button:hover:not(:disabled) { background:var(--foreground); border-color:var(--foreground); }
#inhalt .sm-shop .ec-store .form-control__button:focus-visible { outline:2px solid var(--brand); outline-offset:3px; }
#inhalt .sm-shop .ec-store .grid-product__wrap .form-control__button { background:var(--background); border:1px solid var(--border); color:var(--foreground); }
#inhalt .sm-shop .ec-store .grid-product__wrap .form-control__button:hover:not(:disabled) { background:var(--foreground); border-color:var(--foreground); color:white; }
#inhalt .sm-shop .ec-store .favorite-product .form-control__button { background:var(--background); color:var(--foreground); border:1px solid var(--border); }
#inhalt .sm-shop .ec-store .favorite-product .form-control__button:hover:not(:disabled) { background:var(--stone); border-color:var(--foreground); }
#inhalt .sm-shop .ec-store .ec-likely__widget { background:var(--stone); color:var(--foreground); }
#inhalt .sm-shop .ec-store .ec-likely__button { color:inherit; }
#inhalt .sm-shop .ec-store .product-details__navigation { border-color:var(--border); }

/* Widen only native product views. Native floats/gallery remain responsible for
   rendering; inner carousel dimensions, transforms and controls are untouched. */
#inhalt .sm-shop .ec-store__product-page .ec-store__content-wrapper { max-width:1400px; }
#inhalt .sm-shop .ec-store .product-details__product-title { font-family:var(--font-inter-tight),var(--font-inter),sans-serif; font-size:clamp(1.5rem,2.2vw,2.125rem); font-weight:600; line-height:1.15; letter-spacing:-.02em; }
#inhalt .sm-shop .ec-store .details-product-price__value { font-family:var(--font-inter),sans-serif; font-size:1.875rem; font-weight:600; }
#inhalt .sm-shop .ec-store .product-details__product-options,
#inhalt .sm-shop .ec-store .product-details__general-info { font-family:var(--font-inter),sans-serif; font-size:1rem; line-height:1.65; }
#inhalt .sm-shop .ec-store .product-details__general-info p { line-height:1.65; }
#inhalt .sm-shop .ec-store .product-details__general-info ul { line-height:1.6; }
#inhalt .sm-shop .ec-store .details-product-purchase .form-control__button { min-height:3rem; font-weight:600; }
@media (min-width:1024px) {
 #inhalt .sm-shop .ec-store .product-details--layout-sidebar-right .product-details__gallery { width:54%; padding-right:clamp(1.5rem,3vw,3rem); }
 #inhalt .sm-shop .ec-store .product-details--layout-sidebar-right .product-details__sidebar { width:46%; padding-left:0; }
}
@media (max-width:1023px) {
 #inhalt .sm-shop .ec-store .product-details--layout-sidebar-right .product-details__gallery,
 #inhalt .sm-shop .ec-store .product-details--layout-sidebar-right .product-details__sidebar { width:100%; float:none; padding-inline:0; }
 #inhalt .sm-shop .ec-store .product-details__gallery { max-width:40rem; margin-inline:auto; }
 #inhalt .sm-shop .ec-store .product-details__sidebar { margin-top:1.5rem; }
}
@media (max-width:767px) {
 .sm-shop .sm-shop-banner-image { display:none; }
 .sm-shop .sm-shop-mobile-promo { display:block; padding:1.25rem; border-left:3px solid var(--brand); background:var(--stone); border-radius:.25rem; }
 .sm-shop .sm-shop-promo-kicker { color:var(--brand); text-transform:uppercase; letter-spacing:.08em; font-size:.6875rem; font-weight:600; }
 .sm-shop .sm-shop-promo-title { margin-top:.375rem; font-family:var(--font-inter-tight),sans-serif; font-size:1.625rem; font-weight:600; line-height:1.15; }
 .sm-shop .sm-shop-promo-copy { margin-top:.5rem; font-size:.875rem; }
 .sm-shop .sm-shop-promo-cta { display:inline-flex; align-items:center; justify-content:center; margin-top:1rem; min-height:2.75rem; padding:.625rem 1rem; border-radius:.25rem; background:var(--brand); color:white; font-size:.875rem; font-weight:600; }
 .sm-shop .sm-shop-promo-cta:hover { background:var(--foreground); }
 .sm-shop .sm-shop-promo-cta:focus-visible,
 .sm-shop .sm-shop-banner-image a:focus-visible { outline:2px solid var(--brand); outline-offset:3px; }
 .sm-shop .sm-shop-help { padding:1.25rem; }
}
/* Search utilities share the approved Shop shell and product-card rules above.
   Keep Ecwid's own query field, results, count and sorting controls functional. */
.sm-shop:has(.ec-store__search-page) .ecwid-shopping-cart-search { display:none; }
#inhalt .sm-shop .ec-store__search-page .ec-page-title { margin:0 0 1.25rem; padding:0; text-align:left; }
#inhalt .sm-shop .ec-store__search-page .page-title__name { font-family:var(--font-inter-tight),var(--font-inter),sans-serif; font-size:clamp(1.75rem,3vw,2.5rem); font-weight:600; line-height:1.15; letter-spacing:-.02em; margin:0; overflow-wrap:anywhere; }
#inhalt .sm-shop .ec-store__search-page .ec-breadcrumbs { display:block; border:0!important; box-shadow:none; background:transparent; padding:0!important; margin:.75rem 0 0!important; text-align:left!important; }
#inhalt .sm-shop .ec-store__search-page .ec-breadcrumbs > :not(.breadcrumbs__link--last) { display:none; }
#inhalt .sm-shop .ec-store__search-page .breadcrumbs__link--last { font-size:.875rem; font-weight:400; color:var(--ink-soft); line-height:1.5; text-align:left!important; }
#inhalt .sm-shop .ec-store__search-page .ec-search { width:100%; max-width:42rem; margin:0 0 1.25rem; padding:0; }
#inhalt .sm-shop .ec-store__search-page .ec-search .form-control { min-height:3rem; }
#inhalt .sm-shop .ec-store__search-page .ec-search .form-control__text { font-family:var(--font-inter),sans-serif; font-size:1rem; color:var(--foreground); background:var(--background); border-color:var(--border); border-radius:.25rem; }
#inhalt .sm-shop .ec-store__search-page .ec-search .form-control__text:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
#inhalt .sm-shop .ec-store__search-page .ec-grid { margin-top:0; }
#inhalt .sm-shop .ec-store__search-page .grid__sort { margin-bottom:.75rem; }
@media (max-width:767px) {
 #inhalt .sm-shop .ec-store__search-page .ec-page-title { margin-bottom:1rem; }
 #inhalt .sm-shop .ec-store__search-page .grid-product__title-inner { font-size:.9375rem; }
}

/* M11.1: account presentation only. Ecwid owns authentication and verification. */
#inhalt .sm-shop .ec-store__account-page .ec-store__content-wrapper { max-width:1400px; }
#inhalt .sm-shop .ec-store__account-page .ec-cart { display:grid; grid-template-columns:minmax(0,1fr); gap:2rem; align-items:start; margin-bottom:0; }
#inhalt .sm-shop .ec-store__account-page .ec-cart__sidebar,
#inhalt .sm-shop .ec-store__account-page .ec-cart__body { width:auto; min-width:0; min-height:0; padding:0; border:0; }
#inhalt .sm-shop .ec-store__account-page .ec-cart__sidebar { order:0; }
#inhalt .sm-shop .ec-store__account-page .ec-cart__body { order:1; }
#inhalt .sm-shop .ec-store__account-page .ec-page-title { padding:0; margin:0 0 1.5rem; }
#inhalt .sm-shop .ec-store__account-page .page-title__name { font-family:var(--font-inter-tight),var(--font-inter),sans-serif; font-size:clamp(1.75rem,2.2vw,2.125rem); font-weight:600; line-height:1.15; letter-spacing:-.02em; margin:0; }
#inhalt .sm-shop .ec-store__account-page .ec-page-title .ec-breadcrumbs { display:flex!important; align-items:center; flex-wrap:wrap; gap:.375rem; border:0!important; box-shadow:none; background:transparent; min-height:0; padding:0!important; margin:.75rem 0 0!important; text-align:left!important; }
#inhalt .sm-shop .ec-store__account-page .ec-breadcrumbs .breadcrumbs__link { font-size:.875rem; line-height:1.5; }
#inhalt .sm-shop .ec-store__account-page .ec-cart__account-info { border-color:var(--border); }
#inhalt .sm-shop .ec-store__account-page .ec-cart__sidebar-inner > .ec-cart-step { margin-bottom:1.5rem; }
#inhalt .sm-shop .ec-store__account-page .ec-cart__sidebar-inner > :last-child { margin-bottom:0; }
#inhalt .sm-shop .ec-store__account-page .ec-cart__sidebar [role="button"],
#inhalt .sm-shop .ec-store__account-page .ec-cart-step--legallinks a { display:inline-flex; align-items:center; min-height:2.75rem; }
#inhalt .sm-shop .ec-store__account-page .ec-vertical-line { display:none; }
#inhalt .sm-shop .ec-store__account-page .ec-signin-form { width:100%; margin:0; }
#inhalt .sm-shop .ec-store__account-page .ec-signin-form__content { width:100%; max-width:none; margin:0; }
#inhalt .sm-shop .ec-store__account-page .ec-signin-form .page-title__name { font-family:var(--font-inter-tight),var(--font-inter),sans-serif; font-size:clamp(1.5rem,2vw,1.875rem); font-weight:600; line-height:1.2; letter-spacing:-.02em; }
#inhalt .sm-shop .ec-store__account-page .ec-signin-form__description { line-height:1.65; margin-bottom:1.5rem; }
#inhalt .sm-shop .ec-store__account-page .ec-signin-form .form-control:has(> .form-control__text):not(.form-control--error):not(.form-control--invalid) { background:var(--background); }
#inhalt .sm-shop .ec-store__account-page .ec-signin-form .form-control:not(.form-control--error):not(.form-control--invalid) .form-control__text:not([aria-invalid="true"]) { background:transparent; border-color:var(--border); border-radius:.25rem; }
#inhalt .sm-shop .ec-store__account-page .ec-signin-form .form-control__text:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
#inhalt .sm-shop .ec-store__account-page .ec-signin-form .form-control__button { min-height:3rem; font-weight:600; }
#inhalt .sm-shop:has(.ec-store__account-page) .sm-shop-help { margin-top:1.5rem; }
@media (min-width:1024px) {
 #inhalt .sm-shop .ec-store__account-page .ec-cart { grid-template-columns:minmax(18rem,.8fr) minmax(0,1.2fr); column-gap:clamp(2rem,4vw,3.5rem); }
 #inhalt .sm-shop .ec-store__account-page .ec-cart__body-inner { padding:1.5rem; background:var(--stone); border:1px solid var(--border); border-radius:.25rem; }
 #inhalt .sm-shop .ec-store__account-page .ec-signin-form__content { max-width:36rem; }
}
@media (max-width:1023px) {
 #inhalt .sm-shop .ec-store__account-page .ec-cart__body { padding-top:1.5rem; border-top:1px solid var(--border); }
 #inhalt .sm-shop .ec-store__account-page .ec-cart-step--bag,
 #inhalt .sm-shop .ec-store__account-page .ec-cart-step--favorites { display:block; }
}
