/* Warind Dropship - storefront look. Applied only when <body> has .wd-style (WooCommerce pages). */

/* ---------- Deals-list sign-up (always styled) ---------- */
.wd-sub { background:#121212; color:#F4F1EA; padding:48px 24px; margin:48px 0 0; font-family:'Roboto', Arial, sans-serif; clear:both; }
.wd-sub-in { max-width:1100px; margin:0 auto; }
.wd-sub .wd-kicker { font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#D7F75B; }
.wd-sub h2 { font-family:'Roboto', Arial, sans-serif; font-size:clamp(26px,4vw,42px); font-weight:900; letter-spacing:-.04em; line-height:1.05; margin:8px 0 8px; color:#F4F1EA; }
.wd-sub p { color:#bdb8ad; margin:0 0 18px; }
.wd-sub form { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.wd-sub input[type=text], .wd-sub input[type=tel], .wd-sub input[type=email], .wd-sub select { background:#1e1e1e; border:2px solid #3a3a3a; color:#F4F1EA; padding:11px 12px; border-radius:0; font:inherit; width:100%; }
.wd-sub .wd-consent { grid-column:1 / -2; display:flex; gap:10px; align-items:center; color:#bdb8ad; font-size:14px; }
.wd-sub .wd-consent input { width:18px; height:18px; accent-color:#D7F75B; }
.wd-sub button { background:#FF4F1F; color:#fff; border:2px solid #FF4F1F; font:inherit; font-weight:700; padding:12px 18px; cursor:pointer; border-radius:0; }
.wd-sub button:hover { background:#D7F75B; border-color:#D7F75B; color:#121212; }
.wd-sub .wd-sub-ok { background:#D7F75B; color:#121212; padding:10px 14px; font-weight:700; }
.wd-sub .wd-sub-err { background:#FFD8CC; color:#121212; padding:10px 14px; font-weight:700; }
@media (max-width:760px) { .wd-sub form { grid-template-columns:1fr; } .wd-sub .wd-consent { grid-column:auto; } }

/* ---------- Store look ---------- */
body.wd-style { --wd-ink:#121212; --wd-ink2:#5A564E; --wd-paper:#F4F1EA; --wd-accent:#FF4F1F; --wd-lime:#D7F75B; --wd-soft:#D6CFBF; }
body.wd-style, body.wd-style .woocommerce, body.wd-style input, body.wd-style select, body.wd-style textarea, body.wd-style button,
body.wd-style h1, body.wd-style h2, body.wd-style h3, body.wd-style h4 { font-family:'Roboto', Arial, sans-serif !important; }
body.wd-style .woocommerce-products-header__title, body.wd-style .product_title, body.wd-style .entry-title { font-weight:900 !important; letter-spacing:-.04em; line-height:1.02; }

/* Ruled product grid instead of cards */
body.wd-style ul.products { display:grid !important; grid-template-columns:repeat(4,1fr); gap:0 !important; border-top:2px solid var(--wd-ink); border-left:2px solid var(--wd-ink); margin:0 0 32px !important; padding:0 !important; }
body.wd-style ul.products::before, body.wd-style ul.products::after { display:none !important; }
body.wd-style ul.products li.product { width:auto !important; margin:0 !important; padding:0 0 16px !important; float:none !important; border-right:2px solid var(--wd-ink); border-bottom:2px solid var(--wd-ink); background:transparent; box-shadow:none !important; border-radius:0 !important; position:relative; transition:background .15s; }
body.wd-style ul.products li.product:hover { background:#fff; }
body.wd-style ul.products li.product img { margin:0 0 12px !important; border-bottom:2px solid var(--wd-ink); border-radius:0 !important; aspect-ratio:1/1; object-fit:cover; width:100%; }
body.wd-style ul.products li.product .woocommerce-loop-product__title, body.wd-style ul.products li.product .ast-loop-product__link h2 { font-size:15px !important; font-weight:500 !important; padding:0 14px !important; color:var(--wd-ink); letter-spacing:0; }
body.wd-style ul.products li.product .price { display:block; padding:6px 14px 0 !important; font-weight:900 !important; font-size:19px !important; color:var(--wd-ink) !important; letter-spacing:-.02em; }
body.wd-style ul.products li.product .price del { font-weight:400; font-size:13px; color:var(--wd-ink2); opacity:1; }
body.wd-style ul.products li.product .price ins { text-decoration:none; }
body.wd-style ul.products li.product .ast-woo-product-category, body.wd-style ul.products li.product .ast-woo-shop-product-description { padding:0 14px; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--wd-ink2); }
body.wd-style ul.products li.product .button { margin:10px 14px 0 !important; }
body.wd-style span.onsale { background:var(--wd-lime) !important; color:var(--wd-ink) !important; border-radius:0 !important; min-height:0 !important; min-width:0 !important; line-height:1 !important; padding:5px 8px !important; font-size:11px !important; font-weight:900 !important; letter-spacing:.1em; text-transform:uppercase; top:12px !important; left:12px !important; right:auto !important; margin:0 !important; }
body.wd-style ul.products li.product.outofstock img { filter:grayscale(1); opacity:.5; }
body.wd-style .ast-shop-product-out-of-stock, body.wd-style .out-of-stock { background:var(--wd-ink) !important; color:var(--wd-paper) !important; font-weight:900; text-transform:uppercase; letter-spacing:.08em; font-size:12px; padding:4px 8px; display:inline-block; }

/* Buttons */
body.wd-style .woocommerce a.button, body.wd-style .woocommerce button.button, body.wd-style .woocommerce input.button,
body.wd-style .woocommerce #respond input#submit, body.wd-style .wc-block-components-button, body.wd-style a.checkout-button {
  background:var(--wd-ink) !important; color:#fff !important; border:2px solid var(--wd-ink) !important; border-radius:0 !important; font-weight:700 !important; padding:12px 20px !important; box-shadow:none !important; transition:background .15s, border-color .15s; }
body.wd-style .woocommerce a.button:hover, body.wd-style .woocommerce button.button:hover, body.wd-style .wc-block-components-button:hover, body.wd-style a.checkout-button:hover { background:var(--wd-accent) !important; border-color:var(--wd-accent) !important; }
body.wd-style .single_add_to_cart_button, body.wd-style #place_order, body.wd-style a.checkout-button, body.wd-style .wc-block-components-checkout-place-order-button { background:var(--wd-accent) !important; border-color:var(--wd-accent) !important; }
body.wd-style .single_add_to_cart_button:hover, body.wd-style #place_order:hover { background:var(--wd-ink) !important; border-color:var(--wd-ink) !important; }

/* Single product */
body.wd-style div.product .price { font-size:38px !important; font-weight:900 !important; letter-spacing:-.03em; color:var(--wd-ink) !important; }
body.wd-style div.product .price del { font-size:18px; font-weight:400; color:var(--wd-ink2); }
body.wd-style div.product .price ins { text-decoration:none; }
body.wd-style div.product .woocommerce-product-gallery img { border:2px solid var(--wd-ink); border-radius:0; }
body.wd-style div.product p.stock { font-weight:700; }
body.wd-style div.product p.stock.out-of-stock { color:#B91C1C !important; background:none !important; padding:0; }
body.wd-style .quantity input.qty { border:2px solid var(--wd-ink) !important; border-radius:0 !important; font-weight:700; }
body.wd-style .woocommerce-tabs ul.tabs { border-bottom:2px solid var(--wd-ink) !important; }
body.wd-style .woocommerce-tabs ul.tabs li.active a { color:var(--wd-accent) !important; }

/* Forms (checkout, account) */
body.wd-style .woocommerce form .form-row input.input-text, body.wd-style .woocommerce form .form-row textarea, body.wd-style .woocommerce form .form-row select,
body.wd-style .wc-block-components-text-input input, body.wd-style .wc-block-components-textarea { border:2px solid var(--wd-ink) !important; border-radius:0 !important; background:#fff !important; }
body.wd-style .woocommerce-info, body.wd-style .woocommerce-message { border-top-color:var(--wd-accent) !important; border-radius:0; }
body.wd-style .woocommerce-message { background:var(--wd-lime) !important; color:var(--wd-ink) !important; }
body.wd-style table.shop_table { border:2px solid var(--wd-ink) !important; border-radius:0 !important; }
body.wd-style .woocommerce-pagination .page-numbers li .page-numbers.current { background:var(--wd-ink); color:#fff; }

@media (max-width:921px) { body.wd-style ul.products { grid-template-columns:repeat(2,1fr); } }
