@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; }
body {
  margin: 0;
  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; }
.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); }
.mobile-label { display: none; }
.cart-link span { background: var(--orange); color: var(--white); border-radius: 999px; padding: 2px 8px; }
.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; }
.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 1fr auto; gap: 10px; align-items: center; }
.mini-products img { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; background: var(--soft); }

.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; }
.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; }
.auth-admin-link { font-size: .9rem; }
.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(5, 1fr); gap: 24px; }
.footer h3 { margin: 0 0 12px; }
.footer a { display: block; color: #e8eaee; margin: 8px 0; }
.footer p { color: #d4d8de; }
.newsletter { display: flex; gap: 8px; }
.newsletter input { min-width: 0; }
.newsletter button { border: 0; background: var(--orange); color: var(--white); border-radius: 8px; padding: 0 12px; font-weight: 800; }
.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--cart .quick-action__icon { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.quick-action--enquiry .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; width: 272px; padding: 20px 16px; background: linear-gradient(165deg, #ffffff 0%, #fff7f1 45%, #f37021 140%); color: var(--black); overflow-y: auto; border-right: 1px solid rgba(243,112,33,.16); }
.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; }
.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; }
.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: sticky; top: 0; z-index: 60; width: calc(100% - 24px); margin: 12px; border: 0; border-radius: 8px; padding: 12px 14px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white); font-weight: 900; box-shadow: 0 12px 28px rgba(217, 85, 11, .18); align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.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-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; }

@media print {
  .admin-sidebar, .admin-menu-toggle, .admin-page-head, .no-print, .flash { display: none !important; }
  .admin-main { margin: 0; padding: 0; max-width: none; }
  .invoice-document { box-shadow: none; border: 0; max-width: none; }
}

@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 { 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-menu-toggle { display: flex; }
  .admin-sidebar { display: none; position: static; width: auto; margin: 0 12px 12px; border-radius: 8px; max-height: 72vh; border: 1px solid rgba(243,112,33,.16); }
  .admin-sidebar.is-open { display: block; }
  .admin-brand { border-bottom: 0; margin-bottom: 8px; padding-bottom: 8px; }
  .admin-nav { grid-template-columns: 1fr; }
  .admin-nav span { grid-column: 1 / -1; margin-top: 8px; }
  .admin-main { margin-left: 0; padding: 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, .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; }
  .quick-actions { display: grid; transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
}

@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, .hero-content { min-height: 480px; }
  .hero-content { padding-right: 20px; }
  .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, .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: 92px; }
  .quick-actions { width: min(340px, calc(100% - 18px)); transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
}
