:root{
      --ios-bg:#050506;
      --ios-text:rgba(255,255,255,.92);
      --ios-text2:rgba(255,255,255,.66);

      --ios-surface:rgba(255,255,255,.06);
      --ios-surface2:rgba(255,255,255,.085);
      --ios-border:rgba(255,255,255,.12);

      --ios-shadow:0 10px 30px rgba(0,0,0,.45);
      --ios-shadow2:0 18px 48px rgba(0,0,0,.55);

      --ios-radius:20px;
      --ios-green:#34C759;
      --container:1180px;
    }

    *{ box-sizing:border-box; }
    html{ color-scheme:dark; }

    .ios-shop-page{
      background:var(--ios-bg);
      color:var(--ios-text);
      font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",
                   system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
      -webkit-font-smoothing:antialiased;
      text-rendering:optimizeLegibility;
      padding-bottom:40px;
      isolation:isolate;
    }
    .ios-shop-page, .ios-shop-page *{ color-scheme:dark; }
    .ios-shop-page a{ color:inherit; text-decoration:none; }

    .bg{
      position:fixed; inset:0; pointer-events:none; z-index:0;
      background:
        radial-gradient(1200px 600px at 20% 0%, rgba(10,132,255,.12), transparent 55%),
        radial-gradient(900px 500px at 80% 10%, rgba(52,199,89,.10), transparent 60%),
        radial-gradient(700px 500px at 50% 100%, rgba(255,69,58,.08), transparent 60%);
    }

    /* ===== Header ===== */
    .ios-header{
      position:sticky; top:0; z-index:80;
      width:100%;
      padding:40px;
      padding-top:calc(40px + env(safe-area-inset-top));
      background:rgba(15,15,18,.62);
      border-bottom:1px solid rgba(255,255,255,.10);
      backdrop-filter:blur(16px);
      -webkit-backdrop-filter:blur(16px);
    }
    .ios-header-inner{
      max-width:var(--container);
      margin:0 auto;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
    }
    .ios-nav{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
    .ios-nav a{
      padding:12px 12px;
      border-radius:999px;
      background:rgba(255,255,255,.06);
      border:1px solid rgba(255,255,255,.10);
      font-weight:900;
      letter-spacing:-0.01em;
      color:var(--ios-text2);
    }
    .ios-nav a[aria-current="page"]{
      color:var(--ios-text);
      border-color:rgba(255,255,255,.14);
      background:rgba(255,255,255,.085);
    }

    .ios-header-actions{ display:flex; gap:10px; align-items:center; }

    .icon-pill{
      display:inline-flex; align-items:center; gap:10px;
      border-radius:999px; padding:12px 14px; min-height:44px;
      font-weight:900; letter-spacing:-0.01em;
      border:1px solid rgba(255,255,255,.12);
      background:rgba(255,255,255,.06);
      cursor:pointer; user-select:none;
    }
    .icon-pill svg{ width:18px; height:18px; stroke:currentColor; }

    .cart-badge{
      display:inline-flex; align-items:center; justify-content:center;
      min-width:22px; height:22px; padding:0 8px;
      border-radius:999px;
      background:rgba(255,255,255,.10);
      border:1px solid rgba(255,255,255,.14);
      font-weight:950; font-size:12px;
    }

    /* ===== Layout ===== */
    .container{
      position:relative; z-index:1;
      max-width:var(--container);
      margin:0 auto;
      padding:22px 40px 0;
    }
    .page-head{ margin:14px 0 16px; }
    .page-title{ margin:0 0 6px; font-size:40px; font-weight:950; letter-spacing:-0.03em; }
    .page-sub{ margin:0; color:var(--ios-text2); font-weight:800; }

    .topbar{
      margin-top:16px;
      display:flex; justify-content:space-between; align-items:center;
      gap:14px; padding:14px;
      border-radius:var(--ios-radius);
      background:rgba(255,255,255,.04);
      border:1px solid rgba(255,255,255,.10);
      box-shadow:var(--ios-shadow);
    }
    .result{ display:grid; gap:2px; min-width:160px; }
    .result-label{ color:var(--ios-text2); font-weight:900; font-size:12px; }
    .result-count{ font-weight:950; font-size:14px; }

    .controls{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }

    .pill-input, .pill-select{
      border-radius:999px;
      padding:12px 14px;
      min-height:44px;
      font-weight:800;
      letter-spacing:-0.01em;
      outline:none;
      border:1px solid rgba(255,255,255,.12);
      background:rgba(255,255,255,.06);
      color:var(--ios-text);
      box-shadow:none;
    }
    .pill-input{ width:min(320px,70vw); }
    .pill-input::placeholder{ color:rgba(255,255,255,.38); font-weight:700; }
    .select-wrap{ position:relative; display:inline-flex; align-items:center; }
    .select-wrap .pill-select{ padding-right:42px; }
    .select-caret{ position:absolute; right:16px; color:var(--ios-text2); pointer-events:none; }

    /* ===== Woo grid/cards ===== */
    .ios-shop-page .woocommerce{ margin:0 !important; }
    .ios-shop-page .woocommerce .woocommerce-result-count,
    .ios-shop-page .woocommerce .woocommerce-ordering{ display:none !important; }

    .ios-shop-page .woocommerce ul.products{
      list-style:none !important;
      margin:18px 0 0 !important;
      padding:0 !important;
      display:grid !important;
      gap:18px !important;
      grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)) !important;
    }

    .ios-shop-page .woocommerce ul.products li.product{
      background:var(--ios-surface) !important;
      border:1px solid var(--ios-border) !important;
      border-radius:var(--ios-radius) !important;
      overflow:hidden !important;
      box-shadow:var(--ios-shadow) !important;
      padding:14px !important;
      margin:0 !important;
      width:auto !important;
      float:none !important;
      display:grid !important;
      gap:10px !important;
    }

    /* image frame */
    .ios-shop-page .woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
      position:relative !important;
      display:block !important;
      border-radius:calc(var(--ios-radius) - 6px) !important;
      overflow:hidden !important;
      padding:10px !important;
      background:
        radial-gradient(900px 500px at 20% 0%, rgba(10,132,255,.18), transparent 60%),
        radial-gradient(700px 450px at 80% 10%, rgba(52,199,89,.16), transparent 65%),
        rgba(255,255,255,.035) !important;
      border:1px solid rgba(255,255,255,.10) !important;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    }
    .ios-shop-page .woocommerce ul.products li.product a.woocommerce-LoopProduct-link::after{
      content:"";
      position:absolute; inset:0;
      background:
        radial-gradient(600px 220px at 30% 8%, rgba(255,255,255,.10), transparent 55%),
        radial-gradient(500px 260px at 85% 15%, rgba(255,255,255,.06), transparent 60%);
      pointer-events:none;
      opacity:.9;
    }
    .ios-shop-page .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img{
      display:block !important;
      width:100% !important;
      aspect-ratio:1 / 1 !important;
      height:auto !important;
      object-fit:cover !important;
      object-position:center !important;
      border-radius:calc(var(--ios-radius) - 12px) !important;
      margin:0 !important;
      background:rgba(0,0,0,.20) !important;
    }

    .ios-shop-page .woocommerce ul.products li.product .woocommerce-loop-product__title{
      margin:0 0 6px !important;
      font-size:16px !important;
      line-height:1.25 !important;
      font-weight:900 !important;
      padding:0 !important;
    }
    .ios-shop-page .woocommerce ul.products li.product .price{
      margin:0 0 12px !important;
      font-size:15px !important;
      font-weight:900 !important;
      display:flex !important;
      gap:10px !important;
      align-items:baseline !important;
    }
    .ios-shop-page .woocommerce ul.products li.product .button{
      width:100% !important;
      border-radius:999px !important;
      min-height:44px !important;
      padding:12px 16px !important;
      font-weight:950 !important;
      border:1px solid transparent !important;
      background:var(--ios-green) !important;
      color:#0B0B0B !important;
      margin:0 !important;
      text-transform:none !important;
      display:inline-flex !important;
      justify-content:center !important;
      align-items:center !important;
    }
    .ios-shop-page .woocommerce a.added_to_cart{ display:none !important; }

    /* ===== Drawer ===== */
    .overlay{
      position:fixed; inset:0;
      background:rgba(0,0,0,.55);
      opacity:0; transition:opacity .18s ease;
      z-index:90;
    }
    .overlay[hidden]{ display:none; }
    body.cart-open .overlay{ opacity:1; }

    .cart-drawer{
      position:fixed; top:0; right:0;
      height:100vh; width:min(420px,92vw);
      z-index:100;
      background:rgba(15,15,18,.86);
      border-left:1px solid rgba(255,255,255,.12);
      backdrop-filter:blur(18px);
      -webkit-backdrop-filter:blur(18px);
      transform:translateX(110%);
      transition:transform .22s ease;
      display:grid;
      grid-template-rows:auto 1fr auto;
    }
    body.cart-open .cart-drawer{ transform:translateX(0); }

    .cart-head{
      padding:18px;
      display:flex; align-items:flex-start; justify-content:space-between;
      border-bottom:1px solid rgba(255,255,255,.10);
    }
    .cart-head h3{ margin:0; font-size:28px; font-weight:950; letter-spacing:-0.03em; }
    .cart-sub{ margin-top:6px; color:var(--ios-text2); font-weight:850; }
    .cart-close{
      width:44px; height:44px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.12);
      background:rgba(255,255,255,.06);
      color:var(--ios-text);
      display:inline-flex; align-items:center; justify-content:center;
      cursor:pointer;
    }

    .cart-body{ padding:16px 16px 8px; overflow:auto; }

    /* Custom cart items (wir rendern selber) */
    .cart-items{ display:grid; gap:14px; }
    .cart-item{
      border:1px solid rgba(255,255,255,.10);
      background:rgba(255,255,255,.06);
      border-radius:18px;
      padding:14px;
      display:grid;
      grid-template-columns:64px 1fr 90px;
      gap:12px;
      align-items:center;
    }
    .cart-thumb{
      width:64px; height:64px;
      border-radius:16px;
      overflow:hidden;
      border:1px solid rgba(255,255,255,.10);
      background:
        radial-gradient(900px 500px at 20% 0%, rgba(10,132,255,.18), transparent 60%),
        radial-gradient(700px 450px at 80% 10%, rgba(52,199,89,.16), transparent 65%),
        rgba(255,255,255,.03);
      padding:8px;
    }
    .cart-thumb img{
      width:100%; height:100%;
      border-radius:12px;
      object-fit:cover;
      display:block;
    }
    .cart-meta-wrap{ min-width:0; }
    .cart-name{
      font-weight:950;
      letter-spacing:-0.02em;
      line-height:1.2;
      margin:0 0 6px;
      font-size:16px;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .cart-price{ color:var(--ios-text2); font-weight:900; }

    .cart-right{
      display:grid;
      justify-items:end;
      gap:8px;
    }
    .cart-remove{
      color:var(--ios-text2);
      font-weight:900;
      cursor:pointer;
      border:0;
      background:transparent;
      padding:0;
    }
    .cart-line-total{ font-weight:950; color:var(--ios-text2); }

    .qty{
      display:inline-flex;
      align-items:center;
      gap:8px;
      border:1px solid rgba(255,255,255,.10);
      background:rgba(255,255,255,.05);
      border-radius:999px;
      padding:6px 8px;
    }
    .qty-btn{
      width:34px; height:34px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.10);
      background:rgba(255,255,255,.06);
      color:var(--ios-text);
      font-size:18px;
      font-weight:950;
      cursor:pointer;
      display:inline-flex; align-items:center; justify-content:center;
    }
    .qty-val{
      min-width:18px;
      text-align:center;
      font-weight:950;
    }

    .cart-foot{
      padding:12px 16px 16px;
      border-top:1px solid rgba(255,255,255,.10);
      background:rgba(0,0,0,.10);
      display:grid;
      gap:12px;
    }
    .summary{
      border:1px solid rgba(255,255,255,.10);
      background:rgba(255,255,255,.06);
      border-radius:18px;
      padding:14px;
      display:grid;
      gap:10px;
    }
    .summary-row{
      display:flex; justify-content:space-between; align-items:baseline;
      font-weight:950;
    }
    .summary-row small{
      color:var(--ios-text2);
      font-weight:850;
    }

    .btn{
      width:100%;
      border-radius:999px;
      min-height:52px;
      padding:14px 18px;
      font-weight:950;
      letter-spacing:-0.01em;
      border:1px solid rgba(255,255,255,.12);
      background:rgba(255,255,255,.06);
      color:var(--ios-text);
      cursor:pointer;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
    }
    .btn-primary{
      background:var(--ios-green);
      color:#0B0B0B;
      border-color:transparent;
    }

    /* Responsive */
    @media (max-width: 820px){
      .ios-header{ padding:18px 16px; padding-top:calc(18px + env(safe-area-inset-top)); }
      .container{ padding:18px 16px 0; }
      .page-title{ font-size:32px; }
    }

    /* =========================================================
   3rd‑party Side‑Carts ausblenden (damit nur unser Drawer sichtbar ist)
   (Wichtig: NICHT generisch nach "checkout bar" matchen, sonst verschwindet
   unsere #mobileCheckoutBar.)
   ========================================================= */
