@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&display=swap');

:root {
  --orange: #f37021;
  --orange-dark: #d9550b;
  --black: #15171a;
  --dark: #2f3a45;
  --muted: #68717d;
  --line: #e7e9ee;
  --soft: #f5f6f8;
  --white: #ffffff;
  --shadow: 0 16px 42px rgba(20, 22, 26, .1);
  --page-width: 1000px;
  --compact-width: 940px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  color: var(--black);
  background: linear-gradient(135deg, #ffffff 0%, #fff7f1 42%, #ffe0cb 100%);
  background-attachment: fixed;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--page-width), calc(100% - 64px)); margin: 0 auto; }
.narrow { width: min(660px, calc(100% - 48px)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.scroll-anchor { display: block; height: 0; scroll-margin-top: 150px; }
main [id] { scroll-margin-top: 150px; }
.muted { color: var(--muted); font-size: .9rem; }
.eyebrow { color: var(--orange-dark); font-weight: 800; text-transform: uppercase; font-size: .78rem; letter-spacing: 0; }
h1, h2, h3, h4, .brand, .btn, label, strong { font-weight: 900; }
.section { padding: 42px 0; }
.section-soft { background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,241,231,.82)); }
.section-dark { background: linear-gradient(135deg, #20252b, #15171a); color: var(--white); }
.section-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; margin-bottom: 24px; text-align: center; }
.section-head > div { grid-column: 2; display: grid; justify-items: center; gap: 7px; }
.section-head h2, .page-hero h1 { margin: 0; line-height: 1.12; }
.section-head h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); position: relative; padding-bottom: 10px; }
.section-head h2::after, .page-hero h1::after { content: ""; display: block; width: 64px; height: 3px; margin: 12px auto 0; border-radius: 999px; background: linear-gradient(90deg, var(--orange), var(--orange-dark)); }
.section-head a { grid-column: 3; justify-self: end; color: var(--orange-dark); font-weight: 900; border: 1px solid var(--line); background: rgba(255,255,255,.86); border-radius: 999px; padding: 8px 14px; box-shadow: 0 8px 20px rgba(20,22,26,.05); }
.section-head a:hover { border-color: var(--orange); background: #fff4ec; }
.flash { margin: 16px 0; padding: 14px 16px; border-left: 4px solid var(--orange); background: #fff4ec; border-radius: 6px; }

.topbar { background: #17191d; color: var(--white); font-size: .82rem; }
.topbar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.9); border-bottom: 1px solid rgba(231,233,238,.78); box-shadow: 0 10px 30px rgba(18, 20, 22, .06); backdrop-filter: blur(16px); }
.header-main { min-height: 104px; display: grid; grid-template-columns: auto minmax(360px, 620px) auto auto; align-items: center; justify-content: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-size: 1.42rem; font-weight: 900; letter-spacing: 0; }
.brand:hover { transform: translateY(-1px); }
.brand-name { display: none; }
.brand img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; border: 3px solid var(--white); background: var(--white); box-shadow: 0 8px 20px rgba(18, 20, 22, .12); }
.search { display: grid; grid-template-columns: minmax(108px, 142px) minmax(0, 1fr) auto; min-width: 0; width: 100%; max-width: 620px; align-items: center; justify-self: center; padding: 4px; background: var(--white); border: 2px solid rgba(243,112,33,.84); border-radius: 999px; box-shadow: 0 12px 30px rgba(217, 85, 11, .11); overflow: hidden; }
.search:focus-within { border-color: var(--orange-dark); box-shadow: 0 0 0 4px rgba(243,112,33,.14), 0 14px 34px rgba(217, 85, 11, .13); }
.search-category { display: block; height: 100%; border-radius: 999px 0 0 999px; background: #f5f6f8; border-right: 1px solid var(--line); overflow: hidden; }
.search-category select { width: 100%; height: 100%; min-height: 40px; border: 0; border-radius: 0; padding: 0 28px 0 13px; background: transparent; color: var(--dark); font-size: .86rem; font-weight: 900; outline: 0; cursor: pointer; }
.search input { width: 100%; min-height: 40px; border: 0; border-radius: 0; padding: 8px 14px; background: transparent; outline: 0; font-size: .95rem; }
.search button, .btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.search button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 999px; padding: 0 18px; min-height: 40px; font-size: .9rem; font-weight: 900; cursor: pointer; box-shadow: 0 8px 18px rgba(217, 85, 11, .18); }
.search button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.search button:hover, .btn-primary:hover { background: var(--orange-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 800; }
.header-actions > a:first-child, .auth-link { color: var(--orange-dark); border: 1px solid rgba(243,112,33,.28); border-radius: 999px; padding: 7px 12px; background: #fff7f1; box-shadow: 0 8px 18px rgba(217, 85, 11, .08); white-space: nowrap; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.header-actions > a:first-child:hover, .auth-link:hover { color: var(--white); border-color: var(--orange); background: linear-gradient(135deg, var(--orange), var(--orange-dark)); transform: translateY(-1px); }
.auth-link--register { color: var(--white); border-color: var(--orange); background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.auth-link--register:hover { box-shadow: 0 10px 22px rgba(217, 85, 11, .18); }
.auth-link--account { width: 42px; height: 42px; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--white); border-color: var(--orange); background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.auth-link--account svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.auth-link--account:hover { box-shadow: 0 10px 22px rgba(217, 85, 11, .18); }
.mobile-label { display: none; }
.cart-link span { background: var(--orange); color: var(--white); border-radius: 999px; padding: 2px 8px; }
.header-ticket { position: relative; display: inline-grid; gap: 1px; width: 118px; padding: 8px 10px 7px; border: 1px solid #ff7a1a; border-radius: 8px; background: #fff; color: var(--dark); text-align: center; box-shadow: 0 8px 18px rgba(217, 85, 11, .14); transform-origin: top center; animation: ticketSwing 3.8s ease-in-out infinite; }
.header-ticket::before { content: ''; position: absolute; left: 50%; top: -12px; width: 2px; height: 12px; background: #e4570c; }
.header-ticket strong { color: #e4570c; font-size: .9rem; line-height: 1.1; }
.header-ticket span { color: var(--muted); font-size: .62rem; line-height: 1.18; font-weight: 800; }
.header-ticket:hover { transform: translateY(-1px); border-color: var(--orange-dark); box-shadow: 0 10px 22px rgba(217, 85, 11, .18); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; position: relative; box-shadow: 0 10px 24px rgba(217, 85, 11, .24); }
.menu-toggle span { display: block; width: 21px; height: 2px; background: var(--white); border-radius: 999px; transition: transform .22s ease, opacity .18s ease, width .18s ease; }
.menu-toggle span:nth-child(2) { width: 16px; }
.menu-toggle span + span { margin-top: 0; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 22px; }
.main-nav { padding: 0 0 10px; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 6px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; min-height: 48px; max-width: var(--compact-width); font-weight: 900; font-size: .92rem; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; box-shadow: 0 10px 24px rgba(18, 20, 22, .07); }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { padding: 8px 9px; border-radius: 999px; white-space: nowrap; transition: transform .18s ease, background .18s ease, color .18s ease; }
.nav-links a:hover { color: var(--orange-dark); background: #fff4ec; transform: translateY(-1px); }

.hero-slider { position: relative; min-height: 440px; overflow: hidden; background: var(--black); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity .55s ease, transform .8s ease; background-image: var(--hero-bg); background-size: cover; background-position: center; }
.hero-slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.84) 38%, rgba(255,255,255,.2) 72%); }
.hero-content { position: relative; z-index: 2; min-height: 440px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: var(--page-width); }
.hero-content h1 { max-width: 520px; font-size: clamp(1.85rem, 3.6vw, 3.1rem); line-height: 1.04; margin: 8px 0 12px; }
.hero-content p { max-width: 500px; color: var(--dark); font-size: clamp(.96rem, 1.5vw, 1.08rem); }
.has-shared-hero main > .page-hero:first-child { display: none; }
.hero-actions, .detail-actions, .card-actions, .cta-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.slider-dots { position: absolute; z-index: 3; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 8px; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255,255,255,.7); cursor: pointer; }
.slider-dots button.is-active { background: var(--orange); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 13px; border-radius: 8px; border: 1px solid var(--line); font-size: .9rem; font-weight: 800; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-white { background: var(--white); color: var(--orange-dark); border-color: var(--white); }
.btn-ghost { background: var(--white); color: var(--orange-dark); border-color: var(--orange); }
.btn-light { background: var(--soft); color: var(--dark); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-danger { background: #b42318; color: var(--white); border-color: #b42318; }

.category-grid, .brand-grid, .service-grid, .quote-grid, .blog-grid, .product-grid { display: grid; gap: 14px; }
.category-grid { grid-template-columns: repeat(4, 1fr); }
.product-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.brand-grid { grid-template-columns: repeat(5, 1fr); }
.service-grid, .quote-grid, .blog-grid { grid-template-columns: repeat(3, 1fr); }
.category-card, .brand-card, .product-card, .service-card, .quote-card, .blog-card, .panel, .summary, .status-card, .contact-panel, .form-card, .category-panel { background: rgba(255,255,255,.96); border: 1px solid rgba(231,233,238,.88); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 24px rgba(20, 22, 26, .055); }
.category-card { padding: 13px; display: grid; gap: 8px; min-height: 190px; }
.category-card img { height: 104px; width: 100%; object-fit: cover; border-radius: 6px; }
.category-card span { color: var(--muted); font-size: .92rem; }
.brand-card { padding: 16px; min-height: 78px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 1rem; }
.partners-grid { display: grid; grid-template-columns: repeat(6, minmax(130px, 1fr)); gap: 14px; }
.partner-card { min-height: 138px; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 18px 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: 0 10px 24px rgba(20, 22, 26, .055); text-align: center; color: var(--black); }
.partner-card__logo { width: 92px; height: 58px; display: grid; place-items: center; }
.partner-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-card strong { font-size: .95rem; line-height: 1.2; }
.brand-card img { width: 56px; height: 34px; object-fit: contain; margin-right: 8px; }
.product-card { display: flex; flex-direction: column; }
.product-image { position: relative; background: var(--soft); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--orange); color: var(--white); border-radius: 999px; padding: 4px 10px; font-size: .8rem; font-weight: 800; }
.product-card__body { padding: 15px 16px 16px; display: grid; gap: 8px; flex: 1; }
.product-card h3 { margin: 0; font-size: 1rem; line-height: 1.28; min-height: 2.55em; }
.price { display: flex; align-items: center; gap: 8px; color: var(--orange-dark); }
.price del { color: var(--muted); font-size: .9rem; }
.price.large strong { font-size: 1.8rem; }
.stock { font-weight: 800; font-size: .9rem; }
.stock.in { color: #16703a; }
.stock.out { color: #b42318; }
.card-actions .btn { flex: 1 1 108px; min-height: 38px; padding: 8px 10px; font-size: .86rem; }

.category-wise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--line); }
.panel-head h3 { margin: 0; }
.mini-products { display: grid; gap: 10px; padding: 14px; }
.mini-products a { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px; border-radius: 7px; color: var(--dark); text-decoration: none; transition: background .18s ease, transform .18s ease; }
.mini-products a:hover { background: #fff4ec; transform: translateY(-1px); }
.mini-products img { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; background: var(--soft); }
.mini-products span { min-width: 0; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.mini-products strong { color: var(--black); font-size: .95rem; font-weight: 900; white-space: nowrap; }
.mini-products__subcategory strong { color: var(--orange-dark); }

.service-card { padding: 20px; color: var(--black); }
.about-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.about-card { display: grid; gap: 12px; padding: 24px; border-radius: 6px; background: rgba(255,255,255,.96); border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-card strong { color: var(--orange-dark); font-size: 1.15rem; }
.about-card span { padding: 10px 12px; border-radius: 6px; background: #fff4ec; color: var(--dark); font-weight: 700; }
.why-grid, .contact-cta { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: center; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature-list div { padding: 18px; background: var(--soft); border-radius: 8px; display: grid; gap: 6px; }
.feature-list span { color: var(--muted); }
.quote-card { padding: 18px; display: grid; gap: 9px; }
.quote-card img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.quote-card span { color: var(--orange); }
.blog-card img { height: 168px; width: 100%; object-fit: cover; background: var(--soft); }
.blog-card div { padding: 16px; }
.cta-band { padding: 36px 0; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white); }
.cta-content { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.cta-content h2 { margin: 4px 0 0; max-width: 760px; }

.page-hero { padding: 48px 0 20px; color: var(--black); background: transparent; text-align: center; }
.page-hero.compact { padding: 38px 0 18px; }
.page-hero .container { display: grid; justify-items: center; gap: 8px; }
.page-hero p { max-width: 720px; color: var(--muted); margin: 0 auto; }
.shop-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 30px; align-items: start; }
.shop-results { min-width: 0; }
.shop-results .product-grid { grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.filters { position: sticky; top: 150px; }
.filter-toggle { display: none; width: 100%; border: 1px solid var(--line); background: var(--orange); color: var(--white); border-radius: 8px; padding: 12px; font-weight: 800; }
.filter-panel, .form-card, .admin-form { display: grid; gap: 14px; }
.filter-panel { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
label { display: grid; gap: 7px; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 10px 11px; background: var(--white); color: var(--black); }
textarea { resize: vertical; }
.range-row, .form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.results-head { margin-bottom: 18px; }
.empty-state { padding: 26px; text-align: center; background: var(--soft); border-radius: 8px; }

.product-detail__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; }
.gallery-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); border-radius: 8px; border: 1px solid var(--line); }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; min-height: 86px; flex-wrap: wrap; align-items: flex-start; }
.gallery-thumbs button { border: 1px solid var(--line); background: var(--white); border-radius: 8px; padding: 4px; cursor: pointer; }
.gallery-thumbs button.is-active { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(243, 112, 33, .15); }
.gallery-thumbs img { width: 72px; height: 58px; object-fit: cover; }
.tabs { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }

.form-shell, .contact-grid, .checkout-grid, .cart-layout, .account-grid, .reviews-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.contact-grid--narrow { width: min(920px, calc(100% - 40px)); grid-template-columns: .82fr 1fr; }
.contact-form-card { max-width: 500px; width: 100%; justify-self: end; }
.section--map { padding-top: 0; }
.contact-map-shell { width: min(920px, calc(100% - 40px)); }
.contact-map { border: 1px solid rgba(231,233,238,.88); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 10px 24px rgba(20, 22, 26, .055); }
.contact-map iframe { display: block; width: 100%; height: min(450px, 64vw); min-height: 300px; border: 0; }
.form-card, .summary, .contact-panel, .panel, .status-card { padding: 20px; }
.auth-section { padding-top: 38px; }
.auth-shell { display: grid; place-items: center; }
.auth-card { width: min(430px, 100%); display: grid; gap: 20px; padding: 30px; border: 1px solid rgba(231,233,238,.9); border-radius: 8px; background: rgba(255,255,255,.97); box-shadow: 0 24px 70px rgba(21, 23, 26, .12); }
.auth-card__head { display: grid; gap: 8px; text-align: center; }
.auth-card__head h2 { margin: 0; font-size: 1.65rem; line-height: 1.12; }
.auth-card__head p { margin: 0; color: var(--muted); }
.auth-form { display: grid; gap: 14px; }
.auth-form label { color: var(--dark); font-size: .92rem; }
.auth-form input { min-height: 46px; border-radius: 8px; background: #fbfcfd; }
.auth-form input:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,112,33,.14); background: var(--white); }
.auth-form .btn { width: 100%; min-height: 46px; margin-top: 2px; }
.auth-form p { margin: 2px 0 0; text-align: center; color: var(--muted); font-weight: 700; }
.auth-form p a { color: var(--orange-dark); font-weight: 900; }
.admin-login-body { min-height: 100vh; background: radial-gradient(circle at top left, rgba(243,112,33,.2), transparent 36%), linear-gradient(135deg, #17191d, #2b3038); }
.admin-login-page { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.admin-login-card { width: min(460px, 100%); }
.admin-login-card h1 { margin: 0; font-size: 1.75rem; line-height: 1.12; }
.checkbox { display: flex; align-items: center; gap: 8px; }
.checkbox input { width: auto; }
.choice-row { display: flex; flex-wrap: wrap; gap: 12px; font-weight: 400; }
.choice-row label { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.choice-row input { width: auto; }
.context-panel { display: grid; gap: 8px; margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.84); }
.context-panel span { color: var(--dark); overflow-wrap: anywhere; }
.inline-form { display: flex; gap: 10px; margin-bottom: 18px; }
.status-pill { background: #e9f8ef; color: #16703a; padding: 4px 10px; border-radius: 999px; font-weight: 800; }
.blog-detail { padding: 56px 0; }
.blog-detail h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.08; }
.blog-detail img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 8px; margin: 24px 0; }
.prose { font-size: 1.05rem; color: var(--dark); }
.cart-row { display: grid; grid-template-columns: 76px 1fr 90px auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; background: var(--soft); }

.footer { background: #1f242b; color: var(--white); padding: 52px 0 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr) minmax(220px, 1.25fr); gap: 24px; }
.footer h3 { margin: 0 0 12px; }
.footer a { display: block; color: #e8eaee; margin: 8px 0; }
.footer p { color: #d4d8de; }
.footer .newsletter { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100%; max-width: 280px; margin-top: 14px; }
.footer .newsletter input { display: block; min-width: 0; width: 100%; min-height: 48px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 13px 15px; background: rgba(255,255,255,.98); color: var(--black); box-shadow: 0 10px 22px rgba(0,0,0,.14); outline: 0; }
.footer .newsletter input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,112,33,.18), 0 10px 22px rgba(0,0,0,.14); }
.footer .newsletter button { display: block; width: 100%; min-height: 48px; border: 0; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white); border-radius: 8px; padding: 13px 18px; font-weight: 900; cursor: pointer; box-shadow: 0 12px 24px rgba(243,112,33,.22); transition: transform .16s ease, box-shadow .16s ease; }
.footer .newsletter button:hover { transform: translateY(-1px); box-shadow: 0 16px 28px rgba(243,112,33,.3); }
.footer form.footer-newsletter { display: grid !important; grid-template-columns: 1fr !important; gap: 12px; width: min(340px, 100%); max-width: 340px; align-items: stretch; margin-top: 16px; }
.footer-newsletter__field, .footer-newsletter__action { display: block; width: 100%; }
.footer-newsletter__field input, .footer-newsletter__action button { width: 100%; }
.footer .footer-newsletter__field input { min-height: 58px; border-radius: 8px; padding: 16px 18px; background: var(--white); border: 1px solid rgba(18,20,22,.08); color: var(--black); box-shadow: none; }
.footer .footer-newsletter__field input::placeholder { color: #73777f; }
.footer .footer-newsletter__action button { min-height: 56px; border-radius: 8px; padding: 16px 18px; color: var(--white); background: linear-gradient(135deg, var(--orange), var(--orange-dark)); text-transform: uppercase; letter-spacing: .08em; }
.copyright { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #d4d8de; }
.quick-actions { position: fixed; z-index: 40; left: 50%; bottom: 12px; transform: translate(-50%, 18px); display: none; grid-template-columns: repeat(4, 1fr); gap: 8px; width: min(380px, calc(100% - 18px)); padding: 0; background: transparent; border: 0; box-shadow: none; opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .22s ease; }
.quick-actions.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.quick-action { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 62px; padding: 7px 4px 6px; color: #222; border: 1px solid rgba(18, 20, 22, .08); border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 12px 28px rgba(18, 20, 22, .16); font-size: .72rem; font-weight: 900; line-height: 1; text-align: center; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; backdrop-filter: blur(10px); }
.quick-action__icon { display: grid; place-items: center; width: 32px; height: 32px; color: var(--white); border-radius: 50%; box-shadow: inset 0 -8px 16px rgba(0,0,0,.13), 0 8px 16px rgba(18, 20, 22, .14); }
.quick-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quick-action--whatsapp svg { width: 21px; height: 21px; fill: currentColor; stroke: none; }
.quick-action--phone .quick-action__icon { background: linear-gradient(135deg, #1598ff, #006ec8); }
.quick-action--whatsapp .quick-action__icon { background: linear-gradient(135deg, #25d366, #128c7e); }
.quick-action--products .quick-action__icon { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.quick-action--register .quick-action__icon { background: linear-gradient(135deg, #2f3a45, #111827); }
.quick-action:hover, .quick-action:focus-visible { transform: translateY(-3px); border-color: rgba(217, 85, 11, .28); box-shadow: 0 16px 32px rgba(18, 20, 22, .2); outline: 0; }
.quick-action:active { transform: translateY(0) scale(.96); }

.admin-body { background: radial-gradient(circle at top right, rgba(243,112,33,.16), transparent 34%), linear-gradient(135deg, #fffaf6, #f4f5f7 46%, #fff2e8); min-height: 100vh; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 70; width: 272px; height: 100vh; padding: 20px 16px; background: linear-gradient(165deg, #ffffff 0%, #fff7f1 45%, #f37021 140%); color: var(--black); overflow: hidden; border-right: 1px solid rgba(243,112,33,.16); display: flex; flex-direction: column; }
.admin-sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: 0 0 auto; }
.admin-sidebar-close { display: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white); font-size: 1.7rem; line-height: 1; font-weight: 900; cursor: pointer; box-shadow: 0 12px 24px rgba(217, 85, 11, .2); }
.admin-sidebar-backdrop { display: none; }
.admin-brand { width: 100%; padding: 10px 10px 18px; border-bottom: 1px solid rgba(243,112,33,.18); margin-bottom: 14px; color: var(--orange-dark); }
.admin-nav { display: grid; gap: 5px; flex: 1 1 auto; overflow-y: auto; min-height: 0; padding-right: 2px; -webkit-overflow-scrolling: touch; }
.admin-nav span { color: var(--orange-dark); font-size: .72rem; font-weight: 900; text-transform: uppercase; margin: 14px 10px 5px; }
.admin-nav a { color: #24272c; padding: 10px 11px; border-radius: 8px; font-weight: 900; border: 1px solid transparent; transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.admin-nav a:hover, .admin-nav a:focus-visible { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); border-color: rgba(217,85,11,.4); color: var(--white); transform: translateX(4px); box-shadow: 0 12px 24px rgba(217,85,11,.2); outline: 0; }
.admin-main { margin-left: 272px; padding: 26px; max-width: 1120px; }
.admin-page-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; margin-bottom: 22px; }
.admin-page-head h1 { margin: 3px 0 0; line-height: 1.1; }
.admin-page-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 18px; }
.admin-stats div, .admin-panel { background: rgba(255,255,255,.96); border: 1px solid rgba(243,112,33,.12); border-radius: 8px; box-shadow: 0 12px 28px rgba(20, 22, 26, .06); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.admin-stats div:hover, .admin-panel:hover { border-color: rgba(243,112,33,.28); box-shadow: 0 18px 40px rgba(217,85,11,.1); }
.admin-stats div { padding: 18px; }
.admin-stats strong { display: block; color: var(--orange); font-size: 2rem; line-height: 1; margin-bottom: 7px; }
.admin-stats span { color: var(--muted); font-weight: 800; }
.admin-panel { padding: 16px; margin-bottom: 16px; }
.admin-panel-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.admin-panel-head h2 { margin: 0; line-height: 1.2; }
.admin-panel-head p { margin: 5px 0 0; color: var(--muted); }
.admin-dashboard-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start; }
.admin-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.admin-form.wide { grid-template-columns: repeat(4, minmax(160px, 1fr)); align-items: end; }
.admin-form.wide label:has(textarea) { grid-column: span 2; }
.admin-table { display: grid; gap: 10px; }
.admin-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfd; }
.operation-row { grid-template-columns: minmax(220px, 1fr) auto minmax(130px, 170px) auto auto; }
.operation-row small { color: var(--muted); overflow-wrap: anywhere; }
.admin-row.slide-edit { grid-template-columns: repeat(4, minmax(120px, 1fr)); }
.layout-row { grid-template-columns: 1fr 110px; }
.delete-row { grid-template-columns: 1fr auto; background: #fff7f5; }
.admin-list p { padding: 8px 0; border-bottom: 1px solid var(--line); }
.admin-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.admin-quick-grid a { display: grid; gap: 6px; min-height: 112px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg, #ffffff, #fff7f1); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.admin-quick-grid a:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(243, 112, 33, .14); }
.admin-quick-grid span { color: var(--muted); font-size: .92rem; }
.admin-preview-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.admin-preview-columns h3 { margin: 0 0 10px; }
.admin-media-grid, .admin-media-manager { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.admin-media-grid.compact { grid-template-columns: repeat(2, 1fr); }
.admin-media-manager { grid-template-columns: repeat(4, minmax(180px, 1fr)); }
.admin-media-card { display: grid; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfd; min-width: 0; }
.admin-media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--white); border: 1px solid var(--line); }
.admin-media-card strong { font-size: .92rem; line-height: 1.25; overflow-wrap: anywhere; }
.category-media-manager, .subcategory-media-manager { grid-template-columns: repeat(3, minmax(220px, 1fr)); }
.category-admin-card summary, .subcategory-admin-card summary { cursor: pointer; list-style: none; display: grid; gap: 8px; }
.category-admin-card summary::-webkit-details-marker, .subcategory-admin-card summary::-webkit-details-marker { display: none; }
.category-admin-card summary span, .subcategory-admin-card summary span { color: var(--muted); font-size: .86rem; line-height: 1.3; }
.category-admin-card[open], .subcategory-admin-card[open] { background: #fffaf6; border-color: rgba(243,112,33,.28); }
.category-admin-card form, .subcategory-admin-card form { margin-top: 10px; }
.media-admin-row { grid-template-columns: 84px minmax(190px, 1fr) minmax(210px, .9fr) auto; }
.media-admin-row img, .product-admin-row img { width: 84px; height: 64px; object-fit: cover; border-radius: 6px; background: var(--soft); border: 1px solid var(--line); }
.media-admin-row div { display: grid; gap: 3px; min-width: 0; }
.media-admin-row div span, .product-admin-row small { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.media-admin-row .btn, .product-admin-row .btn { white-space: nowrap; }
.product-admin-row { grid-template-columns: 74px minmax(160px, 1fr) minmax(150px, 1fr) auto minmax(180px, .8fr) auto; }
.product-inline-upload { display: grid; grid-template-columns: minmax(150px, 1fr) auto; gap: 8px; align-items: end; }
.admin-upload-control { font-size: .85rem; gap: 5px; }
.admin-upload-control input { padding: 7px; }
.admin-count { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border-radius: 999px; background: #fff4ec; color: var(--orange-dark); font-size: .82rem; font-weight: 900; white-space: nowrap; }
.admin-create-box, .admin-edit-card { border: 1px solid var(--line); border-radius: 8px; background: #fbfcfd; margin-bottom: 10px; overflow: hidden; }
.admin-create-box summary, .admin-edit-card summary { cursor: pointer; list-style: none; padding: 11px 13px; font-weight: 900; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-create-box summary::-webkit-details-marker, .admin-edit-card summary::-webkit-details-marker { display: none; }
.admin-create-box summary::after, .admin-edit-card summary::after { content: '+'; width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--soft); color: var(--dark); flex: 0 0 auto; }
.admin-create-box[open] summary::after, .admin-edit-card[open] summary::after { content: '-'; }
.admin-create-box .admin-form, .admin-edit-card .admin-form { border-top: 1px solid var(--line); padding: 13px; }
.admin-form.compact { grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 10px; align-items: end; }
.admin-form.compact.single { grid-template-columns: 1fr; }
.admin-form.compact label:has(textarea) { grid-column: span 2; }
.admin-form.compact.single label:has(textarea) { grid-column: auto; }
.admin-form.compact input, .admin-form.compact select, .admin-form.compact textarea { padding: 8px 9px; min-height: 38px; }
.admin-form.compact textarea { min-height: 82px; }
.admin-compact-list { display: grid; gap: 8px; }
.admin-edit-card summary span { display: grid; gap: 2px; min-width: 0; }
.admin-edit-card summary small { color: var(--muted); font-weight: 700; overflow-wrap: anywhere; }
.admin-edit-card summary em { color: #16703a; font-style: normal; font-size: .82rem; font-weight: 900; background: #e9f8ef; border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.admin-delete-inline { display: flex; justify-content: flex-end; padding: 0 13px 13px; }
.admin-chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.admin-chip-list span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--dark); font-size: .88rem; font-weight: 800; }
.admin-split { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(260px, 1fr); gap: 12px; align-items: start; }
.blog-admin-row { grid-template-columns: 88px 1fr auto auto; }
.blog-admin-row img { width: 88px; height: 66px; object-fit: cover; border-radius: 6px; background: var(--soft); border: 1px solid var(--line); }
.blog-admin-row div { display: grid; gap: 4px; min-width: 0; }
.blog-admin-row div span { color: var(--muted); overflow-wrap: anywhere; }
.contact-field-row { grid-template-columns: repeat(4, minmax(130px, 1fr)); }
.contact-field-row .checkbox { align-self: end; }

.admin-menu-toggle { display: none; position: fixed; top: 12px; left: 12px; z-index: 80; width: 46px; height: 46px; margin: 0; border: 0; border-radius: 14px; padding: 0; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white); font-weight: 900; box-shadow: 0 12px 28px rgba(217, 85, 11, .24); align-items: center; justify-content: center; gap: 0; cursor: pointer; }
.admin-menu-toggle > span:last-child { display: none; }
.admin-menu-toggle__icon { display: grid; gap: 4px; width: 22px; }
.admin-menu-toggle__icon span { display: block; height: 2px; background: currentColor; border-radius: 999px; transition: transform .22s ease, opacity .18s ease; }
.admin-menu-toggle.is-open .admin-menu-toggle__icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.admin-menu-toggle.is-open .admin-menu-toggle__icon span:nth-child(2) { opacity: 0; }
.admin-menu-toggle.is-open .admin-menu-toggle__icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.billing-stats { grid-template-columns: repeat(5, minmax(150px, 1fr)); }
.billing-form-panel { overflow: visible; }
.billing-form { align-items: start; }
.billing-form-section { grid-column: 1 / -1; display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfd; }
.billing-form-section h2 { margin: 0; font-size: 1.05rem; }
.billing-invoice-form { display: grid; gap: 14px; }
.billing-items { display: grid; gap: 12px; }
.billing-item-row { display: grid; gap: 10px; padding: 12px; border: 1px dashed rgba(243,112,33,.35); border-radius: 8px; background: var(--white); }
.billing-item-row .remove-item { justify-self: end; }
.billing-totals { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-radius: 8px; background: #fff4ec; color: var(--orange-dark); }
.billing-wide-table { overflow-x: auto; display: block; }
.billing-wide-table table, .invoice-items { width: 100%; min-width: 980px; border-collapse: collapse; }
.billing-wide-table th, .billing-wide-table td, .invoice-items th, .invoice-items td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.billing-wide-table th, .invoice-items th { background: #fff4ec; color: var(--orange-dark); font-size: .82rem; text-transform: uppercase; }
.billing-actions { display: flex; flex-wrap: wrap; gap: 6px; min-width: 320px; }
.billing-actions .inline-form { display: flex; gap: 6px; align-items: center; }
.billing-actions input { min-width: 120px; }
.billing-customer-actions { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 8px; min-width: 330px; align-items: stretch; }
.billing-customer-actions .btn, .billing-customer-actions button { width: 100%; min-height: 48px; justify-content: center; text-align: center; white-space: nowrap; }
.billing-customer-actions .inline-form { display: block; margin: 0; }
.billing-customer-actions .inline-form input[type="hidden"] { display: none; }
@media (max-width: 640px) {
  .billing-customer-actions { grid-template-columns: 1fr; min-width: 220px; }
}
.billing-row { grid-template-columns: 1fr 1fr auto auto; }
.billing-row-head { background: #fff4ec; }
.billing-filter-form { align-items: end; }
.invoice-view-panel { background: #eef1f5; }
.invoice-document { max-width: 980px; margin: 0 auto; padding: 34px; background: var(--white); color: var(--black); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 46px rgba(20,22,26,.08); }
.invoice-top, .invoice-parties, .invoice-footer { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; margin-bottom: 22px; }
.invoice-top h1 { margin: 0 0 8px; color: var(--orange-dark); }
.invoice-top h2 { margin: 0 0 8px; }
.invoice-top span { display: block; margin-top: 6px; }
.invoice-logo { width: 96px; max-height: 72px; object-fit: contain; margin-bottom: 12px; }
.invoice-signature { width: 140px; max-height: 70px; object-fit: contain; margin-bottom: 8px; }
.invoice-summary { display: grid; justify-content: end; gap: 7px; margin-top: 18px; text-align: right; }
.invoice-summary p { margin: 0; }
.invoice-summary strong { padding-top: 10px; color: var(--orange-dark); font-size: 1.2rem; }
.invoice-note { padding: 12px; border-radius: 8px; background: #fff4ec; color: var(--orange-dark); font-weight: 800; }
.invoice-footer { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.invoice-preview .invoice-document { min-height: 240px; }
.invoice-actions-bar { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 16px; }
.order-invoice-document { margin-top: 18px; }

@media print {
  .topbar, .site-header, .footer, .quick-actions, .page-hero, .admin-sidebar, .admin-menu-toggle, .admin-page-head, .no-print, .flash { display: none !important; }
  body, main, .section, .container { background: #fff !important; }
  .admin-main, .invoice-view-panel, .order-success-page { margin: 0; padding: 0 !important; max-width: none; background: #fff !important; }
  .invoice-document { box-shadow: none; border: 0; max-width: none; margin: 0; }
}

@media (max-width: 980px) {
  .header-main { grid-template-columns: auto auto 1fr; }
  .search { grid-column: 1 / -1; order: 3; margin-top: 4px; max-width: none; }
  .menu-toggle { display: flex; order: 2; justify-self: end; }
  .header-actions { justify-self: end; }
  .main-nav { display: none; }
  .main-nav.is-open { display: block; }
  .nav-links { display: grid; grid-template-columns: repeat(2, 1fr); padding: 10px; border-radius: 18px; }
  main > .hero-slider { margin-top: 14px; }
  .hero-slider, .hero-content { min-height: 460px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.74)); }
  .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid, .service-grid, .quote-grid, .blog-grid, .category-wise, .feature-list, .footer-grid, .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout, .product-detail__grid, .form-shell, .contact-grid, .checkout-grid, .cart-layout, .account-grid, .reviews-layout, .why-grid, .contact-cta, .contact-grid--narrow, .about-layout { grid-template-columns: 1fr; }
  .contact-form-card { max-width: none; justify-self: stretch; }
  .filters { position: static; }
  .filter-toggle { display: block; margin-bottom: 10px; }
  .filter-panel { display: none; }
  .filter-panel.is-open { display: grid; }
  .admin-body.admin-menu-open { overflow: hidden; }
  .admin-menu-toggle { display: inline-flex; }
  .admin-menu-toggle.is-open { opacity: 0; pointer-events: none; }
  .admin-sidebar { display: flex; position: fixed; inset: 0 auto 0 0; width: min(86vw, 320px); height: 100dvh; max-height: 100dvh; margin: 0; padding: 12px; border-radius: 0 18px 18px 0; border: 1px solid rgba(243,112,33,.16); border-left: 0; transform: translateX(-105%); transition: transform .24s ease; box-shadow: 24px 0 60px rgba(17, 24, 39, .22); }
  .admin-sidebar.is-open { transform: translateX(0); }
  .admin-sidebar-backdrop { display: block; position: fixed; inset: 0; z-index: 65; border: 0; background: rgba(17, 24, 39, .42); opacity: 0; pointer-events: none; transition: opacity .22s ease; }
  .admin-menu-open .admin-sidebar-backdrop { opacity: 1; pointer-events: auto; }
  .admin-sidebar-head { position: sticky; top: 0; z-index: 2; padding: 4px 0 10px; background: linear-gradient(165deg, #ffffff 0%, #fff7f1 100%); }
  .admin-sidebar-close { display: inline-grid; place-items: center; flex: 0 0 auto; }
  .admin-brand { border-bottom: 0; margin-bottom: 0; padding: 8px; min-width: 0; }
  .admin-nav { grid-template-columns: 1fr; padding: 6px 2px 28px; overscroll-behavior: contain; }
  .admin-nav span { grid-column: 1 / -1; margin-top: 8px; }
  .admin-main { margin-left: 0; padding: 76px 16px 16px; max-width: none; }
  .admin-page-head { align-items: flex-start; flex-direction: column; }
  .admin-page-actions { justify-content: flex-start; }
  .admin-stats, .admin-columns, .admin-form.wide, .admin-form.compact, .admin-preview-columns, .admin-dashboard-grid, .admin-quick-grid, .admin-media-manager, .category-media-manager, .subcategory-media-manager, .admin-split, .billing-stats { grid-template-columns: 1fr 1fr; }
  .admin-row, .admin-row.slide-edit, .operation-row, .product-admin-row, .media-admin-row, .blog-admin-row, .contact-field-row { grid-template-columns: 1fr; }
  .product-admin-row img, .media-admin-row img, .blog-admin-row img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .footer { padding-bottom: 110px; }
  .quick-actions { left: 0; right: 0; bottom: 0; transform: none; display: grid; width: 100%; max-width: 100%; box-sizing: border-box; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid rgba(231,233,238,.95); border-radius: 18px 18px 0 0; box-shadow: 0 -16px 38px rgba(18,20,22,.16); opacity: 1; pointer-events: auto; backdrop-filter: blur(14px); }
  .quick-actions.is-visible { transform: none; opacity: 1; pointer-events: auto; }
  .quick-action { min-height: 58px; padding: 7px 3px 6px; border-radius: 14px; box-shadow: none; font-size: .7rem; color: var(--dark); background: linear-gradient(135deg, #ffffff, #fff7f1); }
  .quick-action__icon { width: 30px; height: 30px; }
  .quick-action svg { width: 17px; height: 17px; }
  .quick-action--whatsapp svg { width: 20px; height: 20px; }
}

@media (max-width: 620px) {
  .container, .contact-grid--narrow { width: min(100% - 24px, 1280px); }
  .topbar__inner { justify-content: center; text-align: center; padding: 8px 0; }
  .brand { font-size: 1.35rem; }
  .brand img { width: 78px; height: 78px; }
  .header-main { gap: 10px; min-height: 96px; }
  .header-actions { gap: 0; font-size: .86rem; }
  .header-actions a:first-child, .auth-link { display: inline-flex; padding: 7px 10px; }
  .auth-link--login { display: none; }
  .header-actions .cart-link { display: none; }
  .desktop-label { display: none; }
  .mobile-label { display: inline; }
  .search { grid-template-columns: 76px minmax(0, 1fr) 44px; padding: 3px; }
  .search-category select { min-height: 36px; padding: 0 18px 0 9px; font-size: .78rem; }
  .search input { min-height: 36px; padding: 7px 10px; font-size: .86rem; }
  .search button { min-width: 38px; min-height: 36px; padding: 0 11px; }
  .search button span { display: none; }
  .nav-links { grid-template-columns: 1fr; }
  main > .hero-slider { margin-top: 16px; }
  .hero-slider { min-height: 0; aspect-ratio: 1 / 1; }
  .hero-slide { background-image: var(--hero-mobile-bg, var(--hero-bg)); background-position: center; }
  .hero-content { min-height: 100%; padding: 24px 20px 54px; justify-content: flex-end; }
  .hero-content h1 { max-width: 100%; font-size: clamp(1.7rem, 8vw, 2.25rem); }
  .hero-content p { max-width: 100%; margin: 8px 0 14px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 43%, rgba(255,255,255,.28) 72%, rgba(255,255,255,.08) 100%); }
  .slider-dots { bottom: 18px; }
  .section { padding: 42px 0; }
  .section-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .section-head > div, .section-head a { grid-column: auto; justify-self: center; }
  .cta-content { align-items: flex-start; flex-direction: column; }
  .category-grid, .product-grid, .brand-grid, .service-grid, .quote-grid, .blog-grid, .category-wise, .feature-list, .footer-grid, .partners-grid, .range-row, .form-grid, .admin-stats, .admin-columns, .admin-form.wide, .admin-form.compact, .admin-preview-columns, .admin-media-grid, .admin-media-grid.compact, .admin-dashboard-grid, .admin-quick-grid, .admin-media-manager, .admin-split, .admin-nav { grid-template-columns: 1fr; }
  .admin-form.compact label:has(textarea) { grid-column: auto; }
  .invoice-top, .invoice-parties, .invoice-footer { grid-template-columns: 1fr; }
  .invoice-document { padding: 20px; }
  .billing-totals { align-items: flex-start; flex-direction: column; }
  .product-card h3 { min-height: auto; }
  .mini-products a { grid-template-columns: 50px 1fr; }
  .mini-products strong { grid-column: 2; }
  .cart-row { grid-template-columns: 64px 1fr; }
  .cart-row input, .cart-row strong { grid-column: 2; }
  .inline-form, .newsletter { flex-direction: column; }
  .footer { padding-bottom: 104px; }
  .quick-actions { gap: 7px; padding-inline: 10px; }
}

@media (max-width: 620px) {
  .page-shop .shop-results .product-grid,
  .page-categories .category-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 12px;
    scrollbar-width: none;
  }

  .page-shop .shop-results .product-grid::-webkit-scrollbar,
  .page-categories .category-grid::-webkit-scrollbar {
    display: none;
  }

  .page-shop .shop-results .product-grid > *,
  .page-categories .category-grid > * {
    flex: 0 0 calc((100% - 12px) / 2);
    min-width: 0;
    scroll-snap-align: start;
  }

  .page-categories .category-card {
    min-height: 178px;
  }

  .page-categories .category-card img {
    height: 96px;
  }
}

@media (max-width: 620px) {
  .page-home .category-grid,
  .page-home .product-grid,
  .page-home .brand-grid,
  .page-home .service-grid,
  .page-home .blog-grid,
  .page-brands .brand-grid,
  .page-repair-services .service-grid,
  .page-blogs .blog-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 12px;
    scrollbar-width: none;
  }

  .page-home .category-grid::-webkit-scrollbar,
  .page-home .product-grid::-webkit-scrollbar,
  .page-home .brand-grid::-webkit-scrollbar,
  .page-home .service-grid::-webkit-scrollbar,
  .page-home .blog-grid::-webkit-scrollbar,
  .page-brands .brand-grid::-webkit-scrollbar,
  .page-repair-services .service-grid::-webkit-scrollbar,
  .page-blogs .blog-grid::-webkit-scrollbar {
    display: none;
  }

  .page-home .category-grid > *,
  .page-home .product-grid > *,
  .page-home .brand-grid > *,
  .page-home .service-grid > *,
  .page-home .blog-grid > *,
  .page-brands .brand-grid > *,
  .page-repair-services .service-grid > *,
  .page-blogs .blog-grid > * {
    flex: 0 0 calc((100% - 12px) / 2);
    min-width: 0;
    scroll-snap-align: start;
  }

  .page-home .brand-card,
  .page-brands .brand-card {
    min-height: 88px;
    padding: 13px 8px;
  }

  .page-home .service-card,
  .page-repair-services .service-card,
  .page-home .blog-card,
  .page-blogs .blog-card {
    min-height: 100%;
  }
}

.card-label-mobile {
  display: none;
}

@media (max-width: 620px) {
  .product-card .card-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .product-card .card-actions .btn {
    flex: 0 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 34px;
    padding: 7px 5px;
    border-radius: 7px;
    font-size: .76rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .product-card .card-label-desktop {
    display: none;
  }

  .product-card .card-label-mobile {
    display: inline;
  }
}

@media (max-width: 620px) {
  .product-card,
  .category-card {
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 9px;
    box-shadow: 0 8px 22px rgba(18, 20, 22, .08);
    overflow: hidden;
  }

  .product-card .product-image {
    aspect-ratio: 4 / 3;
    border-radius: 0;
    background: #f7f8fb;
  }

  .product-card .product-image img,
  .category-card img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
  }

  .product-card .badge {
    top: 12px;
    left: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #ff6b1a;
    font-size: .76rem;
    box-shadow: 0 8px 18px rgba(255, 107, 26, .22);
  }

  .product-card__body {
    padding: 15px 13px 14px;
    gap: 9px;
  }

  .product-card .muted {
    color: #617089;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .product-card h3 {
    min-height: 2.5em;
    color: #020617;
    font-size: .98rem;
    line-height: 1.25;
    font-weight: 900;
  }

  .product-card .price {
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
  }

  .product-card .price strong {
    color: #e45712;
    font-size: 1.02rem;
    line-height: 1.1;
  }

  .product-card .price del {
    color: #6f7a8a;
    font-size: .82rem;
  }

  .product-card .stock {
    color: #06713d;
    font-size: .84rem;
    font-weight: 900;
  }

  .product-card .card-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    margin-top: 7px;
  }

  .product-card .card-actions .btn {
    min-height: 42px;
    padding: 7px 4px;
    border-radius: 8px;
    font-size: .76rem;
    font-weight: 900;
    line-height: 1;
  }

  .product-card .card-actions .btn-ghost {
    color: var(--orange-dark);
    border-color: var(--orange);
    background: #ffffff;
  }

  .product-card .card-actions .btn-light {
    color: #1f2937;
    border-color: #e5e9f0;
    background: #f8fafc;
  }

  .category-card {
    padding: 0 0 13px;
    gap: 9px;
    min-height: 190px;
  }

  .category-card img {
    aspect-ratio: 4 / 3;
  }

  .category-card strong,
  .category-card span {
    padding: 0 12px;
  }

  .category-card strong {
    color: #020617;
    font-size: .96rem;
    line-height: 1.25;
  }

  .category-card span {
    color: #617089;
    font-size: .78rem;
    line-height: 1.35;
  }
}

@media (max-width: 620px) {
  .product-card .card-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card .card-actions .btn {
    min-height: 40px;
  }

  .product-card .card-actions .btn-light {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .product-card .card-label-desktop {
    display: inline;
  }

  .product-card .card-label-mobile {
    display: none;
  }

  .product-card .card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
  }

  .product-card .card-actions .btn {
    min-height: 48px;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: .86rem;
    font-weight: 900;
    line-height: 1.1;
  }

  .product-card .card-actions .btn-primary,
  .product-card .card-actions .btn-ghost {
    grid-column: auto;
  }

  .product-card .card-actions .btn-light {
    grid-column: 1 / -1;
    min-height: 48px;
    background: linear-gradient(180deg, #ffffff, #f2f4f7);
    border: 1px solid #e1e6ee;
    color: #1f2937;
  }
}

/* Product action labels are intentionally short on every viewport. */
.product-card .card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card .card-actions .btn-primary,
.product-card .card-actions .btn-ghost {
  grid-column: auto;
}

.product-card .card-actions .btn-light {
  grid-column: 1 / -1;
}

.topbar-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #25d366;
  font-weight: 900;
}

.topbar-contact-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.topbar-socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-social {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.1);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.topbar-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: none;
}

.topbar-social--instagram svg,
.topbar-social--instagram svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.topbar-social--facebook { color: #1877f2; }
.topbar-social--instagram { color: #e4405f; }
.topbar-social--youtube { color: #ff0033; }
.topbar-social--x { color: #fff; }
.topbar-social:hover { transform: translateY(-1px); background: rgba(255,255,255,.18); }

@media (max-width: 620px) {
  .page-home .category-wise {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 12px;
    scrollbar-width: none;
  }

  .page-home .category-wise::-webkit-scrollbar {
    display: none;
  }

  .page-home .category-wise > .category-panel {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

@media (max-width: 620px) {
  .page-home .testimonials-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 12px;
    scrollbar-width: none;
  }

  .page-home .testimonials-grid::-webkit-scrollbar {
    display: none;
  }

  .page-home .testimonials-grid > .quote-card {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

/* Mtech business expansion: navigation, quote flow, compact hero, admin enquiry management */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 40px rgba(17, 24, 39, .14); padding: 8px; display: none; z-index: 40; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: grid; gap: 4px; }
.nav-dropdown-menu a { color: var(--dark); border-radius: 6px; padding: 9px 10px; }
.nav-dropdown-menu a:hover { background: #fff4ec; color: var(--orange-dark); }
.service-mega { min-width: 620px; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 10px; }
.service-mega div { display: grid; gap: 2px; }
.service-mega strong { padding: 7px 10px; color: var(--orange-dark); }
.nav-quote, .quote-link { background: linear-gradient(135deg, #ff7a1a, #e4570c); color: #fff !important; border-radius: 999px; padding-inline: 14px !important; box-shadow: 0 10px 24px rgba(244, 105, 24, .22); }

.hero-shell { position: relative; max-width: min(90vw, 1240px); margin: 22px auto 0; padding-inline: 8px; }
.hero-shell .hero-slider { border-radius: 18px; overflow: hidden; min-height: clamp(280px, 36vw, 460px); box-shadow: 0 24px 60px rgba(17, 24, 39, .18); }
.hero-shell .hero-slide { min-height: clamp(280px, 36vw, 460px); }
.hero-content { max-width: 780px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 46px; height: 46px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #fff, #fff4ec); color: #e4570c; font-size: 2rem; line-height: 1; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 28px rgba(17, 24, 39, .22); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.hero-arrow:hover, .hero-arrow:focus-visible { transform: translateY(-50%) scale(1.07); box-shadow: 0 16px 34px rgba(244, 105, 24, .32); outline: 3px solid rgba(255, 122, 26, .35); }
.hero-arrow--prev { left: 18px; }
.hero-arrow--next { right: 18px; }
.sunday-ticket { display: none; }
.sunday-ticket::before { content: ''; position: absolute; left: 50%; top: -24px; width: 2px; height: 24px; background: #e4570c; }
.sunday-ticket strong { display: block; color: #e4570c; font-size: 1.35rem; }
.sunday-ticket span { display: block; font-size: .82rem; color: var(--muted); font-weight: 700; }

@keyframes ticketSwing { 0%, 100% { rotate: -1.5deg; } 50% { rotate: 1.5deg; } }
@media (prefers-reduced-motion: reduce) { .sunday-ticket { animation: none; } }

.quote-cta-panel { display: grid; grid-template-columns: minmax(260px, 1fr) auto auto; gap: 20px; align-items: center; background: linear-gradient(135deg, #fff, #fff4ec); border: 1px solid #ffd8bf; border-radius: 16px; padding: clamp(20px, 4vw, 34px); box-shadow: 0 18px 48px rgba(244, 105, 24, .12); }
.quote-cta-panel h2 { margin: 0 0 8px; }
.quote-cta-icons { display: flex; flex-wrap: wrap; gap: 8px; max-width: 440px; }
.quote-cta-icons span { border: 1px solid #ffd8bf; background: #fff; border-radius: 999px; padding: 8px 10px; font-weight: 800; color: #af3d05; }
.product-card__summary { color: var(--muted); font-size: .9rem; min-height: 38px; }
.card-actions--quote { grid-template-columns: 1fr 1fr 1fr; }

.quote-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.quote-category-card, .quote-subcategory-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(17, 24, 39, .07); overflow: hidden; }
.quote-category-card { display: grid; gap: 12px; padding-bottom: 16px; }
.quote-category-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.quote-category-card div, .quote-category-card > span, .quote-category-card .btn { margin-inline: 16px; }
.quote-category-card h3 { margin: 0 0 6px; }
.quote-category-card p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.45; }
.quote-category-card > span { display: inline-flex; width: fit-content; padding: 6px 10px; border-radius: 999px; background: #fff4ec; color: var(--orange-dark); font-size: .82rem; font-weight: 900; }
.quote-category-card .btn { justify-self: start; }
.quote-subcategory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.quote-subcategory-card { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; padding: 12px; }
.quote-subcategory-card img { width: 112px; height: 92px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--soft); }
.quote-subcategory-card div { display: grid; gap: 4px; min-width: 0; }
.quote-subcategory-card small, .quote-subcategory-card p { color: var(--muted); }
.quote-subcategory-card p { margin: 0; font-size: .9rem; line-height: 1.35; }
.quote-subcategory-card > span { grid-column: 2; color: var(--orange-dark); font-size: .82rem; font-weight: 900; }
.quote-subcategory-card .btn { grid-column: 2; justify-self: start; }
.quote-cart-shell, .quote-form-layout { max-width: 1180px; }
.quote-cart-list, .quote-form-card, .quote-preview-card, .confirmation-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 38px rgba(17, 24, 39, .08); padding: clamp(16px, 3vw, 26px); }
.quote-cart-row { display: grid; grid-template-columns: 86px 1fr 110px 130px auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding: 12px 0; }
.quote-cart-row img { width: 86px; height: 70px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.quote-cart-row div { display: grid; gap: 3px; }
.quote-cart-total { display: flex; justify-content: flex-end; gap: 16px; align-items: center; font-size: 1.2rem; padding: 18px 0; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.quote-form-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 18px; align-items: start; }
.conditional-fields { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: 12px; margin: 14px 0; }
.quote-product-picker { display: grid; gap: 10px; max-height: 420px; overflow: auto; padding-right: 4px; }
.quote-product-option { display: grid; grid-template-columns: auto 1fr 82px; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #fbfcfd; }
.quote-product-option span { display: grid; gap: 2px; }
.quote-product-option small { color: var(--muted); }
.quote-preview-card { position: sticky; top: 90px; }
.quote-preview-card textarea, .enquiry-detail-grid textarea { width: 100%; min-height: 360px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; resize: vertical; }
.mtech-toast { position: fixed; left: 50%; bottom: 82px; transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none; background: #15171a; color: #fff; border-radius: 999px; padding: 11px 18px; z-index: 100; box-shadow: 0 16px 36px rgba(0,0,0,.2); transition: .2s ease; }
.mtech-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

.services-page-grid, .service-group-panel { display: grid; gap: 18px; }
.service-group-panel { border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.service-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-detail-card, .repair-process, .service-mini-list a { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; box-shadow: 0 12px 30px rgba(17, 24, 39, .07); }
.service-detail-card ul { padding-left: 18px; color: var(--muted); }
.service-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff4ec; color: #e4570c; font-weight: 900; }
.service-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.repair-overview { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: 18px; align-items: start; }
.service-mini-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service-mini-list a { display: grid; gap: 5px; color: inherit; }
.service-mini-list span { color: var(--muted); }
.enquiry-detail-grid { display: grid; grid-template-columns: .75fr .75fr .9fr 1.25fr; gap: 14px; padding: 14px; border-top: 1px solid var(--line); }
.enquiry-upload-list { display: grid; gap: 10px; }
.enquiry-upload-list a { display: block; width: 100%; }
.enquiry-upload-list img { display: block; width: 100%; max-height: 240px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); padding: 6px; }
.enquiry-detail-grid h3 { margin-top: 0; }
.user-edit-card .admin-delete-inline, .enquiry-admin-card .admin-delete-inline { border-top: 0; }

@media (max-width: 980px) {
  .nav-dropdown { display: grid; width: 100%; }
  .nav-dropdown-menu, .service-mega { position: static; display: grid; min-width: 0; width: 100%; box-shadow: none; border-radius: 8px; margin-top: 4px; }
  .service-mega { grid-template-columns: 1fr; }
  .hero-shell { max-width: calc(100vw - 18px); margin-top: 14px; }
  .hero-shell .hero-slider, .hero-shell .hero-slide { min-height: 310px; }
  .hero-arrow { width: 40px; height: 40px; font-size: 1.7rem; }
  .hero-arrow--prev { left: 10px; }
  .hero-arrow--next { right: 10px; }
  .header-ticket { width: 106px; padding: 7px 8px 6px; }
  .quote-cta-panel, .quote-form-layout, .repair-overview, .quote-category-grid, .quote-subcategory-grid { grid-template-columns: 1fr; }
  .quote-preview-card { position: static; }
  .service-card-grid, .conditional-fields, .service-mini-list, .enquiry-detail-grid { grid-template-columns: 1fr; }
  .quote-cart-row { grid-template-columns: 70px 1fr; }
  .quote-subcategory-card { grid-template-columns: 88px 1fr; }
  .quote-subcategory-card img { width: 88px; height: 78px; }
  .quote-cart-row label, .quote-cart-row > strong, .quote-cart-row button { grid-column: 2; }
}

@media (max-width: 620px) {
  .hero-shell .hero-slider, .hero-shell .hero-slide { min-height: 270px; border-radius: 12px; }
  .hero-content h1 { font-size: clamp(1.55rem, 9vw, 2.25rem); }
  .header-ticket { width: 96px; }
  .header-ticket span { display: none; }
  .quote-product-option { grid-template-columns: auto 1fr; }
  .quote-product-option input[type="number"] { grid-column: 2; width: 90px; }
  .card-actions--quote { grid-template-columns: 1fr 1fr; }
  .card-actions--quote .btn-light { grid-column: 1 / -1; }
}

/* Hide hero carousel bottom dot controls site-wide. */
.slider-dots { display: none !important; }


.category-panel__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.category-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.category-panel:hover .category-panel__image img {
  transform: scale(1.035);
}


.category-panel__empty {
  color: var(--muted);
  font-weight: 700;
  padding: 4px 2px 8px;
}






.coupon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.coupon-card { display: grid; background: rgba(255,255,255,.96); border: 1px solid rgba(243,112,33,.16); border-radius: 8px; overflow: hidden; box-shadow: 0 14px 34px rgba(20,22,26,.07); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.coupon-card:hover { transform: translateY(-4px); border-color: rgba(243,112,33,.42); box-shadow: 0 22px 46px rgba(217,85,11,.13); }
.coupon-card__image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.coupon-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.coupon-card:hover .coupon-card__image img { transform: scale(1.05); }
.coupon-card__image span { position: absolute; top: 14px; left: 14px; padding: 8px 12px; border-radius: 999px; color: var(--white); background: linear-gradient(135deg, var(--orange), var(--orange-dark)); font-weight: 900; box-shadow: 0 10px 20px rgba(217,85,11,.24); }
.coupon-card__body { display: grid; gap: 10px; padding: 16px; }
.coupon-card__body h3 { margin: 0; font-size: 1.1rem; line-height: 1.25; }
.coupon-card__body p { margin: 0; color: var(--muted); }
.coupon-card__body small { color: var(--muted); font-weight: 800; }
.coupon-code, .coupon-price { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 12px; border: 1px dashed rgba(243,112,33,.45); border-radius: 8px; background: #fff7f1; }
.coupon-code span, .coupon-price span { color: var(--muted); font-size: .82rem; font-weight: 900; text-transform: uppercase; }
.coupon-code strong { color: var(--orange-dark); letter-spacing: .05em; }
.coupon-price strong { color: var(--orange-dark); font-size: 1.25rem; }
.coupon-price del { color: var(--muted); font-size: .9rem; }
.coupon-admin-form label:has(textarea), .coupon-admin-card label:has(textarea) { grid-column: span 2; }
.coupon-admin-list { display: grid; gap: 10px; }

@media (max-width: 920px) {
  .coupon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .coupon-grid { grid-template-columns: 1fr; }
  .coupon-code, .coupon-price { align-items: flex-start; flex-direction: column; }
  .coupon-admin-form label:has(textarea), .coupon-admin-card label:has(textarea) { grid-column: auto; }
}

.payment-section { padding-top: 34px; }
.payment-method-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.payment-method-card { display: grid; gap: 18px; background: rgba(255,255,255,.96); border: 1px solid rgba(231,233,238,.95); border-radius: 8px; padding: 18px; box-shadow: 0 18px 44px rgba(18,20,22,.08); }
.payment-method-card__head h2 { margin: 6px 0 8px; font-size: clamp(1.35rem, 2vw, 2rem); }
.payment-method-card__head p { margin: 0; color: var(--muted); line-height: 1.7; }
.payment-qr-box { display: grid; place-items: center; padding: 18px; border-radius: 8px; border: 1px dashed rgba(243,112,33,.45); background: linear-gradient(135deg, #fff 0%, #fff7f1 100%); }
.payment-qr-box img { width: min(100%, 320px); aspect-ratio: 1; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.payment-info-list { display: grid; gap: 12px; }
.payment-info-list--compact { margin-top: 2px; }
.payment-info-card { display: grid; gap: 8px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: #fffaf6; }
.payment-info-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.payment-info-card h3 { margin: 0; font-size: 1rem; }
.payment-info-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.payment-gst-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; box-shadow: none; }
.payment-gst-form .full, .payment-gst-form button { grid-column: 1 / -1; }
.admin-current-media { max-width: 220px; align-self: end; }
.payment-settings-form { grid-template-columns: minmax(180px, .75fr) minmax(260px, 1.25fr) minmax(220px, 1fr) minmax(220px, .9fr); align-items: start; gap: 16px 18px; }
.payment-settings-form label:has(textarea) { grid-column: auto; }
.payment-settings-form .payment-field { min-width: 0; align-self: stretch; }
.payment-settings-form textarea { min-height: 92px; }
.payment-field--title { grid-column: 1; grid-row: 1; }
.payment-field--intro { grid-column: 2 / span 2; grid-row: 1; }
.payment-field--non-title { grid-column: 4; grid-row: 1; }
.payment-field--non-desc { grid-column: 1 / span 2; grid-row: 2; }
.payment-field--gst-title { grid-column: 3; grid-row: 2; align-self: end; }
.payment-field--gst-desc { grid-column: 1 / span 2; grid-row: 3; }
.payment-field--qr-upload { grid-column: 3; grid-row: 3; align-self: end; }
.payment-settings-form .admin-current-media { grid-column: 4; grid-row: 2 / span 2; width: 100%; max-width: none; align-self: stretch; align-content: center; }
.payment-settings-form .admin-current-media img { max-height: 190px; object-fit: contain; }
.payment-field--save { grid-column: 1; grid-row: 4; justify-self: start; min-width: 220px; }

@media (max-width: 760px) {
  .payment-method-grid, .payment-gst-form, .payment-settings-form { grid-template-columns: 1fr; }
  .payment-settings-form .payment-field, .payment-settings-form .admin-current-media, .payment-field--save { grid-column: auto; grid-row: auto; }
  .payment-method-card { padding: 14px; }
  .payment-qr-box { padding: 12px; }
}



.media-gallery-section { padding-top: 34px; }
.media-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.media-gallery-card { overflow: hidden; background: rgba(255,255,255,.96); border: 1px solid rgba(231,233,238,.92); border-radius: 8px; box-shadow: 0 14px 34px rgba(20,22,26,.07); }
.media-gallery-card > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.media-gallery-card > div:not(.media-video-frame) { display: grid; gap: 7px; padding: 13px; }
.media-gallery-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.25; }
.media-gallery-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.media-video-frame { position: relative; aspect-ratio: 16 / 9; background: #111827; }
.media-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-admin-preview { display: block; width: min(360px, 100%); aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--soft); margin: 12px 13px 0; }
.media-admin-preview--video { position: relative; object-fit: initial; background: #111827; }
.media-admin-preview--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-admin-form label:has(textarea) { grid-column: span 2; }

@media (max-width: 920px) {
  .media-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .media-gallery-grid { grid-template-columns: 1fr; }
  .media-admin-form label:has(textarea) { grid-column: auto; }
}

.download-section { padding-top: 34px; }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.download-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: rgba(255,255,255,.96); border: 1px solid rgba(231,233,238,.92); border-radius: 8px; box-shadow: 0 14px 34px rgba(20,22,26,.07); }
.download-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--soft); }
.download-card__icon { display: grid; place-items: center; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #fff 0%, #fff7f1 100%); border-bottom: 1px solid var(--line); }
.download-card__icon svg { width: 64px; height: 64px; fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.download-card__body { display: grid; gap: 10px; padding: 14px; align-content: start; }
.download-card__body h2 { margin: 0; font-size: 1.1rem; line-height: 1.25; }
.download-card__body p { margin: 0; color: var(--muted); line-height: 1.55; }
.download-card__meta { display: flex; flex-wrap: wrap; gap: 7px; min-height: 28px; align-items: flex-start; }
.download-card__meta span { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #fff4ec; color: var(--orange-dark); font-size: .78rem; font-weight: 900; }
.download-card .btn { justify-self: start; margin-top: 4px; }
.download-admin-form label:has(textarea) { grid-column: span 2; }
.download-admin-preview { display: block; width: min(280px, 100%); aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--soft); margin: 12px 13px 0; }

@media (max-width: 920px) {
  .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .download-grid { grid-template-columns: 1fr; }
  .download-admin-form label:has(textarea) { grid-column: auto; }
}


.admin-form-note {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border: 1px solid rgba(243,112,33,.2);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff7f1, #fff);
  color: var(--muted);
}
.admin-form-note strong { color: var(--ink); }
.customers-admin-table table { min-width: 1280px; table-layout: fixed; }
.customers-admin-table th, .customers-admin-table td { line-height: 1.35; }
.customers-admin-table th { white-space: nowrap; }
.customers-admin-table td { overflow-wrap: anywhere; }
.customers-admin-table .customer-type-col { width: 150px; min-width: 150px; overflow-wrap: normal; word-break: normal; }
.customers-admin-table td.customer-type-col { font-weight: 700; color: var(--dark); }
.customers-admin-table .customer-created-col { width: 128px; min-width: 128px; white-space: nowrap; }
.customers-admin-table td.customer-created-col { display: table-cell; vertical-align: top; }
.customers-admin-table td.customer-created-col span,
.customers-admin-table td.customer-created-col small { display: block; white-space: nowrap; }
.customers-admin-table td.customer-created-col small { margin-top: 2px; color: var(--muted); font-weight: 700; }
.customers-admin-table table { min-width: 2160px; table-layout: fixed; }
.customers-admin-table .customer-id-col { width: 64px; min-width: 64px; text-align: center; }
.customers-admin-table .customer-name-col { width: 190px; min-width: 190px; }
.customers-admin-table .customer-email-col { width: 290px; min-width: 290px; }
.customers-admin-table .customer-phone-col { width: 150px; min-width: 150px; }
.customers-admin-table .customer-billing-col { width: 180px; min-width: 180px; }
.customers-admin-table .customer-company-col { width: 170px; min-width: 170px; }
.customers-admin-table .customer-gstin-col { width: 150px; min-width: 150px; }
.customers-admin-table .customer-pan-col { width: 130px; min-width: 130px; }
.customers-admin-table .customer-state-col { width: 150px; min-width: 150px; }
.customers-admin-table .customer-state-code-col { width: 120px; min-width: 120px; }
.customers-admin-table .customer-actions-col { width: 260px; min-width: 260px; }
.customers-admin-table .customer-name-col,
.customers-admin-table .customer-email-col,
.customers-admin-table .customer-phone-col { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.customers-admin-table .customer-email-col { overflow: hidden; text-overflow: ellipsis; }
.customers-admin-table th.customer-name-col,
.customers-admin-table th.customer-email-col,
.customers-admin-table th.customer-phone-col { letter-spacing: 0; }

.auth-page--standalone { min-height: 100vh; background: radial-gradient(circle at top left, rgba(243,112,33,.18), transparent 34%), linear-gradient(135deg, #ffffff 0%, #fff7f1 48%, #ffe0cb 100%); }
.auth-page--standalone main { min-height: 100vh; display: grid; align-items: center; }
.auth-page--standalone .auth-section { width: 100%; min-height: 100vh; display: grid; align-items: center; padding: 42px 0; }
.auth-page--standalone .auth-card { border-color: rgba(243,112,33,.18); box-shadow: 0 28px 80px rgba(217,85,11,.16); }
.auth-page--standalone .flash { position: fixed; top: 18px; left: 50%; z-index: 5; width: min(560px, calc(100% - 32px)); transform: translateX(-50%); box-shadow: 0 16px 34px rgba(20,22,26,.12); }
/* Media gallery horizontal scroll cards */
.media-gallery-section .container { overflow: hidden; }
.media-gallery-grid { display: flex; grid-template-columns: none; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-left: 2px; padding: 5px 9vw 12px 2px; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
.media-gallery-grid::-webkit-scrollbar { display: none; width: 0; height: 0; }
.media-gallery-grid::-webkit-scrollbar-track { background: rgba(243,112,33,.1); border-radius: 999px; }
.media-gallery-grid::-webkit-scrollbar-thumb { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); border-radius: 999px; }
.media-gallery-grid .media-gallery-card { flex: 0 0 clamp(220px, 32%, 340px); scroll-snap-align: start; scroll-snap-stop: always; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.media-gallery-grid .media-gallery-card:hover { transform: translateY(-3px); border-color: rgba(243,112,33,.34); box-shadow: 0 20px 46px rgba(217,85,11,.12); }
.media-gallery-grid .media-gallery-card > img { aspect-ratio: 4 / 3; }
@media (max-width: 760px) {
  .media-gallery-grid { gap: 12px; padding-right: 14vw; }
  .media-gallery-grid .media-gallery-card { flex-basis: 72%; max-width: 320px; }
}
/* Product card payment action. */
.product-card .card-actions.card-actions--quote {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.product-card .card-actions.card-actions--quote .btn {
  width: 100%;
  min-width: 0;
}
.product-card .product-pay-link {
  background: linear-gradient(135deg, #17191d, #30343b);
  color: #fff;
  border-color: #17191d;
}
.product-card .product-pay-link:hover {
  filter: brightness(1.08);
}
.coupon-card .product-pay-link {
  background: linear-gradient(135deg, #17191d, #30343b);
  color: #fff;
  border-color: #17191d;
}
.admin-secret-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
}
.admin-secret-status.is-saved {
  border: 1px solid rgba(22, 163, 74, .22);
  background: #ecfdf3;
  color: #08753a;
}
.admin-secret-status.is-missing {
  border: 1px solid rgba(220, 38, 38, .18);
  background: #fff1f2;
  color: #b42318;
}






/* Mobile home hero responsive polish */
@media (max-width: 620px) {
  .page-home .hero-shell {
    width: min(100% - 18px, 420px);
    max-width: none;
    margin: 12px auto 0;
    padding-inline: 0;
  }

  .page-home .hero-shell .hero-slider,
  .page-home .hero-shell .hero-slide {
    min-height: clamp(390px, 118vw, 470px);
    border-radius: 14px;
  }

  .page-home .hero-slide {
    background-image: var(--hero-mobile-bg, var(--hero-bg));
    background-position: center top;
    background-size: cover;
  }

  .page-home .hero-overlay {
    background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 47%, rgba(255,255,255,.38) 78%, rgba(255,255,255,.16) 100%);
  }

  .page-home .hero-content {
    width: 100%;
    min-height: clamp(390px, 118vw, 470px);
    justify-content: center;
    align-items: flex-start;
    padding: 34px 54px 34px;
  }

  .page-home .hero-content .eyebrow {
    font-size: .74rem;
    line-height: 1.1;
  }

  .page-home .hero-content h1 {
    max-width: 245px;
    margin: 8px 0 10px;
    font-size: clamp(1.42rem, 7.3vw, 1.95rem);
    line-height: 1.05;
  }

  .page-home .hero-content p {
    max-width: 245px;
    margin: 0 0 14px;
    font-size: .9rem;
    line-height: 1.42;
  }

  .page-home .hero-actions {
    max-width: 245px;
    gap: 8px;
  }

  .page-home .hero-actions .btn {
    min-height: 36px;
    padding: 8px 12px;
    font-size: .82rem;
    border-radius: 8px;
  }

  .page-home .hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.55rem;
    box-shadow: 0 8px 18px rgba(17, 24, 39, .16);
  }

  .page-home .hero-arrow--prev { left: 10px; }
  .page-home .hero-arrow--next { right: 10px; }
}

@media (max-width: 380px) {
  .page-home .hero-shell .hero-slider,
  .page-home .hero-shell .hero-slide,
  .page-home .hero-content {
    min-height: 410px;
  }

  .page-home .hero-content {
    padding-inline: 48px;
  }

  .page-home .hero-content h1,
  .page-home .hero-content p,
  .page-home .hero-actions {
    max-width: 220px;
  }

  .page-home .hero-content h1 {
    font-size: 1.42rem;
  }

  .page-home .hero-content p {
    font-size: .86rem;
  }
}

/* Full mobile layout responsive correction */
@media (max-width: 620px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    min-width: 0;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  img,
  svg,
  video,
  iframe {
    max-width: 100%;
  }

  .container,
  .contact-grid--narrow {
    width: min(calc(100vw - 20px), 420px);
    max-width: 420px;
    padding-inline: 0;
  }

  .topbar,
  .site-header,
  main,
  .footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .topbar__inner {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    min-height: auto;
    padding: 7px 10px;
    text-align: center;
  }

  .topbar__inner > span,
  .topbar-whatsapp span {
    font-size: .74rem;
    line-height: 1.15;
    word-break: break-word;
  }

  .topbar-contact-actions {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .topbar-socials {
    gap: 6px;
  }

  .topbar-social {
    width: 24px;
    height: 24px;
  }

  .site-header {
    overflow: visible;
  }

  .header-main {
    width: min(calc(100vw - 20px), 420px);
    max-width: 420px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "brand actions menu"
      "search search search";
    justify-content: stretch;
    align-items: center;
    gap: 10px;
    min-height: auto;
    padding: 8px 0 10px;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
    font-size: 1rem;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand-name {
    display: none;
  }

  .header-actions {
    grid-area: actions;
    justify-self: end;
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: .78rem;
  }

  .header-actions a:first-child,
  .auth-link,
  .quote-link {
    min-height: 36px;
    padding: 6px 9px;
    border-radius: 10px;
    white-space: nowrap;
  }

  .quote-link span {
    min-width: 20px;
    height: 20px;
  }

  .header-ticket {
    width: 74px;
    min-height: 42px;
    padding: 6px 7px 5px;
    border-radius: 8px;
    animation: none;
  }

  .header-ticket::before {
    top: -8px;
    height: 8px;
  }

  .header-ticket strong {
    font-size: .72rem;
    line-height: 1.05;
  }

  .header-ticket span {
    display: none;
  }

  .menu-toggle {
    grid-area: menu;
    justify-self: end;
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .search {
    grid-area: search;
    width: 100%;
    max-width: none;
    min-width: 0;
    grid-template-columns: 70px minmax(0, 1fr) 42px;
    margin: 4px 0 0;
    border-width: 2px;
  }

  .search-category select {
    min-height: 36px;
    padding: 0 16px 0 8px;
    font-size: .72rem;
  }

  .search input {
    min-width: 0;
    min-height: 36px;
    padding: 7px 8px;
    font-size: .8rem;
  }

  .search button {
    min-width: 38px;
    min-height: 36px;
    padding: 0;
  }

  .main-nav.is-open {
    width: 100%;
    max-width: 100%;
    padding: 0 10px 10px;
  }

  .nav-links {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .page-home .hero-shell,
  .hero-shell {
    width: min(calc(100vw - 20px), 420px);
    max-width: 420px;
    margin: 12px auto 0;
    padding: 0;
    overflow: hidden;
  }

  .page-home .hero-shell .hero-slider,
  .page-home .hero-shell .hero-slide,
  .page-home .hero-content {
    min-height: clamp(344px, 96vw, 420px);
  }

  .page-home .hero-shell .hero-slider {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, .14);
  }

  .page-home .hero-slide {
    background-image: var(--hero-mobile-bg, var(--hero-bg));
    background-position: center top;
    background-size: cover;
  }

  .page-home .hero-overlay {
    background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 52%, rgba(255,255,255,.28) 100%);
  }

  .page-home .hero-content {
    width: 100%;
    justify-content: center;
    align-items: flex-start;
    padding: 28px 48px 30px;
  }

  .page-home .hero-content .eyebrow {
    font-size: .68rem;
    line-height: 1.1;
  }

  .page-home .hero-content h1 {
    max-width: 220px;
    margin: 7px 0 8px;
    font-size: clamp(1.28rem, 6.8vw, 1.75rem);
    line-height: 1.08;
  }

  .page-home .hero-content p {
    max-width: 220px;
    margin: 0 0 12px;
    font-size: .82rem;
    line-height: 1.38;
  }

  .page-home .hero-actions {
    max-width: 220px;
    gap: 7px;
  }

  .page-home .hero-actions .btn {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: .76rem;
  }

  .page-home .hero-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.45rem;
    box-shadow: 0 8px 18px rgba(17, 24, 39, .16);
  }

  .page-home .hero-arrow--prev { left: 8px; }
  .page-home .hero-arrow--next { right: 8px; }

  .section {
    padding-block: 34px;
    overflow-x: hidden;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
    text-align: center;
  }

  .section-head > div,
  .section-head a {
    grid-column: 1;
    justify-self: center;
  }

  .section-head h2 {
    font-size: 1.25rem;
  }

  .category-grid,
  .product-grid,
  .brand-grid,
  .service-grid,
  .quote-grid,
  .blog-grid,
  .feature-list,
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .page-home .category-wise,
  .page-home .testimonials-grid,
  .page-home .blog-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    padding: 2px 2px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .page-home .category-wise::-webkit-scrollbar,
  .page-home .testimonials-grid::-webkit-scrollbar,
  .page-home .blog-grid::-webkit-scrollbar {
    display: none;
  }

  .page-home .category-wise > *,
  .page-home .testimonials-grid > *,
  .page-home .blog-grid > * {
    flex: 0 0 calc(100% - 4px);
    min-width: 0;
    scroll-snap-align: start;
  }

  .product-card,
  .category-card,
  .brand-card,
  .service-card,
  .blog-card,
  .quote-card {
    min-width: 0;
    max-width: 100%;
  }

  .product-card .card-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-card .card-actions .btn {
    min-width: 0;
    min-height: 40px;
    padding: 8px 5px;
    font-size: .76rem;
    line-height: 1.05;
  }

  .product-card .card-actions .btn-light {
    grid-column: 1 / -1;
  }

  .quick-actions {
    width: 100%;
    max-width: 100%;
    gap: 6px;
    padding-inline: 10px;
    border-radius: 16px 16px 0 0;
  }
}

@media (max-width: 360px) {
  .container,
  .contact-grid--narrow,
  .header-main,
  .page-home .hero-shell,
  .hero-shell {
    width: min(calc(100vw - 16px), 344px);
  }

  .header-actions {
    gap: 5px;
  }

  .header-actions a:first-child,
  .auth-link,
  .quote-link {
    padding-inline: 7px;
    font-size: .72rem;
  }

  .header-ticket {
    width: 66px;
    padding-inline: 5px;
  }

  .header-ticket strong {
    font-size: .68rem;
  }

  .search {
    grid-template-columns: 64px minmax(0, 1fr) 40px;
  }

  .page-home .hero-shell .hero-slider,
  .page-home .hero-shell .hero-slide,
  .page-home .hero-content {
    min-height: 372px;
  }

  .page-home .hero-content {
    padding: 24px 42px 28px;
  }

  .page-home .hero-content h1,
  .page-home .hero-content p,
  .page-home .hero-actions {
    max-width: 196px;
  }

  .page-home .hero-content h1 {
    font-size: 1.22rem;
  }

  .page-home .hero-content p {
    font-size: .78rem;
  }
}

/* Mobile navigation dropdown controls */
.nav-dropdown__toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.nav-dropdown__toggle svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.nav-dropdown.is-open > .nav-dropdown__toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown__all {
  font-weight: 900;
}

@media (max-width: 980px) {
  .nav-dropdown {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    border-radius: 12px;
  }

  .nav-dropdown > .nav-dropdown__link {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    padding-right: 8px;
  }

  .nav-dropdown__toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    min-width: 44px;
    min-height: 40px;
    padding: 0 12px;
    border-left: 1px solid rgba(243, 112, 33, .16);
    border-radius: 10px;
    color: var(--orange-dark);
  }

  .nav-dropdown__toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .nav-dropdown .nav-dropdown-menu,
  .nav-dropdown .service-mega {
    position: static;
    display: none;
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
    margin-top: 6px;
    padding: 8px;
    border: 1px solid rgba(243, 112, 33, .16);
    border-radius: 10px;
    box-shadow: none;
    background: #fff8f2;
  }

  .nav-dropdown.is-open .nav-dropdown-menu,
  .nav-dropdown.is-open .service-mega {
    display: grid;
    gap: 5px;
  }

  .nav-dropdown-menu a,
  .service-mega a {
    width: 100%;
    padding: 9px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,.72);
  }

  .service-mega > div {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 6px;
    border-radius: 10px;
    background: rgba(255,255,255,.62);
  }

  .service-mega strong {
    padding: 4px 5px;
    color: var(--dark);
    font-size: .86rem;
  }
}

/* Mobile header register cleanup and product WhatsApp enquiry icon */
.product-card .product-whatsapp-enquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-color: rgba(18, 140, 126, .38);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 211, 102, .2);
}

.product-card .product-whatsapp-enquiry:hover {
  background: linear-gradient(135deg, #2fe477, #0f7c70);
  color: #fff;
  transform: translateY(-1px);
}

.product-card .product-whatsapp-enquiry svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
  flex: 0 0 auto;
}

@media (max-width: 620px) {
  .header-actions .auth-link--register {
    display: none !important;
  }

  .product-card .card-actions.card-actions--quote {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card .card-actions.card-actions--quote .product-whatsapp-enquiry {
    grid-column: auto;
    min-height: 40px;
    padding: 8px;
  }

  .product-card .product-whatsapp-enquiry svg {
    width: 21px;
    height: 21px;
  }
}

/* Emergency mobile width reset: prevent narrow left-column layout */
@media (max-width: 620px) {
  :root {
    --page-width: 100%;
    --compact-width: 100%;
  }

  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  body > *,
  .topbar,
  .site-header,
  main,
  .footer,
  .section,
  .page-hero,
  .hero-shell,
  .hero-slider {
    max-width: 100% !important;
  }

  .container,
  .narrow,
  .contact-grid--narrow,
  .topbar__inner,
  .header-main,
  .nav-links,
  .section > .container,
  .page-hero > .container,
  .shop-layout,
  .shop-results,
  .filters,
  .footer-grid {
    width: calc(100% - 20px) !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .topbar__inner,
  .header-main,
  .nav-links,
  .shop-layout,
  .footer-grid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .header-main {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-areas:
      "brand actions menu"
      "search search search" !important;
  }

  .header-actions {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .search {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .main-nav.is-open {
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-home .hero-shell,
  .hero-shell,
  main > .hero-slider {
    width: calc(100% - 20px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden !important;
  }

  .page-hero.compact {
    padding: 28px 0 16px !important;
  }

  .page-hero .container {
    justify-items: center !important;
    text-align: center !important;
  }

  .page-hero h1 {
    width: 100% !important;
    max-width: 320px !important;
    font-size: clamp(1.25rem, 6.2vw, 1.85rem) !important;
    line-height: 1.12 !important;
  }

  .filter-toggle {
    width: 100% !important;
    justify-content: center !important;
  }

  .shop-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .shop-results .product-grid,
  .page-shop .shop-results .product-grid,
  .page-home .product-grid,
  .page-categories .category-grid,
  .category-grid,
  .brand-grid,
  .service-grid,
  .blog-grid,
  .quote-grid {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow: visible !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .shop-results .product-grid > *,
  .page-shop .shop-results .product-grid > *,
  .page-home .product-grid > *,
  .page-categories .category-grid > *,
  .category-grid > *,
  .brand-grid > *,
  .service-grid > *,
  .blog-grid > *,
  .quote-grid > * {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: initial !important;
  }

  .product-card,
  .category-card,
  .brand-card,
  .service-card,
  .blog-card,
  .quote-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .product-card .product-image {
    aspect-ratio: 1 / 1 !important;
  }

  .product-card__body {
    padding: 12px 9px 11px !important;
    gap: 7px !important;
  }

  .product-card h3 {
    font-size: .84rem !important;
    line-height: 1.2 !important;
    min-height: 2.4em !important;
  }

  .product-card__summary {
    font-size: .68rem !important;
    line-height: 1.3 !important;
    min-height: 3.9em !important;
  }

  .product-card .muted,
  .product-card .stock {
    font-size: .66rem !important;
  }

  .product-card .price strong {
    font-size: .82rem !important;
  }

  .product-card .price del {
    font-size: .68rem !important;
  }

  .product-card .card-actions.card-actions--quote {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .product-card .card-actions.card-actions--quote .btn {
    min-height: 34px !important;
    padding: 7px 4px !important;
    border-radius: 7px !important;
    font-size: .68rem !important;
  }

  .product-card .product-whatsapp-enquiry svg {
    width: 18px !important;
    height: 18px !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

@media (max-width: 380px) {
  .container,
  .narrow,
  .contact-grid--narrow,
  .topbar__inner,
  .header-main,
  .nav-links,
  .section > .container,
  .page-hero > .container,
  .shop-layout,
  .shop-results,
  .filters,
  .footer-grid,
  .page-home .hero-shell,
  .hero-shell,
  main > .hero-slider {
    width: calc(100% - 16px) !important;
  }

  .shop-results .product-grid,
  .page-shop .shop-results .product-grid,
  .page-home .product-grid,
  .page-categories .category-grid,
  .category-grid,
  .brand-grid,
  .service-grid,
  .blog-grid,
  .quote-grid {
    gap: 10px !important;
  }
}

/* Homepage mobile touch-swipeable peek carousel layout */
@media (max-width: 620px) {
  .section,
  .page-home .section {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    contain: paint !important;
    box-sizing: border-box !important;
  }

  .page-home .container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    contain: paint !important;
    box-sizing: border-box !important;
  }

  .page-home .category-grid,
  .page-home .product-grid,
  .page-home .brand-grid,
  .page-home .service-grid,
  .page-home .partners-grid,
  .page-home .testimonials-grid,
  .page-home .blog-grid,
  .page-home .quote-grid,
  .page-home .why-grid .feature-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 6px 16px 18px 4px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .page-home .category-grid::-webkit-scrollbar,
  .page-home .product-grid::-webkit-scrollbar,
  .page-home .brand-grid::-webkit-scrollbar,
  .page-home .service-grid::-webkit-scrollbar,
  .page-home .partners-grid::-webkit-scrollbar,
  .page-home .testimonials-grid::-webkit-scrollbar,
  .page-home .blog-grid::-webkit-scrollbar,
  .page-home .quote-grid::-webkit-scrollbar,
  .page-home .why-grid .feature-list::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* Single main card with next card peeking */
  .page-home .category-grid > *,
  .page-home .product-grid > *,
  .page-home .service-grid > *,
  .page-home .testimonials-grid > *,
  .page-home .blog-grid > *,
  .page-home .quote-grid > * {
    flex: 0 0 78% !important;
    width: 78% !important;
    max-width: 78% !important;
    min-width: 0 !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    box-sizing: border-box !important;
  }

  .page-home .brand-grid > *,
  .page-home .partners-grid > * {
    flex: 0 0 72% !important;
    width: 72% !important;
    max-width: 72% !important;
    min-width: 0 !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    box-sizing: border-box !important;
  }

  .page-home .why-grid .feature-list > div {
    flex: 0 0 76% !important;
    width: 76% !important;
    max-width: 76% !important;
    min-width: 0 !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    box-sizing: border-box !important;
  }

  /* Card internal flex height equalization */
  .page-home .product-card,
  .page-home .category-card,
  .page-home .brand-card,
  .page-home .service-card,
  .page-home .quote-card,
  .page-home .blog-card,
  .page-home .why-grid .feature-list > div {
    height: auto !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .page-home .product-card__body,
  .page-home .category-card__body {
    flex: 1 1 auto !important;
  }

  /* Mobile footer padding & spacing */
  .footer,
  .page-home .footer {
    padding: 44px 18px 120px 18px !important;
    box-sizing: border-box !important;
  }

  .footer .footer-grid,
  .footer-grid,
  .footer .copyright,
  .copyright {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .footer-brand {
    display: inline-block !important;
    margin-bottom: 12px !important;
  }

  .footer h3 {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }
}

/* Global mobile product-card polish */
@media (max-width: 620px) {
  .product-grid,
  .shop-results .product-grid,
  .page-shop .shop-results .product-grid,
  .page-category .shop-results .product-grid,
  .page-brand .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    align-items: stretch !important;
  }

  .product-grid > *,
  .shop-results .product-grid > *,
  .page-shop .shop-results .product-grid > *,
  .page-category .shop-results .product-grid > *,
  .page-brand .product-grid > * {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .product-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    border-radius: 10px !important;
    border: 1px solid rgba(226, 232, 240, .95) !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08) !important;
  }

  .product-card .product-image {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    background: #f8fafc !important;
  }

  .product-card .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .product-card .badge {
    top: 9px !important;
    left: 9px !important;
    padding: 6px 9px !important;
    font-size: .68rem !important;
  }

  .product-card__body {
    padding: 12px 10px 11px !important;
    gap: 7px !important;
  }

  .product-card .muted {
    font-size: .68rem !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    color: #64748b !important;
  }

  .product-card h3 {
    min-height: 2.55em !important;
    margin: 0 !important;
    font-size: .88rem !important;
    line-height: 1.22 !important;
    color: #0f172a !important;
    overflow-wrap: anywhere !important;
  }

  .product-card__summary {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    min-height: 2.7em !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #64748b !important;
    font-size: .72rem !important;
    line-height: 1.35 !important;
  }

  .product-card .price {
    gap: 5px !important;
    min-height: 20px !important;
  }

  .product-card .price strong {
    color: #e45712 !important;
    font-size: .94rem !important;
    line-height: 1.1 !important;
  }

  .product-card .price del {
    font-size: .72rem !important;
    line-height: 1.1 !important;
  }

  .product-card .stock {
    font-size: .74rem !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
  }

  .product-card .card-actions.card-actions--quote {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-top: 3px !important;
    width: 100% !important;
  }

  .product-card .card-actions.card-actions--quote .btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 35px !important;
    padding: 7px 5px !important;
    border-radius: 8px !important;
    font-size: .7rem !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  .product-card .card-actions.card-actions--quote .product-whatsapp-enquiry {
    padding: 7px !important;
  }

  .product-card .product-whatsapp-enquiry svg {
    width: 18px !important;
    height: 18px !important;
  }
}

@media (max-width: 380px) {
  .product-grid,
  .shop-results .product-grid,
  .page-shop .shop-results .product-grid,
  .page-category .shop-results .product-grid,
  .page-brand .product-grid {
    gap: 10px !important;
  }

  .product-card__body {
    padding: 10px 8px 10px !important;
  }

  .product-card h3 {
    font-size: .82rem !important;
  }

  .product-card__summary {
    font-size: .68rem !important;
  }

  .product-card .price strong {
    font-size: .86rem !important;
  }

  .product-card .card-actions.card-actions--quote .btn {
    min-height: 33px !important;
    font-size: .66rem !important;
  }
}

/* Hide hero slider arrows on mobile only */
@media (max-width: 620px) {
  .hero-arrow,
  .page-home .hero-arrow {
    display: none !important;
  }
}

/* Keep hero buttons visible on mobile */
@media (max-width: 620px) {
  .hero-shell .hero-content,
  .page-home .hero-shell .hero-content {
    min-height: 390px !important;
    padding-top: 28px !important;
    padding-bottom: 32px !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  .hero-actions,
  .page-home .hero-actions {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 5 !important;
    width: 100% !important;
    max-width: 240px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 4px !important;
  }

  .hero-actions .btn,
  .page-home .hero-actions .btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 1 1 calc(50% - 4px) !important;
    min-width: 104px !important;
    min-height: 36px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    font-size: .76rem !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }

  .hero-actions .btn-primary,
  .page-home .hero-actions .btn-primary {
    background: var(--orange) !important;
    border-color: var(--orange) !important;
    color: #fff !important;
  }

  .hero-actions .btn-white,
  .page-home .hero-actions .btn-white {
    background: rgba(255,255,255,.96) !important;
    border-color: rgba(255,255,255,.96) !important;
    color: var(--orange-dark) !important;
  }
}

@media (max-width: 380px) {
  .hero-shell .hero-content,
  .page-home .hero-shell .hero-content {
    min-height: 400px !important;
    padding-left: 38px !important;
    padding-right: 38px !important;
  }

  .hero-actions,
  .page-home .hero-actions {
    max-width: 220px !important;
  }

  .hero-actions .btn,
  .page-home .hero-actions .btn {
    min-width: 96px !important;
    font-size: .72rem !important;
  }
}

/* Shared hero full display correction for non-home pages */
.has-shared-hero main > .hero-shell {
  width: min(1240px, calc(100% - 32px));
  max-width: 1240px;
  margin: 18px auto 0;
  padding: 0;
  overflow: visible;
}

.has-shared-hero main > .hero-shell .hero-slider {
  width: 100%;
  min-height: clamp(320px, 36vw, 460px);
  aspect-ratio: auto;
  border-radius: 18px;
  overflow: hidden;
}

.has-shared-hero main > .hero-shell .hero-slide {
  min-height: clamp(320px, 36vw, 460px);
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
}

.has-shared-hero main > .hero-shell .hero-content {
  width: min(1000px, calc(100% - 72px));
  max-width: 1000px;
  min-height: clamp(320px, 36vw, 460px);
  margin: 0 auto;
  padding: 44px 0;
  justify-content: center;
  overflow: visible;
}

.has-shared-hero main > .hero-shell .hero-content h1 {
  max-width: 540px;
}

.has-shared-hero main > .hero-shell .hero-content p {
  max-width: 520px;
}

@media (max-width: 980px) {
  .has-shared-hero main > .hero-shell {
    width: calc(100% - 24px) !important;
    max-width: none !important;
    margin-top: 14px !important;
  }

  .has-shared-hero main > .hero-shell .hero-slider,
  .has-shared-hero main > .hero-shell .hero-slide,
  .has-shared-hero main > .hero-shell .hero-content {
    min-height: 360px !important;
  }

  .has-shared-hero main > .hero-shell .hero-content {
    width: calc(100% - 44px) !important;
    max-width: none !important;
    padding: 34px 0 !important;
  }
}

@media (max-width: 620px) {
  .has-shared-hero main > .hero-shell {
    width: calc(100% - 20px) !important;
    margin-top: 12px !important;
    overflow: visible !important;
  }

  .has-shared-hero main > .hero-shell .hero-slider,
  .has-shared-hero main > .hero-shell .hero-slide,
  .has-shared-hero main > .hero-shell .hero-content {
    min-height: 390px !important;
  }

  .has-shared-hero main > .hero-shell .hero-slider {
    border-radius: 14px !important;
    aspect-ratio: auto !important;
  }

  .has-shared-hero main > .hero-shell .hero-slide {
    background-image: var(--hero-mobile-bg, var(--hero-bg)) !important;
    background-position: center top !important;
  }

  .has-shared-hero main > .hero-shell .hero-overlay {
    background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 52%, rgba(255,255,255,.3) 100%) !important;
  }

  .has-shared-hero main > .hero-shell .hero-content {
    width: 100% !important;
    padding: 30px 42px !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }

  .has-shared-hero main > .hero-shell .hero-content h1 {
    max-width: 230px !important;
    font-size: clamp(1.28rem, 6.8vw, 1.78rem) !important;
    line-height: 1.08 !important;
  }

  .has-shared-hero main > .hero-shell .hero-content p {
    max-width: 230px !important;
    font-size: .82rem !important;
    line-height: 1.4 !important;
  }

  .has-shared-hero main > .hero-shell .hero-actions {
    max-width: 230px !important;
  }
}

@media (max-width: 380px) {
  .has-shared-hero main > .hero-shell {
    width: calc(100% - 16px) !important;
  }

  .has-shared-hero main > .hero-shell .hero-slider,
  .has-shared-hero main > .hero-shell .hero-slide,
  .has-shared-hero main > .hero-shell .hero-content {
    min-height: 400px !important;
  }

  .has-shared-hero main > .hero-shell .hero-content {
    padding-left: 34px !important;
    padding-right: 34px !important;
  }

  .has-shared-hero main > .hero-shell .hero-content h1,
  .has-shared-hero main > .hero-shell .hero-content p,
  .has-shared-hero main > .hero-shell .hero-actions {
    max-width: 210px !important;
  }
}

/* Auth email/phone verification button layout */
.auth-verify-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.auth-verify-field label {
  min-width: 0;
}

.auth-form .auth-verify-btn {
  width: auto;
  min-width: 132px;
  min-height: 46px;
  margin-top: 0;
  padding-inline: 14px;
  border-color: rgba(243,112,33,.3);
  background: #fff7f1;
  color: var(--orange-dark);
  white-space: nowrap;
}

.auth-form .auth-submit-btn {
  margin-top: 8px;
}

@media (max-width: 520px) {
  .auth-verify-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .auth-form .auth-verify-btn {
    width: 100%;
  }
}

/* Step-by-step auth verification status */
.auth-verify-field.is-verified .auth-verify-btn {
  border-color: #16a34a !important;
  background: #ecfdf3 !important;
  color: #137333 !important;
}
.auth-form .auth-verify-btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}
.auth-verification-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -2px 0 4px;
}
.auth-verification-status span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.88rem;
  font-weight: 800;
}
.auth-verification-status span.is-complete {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

/* Mobile nav dropdown close fix */
@media (max-width: 980px) {
  .main-nav .nav-dropdown:not(.is-open) > .nav-dropdown-menu,
  .main-nav .nav-dropdown:not(.is-open) > .service-mega {
    display: none !important;
    visibility: hidden !important;
    max-height: 0 !important;
    overflow: hidden !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    border-width: 0 !important;
  }

  .main-nav .nav-dropdown.is-open > .nav-dropdown-menu,
  .main-nav .nav-dropdown.is-open > .service-mega {
    display: grid !important;
    visibility: visible !important;
    max-height: 70vh !important;
    overflow: auto !important;
    padding: 8px !important;
    margin-top: 6px !important;
    border-width: 1px !important;
  }
}
