:root {
  --navy: #16283f;
  --navy-2: #0e1d2f;
  --copper: #c98968;
  --copper-strong: #b97853;
  --copper-soft: #f5e9e2;
  --cream: #fbfaf8;
  --surface: #ffffff;
  --surface-2: #f5f7f9;
  --text: #182232;
  --muted: #6d7787;
  --border: #e6e9ee;
  --success: #2f7d62;
  --danger: #bd4b4b;
  --warning: #b47a26;
  --shadow-sm: 0 8px 30px rgba(18, 35, 56, 0.08);
  --shadow-md: 0 24px 70px rgba(18, 35, 56, 0.13);
  --radius: 22px;
  --radius-lg: 34px;
  --container: 1240px;
  --font-primary: "Dubai", "Segoe UI", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-primary);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
}
html[dir="rtl"] body { font-family: var(--font-primary); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; font-family: var(--font-primary); }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.section { padding: 86px 0; }
.section-sm { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 34px; }
.section-head h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; color: var(--navy); }
.section-head p { margin: 8px 0 0; max-width: 620px; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--copper-strong); font-weight: 700; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 10px; }
.eyebrow::before { content:""; width: 24px; height: 2px; background: var(--copper); border-radius: 10px; }
.muted { color: var(--muted); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 248, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230,233,238,.9);
}
.navbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 13px; min-width: max-content; }
.brand-mark {
  width: 60px; height: 60px; border-radius: 18px;
  background: transparent; overflow: hidden; position: relative; flex: 0 0 auto;
}
.brand-mark img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%;
  transform: scale(1.7); transform-origin: 50% 17%; mix-blend-mode:multiply;
}
.brand-copy { display:flex; flex-direction:column; justify-content:center; }
.brand-copy { line-height: 1.05; }
.brand-title { font-weight: 700; color: var(--navy); letter-spacing: .01em; font-size: 18px; }
.brand-title .accent { color: var(--copper-strong); }
.brand-sub { color: var(--muted); font-size: 12px; margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 10px 12px; border-radius: 12px; color: #435064; font-size: 14px; font-weight: 650; transition: .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: white; box-shadow: 0 7px 22px rgba(18,35,56,.06); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn, .lang-btn {
  height: 42px; min-width: 42px; padding: 0 12px; border: 1px solid var(--border); background: white;
  border-radius: 13px; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 7px;
}
.icon-btn:hover, .lang-btn:hover { border-color: #d6b29e; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -7px; inset-inline-end: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--copper-strong); color: white; display: grid; place-items: center; font-size: 11px; font-weight: 800; border: 2px solid var(--cream);
}
.menu-btn { display: none; }

.btn {
  border: 0; border-radius: 14px; min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 750; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: white; box-shadow: 0 14px 30px rgba(22,40,63,.2); }
