/* ============================================================
   LOVOVEY theme — WooCommerce styles
   Palette: cream bg / ink / bronze accent, Playfair + Source Sans
   ============================================================ */

.lv-wc{padding-top:34px;padding-bottom:90px}

/* ---------- shared bits ---------- */
.woocommerce .woocommerce-breadcrumb{font-size:.84rem;color:var(--mut);margin:0 0 26px}
.woocommerce .woocommerce-breadcrumb a{color:var(--mut);opacity:.9}
.woocommerce .woocommerce-breadcrumb a:hover{color:var(--acc)}

.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce a.button.alt,.woocommerce button.button.alt,
.woocommerce #respond input#submit{
 display:inline-block;padding:13px 26px;border-radius:var(--r);font-weight:600;font-size:.92rem;
 font-family:var(--bfont);background:var(--acc);color:var(--onacc);border:1.5px solid transparent;
 cursor:pointer;transition:all .2s;text-align:center;line-height:1.2}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,
.woocommerce #respond input#submit:hover{filter:brightness(1.1);background:var(--acc);color:var(--onacc)}
.woocommerce a.button.alt,.woocommerce button.button.alt{font-size:1rem;padding:15px 30px}
.woocommerce a.button:disabled,.woocommerce button.button:disabled{opacity:.55;cursor:not-allowed}

.woocommerce .quantity .qty{width:78px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;
 background:#fff;color:var(--ink);font-size:1rem;font-family:var(--bfont)}
.woocommerce .quantity .qty:focus{outline:none;border-color:var(--acc)}

.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error{
 background:var(--card);border:1px solid var(--line);border-left:4px solid var(--acc);
 border-radius:10px;padding:15px 20px;color:var(--ink);font-size:.94rem;margin-bottom:22px}
.woocommerce .woocommerce-error{border-left-color:#b3402e}
.woocommerce .woocommerce-message .button,.woocommerce .woocommerce-info .button{
 float:right;padding:8px 16px;font-size:.84rem;margin-left:10px}

/* sale badge */
.woocommerce span.onsale{position:absolute;top:14px;left:14px;z-index:3;background:var(--acc);color:var(--onacc);
 border-radius:999px;padding:6px 14px;font-size:.76rem;font-weight:600;letter-spacing:.06em;min-height:0;line-height:1.3}

/* star ratings */
.woocommerce .star-rating{color:var(--acc)}
.woocommerce .star-rating span{color:var(--acc)}

/* ============================================================
   Shop archive / product loops
   ============================================================ */
.woocommerce .woocommerce-result-count{color:var(--mut);font-size:.88rem;margin:8px 0 22px;float:left}
.woocommerce .woocommerce-ordering{float:right;margin:0 0 22px}
.woocommerce .woocommerce-ordering select{padding:10px 14px;border:1px solid var(--line);border-radius:10px;
 background:var(--card);color:var(--ink);font-family:var(--bfont);font-size:.9rem}

.woocommerce ul.products,.woocommerce-page ul.products{
 display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:0;clear:both;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{
 float:none;width:auto;margin:0;background:var(--card);border:1px solid var(--line);
 border-radius:var(--r);overflow:hidden;transition:transform .25s,box-shadow .25s;position:relative;
 display:flex;flex-direction:column}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(28,27,24,.10)}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block;color:var(--ink);flex:1}
.woocommerce ul.products li.product .woocommerce-loop-product__link img{
 width:100%;aspect-ratio:1/.85;object-fit:contain;background:#fff;border-bottom:1px solid var(--line);
 padding:18px;margin:0;display:block}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
 font-family:var(--hfont);font-size:1.06rem;font-weight:700;padding:18px 20px 4px;color:var(--ink)}
.woocommerce ul.products li.product .star-rating{margin:4px 20px 0;font-size:.8rem}
.woocommerce ul.products li.product .price{display:block;padding:6px 20px 16px;color:var(--acc);
 font-weight:700;font-size:1.02rem;font-family:var(--hfont)}