body.ios-shop-active .xoo-wsc-container,
body.ios-shop-active [class*="xoo-wsc"],
body.ios-shop-active [id*="xoo-wsc"],
body.ios-shop-active [class*="sidecart"],
body.ios-shop-active [id*="sidecart"],
body.ios-shop-active [class*="side-cart"],
body.ios-shop-active [class*="fly-cart"],
body.ios-shop-active [class*="floating-cart"],
body.ios-shop-active [id*="floating-cart"]{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* ============ Sitewide iOS26 reset / layout ============ */
html, body { height: 100%; }
body { margin: 0 !important; background: var(--ios-bg) !important; color: var(--ios-text) !important; }
a { color: inherit; }
a:hover { opacity: .92; }
img { max-width: 100%; height: auto; }

.ios-shop-page { min-height: 100vh; }
.ios-shop-page main.container { width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding-bottom: 96px; } /* leave room for sticky bar */

/* WP admin bar offset */
body.admin-bar .ios-header { top: 32px; }
@media (max-width: 782px){
  body.admin-bar .ios-header { top: 46px; }
}

/* Global content card for pages/posts */
.ios-content-card{
  background: var(--ios-surface);
  border: 1px solid var(--ios-border);
  border-radius: var(--ios-radius);
  box-shadow: var(--ios-shadow);
  padding: 18px;
  overflow: hidden;
}

.ios-page-body .entry-content,
.ios-page-body .woocommerce,
.ios-page-body .site-main { color: var(--ios-text); }

/* Make any stray WP/Woo lists not show bullets unless it's real content */
.ios-shop-page .woocommerce ul,
.ios-shop-page .woocommerce ol,
.ios-shop-page .woocommerce-MyAccount-navigation ul{ list-style: none !important; padding-left: 0 !important; margin-left: 0 !important; }

/* Buttons - unify */
.ios-shop-page .button,
.ios-shop-page button,
.ios-shop-page input[type="submit"],
.ios-shop-page .woocommerce button.button,
.ios-shop-page .woocommerce a.button,
.ios-shop-page .woocommerce input.button{
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.07) !important;
  color: var(--ios-text) !important;
  font-weight: 900 !important;
  letter-spacing: .02em;
  padding: 12px 16px !important;
  min-height: 44px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.ios-shop-page .woocommerce a.button:hover,
.ios-shop-page .woocommerce button.button:hover{
  background: rgba(255,255,255,.10) !important;
}

/* Primary green */
.ios-shop-page .btn-primary,
.ios-shop-page .woocommerce a.button.alt,
.ios-shop-page .woocommerce button.button.alt,
.ios-shop-page .woocommerce input.button.alt{
  background: linear-gradient(180deg, rgba(52,199,89,.95), rgba(52,199,89,.78)) !important;
  border-color: rgba(52,199,89,.55) !important;
  color: rgba(0,0,0,.92) !important;
}

/* Form fields in iOS style */
.ios-shop-page input[type="text"],
.ios-shop-page input[type="email"],
.ios-shop-page input[type="tel"],
.ios-shop-page input[type="password"],
.ios-shop-page input[type="search"],
.ios-shop-page input[type="number"],
.ios-shop-page textarea,
.ios-shop-page select,
.ios-shop-page .select2-container--default .select2-selection--single{
  width: 100%;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.06) !important;
  color: var(--ios-text) !important;
  padding: 12px 14px !important;
  min-height: 44px !important;
  outline: none !important;
}
.ios-shop-page textarea{ border-radius: 18px !important; min-height: 120px !important; }
.ios-shop-page select{ -webkit-appearance: none; appearance: none; }

