/*
Theme Name: We Lucky Store
Theme URI: https://weluckystore.com/
Author: We Lucky Store
Description: Clean, modern e-commerce theme for We Lucky Store (Shopify-style layout). COD checkout with own order system, FormSubmit copy, WhatsApp orders. Fully responsive.
Version: 2.3.1
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: weluckystore
*/

:root {
  --ink: #141a17;
  --muted: #667069;
  --line: #e7e9e5;
  --soft: #f5f6f3;
  --bg: #ffffff;
  --brand: #0f5132;
  --brand-2: #146c43;
  --brand-light: #e8f1ec;
  --gold: #c9a227;
  --danger: #c62828;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(20, 26, 23, 0.07);
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  /* legacy names still used by some templates */
  --primary: var(--brand);
  --primary-dark: #0b3d26;
  --primary-light: var(--brand-light);
  --secondary: var(--gold);
  --text: var(--ink);
  --text-muted: var(--muted);
  --border: var(--line);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 15px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
a { color: inherit; text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s, box-shadow .2s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, .btn { cursor: pointer; border: 0; font-family: inherit; }
input, textarea, select, button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted-text { color: var(--muted); }

/* ============ Announcement bar ============ */
.announce { background: var(--brand); color: #e6f0ea; text-align: center; padding: 9px 0; font-size: 0.78rem; letter-spacing: .2px; }
.announce strong { color: #fff; font-weight: 600; }
.announce a { color: #f3d96b; font-weight: 600; }
.announce .sep { opacity: .45; margin: 0 8px; }

/* ============ Header ============ */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1000; }
.header-main { display: flex; align-items: center; gap: 28px; height: 68px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; }
.logo-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.95rem; }
.logo-text { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.logo-text b { color: var(--brand-2); font-weight: 700; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; justify-content: center; gap: 4px; flex-wrap: nowrap; }
.main-nav a { display: block; padding: 8px 14px; font-size: 0.88rem; font-weight: 500; color: #2c3530; border-radius: 8px; white-space: nowrap; }
.main-nav a:hover { background: var(--soft); color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.icon-btn:hover { background: var(--soft); color: var(--brand); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; line-height: 1; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.15rem; align-items: center; justify-content: center; }
.nav-toggle:hover { background: var(--soft); }

.search-drawer { max-height: 0; overflow: hidden; border-top: 0 solid var(--line); transition: max-height .3s ease; background: #fff; }
.search-drawer.open { max-height: 90px; border-top-width: 1px; }
.search-drawer form { position: relative; max-width: 640px; margin: 14px auto; }
.search-drawer input { width: 100%; height: 46px; padding: 0 52px 0 18px; border: 1px solid #d5d9d4; border-radius: 50px; font-size: 0.95rem; background: var(--soft); outline: none; }
.search-drawer input:focus { background: #fff; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(20, 108, 67, .12); }
.search-drawer button { position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: 50px; font-weight: 600; font-size: 0.92rem; transition: .2s; line-height: 1.2; }
.btn-primary { background: var(--gold); color: #1c1700; }
.btn-primary:hover { background: #d8b335; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid currentColor; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--brand); border-color: #fff; }
.btn-green { background: var(--brand); color: #fff; }
.btn-green:hover { background: var(--brand-2); transform: translateY(-1px); }
.btn-outline-green { background: transparent; border: 1.5px solid var(--brand); color: var(--brand); }
.btn-outline-green:hover { background: var(--brand); color: #fff; }

/* ============ Hero ============ */
.hero-slider { background: linear-gradient(120deg, #0b3d26 0%, var(--brand) 55%, #1b7a4f 100%); color: #fff; padding: 56px 0 40px; position: relative; overflow: hidden; }
.hero-slide { display: none; align-items: center; gap: 56px; }
.hero-slide.active { display: flex; animation: wlsFade .5s ease; }
@keyframes wlsFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero-content { flex: 1; min-width: 0; }
.hero-content h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); color: #fff; margin-bottom: 14px; letter-spacing: -0.025em; }
.hero-content p { font-size: 1rem; opacity: .9; margin-bottom: 18px; max-width: 520px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hero-chips span { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); padding: 6px 14px; border-radius: 30px; font-size: .78rem; font-weight: 500; }
.hero-chips i { color: #f3d96b; margin-right: 6px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image { flex: 0 0 min(400px, 38%); }
.hero-image img { width: 100%; max-height: 380px; object-fit: contain; background: #fff; border-radius: 20px; padding: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.slider-dot { width: 8px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .4); cursor: pointer; transition: .3s; }
.slider-dot.active { background: #fff; width: 26px; }

/* ============ Features ============ */
.features { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-item { display: flex; align-items: center; gap: 14px; text-align: left; }
.feature-icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.feature-item h4 { font-size: .92rem; margin-bottom: 1px; }
.feature-item p { font-size: .8rem; color: var(--muted); }

/* ============ Sections ============ */
.section { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 36px; }
.section-header h1, .section-header h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.section-header p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: .94rem; }

.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.cat-pill { padding: 8px 18px; font-size: .84rem; font-weight: 500; border-radius: 50px; background: #fff; color: #2c3530; border: 1px solid #d5d9d4; }
.cat-pill:hover { border-color: var(--brand); color: var(--brand); }
.cat-pill.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ============ Products ============ */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 22px; }
.product-card { background: #fff; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.product-card:hover { border-color: #c7cdc6; box-shadow: var(--shadow); transform: translateY(-3px); }
.product-image { position: relative; aspect-ratio: 1; background: var(--soft); overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .4s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: #fff; color: var(--brand); font-size: .68rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; border: 1px solid var(--line); }
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.product-category { font-size: .7rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 4px; }
.product-title { font-size: .96rem; font-weight: 600; line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; letter-spacing: 0; }
.product-title a:hover { color: var(--brand); }
.product-price { margin-top: auto; margin-bottom: 12px; }
.price-from { font-size: .8rem; color: var(--muted); }
.price-current { font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.product-actions { display: flex; }
.btn-add-cart { flex: 1; background: var(--brand); color: #fff; padding: 11px 14px; border-radius: 8px; font-weight: 600; font-size: .86rem; text-align: center; }
.btn-add-cart:hover { background: var(--brand-2); }

/* ============ How to order ============ */
.how-section { background: var(--soft); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.step-num { width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-card h4 { font-size: 1rem; margin-bottom: 6px; }
.step-card p { color: var(--muted); font-size: .88rem; }

/* ============ CTA ============ */
.cta-band { background: var(--brand); color: #fff; text-align: center; padding: 60px 20px; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }
.cta-band p { max-width: 540px; margin: 0 auto 24px; opacity: .92; }

/* ============ Breadcrumb ============ */
.breadcrumb { padding: 18px 0 8px; font-size: .82rem; color: var(--muted); }
.breadcrumb a { color: var(--brand); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

/* ============ Product detail ============ */
.product-detail { margin: 6px 0 40px; }
.product-detail-grid { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr); gap: 56px; align-items: start; }
.product-gallery { position: sticky; top: 100px; }
.main-image { background: var(--soft); border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.main-image img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb-btn { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--soft); }
.thumb-btn:hover, .thumb-btn:focus { border-color: var(--brand); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.product-cat-label { color: var(--muted); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.product-info h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; }
.product-price-large { font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; }
.stock-status { display: inline-flex; align-items: center; gap: 6px; background: #e6f4ec; color: #0b6b38; padding: 4px 12px; border-radius: 30px; font-weight: 600; font-size: .78rem; margin-bottom: 14px; }
.product-short-desc { color: #4a554e; line-height: 1.75; margin-bottom: 22px; }
.variant-group label { font-weight: 600; display: block; margin-bottom: 6px; font-size: .86rem; }
.variant-group select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #d5d9d4; border-radius: 8px; font-size: .94rem; background: #fff; }
.variant-group select:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(20, 108, 67, .12); }
.qty-selector { display: flex; align-items: center; gap: 14px; margin: 16px 0 20px; font-weight: 600; font-size: .86rem; }
.qty-input { display: flex; border: 1px solid #d5d9d4; border-radius: 8px; overflow: hidden; }
.qty-input button { width: 42px; height: 44px; background: #fff; font-size: 1.15rem; color: var(--ink); }
.qty-input button:hover { background: var(--soft); }
.qty-input input { width: 50px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 1rem; font-weight: 600; -moz-appearance: textfield; }
.qty-input input::-webkit-outer-spin-button, .qty-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.btn-cart-large { width: 100%; padding: 16px; border-radius: 8px; font-size: 1rem; font-weight: 600; background: var(--brand); color: #fff; margin-bottom: 10px; display: block; text-align: center; }
.btn-cart-large:hover { background: var(--brand-2); }
.btn-whatsapp-order { display: flex !important; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px; background: #fff !important; color: #128c4a !important; border: 1.5px solid #25d366; font-size: .98rem; font-weight: 600; border-radius: 8px; margin-bottom: 22px; }
.btn-whatsapp-order:hover { background: #25d366 !important; color: #fff !important; }
.btn-whatsapp-order i { font-size: 1.25rem; }
.product-highlights { padding: 18px 0 0; border-top: 1px solid var(--line); }
.product-highlights h3 { font-size: 1rem; margin-bottom: 8px; }
.product-highlights li { padding: 5px 0 5px 26px; position: relative; font-size: .9rem; color: #3a463f; }
.product-highlights li::before { content: '\2713'; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-light); color: var(--brand); font-size: .66rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ============ Checkout ============ */
.checkout-title { font-size: 1.8rem; margin: 4px 0 22px; }
.checkout-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; align-items: start; margin-bottom: 60px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.checkout-form { padding: 34px 36px; }
.order-summary { padding: 34px 32px; background: #fafaf8; border-left: 1px solid var(--line); position: sticky; top: 90px; }
.checkout-form h2, .order-summary h2 { font-size: 1.15rem; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .82rem; color: #2c3530; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid #d5d9d4; border-radius: 8px; font-size: .94rem; background: #fff; color: var(--ink); transition: .2s; }
.form-group input, .form-group select { height: 48px; }
.form-group textarea { resize: vertical; min-height: 84px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(20, 108, 67, .12); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #9aa39d; }
.pay-method { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--brand); background: var(--brand-light); border-radius: 10px; margin: 6px 0 18px; }
.pay-method i { font-size: 1.4rem; color: var(--brand); }
.pay-method strong { display: block; font-size: .92rem; }
.pay-method span { font-size: .8rem; color: var(--muted); }
.order-status { min-height: 1.4em; font-weight: 600; font-size: .88rem; margin-bottom: 8px; color: var(--brand); }
.order-status.is-error { color: var(--danger); }
.btn-place-order { position: relative; width: 100%; height: 54px; background: var(--brand); color: #fff; border-radius: 10px; font-size: 1rem; font-weight: 700; letter-spacing: .2px; display: flex; align-items: center; justify-content: center; transition: .2s; }
.btn-place-order:hover:not(:disabled) { background: var(--brand-2); box-shadow: 0 8px 20px rgba(15, 81, 50, .28); }
.btn-place-order:disabled { opacity: .6; cursor: not-allowed; }
.btn-place-order .btn-label i { margin-right: 8px; }
.btn-place-order .btn-spinner { display: none; width: 22px; height: 22px; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: wlsSpin .7s linear infinite; }
.btn-place-order.is-loading .btn-label { display: none; }
.btn-place-order.is-loading .btn-spinner { display: block; }
@keyframes wlsSpin { to { transform: rotate(360deg); } }
.order-fallback { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 14px; }
.order-fallback a { color: var(--brand); font-weight: 600; text-decoration: underline; }

.order-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; font-size: .9rem; }
.order-item-thumb { position: relative; flex: 0 0 64px; width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.order-item-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.order-item-qty { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; border-radius: 10px; background: #5d6660; color: #fff; font-size: .7rem; font-weight: 600; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.order-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.order-item-info strong { font-weight: 600; line-height: 1.35; }
.order-item-info .muted { color: var(--muted); font-size: .8rem; }
.order-item-actions { text-align: right; }
.line-price { font-weight: 600; white-space: nowrap; }
.btn-remove { background: none; color: var(--muted); font-size: .76rem; margin-top: 4px; text-decoration: underline; padding: 0; }
.btn-remove:hover { color: var(--danger); }
.qty-mini { display: inline-flex; align-items: center; margin-top: 6px; width: max-content; border: 1px solid #d5d9d4; border-radius: 30px; overflow: hidden; background: #fff; }
.qty-mini button { width: 28px; height: 28px; background: transparent; font-size: 1rem; }
.qty-mini button:hover { background: var(--soft); }
.qty-mini span { min-width: 26px; text-align: center; font-weight: 600; font-size: .85rem; }
.summary-lines { padding: 14px 0 0; font-size: .9rem; }
.summary-lines > div { display: flex; justify-content: space-between; padding: 4px 0; color: #3a463f; }
.free-tag { color: #0b6b38; font-weight: 700; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.2rem; font-weight: 700; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: .76rem; color: var(--muted); }
.trust-row i { color: var(--brand); margin-right: 5px; }
.btn-clear-cart { margin-top: 16px; background: none; color: var(--muted); font-size: .8rem; text-decoration: underline; padding: 0; }
.btn-clear-cart:hover { color: var(--danger); }

/* ============ Thank you ============ */
.thankyou-wrap { padding: 70px 20px; }
.thankyou-card { max-width: 560px; margin: 0 auto; text-align: center; padding: 44px 32px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.thankyou-icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.thankyou-card h1 { font-size: 1.8rem; margin-bottom: 6px; }
.order-no { display: inline-block; background: var(--soft); border-radius: 30px; padding: 3px 14px; font-weight: 600; font-size: .85rem; margin-bottom: 12px; }
.thankyou-card p { color: var(--muted); margin-bottom: 12px; }
.thankyou-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ============ Static pages ============ */
.page-wrap { padding: 50px 24px; max-width: 860px; }
.page-wrap h1 { margin-bottom: 18px; font-size: 2rem; }
.page-content { line-height: 1.85; color: #34423a; }
.page-content h2, .page-content h3 { margin: 22px 0 8px; }
.page-content ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.page-content ol { padding-left: 22px; margin: 10px 0; }
.page-content p { margin-bottom: 12px; }
.page-content a { color: var(--brand); text-decoration: underline; }

/* ============ Footer ============ */
.site-footer { background: #0c2a1c; color: #b9cbc0; padding: 56px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { color: #fff; font-size: 1.25rem; margin-bottom: 12px; }
.footer-brand p { font-size: .88rem; line-height: 1.8; margin-bottom: 10px; }
.footer-brand a { color: #f3d96b; }
.footer-col h4 { color: #fff; font-size: .9rem; margin-bottom: 14px; }
.footer-col a { display: block; color: #9fb5a8; font-size: .86rem; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; text-align: center; font-size: .8rem; color: #8aa293; }
.pay-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 14px; }
.pay-badges span { border: 1px solid rgba(255, 255, 255, .16); color: #cfdcd4; padding: 5px 13px; border-radius: 30px; font-size: .74rem; }
.pay-badges i { color: #f3d96b; margin-right: 6px; }

/* ============ WhatsApp float ============ */
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; width: 56px; height: 56px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 29px; box-shadow: 0 8px 22px rgba(37, 211, 102, .45); z-index: 999; }
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-main { gap: 8px; height: 62px; }
  .site-logo { margin-right: auto; }
  .header-actions { margin-left: 0; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(0, 0, 0, .08); display: none; flex: none; }
  body.nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 16px 14px; gap: 0; }
  .main-nav a { padding: 13px 8px; border-bottom: 1px solid var(--soft); border-radius: 0; }
  .hero-slide { flex-direction: column; text-align: center; gap: 28px; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-chips, .hero-btns { justify-content: center; }
  .hero-image { flex: none; width: min(320px, 80%); }
  .product-detail-grid { grid-template-columns: 1fr; gap: 26px; }
  .product-gallery { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; border-left: 0; border-top: 1px solid var(--line); order: -1; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hide-sm { display: none; }
  .section { padding: 44px 0; }
  .hero-slider { padding: 36px 0 28px; }
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .product-body { padding: 10px 10px 12px; }
  .product-title { font-size: .86rem; }
  .btn-add-cart { padding: 10px 6px; font-size: .8rem; }
  .product-image img { padding: 10px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .checkout-form, .order-summary { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .logo-text { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Logged-in admin bar: keep sticky header below it */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ===== Final professional polish – product images ===== */
.product-image {
  aspect-ratio: 1 / 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform .35s ease;
  background: #fff;
}
.product-card:hover .product-image img {
  transform: scale(1.04);
}
.hero-image img {
  object-fit: contain !important;
  background: #fff !important;
  border-radius: 18px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.35);
}
.product-detail-image,
.pd-gallery img,
.single-product-img img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 16px;
}
.products-grid .product-card {
  box-shadow: 0 1px 2px rgba(11,27,59,.04);
}
.products-grid .product-card:hover {
  box-shadow: 0 12px 28px -12px rgba(11,42,30,.18);
}
.product-info h3,
.product-card h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 6px;
}
.product-price {
  font-weight: 700;
  color: var(--brand);
  font-size: 1.05rem;
}
.order-item-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
}
