/* WooBeautify Pro — Main Stylesheet v2.0.1 (Click Fix + Aesthetic Upgrade) */
:root {
  --wbp-primary: #2563eb;
  --wbp-accent: #f59e0b;
  --wbp-primary-dark: #1d4ed8;
  --wbp-primary-light: #dbeafe;
  --wbp-text: #111827;
  --wbp-text-muted: #6b7280;
  --wbp-border: #e5e7eb;
  --wbp-bg: #f9fafb;
  --wbp-white: #ffffff;
  --wbp-radius: 12px;
  --wbp-shadow: 0 2px 12px rgba(0,0,0,.07);
  --wbp-shadow-hover: 0 12px 36px rgba(0,0,0,.13);
  --wbp-transition: all .25s ease;
  --wbp-green: #10b981;
  --wbp-red: #ef4444;
  --wbp-orange: #f97316;
}

/* ========== BUTTONS ========== */
.wbp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: var(--wbp-radius);
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: none; text-decoration: none; transition: var(--wbp-transition);
  letter-spacing: .2px;
}
.wbp-btn-primary { background: var(--wbp-primary); color: #fff; }
.wbp-btn-primary:hover { background: var(--wbp-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,.35); }
.wbp-btn-secondary { background: transparent; color: var(--wbp-primary); border: 2px solid var(--wbp-primary); }
.wbp-btn-secondary:hover { background: var(--wbp-primary-light); }
.wbp-btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; background: var(--wbp-primary); color: #fff; text-decoration: none; display: inline-block; font-weight: 600; transition: var(--wbp-transition); }
.wbp-btn-sm:hover { background: var(--wbp-primary-dark); color: #fff; }

/* ========== SHOP LAYOUT ========== */
.wbp-shop-layout { display: flex; gap: 28px; align-items: flex-start; }
.wbp-layout-left { flex-direction: row; }
.wbp-layout-top { flex-direction: column; }
.wbp-products-area { flex: 1; min-width: 0; }

/* ========== SHOP BANNER ========== */
.wbp-shop-banner { position: relative; border-radius: 18px; overflow: hidden; margin-bottom: 32px; max-height: 300px; }
.wbp-shop-banner img { width: 100%; height: 300px; object-fit: cover; display: block; }
.wbp-banner-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; padding: 48px; }
.wbp-banner-overlay h2 { color: #fff; font-size: 34px; font-weight: 800; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.35); letter-spacing: -.3px; }

/* ========== FILTER SIDEBAR ========== */
.wbp-filter-sidebar { width: 270px; flex-shrink: 0; background: var(--wbp-white); border: 1px solid var(--wbp-border); border-radius: 16px; padding: 22px; position: sticky; top: 24px; box-shadow: var(--wbp-shadow); }
.wbp-layout-top .wbp-filter-sidebar { width: 100%; position: static; display: flex; flex-wrap: wrap; gap: 16px; }
.wbp-layout-top .wbp-filter-group { min-width: 180px; flex: 1; }
.wbp-layout-top .wbp-apply-filters { width: auto; }
.wbp-filter-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--wbp-border); }
.wbp-filter-header h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--wbp-text); }
.wbp-filter-header-actions { display: flex; align-items: center; gap: 12px; }
.wbp-filter-clear { background: none; border: none; color: var(--wbp-primary); cursor: pointer; font-size: 13px; padding: 0; }
.wbp-filter-close-mobile { display: none; background: #f3f4f6; border: none; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 20px; align-items: center; justify-content: center; line-height: 1; }
.wbp-filter-clear:hover { text-decoration: underline; }
.wbp-filter-group { margin-bottom: 20px; border-bottom: 1px solid var(--wbp-border); padding-bottom: 16px; }
.wbp-filter-group:last-of-type { border-bottom: none; }
.wbp-filter-title { font-size: 14px; font-weight: 600; color: var(--wbp-text); margin: 0 0 10px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.wbp-filter-title .wbp-toggle-icon { color: var(--wbp-text-muted); transition: transform .2s; }
.wbp-filter-title.collapsed .wbp-toggle-icon { transform: rotate(-90deg); }
.wbp-search-input { width: 100%; padding: 9px 14px; border: 1.5px solid var(--wbp-border); border-radius: 8px; font-size: 14px; box-sizing: border-box; transition: var(--wbp-transition); background: var(--wbp-bg); }
.wbp-search-input:focus { outline: none; border-color: var(--wbp-primary); box-shadow: 0 0 0 3px var(--wbp-primary-light); background: #fff; }
.wbp-cat-list, .wbp-sub-cat-list { list-style: none; margin: 0; padding: 0; }
.wbp-sub-cat-list { padding-left: 14px; border-left: 2px solid var(--wbp-border); margin: 6px 0 6px 8px; }
.wbp-cat-link { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--wbp-text); font-size: 14px; transition: var(--wbp-transition); gap: 10px; }
.wbp-cat-link span:first-child { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wbp-cat-link:hover, .wbp-cat-link.active { background: var(--wbp-primary-light); color: var(--wbp-primary); font-weight: 600; }
.wbp-cat-count { background: var(--wbp-border); color: var(--wbp-text-muted); border-radius: 20px; padding: 2px 8px; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.wbp-price-display { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--wbp-primary); margin-bottom: 14px; }
.wbp-range-slider { position: relative; height: 40px; }
.wbp-range { position: absolute; width: 100%; pointer-events: none; background: transparent; -webkit-appearance: none; height: 6px; top: 50%; transform: translateY(-50%); }
.wbp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--wbp-primary); cursor: pointer; pointer-events: all; box-shadow: 0 2px 8px rgba(37,99,235,.4); border: 3px solid #fff; transition: transform .15s; }
.wbp-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.wbp-range-track { position: absolute; width: 100%; height: 6px; background: var(--wbp-border); border-radius: 3px; top: 50%; transform: translateY(-50%); }
.wbp-range-fill { height: 100%; background: var(--wbp-primary); border-radius: 3px; }
.wbp-attr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wbp-checkbox-label { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 14px; color: var(--wbp-text); padding: 4px 6px; border-radius: 6px; transition: background .15s; }
.wbp-checkbox-label:hover { background: var(--wbp-bg); }
.wbp-checkbox-label input { display: none; }
.wbp-checkbox-custom { width: 18px; height: 18px; border: 2px solid var(--wbp-border); border-radius: 5px; flex-shrink: 0; position: relative; transition: var(--wbp-transition); }
.wbp-checkbox-label input:checked ~ .wbp-checkbox-custom { background: var(--wbp-primary); border-color: var(--wbp-primary); }
.wbp-checkbox-label input:checked ~ .wbp-checkbox-custom::after { content: "✓"; position: absolute; color: #fff; font-size: 11px; top: 50%; left: 50%; transform: translate(-50%,-50%); font-weight: bold; }
.wbp-attr-count { color: var(--wbp-text-muted); font-size: 12px; margin-left: auto; }
.wbp-swatches-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wbp-color-swatch { cursor: pointer; position: relative; }
.wbp-color-swatch input { display: none; }
.wbp-color-dot { display: block; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--wbp-border); transition: var(--wbp-transition); }
.wbp-color-swatch.active .wbp-color-dot, .wbp-color-swatch:hover .wbp-color-dot { border-color: var(--wbp-primary); box-shadow: 0 0 0 3px var(--wbp-primary-light); }
.wbp-select { width: 100%; padding: 9px 12px; border: 1.5px solid var(--wbp-border); border-radius: 8px; font-size: 14px; background: var(--wbp-white); cursor: pointer; transition: var(--wbp-transition); }
.wbp-select:focus { outline: none; border-color: var(--wbp-primary); }
.wbp-apply-filters { width: 100%; padding: 12px; border-radius: 10px; font-size: 15px; font-weight: 700; background: var(--wbp-primary); color: #fff; border: none; cursor: pointer; transition: var(--wbp-transition); margin-top: 10px; letter-spacing: .2px; }
.wbp-apply-filters:hover { background: var(--wbp-primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,.3); }
.wbp-mobile-filter-toggle { display: none; align-items: center; gap: 8px; background: var(--wbp-white); border: 2px solid var(--wbp-primary); color: var(--wbp-primary); padding: 10px 18px; border-radius: 10px; font-weight: 700; cursor: pointer; margin-bottom: 16px; font-size: 14px; }
.wbp-mobile-filter-toggle svg { width: 18px; height: 18px; }

/* ========== PRODUCT CARDS ========== */
.wbp-shop-active ul.products li.product { position: relative; background: var(--wbp-white); border-radius: var(--wbp-radius); overflow: hidden; transition: var(--wbp-transition); border: 1px solid var(--wbp-border); box-shadow: var(--wbp-shadow); }
.wbp-card-modern ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--wbp-shadow-hover); border-color: transparent; }
.wbp-card-minimal ul.products li.product { border: none; border-radius: 0; border-bottom: 1px solid var(--wbp-border); box-shadow: none; }
.wbp-card-bordered ul.products li.product:hover { border-color: var(--wbp-primary); }
.wbp-shop-active ul.products li.product a.woocommerce-loop-product__link { display: block; position: relative; z-index: 1; }
.wbp-shop-active ul.products li.product a img { transition: transform .45s ease; display: block; width: 100%; }
.wbp-shop-active ul.products li.product:hover a img { transform: scale(1.06); }
.wbp-shop-active ul.products li.product .woocommerce-loop-product__title { font-weight: 700; font-size: 15px; padding: 12px 12px 4px; color: var(--wbp-text); }
.wbp-shop-active ul.products li.product .price { color: var(--wbp-primary); font-weight: 800; font-size: 16px; padding: 0 12px 8px; display: block; }
.wbp-shop-active ul.products li.product .price del { color: var(--wbp-text-muted); font-weight: 400; font-size: 13px; }
.wbp-shop-active ul.products li.product .button { background: var(--wbp-primary); color: #fff; border: none; border-radius: 8px; padding: 10px 16px; font-weight: 700; transition: var(--wbp-transition); font-size: 13px; position: relative; z-index: 3; }
.wbp-shop-active ul.products li.product .button:hover { background: var(--wbp-primary-dark); transform: translateY(-1px); }
.wbp-shop-active ul.products li.product .star-rating { padding: 0 12px 8px; }

/* Badges */
.wbp-badge { position: absolute; top: 10px; left: 10px; z-index: 6; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 800; letter-spacing: .4px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.wbp-badge-sale { background: var(--wbp-red); color: #fff; }
.wbp-badge-featured { background: var(--wbp-accent); color: #fff; top: 38px; }
.wbp-badge-low-stock { background: var(--wbp-orange); color: #fff; top: 66px; }

/* ===== OVERLAY — CLICK BUG FIX ===== */
.wbp-card-overlay {
  position: absolute;
  top: 0; right: 0;
  pointer-events: none;
  z-index: 4;
}
.wbp-overlay-actions { display: flex; flex-direction: column; gap: 6px; padding: 10px; opacity: 0; transform: translateX(8px); transition: all .3s; }
.wbp-shop-active ul.products li.product:hover .wbp-overlay-actions { opacity: 1; transform: translateX(0); }
.wbp-overlay-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.95); border: 1px solid var(--wbp-border); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--wbp-transition); box-shadow: 0 2px 10px rgba(0,0,0,.12); pointer-events: all; }
.wbp-overlay-btn svg { width: 15px; height: 15px; stroke: var(--wbp-text-muted); }
.wbp-overlay-btn:hover { background: var(--wbp-primary); border-color: var(--wbp-primary); transform: scale(1.1); }
.wbp-overlay-btn:hover svg { stroke: #fff; }

/* Quick View */
.wbp-quick-view-btn { position: absolute; bottom: 52px; left: 8px; right: 8px; background: rgba(255,255,255,.96); border: 1px solid var(--wbp-border); color: var(--wbp-text); padding: 8px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; opacity: 0; transform: translateY(8px); transition: all .28s ease; backdrop-filter: blur(6px); z-index: 5; pointer-events: all; }
.wbp-shop-active ul.products li.product:hover .wbp-quick-view-btn { opacity: 1; transform: translateY(0); }
.wbp-quick-view-btn:hover { background: var(--wbp-primary); color: #fff; border-color: var(--wbp-primary); }

/* ========== QUICK VIEW MODAL ========== */
.wbp-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s; }
.wbp-modal-overlay.open { opacity: 1; visibility: visible; }
.wbp-modal-box { background: #fff; border-radius: 18px; max-width: 740px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; transform: translateY(24px); transition: transform .3s; box-shadow: 0 24px 64px rgba(0,0,0,.22); }
.wbp-modal-overlay.open .wbp-modal-box { transform: translateY(0); }
.wbp-modal-close { position: absolute; top: 16px; right: 16px; background: #f3f4f6; border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background .2s; }
.wbp-modal-close:hover { background: #e5e7eb; }
.wbp-modal-body { padding: 30px; }
.wbp-qv-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.wbp-qv-image img { width: 100%; border-radius: 12px; }
.wbp-qv-details h2 { font-size: 22px; font-weight: 800; margin: 0 0 12px; line-height: 1.3; }
.wbp-qv-price { font-size: 24px; font-weight: 800; color: var(--wbp-primary); margin-bottom: 14px; }
.wbp-qv-desc { font-size: 14px; color: var(--wbp-text-muted); line-height: 1.7; margin-bottom: 20px; }
.wbp-qv-details .wbp-btn { display: block; margin-bottom: 10px; text-align: center; }

/* ========== RESULT COUNT ========== */
.wbp-result-count { font-size: 13px; color: var(--wbp-text-muted); margin: 0 0 16px; }
.wbp-no-products { text-align: center; padding: 60px 20px; color: var(--wbp-text-muted); font-size: 16px; }
.wbp-no-products::before { content: "🔍"; display: block; font-size: 40px; margin-bottom: 12px; }

/* ========== SINGLE PRODUCT PAGE ========== */
.wbp-single-product-wrapper { padding: 0 0 48px; }
.wbp-single-product-wrapper .woocommerce-product-gallery { border-radius: 18px; overflow: hidden; box-shadow: var(--wbp-shadow); }
.wbp-single-product-wrapper .summary h1.product_title { font-size: 28px; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; color: var(--wbp-text); margin-bottom: 15px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.wbp-single-product-wrapper .woocommerce-Price-amount { color: var(--wbp-primary); font-size: 26px; font-weight: 700; }
.wbp-single-product-wrapper .summary .price del .woocommerce-Price-amount { color: var(--wbp-text-muted); font-size: 18px; font-weight: 500; }
.wbp-single-product-wrapper .woocommerce-product-rating { margin-bottom: 16px; }
.wbp-single-product-wrapper .in-stock { color: var(--wbp-green); font-weight: 700; font-size: 14px; }
.wbp-single-product-wrapper .out-of-stock { color: var(--wbp-red); font-weight: 700; font-size: 14px; }
.wbp-single-product-wrapper form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 25px; }
.wbp-single-product-wrapper .single_add_to_cart_button { background: var(--wbp-primary) !important; border-color: transparent !important; border-radius: 10px !important; padding: 12px 20px !important; font-size: 15px !important; font-weight: 700 !important; transition: var(--wbp-transition) !important; flex: 0 1 auto; min-width: 140px; box-shadow: 0 4px 12px rgba(37,99,235,0.15) !important; margin: 0 !important; }
.wbp-single-product-wrapper .single_add_to_cart_button:hover { background: var(--wbp-primary-dark) !important; transform: translateY(-1px) !important; }
.wbp-buy-now-btn { background: var(--wbp-green) !important; color: #fff !important; border-radius: 10px !important; padding: 12px 20px !important; font-size: 15px !important; font-weight: 700 !important; transition: var(--wbp-transition) !important; flex: 0 1 auto; min-width: 140px; text-align: center; box-shadow: 0 4px 12px rgba(16,185,129,0.15) !important; text-decoration: none !important; }
.wbp-buy-now-btn:hover { background: #059669 !important; transform: translateY(-1px) !important; color: #fff !important; }
.wbp-single-product-wrapper .quantity .qty { border: 2px solid var(--wbp-border); border-radius: 10px; padding: 10px 14px; font-size: 16px; font-weight: 700; width: 80px; text-align: center; transition: border-color .2s; }
.wbp-single-product-wrapper .quantity .qty:focus { border-color: var(--wbp-primary); outline: none; }
.wbp-trust-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 18px 0; border-top: 1px solid var(--wbp-border); border-bottom: 1px solid var(--wbp-border); margin: 22px 0; }
.wbp-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--wbp-text-muted); background: var(--wbp-bg); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--wbp-border); font-weight: 500; }
.wbp-trust-item svg { width: 20px; height: 20px; stroke: var(--wbp-primary); flex-shrink: 0; }
.wbp-share-buttons { display: flex; align-items: center; gap: 10px; padding: 16px 0; font-size: 14px; color: var(--wbp-text-muted); font-weight: 600; }
.wbp-share-buttons a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--wbp-transition); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.wbp-share-buttons a svg { width: 18px; height: 18px; }
.wbp-share-fb { background: #1877f2; color: #fff; }
.wbp-share-tw { background: #1da1f2; color: #fff; }
.wbp-share-wa { background: #25d366; color: #fff; }
.wbp-share-buttons a:hover { transform: scale(1.12) translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.wbp-sticky-atc { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: rgba(255,255,255,.96); border-top: 1px solid var(--wbp-border); padding: 12px 0; box-shadow: 0 -6px 24px rgba(0,0,0,.1); transform: translateY(100%); transition: transform .3s ease; backdrop-filter: blur(10px); }
.wbp-sticky-atc.visible { transform: translateY(0); }
.wbp-sticky-atc-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 20px; }
.wbp-sticky-product-info { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.wbp-sticky-thumb img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; border: 1px solid var(--wbp-border); }
.wbp-sticky-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wbp-sticky-price { font-weight: 800; color: var(--wbp-primary); font-size: 20px; white-space: nowrap; }
.wbp-sticky-atc .wbp-btn { white-space: nowrap; }
.wbp-single-product-wrapper .woocommerce-tabs ul.tabs { border-bottom: 2px solid var(--wbp-border); padding: 0; margin-bottom: 0; display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.wbp-single-product-wrapper .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
.wbp-single-product-wrapper .woocommerce-tabs ul.tabs li { border: none; background: none; border-radius: 0; flex-shrink: 0; margin: 0; }
.wbp-single-product-wrapper .woocommerce-tabs ul.tabs li a { color: var(--wbp-text-muted); font-weight: 700; padding: 15px 20px; font-size: 14px; display: block; white-space: nowrap; }
.wbp-single-product-wrapper .woocommerce-tabs ul.tabs li.active a { color: var(--wbp-primary); }
.wbp-single-product-wrapper .woocommerce-tabs ul.tabs li.active { border-bottom: 3px solid var(--wbp-primary); margin-bottom: -2px; }
.wbp-single-product-wrapper .woocommerce-tabs .panel { padding: 24px 0; line-height: 1.8; font-size: 16px; color: #374151; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.wbp-single-product-wrapper .related > h2, .wbp-single-product-wrapper .upsells > h2 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }

/* Custom Meta Styling */
.wbp-product-meta-custom { margin-top: 30px; padding: 20px; background: #f8fafc; border-radius: 12px; border: 1px solid #f1f5f9; display: flex; flex-direction: column; gap: 12px; }
.wbp-meta-row { font-size: 13px; color: #64748b; display: flex; align-items: center; gap: 8px; }
.wbp-meta-label { font-weight: 600; color: #1e293b; min-width: 80px; text-transform: uppercase; letter-spacing: 0.5px; font-size: 11px; }
.wbp-meta-row a { color: var(--wbp-primary); text-decoration: none; font-weight: 500; background: #fff; padding: 2px 8px; border-radius: 4px; border: 1px solid #e2e8f0; transition: all 0.2s; }
.wbp-meta-row a:hover { background: var(--wbp-primary); color: #fff; border-color: var(--wbp-primary); }

/* ========== CART PAGE ========== */
.wbp-cart-wrapper { max-width: 1120px; margin: 0 auto; }
.wbp-cart-header { margin-bottom: 28px; }
.wbp-cart-header h2 { font-size: 28px; font-weight: 800; display: flex; align-items: center; gap: 12px; letter-spacing: -.2px; }
.wbp-cart-count-badge { background: var(--wbp-primary-light); color: var(--wbp-primary); padding: 5px 14px; border-radius: 20px; font-size: 14px; font-weight: 700; }
.wbp-shipping-progress { background: #eff6ff; border-radius: 14px; padding: 18px 22px; margin-bottom: 24px; border: 1px solid #ddd6fe; }
.wbp-shipping-progress p { margin: 0 0 12px; font-size: 14px; color: var(--wbp-text); font-weight: 500; }
.wbp-progress-bar { height: 10px; background: rgba(255,255,255,.7); border-radius: 5px; overflow: hidden; }
.wbp-progress-fill { height: 100%; background: var(--wbp-primary); border-radius: 5px; transition: width .6s cubic-bezier(.4,0,.2,1); }
.wbp-cart-wrapper table.shop_table { border-radius: 14px; overflow: hidden; border: 1px solid var(--wbp-border); border-collapse: separate; border-spacing: 0; box-shadow: var(--wbp-shadow); }
.wbp-cart-wrapper table.shop_table th { background: var(--wbp-bg); font-weight: 700; color: var(--wbp-text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .6px; padding: 14px 16px; }
.wbp-cart-wrapper .cart_item td { vertical-align: middle; padding: 18px 16px; border-bottom: 1px solid var(--wbp-border); }
.wbp-cart-wrapper .cart_item:last-child td { border-bottom: none; }
.wbp-cart-wrapper .woocommerce-cart-form__product-name a { font-weight: 700; color: var(--wbp-text); font-size: 15px; text-decoration: none; }
.wbp-cart-wrapper .woocommerce-cart-form__product-name a:hover { color: var(--wbp-primary); }
.wbp-cart-wrapper .product-subtotal .woocommerce-Price-amount { font-weight: 800; color: var(--wbp-primary); }
.wbp-cart-wrapper .quantity .qty { border: 2px solid var(--wbp-border); border-radius: 8px; padding: 7px 10px; font-weight: 700; width: 70px; text-align: center; }
.wbp-cart-wrapper .cart_totals { background: var(--wbp-bg); border-radius: 16px; padding: 24px; border: 1px solid var(--wbp-border); }
.wbp-cart-wrapper .cart_totals h2 { font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.wbp-cart-wrapper .cart_totals table { width: 100%; }
.wbp-cart-wrapper .cart_totals table th { font-weight: 600; color: var(--wbp-text-muted); font-size: 14px; text-transform: none; letter-spacing: 0; padding: 10px 0; }
.wbp-cart-wrapper .checkout-button { background: var(--wbp-primary) !important; border-radius: 12px !important; font-size: 16px !important; font-weight: 800 !important; padding: 15px 28px !important; display: block !important; text-align: center !important; color: #fff !important; text-decoration: none !important; transition: var(--wbp-transition) !important; box-shadow: 0 4px 16px rgba(37,99,235,.3) !important; }
.wbp-cart-wrapper .checkout-button:hover { background: var(--wbp-primary-dark) !important; transform: translateY(-2px) !important; }
.wbp-cart-upsell { margin-top: 36px; padding: 28px; background: var(--wbp-bg); border-radius: 16px; border: 1px solid var(--wbp-border); }
.wbp-cart-upsell h3 { margin: 0 0 20px; font-size: 20px; font-weight: 800; }
.wbp-upsell-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.wbp-upsell-item { background: #fff; border-radius: 12px; padding: 14px; display: flex; gap: 12px; align-items: center; border: 1px solid var(--wbp-border); transition: var(--wbp-transition); box-shadow: var(--wbp-shadow); }
.wbp-upsell-item:hover { border-color: var(--wbp-primary); transform: translateY(-2px); box-shadow: var(--wbp-shadow-hover); }
.wbp-upsell-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.wbp-upsell-info { display: flex; flex-direction: column; gap: 5px; }
.wbp-upsell-info a { font-size: 13px; font-weight: 700; color: var(--wbp-text); text-decoration: none; }
.wbp-upsell-info a:hover { color: var(--wbp-primary); }
.wbp-upsell-info span { font-size: 14px; color: var(--wbp-primary); font-weight: 800; }

/* ========== CHECKOUT PAGE ========== */
.wbp-checkout-steps { display: flex; align-items: center; justify-content: center; margin-bottom: 36px; background: var(--wbp-white); border-radius: 16px; padding: 22px 28px; border: 1px solid var(--wbp-border); box-shadow: var(--wbp-shadow); }
.wbp-step { display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative; flex: 1; }
.wbp-step:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 62%; width: 76%; height: 2px; background: var(--wbp-border); border-radius: 2px; }
.wbp-step.completed:not(:last-child)::after { background: var(--wbp-green); }
.wbp-step.active:not(:last-child)::after { background: var(--wbp-primary); }
.wbp-step-num { width: 38px; height: 38px; border-radius: 50%; background: var(--wbp-border); color: var(--wbp-text-muted); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; z-index: 1; transition: var(--wbp-transition); }
.wbp-step.active .wbp-step-num { background: var(--wbp-primary); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.35); }
.wbp-step.completed .wbp-step-num { background: var(--wbp-green); color: #fff; }
.wbp-step-label { font-size: 12px; font-weight: 700; color: var(--wbp-text-muted); letter-spacing: .3px; }
.wbp-step.active .wbp-step-label { color: var(--wbp-primary); }
.wbp-step.completed .wbp-step-label { color: var(--wbp-green); }
.woocommerce-checkout #payment { border-radius: 16px; overflow: hidden; border: 1px solid var(--wbp-border); box-shadow: var(--wbp-shadow); }
.woocommerce-checkout .woocommerce-input-wrapper input,
.woocommerce-checkout .woocommerce-input-wrapper select,
.woocommerce-checkout .woocommerce-input-wrapper textarea { border: 1.5px solid var(--wbp-border); border-radius: 10px; padding: 11px 15px; font-size: 15px; transition: border-color .2s, box-shadow .2s; background: var(--wbp-bg); }
.woocommerce-checkout .woocommerce-input-wrapper input:focus,
.woocommerce-checkout .woocommerce-input-wrapper select:focus,
.woocommerce-checkout .woocommerce-input-wrapper textarea:focus { border-color: var(--wbp-primary); box-shadow: 0 0 0 3px var(--wbp-primary-light); outline: none; background: #fff; }
.woocommerce-checkout label { font-weight: 600; font-size: 14px; color: var(--wbp-text); margin-bottom: 5px; display: block; }
#place_order { background: var(--wbp-primary) !important; border: none !important; border-radius: 12px !important; font-size: 17px !important; font-weight: 800 !important; padding: 15px 28px !important; width: 100% !important; transition: var(--wbp-transition) !important; box-shadow: 0 6px 20px rgba(37,99,235,.3) !important; letter-spacing: .2px !important; }
#place_order:hover { background: var(--wbp-primary-dark) !important; transform: translateY(-2px) !important; box-shadow: 0 10px 28px rgba(37,99,235,.38) !important; }
.wbp-checkout-trust { background: #f0fdf4; border-radius: 12px; padding: 18px 20px; margin-top: 18px; border: 1px solid #d1fae5; }
.wbp-trust-row { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--wbp-text); margin-bottom: 10px; font-weight: 500; }
.wbp-trust-row:last-of-type { margin-bottom: 0; }
.wbp-trust-row svg { flex-shrink: 0; color: var(--wbp-green); }
.wbp-payment-icons { display: flex; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #d1fae5; }
.wbp-pay-icon { font-size: 10px; font-weight: 800; color: #059669; border: 1px solid #059669; padding: 2px 6px; border-radius: 4px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .wbp-shop-layout { flex-direction: column; }
  .wbp-filter-sidebar { width: 85%; max-width: 320px; position: fixed; top: 0; left: 0; height: 100%; z-index: 99999; transform: translateX(-100%); transition: transform .3s ease; border-radius: 0; overflow-y: auto; padding: 20px; box-sizing: border-box; }
  .wbp-filter-sidebar.open { transform: translateX(0); }
  .wbp-filter-close-mobile { display: flex; }
  .wbp-mobile-filter-toggle { display: flex; }
  .wbp-qv-inner { grid-template-columns: 1fr; }
  .wbp-checkout-steps { padding: 15px; }
  .wbp-step-label { display: none; }
  .wbp-step:not(:last-child)::after { left: 70%; width: 60%; }
  .wbp-sticky-atc-inner { padding: 0 15px; }
  .wbp-sticky-product-info { display: none; }
  .wbp-sticky-atc .wbp-btn { width: 100%; }
}
