/* Juwelier Mayer – Shop (nur auf Shop-, Warenkorb-, Kassen- und Konto-Seiten geladen) */

.seite.shop{padding:24px 0 80px}
.seite.shop > .wrap{max-width:var(--max)}

/* Knöpfe von WooCommerce im Stil des Themes */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 28px;border:1px solid var(--gold);border-radius:0;
  background:var(--gold);color:#fff;font-family:var(--schrift);font-size:15px;font-weight:500;letter-spacing:.07em;text-transform:uppercase;line-height:1.2;transition:background .2s,border-color .2s}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--gold-dunkel);border-color:var(--gold-dunkel);color:#fff}
.woocommerce button.button.alt.disabled,.woocommerce button.button:disabled,.woocommerce button.button.disabled{background:var(--gold);border-color:var(--gold);color:#fff;opacity:.5}
.woocommerce .quantity .qty{height:48px;width:4em;border:1px solid var(--linie);font:inherit}

/* Brotkrumen */
.woocommerce .woocommerce-breadcrumb{margin:0 0 28px;font-size:14px;letter-spacing:.06em;color:var(--text)}
.woocommerce .woocommerce-breadcrumb a{color:var(--text)}
.woocommerce .woocommerce-breadcrumb a:hover{color:var(--gold)}

/* ---------------------------------------------------------------
   Kategorie: Banner und Überschrift
   --------------------------------------------------------------- */
.kat-banner{position:relative;display:flex;align-items:center;min-height:400px;margin:0 0 32px;overflow:hidden;background:var(--dunkel)}
.kat-banner .banner-bild{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.kat-banner::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.35)}
.kat-banner h1{position:relative;z-index:1;margin:0;padding:0 13%;color:#fff;font-size:clamp(2rem,4vw,2.9rem);text-transform:none}
.kat-titel{margin:24px 0 32px;font-size:clamp(1.8rem,3.5vw,2.6rem)}
.woocommerce .term-description{max-width:860px;margin:0 0 32px}

/* ---------------------------------------------------------------
   Filter
   --------------------------------------------------------------- */
.filter{margin:0 0 28px}
.filter-reihe{display:flex;flex-wrap:wrap;gap:12px 14px;align-items:flex-start}
.filter-feld{position:relative}
.filter-feld summary{list-style:none;display:flex;align-items:center;gap:8px;min-width:150px;min-height:40px;padding:6px 36px 6px 14px;border:1px solid #ddd;background:#fff;
  font-family:var(--titel);font-size:15px;color:var(--schwarz);cursor:pointer;position:relative;user-select:none}
.filter-feld summary::-webkit-details-marker{display:none}
.filter-feld summary::after{content:"";position:absolute;right:14px;top:50%;width:6px;height:6px;margin-top:-5px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);transition:transform .2s}
.filter-feld[open] summary{border-color:var(--schwarz)}
.filter-feld[open] summary::after{transform:rotate(-135deg);margin-top:-1px}
.filter-anz{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--gold);color:#fff;font-family:var(--schrift);font-size:12px}
.filter-optionen{position:absolute;left:0;top:calc(100% + 4px);z-index:30;min-width:240px;max-height:340px;overflow-y:auto;padding:10px 0;background:#fff;border:1px solid #ddd;box-shadow:0 6px 18px rgba(0,0,0,.08)}
.filter-optionen label{display:flex;align-items:center;gap:10px;padding:5px 16px;font-size:16px;line-height:1.4;color:var(--schwarz);cursor:pointer;white-space:nowrap}
.filter-optionen label:hover{background:var(--hell)}
.filter-optionen input{width:16px;height:16px;margin:0;accent-color:var(--gold)}
.filter-zahl{color:#999;font-size:14px}
.filter-los{min-height:40px;padding:0 20px}
.filter-knopf{display:none}
.filter-aktiv{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:16px 0 0;padding:0;font-size:15px}
.filter-aktiv a{display:inline-flex;align-items:center;gap:6px;padding:3px 12px;border:1px solid var(--gold);color:var(--schwarz)}
.filter-aktiv a:hover{background:var(--gold);color:#fff}
.filter-aktiv .filter-reset{border-color:transparent;color:var(--gold);text-decoration:underline}

/* Anzahl und Sortierung */
.woocommerce .woocommerce-result-count{margin:0 0 28px;font-size:14px;line-height:40px}
.woocommerce .woocommerce-ordering{margin:0 0 28px}
.woocommerce .woocommerce-ordering select{height:40px;padding:0 32px 0 12px;border:1px solid #ddd;border-radius:0;background-color:#fff;font:inherit;font-size:14px;color:var(--schwarz)}

/* ---------------------------------------------------------------
   Produktliste
   --------------------------------------------------------------- */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:48px 32px;margin:0 0 48px;clear:both}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product,.woocommerce ul.products[class*=columns-] li.product,.woocommerce-page ul.products[class*=columns-] li.product{float:none;width:auto;margin:0;padding:0;clear:none}
.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:contain;background:#fff;margin:0 0 16px;transition:transform .4s}
.woocommerce ul.products li.product a:hover img{transform:scale(1.03)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0;margin:0 0 8px;font-family:var(--titel);font-size:19px;line-height:1.3;color:#333;text-transform:none}
.woocommerce ul.products li.product .price{display:block;margin:0 0 4px;font-size:14px;font-weight:400;color:#666}
.woocommerce ul.products li.product .price del{opacity:.6}
.woocommerce ul.products li.product .price ins{color:var(--rot);text-decoration:none}
.woocommerce ul.products li.product .wc-gzd-additional-info,.woocommerce ul.products li.product p{font-size:14px;line-height:1.5;margin:0}
.woocommerce span.onsale{min-width:0;min-height:0;padding:4px 10px;border-radius:0;background:var(--rot);font-size:13px;font-weight:500;line-height:1.4;top:8px;left:8px;margin:0}
.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;justify-content:center;gap:6px}
.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:40px;padding:8px 12px;border:1px solid #ddd;color:var(--schwarz);font-size:15px}
.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--gold);border-color:var(--gold);color:#fff}

/* ---------------------------------------------------------------
   Produktseite
   --------------------------------------------------------------- */
.woocommerce div.product div.images{margin-bottom:40px}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
.woocommerce div.product div.images .flex-control-thumbs li{width:auto;float:none}
.woocommerce div.product div.summary{margin-bottom:40px}
.marken-logo{display:block;width:auto;max-width:150px;height:auto;max-height:80px;margin:0 0 18px}
.woocommerce div.product .product_title{font-size:22px;line-height:1.35;color:var(--dunkel);margin:0 0 22px;letter-spacing:.02em}
.woocommerce div.product .woocommerce-product-details__short-description,.produkt-beschreibung{font-size:17px;margin:0 0 20px}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-size:26px;font-weight:500;color:var(--schwarz);margin:0}
.woocommerce div.product .summary .wc-gzd-additional-info,.woocommerce div.product .summary .legal-price-info{font-size:14px;margin:0 0 4px}
.woocommerce div.product form.cart{margin:20px 0}
.woocommerce div.product form.cart .variations{margin:0 0 12px}
.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{padding:0 0 10px;vertical-align:middle;line-height:1.3}
.woocommerce div.product form.cart .variations th.label{padding-right:20px;font-weight:600;color:var(--schwarz)}
.woocommerce div.product form.cart .variations th.label label{margin:0}
.woocommerce div.product form.cart .variations select{min-width:220px;height:44px;padding:0 12px;border:1px solid #ddd;border-radius:0;background:#fff;font:inherit;font-size:16px;color:var(--schwarz)}
.woocommerce div.product form.cart .reset_variations{font-size:14px;color:var(--gold)}
.woocommerce div.product .woocommerce-variation-description{font-size:16px}
.woocommerce div.product .woocommerce-variation-price .price{font-size:26px}
.woocommerce div.product form.cart .button{min-width:240px}

.produkt-anfrage{margin:4px 0 28px}
.produkt-anfrage .anfrage-auf{min-width:240px}
.beratung{list-style:none;margin:18px 0 0;padding:0;font-size:16px;line-height:1.7;color:var(--schwarz)}
.beratung a{color:var(--gold)}

.anfrage-dialog{width:min(640px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:36px 32px 28px;border:0;border-top:3px solid var(--gold);box-shadow:0 20px 50px rgba(0,0,0,.25);color:var(--text)}
.anfrage-dialog::backdrop{background:rgba(0,0,0,.55)}
.anfrage-dialog h2{font-size:24px;margin:0 0 12px;padding-right:32px}
.anfrage-produkt{font-size:16px;margin:0 0 20px}
.anfrage-produkt strong{color:var(--schwarz)}
.dialog-zu{position:absolute;right:12px;top:10px;width:40px;height:40px;border:0;background:none;font-size:30px;line-height:1;color:var(--schwarz);cursor:pointer}
.dialog-zu:hover{color:var(--gold)}
.anfrage-dialog .success{border:0;padding:0}

.gewaehrleistung{display:flex;gap:20px;align-items:center;max-width:600px;margin:8px 0 0;padding:20px;background:#f7f9fb;border:1px solid #dfe5ec;border-radius:14px;font-size:15px;line-height:1.5;color:#243653}
.gewaehrleistung-bild{flex:0 0 110px;line-height:0}
.gewaehrleistung img{width:110px;height:auto}
.gewaehrleistung h3{margin:0 0 6px;font-family:var(--schrift);font-size:17px;font-weight:600;text-transform:none;color:#17233d}
.gewaehrleistung p{margin:0 0 6px}
.gewaehrleistung a{font-size:14px;font-weight:600;color:#1555e8}

.produkt-merkmale{clear:both;padding:40px 0 0;border-top:1px solid var(--hell)}
.produkt-merkmale h2,.woocommerce .related > h2{font-size:clamp(1.4rem,2.4vw,1.9rem);margin:0 0 20px}
.woocommerce table.shop_attributes{max-width:860px;border-top:1px solid var(--hell);font-size:16px}
.woocommerce table.shop_attributes th{width:240px;padding:10px 16px 10px 0;font-weight:600;color:var(--schwarz);border-bottom:1px solid var(--hell)}
.woocommerce table.shop_attributes td{padding:10px 0;font-style:normal;border-bottom:1px solid var(--hell)}
.woocommerce table.shop_attributes td p{padding:0}
.woocommerce table.shop_attributes tr:nth-child(even) td,.woocommerce table.shop_attributes tr:nth-child(even) th{background:none}
.woocommerce .related{clear:both;padding-top:56px}

/* ---------------------------------------------------------------
   Warenkorb, Kasse, Mein Konto
   --------------------------------------------------------------- */
.kasse .kat-titel{margin:24px 0 32px}
.kasse h2,.kasse h3,.woocommerce-checkout h3,.woocommerce .cart_totals h2{font-size:20px;line-height:1.3;margin:0 0 18px;letter-spacing:.02em}
.woocommerce form .form-row{margin:0 0 16px;padding:0}
.woocommerce form .form-row label{font-size:15px;line-height:1.4;margin-bottom:6px;color:var(--schwarz)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single,.woocommerce-cart table.cart td.actions .coupon .input-text{
  min-height:48px;padding:10px 14px;border:1px solid var(--linie);border-radius:0;background:#fff;font:inherit;font-size:16px;line-height:1.4;color:var(--schwarz)}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered{padding:0;line-height:26px}
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow{top:11px;right:8px}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus{border-color:var(--schwarz);outline:0}
.woocommerce form .form-row textarea{min-height:110px}
.woocommerce form .form-row .required{color:var(--rot);text-decoration:none}
.woocommerce-info,.woocommerce-message,.woocommerce-error{border-top-color:var(--gold);background:var(--hell);font-size:16px}
.woocommerce-info::before,.woocommerce-message::before{color:var(--gold)}

/* Warenkorb */
.woocommerce table.shop_table{border:0;border-radius:0;border-collapse:collapse;font-size:16px}
.woocommerce table.shop_table th{font-weight:600;color:var(--schwarz);padding:12px 10px;border-bottom:1px solid var(--linie)}
.woocommerce table.shop_table td{padding:16px 10px;border-top:0;border-bottom:1px solid var(--hell)}
.woocommerce table.cart img{width:80px}
.woocommerce table.cart .product-name a{font-family:var(--titel);font-size:18px;color:#333}
.woocommerce table.cart .product-name a:hover{color:var(--gold)}
.woocommerce a.remove{color:var(--rot)!important;font-weight:400}
.woocommerce a.remove:hover{background:var(--rot);color:#fff!important}
.woocommerce-cart table.cart td.actions .coupon .input-text{width:200px;margin-right:8px}
.woocommerce .cart-collaterals{display:flex;justify-content:flex-end;margin-top:32px}
.woocommerce .cart-collaterals .cart_totals{float:none;width:100%;max-width:460px;padding:28px;background:var(--hell)}
.woocommerce .cart-collaterals .cross-sells{display:none}
.woocommerce .cart-collaterals .cart_totals table th{width:40%}
.woocommerce .wc-proceed-to-checkout a.checkout-button{width:100%;font-size:16px;padding:0 28px;margin-bottom:0}

/* Kasse: links Adresse, rechts Übersicht und Zahlung */
@media (min-width:1001px){
  .woocommerce form.checkout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:0 56px;align-items:start}
  .woocommerce form.checkout > *{grid-column:1 / -1}
  .woocommerce form.checkout #customer_details{grid-column:1;grid-row:1 / span 6}
  .woocommerce form.checkout #order_review_heading,.woocommerce form.checkout #order_review{grid-column:2}
  .woocommerce form.checkout #order_review{position:sticky;top:80px}
}
.woocommerce-checkout #customer_details.col2-set .col-1,.woocommerce-checkout #customer_details.col2-set .col-2{float:none;width:100%}
.woocommerce-checkout #customer_details .col-2{margin-top:24px}
.woocommerce-checkout #ship-to-different-address{font-size:17px;font-family:var(--schrift);font-weight:500;text-transform:none}
.woocommerce-checkout #ship-to-different-address label{display:flex;align-items:center;gap:10px;cursor:pointer}
.woocommerce-checkout #order_review{padding:28px;background:var(--hell)}
.woocommerce-checkout #order_review table.shop_table{background:transparent}
.woocommerce-checkout #order_review table.shop_table td,.woocommerce-checkout #order_review table.shop_table th{border-bottom-color:#e2e2e4}
.woocommerce-checkout .order-total th,.woocommerce-checkout .order-total td{font-size:19px}
.woocommerce-checkout #payment{background:transparent;border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{padding:16px 0;border-bottom:1px solid #e2e2e4}
.woocommerce-checkout #payment ul.payment_methods li{font-size:17px}
.woocommerce-checkout #payment div.payment_box{background:#fff;font-size:15px}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#fff}
.woocommerce-checkout #payment div.form-row{padding:16px 0 0}
.woocommerce-checkout .checkbox-legal,.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{font-size:15px;line-height:1.5}
.woocommerce-checkout #place_order{width:100%;min-height:54px;font-size:16px}

/* Mein Konto */
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--hell)}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:10px 0;border-bottom:1px solid var(--hell);color:var(--schwarz)}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{color:var(--gold)}

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width:1000px){
  .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:768px){
  .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 16px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px}
  .kat-banner{min-height:220px}
  .kat-banner h1{padding:0 24px}
  /* Am Handy klappen die Filter untereinander auf statt als schwebendes Feld */
  .filter-reihe{flex-direction:column;align-items:stretch;gap:8px}
  .filter-feld summary{min-width:0}
  .filter-optionen{position:static;min-width:0;max-height:none;box-shadow:none;border-top:0}
  .filter-los{width:100%}
  .filter.mit-knopf .filter-knopf{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:0 16px;border:1px solid var(--schwarz);background:#fff;font-family:var(--titel);font-size:16px;color:var(--schwarz);cursor:pointer}
  .filter.mit-knopf .filter-knopf::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-top:-4px;transition:transform .2s}
  .filter.mit-knopf.offen .filter-knopf::after{transform:rotate(-135deg);margin-top:3px}
  .filter.mit-knopf .filter-reihe{display:none;margin-top:8px}
  .filter.mit-knopf.offen .filter-reihe{display:flex}
  .woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none;margin:0 0 12px}
  .woocommerce div.product form.cart .button,.produkt-anfrage .anfrage-auf{width:100%;min-width:0}
  .woocommerce div.product form.cart .variations select{min-width:0;width:100%}
  .gewaehrleistung{flex-direction:column;align-items:flex-start}
  .woocommerce table.shop_attributes th{width:45%}
  .anfrage-dialog{padding:32px 20px 24px}
}