/* Woo notices */
.ios-shop-page .woocommerce-message,
.ios-shop-page .woocommerce-info,
.ios-shop-page .woocommerce-error{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 18px !important;
  color: var(--ios-text) !important;
}

/* Sale badge */
.ios-shop-page .woocommerce span.onsale{
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  margin: 0 !important;
  min-height: unset !important;
  min-width: unset !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-weight: 950 !important;
  font-size: 12px !important;
  background: rgba(255,59,48,.85) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: white !important;
  z-index: 2 !important;
}

/* Category chip on product cards */
.ios-shop-page .cat-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.82);
  font-weight: 900;
  font-size: 12px;
  margin: 10px 0 8px;
  max-width: 100%;
}

/* ============ Sticky checkout bar (sitewide) ============ */
.ios-checkout-bar{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 9998;
  padding: 10px;
  border-radius: 18px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 48px rgba(0,0,0,.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: none;
}
.ios-checkout-bar.is-visible{ display: block; }
.ios-checkout-bar .bar-inner{
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  gap: 10px;
  align-items: center;
}
.ios-checkout-bar .bar-left{
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,.78);
}
.ios-checkout-bar .bar-left strong{
  display:block;
  font-size: 14px;
  color: rgba(255,255,255,.92);
  margin-top: 2px;
}
.ios-checkout-bar .bar-cta{
  border-radius: 999px;
  padding: 12px 16px;
  text-align: center;
  font-weight: 950;
  background: linear-gradient(180deg, rgba(52,199,89,.95), rgba(52,199,89,.78));
  border: 1px solid rgba(52,199,89,.55);
  color: rgba(0,0,0,.92);
}
.ios-checkout-bar .bar-right{
  text-align: right;
  font-weight: 900;
  color: rgba(255,255,255,.70);
  font-size: 12px;
}
@media (max-width: 640px){
  .ios-checkout-bar .bar-inner{ grid-template-columns: 120px 1fr 60px; }
  .ios-checkout-bar .bar-right{ display:none; }
}

