/* LSDB 1.5 — native WooCommerce forms, gallery and product details. */
.woocommerce-page .entry-content>.woocommerce,
.woocommerce-page .entry-content>.wp-block-woocommerce-cart,
.woocommerce-page .entry-content>.wp-block-woocommerce-checkout{max-width:1180px;width:100%;font-size:16px}
.woocommerce-page .entry-head{max-width:1180px;margin:0 auto 32px}
.woocommerce-page .entry-head h1{font-size:clamp(32px,4vw,52px);letter-spacing:-.04em}
.woocommerce form .form-row{margin:0 0 20px;padding:0;min-width:0;float:none;width:auto}
.woocommerce form .form-row label{display:block;margin:0 0 7px;font-size:14px;line-height:1.5;font-weight:600}
.woocommerce form .form-row .woocommerce-input-wrapper{display:block;width:100%}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.woocommerce .woocommerce-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]){box-sizing:border-box;width:100%;max-width:100%;min-height:50px;padding:12px 14px;border:1px solid #d8ceca;border-radius:8px;background:#fff;color:var(--lsdb-ink);font:inherit;font-size:16px;line-height:1.5;transition:border-color .15s,box-shadow .15s}
.woocommerce form .form-row textarea{min-height:110px;resize:vertical}
.woocommerce form .form-row input:focus,.woocommerce form .form-row textarea:focus,.woocommerce form .form-row select:focus{outline:2px solid var(--lsdb-accent);outline-offset:2px;border-color:var(--lsdb-accent)}
.woocommerce form .form-row .description,.woocommerce form .form-row .optional{color:var(--lsdb-muted);font-size:12px;font-weight:400}
.woocommerce form .form-row .description{display:block;margin-top:7px;line-height:1.5}
.woocommerce form .form-row .required{color:var(--lsdb-accent);text-decoration:none}
.woocommerce form .form-row input[type=checkbox],.woocommerce form .form-row input[type=radio]{width:18px;height:18px;vertical-align:middle;accent-color:var(--lsdb-accent);margin:0 7px 0 0}
.woocommerce form .form-row label.checkbox,.woocommerce form .form-row label.woocommerce-form__label-for-checkbox{display:inline;line-height:1.8}
.woocommerce .password-input{display:block;position:relative;width:100%}
.woocommerce .password-input input{padding-right:52px!important}
.woocommerce .show-password-input{position:absolute;right:12px;top:12px;cursor:pointer;padding:2px 6px}
.woocommerce .show-password-input::before{content:'◉';font-size:20px}
.woocommerce form .form-row.woocommerce-invalid input.input-text{border-color:#b32238;background:#fff9f9}
.woocommerce .select2-container{width:100%!important}
.woocommerce .select2-container .select2-selection--single{height:50px;border:1px solid #d8ceca;border-radius:8px;background:#fff}
.woocommerce .select2-container .select2-selection__rendered{line-height:48px;padding-left:14px;padding-right:30px;font-size:16px}
.woocommerce .select2-container .select2-selection__arrow{height:48px;right:8px}
.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper,.woocommerce-address-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
.woocommerce .form-row-wide{grid-column:1/-1;clear:both}
.woocommerce .lsdb-cf-row[hidden]{display:none!important}
.woocommerce .lsdb-cf-row input{text-transform:uppercase;letter-spacing:.06em}
.woocommerce form.checkout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr);column-gap:36px;align-items:start}
.woocommerce form.checkout #customer_details{grid-column:1;grid-row:1/4;width:auto;float:none}
.woocommerce form.checkout #customer_details>.col-1,.woocommerce form.checkout #customer_details>.col-2{width:100%;float:none}
.woocommerce form.checkout #order_review_heading{grid-column:2;margin:0;padding:24px 24px 18px;background:var(--lsdb-soft);border-radius:14px 14px 0 0;font-size:22px}
.woocommerce form.checkout #order_review{grid-column:2;padding:0 24px 24px;background:var(--lsdb-soft);border-radius:0 0 14px 14px;min-width:0}
.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields{padding:26px;background:#fff;border:1px solid var(--lsdb-line);border-radius:14px;margin-bottom:24px}
.woocommerce-billing-fields h3,.woocommerce-shipping-fields h3,.woocommerce-additional-fields h3{font-size:22px;line-height:1.4;margin:0 0 24px}
.woocommerce #ship-to-different-address{font-size:16px}
.woocommerce-checkout-review-order-table{width:100%;font-size:14px;background:transparent}
.woocommerce #order_review table.shop_table{border:0!important}
.woocommerce #order_review table.shop_table td,.woocommerce #order_review table.shop_table th{padding:14px 0!important;text-align:left;vertical-align:top}
.woocommerce #order_review table.shop_table .product-total{text-align:right}
.woocommerce #order_review table.shop_table .order-total{font-size:20px}
.woocommerce ul#shipping_method,.woocommerce ul.wc_payment_methods{list-style:none;margin:0;padding:0}
.woocommerce #shipping_method li{margin:8px 0}
.woocommerce #payment{margin-top:20px}
.woocommerce #payment .wc_payment_method{padding:15px 0;border-top:1px solid #d8ceca}
.woocommerce #payment .wc_payment_method>label{font-weight:600;font-size:14px;cursor:pointer}
.woocommerce #payment .wc_payment_method>label img{max-height:28px;width:auto;vertical-align:middle;margin-left:8px}
.woocommerce #payment .payment_box{background:#fff;padding:14px;border-radius:8px;margin-top:12px;font-size:14px}
.woocommerce #payment .payment_box p{margin:0 0 8px}
.woocommerce #payment .place-order{margin:16px 0 0}
.woocommerce .woocommerce-privacy-policy-text{font-size:12px;line-height:1.6;color:var(--lsdb-muted)}
.woocommerce #place_order,.woocommerce .checkout-button{width:100%;min-height:52px!important;background:var(--lsdb-accent)!important;color:#fff!important;border-radius:8px!important;white-space:normal;text-align:center}
.woocommerce form button.button,.woocommerce form input.button,.woocommerce .cart-collaterals a.button{border-radius:8px!important;padding:12px 22px;cursor:pointer;background:var(--lsdb-ink);color:#fff;line-height:1.5}
.woocommerce button:disabled{opacity:.5;cursor:not-allowed!important}
.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;border-radius:8px;padding:16px 20px!important;line-height:1.6}
.woocommerce-message::after{content:'';display:block;clear:both}
.woocommerce-message .button{float:right;margin-left:15px}
.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword,.woocommerce-EditAccountForm,.woocommerce-address-fields{padding:28px;border:1px solid var(--lsdb-line);border-radius:14px;background:#fff}
.woocommerce #customer_login{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.woocommerce #customer_login>div{float:none;width:auto;min-width:0}
.woocommerce #customer_login h2{font-size:26px}
.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation){display:grid;grid-template-columns:230px minmax(0,1fr);gap:32px;align-items:start}
.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation)>.woocommerce-notices-wrapper{grid-column:1/-1}
.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{width:auto;float:none;min-width:0}
.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0;padding:8px;background:var(--lsdb-soft);border-radius:12px}
.woocommerce-account .woocommerce-MyAccount-navigation a{padding:12px 14px;border:0;border-radius:7px;font-size:14px}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:var(--lsdb-accent);color:white}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:#e8dedc;color:var(--lsdb-ink)}
.woocommerce .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.woocommerce .woocommerce-Address{float:none;width:auto;padding:22px;border:1px solid var(--lsdb-line);border-radius:12px;background:#fff}
.woocommerce .woocommerce-Address h2{font-size:22px}
.woocommerce address{font-style:normal;line-height:1.8}
.woocommerce fieldset{margin:24px 0;padding:20px;border:1px solid var(--lsdb-line);border-radius:8px;min-width:0}
.woocommerce legend{padding:0 8px;font-size:18px;font-weight:600}
.woocommerce table.shop_table{width:100%;font-size:14px;background:#fff}
.woocommerce table.shop_table th{text-align:left}
.woocommerce table.shop_table td{overflow-wrap:anywhere}
.woocommerce-cart .product-thumbnail img{width:72px;height:90px;object-fit:contain;border-radius:6px}
.woocommerce-cart .product-remove a{display:grid;place-items:center;width:32px;height:32px;text-decoration:none;border-radius:50%;background:var(--lsdb-soft);font-size:24px}
.woocommerce-cart .coupon{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.woocommerce-cart .coupon label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.woocommerce-cart #coupon_code{min-height:46px;padding:10px 14px;border:1px solid var(--lsdb-line);border-radius:8px;max-width:100%;font-size:16px}
.woocommerce-cart td.actions>.button{margin-top:12px}
.woocommerce-cart .cart-collaterals{display:flex;justify-content:flex-end;margin-top:28px}
.woocommerce-cart .cart_totals{padding:24px;background:var(--lsdb-soft);border-radius:14px}
.woocommerce-cart .cart_totals h2{margin:0 0 20px;font-size:24px}
.woocommerce .quantity .qty{border-radius:7px;font-size:16px;text-align:center}
/* Native block inputs retain floating labels and their own layout. */
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,.wc-block-components-textarea{border-radius:8px!important}
.wc-block-components-checkout-step{padding-bottom:24px}
.wc-block-components-sidebar{border-radius:14px;background:var(--lsdb-soft);padding:24px}
.wc-block-components-checkout-place-order-button{background:var(--lsdb-accent);color:white;border-radius:8px;min-height:52px}
/* Gallery: no list markers, consistent thumbnails, native FlexSlider preserved. */
.woocommerce div.product .woocommerce-product-gallery{position:relative;min-width:0;align-self:start}
.woocommerce-product-gallery__wrapper{margin:0;transition:transform .3s}
.woocommerce .woocommerce-product-gallery__image a{display:block}
.woocommerce .woocommerce-product-gallery__image img:not(.zoomImg){display:block;width:100%;height:auto}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs{display:flex;gap:10px;list-style:none!important;margin:14px 0 0!important;padding:2px 2px 10px!important;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin}
.woocommerce div.product .flex-control-thumbs li{list-style:none!important;float:none!important;flex:0 0 82px;width:82px!important;margin:0!important;padding:0!important;scroll-snap-align:start}
.woocommerce div.product .flex-control-thumbs li::marker{content:''}
.woocommerce div.product .flex-control-thumbs img{box-sizing:border-box;display:block;width:82px;height:104px;object-fit:contain;background:#fff;border:2px solid transparent;border-radius:7px;padding:3px;cursor:pointer;opacity:.65;transition:opacity .15s,border-color .15s}
.woocommerce div.product .flex-control-thumbs img.flex-active,.woocommerce div.product .flex-control-thumbs img:hover{opacity:1;border-color:var(--lsdb-accent)}
.woocommerce div.product .flex-control-thumbs img:focus-visible{outline:2px solid var(--lsdb-accent);outline-offset:1px;opacity:1}
.woocommerce .woocommerce-product-gallery__trigger{position:absolute;z-index:5;right:14px;top:14px;display:grid;place-items:center;width:42px;height:42px;background:#fff;border:1px solid var(--lsdb-line);border-radius:50%;text-decoration:none;box-shadow:0 3px 12px #0001}
/* Product details */
.woocommerce div.product .woocommerce-tabs{min-width:0;border-top:1px solid var(--lsdb-line);padding-top:24px}
.woocommerce div.product .woocommerce-tabs ul.tabs{list-style:none!important;gap:8px;border-bottom:1px solid var(--lsdb-line);overflow-x:auto;padding-bottom:12px!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{list-style:none!important;flex-shrink:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:block;padding:12px 20px!important;border-radius:8px;text-decoration:none;font-size:14px;font-weight:600;color:var(--lsdb-muted)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{background:var(--lsdb-accent);color:#fff}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{background:var(--lsdb-soft);color:var(--lsdb-ink)}
.woocommerce div.product .woocommerce-tabs .panel{max-width:none;margin:0;padding:26px;border:1px solid var(--lsdb-line);border-radius:12px;background:#fff;font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.woocommerce div.product .woocommerce-tabs .panel>h2{font-size:24px;line-height:1.3;margin:0 0 20px}
.woocommerce div.product .woocommerce-tabs .panel p{max-width:85ch;margin:0 0 16px}
.woocommerce table.shop_attributes{border-collapse:collapse;width:100%;border:1px solid var(--lsdb-line);font-size:15px}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{padding:16px 20px;text-align:left;border-bottom:1px solid var(--lsdb-line);vertical-align:top}
.woocommerce table.shop_attributes th{width:28%;font-weight:600;background:var(--lsdb-soft)}
.woocommerce table.shop_attributes td{font-style:normal}
.woocommerce table.shop_attributes td p{margin:0!important}
.woocommerce table.shop_attributes tr:nth-child(even) td{background:#fcfaf8}
.woocommerce #review_form label{display:block;margin-bottom:6px}
.woocommerce #review_form textarea,.woocommerce #review_form input:not([type=checkbox]):not([type=submit]){width:100%;border:1px solid var(--lsdb-line);padding:12px;font:inherit;border-radius:8px}
.woocommerce #review_form #submit{padding:12px 24px;background:var(--lsdb-accent);color:white;border:0;border-radius:8px;cursor:pointer}
@media(max-width:900px){
 .woocommerce form.checkout{display:block}
 .woocommerce form.checkout #order_review_heading{margin-top:24px}
 .woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation){grid-template-columns:1fr;gap:22px}
 .woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;overflow-x:auto;gap:5px}
 .woocommerce-account .woocommerce-MyAccount-navigation li{flex-shrink:0}
}
@media(max-width:600px){
 .woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper,.woocommerce-address-fields__field-wrapper,.woocommerce #customer_login,.woocommerce .woocommerce-Addresses{grid-template-columns:1fr;gap:0}
 .woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields,.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword,.woocommerce-EditAccountForm,.woocommerce-address-fields{padding:18px}
 .woocommerce form.checkout #order_review,.woocommerce form.checkout #order_review_heading{padding-left:18px;padding-right:18px}
 .woocommerce .woocommerce-Address{margin-bottom:18px}
 .woocommerce table.shop_table_responsive thead{display:none}
 .woocommerce table.shop_table_responsive tr{display:block;border-bottom:1px solid var(--lsdb-line);padding:8px 0}
 .woocommerce table.shop_table_responsive td{display:block;border:0!important;padding:10px 12px!important;text-align:right}
 .woocommerce table.shop_table_responsive td[data-title]::before{content:attr(data-title);float:left;font-weight:600;margin-right:12px}
 .woocommerce table.shop_table_responsive td.product-thumbnail{text-align:center}
 .woocommerce table.shop_table_responsive td.product-thumbnail img{margin:auto}
 .woocommerce-cart .coupon{display:grid;grid-template-columns:1fr;width:100%}
 .woocommerce-cart td.actions>.button{width:100%}
 .woocommerce div.product .woocommerce-tabs .panel{padding:18px}
 .woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{padding:12px;overflow-wrap:anywhere}
 .woocommerce table.shop_attributes th{width:36%}
 .woocommerce div.product .flex-control-thumbs li{flex-basis:68px;width:68px!important}
 .woocommerce div.product .flex-control-thumbs img{width:68px;height:86px}
 .woocommerce-message .button{float:none;display:flex;margin:0 0 12px}
}