.woocommerce ul.products li.product .price del{color:var(--mut);font-weight:400;font-size:.9rem;margin-right:6px}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce ul.products li.product .button{margin:0 20px 20px;display:block;padding:12px 16px;font-size:.88rem}
@media(max-width:900px){.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.woocommerce ul.products{grid-template-columns:1fr}}

.woocommerce nav.woocommerce-pagination{margin-top:34px}
.woocommerce nav.woocommerce-pagination ul{border:none;display:flex;gap:8px;justify-content:center;list-style:none;margin:0;padding:0}
.woocommerce nav.woocommerce-pagination ul li{border:none}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{
 display:flex;align-items:center;justify-content:center;min-width:40px;height:40px;border-radius:10px;
 border:1px solid var(--line);background:var(--card);color:var(--ink);font-size:.9rem;padding:0 12px}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.woocommerce nav.woocommerce-pagination ul li a:hover{border-color:var(--acc);color:var(--acc)}

/* archive page title */
.woocommerce .woocommerce-products-header__title,.woocommerce-products-header .page-title{
 font-family:var(--hfont);font-size:clamp(1.7rem,3vw,2.3rem);margin:0 0 10px}

/* ============================================================
   Single product
   ============================================================ */
.single-product div.product{
 display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:52px;margin-top:8px}
.single-product div.product > .woocommerce-tabs,.single-product div.product > .related.products,
.single-product div.product > .up-sells{grid-column:1/-1}
.single-product div.product div.images,.single-product div.product div.summary{
 float:none;width:auto;margin:0}
.single-product div.product .onsale{top:18px;left:18px}
@media(max-width:860px){.single-product div.product{grid-template-columns:1fr;gap:34px}}

/* gallery */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{display:block}
.woocommerce div.product div.images .woocommerce-product-gallery__image{
 border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff;margin-bottom:14px}
.woocommerce div.product div.images .woocommerce-product-gallery__image img{display:block;width:100%}
.woocommerce div.product div.images .flex-control-thumbs{display:flex;gap:12px;margin:0;flex-wrap:wrap;list-style:none;padding:0}
.woocommerce div.product div.images .flex-control-thumbs li{width:86px}
.woocommerce div.product div.images .flex-control-thumbs img{
 border:1px solid var(--line);border-radius:10px;opacity:.65;cursor:pointer;transition:all .2s;display:block}
.woocommerce div.product div.images .flex-control-thumbs img:hover{opacity:1}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active{opacity:1;border-color:var(--acc);box-shadow:0 0 0 1px var(--acc)}

/* summary */
.woocommerce div.product .product_title{font-family:var(--hfont);font-size:clamp(1.7rem,3vw,2.3rem);
 line-height:1.15;margin:0 0 14px;letter-spacing:-.01em}
.woocommerce div.product .woocommerce-product-rating{margin-bottom:12px;font-size:.88rem}
.woocommerce div.product .woocommerce-product-rating .woocommerce-review-link{color:var(--mut)}
.woocommerce div.product p.price,.woocommerce div.product span.price{
 color:var(--acc);font-family:var(--hfont);font-size:1.9rem;font-weight:700;margin:0 0 6px}
.woocommerce div.product p.price del,.woocommerce div.product span.price del{
 color:var(--mut);font-weight:400;font-size:1.1rem;margin-right:10px}