/* ============ Account / Checkout layouts ============ */
body.woocommerce-account .ios-shop-page .woocommerce{
  display: grid !important;
  grid-template-columns: 320px 1fr !important;
  gap: 18px !important;
  margin-top: 18px !important;
}
.ios-shop-page .woocommerce-MyAccount-navigation,
.ios-shop-page .woocommerce-MyAccount-content{
  background: var(--ios-surface) !important;
  border: 1px solid var(--ios-border) !important;
  border-radius: var(--ios-radius) !important;
  box-shadow: var(--ios-shadow) !important;
  padding: 14px !important;
}
.ios-shop-page .woocommerce-MyAccount-navigation li{
  margin: 0 !important;
}
.ios-shop-page .woocommerce-MyAccount-navigation a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration: none !important;
  color: rgba(255,255,255,.84) !important;
  font-weight: 900;
}
.ios-shop-page .woocommerce-MyAccount-navigation .is-active a{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 860px){
  body.woocommerce-account .ios-shop-page .woocommerce{ grid-template-columns: 1fr !important; }
}

/* Checkout columns */
body.woocommerce-checkout .ios-shop-page .woocommerce{
  margin-top: 18px !important;
}
body.woocommerce-checkout .ios-shop-page form.checkout{
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 18px;
  align-items: start;
}
body.woocommerce-checkout .ios-shop-page #order_review,
body.woocommerce-checkout .ios-shop-page .woocommerce-checkout-review-order{
  background: var(--ios-surface);
  border: 1px solid var(--ios-border);
  border-radius: var(--ios-radius);
  box-shadow: var(--ios-shadow);
  padding: 14px;
}
@media (max-width: 980px){
  body.woocommerce-checkout .ios-shop-page form.checkout{ grid-template-columns: 1fr; }
}

