/* MANYA V84 production polish: Apple-inspired, clean, no-overlap responsive layer */
:root {
  --manya-green: #0b3d2e;
  --manya-gold: #c99412;
  --manya-ink: #1d1d1f;
  --manya-muted: #6e6e73;
  --manya-soft: #f5f5f7;
  --manya-card: #ffffff;
  --manya-line: rgba(0, 0, 0, 0.075);
  --manya-shadow: 0 24px 80px rgba(0, 0, 0, 0.1);
}
html {
  scroll-padding-top: 92px;
}
body {
  background: #fff;
  color: var(--manya-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.site-main {
  isolation: isolate;
}
.container {
  width: min(1200px, calc(100% - 36px));
}
.section {
  position: relative;
}
.manya-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.86) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.055) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.035);
}
.nav-shell {
  height: 76px !important;
  gap: 18px !important;
}
.manya-brand img,
.custom-logo {
  height: 56px !important;
  max-width: 190px !important;
  object-fit: contain !important;
}
.manya-menu a {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  padding: 11px 13px !important;
  letter-spacing: -0.01em;
}
.nav-actions {
  gap: 7px !important;
}
.quote-btn {
  box-shadow: 0 10px 24px rgba(11, 61, 46, 0.18);
}
.manya-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 76px;
  z-index: 9998;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}
