/* Madalyon Contemporary Living — homepage (scoped)
   Deployed via API as public ir.attachment. Do not rely on theme bundles. */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Inter:wght@400;500;600&display=swap");

body.madalyon-home header#top,
body.madalyon-home header.o_header_standard,
body.madalyon-home .o_main_header,
body.madalyon-home #wrapwrap > header,
body.madalyon-home footer#bottom,
body.madalyon-home footer.o_footer,
body.madalyon-home .o_footer,
body.madalyon-home .o_footer_copyright,
body.madalyon-home #wrapwrap > footer,
body.madalyon-home .o_whatsapp_channel_button,
body.madalyon-home .o_livechat_button,
body.madalyon-home #o_livechat_button,
body.madalyon-home .o_scroll_top,
body:has(.madalyon-site) header#top,
body:has(.madalyon-site) header.o_header_standard,
body:has(.madalyon-site) .o_main_header,
body:has(.madalyon-site) #wrapwrap > header,
body:has(.madalyon-site) footer#bottom,
body:has(.madalyon-site) footer.o_footer,
body:has(.madalyon-site) .o_footer,
body:has(.madalyon-site) .o_footer_copyright,
body:has(.madalyon-site) #wrapwrap > footer,
body:has(.madalyon-site) .o_whatsapp_channel_button,
body:has(.madalyon-site) .o_livechat_button,
body:has(.madalyon-site) #o_livechat_button,
body:has(.madalyon-site) .o_scroll_top {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.madalyon-home #wrapwrap,
body.madalyon-home main,
body.madalyon-home #wrap,
body:has(.madalyon-site) #wrapwrap,
body:has(.madalyon-site) main,
body:has(.madalyon-site) #wrap {
  padding: 0 !important;
  margin: 0 !important;
  background: #f5f2ec;
}

/* CSS variables for chrome pages outside .madalyon-site (shop/about/pdp) */
body.madalyon-home {
  --m-bg: #f5f2ec;
  --m-bg-alt: #faf8f4;
  --m-white: #ffffff;
  --m-dark: #171512;
  --m-dark-2: #24211d;
  --m-text: #1b1916;
  --m-muted: #77716a;
  --m-light: #f3efe9;
  --m-border: rgba(27, 25, 22, 0.14);
  --m-serif: "Cormorant Garamond", "Times New Roman", serif;
  --m-sans: Inter, system-ui, sans-serif;
  --m-container: 1360px;
  --m-pad: clamp(20px, 4vw, 56px);
}

.madalyon-site {
  --m-bg: #f5f2ec;
  --m-bg-alt: #faf8f4;
  --m-white: #ffffff;
  --m-dark: #171512;
  --m-dark-2: #24211d;
  --m-text: #1b1916;
  --m-muted: #77716a;
  --m-light: #f3efe9;
  --m-border: rgba(27, 25, 22, 0.14);
  --m-serif: "Cormorant Garamond", "Times New Roman", serif;
  --m-sans: Inter, system-ui, sans-serif;
  --m-container: 1360px;
  --m-pad: clamp(20px, 4vw, 56px);
  --m-section: clamp(64px, 10vw, 150px);

  color: var(--m-text);
  background: var(--m-bg);
  font-family: var(--m-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.madalyon-site a {
  color: inherit;
  text-decoration: none;
}

.madalyon-site img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-container {
  width: min(100% - (var(--m-pad) * 2), var(--m-container));
  margin-inline: auto;
}

.m-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--m-muted);
  margin-bottom: 1.25rem;
}

.m-h1 {
  font-family: var(--m-serif);
  font-weight: 400;
  font-size: clamp(46px, 6vw, 84px);
  line-height: 1.02;
  margin: 0 0 1.5rem;
}

.m-h2 {
  font-family: var(--m-serif);
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1.05;
  margin: 0 0 1.25rem;
}

.m-h3 {
  font-family: var(--m-serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  margin: 0;
}

.m-body {
  max-width: 420px;
  color: var(--m-muted);
  font-size: 15px;
  margin: 0 0 1.75rem;
}

.m-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.25rem;
  border: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.m-cta:hover {
  background: var(--m-dark);
  color: var(--m-light);
}

.m-cta:hover .m-cta-arrow {
  transform: translateX(4px);
}

.m-cta-arrow {
  display: inline-block;
  transition: transform 0.35s ease;
}

.m-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  min-height: 44px;
  color: #1b1916 !important;
  border-bottom-color: rgba(27, 25, 22, 0.55) !important;
}