/* Single product polish */
body.single-product .ios-shop-page .product{
  margin-top: 16px;
}
.ios-product-hero{
  width: min(980px, 100%);
  margin: 0 auto 16px;
  border-radius: var(--ios-radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: var(--ios-shadow2);
}
.ios-product-card{
  width: min(980px, 100%);
  margin: 0 auto;
}

.ios-shop-page .woocommerce ul.products li.product{ position: relative; }
/* ------------------------------
   Woo-only hardening / fixes
--------------------------------*/
.ios-shop-page .container{
  max-width: var(--container) !important;
  width: min(var(--container), 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.ios-shop-page .ios-page-body{ width:100%; }

/* Admin bar offset */
body.admin-bar .ios-header{ top: 32px; }
@media (max-width: 782px){
  body.admin-bar .ios-header{ top: 46px; }
}

/* Single product add-to-cart: make qty compact (avoid full-width bar) */
.ios-shop-page form.cart{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
.ios-shop-page .quantity{
  width:auto !important;
  display:inline-flex !important;
  align-items:center;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.06) !important;
  padding:6px 10px !important;
  min-height:44px;
}
.ios-shop-page .quantity input.qty{
  width:72px !important;
  min-height:32px !important;
  padding:0 8px !important;
  border:none !important;
  background:transparent !important;
  color:var(--ios-text) !important;
  text-align:center !important;
}
.ios-shop-page .quantity input.qty:focus{ outline:none !important; box-shadow:none !important; }

/* Make My Account navigation look like cards (no bullets even if theme adds styles) */
.ios-shop-page .woocommerce-MyAccount-navigation ul{
  list-style:none !important;
  padding-left:0 !important;
  margin-left:0 !important;
}


/* ============ Floating cart button (replaces bottom checkout bar) ============ */
.ios-cart-fab{
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 9998;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 48px rgba(0,0,0,.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--ios-text);
  font-weight: 900;
  cursor: pointer;
  user-select: none;
}
.ios-cart-fab.is-visible{ display: inline-flex; }
.ios-cart-fab:hover{ filter: brightness(1.05); }
.ios-cart-fab:active{ transform: translateY(1px); }

.ios-cart-fab .fab-icon{
  width: 34px; height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.ios-cart-fab .fab-text{
  color: rgba(255,255,255,.86);
  font-size: 12px;
}
.ios-cart-fab .fab-total{
  font-size: 12px;
  letter-spacing: -0.01em;
}
.ios-cart-fab .fab-badge{
  margin-left: 2px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 204, 113, .95);
  color: rgba(0,0,0,.92);
  font-size: 11px;
  font-weight: 950;
}

/* Hide the old bottom bar if some cached template still prints it */
.ios-checkout-bar{ display:none !important; }

/* =====================================================================
   v5.5 – Cart drawer + Bottom Checkout Bar (IDs/Look wie index.html)
   ===================================================================== */
body.ios-shop-active .overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  transition: opacity 180ms ease;
  z-index: 9998;
}
body.ios-shop-active .overlay[hidden]{ display: none; }
body.ios-shop-active.cart-open .overlay{ opacity: 1; }

body.ios-shop-active .cart-drawer{
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(420px, 92vw);
  background: rgba(15,15,18,0.85);
  border-left: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(110%);
  transition: transform 220ms ease;
  z-index: 9999;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
body.ios-shop-active.cart-open .cart-drawer{ transform: translateX(0); }

body.ios-shop-active .cart-head{
  padding: 18px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
body.ios-shop-active .cart-title{
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -0.03em;
}
body.ios-shop-active .cart-meta{
  margin-top: 6px;
  color: rgba(255,255,255,0.7);
  font-weight: 850;
}

body.ios-shop-active .icon-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.92);
}
body.ios-shop-active .icon-btn:hover{ filter: brightness(1.05); }

body.ios-shop-active .cart-body{
  padding: 16px;
  overflow: auto;
}

body.ios-shop-active .cart-items{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

body.ios-shop-active .cart-item{
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 14px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
}

body.ios-shop-active .cart-thumb{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  display: grid;
  place-items: center;
}
body.ios-shop-active .cart-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.ios-shop-active .cart-name{
  margin: 0 0 8px;
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
body.ios-shop-active .cart-line{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.78);
  font-weight: 850;
}
body.ios-shop-active .cart-line strong{
  color: rgba(255,255,255,0.92);
  font-weight: 950;
}
body.ios-shop-active .remove{
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.65);
  font-weight: 850;
  cursor: pointer;
  padding: 0;
}
body.ios-shop-active .remove:hover{ color: rgba(255,255,255,0.86); }

body.ios-shop-active .qty{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.04);
}
body.ios-shop-active .qty button{
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  line-height: 1;
}
body.ios-shop-active .qty span{ min-width: 16px; text-align: center; }

body.ios-shop-active .cart-empty{
  margin-top: 24px;
  border: 1px dashed rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 18px;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.03);
}
body.ios-shop-active .cart-empty-title{ font-weight: 950; margin-bottom: 6px; font-size: 20px; letter-spacing: -0.02em; color: rgba(255,255,255,0.92); }
body.ios-shop-active .cart-empty-sub{ font-weight: 850; color: rgba(255,255,255,0.68); }

