/* Shared Mahan design language. Loaded last on every route.
   Page colours may vary; typography, spacing and controls use the same tokens. */
:root{
  --font-heading:Georgia,"Times New Roman",serif;
  --font-body:"Source Sans 3",Arial,sans-serif;
  --forest:#163e30;
  --antique-gold:#806025;
  --gold-rule:#bca66f;
  --ivory:#faf8f1;
  --stone:#f0f1ed;
  --mist:#edf3f4;
  --leaf:#e8eedf;
  --ink:#4e5b50;
  --rule:#d4dacd;
  --page-gutter:clamp(20px,4vw,54px);
  --section-space:clamp(48px,5.4vw,76px);
  --layout-gap:clamp(30px,5vw,72px);
  --control-radius:4px;
  --photo-radius:4px;
  --button-gold:linear-gradient(110deg,#94712e,#806025);
}
.mahan-site{
  --paper:var(--ivory);--sage:var(--leaf);--green:var(--forest);--gold:var(--antique-gold);
  --body:var(--ink);--line:var(--rule);--radius:var(--photo-radius);
  --page-surface:var(--ivory);--page-panel:#fffefa;
  background:var(--page-surface);font-family:var(--font-body);font-size:1.0625rem;line-height:1.65;
}
.mahan-site.about-page{--page-surface:var(--stone);--as-paper:var(--stone);--as-surface:#e7ece7;--as-mist:var(--mist);--as-section-space:var(--section-space)}
.mahan-site.products-page{--page-surface:#f5f0e5}
.mahan-site.contact-page{--page-surface:var(--mist);--page-panel:#fcfdfb}
.mahan-site.catalogue-page{--page-surface:#fcfbf6}
.mahan-site.product-page{--page-surface:#f5f2e9}
.mahan-site .container,.mahan-site .about-studio .container,.mahan-site .products-studio .container,
.mahan-site .contact-strip>.container{width:min(1240px,calc(100% - var(--page-gutter)*2));max-width:1240px;margin-inline:auto}
.mahan-site :is(h1,h2,h3,h4),.mahan-site .about-studio :is(h1,h2,h3),.mahan-site .products-studio :is(h1,h2,h3){
  font-family:var(--font-heading);font-weight:700;letter-spacing:-.025em;text-transform:none;
}
.mahan-site h1{font-size:clamp(2.75rem,5.3vw,5.25rem);line-height:1.06}
.mahan-site h2{font-size:clamp(2rem,3.3vw,3.1rem);line-height:1.15}
.mahan-site h3{line-height:1.3}
.mahan-site .section{padding-block:var(--section-space)}
.mahan-site .split{gap:var(--layout-gap)}
.mahan-site .section-heading{margin-bottom:40px}
.mahan-site .section-heading p:not(.eyebrow){max-width:620px;margin-inline:auto}
.mahan-site :is(.split,.contact-grid,.inline-cta,.ps-focus-layout)>*{min-width:0}
.mahan-site :is(.eyebrow,.product-category,.ps-kicker):not(.script-accent){font-size:.875rem}
.mahan-site :is(.detail-note,.hero-note,.breadcrumb,.form-note){font-size:.875rem}

/* Identical contact row and navigation at every destination. */
.mahan-site .contact-strip{display:block;background:#f0f4ed;color:var(--forest);border-bottom:1px solid #dce3d5}
.mahan-site .strip-inner{min-height:44px;padding-block:0;gap:24px}
.mahan-site .strip-right{gap:16px}
.mahan-site .strip-right .strip-phone{font-size:.9375rem;font-weight:400;min-height:44px}
.mahan-site .header-social{background:transparent}
.mahan-site .header-social a{width:40px;height:44px}
.mahan-site .header-social a:is(:hover,:focus-visible){
  background:radial-gradient(circle 14px at center,#103c2710 97%,transparent 100%);
}
.mahan-site .header-social .brand-icon{width:18px;height:18px}
.mahan-site .site-header{background:#fbfaf5;border-bottom:1px solid #e1e3d8}
.mahan-site .nav-shell{min-height:100px;gap:clamp(24px,2.5vw,36px);flex-wrap:nowrap}
.mahan-site .brand{width:224px;flex-shrink:0}
.mahan-site .site-header nav,.mahan-site .site-header nav.open{
  display:flex;flex:1;flex-basis:auto;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-end;
  gap:clamp(16px,1.65vw,26px);padding:0;width:auto;min-width:0;
}
.mahan-site .site-header nav>a{font:600 .9375rem/1.4 var(--font-body);padding:12px 0;color:var(--forest);white-space:nowrap}
.mahan-site .site-header nav>a[aria-current]{background:none;border-radius:0;color:var(--forest)}
.mahan-site .site-header nav>a[aria-current]:after{display:block;bottom:3px;height:2px;background:var(--gold-rule)}
.mahan-site .site-header nav>a:hover{color:var(--antique-gold)}
.mahan-site .site-header .nav-catalogue{display:inline-flex;border:0;border-radius:0;padding:12px 0}
.mahan-site .site-header nav>a.nav-quote{
  display:inline-flex;align-items:center;justify-content:center;gap:14px;margin:0 0 0 4px;
  min-height:46px;padding:11px 20px;border:1px solid var(--antique-gold);border-radius:var(--control-radius);
  color:#fff;background:var(--button-gold);
}
.mahan-site .site-header nav>a.nav-quote:hover{background:#71541f;color:#fff}
.mahan-site .site-header .nav-quote .icon{width:19px;height:19px}
.mahan-site .menu-toggle{display:none;border-radius:var(--control-radius)}

/* Shared, clearly recognisable actions and input fields. */
.mahan-site :is(.button,.ps-button,.as-button){
  display:inline-flex;align-items:center;justify-content:center;gap:18px;
  min-height:48px;padding:12px 23px;border-radius:var(--control-radius);
  font:600 1rem/1.4 var(--font-body);text-decoration:none;white-space:normal;text-align:center;
  transition:background .18s,border-color .18s,color .18s;
}
.mahan-site :is(.button,.ps-button){background:var(--forest);border:1px solid var(--forest);color:#fff}
.mahan-site :is(.button,.ps-button):hover{background:#255640;border-color:#255640;color:#fff}
.mahan-site :is(.button-outline,.ps-button-outline){background:transparent;border:1px solid #a5b2a1;color:var(--forest)}
.mahan-site :is(.button-outline,.ps-button-outline):hover{background:var(--leaf);border-color:var(--forest);color:var(--forest)}
.mahan-site :is(.ps-button-gold,.as-button){background:var(--button-gold);border:1px solid var(--gold-rule);color:#fff;box-shadow:none}
.mahan-site :is(.ps-button-gold,.as-button):hover{background:#71541f;color:#fff}
.mahan-site :is(.button,.ps-button,.as-button) .icon{width:20px;height:20px}
.mahan-site :is(.text-link,.as-text-link,.ps-detail-link){
  color:var(--forest);text-decoration:none;border-bottom:1px solid var(--gold-rule);
  min-height:44px;font:600 1rem/1.4 var(--font-body);padding-block:10px;gap:24px;
}
.mahan-site :is(.text-link,.as-text-link,.ps-detail-link):hover{color:var(--antique-gold)}
.mahan-site :is(.field input,.field textarea,.enquiry-preview,.products-studio input,.products-studio textarea){
  background:#fffefa;border:1px solid #85927e;border-radius:var(--control-radius);color:var(--forest);font-family:var(--font-body);font-size:1rem;
}
.mahan-site :is(a,button,input,textarea,select):focus-visible{outline:2px solid var(--antique-gold);outline-offset:4px}
.mahan-site :is(.footer-legal,.ps-closing,.as-closing) :is(a,button):focus-visible{outline-color:#f5dfab}
.mahan-site .enquiry-form{background:var(--page-panel);border:1px solid var(--rule);border-radius:var(--control-radius);padding:clamp(24px,3vw,40px);box-shadow:none}
.mahan-site .enquiry-form h3{font-size:clamp(1.75rem,2.5vw,2.2rem)}
.mahan-site .form-note{font-size:.875rem!important}

/* Home: generous editorial type and the same natural materials as Products. */
.mahan-site .home-hero h1{font:700 clamp(2.8rem,4.5vw,4.4rem)/1.07 var(--font-heading);letter-spacing:-.03em;text-transform:none;max-width:670px}
.mahan-site .hero-inner{min-height:570px;padding-block:60px}
.mahan-site .hero-copy{max-width:58%}
.mahan-site .hero-copy>p:not(.eyebrow):not(.hero-note){font-size:1.125rem;line-height:1.65;max-width:495px}
.mahan-site .trust-strip{background:#f0f2e9;border-block:1px solid var(--rule)}
.mahan-site .trust-grid{padding-block:28px;gap:36px}
.mahan-site .trust-grid h2{font-size:1.25rem;line-height:1.25}
.mahan-site .trust-grid p{font-size:1rem}
.mahan-site .intro-photo,.mahan-site .partnership-photo img{border:1px solid var(--rule);padding:8px;border-radius:var(--photo-radius);background:var(--stone)}
.mahan-site .intro-photo{aspect-ratio:5/4}
.mahan-site .product-card{background:#fcfbf6;border:1px solid #d9dccf;border-radius:var(--photo-radius);box-shadow:none;overflow:hidden}
.mahan-site .product-card:hover{border-color:var(--gold-rule);box-shadow:none}
.mahan-site .product-image{height:300px;min-height:0;padding:28px 24px 20px;background:#fffefa}
.mahan-site .product-image img{max-height:250px;width:auto;max-width:100%;object-fit:contain}
.mahan-site .product-content{padding:22px 24px 0;border-top:1px solid #e4e6dc}
.mahan-site .product-content h3{font-size:clamp(1.3rem,1.9vw,1.65rem);margin-bottom:12px}
.mahan-site .product-description{font-size:1rem;line-height:1.6;min-height:0}
.mahan-site .product-link{font-size:1rem;font-weight:600;border-color:var(--gold-rule)}
.mahan-site .product-category{color:var(--antique-gold);letter-spacing:.08em}

/* Home products share one open studio surface, rather than individual panels.
   Keep card/media-link ancestors untransformed so cropped photos blend into it. */
.mahan-site.home-page #products{
  background:linear-gradient(180deg,#faf8f1b3,#faf8f118 35%,#faf8f1c9),#f4f0e5 url('images/products-blocks-studio.webp') center/cover no-repeat;
  border:0;
}
.mahan-site.home-page #products .section-heading{
  display:grid;grid-template-columns:auto minmax(40px,1fr) minmax(220px,310px);align-items:center;gap:30px;
  max-width:none;margin:0 0 22px;text-align:left;
}
.mahan-site.home-page #products .section-heading h2{grid-column:1;grid-row:1;margin:0}
.mahan-site.home-page #products .section-heading:after{content:'';grid-column:2;grid-row:1;height:1px;background:var(--gold-rule)}
.mahan-site.home-page #products .section-heading p{grid-column:3;grid-row:1;max-width:none;margin:0;font-size:1rem;line-height:1.5}
.mahan-site.home-page #products .product-grid{gap:clamp(24px,4vw,54px);max-width:none}
.mahan-site.home-page #products .product-card,
.mahan-site.home-page #products .product-card:hover{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
.mahan-site.home-page #products .product-image{
  height:clamp(220px,25vw,320px);min-height:0;padding:10px 8px 18px;align-items:flex-end;flex:0 0 auto;background:transparent;
}
.mahan-site.home-page #products .home-product-crop{
  display:block;position:relative;overflow:hidden;width:min(100%,360px);aspect-ratio:var(--crop-ratio);flex:0 1 auto;
  mix-blend-mode:multiply;mask-image:linear-gradient(to right,transparent,#000 2%,#000 98%,transparent);
}
.mahan-site.home-page #products .product-card:nth-child(2) .home-product-crop{width:min(92%,330px)}
.mahan-site.home-page #products .product-card:nth-child(3) .home-product-crop{width:min(84%,300px)}
.mahan-site.home-page #products .home-product-crop img{
  position:absolute;width:var(--source-width);height:var(--source-height);max-width:none;max-height:none;
  left:var(--source-left);top:var(--source-top);filter:brightness(1.025) contrast(1.025);
}
.mahan-site.home-page #products .product-content{padding:16px 12px 0;border:0}
.mahan-site.home-page #products .product-category{font-size:.75rem;letter-spacing:.12em;margin-bottom:8px}
.mahan-site.home-page #products .product-content h3{font-size:clamp(1.3rem,2vw,1.7rem);line-height:1.25;margin-bottom:10px}
.mahan-site.home-page #products .product-description{min-height:3.2em;margin-bottom:12px}
.mahan-site.home-page #products .product-dimension{font-size:.875rem;margin-bottom:16px}
.mahan-site.home-page #products .product-link{padding-block:12px;min-height:48px;border-top:1px solid #ad975d99}
.mahan-site.home-page #products .center-action{margin-top:34px}
@media(min-width:701px){
  /* Size the studio to the display above the copy, so its tabletop stays
     behind the blocks even when the descriptions make the section taller. */
  .mahan-site.home-page #products{position:relative;background:#f4f0e5}
  .mahan-site.home-page #products:before{
    content:'';position:absolute;inset:0 0 auto;pointer-events:none;
    height:calc((var(--section-space) + clamp(220px,25vw,320px) + 32px)*1.555);
    background:linear-gradient(180deg,#faf8f150,transparent 40%),url('images/products-blocks-studio.webp') center top/100% 100% no-repeat;
    mask-image:linear-gradient(#000 78%,transparent);
  }
  .mahan-site.home-page #products>.container{position:relative}
}
.mahan-site .home-partnership{background:var(--leaf)}
.mahan-site .partnership-grid{gap:var(--layout-gap)}
.mahan-site .partnership-promises h3{font-size:1.3rem}
.mahan-site .registrations{background:var(--page-surface);border-top:1px solid var(--rule)}
.mahan-site .registration-card h3,.mahan-site .about-studio .registration-card h3{font:600 1.25rem/1.35 var(--font-body);letter-spacing:0}
.mahan-site .registration-board-grid{margin-top:36px}
/* Home and About registration marks retain the approved open 3 + 2 composition.
   Use original-resolution artwork where available; native crop coordinates
   frame existing artwork without stretching it or including document captions. */
.mahan-site:is(.home-page,.about-page) .registrations .section-heading{margin-bottom:32px}
.mahan-site:is(.home-page,.about-page) .registration-grid{max-width:960px;gap:32px 48px}
.mahan-site:is(.home-page,.about-page) .registration-logo-box{
  height:150px;margin-bottom:16px;background:var(--page-surface);
}
.mahan-site:is(.home-page,.about-page) .registration-art{
  --mark-scale:1;--sheet-width:902px;--sheet-height:542px;
  width:calc(var(--mark-width)*var(--mark-scale));height:calc(var(--mark-height)*var(--mark-scale));
  background-size:calc(var(--sheet-width)*var(--mark-scale)) calc(var(--sheet-height)*var(--mark-scale));
  background-position:calc(var(--mark-x)*var(--mark-scale)) calc(var(--mark-y)*var(--mark-scale));
  mix-blend-mode:multiply;
}
.mahan-site:is(.home-page,.about-page) .registration-art-iec{
  width:132px;height:132px;background:url('images/registrations/iec-original.jpg') center/contain no-repeat;border-radius:9px;
}
.mahan-site:is(.home-page,.about-page) .registration-art-gst{
  --sheet-width:1542px;--sheet-height:810px;--mark-scale:.215;
  --mark-width:717px;--mark-height:459px;--mark-x:-410px;--mark-y:-61px;
  background-image:url('images/registrations/gstn-official.png');mix-blend-mode:normal;
}
.mahan-site:is(.home-page,.about-page) .registration-art-udyam{
  width:170px;height:61px;
  background:url('images/registrations/udyam-restored.png') -23.7px -6.9px/217.2px 72.4px no-repeat;
  mix-blend-mode:normal;
}
.mahan-site:is(.home-page,.about-page) .registration-art-coir-board{
  width:124px;height:124px;background:url('images/registrations/coir-board.svg') center/contain no-repeat;
}
.mahan-site:is(.home-page,.about-page) .registration-art-coconut-development-board{
  --sheet-width:714px;--sheet-height:1035px;--mark-scale:.1544885177;
  --mark-width:659px;--mark-height:958px;--mark-x:-27px;--mark-y:-44px;
  position:relative;overflow:hidden;background:none;mix-blend-mode:normal;
  /* Clip only the outer peach surround. The expanded outline includes the
     Hindi lettering that extends beyond a simple oval; source pixels stay intact. */
  clip-path:polygon(
    0% 29.099%,1.073% 24.251%,2.762% 20.553%,5.673% 16.338%,9.042% 12.861%,
    11.195% 11.063%,14.870% 8.535%,18.855% 6.321%,24.215% 4.003%,30.648% 2.001%,
    37.688% .633%,42.755% .105%,55.256% 0%,59.710% .317%,66.444% 1.369%,
    72.568% 2.949%,77.011% 4.530%,84.672% 7.903%,90.187% 12.329%,93.713% 15.493%,
    95.865% 18.560%,98.007% 22.349%,99.234% 25.830%,99.848% 29.103%,99.848% 70.686%,
    99.387% 73.434%,98.315% 76.806%,97.237% 79.030%,94.481% 83.138%,90.654% 87.140%,
    88.196% 89.147%,85.130% 91.257%,80.537% 93.784%,76.400% 95.576%,71.809% 97.155%,
    68.281% 98.104%,64.140% 98.948%,57.098% 99.791%,44.594% 99.896%,41.361% 99.684%,
    35.095% 98.843%,31.561% 98.103%,26.058% 96.526%,23.140% 95.469%,19.309% 93.783%,
    14.719% 91.257%,11.495% 89.039%,7.513% 85.562%,3.987% 81.344%,1.382% 76.495%,
    .308% 72.804%,0% 70.894%
  );
}
.mahan-site:is(.home-page,.about-page) .registration-art-coconut-development-board img{
  /* Native image minification keeps the fine lettering smooth at 100% zoom. */
  position:absolute;display:block;max-width:none;
  width:calc(var(--sheet-width)*var(--mark-scale));height:calc(var(--sheet-height)*var(--mark-scale));
  left:calc(var(--mark-x)*var(--mark-scale));top:calc(var(--mark-y)*var(--mark-scale));
  image-rendering:auto;
}
.mahan-site:is(.home-page,.about-page) .registration-card h3{margin-bottom:8px;color:var(--forest);text-wrap:balance}
.mahan-site:is(.home-page,.about-page) .registration-card p{
  margin:0;font-size:1rem;font-weight:500;line-height:1.5;letter-spacing:.025em;
  font-variant-numeric:lining-nums tabular-nums;color:var(--ink);
}
.mahan-site:is(.home-page,.about-page) .registration-board-grid{width:calc(66.666667% - 16px);max-width:624px;margin-top:32px}
.mahan-site:is(.home-page,.about-page) .registration-board-grid .registration-logo-box{height:150px;margin-bottom:16px}
@media(max-width:700px){
  .mahan-site:is(.home-page,.about-page) .registration-grid{gap:28px 24px}
  .mahan-site:is(.home-page,.about-page) .registration-board-grid{width:100%;max-width:600px;margin-top:30px}
}
@media(max-width:480px){
  .mahan-site:is(.home-page,.about-page) .registrations .section-heading{margin-bottom:28px}
  .mahan-site:is(.home-page,.about-page) .registration-grid{max-width:340px;gap:30px}
  .mahan-site:is(.home-page,.about-page) .registration-logo-box{height:auto;min-height:80px;margin-bottom:14px}
  .mahan-site:is(.home-page,.about-page) .registration-board-grid{max-width:340px;margin-top:32px}
  .mahan-site:is(.home-page,.about-page) .registration-board-grid .registration-logo-box{height:auto;min-height:0;margin-bottom:14px}
}
.mahan-site.home-page #contact{background:#eff3ef;border-top:1px solid var(--rule)}
.mahan-site .contact-grid{gap:var(--layout-gap)}

/* The approved product imagery and crops remain unchanged. */
.mahan-site .products-studio .ps-section-title h2,
.mahan-site .products-studio [data-gallery]>.ps-band:first-child .ps-section-title h2{font-size:clamp(2rem,3.3vw,3.1rem);line-height:1.15;letter-spacing:-.025em}
.mahan-site .products-studio .ps-card-copy h3{font-family:var(--font-heading);font-weight:700;font-size:clamp(1.25rem,1.7vw,1.6rem);letter-spacing:-.02em;line-height:1.25}
.mahan-site .products-studio .ps-card-copy p{font-family:var(--font-body);font-size:1rem;line-height:1.6}
.mahan-site .ps-band{padding-bottom:40px}
.mahan-site .ps-band-sage{padding-top:34px}
.mahan-site .ps-range{padding-block:var(--section-space)}
.mahan-site .ps-family{border-color:#d9dccf;border-radius:var(--control-radius);background:#fffefa}
.mahan-site .products-studio .ps-family h3{font:600 1.125rem/1.3 var(--font-body);letter-spacing:0}
.mahan-site .ps-range-panel{border-radius:var(--control-radius)}
.mahan-site .ps-detail-photo{border-radius:var(--photo-radius);border-color:var(--rule)}
.mahan-site .ps-summary{background:#faf8f1f5;border-color:var(--gold-rule)}
.mahan-site .ps-review{border-radius:6px;background:var(--ivory)}
/* Keep the original light wash so the coir highlights and deep greens stay vivid. */
.mahan-site .ps-closing,.mahan-site .as-closing{padding-block:40px;background:linear-gradient(90deg,#163e3066,#163e3015),var(--forest) url('images/products-cocopeat-background.webp') center 48%/cover no-repeat}
.mahan-site :is(.ps-closing,.as-closing) :is(.ps-button-gold,.as-button){background:linear-gradient(105deg,#ad8e43,#c7ab62);border-color:#d5be7e;color:#102e20;box-shadow:inset 0 1px 0 #fff3}
.mahan-site :is(.ps-closing,.as-closing) :is(.ps-button-gold,.as-button):hover{background:#c7ab62;border-color:#e1cc92;color:#102e20}
.mahan-site .ps-closing>.container,.mahan-site .as-closing-layout{min-height:112px;gap:48px}
.mahan-site .products-studio .ps-closing h2,.mahan-site .about-studio .as-closing h2{font-size:clamp(1.8rem,2.6vw,2.4rem)}

/* Contact and catalogue use the same opening proportions in their own tones. */
.mahan-site.contact-page .page-hero{padding-block:42px;background:linear-gradient(100deg,#edf3f4f2,#edf3f4bf),url('images/products-palm-banner.webp') center/cover;border-bottom:1px solid #d5dedb;text-align:left}
.mahan-site.contact-page .page-hero h1{font-size:clamp(3.2rem,6.65vw,6.2rem);line-height:1.05;margin-bottom:14px}
.mahan-site.contact-page .page-hero p{font:400 clamp(1rem,1.72vw,1.5rem)/1.4 var(--font-heading);color:var(--forest)}
.mahan-site.contact-page .breadcrumb{justify-content:flex-start;margin-bottom:20px;font-size:.875rem}
.mahan-site.contact-page #contact{background:var(--page-surface)}
.mahan-site.contact-page .map-section{padding-top:0}
.mahan-site .map-panel{padding:clamp(24px,3vw,40px);border:1px solid #d1dad4;border-radius:var(--control-radius);background:#e2ebe5}
.mahan-site .map-info h2{font-size:1.8rem}
.mahan-site.catalogue-page .catalogue-title{background:#eef0e5;border-bottom:1px solid var(--rule);padding-block:42px}
.mahan-site .catalogue-title h1{font-size:clamp(2.6rem,5vw,4.75rem);line-height:1.1;margin-bottom:18px;max-width:900px}
.mahan-site .catalogue-title> .container>p:not(.eyebrow){font-size:1.125rem}
.mahan-site .catalogue-products{padding-block:var(--section-space)}
.mahan-site .range-section{background:#f1f3ea;border-block:1px solid var(--rule)}
.mahan-site .range-family h3{font:600 1.25rem/1.4 var(--font-body);border-color:var(--gold-rule)}
.mahan-site .catalogue-contact{padding-block:var(--section-space)}
.mahan-site .catalogue-contact h2{font-size:2rem}
.mahan-site .product-detail .split{align-items:start}
.mahan-site .detail-image{padding:clamp(28px,4vw,54px);min-height:430px;border-radius:var(--photo-radius);background:#fffefa}
.mahan-site .product-detail h1{font-size:clamp(2.5rem,4vw,3.8rem);line-height:1.12}
.mahan-site .product-detail .lead{font-size:1.125rem;line-height:1.65}
.mahan-site .specifications{border-color:var(--gold-rule)}
.mahan-site.product-page .inline-cta h2{font-size:clamp(1.8rem,2.6vw,2.4rem)}
.mahan-site.error-page main{min-height:50vh}

/* One leaf-backed footer, preserving the supplied social and brand artwork. */
.mahan-site .footer-grid{padding-block:var(--section-space);gap:clamp(30px,4vw,64px)}
.mahan-site .footer-grid h2{font:700 1.5rem/1.25 var(--font-heading);margin-bottom:22px;letter-spacing:-.015em}
.mahan-site .footer-logo{width:min(100%,300px)}
.mahan-site .footer-bottom{position:relative;padding:22px 134px 22px 0;min-height:92px}
.mahan-site .footer-bottom .footer-home-link{display:inline;min-height:0;padding-block:12px}
.mahan-site .footer-bottom .back-to-top{
  position:absolute;top:-15px;right:64px;width:46.5px;height:81px;min-height:81px;
  display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;
  overflow:hidden;isolation:isolate;border:1px solid #d7ad49;border-radius:23.25px 23.25px 3px 3px;
  background:linear-gradient(110deg,#c69a32,#d4a63c 18%,#f5d578 36%,#fff2be 47%,#ddb345 63%,#c69a32 84%,#edcc71);
  color:#173b2d;text-decoration:none;box-shadow:0 4px 10px #001c242e,inset 0 1px 0 #fff4c4,inset 1px 0 0 #fff0b080,inset -1px 0 0 #80501340;
}
.mahan-site .footer-bottom .back-to-top:hover{color:#173b2d;text-decoration:none}
.mahan-site .back-to-top .icon{width:20px;height:20px}
.mahan-site .back-to-top>span{font:600 .6875rem/1 var(--font-body);letter-spacing:.2em;padding-left:.2em}
.mahan-site .back-to-top:after{
  content:'';position:absolute;inset:-30%;z-index:-1;pointer-events:none;
  background:linear-gradient(110deg,transparent 36%,#fff9df80 48%,transparent 60%);transform:translateX(-130%);
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .mahan-site .back-to-top{transition:transform .26s ease,box-shadow .26s ease}
  .mahan-site .back-to-top .icon{transition:transform .26s ease}
  .mahan-site .back-to-top:is(:hover,:focus-visible){transform:translateY(-3px);box-shadow:0 8px 18px #001c2440,inset 0 1px 0 #fff7d4}
  .mahan-site .back-to-top:is(:hover,:focus-visible) .icon{transform:translateY(-2px)}
  .mahan-site .back-to-top:is(:hover,:focus-visible):after{animation:footer-tab-sheen .75s ease both}
}
@keyframes footer-tab-sheen{to{transform:translateX(130%)}}
@media(max-width:600px){
  .mahan-site .footer-bottom{padding:84px 60px 20px 0;min-height:0}
}
@media(forced-colors:active){
  .mahan-site .footer-bottom .back-to-top{background:ButtonFace;color:ButtonText;border:1px solid ButtonText;box-shadow:none}
  .mahan-site .back-to-top:after{display:none}
}
.mahan-site .footer-social a{width:44px;height:44px}
.mahan-site .footer-social .brand-icon{width:28px;height:28px}
.mahan-site .whatsapp{width:52px;height:52px;right:20px;bottom:20px}

@media(max-width:1100px){.mahan-site .strip-location{display:none}}
@media(max-width:1000px){
  .mahan-site .nav-shell{min-height:84px;flex-wrap:wrap;gap:0 24px}
  .mahan-site .brand{width:205px}
  .mahan-site .menu-toggle{display:inline-flex;margin-left:auto}
  .mahan-site .site-header nav{display:none;flex-basis:100%;width:100%;padding:10px 0 22px;gap:5px}
  .mahan-site .site-header nav.open{display:flex;flex:1 0 100%;flex-direction:column;align-items:stretch;justify-content:flex-start;width:100%;padding:10px 0 22px;gap:5px}
  .mahan-site .site-header nav>a{padding:11px 14px;font-size:1rem;min-height:44px}
  .mahan-site .site-header nav>a[aria-current]{background:var(--leaf);border-radius:var(--control-radius)}
  .mahan-site .site-header nav>a[aria-current]:after{display:none}
  .mahan-site .site-header .nav-catalogue{display:flex;text-align:left;padding:11px 14px}
  .mahan-site .site-header nav>a.nav-quote{margin:8px 0 0;min-height:48px}
  .mahan-site .hero-copy{max-width:60%}
  .mahan-site .hero-inner{min-height:510px}
  .mahan-site .product-image{height:250px;padding:24px 18px}
  .mahan-site .product-image img{max-height:215px}
  .mahan-site .product-content{padding:20px 18px 0}
  .mahan-site .partnership-grid{gap:32px}
}
@media(max-width:850px){
  .mahan-site.home-page #products .section-heading{grid-template-columns:auto minmax(20px,1fr) minmax(190px,250px);gap:18px}
  .mahan-site.home-page #products .product-content{padding-inline:0}
  .mahan-site.home-page #products .product-description{min-height:4.8em}
  .mahan-site .contact-grid{grid-template-columns:1fr;gap:36px}
  .mahan-site .trust-grid{gap:24px}
  .mahan-site .trust-grid h2{font-size:1.1rem}
  .mahan-site .ps-section-title{gap:20px}
  .mahan-site .ps-closing>.container,.mahan-site .as-closing-layout{gap:28px;flex-wrap:wrap}
  .mahan-site .ps-closing>.container>div,.mahan-site .as-closing-layout>div{border:0;padding-right:0}
}
@media(max-width:700px){
  .mahan-site.home-page #products{background-size:auto,auto 780px;background-position:center,center top}
  .mahan-site.home-page #products .section-heading{display:block;margin-bottom:24px}
  .mahan-site.home-page #products .section-heading h2{margin-bottom:12px}
  .mahan-site.home-page #products .section-heading:after{display:none}
  .mahan-site.home-page #products .section-heading p{max-width:340px}
  .mahan-site.home-page #products .product-grid{max-width:460px;gap:30px}
  .mahan-site.home-page #products .product-card+.product-card{border-top:1px solid #c9bb965e;padding-top:24px}
  .mahan-site.home-page #products .product-image{height:auto;padding:12px 8px 20px}
  .mahan-site.home-page #products .product-content{padding:8px 0 0}
  .mahan-site.home-page #products .product-content h3{font-size:1.6rem}
  .mahan-site.home-page #products .product-description{min-height:0}
  .mahan-site.home-page #products .center-action{margin-top:30px}
  .mahan-site{--section-space:48px;--layout-gap:30px;font-size:1rem}
  .mahan-site .strip-inner{gap:0;justify-content:center}
  .mahan-site .strip-right{gap:12px;justify-content:space-between;width:100%}
  .mahan-site .header-social a{width:44px}
  .mahan-site .strip-right .strip-phone{font-size:.9375rem}
  .mahan-site .hero-inner{width:100%;min-height:0;padding:42px var(--page-gutter) 38px;background:var(--leaf)}
  .mahan-site .hero-copy{max-width:100%}
  .mahan-site .home-hero h1{font-size:clamp(2.5rem,8vw,3.5rem)}
  .mahan-site .hero-copy>p:not(.eyebrow):not(.hero-note){font-size:1rem}
  .mahan-site .trust-grid{gap:24px}
  .mahan-site .trust-grid h2{font-size:1.25rem}
  .mahan-site .section-heading{margin-bottom:30px}
  .mahan-site .product-grid{max-width:460px}
  .mahan-site .product-image{height:290px;padding:28px 24px}
  .mahan-site .product-image img{max-height:248px}
  .mahan-site .product-content{padding:22px 24px 0}
  .mahan-site .product-content h3{font-size:1.5rem}
  .mahan-site .partnership-grid{grid-template-columns:1fr;gap:30px}
  .mahan-site .partnership-photo img{aspect-ratio:5/4;max-height:none}
  .mahan-site .registration-board-grid{margin-top:30px}
  .mahan-site :is(.ps-closing,.as-closing){padding-block:36px}
  .mahan-site :is(.ps-closing>.container,.as-closing-layout){flex-direction:column;align-items:start;min-height:0;gap:24px}
  .mahan-site .product-detail .split{grid-template-columns:1fr}
  .mahan-site .detail-image{min-height:340px}
  .mahan-site.contact-page .page-hero,.mahan-site.catalogue-page .catalogue-title{padding-block:34px}
  .mahan-site.contact-page .page-hero h1{font-size:clamp(2.8rem,9vw,4rem)}
  .mahan-site .catalogue-title h1{font-size:clamp(2.5rem,8vw,3.5rem)}
  .mahan-site .footer-grid{gap:32px}
  .mahan-site .whatsapp{width:48px;height:48px;right:16px;bottom:16px}
}
@media(max-width:380px){
  .mahan-site .contact-strip>.container{width:calc(100% - 24px)}
  .mahan-site .strip-right{gap:4px}
  .mahan-site .strip-right .strip-phone{font-size:.875rem;padding-left:8px;gap:6px}
  .mahan-site .brand{width:185px}
  .mahan-site .specifications>div{grid-template-columns:1fr;gap:5px}
  .mahan-site .ps-summary>.container{flex-wrap:wrap}
  .mahan-site .ps-summary p{display:flex;justify-content:space-between;width:100%;gap:8px}
  .mahan-site .ps-summary .ps-button{width:100%}
}
@media(prefers-reduced-motion:reduce){.mahan-site *{scroll-behavior:auto!important;transition:none!important}}
@media print{
  .mahan-site.home-page #products{background:#fff}
  .mahan-site.home-page #products:before{display:none}
  .mahan-site.home-page #products .section-heading{display:block;margin-bottom:18px}
  .mahan-site.home-page #products .section-heading h2{font-size:23pt;margin-bottom:8px}
  .mahan-site.home-page #products .section-heading:after{display:none}
  .mahan-site.home-page #products .product-grid{max-width:none;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
  .mahan-site.home-page #products .product-card+.product-card{padding-top:0;border:0}
  .mahan-site.home-page #products .product-image{height:150px;padding:8px}
  .mahan-site.home-page #products .home-product-crop{max-width:160px}
  .mahan-site.home-page #products .product-content{padding:8px 0 0}
  .mahan-site.home-page #products .product-content h3{font-size:14pt}
  .mahan-site.home-page #products .product-description{min-height:0}
  .mahan-site{background:#fff;color:#222;font-size:11pt}
  .mahan-site .container,.mahan-site .about-studio .container,.mahan-site .products-studio .container{width:100%;max-width:none}
  .mahan-site :is(.contact-strip,.site-header,.site-footer,.whatsapp,.menu-toggle){display:none!important}
  .mahan-site .section{padding-block:20px}
  .mahan-site.catalogue-page .catalogue-title{background:#fff;padding-block:0 18px}
  .mahan-site .catalogue-title h1{font-size:26pt;line-height:1.15}
  .mahan-site .catalogue-title>.container>p:not(.eyebrow){font-size:11pt}
  .mahan-site .product-grid{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .mahan-site .product-card{break-inside:avoid;background:#fff}
  .mahan-site .product-image{height:150px;padding:12px}
  .mahan-site .product-image img{max-height:125px}
  .mahan-site .product-content{padding:12px}
  .mahan-site .product-content h3{font-size:14pt}
  .mahan-site .product-content p{font-size:10pt}
  .mahan-site .catalogue-products{padding-block:16px}
  .mahan-site .range-section{background:#fff}
  .mahan-site .range-section h2{font-size:23pt}
  .mahan-site .range-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
  .mahan-site .range-family{break-inside:avoid}
  .mahan-site .range-family h3{font-size:12pt}
  .mahan-site .catalogue-contact{padding-block:20px}
  .mahan-site .catalogue-contact h2{font-size:15pt}
}