.m-cta-link:hover .m-cta-arrow {
  transform: translateX(4px);
}

/* Light page sections: kill Odoo theme teal/blue link colors */
.madalyon-site .m-cta,
.madalyon-site .m-cta-outline,
.madalyon-intro .m-cta-link,
.madalyon-details .m-cta-link,
.madalyon-catalogue .m-cta-link,
.madalyon-catalogue .m-cta,
.madalyon-collections__more .m-cta {
  color: #1b1916 !important;
}

.madalyon-intro .m-cta-link,
.madalyon-details .m-cta-link,
.madalyon-catalogue .m-cta-link {
  border-bottom-color: rgba(27, 25, 22, 0.55) !important;
}

.madalyon-intro .m-h2,
.madalyon-details .m-h2,
.madalyon-catalogue .m-h2,
.madalyon-spaces .m-eyebrow,
.madalyon-collections .m-eyebrow,
.madalyon-details .m-eyebrow,
.madalyon-catalogue .m-eyebrow {
  color: #1b1916 !important;
}

.madalyon-intro .m-body,
.madalyon-details .m-body,
.madalyon-catalogue .m-body {
  color: #756e67 !important;
}

.m-cta-ghost {
  border-color: rgba(243, 239, 233, 0.92);
  color: #f3efe9;
  background: rgba(15, 13, 11, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.m-cta-ghost:hover {
  background: var(--m-light);
  color: var(--m-dark);
  border-color: var(--m-light);
}

/* Placeholders until real photography lands */
.m-ph {
  background:
    linear-gradient(145deg, rgba(27, 25, 22, 0.08), rgba(27, 25, 22, 0.22)),
    #d8d2c8;
  width: 100%;
  height: 100%;
}

.m-ph--dark {
  background:
    linear-gradient(145deg, rgba(15, 13, 11, 0.55), rgba(15, 13, 11, 0.2)),
    #3a342e;
}

.m-ph--warm {
  background:
    linear-gradient(160deg, rgba(90, 70, 50, 0.35), rgba(20, 16, 12, 0.55)),
    #8a7a68;
}

.m-media {
  overflow: hidden;
  position: relative;
}

.m-media img,
.m-media video,
.m-media .m-ph {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.m-media:hover img,
.m-media:hover video,
.m-media:hover .m-ph {
  transform: scale(1.035);
}

/* —— Header —— */
.m-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 86px;
  color: #f3efe9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  background: linear-gradient(
    180deg,
    rgba(15, 13, 11, 0.42) 0%,
    rgba(15, 13, 11, 0.18) 65%,
    transparent 100%
  );
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease,
    text-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}

/* Beat Odoo theme link colors on transparent hero header */
.m-header:not(.is-solid) .m-logo,
.m-header:not(.is-solid) .m-nav__link,
.m-header:not(.is-solid) .m-lang,
.m-header:not(.is-solid) .m-lang button,
.m-header:not(.is-solid) .m-menu-btn,
.m-header:not(.is-solid) .m-header__right {
  color: #f3efe9 !important;
}

.m-header.is-solid {
  position: fixed;
  background: rgba(245, 242, 236, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--m-text);
  text-shadow: none;
  border-bottom-color: var(--m-border);
}

.m-header.is-solid .m-logo,
.m-header.is-solid .m-nav__link,
.m-header.is-solid .m-lang,
.m-header.is-solid .m-lang button,
.m-header.is-solid .m-menu-btn,
.m-header.is-solid .m-header__right {
  color: var(--m-text) !important;
}

.m-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

/* Image logos — dişi (on-dark) / erkek (on-light) */
.m-logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  line-height: 0;
  text-decoration: none;
}

.m-logo__img {
  display: block !important;
  height: 58px !important;
  width: auto !important;
  max-width: min(280px, 52vw) !important;
  max-height: 58px !important;
  object-fit: contain;
  object-position: left center;
}

.m-logo__img--on-light {
  display: none !important;
}

.m-logo__img--on-dark {
  display: block !important;
}

.m-header.is-solid .m-logo__img--on-dark {
  display: none !important;
}

.m-header.is-solid .m-logo__img--on-light {
  display: block !important;
}

/* Footer is always dark → dişi (on-dark) only */
.madalyon-footer .m-logo__img--on-dark {
  display: block !important;
  height: 62px !important;
  max-height: 62px !important;
  max-width: 300px !important;
}

