/* ==========================================================================
   BharatTradeX Premium storefront (theme 9) — design system + all pages.

   A real, cacheable stylesheet rather than another block inlined into
   _Layout.cshtml: that file already inlines ~106 KB into every page, and a
   multi-page template would re-send all of it on every navigation. Themes 1-8
   do not load this file at all. See ADR 0005.

   Palette, type scale and visual rules are the approved brief's (Part C).
   Built on plain custom properties, no CSS framework — the project has none,
   and Bootstrap would have added ~60 KB to override almost entirely.
   ========================================================================== */

:root {
  --navy: #0b1f3b;
  --navy-2: #132b4f;
  --orange: #ff6a00;
  --orange-dark: #e65f00;
  --page-bg: #f5f8ff;
  --card: #ffffff;
  --ink: #1f2937;
  --ink-soft: #6b7280;
  --border: #e5e7eb;
  --success: #16a34a;
  --error: #dc2626;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(11, 31, 59, .08), 0 6px 20px -8px rgba(11, 31, 59, .14);
  --shadow-lg: 0 10px 40px -12px rgba(11, 31, 59, .28);
  --wrap: 1180px;
  --sticky-bar-h: 56px;

  --font-head: Poppins, "Segoe UI", system-ui, sans-serif;
  --font-body: Inter, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

/* overflow-x:hidden is load-bearing here for the same reason as the themes 1-8
   layout (decision #26): full-bleed bands use 100vw, which includes the
   scrollbar width, and without this every page gets a stray horizontal
   scrollbar. Part O forbids horizontal overflow outright. */
html { overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page-bg);
  /* Room for the mobile sticky action bar so it never covers footer content
     or a form's submit button (Part O). */
  padding-bottom: 0;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0 0 .5em; line-height: 1.2; }
h1 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 600; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--navy); }

img { max-width: 100%; }