.manya-mega.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mega-panel {
  display: none;
  width: min(980px, calc(100% - 40px));
  margin: auto;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 40px;
  padding: 34px 0 38px;
}
.mega-panel.is-active {
  display: grid;
}
.mega-panel span {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 900;
  color: var(--manya-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mega-panel a {
  display: block;
  margin: 8px 0;
  text-decoration: none;
  color: var(--manya-ink);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.035em;
}
.mega-panel a:hover {
  color: var(--manya-green);
}
.mega-panel p {
  margin: 8px 0 0;
  color: var(--manya-muted);
  line-height: 1.55;
  font-size: 15px;
}
.apple-hero {
  min-height: calc(100vh - 76px) !important;
  padding: 86px 0 58px !important;
  background: radial-gradient(
    circle at 50% 0%,
    #fff 0,
    #f7f8f6 52%,
    #eef5ee 100%
  ) !important;
}
.hero-title {
  max-width: 1080px;
  margin-inline: auto;
}
.hero-sub {
  max-width: 820px;
}
.hero-media {
  border-radius: 46px !important;
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.story-strip {
  margin-top: 30px !important;
}
.story-mini {
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.055);
}
.product-row,
.product-grid,
.feature-grid,
.team-grid,
.blog-grid,
.value-grid {
  align-items: stretch !important;
}
.product-card,
.feature-card,
.apple-card,
.team-card,
.blog-card,
.manya-shop-card,
.service-tile,
.pg-card,
.pg-accessory,
.pg-reco {
  border: 1px solid var(--manya-line) !important;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.075) !important;
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card:hover,
.feature-card:hover,
.manya-shop-card:hover,
.pg-card:hover {
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.13) !important;
}
.product-card,
.manya-shop-card {
  min-height: unset !important;
}
.product-img,
.shop-img {
  height: 310px !important;
  padding: 26px !important;
}
.product-body,
.shop-body {
  min-height: 230px !important;
}
.product-body h3,
.feature-body h3,
.shop-body h2,
.pg-content h3 {
  overflow-wrap: anywhere;
}
.brand-logo,
.pg-logo {
  background: #fff;
  border-radius: 14px;
  padding: 5px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.look-card {
  border: 1px solid var(--manya-line);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.1) !important;
}
.manya-3d-carousel {
  position: relative;
  overflow: hidden;
  padding: 16px 0 60px;
}
.carousel-track {
  display: flex;
  gap: 28px;
  will-change: transform;
}
.carousel-panel {
  flex: 0 0 min(420px, 82vw);
  background: #fff;
  border: 1px solid var(--manya-line);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.09);
}
.panel-img {
  height: 310px;
  background: #f7f8f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
}
.panel-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.panel-body {
  padding: 28px;
}
.panel-body h3 {
  margin: 12px 0 10px;
  font-size: 31px;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--manya-green);
}
.panel-body p {
  margin: 0;
  color: var(--manya-muted);
  font-size: 17px;
  line-height: 1.45;
}
.manya-carousel-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 99px;
  overflow: hidden;
}
.manya-carousel-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0.18);
  background: var(--manya-green);
  border-radius: 99px;
}
.manya-carousel-ui {
  position: absolute;
  right: 0;
  bottom: 36px;
  display: flex;
  gap: 10px;
}
.manya-carousel-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--manya-green);
}
.pg-hero {
  min-height: 84vh !important;
}
.pg-hero h1 {
  max-width: 920px;
}
.pg-sticky {
  top: 76px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.045);
}
.pg-grid {
  grid-template-columns: 1fr !important;
}
.pg-card {
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr) !important;
  min-height: 480px !important;
}
.pg-image {
  min-height: 420px !important;
}
.pg-content {
  justify-content: center;
}
.pg-table td:not(:first-child) {
  white-space: nowrap;
}
.pg-accessories {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
.footer-logo {
  height: 82px !important;
  width: auto !important;
}
.manya-footer a {
  color: #fff;
}
.manya-footer a:hover {
  color: #ffe5a3;
}
.map {
  min-height: 520px;
}
.page-wipe,
.manya-page-transition {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.manya-page-transition.is-active {
  opacity: 1;
  pointer-events: auto;
}
.manya-loaded .manya-page-transition {
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 1100px) {
  .nav-actions .icon-btn {
    display: none !important;
  }
  .mega-panel {
    grid-template-columns: 1fr 1fr;
  }
  .product-row,
  .product-grid,
  .feature-grid,
  .team-grid,
  .blog-grid,
  .value-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .pg-card {
    grid-template-columns: 1fr !important;
  }
  .pg-accessories {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 782px) {
  .nav-shell {
    height: 72px !important;
  }
  .manya-brand img,
  .custom-logo {
    height: 50px !important;
  }
  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .main-nav {
    display: none !important;
    position: absolute !important;
    top: 76px !important;
    left: 14px !important;
    right: 14px !important;
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 24px !important;
    padding: 14px !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18) !important;
  }
  .main-nav.open,
  .main-nav.is-open {
    display: block !important;
  }
  .manya-menu {
    display: grid !important;
    gap: 6px !important;
  }
  .manya-menu a {
    padding: 14px 16px !important;
    background: #f6f7f6 !important;
  }
  .quote-btn {
    display: inline-flex !important;
    padding: 10px 13px !important;
  }
  .manya-mega {
    display: none !important;
  }
  .apple-hero {
    padding-top: 66px !important;
    min-height: auto !important;
  }
  .hero-actions {
    margin-bottom: 28px;
  }
  .hero-media {
    border-radius: 28px !important;
  }
  .story-strip,
  .product-row,
  .product-grid,
  .feature-grid,
  .team-grid,
  .blog-grid,
  .value-grid,
  .woocommerce ul.products,
  .pg-grid,
  .pg-reco-grid,
  .pg-accessories,
  .pg-journey {
    grid-template-columns: 1fr !important;
    width: min(94vw, 540px) !important;
    margin-inline: auto !important;
  }
  .section {
    padding: 68px 0 !important;
  }
  .product-img,
  .shop-img,
  .feature-img,
  .blog-img,
  .team-img {
    height: 250px !important;
  }
  .product-body,
  .feature-body,
  .shop-body {
    padding: 24px !important;
    min-height: unset !important;
  }
  .look-card,
  .look-card.reverse {
    padding: 18px !important;
    border-radius: 30px !important;
  }
  .look-card img {
    height: 270px !important;
    border-radius: 24px !important;
  }
  .pg-sticky {
    top: 72px !important;
    justify-content: flex-start;
  }
  .pg-hero {
    min-height: auto !important;
    padding: 118px 0 68px !important;
  }
  .pg-content {
    padding: 24px !important;
  }
  .pg-image {
    min-height: 280px !important;
  }
  .pg-table {
    min-width: 680px;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
  .map {
    height: 420px !important;
    min-height: 420px;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .manya-carousel-ui {
    display: none;
  }
  .carousel-panel {
    flex-basis: 82vw;
  }
}
@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 1200px);
  }
  .hero-title {
    font-size: clamp(42px, 14vw, 58px) !important;
  }
  .page-title,
  .section-title {
    font-size: clamp(36px, 12vw, 52px) !important;
  }
  .hero-sub,
  .section-sub {
    font-size: 17px !important;
  }
  .nav-actions {
    display: none !important;
  }
  .product-img,
  .shop-img {
    height: 225px !important;
  }
  .brand-logo {
    height: 42px !important;
  }
  .pg-logo {
    height: 42px !important;
  }
  .pg-hero h1 {
    font-size: 42px !important;
  }
  .pg-hero p {
    font-size: 16px !important;
  }
  .pg-category {
    font-size: 32px !important;
  }
  .footer-logo {
    height: 70px !important;
  }
}

/* MANYA V86 CMS layer polish */
.cms-product-row .product-card {
  min-height: 100%;
}
.cms-price {
  font-weight: 800;
  color: #c8993a;
  margin: 10px 0 0;
  letter-spacing: -0.02em;
}
.cms-reference .ref-card {
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}
.cms-reference .ref-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
}
.faq-list {
  display: grid;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}