.madalyon-footer .m-logo__img--on-light {
  display: none !important;
}

@media (max-width: 767px) {
  .m-logo__img {
    height: 44px !important;
    max-height: 44px !important;
    max-width: 200px !important;
  }
}

.m-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-items: center;
}

.m-nav__link {
  opacity: 0.95;
}

.m-nav__link:hover,
.m-nav__item.is-open > .m-nav__link {
  opacity: 1;
}

.m-nav__item--mega {
  position: static;
}

.m-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(245, 242, 236, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--m-border);
  color: var(--m-text);
  padding: 28px 0 32px;
  z-index: 60;
}

.m-mega[hidden] {
  display: none !important;
}

.m-mega__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}

.m-mega__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  align-content: center;
}

.m-mega__list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--m-serif);
  font-size: 28px;
  letter-spacing: 0.02em;
  text-transform: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.m-mega__list a span {
  font-family: var(--m-sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--m-muted);
  align-self: center;
}

.m-mega__list a:hover {
  border-bottom-color: var(--m-border);
}

.m-mega__preview {
  aspect-ratio: 2 / 1;
  min-height: 220px;
}

/* Mobile drawer */
.m-drawer {
  position: fixed;
  inset: 86px 0 0 0;
  z-index: 55;
  background: rgba(245, 242, 236, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 32px var(--m-pad);
}

.m-drawer[hidden] {
  display: none !important;
}

.m-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.m-drawer__nav a {
  font-family: var(--m-serif);
  font-size: 32px;
  line-height: 1.2;
}

body.m-drawer-open {
  overflow: hidden;
}

.m-header.is-solid .m-mega {
  background: rgba(245, 242, 236, 0.98);
}

/* Media slots: when <img>/<video> injected, hide placeholder */
.m-media > img,
.m-media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-media > video {
  display: block;
  border: 0;
  background: #1a1714;
}

.m-media:has(> img) > .m-ph,
.m-media:has(> video) > .m-ph {
  display: none;
}

/* Top scrim: header band readability across full width */
.madalyon-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(15, 13, 11, 0.58) 0%,
    rgba(15, 13, 11, 0.32) 16%,
    rgba(15, 13, 11, 0.1) 36%,
    transparent 52%
  );
}

/* Left vignette: hero copy + CTA */
.madalyon-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(15, 13, 11, 0.66) 0%,
    rgba(15, 13, 11, 0.42) 28%,
    rgba(15, 13, 11, 0.16) 52%,
    transparent 78%
  );
}

.madalyon-hero__bg > img {
  z-index: 0;
  object-position: 52% 45%;
}

.madalyon-final__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(15, 13, 11, 0.62) 0%,
    rgba(15, 13, 11, 0.28) 42%,
    rgba(15, 13, 11, 0.08) 72%,
    transparent 88%
  );
}

.m-header__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.m-lang button {
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  opacity: 0.55;
}

.m-lang button.is-active {
  opacity: 1;
}

.m-menu-btn {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.m-burger {
  width: 18px;
  height: 10px;
  position: relative;
}

.m-burger i,
.m-burger i::before,
.m-burger i::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
}

.m-burger i {
  top: 50%;
}

.m-burger i::before {
  top: -4px;
}

.m-burger i::after {
  top: 4px;
}