.pm-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.pm-section { padding: clamp(40px, 6vw, 72px) 0; }
.pm-section-alt { background: #fff; }
.pm-muted { color: var(--ink-soft); }
.pm-center { text-align: center; }

.pm-section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.pm-section-head p { color: var(--ink-soft); margin: 0; }

/* ---------- Buttons ---------- */
.pm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pm-btn-primary { background: var(--orange); color: #fff; }
.pm-btn-primary:hover { background: var(--orange-dark); }
.pm-btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.pm-btn-ghost:hover { border-color: var(--navy); }
.pm-btn-on-navy { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.38); }
.pm-btn-on-navy:hover { background: rgba(255,255,255,.2); }
.pm-btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Top bar + header ---------- */
.pm-topbar { background: var(--navy-2); color: #cfdcef; font-size: .82rem; }
.pm-topbar-inner { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding: 7px 20px; max-width: var(--wrap); margin: 0 auto; }
.pm-topbar a { color: #cfdcef; text-decoration: none; }
.pm-topbar a:hover { color: #fff; }
.pm-topbar-social { margin-left: auto; display: flex; gap: 12px; }
.pm-topbar-social a { display: inline-flex; }

.pm-header { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.pm-header-inner { display: flex; align-items: center; gap: 16px; padding: 10px 20px; max-width: var(--wrap); margin: 0 auto; }
.pm-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.pm-brand img { height: 42px; width: 42px; object-fit: cover; border-radius: 8px; background: #fff; flex-shrink: 0; }
.pm-brand-name { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 1.02rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-brand-sub { display: block; font-size: .72rem; font-weight: 400; color: #9fb3cd; }

.pm-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.pm-nav a { color: #dce6f3; text-decoration: none; font-size: .92rem; font-weight: 500; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.pm-nav a:hover { color: #fff; }
.pm-nav a.is-active { color: #fff; border-bottom-color: var(--orange); }
/* Restates the button padding because ".pm-nav a" (0,1,1) outranks ".pm-btn"
   (0,1,0) and its "padding: 6px 0" left the Get a Quote text jammed against
   the button edges (2026-11-13, user report). */
.pm-nav .pm-btn { margin-left: 4px; padding: 12px 24px; }

.pm-burger { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 8px; font-size: 1.3rem; line-height: 1; padding: 6px 11px; cursor: pointer; }
.pm-nav a:focus-visible, .pm-btn:focus-visible, .pm-burger:focus-visible, .pm-text-link:focus-visible,
.pm-download-card:focus-visible, .pm-product-card a:focus-visible, .pm-gallery-grid a:focus-visible {
  outline: 3px solid #ffb37a; outline-offset: 3px; border-radius: 4px;
}
.pm-kicker { display: inline-block; margin-bottom: 8px; color: var(--orange-dark); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pm-kicker-light { color: #ffb37a; }

/* ---------- Hero ---------- */
/* Supplied navy banner artwork behind the hero and the page titles
   (2026-11-13, user request, "full opacity" -- no veil over it, unlike
   theme 10's). The navy gradient stays underneath as the fallback, so a
   blocked or missing image still gives the same dark band rather than a
   white one. Theme 9's hero and banner text was already white on navy, so
   contrast needs no further change.

   Shipped as a 32 KB JPEG re-encoded from the supplied 1.4 MB PNG: it is a
   smooth gradient with no transparency, so JPEG costs nothing visible and
   saves 1.35 MB on every page view -- which matters on the mobile
   connections this audience actually uses. */
.pm-hero {
  background-color: var(--navy);
  background-image: url("/img/storefront/professional-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: clamp(40px, 6vw, 76px) 0;
}
.pm-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.pm-hero h1 { color: #fff; margin-bottom: 10px; }
.pm-hero-eyebrow { display: inline-block; background: rgba(255,106,0,.16); color: #ffb37a; border: 1px solid rgba(255,106,0,.4); border-radius: 999px; padding: 4px 14px; font-size: .78rem; font-weight: 600; margin-bottom: 16px; }
.pm-hero-tagline { font-size: 1.08rem; color: #d7e2f0; margin-bottom: 14px; }
.pm-hero-desc { color: #b9c9dd; font-size: .97rem; }
.pm-hero-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.pm-hero-fallback { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.pm-hero-fallback-mark { width: 92px; height: 92px; border-radius: 50%; background: #fff; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; display: flex; align-items: center; justify-content: center; }
.pm-hero-fallback img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; background: #fff; }
.pm-hero-visual { min-width: 0; }
.pm-hero-visual .pm-hero-banner-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.pm-hero-visual .pm-hero-product-image { width: min(100%, 520px); aspect-ratio: 4/3; object-fit: contain; padding: 16px; background: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.pm-hero-art { min-height: 320px; aspect-ratio: 4/3; overflow: hidden; position: relative; display: grid; place-items: center; border-radius: var(--radius); background: radial-gradient(circle at 75% 22%, rgba(255,106,0,.8), transparent 30%), linear-gradient(135deg, #203f68, #0b1f3b 68%); }
.pm-hero-art::before, .pm-hero-art::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; width: 72%; aspect-ratio: 1; }
.pm-hero-art::after { width: 54%; transform: translate(34%, 22%); border-color: rgba(255,179,122,.38); }
.pm-hero-art-mark { color: rgba(255,255,255,.95); font-family: var(--font-head); font-size: clamp(6rem, 18vw, 12rem); font-weight: 700; line-height: 1; text-shadow: 0 14px 38px rgba(0,0,0,.24); }
.pm-hero-art-line { position: absolute; width: 34%; height: 5px; right: 12%; bottom: 16%; background: var(--orange); border-radius: 4px; }

/* ---------- Cards / grids ---------- */
.pm-grid { display: grid; gap: 20px; }
/* Theme 9 keeps four across; theme 10 widens these to three in
   editorial.css, where its showcase card needs the room. */
.pm-grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pm-grid-4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pm-grid-3, .pm-grid-4 { display: grid; gap: 20px; }
.pm-section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.pm-text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; text-decoration: none; }
.pm-text-link:hover { color: var(--orange-dark); }
/* ---- Product card (2026-11-15, rebuilt from a supplied reference) --------
   One card for the products listing and both themes' homepages; the markup is
   Pages/Shared/_ProductCard.cshtml. Theme 10 re-skins it by restating the
   --pmc-* tokens below, so there is never a second copy of these rules to
   drift -- which is exactly what happened to the three markup copies this
   replaced.                                                                */
.pm-product-card {
  --pmc-price-bg: var(--success);
  /* Theme 9 is a blue theme -- the same blue as its sticky "Call" button, so
     the card does not introduce a colour the rest of the page never uses
     (2026-11-15, user: "that enquiry button ... should be blue ... as theme
     is blue"). Theme 10 overrides this with its own green. */
  --pmc-cta-bg: #1d4ed8;
  --pmc-cta-bg-hover: #1e40af;
  --pmc-heading: var(--navy);
}
.pm-product-card, .pm-service-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.pm-product-card { transition: transform .18s ease, box-shadow .18s ease; }
.pm-product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.pm-product-media { position: relative; }
/* contain, with padding: theme 9's long-standing look, where a packshot sits
   whole on a pale panel rather than being cropped to fill. Theme 10 switches
   this to cover for its full-bleed showcase card. */
.pm-product-image { display: grid; place-items: center; aspect-ratio: 4/3; padding: 12px; background: #f8fafc; }
.pm-product-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pm-product-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 180px; color: var(--navy); background: linear-gradient(145deg,#f1f5fb,#e2eaf5); }
.pm-product-placeholder svg { width: 54px; height: 54px; }

/* Category pill over the photo. The max-width stops a long category name
   from running across the whole picture. */
.pm-product-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 52px);
  padding: 7px 14px 7px 11px;
  color: var(--navy); font-size: .78rem; font-weight: 700; line-height: 1.2;
  background: rgba(255,255,255,.94); border-radius: 999px;
  box-shadow: 0 2px 10px rgba(11,31,59,.16);
}
.pm-product-tag svg { flex: none; width: 15px; height: 15px; color: var(--pmc-price-bg); }
.pm-product-tag > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* The curve. Filled with the body colour and laid over the bottom of the
   photo, so the body reads as rising into the picture. */
.pm-product-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; display: block; width: 100%; height: 34px; }
.pm-product-wave-fill { fill: var(--pmc-body); }
.pm-product-wave-line { stroke: var(--pmc-curve); stroke-width: 2.5; }

.pm-product-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 9px; padding: 18px; }
.pm-product-body h2, .pm-product-body h3, .pm-service-card h2 { margin: 0; font-size: 1.05rem; }
.pm-product-body h2 a, .pm-product-body h3 a { color: var(--pmc-heading); text-decoration: none; }
.pm-product-name { color: var(--pmc-heading); font-size: 1.05rem; line-height: 1.3; }
.pm-product-category { color: var(--ink-soft); font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* Theme 9's price is plain text, as it always was. Theme 10 turns it into a
   green pill. PriceText is one free-text field either way, so whatever the
   business typed goes in whole -- there is no unit to split off. */
.pm-product-price { display: inline-block; margin: 0; color: var(--orange-dark); font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; }
.pm-detail-price { color: var(--orange-dark); font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin: 0; }
/* Always two lines, so cards in a row end up the same height whatever the
   description length. */
.pm-product-desc {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  color: var(--ink); font-size: .92rem; line-height: 1.5; margin: 0;
}
.pm-product-body > p:not(.pm-product-price) { color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* wrap, always: the two buttons sit side by side when the card is wide
   enough and drop onto their own lines when it is not. nowrap plus a
   nowrap label is how a card overflows its own grid column. */
.pm-product-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; width: 100%; }
.pm-product-actions .pm-btn { padding: 9px 15px; font-size: .85rem; }
/* NOT .pm-product-detail -- that name was already taken further down by the
   product detail PAGE layout (a two-column grid), which turned this button
   into a grid and stranded its arrow in the second column. */
.pm-product-cta, .pm-product-view {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 10px 14px;
  font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  border-radius: 10px; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pm-product-cta { flex: 1 1 120px; min-width: 0; color: #fff; background: var(--pmc-cta-bg); }
.pm-product-cta:hover { color: #fff; background: var(--pmc-cta-bg-hover); }
.pm-product-cta svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pm-product-view { flex: 1 1 96px; min-width: 0; gap: 6px; color: var(--navy); background: #fff; border: 1px solid var(--border); }
.pm-product-view:hover { color: var(--navy); border-color: var(--navy); }

/* Narrow cards (two-up on a phone) stack the buttons rather than squeezing
   either below a comfortable tap target. */
}
.pm-service-card { padding: 20px; gap: 12px; }
.pm-service-card > img { width: 100%; aspect-ratio: 1/1; object-fit: contain; border-radius: var(--radius-sm); background: #fff; }
.pm-service-icon { display: grid; place-items: center; aspect-ratio: 1/1; border-radius: var(--radius-sm); background: #f0f4fa; color: var(--navy); }
.pm-service-icon svg { width: 50px; height: 50px; }
.pm-service-card p { color: var(--ink-soft); margin: 0; }
.pm-service-card .pm-btn { align-self: flex-start; margin-top: auto; }
.pm-results-count { margin: 22px 0; color: var(--ink-soft); font-size: .9rem; }
.pm-filter-form { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.pm-filter-form label { display: grid; gap: 5px; min-width: 190px; font-size: .82rem; font-weight: 600; }
.pm-filter-form label span { color: var(--ink-soft); }
.pm-filter-form .pm-filter-query { flex: 1; }
.pm-filter-form input, .pm-filter-form select { width: 100%; min-height: 44px; padding: 9px 12px; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; }
.pm-filter-form input:focus, .pm-filter-form select:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.pm-empty-state { margin-top: 24px; padding: 44px 20px; text-align: center; background: #fff; border: 1px dashed #c8d2df; border-radius: var(--radius); }
.pm-empty-state p { color: var(--ink-soft); }
.pm-stats-band { background: #eef3fa; }
.pm-stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 14px; }
.pm-stat-card { display: grid; justify-items: center; align-content: center; gap: 7px; min-height: 178px; padding: 20px; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(16,35,62,.06); }
.pm-stat-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 2px; color: var(--orange-dark); background: #fff0e6; border-radius: 17px; }
.pm-stat-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pm-stat-card strong { color: var(--orange-dark); font-family: var(--font-head); font-size: clamp(1.5rem,3vw,2.1rem); line-height: 1.15; }
.pm-stat-card .pm-stat-label { color: var(--ink-soft); font-size: .9rem; }
.pm-description-list { list-style: none; margin: 14px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.pm-description-list li { position: relative; margin: 0; padding: 9px 14px 9px 34px; color: var(--ink); line-height: 1.35; background: #fff; border: 1px solid var(--border); border-radius: 999px; box-shadow: 0 3px 10px rgba(16,35,62,.04); }
.pm-description-list li::before { content: "✓"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--orange-dark); font-size: .85rem; font-weight: 800; }
.pm-facts-card { padding: clamp(20px,3vw,30px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.pm-facts-card h2, .pm-facts-card h3 { margin-bottom: 16px; }
.pm-facts-card h2 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); }
.pm-fact { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; }
.pm-fact-mark { display: grid; flex: 0 0 24px; place-items: center; width: 24px; height: 24px; color: var(--success); background: #eaf7ef; border-radius: 50%; font-weight: 700; }
.pm-home-intro .pm-two-col { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.pm-gallery-preview { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.pm-gallery-preview a { display: grid; place-items: center; aspect-ratio: 4/3; padding: 8px; overflow: hidden; background: #f8fafc; border: 1px solid var(--border); border-radius: var(--radius); }
.pm-gallery-preview img { width: 100%; height: 100%; object-fit: contain; }
.pm-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 20px; }
.pm-gallery-grid figure { overflow: hidden; margin: 0; padding: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.pm-gallery-grid img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #f8fafc; }
.pm-gallery-grid figcaption { padding: 12px 4px 4px; color: var(--ink); font-weight: 600; }
.pm-gallery-grid figcaption span { color: var(--ink-soft); font-weight: 400; }
.pm-catalogue-promo { padding: clamp(34px,5vw,58px) 0; color: #fff; background: linear-gradient(115deg,var(--orange),#f58a38 72%,#f5a05c); }
.pm-catalogue-promo h2 { color: #fff; margin-bottom: 5px; }
.pm-catalogue-promo p { margin: 0; color: rgba(255,255,255,.93); }
.pm-catalogue-promo .pm-btn { color: var(--navy); background: #fff; }
.pm-home-contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.pm-home-contact-inner h2 { margin-bottom: 4px; }
.pm-home-contact-inner p { color: var(--ink-soft); margin: 0; }
.pm-about-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(260px,.7fr); gap: clamp(24px,4vw,48px); align-items: start; }
.pm-prose { min-width: 0; }
.pm-prose h2 { margin-top: 28px; }
.pm-about-banner { display: block; width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; }
.pm-about-aside { display: grid; gap: 18px; }
.pm-about-stat { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.pm-about-stat strong { color: var(--orange-dark); }
.pm-about-cta { padding: clamp(20px, 3vw, 30px); }
.pm-about-cta .pm-btn { margin-top: 6px; }
.pm-product-detail { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(26px,5vw,60px); align-items: start; }
.pm-product-detail-image { display: grid; place-items: center; width: 100%; aspect-ratio: 4/3; padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.pm-product-detail-image img { display: block; max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.pm-product-detail-placeholder { display: grid; place-items: center; width: 100%; height: 100%; }
.pm-product-detail-copy h2 { margin-top: 26px; font-size: 1.15rem; }
.pm-detail-actions { margin-top: 26px; }
.pm-spec { white-space: pre-wrap; }
.pm-contact-layout, .pm-enquiry-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px,4vw,46px); align-items: start; }
.pm-contact-card, .pm-form-card, .pm-enquiry-aside { padding: clamp(20px,3vw,30px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.pm-contact-card .pm-btn + .pm-btn { margin-left: 8px; }
.pm-contact-line p { margin: 0; }
.pm-enquiry-aside { background: #f0f4fa; box-shadow: none; }
.pm-error-panel { margin: 0 0 18px; padding: 12px 14px; color: #8c1d18; background: #fff0ef; border: 1px solid #f2b8b5; border-radius: var(--radius-sm); }
.pm-error-panel:empty { display: none; }
.pm-success-panel { text-align: center; padding: 24px 10px; }
.pm-success-mark { display: inline-grid; place-items: center; width: 50px; height: 50px; color: #fff; background: var(--success); border-radius: 50%; font-size: 1.4rem; font-weight: 700; }
.pm-success-panel h2 { margin: 14px 0 8px; }
.pm-share-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.pm-share-status { color: var(--success); font-size: .9rem; }
.pm-catalogue-banner { padding: clamp(28px,3.8vw,44px) 0; }
.pm-catalogue-banner-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,320px); align-items: center; gap: 32px; }
.pm-catalogue-banner-copy h1 { margin-top: 5px; }
.pm-catalogue-banner-copy p { max-width: 620px; }
.pm-catalogue-art { display: block; width: min(100%,300px); justify-self: end; filter: drop-shadow(0 12px 18px rgba(0,0,0,.16)); }
.pm-download-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 18px; }
.pm-download-card { position: relative; min-height: 236px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--resource-accent,var(--orange)); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .15s ease,border-color .15s ease,box-shadow .15s ease; }
.pm-download-card:nth-child(1) { --resource-accent: #e65f00; --resource-tint: #fff1e7; }
.pm-download-card:nth-child(2) { --resource-accent: #2563eb; --resource-tint: #eff6ff; }
.pm-download-card:nth-child(3) { --resource-accent: #0f766e; --resource-tint: #e9f8f5; }
.pm-download-card:nth-child(4) { --resource-accent: #6d28d9; --resource-tint: #f3edff; }
.pm-download-card:hover { transform: translateY(-3px); border-color: var(--resource-accent,var(--orange)); box-shadow: var(--shadow-lg); }
.pm-download-card:focus-visible { outline: 3px solid var(--resource-accent,var(--orange)); outline-offset: 3px; }
.pm-download-card strong { color: var(--navy); font-family: var(--font-head); font-size: 1.08rem; }
.pm-download-card > span:not(.pm-download-icon):not(.pm-download-action) { color: var(--ink-soft); font-size: .9rem; }
.pm-download-icon { display: grid; place-items: center; width: 62px; height: 62px; color: var(--resource-accent,var(--orange-dark)); background: var(--resource-tint,#fff1e7); border-radius: 18px; }
.pm-download-icon svg { display: block; width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pm-download-icon svg path[fill-rule] { fill: currentColor; stroke: none; }
.pm-download-icon svg circle { fill: currentColor; stroke: none; }
.pm-download-action { display: flex; justify-content: space-between; width: 100%; margin-top: auto; padding-top: 10px; color: var(--navy); font-size: .88rem; font-weight: 700; border-top: 1px solid var(--border); }
.pm-download-action b { color: var(--resource-accent,var(--orange)); transition: transform .15s ease; }
.pm-download-card:hover .pm-download-action b { transform: translateX(3px); }

.pm-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.pm-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pm-card-pad { padding: clamp(20px, 3vw, 30px); }
.pm-card img.pm-card-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; background: #eef2f8; }
.pm-card-imgph { width: 100%; aspect-ratio: 1/1; background: linear-gradient(135deg,#eef3fb,#dfe8f5); display: flex; align-items: center; justify-content: center; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 2rem; }
.pm-card h3 { margin: 0; font-size: 1.02rem; }
.pm-cat { font-size: .78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.pm-price { color: var(--orange); font-weight: 700; font-family: var(--font-head); }
.pm-card-desc { font-size: .9rem; color: var(--ink-soft); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pm-card-actions { margin-top: auto; padding-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.pm-card-actions .pm-btn { padding: 9px 16px; font-size: .86rem; }

/* ---------- Why choose us / badges ---------- */
.pm-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.pm-badge { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.pm-badge-tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(22,163,74,.12); color: var(--success); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; }
.pm-badge span:last-child { font-weight: 500; font-size: .95rem; }

/* ---------- Stats ---------- */
.pm-stats { background: var(--navy); color: #fff; }
.pm-stats .pm-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.pm-stat { text-align: center; padding: 22px 12px; }
.pm-stat-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--orange); line-height: 1.1; }
.pm-stat-label { display: block; font-size: .92rem; color: #cfdcef; margin-top: 4px; }

/* ---------- CTA band ---------- */
.pm-cta { background: linear-gradient(135deg, var(--orange) 0%, #ff8a3d 100%); color: #fff; }
.pm-cta h2 { color: #fff; margin-bottom: 6px; }
.pm-cta p { color: rgba(255,255,255,.92); margin: 0; }
.pm-cta-inner { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pm-cta .pm-btn { background: #fff; color: var(--orange); }
.pm-cta .pm-btn:hover { background: #fff5ee; }

/* ---------- Breadcrumb ---------- */
.pm-crumb { background: #fff; border-bottom: 1px solid var(--border); font-size: .85rem; }
.pm-crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 20px; max-width: var(--wrap); margin: 0 auto; }
.pm-crumb a { color: var(--ink-soft); text-decoration: none; }
.pm-crumb a:hover { color: var(--navy); }
.pm-crumb li[aria-current] { color: var(--navy); font-weight: 600; }
.pm-crumb li + li::before { content: "/"; margin-right: 8px; color: #c3ccd8; }

/* ---------- Page banner (inner pages) ---------- */
/* Same artwork behind the inner-page titles. Theme 10 overrides this with its
   own backdrop via .ed-page .pm-banner, which both outranks this selector and
   is loaded after it, so the two multi-page themes keep their own look. */
.pm-banner {
  background-color: var(--navy);
  background-image: url("/img/storefront/professional-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: clamp(30px, 4.5vw, 54px) 0;
}
.pm-banner h1 { color: #fff; margin: 0; }
.pm-banner p { color: #b9c9dd; margin: 8px 0 0; }

/* ---------- Contact / forms ---------- */
.pm-two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.pm-contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.pm-contact-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 8px; background: rgba(11,31,59,.06); display: flex; align-items: center; justify-content: center; }
.pm-contact-line a { color: var(--ink); text-decoration: none; }
.pm-contact-line a:hover { color: var(--orange); }
.pm-contact-label { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }

/* A long unbroken email address or URL has no wrap opportunity, so it becomes
   the minimum width of whatever column holds it and pushes the page wider than
   a phone screen -- the contact page overflowed a 390px viewport by 5px for
   exactly this reason (2026-11-13, real report: "contact page gets bit off in
   responsive"). "anywhere" rather than "break-word" because only "anywhere"
   also lowers the min-content size, which is the number a grid track measures.
   min-width:0 is the matching half: a flex/grid child refuses to shrink below
   its content without it. */
.pm-contact-line > div, .pm-footer-grid > div { min-width: 0; }
/* Bare element selectors are safe here: this stylesheet is only ever loaded by
   the two multi-page layouts, so it cannot reach themes 1-8. Scoping the rule
   to specific blocks was whack-a-mole -- the enquiry page then overflowed on
   the same email address from a different container. */
a, p { overflow-wrap: anywhere; }

.pm-field { margin-bottom: 14px; }
.pm-field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 5px; }
.pm-field input, .pm-field textarea, .pm-field select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; background: #fff; color: var(--ink);
}
.pm-field input:focus, .pm-field textarea:focus, .pm-field select:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.pm-field textarea { min-height: 120px; resize: vertical; }
.pm-err { color: var(--error); font-size: .85rem; }
.pm-ok { color: var(--success); font-weight: 600; }
.pm-map { width: 100%; height: 320px; border: 0; border-radius: var(--radius); display: block; }

/* ---------- Downloads ---------- */
.pm-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.pm-dl a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 16px; box-shadow: var(--shadow); color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.pm-dl a:hover { border-color: var(--orange); transform: translateY(-2px); }
.pm-dl-ico { font-size: 1.8rem; }
.pm-dl strong { font-family: var(--font-head); font-size: .95rem; }
.pm-dl span { font-size: .8rem; color: var(--ink-soft); }

/* ---------- Product detail ---------- */
.pm-pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 46px); align-items: start; }
.pm-pd-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: #eef2f8; }
.pm-pd-ph { width: 100%; aspect-ratio: 1/1; border-radius: var(--radius); background: linear-gradient(135deg,#eef3fb,#dfe8f5); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 3rem; color: var(--navy); }
.pm-spec { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; white-space: pre-wrap; font-size: .93rem; }

/* ---------- Footer ---------- */
.pm-footer { background: var(--navy); color: #a9bcd4; font-size: .9rem; padding: clamp(34px, 5vw, 56px) 0 0; }
.pm-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; }
.pm-footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 30px; }
.pm-footer a { color: #a9bcd4; text-decoration: none; display: block; margin-bottom: 9px; }
.pm-footer a:hover { color: #fff; }
.pm-footer-brand img { height: 44px; width: 44px; object-fit: cover; border-radius: 8px; background: #fff; margin-bottom: 12px; }
.pm-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding: 16px 0 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }
.pm-footer-bottom a { display: inline; margin: 0; }
.pm-powered { color: #8ea4c0; }
.pm-powered a { display: inline; color: #cfdcef; }

/* ---------- Mobile sticky action bar (Part O) ---------- */
.pm-sticky {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -2px 14px rgba(11,31,59,.12);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.pm-sticky-inner { display: flex; }
.pm-sticky a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: var(--sticky-bar-h); text-decoration: none; font-size: .74rem; font-weight: 600;
  font-family: var(--font-head); color: #fff;
}
.pm-sticky a + a { border-left: 1px solid rgba(255,255,255,.22); }
.pm-sticky-call { background: #1d4ed8; }
.pm-sticky-wa { background: #25d366; }
.pm-sticky-enq { background: var(--orange); }
.pm-sticky-ico { font-size: 1.05rem; line-height: 1; }

/* ==========================================================================
   Responsive — Part O. Tested at 320/360/375/390/414/768.
   ========================================================================== */
@media (max-width: 980px) {
  .pm-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .pm-hero-visual { order: -1; }
  .pm-two-col, .pm-pd { grid-template-columns: minmax(0, 1fr); }
  .pm-home-intro .pm-two-col, .pm-about-layout, .pm-product-detail, .pm-contact-layout, .pm-enquiry-layout { grid-template-columns: minmax(0, 1fr); }
  .pm-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .pm-burger { display: block; }
  .pm-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-2); padding: 8px 20px 16px;
    border-top: 1px solid rgba(255,255,255,.1);
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .pm-nav.is-open { display: flex; }
  .pm-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .pm-nav a.is-active { border-bottom-color: var(--orange); }
  .pm-nav .pm-btn { margin: 12px 0 0; padding: 12px 24px; }
  .pm-header-inner { position: relative; }
  .pm-topbar-social { margin-left: 0; width: 100%; }
  .pm-catalogue-banner-inner { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pm-catalogue-art { display: none; }

  /* The sticky action bar replaces the floating WhatsApp button on mobile
     (Part O) -- two overlapping floating controls is exactly what the brief
     says to avoid. Body padding keeps it off the footer and form buttons. */
  .pm-sticky { display: block; }
  body.pm-has-sticky { padding-bottom: calc(var(--sticky-bar-h) + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 480px) {
  .pm-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pm-cta-inner { flex-direction: column; align-items: flex-start; }
  .pm-grid-3, .pm-grid-4 { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .pm-btn { padding: 11px 18px; }
  .pm-grid-3, .pm-grid-4, .pm-gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .pm-gallery-preview { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pm-section-head-row { align-items: flex-start; flex-direction: column; }
  .pm-filter-form { align-items: stretch; flex-direction: column; }
  .pm-filter-form label { min-width: 0; width: 100%; }
  .pm-hero-art { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   AOS reveals on small screens
   ========================================================================== */
/* AOS's horizontal reveals park the element 100px to the side until it scrolls
   into view. On a 390px phone that is a quarter of the screen width, so the
   section sits off the edge and the document measures wider than the viewport
   until the reveal fires. Below the themes' mobile breakpoint the same reveals
   run vertically instead -- identical effect, no sideways travel. Matching
   AOS's own single-attribute specificity is enough because this file is loaded
   after aos.css. */
/* At every width, not only phones: at desktop sizes the hero and About
   blocks sit flush with the page edges, so a +100px horizontal reveal widened
   the document by 77px until it animated in -- measured between 861px and
   1200px. Vertical reveals have no such edge. */
@media all {
  [data-aos="fade-right"], [data-aos="fade-left"] { transform: translate3d(0, 60px, 0); }
  [data-aos="zoom-in-right"], [data-aos="zoom-in-left"] { transform: translate3d(0, 60px, 0) scale(.6); }
}

/* The top bar's social links carry real SVG glyphs now rather than the bare
   characters "f", "in", "◎" and "▶" they used before (2026-11-13, user:
   "whare is insta & fb icons?" -- those letters read as text, not icons).
   align-items keeps them centred against the topbar's own text, and the
   explicit colour stops them inheriting the link blue. */
.pm-topbar-social { align-items: center; }
.pm-topbar-social a { color: inherit; opacity: .85; transition: opacity .15s ease; }
.pm-topbar-social a:hover { opacity: 1; }
.pm-topbar-social svg { width: 17px; height: 17px; display: block; }

/* The footer's WhatsApp line shows the number instead of the word (same
   request), so its icon needs to sit on the text baseline rather than above
   it. */
.pm-footer svg { vertical-align: -3px; margin-right: 4px; }



/* ---- Footer language picker and Powered-by logo (2026-11-22) -----------
   Google's translate widget arrives with its own coloured G icon, a
   "Powered by Google Translate" line and inline styles, which looked like a
   third-party sticker dropped onto the page (user: "it should feel its of
   website only"). The gadget's own text is collapsed and only its <select>
   is kept, restyled as a quiet pill that matches the rest of the footer.

   Targeting Google's class names is a knowing trade: they are not a public
   API and could change. The fallback if they do is an unstyled but working
   dropdown, never a broken page, which is why this is CSS rather than
   JavaScript driving a custom control.

   Shared by all three multi-page themes -- they all load this stylesheet. */
.btx-translate .goog-te-gadget { font-size: 0 !important; line-height: 0 !important; color: transparent !important; }
.btx-translate .goog-te-gadget-icon,
.btx-translate .goog-logo-link { display: none !important; }
.btx-translate .goog-te-gadget > span { display: none !important; }
.btx-translate .goog-te-combo {
  /* appearance:none removes the native control chrome -- on Windows Chrome
     the default <select> draws a boxed arrow with a divider rule, which read
     as a cut line through the pill (2026-11-22 user screenshot). The caret
     below is our own, drawn as a background SVG with room reserved for it. */
  -webkit-appearance: none;
  appearance: none;
  margin: 0 !important;
  padding: 6px 30px 6px 14px;
  max-width: 190px;
  font: inherit;
  font-size: .84rem;
  color: var(--ink-soft, #6b7280);
  background-color: transparent;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 999px;
  cursor: pointer;
}
.btx-translate .goog-te-combo:hover { border-color: var(--navy, #0b1f3b); }

/* The logo replaces the words "BharatTradeX" after "Powered by". Capped by
   height so it sits on the same baseline as the copyright line next to it. */
.btx-powered-logo { height: 26px; width: auto; display: inline-block; vertical-align: middle; margin-left: 6px; }
