/* WooCommerce + WordPress adaptations for the Bazaar design (loads after main.css). */
a.chip{display:inline-flex;align-items:center}
.cats a.cat{display:block}
.s a.b{display:inline-flex;height:40px;padding:0 18px;border-radius:99px;background:var(--gold);color:var(--ink);font-weight:600;align-items:center}
.cd h3 a{font-weight:500}
.cd .ad{display:block}
a.big{text-decoration:none}
.sg a{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;width:100%;padding:8px 12px;text-align:left}
.sg a:hover,.sg a:focus-visible{background:var(--lav)}.sg a img{width:44px;height:44px;border-radius:8px;object-fit:cover}
.hd form.sr{margin-top:10px}
.hd .sr input[type=search]{-webkit-appearance:none;appearance:none}
.hd a{color:inherit}
.row .cd{flex:none;width:150px}
.wc-page{padding-top:6px;padding-bottom:40px}
.wc-page .chips{margin:0 -14px}
.woocommerce-pagination ul{display:flex;gap:8px;list-style:none;padding:0;justify-content:center;margin:28px 0}
.woocommerce-pagination a,.woocommerce-pagination span{display:grid;place-items:center;min-width:42px;height:42px;border-radius:10px;box-shadow:inset 0 0 0 1.5px var(--line);font-weight:500}
.woocommerce-pagination .current{background:var(--plum);color:#fff;box-shadow:none}
.woocommerce-info,.woocommerce-message,.woocommerce-error,.woocommerce-notice{list-style:none;padding:14px 16px;margin:14px 0;background:var(--lav);border-radius:14px;font-size:15px;border-left:4px solid var(--plum)}
.woocommerce-error{border-left-color:var(--red)}
.woocommerce-message a.button{float:right;background:var(--plum);color:#fff;padding:6px 14px;border-radius:99px;font-weight:600;font-size:14px}
.prose{padding-top:28px;padding-bottom:60px;max-width:760px}.prose h1{font:800 30px var(--fd);margin-bottom:18px}.prose p{margin-bottom:14px}.prose a{color:var(--plum);text-decoration:underline}
footer a{text-decoration:underline;text-underline-offset:3px}

/* Single product */
.is-pdp div.product{display:grid;gap:18px;padding-top:10px}
.is-pdp .woocommerce-product-gallery{margin:0;border-radius:18px;overflow:hidden;background:var(--lav);position:relative}
.is-pdp .woocommerce-product-gallery img{width:100%;height:auto}
.is-pdp .flex-control-thumbs{display:flex;gap:8px;list-style:none;padding:8px;overflow-x:auto}.is-pdp .flex-control-thumbs img{width:64px;height:64px;object-fit:cover;border-radius:10px;opacity:.7}.is-pdp .flex-control-thumbs img.flex-active{opacity:1}
.is-pdp .summary h1{font:800 26px/1.15 var(--fd);margin:4px 0 10px}
.is-pdp .summary .price{font:700 24px var(--fd);margin-bottom:12px}.is-pdp .summary .price del{font:400 16px var(--fb);color:var(--mute);margin-right:8px}.is-pdp .summary .price ins{text-decoration:none}
.is-pdp .woocommerce-product-details__short-description{color:var(--mute);margin-bottom:14px}
.is-pdp form.cart{display:flex;gap:10px;margin:14px 0;flex-wrap:wrap}
.is-pdp .quantity input{height:52px;width:76px;border:2px solid var(--line);border-radius:12px;text-align:center;font:600 16px var(--fb);background:#fff}
.is-pdp .single_add_to_cart_button{flex:1;height:52px;background:var(--plum);color:#fff;border-radius:12px;font-weight:600;font-size:17px}
.is-pdp .single_add_to_cart_button:hover{background:var(--plum2)}
.is-pdp .product_meta{font-size:13.5px;color:var(--mute);display:grid;gap:4px;margin-top:14px}
.is-pdp .woocommerce-tabs ul.tabs{display:flex;gap:20px;list-style:none;padding:0;border-bottom:1px solid var(--line);margin:22px 0 14px}
.is-pdp .woocommerce-tabs ul.tabs a{display:block;padding:10px 0;color:var(--mute);font-weight:500}.is-pdp .woocommerce-tabs ul.tabs li.active a{color:var(--plum);border-bottom:3px solid var(--gold)}
.is-pdp .related>h2,.is-pdp .upsells>h2{font:800 21px var(--fd);margin:26px 0 8px}
.is-pdp .related .gd,.is-pdp .upsells .gd{grid-template-columns:repeat(2,1fr)}
.is-pdp .onsale{position:absolute;z-index:2;top:12px;left:0;background:var(--red);color:#fff;font-weight:600;font-size:13px;padding:2px 12px 2px 10px;border-radius:0 99px 99px 0}
.single-product .cb{display:none}
@media(max-width:899px){
	/* sticky add-to-cart sits above the tab bar */
	.is-pdp form.cart:not(.variations_form){position:fixed;left:0;right:0;bottom:calc(var(--tab) + env(safe-area-inset-bottom));margin:0;padding:10px 14px;background:#fff;border-top:1px solid var(--line);z-index:34;flex-wrap:nowrap}
	.is-pdp{padding-bottom:84px}
}
@media(min-width:900px){
	.is-pdp div.product{grid-template-columns:1fr 1fr;gap:40px}
	.is-pdp .woocommerce-tabs,.is-pdp .related,.is-pdp .upsells{grid-column:1/-1}
	.is-pdp .related .gd,.is-pdp .upsells .gd{grid-template-columns:repeat(4,1fr)}
	.wc-page .chips{margin:0}
}

/* Variations (swatch plugin may restyle; this is the plain fallback) */
.is-pdp table.variations{width:100%;margin-bottom:10px}.is-pdp table.variations td,.is-pdp table.variations th{display:block;text-align:left;padding:4px 0}
.is-pdp select{width:100%;height:48px;border:2px solid var(--line);border-radius:12px;padding:0 12px;font:inherit;background:#fff}

/* Cart + checkout + account */
.woocommerce-cart .wc-page,.woocommerce-checkout .wc-page,.woocommerce-account .wc-page{padding-top:18px;max-width:1000px}
.woocommerce form .form-row{margin-bottom:12px}.woocommerce form .form-row label{display:block;font-size:14px;color:var(--mute);margin-bottom:4px;font-weight:500}
.woocommerce input.input-text,.woocommerce select,.woocommerce textarea{width:100%;height:48px;border:2px solid var(--line);border-radius:12px;padding:0 12px;font:inherit;background:#fff}
.woocommerce textarea{height:auto;padding:10px 12px}
.woocommerce input.input-text:focus,.woocommerce select:focus,.woocommerce textarea:focus{border-color:var(--plum);outline:0}
.woocommerce h3,.woocommerce-billing-fields h3,#order_review_heading{font:800 20px var(--fd);margin:18px 0 10px}
.woocommerce #place_order,.woocommerce .checkout-button,.woocommerce button[name=update_cart]{display:block;width:100%;height:54px;line-height:54px;padding:0;text-align:center;background:var(--plum);color:#fff;border-radius:14px;font:600 17px var(--fb)}
.woocommerce #place_order:hover,.woocommerce .checkout-button:hover{background:var(--plum2)}
.woocommerce .checkout-button{background:var(--gold);color:var(--ink)}
.woocommerce table.shop_table{width:100%;border-collapse:collapse}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:12px 6px;border-bottom:1px solid var(--line);text-align:left;font-size:15px}
.woocommerce table.cart img{width:64px;border-radius:10px}
.woocommerce .col2-set{display:grid;gap:20px}
.woocommerce #payment ul.payment_methods{list-style:none;padding:0;display:grid;gap:8px}.woocommerce #payment li{padding:12px 14px;border:2px solid var(--line);border-radius:12px}
.woocommerce .cart_totals{margin-top:20px}
.woocommerce a.remove{color:var(--red);font-size:20px}
@media(min-width:900px){
	.woocommerce-checkout form.checkout{display:grid;grid-template-columns:1.2fr 1fr;gap:36px;align-items:start}
	.woocommerce-checkout #order_review_heading{display:none}.woocommerce-checkout #order_review{position:sticky;top:calc(var(--hh,120px) + 16px);background:var(--lav);border-radius:18px;padding:18px}
	.woocommerce .col2-set{grid-template-columns:1fr 1fr}
}

/* Hide the old ModernCart floating cart (replaced by the cart bar + sheet) */
#moderncart-floating-cart,.moderncart-toggle-slide-out,.moderncart-slide-out,#moderncart-slide-out-modal,.moderncart-modal{display:none!important}
/* Sticky header sits under the WP admin bar for logged-in admins */
body.admin-bar .hd{top:32px}
@media(max-width:782px){body.admin-bar .hd{top:46px}}

/* Whole product card is one link: the title link stretches over the card; Add/stepper sit above it. */
.cd{position:relative}
.cd h3 a::after{content:"";position:absolute;inset:0;z-index:1}
.cd .ctl{position:relative;z-index:2}
.cd .ph .off{z-index:0}
.pin{display:none}

/* Hide WooCommerce's default 🔍 zoom/lightbox trigger (unstyled once WooCommerce CSS is dequeued) */
.woocommerce-product-gallery__trigger{display:none!important}

/* ── Plain content pages (About, Contact) ── */
.pg{padding-top:8px;padding-bottom:56px}
.pg-hero{position:relative;border-radius:22px;overflow:hidden;margin:14px 0 30px;background:var(--plum);min-height:240px}
.pg-hero img{display:block;width:100%;height:clamp(240px,42vw,420px);object-fit:cover}
.pg-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(43,16,85,.10),rgba(43,16,85,.80))}
.pg-hero__txt{position:absolute;z-index:1;left:0;right:0;bottom:0;padding:clamp(18px,4vw,36px);color:#fff}
.pg-hero h1{font:800 clamp(36px,7vw,60px)/1 var(--fd);letter-spacing:-.02em;margin-bottom:10px;color:#fff}
.pg-hero p{max-width:36ch;font-size:clamp(16px,2.4vw,19px);color:#EFE7FF}
.pg-body,.pg-head,.pg-cards{max-width:720px;margin-left:auto;margin-right:auto}
.pg-body h2{font:800 clamp(26px,4vw,34px)/1.1 var(--fd);letter-spacing:-.02em;margin:6px 0 16px}
.pg-body .pg-lead{font:600 clamp(18px,2.6vw,21px)/1.5 var(--fb);color:var(--ink)}
.pg-body p,.pg-head p{font-size:17px;line-height:1.7;color:#3D3556;margin-bottom:16px}
.pg-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}
.pg-btn{display:inline-flex;align-items:center;justify-content:center;height:50px;padding:0 26px;border-radius:99px;font-weight:600;background:var(--plum);color:#fff;text-decoration:none}
.pg-btn:hover{background:var(--plum2)}
.pg-btn.alt{background:var(--gold);color:var(--ink)}
.pg-head{padding-top:26px}
.pg-head h1{font:800 clamp(36px,7vw,56px)/1 var(--fd);letter-spacing:-.02em;margin-bottom:14px}
.pg-cards{display:grid;gap:12px;margin-top:10px}
.pg-card{display:block;background:var(--lav);border-radius:18px;padding:20px;color:var(--ink);text-decoration:none;transition:transform .15s,box-shadow .15s}
a.pg-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(43,16,85,.12)}
.pg-card h2{font:800 18px var(--fd);margin:12px 0 4px}
.pg-card p{margin:0;font-size:16px;color:#4A4166;word-break:break-word}
.pg-ic{width:44px;height:44px;border-radius:12px;background:var(--plum);color:#fff;display:grid;place-items:center}
.pg-ic svg{width:22px;height:22px}
@media(min-width:900px){.pg-cards{grid-template-columns:repeat(3,1fr);max-width:960px}}

/* Cart, checkout and account use the wide shop layout; keep the page title in the same style as other headings */
.wc-page>article>h1{font:800 clamp(30px,5vw,44px)/1.05 var(--fd);letter-spacing:-.02em;margin:18px 0 16px}

/* Checkout: billing and shipping/notes stack in one column inside the left side; notice links stay underlined */
.woocommerce-checkout .col2-set{grid-template-columns:1fr!important}
.woocommerce-info a,.woocommerce-message a:not(.button),.woocommerce-error a{color:var(--plum);text-decoration:underline}

/* WooCommerce's standard buttons (Log in, Apply coupon, Update cart, Register, Return to shop, Save changes).
   :where() keeps this rule's specificity low so the specific buttons above (Place order, Checkout, etc.) still win. */
:where(.woocommerce) button.button,:where(.woocommerce) a.button,:where(.woocommerce) input.button,:where(.woocommerce-page) button.button,:where(.woocommerce-page) a.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border:0;border-radius:12px;background:var(--plum);color:#fff;font:600 16px/1 var(--fb);text-decoration:none;cursor:pointer;transition:background .15s}
:where(.woocommerce) button.button:hover,:where(.woocommerce) a.button:hover,:where(.woocommerce) input.button:hover{background:var(--plum2)}
.woocommerce form.woocommerce-form-login .button,.woocommerce form.login .button{margin-top:6px}
.woocommerce-LostPassword a,.lost_password a{color:var(--plum);text-decoration:underline}
.woocommerce form .woocommerce-form__label-for-checkbox{display:flex;align-items:center;gap:8px;margin:10px 0 4px}
.woocommerce form .woocommerce-form__label-for-checkbox input{width:auto;height:auto}
.woocommerce form.woocommerce-form-login,.woocommerce form.login,.woocommerce form.register{padding:16px;border:2px solid var(--line);border-radius:16px;margin:12px 0}
.woocommerce-form-coupon .button{margin-top:4px}

/* My account: menu as pills above the content (works on phones and desktop) */
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0 0 20px;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none}
.woocommerce-MyAccount-navigation li{flex:none}
.woocommerce-MyAccount-navigation li a{display:flex;align-items:center;height:42px;padding:0 18px;border-radius:99px;font-weight:500;box-shadow:inset 0 0 0 1.5px var(--line);color:var(--ink);text-decoration:none}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--plum);color:#fff;box-shadow:none}
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a{color:var(--red)}
.woocommerce-MyAccount-content{min-width:0}
.woocommerce-MyAccount-content p{margin-bottom:12px}
.woocommerce-MyAccount-content a:not(.button){color:var(--plum);text-decoration:underline}
.woocommerce-orders-table .button+.button,.woocommerce-orders-table .woocommerce-button+.woocommerce-button{margin-left:6px}
.woocommerce-orders-table td,.woocommerce-orders-table th{white-space:nowrap}
.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions{white-space:normal}
@media(max-width:700px){.woocommerce-MyAccount-content{overflow-x:auto}}
/* Order received (thank-you) page */
.woocommerce-order .woocommerce-notice--success{background:#E6F6EC;border-left-color:var(--green);font-weight:600}
ul.woocommerce-order-overview{list-style:none;padding:0;display:grid;gap:8px;margin:16px 0;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
ul.woocommerce-order-overview li{background:var(--lav);border-radius:14px;padding:12px 14px;font-size:13.5px;color:var(--mute)}
ul.woocommerce-order-overview li strong{display:block;color:var(--ink);font-size:16px;margin-top:2px}