/* —— Hero —— */
.madalyon-hero {
  position: relative;
  min-height: min(92vh, 980px);
  min-height: 830px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.madalyon-hero__bg {
  position: absolute;
  inset: 0;
}

.madalyon-hero__bg .m-ph {
  background:
    linear-gradient(90deg, rgba(15, 13, 11, 0.58) 0%, rgba(15, 13, 11, 0.25) 38%, rgba(15, 13, 11, 0.04) 70%),
    linear-gradient(160deg, #2a2420, #6b5a4a 45%, #1a1612);
}

.madalyon-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(48px, 8vh, 96px);
  max-width: 560px;
  margin-right: auto;
  margin-left: clamp(12px, 2.5vw, 40px);
  text-align: left;
  color: #ffffff !important;
  transform: translateY(18px);
}

.madalyon-hero .m-eyebrow,
.madalyon-hero .m-h1,
.madalyon-hero .madalyon-hero__lead,
.madalyon-hero .m-cta-ghost {
  color: #ffffff !important;
}

.madalyon-hero .m-eyebrow {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.madalyon-hero .m-h1 {
  font-family: var(--m-serif) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.madalyon-hero__lead {
  margin: -0.5rem 0 1.75rem;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.madalyon-hero .m-cta-ghost {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(15, 13, 11, 0.28);
}

/* —— Trust bar (below hero) —— */
.madalyon-trust-bar {
  background: #2c2723;
  color: rgba(243, 239, 233, 0.88);
  padding: 28px 0;
}

.madalyon-trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 28px;
  align-items: center;
}

.madalyon-trust-bar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
}

.madalyon-trust-bar__icon {
  flex: 0 0 auto;
  color: rgba(243, 239, 233, 0.9);
  display: inline-flex;
}

.madalyon-trust-bar__item strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f3efe9;
  margin-bottom: 2px;
}

.madalyon-trust-bar__item span {
  font-size: 13px;
  color: rgba(243, 239, 233, 0.65);
}

/* —— Product rail (tabs below trust bar) —— */
.madalyon-product-rail {
  padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 7vw, 88px);
  background: var(--m-bg-alt);
  border-bottom: 1px solid var(--m-border);
}

.madalyon-product-rail__head {
  margin-bottom: clamp(40px, 5vw, 56px);
}

.madalyon-product-rail__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(28px, 4.5vw, 64px);
  width: 100%;
  border-bottom: 1px solid rgba(27, 25, 22, 0.12);
}

.madalyon-product-rail__tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 4px solid transparent;
  margin-bottom: -1px;
  padding: 8px 4px 20px;
  width: auto;
  flex: 0 0 auto;
  text-align: center;
  font-family: var(--m-sans);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #9a948c;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  line-height: 1.25;
  white-space: nowrap;
}

.madalyon-product-rail__tab:hover {
  color: var(--m-text);
}

.madalyon-product-rail__tab.is-active {
  color: #1a2744;
  border-bottom-color: #1a2744;
  font-weight: 600;
}

.madalyon-product-rail__panel[hidden] {
  display: none !important;
}

.madalyon-product-rail__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}

.m-product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.m-product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ebe6de;
}

.m-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.m-product-card:hover .m-product-card__media img {
  transform: scale(1.04);
}

.m-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: #f5f2ec;
}

.m-product-badge--sale {
  background: #5c4033;
}

.m-product-badge--best {
  background: #2c2723;
}

.m-product-badge--new {
  background: #171512;
}

.m-product-card__title {
  margin: 0;
  font-family: var(--m-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--m-text);
  line-height: 1.35;
}

.m-product-card__price {
  margin: 0;
  font-family: var(--m-sans);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--m-dark);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

.madalyon-product-rail__footer {
  margin-top: clamp(32px, 4.5vw, 48px);
  text-align: center;
}

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

@media (max-width: 640px) {
  .madalyon-product-rail__tabs {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .madalyon-product-rail__tab {
    font-size: 20px;
    padding: 14px 8px 12px;
    border-bottom-width: 3px;
    width: 100%;
    text-align: center;
  }

  .madalyon-product-rail__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .m-product-card {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }

  .m-product-card__price {
    font-size: 20px;
    font-weight: 700;
  }
}

/* —— Intro —— */
.madalyon-intro {
  padding: var(--m-section) 0;
}

.madalyon-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
}

.madalyon-intro__media {
  aspect-ratio: auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.madalyon-intro__media > video {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  max-width: 100%;
  min-height: clamp(320px, 42vw, 560px);
  display: block;
  object-fit: cover;
  background: transparent;
}

/* —— SWAM —— */
.collection-swam {
  position: relative;
  min-height: 680px;
  color: #fff;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--m-dark);
}

.collection-swam__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px) var(--m-pad);
}

.collection-swam__media {
  min-height: 680px;
}

.collection-swam .m-eyebrow {
  color: rgba(243, 239, 233, 0.65) !important;
}

.collection-swam .m-h2,
.collection-swam .m-cta-link,
.collection-swam a {
  color: #ffffff !important;
}

.collection-swam .m-h2 {
  font-size: clamp(56px, 7vw, 88px);
  margin-bottom: 0.5rem;
}

.collection-swam__sub {
  color: rgba(243, 239, 233, 0.7) !important;
  opacity: 1;
  margin-bottom: 1rem;
  font-size: 14px;
}

