/* La Gelato — boutique WooCommerce (écrit à la main, thème 1.1.0) : messages, fiches génériques, panier et paiement (blocs WooCommerce).
   Couleurs pleines : aucune ombre, aucune transparence. */

/* Boutons des maquettes : Kadence les colorait en blanc (couleur des boutons du thème) et assombrissait le fond au survol.
   :where() garde une priorité faible : les règles des maquettes (.tombol-hitam, .kat button[aria-pressed]…) gardent la main. */
:where(.lg-utama,.panel,.bar-beli) button{color:inherit;box-shadow:none;text-transform:none;letter-spacing:normal}
:where(.lg-utama,.panel) button:where(:not(.tombol)):where(:hover,:focus){color:inherit}

/* Messages WooCommerce (ajout au panier, erreurs) en haut des pages de la boutique */
.lg-pemberitahuan:empty{display:none}
.lg-pemberitahuan{padding-top:12px}
.lg-pemberitahuan .woocommerce-message,.lg-pemberitahuan .woocommerce-info,.lg-pemberitahuan .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,.woocommerce-notices-wrapper .woocommerce-error,.woocommerce-notices-wrapper .woocommerce-info{
  list-style:none;margin:0 0 12px;padding:12px 16px;border:2px solid var(--hitam);border-radius:16px;background:var(--es);color:var(--hitam);font-weight:600;box-shadow:none}
.lg-pemberitahuan .woocommerce-error,.woocommerce-notices-wrapper .woocommerce-error{background:var(--stroberi)}
.lg-pemberitahuan .woocommerce-message::before,.lg-pemberitahuan .woocommerce-error::before,.lg-pemberitahuan .woocommerce-info::before{display:none}
.lg-pemberitahuan a.button{float:right;margin-left:12px;background:var(--hitam);color:var(--putih);border-radius:999px;padding:6px 14px}

/* Page Toko : photo de carte cliquable, cartes masquées */
.kartu .foto>a{display:block;height:100%}
.kartu .foto>a img{display:block;width:100%;height:100%;object-fit:cover}
.produk .kosong[hidden]{display:none}

/* Fiche produit : éléments masqués par le script */
.lg-tingkat[hidden],#rasaPilih[hidden],#rasaPilih .chip[hidden],#rasaPilih label[hidden],#rasaPilih .grup-rasa[hidden]{display:none}
.lg-beli fieldset{border:0;padding:0;margin:0 0 22px;min-width:0}
.lg-produk-fiche .grup-rasa{font-size:.82rem;font-weight:800;color:var(--abu);margin:14px 0 8px;text-transform:uppercase;letter-spacing:.04em}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.tombol[disabled]{background:var(--garis);border-color:var(--garis);color:var(--abu);cursor:not-allowed}
.aksi .tombol-wa svg{width:20px;height:20px}
/* Fiches sans contenu long dédié : section « Tentang produk » */
.lg-isi-produk{padding-block:8px 64px}
.lg-isi-produk .wadah{max-width:820px}
.lg-isi-produk h2{margin:0 0 18px}
.lg-isi-produk p{font-size:1.05rem;line-height:1.65;margin:0 0 14px}

/* Panier, paiement et compte (blocs WooCommerce) dans le style La Gelato */
.woocommerce-cart .lg-utama,.woocommerce-checkout .lg-utama,.woocommerce-account .lg-utama{padding-block:28px 72px}
.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout,.woocommerce-account .woocommerce{font-family:var(--f-teks);color:var(--hitam);max-width:1180px;margin-inline:auto;padding-inline:20px}
.wp-block-woocommerce-cart h2,.wp-block-woocommerce-checkout h2,.wc-block-components-title{font-family:var(--f-judul)}
.wc-block-components-button:not(.is-link),.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button,
.woocommerce a.button,.woocommerce button.button{background:var(--hitam)!important;color:var(--putih)!important;border:2px solid var(--hitam)!important;border-radius:999px!important;font-weight:800!important;box-shadow:none!important}
.wc-block-components-button:not(.is-link):hover{background:#262626!important}
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-textarea,.woocommerce form .input-text{border:2px solid var(--hitam)!important;border-radius:14px!important;box-shadow:none!important;background:var(--putih)!important}
.wc-block-components-text-input input:focus,.wc-blocks-components-select .wc-blocks-components-select__select:focus{outline:3px solid var(--wa);outline-offset:2px}
.wc-block-components-notice-banner{border:2px solid var(--hitam);border-radius:16px;box-shadow:none}
.wc-block-components-notice-banner.is-error{background:var(--stroberi)}
.wc-block-components-notice-banner.is-info,.wc-block-components-notice-banner.is-warning{background:var(--es)}
.wc-block-components-radio-control__option{border-radius:14px}
.wc-block-components-sidebar-layout .wc-block-components-panel,.wc-block-components-totals-wrapper{border-color:var(--garis)}
.wc-block-components-product-badge{border:2px solid var(--hitam);border-radius:999px;background:var(--pistachio);color:var(--hitam)}
.wc-block-cart-item__image img{border-radius:14px;border:2px solid var(--hitam)}
/* Panier, paiement et compte (pages classiques, gabarit Kadence) : titres à taille de section, pas la taille des titres de l'accueil (thème 1.2.2, GO de Geoffroy 25/10/2026 16:12) */
:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) main h2{font-size:clamp(1.5rem,2.4vw,2rem);line-height:1.15;margin-bottom:.6em}