details.apple-card summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
  list-style: none;
}
details.apple-card summary::-webkit-details-marker {
  display: none;
}
details.apple-card summary:after {
  content: "+";
  float: right;
  font-size: 24px;
  color: #c8993a;
}
details.apple-card[open] summary:after {
  content: "–";
}
details.apple-card p {
  margin-top: 16px;
  color: #6f6a60;
}
.cms-hero .hero-title br {
  display: block;
}
@media (max-width: 720px) {
  .cms-hero .hero-title {
    font-size: 48px;
  }
  .cms-reference .ref-cover h1 {
    font-size: 46px;
  }
  .cms-reference .ref-spec {
    display: block;
  }
  .cms-reference .ref-spec strong {
    display: block;
    text-align: left;
    margin-top: 4px;
  }
  /* =========================
   PRODUCT GUIDE FINAL COLOR FIX
   Must stay at bottom of CSS
   ========================= */

body.page-product-guide .ref-cover h1,
body.page-product-guide .ref-cover h1 *,
body[class*="product-guide"] .ref-cover h1,
body[class*="product-guide"] .ref-cover h1 *,
.manya-reference .ref-cover h1,
.manya-reference .ref-cover h1 * {
  color: #0b5d46 !important;
  -webkit-text-fill-color: #0b5d46 !important;
}

body.page-product-guide .ref-cover h1 em,
body.page-product-guide .ref-cover h1 em *,
body[class*="product-guide"] .ref-cover h1 em,
body[class*="product-guide"] .ref-cover h1 em *,
.manya-reference .ref-cover h1 em,
.manya-reference .ref-cover h1 em * {
  color: #d4a928 !important;
  -webkit-text-fill-color: #d4a928 !important;
}

body.page-product-guide .ref-cover p,
body.page-product-guide .ref-cover p *,
body[class*="product-guide"] .ref-cover p,
body[class*="product-guide"] .ref-cover p *,
.manya-reference .ref-cover p,
.manya-reference .ref-cover p * {
  color: #35564b !important;
  -webkit-text-fill-color: #35564b !important;
}
/* DESKTOP PRODUCT GUIDE COLOR FIX */
@media (min-width: 783px) {
  html body.page-product-guide article.manya-content
  .manya-reference.cms-reference.v111-product-guide.v112-product-guide
  section.ref-cover div.ref-container h1,
  html body.page-product-guide article.manya-content
  .manya-reference.cms-reference.v111-product-guide.v112-product-guide
  section.ref-cover div.ref-container h1 * {
    color: #0b5d46 !important;
    -webkit-text-fill-color: #0b5d46 !important;
  }

  html body.page-product-guide article.manya-content
  .manya-reference.cms-reference.v111-product-guide.v112-product-guide
  section.ref-cover div.ref-container h1 em,
  html body.page-product-guide article.manya-content
  .manya-reference.cms-reference.v111-product-guide.v112-product-guide
  section.ref-cover div.ref-container h1 em * {
    color: #d4a928 !important;
    -webkit-text-fill-color: #d4a928 !important;
  }

  html body.page-product-guide article.manya-content
  .manya-reference.cms-reference.v111-product-guide.v112-product-guide
  section.ref-cover div.ref-container p,
  html body.page-product-guide article.manya-content
  .manya-reference.cms-reference.v111-product-guide.v112-product-guide
  section.ref-cover div.ref-container p * {
    color: #35564b !important;
    -webkit-text-fill-color: #35564b !important;
  }
}
}
