/* GWEBakes WooCommerce styles — follow light/dark CSS variables */
.woocommerce,.woocommerce-page{color:var(--fg)}
.woocommerce a{color:var(--fg)}
.woocommerce .woocommerce-breadcrumb{color:var(--muted);font-size:13px;margin-bottom:20px}
.woocommerce .woocommerce-breadcrumb a{color:var(--muted)}
.woocommerce-products-header__title,.woocommerce .product_title{font-size:48px;letter-spacing:-1.5px;font-weight:700;margin:0 0 20px}
.woocommerce .woocommerce-result-count{color:var(--muted)}
.woocommerce select,.woocommerce input.input-text,.woocommerce textarea,.woocommerce .select2-container .select2-selection,.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{background:var(--chip);color:var(--fg);border:1px solid var(--line);border-radius:14px;padding:12px 14px}
.select2-dropdown{background:var(--tile);color:var(--fg);border-color:var(--line)}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--fg)}
/* Shop grid */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:0;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;padding:22px;border-radius:30px;position:relative;overflow:hidden;background:var(--tile)}
.woocommerce ul.products li.product:nth-child(5n+1){background:linear-gradient(160deg,#ffd9e3,#ffe0b8)}
.woocommerce ul.products li.product:nth-child(5n+2){background:linear-gradient(160deg,#d8f5ec,#bfe4ff)}
.woocommerce ul.products li.product:nth-child(5n+3){background:linear-gradient(160deg,#fff0dc,#ffd0dc)}
.woocommerce ul.products li.product:nth-child(5n+4){background:linear-gradient(160deg,#ece4ff,#c6ecff)}
.woocommerce ul.products li.product:nth-child(5n+5){background:linear-gradient(160deg,#ffe3ea,#ffe6d0)}
.woocommerce ul.products li.product a img{background:transparent;filter:drop-shadow(0 16px 18px var(--shadow));margin-bottom:14px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:18px;padding:0;color:var(--fg)}
.woocommerce ul.products li.product .price{color:var(--muted2);font-size:14px}
/* Buttons */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce-page .wc-block-components-button{background:var(--btn)!important;color:var(--btnfg)!important;border-radius:30px;padding:12px 22px;font-weight:500;border:none}
.woocommerce a.button:hover,.woocommerce button.button:hover{opacity:.85}
.woocommerce span.onsale{background:linear-gradient(90deg,#ff8fb1,#b49cff);color:#fff;border-radius:20px;min-height:0;min-width:0;padding:4px 12px;line-height:1.6}
/* Single product */
.woocommerce div.product div.images{border-radius:34px;padding:30px;background:linear-gradient(160deg,#ffd9e3,#ece4ff 60%,#d8f5ec)}

.woocommerce div.product div.images img{filter:drop-shadow(0 18px 20px var(--shadow))}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--fg);font-size:22px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--chip);border-color:var(--line);border-radius:20px 20px 0 0}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--bg);border-bottom-color:var(--bg)}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--fg)}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce .quantity .qty{background:var(--chip);color:var(--fg);border:1px solid var(--line);border-radius:14px;padding:10px}
/* Notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error{background:var(--tile);color:var(--fg);border-top:3px solid #b49cff;border-radius:16px}
.woocommerce-message::before,.woocommerce-info::before{color:#b49cff}
/* Cart & checkout (classic shortcodes) */
.woocommerce table.shop_table{border:1px solid var(--line);border-radius:24px;overflow:hidden;background:var(--tile);border-collapse:separate}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:var(--line);color:var(--fg)}
.woocommerce table.shop_table img{width:64px;border-radius:14px}
.woocommerce a.remove{color:var(--muted)!important}.woocommerce a.remove:hover{background:#ff8fb1;color:#fff!important}
.woocommerce .cart-collaterals .cart_totals,.woocommerce-checkout #order_review,.woocommerce-checkout .woocommerce-billing-fields{background:var(--tile);border-radius:24px;padding:24px}
.woocommerce-checkout #payment{background:var(--chip)!important;border-radius:20px}
.woocommerce-checkout #payment div.payment_box{background:var(--tile)!important;color:var(--fg)}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:var(--tile)!important}
.woocommerce form .form-row label{color:var(--muted2)}
/* Cart & checkout (block-based) */
.wc-block-cart,.wc-block-checkout{color:var(--fg)}
.wc-block-components-sidebar,.wc-block-components-totals-wrapper{border-color:var(--line)!important}
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-blocks-components-select select{background:var(--chip)!important;color:var(--fg)!important;border-color:var(--line)!important;border-radius:14px!important}
.wc-block-components-text-input label,.wc-block-components-combobox label{color:var(--muted)!important}
.wc-block-components-order-summary,.wc-block-components-panel{color:var(--fg)}
@media (max-width:900px){.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.woocommerce ul.products{grid-template-columns:1fr}}

/* d3 dark: light pastel cards dimmed on charcoal, dark text on cards */
[data-theme=dark] .woocommerce ul.products li.product{filter:brightness(.86);color:#1d1d1f}
[data-theme=dark] .woocommerce ul.products li.product .woocommerce-loop-product__title,[data-theme=dark] .woocommerce ul.products li.product a{color:#1d1d1f}
[data-theme=dark] .woocommerce ul.products li.product .price{color:#555}
[data-theme=dark] .woocommerce ul.products li.product a.button{background:#1d1d1f!important;color:#fff!important}
[data-theme=dark] .woocommerce div.product div.images{filter:brightness(.86)}

/* 1.0.4 single product */
.gw-single{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center;padding:40px 0 80px}
.gw-single-media.card{flex:none;height:auto;aspect-ratio:1;display:flex;align-items:center;justify-content:center;padding:40px}
.gw-single-media.card img{width:82%;height:auto;filter:drop-shadow(0 24px 30px var(--shadow))}
.gw-single-info h1{font-size:52px;letter-spacing:-1.5px;line-height:1.05;margin:0 0 10px}
.gw-single-info .price{font-size:24px;font-weight:600;margin:0 0 16px;color:var(--fg)}
.gw-desc{color:var(--muted);font-size:18px;line-height:1.5}.gw-desc p{margin:0}
.gw-minq{color:var(--muted);font-size:14px;margin:14px 0 22px}
.gw-single form.cart{display:flex;gap:12px;align-items:center;margin:0}
.gw-single .quantity input.qty{width:84px;height:52px;border-radius:26px;border:1px solid var(--line);background:var(--chip);color:var(--fg);text-align:center;font-size:17px}
.gw-single .single_add_to_cart_button{height:52px;border-radius:26px!important;padding:0 30px!important;background:var(--btn)!important;color:var(--btnfg)!important;font-weight:600}
.gw-back{margin-top:28px}.gw-back a{color:var(--muted);text-decoration:none}
.glass h3 a{color:inherit}
.added_to_cart.wc-forward{display:inline-block;margin-left:8px;font-size:12px;color:var(--fg)}
@media(max-width:800px){.gw-single{grid-template-columns:1fr;gap:28px;padding:20px 0 60px}.gw-single-info h1{font-size:38px}}

/* 1.0.6 fixes */
.woocommerce .card a.add.button,.woocommerce .card a.add.button:hover,[data-theme=dark] .woocommerce .card a.add.button{background:#1d1d1f!important;color:#fff!important;padding:0;border-radius:50%;width:30px;height:30px;line-height:30px;text-align:center;font-weight:500;min-height:0}
.woocommerce div.product.gw-single div.summary,.woocommerce div.product.gw-single .gw-single-media{float:none!important;width:auto!important;margin:0}
.gw-single .single_add_to_cart_button{white-space:nowrap}
.gw-stripe-soon{color:var(--muted);font-size:14px;margin:8px 0 14px}
.gw-paynow{text-align:center;background:var(--tile);border-radius:24px;padding:28px;margin:0 0 30px}.gw-paynow img{background:#fff;border-radius:12px;padding:8px}