.woocommerce div.product p.price ins,.woocommerce div.product span.price ins{text-decoration:none}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--mut);margin:12px 0 20px}
.woocommerce div.product .woocommerce-product-details__short-description p{margin-bottom:10px}
.woocommerce div.product .stock{color:#4a7c3a;font-weight:600;font-size:.92rem}
.woocommerce div.product .stock.out-of-stock{color:#b3402e}

.woocommerce div.product form.cart{display:flex;gap:14px;align-items:stretch;margin:22px 0 18px;flex-wrap:wrap}
.woocommerce div.product form.cart .quantity{margin:0}
.woocommerce div.product form.cart .quantity .qty{height:100%;min-height:52px;text-align:center}
.woocommerce div.product .single_add_to_cart_button{
 flex:1;min-width:200px;min-height:52px;font-size:1rem;letter-spacing:.02em}
.woocommerce div.product .product_meta{
 border-top:1px solid var(--line);padding-top:16px;margin-top:8px;font-size:.86rem;color:var(--mut);
 display:flex;flex-direction:column;gap:5px}
.woocommerce div.product .product_meta a{color:var(--acc)}

/* ---------- tiered pricing table (plugin) ---------- */
.tiered-pricing-table,.tiered-pricing__wrapper{margin:20px 0 6px}
.tiered-pricing-table table,.tiered-pricing__table{
 width:100%;border-collapse:separate;border-spacing:0;background:var(--card);
 border:1px solid var(--line);border-radius:var(--r);overflow:hidden;font-size:.95rem;font-family:var(--bfont)}
.tiered-pricing-table table th,.tiered-pricing-table table td,
.tiered-pricing__table th,.tiered-pricing__table td{
 padding:13px 18px;text-align:left;border-bottom:1px solid var(--line)}
.tiered-pricing-table table thead th,.tiered-pricing__table thead th{
 background:var(--ink);color:var(--footink);font-weight:600;font-size:.82rem;
 letter-spacing:.1em;text-transform:uppercase;border-bottom:none}
.tiered-pricing-table table tbody tr:last-child td,.tiered-pricing__table tbody tr:last-child td{border-bottom:none}
.tiered-pricing-table table tbody tr,.tiered-pricing__table tbody tr{transition:background .15s}
.tiered-pricing-table table tbody tr:hover,.tiered-pricing__table tbody tr:hover{background:var(--alt)}
.tiered-pricing-table table td:last-child,.tiered-pricing__table td:last-child{
 font-weight:700;color:var(--acc);font-family:var(--hfont);font-size:1.05rem}
/* active tier row highlight (plugin adds these classes on qty change) */
.tiered-pricing-table tr.tiered-pricing--active td,
.tiered-pricing__table tr.tiered-pricing--active td,
.tiered-pricing-table tr.active td,.tiered-pricing__table tr.active td{
 background:var(--alt);box-shadow:inset 3px 0 0 var(--acc)}

/* ---------- tabs (description / reviews) ---------- */
.woocommerce div.product .woocommerce-tabs{margin-top:56px}
.woocommerce div.product .woocommerce-tabs ul.tabs{
 display:flex;gap:6px;margin:0;padding:0;list-style:none;border-bottom:1px solid var(--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
 background:transparent;border:none;margin:0;padding:0;border-radius:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
 display:block;padding:14px 22px;color:var(--mut);font-weight:600;font-size:.95rem;
 border-bottom:2px solid transparent;margin-bottom:-1px}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{color:var(--ink)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--acc);border-bottom-color:var(--acc)}
.woocommerce div.product .woocommerce-tabs .panel{
 background:var(--card);border:1px solid var(--line);border-top:none;
 border-radius:0 0 var(--r) var(--r);padding:30px 34px;color:var(--ink)}
.woocommerce div.product .woocommerce-tabs .panel h2{
 font-size:1.25rem;margin:0 0 14px}
.woocommerce div.product .woocommerce-tabs .panel p{margin-bottom:12px;color:var(--mut)}
.woocommerce div.product .woocommerce-tabs .panel ul,.woocommerce div.product .woocommerce-tabs .panel ol{
 margin:0 0 14px 20px;color:var(--mut)}

/* reviews */
.woocommerce #reviews #comments ol.commentlist li .comment-text{
 border:1px solid var(--line);border-radius:var(--r);background:var(--card)}
.woocommerce #reviews .comment-form input,.woocommerce #reviews .comment-form textarea{
 width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--bg);
 color:var(--ink);font-size:.95rem;font-family:var(--bfont)}

/* related products */
.woocommerce .related.products,.woocommerce .up-sells{margin-top:60px}
.woocommerce .related.products > h2,.woocommerce .up-sells > h2{
 font-family:var(--hfont);font-size:clamp(1.4rem,2.4vw,1.8rem);margin:0 0 22px;letter-spacing:-.01em}