.collection-swam__lead {
  color: rgba(243, 239, 233, 0.82) !important;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.55;
  max-width: 34ch;
  margin: 0 0 2rem;
}

/* —— Collections grid —— */
.madalyon-collections {
  padding: var(--m-section) 0;
}

.madalyon-collections__label {
  margin-bottom: 2rem;
}

.m-coll-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.m-coll-card {
  position: relative;
  display: block;
  aspect-ratio: 1.62 / 1;
  color: #fff;
  min-height: 320px;
}

.m-coll-card > img {
  z-index: 0;
}

.m-coll-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 13, 11, 0.12) 28%, rgba(15, 13, 11, 0.78) 100%);
}

.m-coll-card__bg {
  position: absolute;
  inset: 0;
}

.m-coll-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 13, 11, 0.15) 30%, rgba(15, 13, 11, 0.72) 100%);
}

.m-coll-card:has(.m-coll-card__bg)::after {
  display: none;
}

.m-coll-card__body {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
}

.m-coll-card__body p {
  margin: 0.25rem 0 0.75rem;
  font-size: 13px;
  opacity: 0.8;
}

/* Beat Odoo theme link/heading blues on image cards */
.m-coll-card,
.m-coll-card .m-h3,
.m-coll-card .m-cta-link,
.m-coll-card a,
.m-coll-card span {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.m-coll-card__body p {
  color: rgba(255, 255, 255, 0.88) !important;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.m-coll-card .m-cta-link {
  border-bottom-color: rgba(255, 255, 255, 0.85) !important;
}

.madalyon-collections__more {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.m-cta-outline,
.madalyon-collections__more .m-cta,
.madalyon-collections__more .m-cta-outline {
  background: transparent !important;
  color: #1b1916 !important;
  border: 1px solid #1b1916 !important;
}

.m-cta-outline:hover,
.madalyon-collections__more .m-cta:hover,
.madalyon-collections__more .m-cta-outline:hover {
  background: #1b1916 !important;
  color: #f3efe9 !important;
  border-color: #1b1916 !important;
}

/* —— Details —— */
.madalyon-details {
  padding: var(--m-section) 0;
}

.madalyon-details__grid {
  display: grid;
  grid-template-columns: 0.28fr 0.72fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.m-detail-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.m-detail-strip .m-media {
  aspect-ratio: 2 / 3;
}

/* —— Türkiye —— */
.madalyon-turkiye {
  background: #171512 !important;
  background: var(--m-dark, #171512) !important;
  color: #f3efe9 !important;
  padding: clamp(80px, 9vw, 120px) 0;
}

.madalyon-turkiye__grid {
  display: grid;
  grid-template-columns: 0.32fr 0.68fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.madalyon-turkiye .m-h2,
.madalyon-turkiye .m-h3,
.madalyon-turkiye .m-cta-link,
.madalyon-turkiye a {
  color: #ffffff !important;
}

.madalyon-turkiye .m-eyebrow,
.madalyon-turkiye .m-body,
.madalyon-turkiye p {
  color: rgba(243, 239, 233, 0.78) !important;
}

.madalyon-turkiye .m-cta-link {
  border-bottom-color: rgba(243, 239, 233, 0.75) !important;
}

.m-mfg-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.m-mfg-strip .m-media {
  aspect-ratio: 4 / 3;
}

/* —— Spaces —— */
.madalyon-spaces {
  padding: var(--m-section) 0;
}

.m-spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 2rem;
}

.m-space-card {
  position: relative;
  display: block;
  aspect-ratio: 1.47 / 1;
  color: #fff;
  min-height: 280px;
}

.m-space-card,
.m-space-card .m-h3,
.m-space-card .m-cta-link,
.m-space-card a,
.m-space-card span {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.m-space-card .m-cta-link {
  border-bottom-color: rgba(255, 255, 255, 0.85) !important;
}

.m-space-card__bg {
  position: absolute;
  inset: 0;
}

.m-space-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 11, 0.45);
}

.m-space-card__body {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

/* —— Catalogue —— */
.madalyon-catalogue {
  padding: var(--m-section) 0;
}

.madalyon-catalogue__grid {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.madalyon-catalogue__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.madalyon-catalogue__media {
  aspect-ratio: 1.7 / 1;
}

/* —— Final CTA —— */
.madalyon-final {
  position: relative;
  min-height: min(72vh, 720px);
  min-height: 560px;
  color: #ffffff !important;
  display: flex;
  align-items: flex-end;
}

.madalyon-final__bg {
  position: absolute;
  inset: 0;
}

.madalyon-final__bg > img {
  z-index: 0;
  object-position: 55% 45%;
}

.madalyon-final__bg .m-ph {
  background:
    linear-gradient(90deg, rgba(15, 13, 11, 0.55) 0%, rgba(15, 13, 11, 0.15) 55%, transparent 80%),
    linear-gradient(200deg, #4a4036, #1c1814);
}

.madalyon-final__content {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(56px, 8vh, 96px);
  max-width: 640px;
  color: #ffffff !important;
}

.madalyon-final .m-h2,
.madalyon-final .m-cta,
.madalyon-final .m-cta-ghost,
.madalyon-final a {
  color: #ffffff !important;
}

.madalyon-final .m-h2 {
  font-family: var(--m-serif) !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.madalyon-final .m-cta-ghost {
  border-color: rgba(255, 255, 255, 0.85) !important;
  background: rgba(15, 13, 11, 0.25);
}

.madalyon-final .m-cta-ghost:hover {
  background: #ffffff !important;
  color: #1b1916 !important;
  border-color: #ffffff !important;
}

/* —— Footer —— */
.madalyon-footer {
  background: #24211d;
  background: var(--m-dark-2, #24211d);
  color: rgba(243, 239, 233, 0.82) !important;
  padding: 70px 0 30px;
  font-size: 13px;
}

.madalyon-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr) auto;
  gap: 2rem;
  margin-bottom: 3rem;
}

.madalyon-footer .m-logo,
.madalyon-footer .m-logo span {
  color: #f3efe9 !important;
  margin-bottom: 0.5rem;
}

.madalyon-footer h4 {
  font-family: var(--m-sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f3efe9 !important;
  margin: 0 0 1rem;
  font-weight: 500;
}

.madalyon-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.madalyon-footer li {
  margin-bottom: 0.55rem;
}

.madalyon-footer a {
  color: rgba(243, 239, 233, 0.78) !important;
}

.madalyon-footer a:hover {
  color: #ffffff !important;
}

.m-social {
  display: flex;
  gap: 0.75rem;
}

.m-social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(243, 239, 233, 0.35) !important;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0;
  color: #f3efe9 !important;
}

.madalyon-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(243, 239, 233, 0.7) !important;
}

.madalyon-footer__bottom a {
  color: rgba(243, 239, 233, 0.7) !important;
}

.madalyon-footer__legal {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.madalyon-footer .madalyon_nsl_powered {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-size: 12px;
  line-height: 1.4;
}

.madalyon-footer .madalyon_nsl_label {
  color: rgba(243, 239, 233, 0.55) !important;
}

.madalyon-footer .madalyon_nsl_link {
  color: #c9a88a !important;
  font-weight: 600;
  text-decoration: none !important;
}

.madalyon-footer .madalyon_nsl_link:hover {
  color: #e0c4a8 !important;
  text-decoration: underline !important;
}

/* Reveal */
.m-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.m-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .m-reveal,
  .m-media img,
  .m-media video,
  .m-media .m-ph,
  .m-cta-arrow {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .m-nav {
    display: none;
  }

  .madalyon-trust-bar__grid {
    grid-template-columns: 1fr 1fr;
  }

  .madalyon-intro__grid,
  .collection-swam,
  .madalyon-details__grid,
  .madalyon-turkiye__grid,
  .madalyon-catalogue__grid {
    grid-template-columns: 1fr;
  }

  .collection-swam__media {
    min-height: 420px;
  }

  .m-detail-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .madalyon-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .madalyon-hero {
    min-height: 740px;
  }

  .madalyon-hero__content {
    max-width: 100%;
    padding-bottom: 56px;
  }

  .madalyon-trust-bar__grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
  }

  .m-coll-grid,
  .m-spaces-grid,
  .m-mfg-strip {
    grid-template-columns: 1fr;
  }

  .madalyon-footer__grid {
    grid-template-columns: 1fr;
  }

  .m-header__inner {
    grid-template-columns: 1fr auto;
  }

  .m-header__right .m-lang {
    display: none;
  }
}


/* PDP sticky aside: do not clip when body also has madalyon-home */
body.madalyon-home.madalyon-pdp #wrapwrap,
body.madalyon-home.madalyon-pdp main,
body.madalyon-home.madalyon-pdp #wrap {
  overflow: visible !important;
}