/* Rezensionen (1-5 Smileys) im Warenkorb */
body.ios-shop-active .cart-reviews{
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
body.ios-shop-active .reviews-title{
  font-weight: 950;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.92);
  margin-bottom: 10px;
}
body.ios-shop-active .reviews-row{ display:flex; gap: 10px; }
body.ios-shop-active .review-face{
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 32px;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
body.ios-shop-active .review-face:hover{ transform: translateY(-1px); }
body.ios-shop-active .review-face.is-selected{
  background: rgba(46, 204, 113, 0.2);
  border-color: rgba(46, 204, 113, 0.65);
}

body.ios-shop-active .cart-foot{
  padding: 16px 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  gap: 12px;
}

body.ios-shop-active .cart-totals .line{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
body.ios-shop-active .cart-totals .subtle{ color: rgba(255,255,255,0.7); font-weight: 850; }

body.ios-shop-active .btn{
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 950;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
body.ios-shop-active .btn-primary{
  background: rgba(46, 204, 113, 0.95);
  color: rgba(0,0,0,0.92);
  border-color: transparent;
}
body.ios-shop-active .btn-ghost{ background: rgba(255,255,255,0.06); }

body.ios-shop-active .mobile-checkout-bar{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 9997;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  box-shadow: var(--ios-shadow2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
/* Use a class toggle instead of the HTML [hidden] attribute so the bar cannot
   disappear when JS is blocked by caching/minify quirks. */
body.ios-shop-active .mobile-checkout-bar{ display: none; }
body.ios-shop-active .mobile-checkout-bar.is-visible{ display: flex; }

.mcb-left{ display: grid; gap: 2px; }
.mcb-label{ color: var(--ios-text2); font-weight: 800; font-size: 12px; }
.mcb-total{ font-weight: 950; letter-spacing: -0.01em; font-size: 14px; }
body.ios-shop-active .mcb-cartpill{
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.55);
  box-shadow: 0 18px 48px rgba(0,0,0,0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  cursor: pointer;
  min-width: 112px;
}
body.ios-shop-active .mcb-cartpill-label{ font-size: 11px; color: rgba(255,255,255,0.70); font-weight: 900; letter-spacing: -0.01em; }
body.ios-shop-active .mcb-cartpill-total{ font-weight: 950; letter-spacing: -0.02em; color: rgba(255,255,255,0.92); font-size: 13px; }

body.ios-shop-active .mcb-checkout{
  flex: 1;
  height: 52px;
  border-radius: 20px;
  border: 1px solid rgba(46, 204, 113, 0.15);
  background: rgba(46, 204, 113, 0.95);
  color: rgba(0,0,0,0.92);
  font-weight: 950;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 48px rgba(0,0,0,0.55);
  cursor: pointer;
}

/* v5.5 – Astra/Woo "Lupe" (Gallery Trigger) + Quick View entfernen */
body.ios-shop-active .woocommerce-product-gallery__trigger,
body.ios-shop-active .ast-quick-view-trigger,
body.ios-shop-active .ast-quick-view-text,
body.ios-shop-active .ast-on-card-button,
body.ios-shop-active .ast-qv-trigger,
body.ios-shop-active .ast-qv-icon{
  display: none !important;
}

/* v5.5 – Astra Layout Hardening (zentriert + ohne Sidebar) */
body.ios-shop-active #secondary{ display:none !important; }
body.ios-shop-active #primary{ width: 100% !important; max-width: 100% !important; }
body.ios-shop-active .ast-container{ max-width: 1180px !important; margin-left: auto !important; margin-right: auto !important; }


/* WC Rezensionen: Smileys statt Sterne */
.woocommerce #reviews .comment-form-rating .stars,
.woocommerce #reviews .comment-form-rating .stars a,
.woocommerce #reviews .comment-form-rating a{
  display:none !important;
}

.woocommerce #reviews .comment-form-rating .ios26-face-rating{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.woocommerce #reviews .comment-form-rating .ios26-face{
  width:74px;
  height:74px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:42px;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

/* Mini cart inside the right drawer (Woo fragments source of truth) */
body.ios-shop-active #iosMiniCart{ margin-top: 6px; }
body.ios-shop-active #iosMiniCart .woocommerce-mini-cart{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:12px;
}
body.ios-shop-active #iosMiniCart .woocommerce-mini-cart-item{
  position:relative;
  display:grid;
  grid-template-columns: 74px 1fr;
  gap:12px;
  align-items:center;
  padding:12px;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  box-shadow: var(--ios-shadow2);
}
body.ios-shop-active #iosMiniCart .woocommerce-mini-cart-item a{
  color: rgba(255,255,255,0.92);
  text-decoration:none;
  font-weight: 900;
  letter-spacing: -0.01em;
}
body.ios-shop-active #iosMiniCart .woocommerce-mini-cart-item a img{
  width:74px;
  height:74px;
  border-radius: 20px;
  object-fit: cover;
  display:block;
  margin:0;
}
body.ios-shop-active #iosMiniCart .woocommerce-mini-cart-item .quantity{
  display:block;
  margin-top: 6px;
  color: rgba(255,255,255,0.70);
  font-weight: 800;
}
body.ios-shop-active #iosMiniCart .woocommerce-mini-cart-item a.remove{
  position:absolute;
  top:10px;
  right:10px;
  width:28px;
  height:28px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.85) !important;
  border: 1px solid rgba(255,255,255,0.12);
}
body.ios-shop-active #iosMiniCart .woocommerce-mini-cart__total{
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
body.ios-shop-active #iosMiniCart .woocommerce-mini-cart__buttons{ display:none; }
body.ios-shop-active #iosMiniCart .woocommerce-mini-cart__empty-message{ display:none; }