/* ============================================================
   Cart
   ============================================================ */
.woocommerce table.shop_table{
 width:100%;border:1px solid var(--line);border-radius:var(--r);border-collapse:separate;
 border-spacing:0;background:var(--card);font-size:.95rem;overflow:hidden}
.woocommerce table.shop_table th{
 background:var(--alt);text-align:left;padding:14px 18px;font-size:.8rem;letter-spacing:.1em;
 text-transform:uppercase;color:var(--mut);border-bottom:1px solid var(--line)}
.woocommerce table.shop_table td{padding:16px 18px;border-bottom:1px solid var(--line);vertical-align:middle}
.woocommerce table.shop_table tr:last-child td{border-bottom:none}
.woocommerce table.shop_table .product-name a{color:var(--ink);font-weight:600}
.woocommerce table.shop_table .product-name a:hover{color:var(--acc)}
.woocommerce table.shop_table .product-thumbnail img{width:64px;border-radius:10px;border:1px solid var(--line)}
.woocommerce table.shop_table .product-remove a.remove{
 display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:50%;
 color:#b3402e;border:1px solid var(--line);background:var(--card);font-size:1.05rem}
.woocommerce table.shop_table .product-remove a.remove:hover{background:#b3402e;color:#fff;border-color:#b3402e}
.woocommerce .cart-collaterals{display:flex;justify-content:flex-end;margin-top:30px}
.woocommerce .cart_totals{width:100%;max-width:420px;background:var(--card);border:1px solid var(--line);
 border-radius:var(--r);padding:26px 28px;float:none}
.woocommerce .cart_totals h2{font-family:var(--hfont);font-size:1.3rem;margin:0 0 16px}
.woocommerce .cart_totals table{border:none;background:transparent;border-radius:0}
.woocommerce .cart_totals table th{background:transparent;border:none;padding:10px 0;text-transform:none;
 letter-spacing:0;font-size:.94rem;color:var(--mut)}
.woocommerce .cart_totals table td{border:none;padding:10px 0;text-align:right}
.woocommerce .cart_totals .order-total th,.woocommerce .cart_totals .order-total td{
 font-size:1.15rem;font-weight:700;color:var(--ink);border-top:1px solid var(--line);padding-top:16px}
.woocommerce .cart_totals .order-total .amount{color:var(--acc);font-family:var(--hfont)}
.woocommerce .wc-proceed-to-checkout{margin-top:20px;text-align:right}
.woocommerce .wc-proceed-to-checkout .checkout-button{width:100%;font-size:1.02rem;padding:16px}
.woocommerce .actions .coupon{display:flex;gap:10px;flex-wrap:wrap}
.woocommerce .actions .coupon .input-text{
 padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;min-width:200px;font-family:var(--bfont)}

/* empty cart / shop notices */
.woocommerce .cart-empty.woocommerce-info{border-left-color:var(--acc)}
.woocommerce .return-to-shop .button{margin-top:6px}

/* ============================================================
   Checkout
   ============================================================ */
.woocommerce form.checkout{display:grid;grid-template-columns:1.15fr .85fr;gap:44px;margin-top:10px}
@media(max-width:860px){.woocommerce form.checkout{grid-template-columns:1fr}}
.woocommerce form.checkout .col2-set,.woocommerce form.checkout #order_review_heading,
.woocommerce form.checkout #order_review{grid-column:auto}
.woocommerce form.checkout .col-1,.woocommerce form.checkout .col-2{float:none;width:auto;max-width:none}
.woocommerce form.checkout h3,.woocommerce form.checkout #order_review_heading{
 font-family:var(--hfont);font-size:1.35rem;margin:0 0 18px}
.woocommerce form.checkout .form-row{margin-bottom:14px;float:none;width:100%;padding:0}
.woocommerce form.checkout .form-row label{font-size:.82rem;font-weight:600;color:var(--mut);margin-bottom:6px;display:block}
.woocommerce form.checkout .form-row .input-text,.woocommerce form.checkout .form-row select,
.woocommerce form.checkout .form-row textarea{
 width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--card);
 color:var(--ink);font-size:.95rem;font-family:var(--bfont)}