.btn-primary:hover { background: var(--navy-2); }
.btn-copper { background: var(--copper); color: var(--navy-2); box-shadow: 0 14px 30px rgba(201,137,104,.22); }
.btn-copper:hover { background: #d79a78; }
.btn-outline { background: white; color: var(--navy); border: 1px solid var(--border); }
.btn-soft { background: var(--copper-soft); color: #744a36; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.hero { padding: 40px 0 54px; }
.hero-shell {
  position: relative; overflow: hidden; border-radius: 38px; min-height: 560px;
  background:
    radial-gradient(circle at 84% 16%, rgba(201,137,104,.24), transparent 25%),
    radial-gradient(circle at 13% 78%, rgba(113,151,180,.18), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f7f9fb 58%, #f6ede8 100%);
  border: 1px solid white; box-shadow: var(--shadow-md);
}
.hero-shell::after { content:""; position:absolute; width:330px; height:330px; border:1px solid rgba(201,137,104,.18); border-radius:50%; top:-120px; inset-inline-end:-100px; }
.hero-grid { position: relative; z-index: 2; min-height: 560px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; padding: 64px; }
.hero-copy h1 { font-size: clamp(42px, 5vw, 72px); line-height: 1.02; margin: 0 0 22px; color: var(--navy); letter-spacing: -.025em; max-width: 780px; }
.hero-copy h1 .accent { color: var(--copper-strong); }
.hero-copy p { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; color: #506074; font-size: 13px; }
.hero-trust span { display: inline-flex; align-items:center; gap: 8px; }
.hero-trust i { width: 8px; height: 8px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 6px rgba(201,137,104,.12); }
.hero-visual { position: relative; min-height: 420px; }
.hero-logo-card {
  width: min(330px, 70%); margin-inline: auto; background: rgba(255,255,255,.9); border:1px solid rgba(255,255,255,.95); border-radius: 30px;
  box-shadow: 0 35px 70px rgba(22,40,63,.16); padding: 24px; transform: rotate(1.5deg);
}
.hero-logo-card img { border-radius: 22px; }
.floating-product {
  position:absolute; width: 180px; background:white; border:1px solid var(--border); border-radius:24px; padding:12px; box-shadow: var(--shadow-md);
}
.floating-product img { border-radius:18px; }
.floating-product.one { bottom: 10px; inset-inline-start: -10px; transform: rotate(-5deg); }
.floating-product.two { top: 28px; inset-inline-end: -5px; transform: rotate(5deg); width:160px; }
.floating-badge { position:absolute; inset-inline-end: 8%; bottom: 36px; background:var(--navy); color:white; padding:12px 16px; border-radius:16px; box-shadow: var(--shadow-md); font-size:13px; font-weight:800; }

.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.category-card {
  position: relative; min-height: 330px; overflow: hidden; border-radius: 30px; padding: 34px; border: 1px solid var(--border); background: white; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; justify-content: flex-end; transition: .25s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-card.dental { background: linear-gradient(145deg,#fff 0%,#f5f8fb 100%); }
.category-card.medical { background: linear-gradient(145deg,#fff 0%,#f6ece6 100%); }
.category-card h3 { position:relative; z-index:2; margin: 0 0 8px; font-size: 30px; color:var(--navy); }
.category-card p { position:relative; z-index:2; color:var(--muted); max-width: 60%; margin: 0 0 18px; }
.category-link { position:relative; z-index:2; color:var(--copper-strong); font-weight:800; display:inline-flex; gap:8px; align-items:center; }
.coming-soon { position:absolute; top:24px; inset-inline-start:24px; background: rgba(22,40,63,.92); color:white; border-radius:999px; padding:8px 13px; font-size:12px; font-weight:850; letter-spacing:.04em; }
.products-grid { display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap:20px; }
.section-head-actions, .results-line { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.product-view-toggle { display:inline-flex; padding:3px; gap:3px; border:1px solid var(--border); border-radius:12px; background:white; box-shadow:0 6px 18px rgba(18,35,56,.05); }
.product-view-btn { width:36px; height:36px; padding:0; border:0; border-radius:9px; background:transparent; color:var(--muted); display:grid; place-items:center; transition:.18s ease; }
.product-view-btn:hover { color:var(--navy); background:var(--surface-2); }
.product-view-btn.active { color:white; background:var(--navy); }
.products-grid.is-list { grid-template-columns:1fr; gap:14px; }
.products-grid.is-list .product-card { display:grid; grid-template-columns:220px minmax(0,1fr); min-height:180px; }
.products-grid.is-list .product-card:hover { transform:translateY(-2px); }
.products-grid.is-list .product-media { aspect-ratio:auto; min-height:180px; }
.products-grid.is-list .product-body { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto 1fr; column-gap:28px; padding:22px 24px; }
.products-grid.is-list .product-meta,
.products-grid.is-list .product-title,
.products-grid.is-list .product-desc { grid-column:1; }
.products-grid.is-list .product-title { min-height:0; }
.products-grid.is-list .product-desc { margin-bottom:0; max-width:720px; }
.products-grid.is-list .product-bottom { grid-column:2; grid-row:1 / 4; min-width:130px; flex-direction:column; justify-content:center; align-items:flex-end; }
.product-card { background:white; border:1px solid var(--border); border-radius:24px; overflow:hidden; box-shadow: 0 8px 28px rgba(18,35,56,.06); transition:.22s ease; display:flex; flex-direction:column; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(18,35,56,.12); }
.product-media { aspect-ratio: 1.18/1; background:#f3f5f7; overflow:hidden; position:relative; }
.product-media img { width:100%; height:100%; object-fit:cover; transition: transform .25s ease; }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-badges { position:absolute; top:12px; inset-inline-start:12px; display:flex; gap:6px; flex-wrap:wrap; }
.badge { display:inline-flex; align-items:center; border-radius:999px; padding:6px 9px; font-size:11px; font-weight:800; background:white; color:var(--navy); box-shadow:0 6px 18px rgba(22,40,63,.1); }
.badge.featured { background:var(--copper); color:var(--navy); }
.badge.out { background:#fff0f0; color:var(--danger); }
.product-body { padding:18px; display:flex; flex-direction:column; flex:1; }
.product-meta { color:var(--copper-strong); font-size:12px; font-weight:800; margin-bottom:7px; }
.product-title { margin:0; color:var(--navy); font-size:17px; line-height:1.35; min-height:46px; }
.product-desc { color:var(--muted); font-size:13px; margin:8px 0 14px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.product-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; }
.price { color:var(--navy); font-size:20px; font-weight:900; }
.add-cart { width:42px; height:42px; border:0; border-radius:13px; display:grid; place-items:center; background:var(--navy); color:white; transition:.2s ease; }
.add-cart:hover { background:var(--copper-strong); }

.brands-strip { background:white; border:1px solid var(--border); border-radius:28px; padding:26px; display:grid; grid-template-columns:repeat(6,1fr); gap:12px; box-shadow: var(--shadow-sm); }
.brand-pill { min-height:74px; border-radius:18px; background:var(--surface-2); display:flex; align-items:center; justify-content:center; text-align:center; padding:14px; color:#526071; font-weight:850; letter-spacing:.02em; }

.about-shell { display:grid; grid-template-columns:.92fr 1.08fr; gap:28px; align-items:stretch; }
.about-visual { border-radius:32px; background:linear-gradient(145deg,var(--navy),#233d5d); min-height:420px; padding:34px; position:relative; overflow:hidden; color:white; }
.about-visual::before { content:""; position:absolute; width:300px; height:300px; border-radius:50%; background:rgba(201,137,104,.24); top:-100px; inset-inline-end:-80px; }
.about-visual img { position:relative; z-index:2; width:220px; border-radius:24px; background:white; padding:12px; margin-bottom:28px; }
.about-visual h3 { position:relative; z-index:2; font-size:30px; margin:0 0 10px; }
.about-visual p { position:relative; z-index:2; color:#d6deea; margin:0; max-width:520px; }
.about-copy { background:white; border:1px solid var(--border); border-radius:32px; padding:42px; box-shadow: var(--shadow-sm); }
.about-copy h2 { margin:0 0 16px; color:var(--navy); font-size:38px; }
.about-copy p { color:var(--muted); }
.about-points { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:24px; }
.about-point { background:var(--surface-2); border-radius:18px; padding:16px; display:flex; gap:12px; align-items:flex-start; }
.about-point .dot { width:34px; height:34px; border-radius:12px; flex:0 0 auto; background:var(--copper-soft); color:var(--copper-strong); display:grid; place-items:center; font-weight:900; }

.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.feature-card { background:white; border:1px solid var(--border); border-radius:24px; padding:28px; box-shadow: var(--shadow-sm); }
.feature-icon { width:48px; height:48px; border-radius:15px; background:var(--copper-soft); color:var(--copper-strong); display:grid; place-items:center; margin-bottom:18px; }
.feature-card h3 { color:var(--navy); margin:0 0 8px; }
.feature-card p { color:var(--muted); margin:0; font-size:14px; }

.cta { padding:70px 0; }
.cta-shell { position:relative; overflow:hidden; border-radius:34px; background:var(--navy); color:white; padding:50px; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.cta-shell::after { content:""; position:absolute; width:260px; height:260px; border-radius:50%; background:rgba(201,137,104,.22); top:-120px; inset-inline-end:-70px; }
.cta-copy { position:relative; z-index:2; }
.cta-copy h2 { margin:0 0 8px; font-size:36px; }
.cta-copy p { color:#cbd5e2; margin:0; }
.cta .btn { position:relative; z-index:2; min-width:180px; }

.page-hero { padding:44px 0 18px; }
.page-hero-shell { background:linear-gradient(145deg,#fff,#f3f6f8); border:1px solid var(--border); border-radius:30px; padding:42px; }
.breadcrumbs { display:flex; gap:9px; flex-wrap:wrap; color:var(--muted); font-size:13px; margin-bottom:12px; }
.page-hero h1 { margin:0; color:var(--navy); font-size:clamp(34px,4vw,52px); }
.page-hero p { color:var(--muted); max-width:720px; margin:10px 0 0; }

.filters { display:grid; grid-template-columns:1.7fr .8fr .8fr; gap:12px; padding:18px; background:white; border:1px solid var(--border); border-radius:22px; margin:16px 0 28px; box-shadow: var(--shadow-sm); }
.product-type-filters { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:26px 0 0; }
.type-filter-btn {
  min-height:42px; padding:0 18px; border-radius:999px; border:1px solid var(--border);
  background:#fff; color:#526071; font-weight:700; transition:.18s ease;
}
.type-filter-btn:hover { border-color:#d6b29e; color:var(--navy); transform:translateY(-1px); }
.type-filter-btn.active { background:var(--navy); border-color:var(--navy); color:#fff; box-shadow:0 10px 24px rgba(22,40,63,.16); }
.input-wrap { position:relative; }
.input, .select, .textarea { width:100%; border:1px solid var(--border); border-radius:14px; background:white; color:var(--text); outline:none; transition:.18s ease; }
.input, .select { height:48px; padding:0 14px; }
.textarea { min-height:120px; padding:12px 14px; resize:vertical; }
.input:focus, .select:focus, .textarea:focus { border-color:var(--copper); box-shadow:0 0 0 4px rgba(201,137,104,.12); }
.results-line { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:18px; color:var(--muted); font-size:14px; }
.empty-state { background:white; border:1px dashed #cfd5dd; border-radius:24px; padding:50px 22px; text-align:center; color:var(--muted); }
.empty-state h3 { color:var(--navy); margin:0 0 6px; }
.product-search-form { grid-template-columns:minmax(0,1fr) auto auto; }
.search-clear[hidden] { display:none; }
.pagination { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px; margin-top:28px; }
.pagination-link { display:inline-flex; min-width:40px; min-height:40px; align-items:center; justify-content:center; padding:0 12px; border:1px solid var(--border); border-radius:12px; background:#fff; color:var(--muted); font-weight:700; }
.pagination-link:hover { border-color:#d6b29e; color:var(--navy); }
.pagination-link.active { background:var(--navy); border-color:var(--navy); color:#fff; }

.featured-offer-section { padding:34px 0 0; }
.featured-offer { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr); overflow:hidden; border-radius:30px; background:linear-gradient(135deg,var(--navy),var(--navy-2)); color:#fff; box-shadow:var(--shadow); }
.featured-offer-copy { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:42px; }
.featured-offer-label { display:inline-flex; padding:6px 12px; border-radius:999px; background:var(--copper-soft); color:#744a36; font-size:13px; font-weight:800; }
.featured-offer h2 { margin:14px 0 8px; color:#fff; font-size:clamp(28px,3.4vw,44px); }
.featured-offer p { margin:0 0 12px; color:rgba(255,255,255,.78); }
.featured-offer strong { margin-bottom:20px; font-size:17px; }
.featured-offer-media { min-height:300px; background:#fff; }
.featured-offer-media img, .offer-card-media img { width:100%; height:100%; object-fit:cover; }
.offers-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.offer-card { display:grid; grid-template-columns:190px minmax(0,1fr); overflow:hidden; min-height:260px; border:1px solid var(--border); border-radius:24px; background:#fff; box-shadow:var(--shadow-sm); transition:.18s ease; }
.offer-card:hover { transform:translateY(-2px); box-shadow:var(--shadow); }
.offer-card-media { min-height:260px; background:#f4f5f6; }
.offer-card-body { display:flex; flex-direction:column; align-items:flex-start; padding:24px; }
.offer-card h2 { margin:12px 0 8px; color:var(--navy); font-size:23px; }
.offer-card p { margin:0 0 12px; color:var(--muted); }
.offer-card strong { margin-bottom:18px; color:var(--text); }
.offer-card .btn { margin-top:auto; }
.offers-empty { grid-column:1/-1; }
.home-offers-section { padding-top:56px; }
.home-offers-section .section-description { max-width:620px; margin:8px 0 0; color:var(--muted); }
.home-offers-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.home-offer-card { display:flex; min-width:0; flex-direction:column; overflow:hidden; border:1px solid var(--border); border-radius:24px; background:#fff; box-shadow:var(--shadow-sm); transition:.18s ease; }
.home-offer-card:hover { transform:translateY(-2px); box-shadow:var(--shadow); }
.home-offer-card:focus-visible { outline:3px solid var(--copper-soft); outline-offset:3px; }
.home-offer-media { aspect-ratio:16/10; overflow:hidden; background:#f4f5f6; }
.home-offer-media img { width:100%; height:100%; object-fit:cover; }
.home-offer-body { display:flex; min-width:0; flex:1; flex-direction:column; align-items:flex-start; padding:22px; }
.home-offer-body h3 { overflow-wrap:anywhere; margin:12px 0 8px; color:var(--navy); font-size:22px; line-height:1.35; }
.home-offer-body p { display:-webkit-box; overflow:hidden; margin:0 0 12px; color:var(--muted); line-height:1.7; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.home-offer-body strong { overflow-wrap:anywhere; margin-bottom:18px; color:var(--text); }
.home-offer-body .btn { margin-top:auto; }

.product-detail { display:grid; grid-template-columns:1.05fr .95fr; gap:42px; align-items:start; padding:32px 0 74px; }
.product-gallery { background:white; border:1px solid var(--border); border-radius:30px; padding:20px; box-shadow: var(--shadow-sm); }
.product-main-image { border-radius:22px; overflow:hidden; background:#f3f5f7; }
.product-main-image img { width:100%; aspect-ratio:1.15/1; object-fit:cover; }
.thumbs { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:12px; }
.thumb { border:1px solid var(--border); border-radius:14px; overflow:hidden; padding:0; background:white; }
.thumb.active { border-color:var(--copper); box-shadow:0 0 0 3px rgba(201,137,104,.13); }
.product-info { padding-top:12px; }
.product-info .kicker { color:var(--copper-strong); font-weight:800; font-size:13px; }
.product-info h1 { color:var(--navy); font-size:42px; line-height:1.15; margin:10px 0 12px; }
.product-info .lead { color:var(--muted); font-size:16px; }
.product-price { font-size:34px; font-weight:900; color:var(--navy); margin:24px 0 16px; }
.stock { display:inline-flex; align-items:center; gap:8px; border-radius:999px; padding:7px 11px; background:#eaf6f1; color:var(--success); font-size:12px; font-weight:850; }
.stock.out { background:#fff0f0; color:var(--danger); }
.qty-row { display:flex; gap:12px; align-items:center; margin:24px 0; }
.qty { display:flex; align-items:center; border:1px solid var(--border); border-radius:14px; overflow:hidden; background:white; }
.qty button { width:42px; height:44px; border:0; background:white; color:var(--navy); font-size:20px; }
.qty input { width:46px; height:44px; border:0; text-align:center; outline:none; font-weight:850; }
.specs { margin-top:28px; display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.spec-item { background:var(--surface-2); padding:14px 16px; border-radius:16px; }
.spec-item small { display:block; color:var(--muted); margin-bottom:4px; }
.spec-item strong { color:var(--navy); }

.cart-layout { display:grid; grid-template-columns:1.35fr .65fr; gap:24px; align-items:start; padding:26px 0 80px; }
.cart-list { display:flex; flex-direction:column; gap:12px; }
.cart-item { background:white; border:1px solid var(--border); border-radius:22px; padding:16px; display:grid; grid-template-columns:110px 1fr auto; gap:16px; align-items:center; box-shadow:var(--shadow-sm); }
.cart-item img { width:110px; height:90px; object-fit:cover; border-radius:16px; }
.cart-item h3 { margin:0 0 6px; color:var(--navy); font-size:17px; }
.cart-item .meta { color:var(--muted); font-size:13px; }
.cart-item-actions { display:flex; flex-direction:column; align-items:end; gap:10px; }
.remove-btn { border:0; background:transparent; color:var(--danger); font-size:13px; }
.summary-card { background:white; border:1px solid var(--border); border-radius:24px; padding:24px; position:sticky; top:100px; box-shadow:var(--shadow-sm); }
.summary-card h3 { margin:0 0 18px; color:var(--navy); font-size:22px; }
.summary-row { display:flex; justify-content:space-between; gap:12px; padding:10px 0; color:var(--muted); }
.summary-row.total { border-top:1px solid var(--border); margin-top:8px; padding-top:18px; color:var(--navy); font-size:20px; font-weight:900; }
.summary-card .btn { width:100%; margin-top:16px; }

.checkout-layout { display:grid; grid-template-columns:1.1fr .9fr; gap:24px; align-items:start; padding:26px 0 80px; }
.form-card { background:white; border:1px solid var(--border); border-radius:26px; padding:28px; box-shadow:var(--shadow-sm); }
.form-card h2 { margin:0 0 22px; color:var(--navy); }
.form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.form-group { display:flex; flex-direction:column; gap:7px; }
.form-group.full { grid-column:1/-1; }
.form-group label { font-size:13px; font-weight:800; color:#47556a; }
.field-error { color:var(--danger); font-size:12px; min-height:18px; }
.checkout-profile-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px; margin-top:18px; padding-top:16px; border-top:1px solid var(--border); }
.checkout-profile-choice { display:inline-flex; align-items:center; gap:9px; color:var(--text); font-size:14px; cursor:pointer; }
.checkout-profile-choice input { width:18px; height:18px; margin:0; accent-color:var(--navy); }
.checkout-profile-choice input:focus-visible { outline:2px solid var(--copper-strong); outline-offset:3px; }
.checkout-profile-clear { border:0; padding:6px 0; background:transparent; color:var(--copper-strong); font-size:13px; font-weight:750; }
.checkout-profile-clear:hover { color:var(--navy); }
.checkout-profile-clear:focus-visible { outline:2px solid var(--copper-strong); outline-offset:3px; }

.success-wrap { padding:80px 0; }
.success-card { max-width:720px; margin:auto; text-align:center; background:white; border:1px solid var(--border); border-radius:32px; padding:50px 34px; box-shadow:var(--shadow-md); }
.success-icon { width:80px; height:80px; border-radius:50%; background:#eaf6f1; color:var(--success); display:grid; place-items:center; margin:0 auto 22px; font-size:38px; font-weight:900; }
.success-card h1 { color:var(--navy); margin:0 0 10px; }
.success-card p { color:var(--muted); }
.order-code { display:inline-block; background:var(--surface-2); padding:10px 14px; border-radius:12px; color:var(--navy); font-weight:850; margin:10px 0 24px; }

.coming-page { padding:52px 0 82px; }
.coming-shell { min-height:560px; border-radius:36px; overflow:hidden; padding:56px; display:grid; grid-template-columns:1fr .9fr; align-items:center; gap:30px; background:linear-gradient(135deg,#fff,#f5ebe5); border:1px solid var(--border); box-shadow:var(--shadow-md); }
.coming-shell h1 { font-size:54px; line-height:1.05; color:var(--navy); margin:12px 0 18px; }
.coming-shell p { color:var(--muted); max-width:580px; }
.coming-art { display:grid; place-items:center; }
.coming-art .orb { width:min(360px,80vw); aspect-ratio:1; border-radius:50%; background:radial-gradient(circle at 35% 30%,#fff 0 15%,#ead0c1 35%,#c98968 68%,#8d5c42 100%); box-shadow:0 40px 80px rgba(201,137,104,.25); position:relative; }
.coming-art .orb::after { content:"+"; position:absolute; inset:0; display:grid; place-items:center; font-size:140px; color:rgba(255,255,255,.86); font-weight:200; }

.contact-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:24px; padding:26px 0 80px; }
.contact-primary-panel { min-height:100%; border-radius:28px; border:1px solid var(--border); background:linear-gradient(135deg,#fff,#f7ede7); padding:34px; display:flex; flex-direction:column; justify-content:center; box-shadow:var(--shadow-sm); }
.contact-primary-panel h2 { color:var(--navy); margin:0 0 10px; font-size:clamp(28px,3vw,38px); }
.contact-primary-panel p { color:var(--muted); margin:0 0 22px; max-width:560px; }
.contact-primary-panel .btn { width:max-content; }
.contact-card-link { transition:.18s ease; }
.contact-card-link:hover { transform:translateY(-2px); border-color:#d6b29e; }
.contact-cards { display:grid; gap:12px; }
.contact-card { background:white; border:1px solid var(--border); border-radius:22px; padding:20px; display:flex; gap:14px; align-items:flex-start; box-shadow:var(--shadow-sm); }
.contact-icon { width:44px; height:44px; border-radius:14px; display:grid; place-items:center; background:var(--copper-soft); color:var(--copper-strong); flex:0 0 auto; }
.contact-card h3 { margin:0 0 4px; color:var(--navy); font-size:16px; }
.contact-card p { margin:0; color:var(--muted); font-size:14px; }
.map-placeholder { min-height:360px; border-radius:28px; border:1px solid var(--border); background:linear-gradient(135deg,#edf2f5,#f7ede7); display:grid; place-items:center; text-align:center; padding:28px; color:var(--muted); box-shadow:var(--shadow-sm); }
.map-placeholder strong { color:var(--navy); display:block; font-size:20px; }

.site-footer { background:#0e1d2f; color:#d6dfeb; margin-top:20px; }
.footer-grid { display:grid; grid-template-columns:1.3fr repeat(3,1fr); gap:28px; padding:54px 0 34px; }
.footer-brand .brand-title { color:white; font-size:21px; }
.footer-brand p { color:#9fb0c4; max-width:420px; font-size:14px; }
.footer-col h4 { margin:0 0 14px; color:white; }
.footer-col a, .footer-col span { display:block; color:#aebccd; margin:8px 0; font-size:14px; }
.footer-col a:hover { color:white; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding:18px 0; color:#8496aa; display:flex; justify-content:space-between; gap:16px; font-size:12px; }

.whatsapp-float { position:fixed; z-index:45; bottom:22px; inset-inline-end:22px; width:58px; height:58px; border-radius:50%; background:#25D366; color:white; display:grid; place-items:center; box-shadow:0 16px 34px rgba(37,211,102,.28); transition:.2s ease; }
.whatsapp-float:hover { transform:translateY(-3px) scale(1.03); }
.toast { position:fixed; z-index:80; bottom:92px; inset-inline-end:22px; background:var(--navy); color:white; border-radius:16px; padding:13px 16px; box-shadow:var(--shadow-md); opacity:0; transform:translateY(12px); pointer-events:none; transition:.22s ease; max-width:320px; font-size:14px; }
.toast.show { opacity:1; transform:translateY(0); }
.toast.error { background:var(--danger); }
.messages { padding-top:18px; }
.message { padding:12px 16px; border-radius:14px; background:#eaf6f1; color:var(--success); border:1px solid #cde8dc; }
.message.error { background:#fff0f0; color:var(--danger); border-color:#f2cccc; }
.product-bottom form, .cart-item-actions form { margin:0; }

@media (max-width: 1040px) {
  .home-offers-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .offers-grid { grid-template-columns:1fr; }
  .nav-links { display:none; position:absolute; top:82px; left:16px; right:16px; flex-direction:column; align-items:stretch; padding:12px; background:white; border:1px solid var(--border); border-radius:20px; box-shadow:var(--shadow-md); }
  .nav-links.open { display:flex; }
  .menu-btn { display:inline-flex; }
  .brand-sub { display:none; }
  .hero-grid { grid-template-columns:1fr; padding:48px; }
  .hero-visual { min-height:350px; }
  .products-grid { grid-template-columns:repeat(3,1fr); }
  .brands-strip { grid-template-columns:repeat(3,1fr); }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
  .filters { grid-template-columns:1.4fr .8fr .8fr; }
  .product-detail, .checkout-layout, .contact-grid { grid-template-columns:1fr; }
}

@media (max-width: 760px) {
  .home-offers-section .section-head { align-items:flex-start; }
  .home-offers-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .home-offer-body { padding:14px; }
  .home-offer-body h3 { margin:10px 0 6px; font-size:17px; line-height:1.4; }
  .home-offer-body p { margin-bottom:9px; line-height:1.55; -webkit-line-clamp:2; }
  .home-offer-body strong { margin-bottom:12px; }
  .home-offer-body .btn { max-width:100%; padding:10px 13px; white-space:normal; }
  .featured-offer { grid-template-columns:1fr; }
  .featured-offer-copy { padding:28px 22px; }
  .featured-offer-media { min-height:230px; }
  .offer-card { grid-template-columns:120px minmax(0,1fr); }
  .offer-card-media { min-height:240px; }
  .offer-card-body { padding:18px; }
  .offer-card h2 { font-size:19px; }
  .container { width:min(calc(100% - 22px), var(--container)); }
  .section { padding:64px 0; }
  .navbar { min-height:72px; }
  .brand-mark { width:50px; height:50px; border-radius:15px; }
  .brand-title { font-size:15px; }
  .lang-btn { padding:0 10px; min-width:40px; }
  .hero { padding-top:16px; }
  .hero-shell { border-radius:26px; min-height:auto; }
  .hero-grid { padding:34px 22px 28px; gap:18px; min-height:auto; }
  .hero-copy h1 { font-size:40px; }
  .hero-copy p { font-size:15px; }
  .hero-actions .btn { width:100%; }
  .hero-trust { gap:12px; }
  .hero-visual { min-height:300px; margin-top:8px; }
  .hero-logo-card { width:70%; padding:14px; border-radius:22px; }
  .floating-product { width:130px; }
  .floating-product.two { width:118px; }
  .floating-badge { font-size:11px; }
  .category-grid { grid-template-columns:1fr; }
  .category-card { min-height:290px; padding:26px; }
  .category-card p { max-width:72%; }
  .products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .products-grid.is-list .product-card { grid-template-columns:104px minmax(0,1fr); min-height:132px; border-radius:18px; }
  .products-grid.is-list .product-media { min-height:132px; }
  .products-grid.is-list .product-body { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto auto; gap:2px; padding:12px; }
  .products-grid.is-list .product-meta,
  .products-grid.is-list .product-title,
  .products-grid.is-list .product-desc,
  .products-grid.is-list .product-bottom { grid-column:1; }
  .products-grid.is-list .product-bottom { grid-row:auto; min-width:0; flex-direction:row; align-items:center; margin-top:6px; }
  .products-grid.is-list .product-desc { display:-webkit-box; -webkit-line-clamp:1; margin:2px 0; }
  .section-head-actions { width:100%; }
  .product-body { padding:14px; }
  .product-title { font-size:15px; min-height:42px; }
  .product-desc { display:none; }
  .price { font-size:17px; }
  .brands-strip { grid-template-columns:repeat(2,1fr); padding:16px; }
  .about-shell { grid-template-columns:1fr; }
  .about-visual { min-height:330px; }
  .about-copy { padding:28px; }
  .about-points { grid-template-columns:1fr; }
  .features-grid { grid-template-columns:1fr; }
  .cta-shell { padding:34px 24px; flex-direction:column; align-items:flex-start; }
  .cta-copy h2 { font-size:28px; }
  .page-hero-shell { padding:28px 22px; border-radius:24px; }
  .product-type-filters { flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; scrollbar-width:none; }
  .product-type-filters::-webkit-scrollbar { display:none; }
  .type-filter-btn { flex:0 0 auto; }
  .filters { grid-template-columns:1fr; padding:14px; }
  .product-detail { gap:22px; }
  .product-info h1 { font-size:34px; }
  .specs { grid-template-columns:1fr; }
  .cart-layout { grid-template-columns:1fr; }
  .summary-card { position:static; }
  .cart-item { grid-template-columns:82px 1fr; }
  .cart-item img { width:82px; height:76px; }
  .cart-item-actions { grid-column:1/-1; flex-direction:row; justify-content:space-between; align-items:center; }
  .form-grid { grid-template-columns:1fr; }
  .form-group.full { grid-column:auto; }
  .coming-shell { grid-template-columns:1fr; padding:34px 24px; }
  .coming-shell h1 { font-size:40px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; }
  .section-head { flex-direction:column; align-items:flex-start; }
}

@media (max-width: 440px) {
  .brand-copy { display:none; }
  .products-grid { grid-template-columns:1fr 1fr; }
  .product-media { aspect-ratio:1/1; }
  .add-cart { width:38px; height:38px; }
  .products-grid.is-list .product-card { grid-template-columns:88px minmax(0,1fr); }
  .products-grid.is-list .product-media { min-height:126px; }
}

@media (max-width: 390px) {
  .home-offers-grid { grid-template-columns:1fr; }
}

/* Order success / WhatsApp confirmation */
.success-order-line { margin:18px 0 14px; color:var(--navy); }
.success-notice { max-width:560px; margin:0 auto 14px; padding:12px 16px; border:1px solid var(--border); border-radius:14px; background:var(--soft); color:var(--muted); font-size:14px; }
.success-whatsapp-hint { max-width:560px; margin:14px auto 20px; }
.success-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:18px; }
.btn-whatsapp { background:#25D366; color:#fff; box-shadow:0 14px 30px rgba(37,211,102,.18); }
.btn-whatsapp:hover { background:#1fb85a; }
.btn-whatsapp svg { flex:0 0 auto; }
@media (max-width:560px) {
  .success-actions { flex-direction:column; }
  .success-actions .btn { width:100%; }
}

/* Category cards visual system */
#categories .category-card.dental,
#categories .category-card.medical {
  position:relative;
  min-height:330px;
  overflow:hidden;
}
#categories .category-card.dental::before,
#categories .category-card.medical::before {
  content:"";
  position:absolute;
  inset-inline-end:10px;
  top:50%;
  width:190px;
  height:190px;
  border-radius:50%;
  transform:translateY(-50%);
  pointer-events:none;
  z-index:0;
}
#categories .category-card.dental::before {
  background:radial-gradient(circle, rgba(83,133,173,.16) 0%, rgba(83,133,173,.06) 48%, transparent 72%);
}
#categories .category-card.medical::before {
  background:radial-gradient(circle, rgba(201,137,104,.16) 0%, rgba(201,137,104,.06) 48%, transparent 72%);
}
#categories .category-card.dental > .category-badge,
#categories .category-card.medical > .coming-soon { z-index:3; }
#categories .category-card.dental > .category-badge {
  position:absolute;
  top:24px;
  inset-inline-start:24px;
  padding:8px 13px;
  border-radius:999px;
  background:var(--copper);
  color:var(--navy-2);
  box-shadow:0 8px 20px rgba(201,137,104,.18);
  font-size:12px;
  font-weight:850;
  letter-spacing:.02em;
}
#categories .category-card.dental .dental-category-icon,
#categories .category-card.medical .medical-category-icon {
  position:absolute;
  inset-block-start:50%;
  inset-inline-end:38px;
  width:92px;
  height:92px;
  min-width:92px;
  min-height:92px;
  max-width:92px;
  max-height:92px;
  display:grid;
  place-items:center;
  padding:10px;
  margin:0;
  overflow:hidden;
  border:1px solid rgba(22,40,63,.08);
  border-radius:22px;
  background:rgba(255,255,255,.92);
  box-shadow:0 12px 28px rgba(22,40,63,.1), inset 0 1px 0 rgba(255,255,255,.95);
  transform:translateY(-50%);
  transition:transform .28s ease, box-shadow .28s ease;
  pointer-events:none;
  z-index:1;
}
#categories .category-card.dental .dental-category-icon > img,
#categories .category-card.medical .medical-category-icon > img {
  position:static;
  display:block;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  max-width:100%;
  max-height:100%;
  margin:0;
  padding:0;
  object-fit:contain;
  object-position:center;
  opacity:1;
  transform:none;
  mix-blend-mode:normal;
}
#categories .category-card.dental:hover .dental-category-icon,
#categories .category-card.medical:hover .medical-category-icon {
  transform:translateY(calc(-50% - 4px)) rotate(-2deg);
  box-shadow:0 18px 36px rgba(22,40,63,.14), inset 0 1px 0 rgba(255,255,255,.95);
}
#categories .category-card.dental .dental-card-copy,
#categories .category-card.medical .medical-card-copy {
  position:absolute;
  inset-inline-start:34px;
  top:52%;
  width:50%;
  transform:translateY(-50%);
  text-align:start;
  z-index:2;
}
#categories .category-card.dental .dental-card-copy::before,
#categories .category-card.medical .medical-card-copy::before {
  content:"";
  display:block;
  width:38px;
  height:3px;
  margin-bottom:14px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--copper), var(--copper-strong));
}
#categories .category-card.dental .dental-card-copy h3,
#categories .category-card.medical .medical-card-copy h3 {
  margin:0 0 8px;
  font-size:clamp(30px,3vw,40px);
  line-height:1.15;
  color:var(--navy);
}
#categories .category-card.dental .dental-card-copy .category-link,
#categories .category-card.medical .medical-card-copy .category-link {
  margin:0;
  color:var(--copper-strong);
  font-size:17px;
  font-weight:800;
}
@media (max-width:760px) {
  #categories .category-card.dental::before,
  #categories .category-card.medical::before {
    inset-inline-end:0;
    width:130px;
    height:130px;
  }
  #categories .category-card.dental .dental-category-icon,
  #categories .category-card.medical .medical-category-icon {
    inset-block-start:52%;
    inset-inline-end:20px;
    width:70px;
    height:70px;
    min-width:70px;
    min-height:70px;
    max-width:70px;
    max-height:70px;
    padding:8px;
    border-radius:18px;
  }
  #categories .category-card.dental .dental-card-copy,
  #categories .category-card.medical .medical-card-copy {
    inset-inline-start:24px;
    top:55%;
    width:58%;
  }
  #categories .category-card.dental .dental-card-copy h3,
  #categories .category-card.medical .medical-card-copy h3 { font-size:30px; }
  #categories .category-card.dental .dental-card-copy .category-link,
  #categories .category-card.medical .medical-card-copy .category-link { font-size:15px; }
}