/* Single product gallery: keep image centered inside hero */
body.single-product .ios-product-hero .woocommerce-product-gallery{
  display:flex;
  justify-content:center;
}
body.single-product .ios-product-hero .woocommerce-product-gallery__wrapper{
  width: 100%;
}
body.single-product .ios-product-hero .woocommerce-product-gallery__image{
  display:flex;
  justify-content:center;
}
body.single-product .ios-product-hero .woocommerce-product-gallery__image a,
body.single-product .ios-product-hero .woocommerce-product-gallery__image img{
  display:block;
  margin-left:auto;
  margin-right:auto;
}
body.single-product .ios-product-hero .woocommerce-product-gallery__image img{
  width: min(980px, 100%);
  height: auto;
  object-fit: cover;
  object-position: center;
}
body.single-product .ios-product-hero .woocommerce-product-gallery__wrapper{
  width:100%;
}
body.single-product .ios-product-hero .woocommerce-product-gallery__image,
body.single-product .ios-product-hero .woocommerce-product-gallery__image a{
  display:block;
}
body.single-product .ios-product-hero .woocommerce-product-gallery__image img{
  display:block;
  margin:0 auto;
  width:100%;
  height:auto;
  object-fit:cover;
  object-position:center;
}
.woocommerce #reviews .comment-form-rating .ios26-face:hover{ background: rgba(255,255,255,0.08); }
.woocommerce #reviews .comment-form-rating .ios26-face:active{ transform: translateY(1px); }
.woocommerce #reviews .comment-form-rating .ios26-face.is-selected{
  background: rgba(52,199,89,0.18);
  border-color: rgba(52,199,89,0.55);
}