.woocommerce form.checkout .form-row .input-text:focus,.woocommerce form.checkout .form-row select:focus,
.woocommerce form.checkout .form-row textarea:focus{outline:none;border-color:var(--acc)}
.woocommerce form.checkout .form-row-first,.woocommerce form.checkout .form-row-last{width:48.5%}
.woocommerce form.checkout .form-row-first{float:left}
.woocommerce form.checkout .form-row-last{float:right}
@media(max-width:560px){.woocommerce form.checkout .form-row-first,.woocommerce form.checkout .form-row-last{width:100%;float:none}}
.woocommerce form.checkout #order_review{background:var(--card);border:1px solid var(--line);
 border-radius:var(--r);padding:28px;align-self:start}
.woocommerce form.checkout #order_review table.shop_table{background:transparent;border:none}
.woocommerce form.checkout #order_review table.shop_table th{background:transparent;border:none;padding:8px 0;text-transform:none;letter-spacing:0}
.woocommerce form.checkout #order_review table.shop_table td{border:none;padding:8px 0}
.woocommerce form.checkout #order_review .order-total th,.woocommerce form.checkout #order_review .order-total td{
 border-top:1px solid var(--line);padding-top:14px;font-weight:700;font-size:1.1rem}
.woocommerce form.checkout #order_review .order-total .amount{color:var(--acc);font-family:var(--hfont)}
.woocommerce-checkout #payment{background:var(--alt);border:1px solid var(--line);border-radius:var(--r);margin-top:22px}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--line);padding:18px 22px}
.woocommerce-checkout #payment div.form-row{padding:18px 22px}
.woocommerce #place_order{width:100%;font-size:1.05rem;padding:16px;margin-top:8px}

/* ============================================================
   My account
   ============================================================ */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:240px 1fr;gap:40px}
@media(max-width:760px){.woocommerce-account .woocommerce{grid-template-columns:1fr}}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;background:var(--card);
 border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.woocommerce-MyAccount-navigation ul li{border-bottom:1px solid var(--line)}
.woocommerce-MyAccount-navigation ul li:last-child{border-bottom:none}
.woocommerce-MyAccount-navigation ul li a{display:block;padding:13px 20px;color:var(--ink);font-size:.93rem}
.woocommerce-MyAccount-navigation ul li a:hover{background:var(--alt);color:var(--acc)}
.woocommerce-MyAccount-navigation ul li.is-active a{background:var(--ink);color:var(--bg)}
.woocommerce form.login,.woocommerce form.register{
 background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:30px;max-width:460px;margin:30px auto}
.woocommerce form.login .form-row,.woocommerce form.register .form-row{margin-bottom:14px}
.woocommerce form.login label,.woocommerce form.register label{font-size:.84rem;font-weight:600;color:var(--mut);display:block;margin-bottom:6px}
.woocommerce form.login .input-text,.woocommerce form.register .input-text{
 width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--bg);
 color:var(--ink);font-size:.95rem;font-family:var(--bfont)}
.woocommerce form.login .button,.woocommerce form.register .button{width:100%}

/* order received */
.woocommerce-order .woocommerce-thankyou-order-received{
 font-family:var(--hfont);font-size:1.6rem;margin:20px 0}
.woocommerce ul.order_details{background:var(--card);border:1px solid var(--line);border-radius:var(--r);
 padding:22px 26px;display:flex;flex-wrap:wrap;gap:18px 40px;margin-bottom:30px}
.woocommerce ul.order_details li{font-size:.9rem;color:var(--mut)}
.woocommerce ul.order_details li strong{display:block;color:var(--ink);font-size:1rem;margin-top:4px}

/* widgets / misc */
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content{background:var(--line)}
.woocommerce .widget_price_filter .ui-slider .ui-slider-range,
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle{background:var(--acc)}
.woocommerce .product_list_widget li img{border-radius:8px;border:1px solid var(--line)}
