/* Make2Go — OpenCart teması (header / menü / footer / mobil alt çubuk)
   Renkler Shopify sürümüyle aynı: koyu #2C353F, sarı #FFD60A. Bootstrap 3 sayfaları bozulmasın diye sınıflar m2g- / gnav öneklidir. */

:root {
  --m2g-dark: #2C353F;
  --m2g-yellow: #FFD60A;
  --m2g-ink: #111827;
  --m2g-muted: #6b7280;
  --m2g-line: #e5e7eb;
  --m2g-hot: #ff6b35;
  --m2g-font: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

body { font-family: var(--m2g-font); color: var(--m2g-ink); background: #fff; }
h1, h2, h3, h4, h5, h6 { font-family: var(--m2g-font); color: var(--m2g-ink); }
a { color: var(--m2g-ink); }
a:hover, a:focus { color: #000; }

/* Bootstrap ana butonları marka rengine */
.btn-primary { background: var(--m2g-yellow); border-color: #000; color: #000; font-weight: 700; border-radius: 999px; background-image: none; text-shadow: none; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary[disabled] { background: #f5c800; border-color: #000; color: #000; }
.btn-default { border-radius: 999px; }

/* ===== Duyuru şeridi ===== */
.m2g-announce { background: var(--m2g-yellow); color: #000; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 7px 16px; }
.m2g-announce a { color: #000; text-decoration: underline; }

/* ===== Header ===== */
.m2g-header { position: sticky; top: 0; z-index: 1030; background: var(--m2g-dark); color: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / .15); }
.m2g-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1440px; margin: 0 auto; padding: 10px 24px; min-height: 64px; }
.m2g-header__left { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; margin-right: 12px; }
.m2g-header__center { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; min-width: 0; }
.m2g-header__right { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex: 0 0 auto; }

.m2g-logo { display: flex; align-items: center; }
.m2g-logo picture { display: block; }
.m2g-logo img { display: block; width: auto; height: 38px; max-width: none; }

.m2g-burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #fff; padding: 0; align-items: center; justify-content: center; cursor: pointer; }
.m2g-burger:hover { background: rgb(255 255 255 / .14); color: var(--m2g-yellow); }

/* arama hapı */
.m2g-search { position: relative; display: flex; align-items: center; margin: 0 6px 0 0; background: rgb(255 255 255 / .12); border: 1.5px solid rgb(255 255 255 / .22);
  border-radius: 9999px; padding: 0 12px 0 18px; height: 38px; width: 200px; transition: width .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease; }
.m2g-search:focus-within { background: #fff; border-color: var(--m2g-yellow); box-shadow: 0 0 0 2px var(--m2g-yellow); width: 240px; }
.m2g-search__input { width: 100%; border: 0; background: transparent; outline: none !important; box-shadow: none !important; font-family: inherit; font-size: 14px; color: #fff; padding: 0; margin: 0; }
.m2g-search:focus-within .m2g-search__input { color: #000; }
.m2g-search__input::placeholder { color: #CBD5E1; font-weight: 500; }
.m2g-search:focus-within .m2g-search__input::placeholder { color: #64748B; }
.m2g-search__btn { background: none; border: 0; padding: 0; margin-left: 6px; display: flex; align-items: center; color: #fff; cursor: pointer; flex-shrink: 0; transition: transform .15s ease, color .15s ease; }
.m2g-search:focus-within .m2g-search__btn { color: #000; }
.m2g-search__btn:hover { color: var(--m2g-yellow); transform: scale(1.1); }

/* ikon butonları */
.m2g-icon-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: #fff !important; text-decoration: none !important;
  border-radius: 50%; background: transparent; border: 0; cursor: pointer; padding: 0; transition: background .15s ease, color .15s ease, transform .15s ease; }
.m2g-icon-btn:hover, .m2g-icon-btn:focus, .open > .m2g-icon-btn { background: rgb(255 255 255 / .14) !important; color: var(--m2g-yellow) !important; transform: translateY(-1px); outline: none; }
.m2g-badge { position: absolute; top: 0; right: 0; background: var(--m2g-yellow); color: #000; font-size: 10px; font-weight: 900; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; display: flex; align-items: center; justify-content: center; line-height: 1; pointer-events: none; box-shadow: 0 0 0 2px var(--m2g-dark); }
.m2g-badge[data-count="0"] { display: none; }

/* hesap ve sepet açılır menüleri (Bootstrap dropdown) */
.m2g-dd { position: relative; }
.m2g-dd .dropdown-menu { margin-top: 10px; border: 0; border-radius: 12px; box-shadow: 0 18px 48px rgb(0 0 0 / .22); padding: 8px; min-width: 200px; }
.m2g-dd .dropdown-menu > li > a { border-radius: 8px; padding: 8px 12px; color: var(--m2g-ink); font-size: 14px; }
.m2g-dd .dropdown-menu > li > a:hover { background: #fef9c3; }

#cart.m2g-dd { display: block; margin: 0; } /* default stylesheet.css #cart'a 10px alt boşluk veriyor */
#cart .dropdown-menu { width: 360px; max-width: calc(100vw - 24px); padding: 12px; background: #fff; }
#cart .dropdown-menu li > div { min-width: 0; padding: 0; }
#cart .dropdown-menu table { margin-bottom: 10px; }
#cart .dropdown-menu .table > tbody > tr > td { vertical-align: middle; border-color: var(--m2g-line); }
#cart .dropdown-menu .img-thumbnail { width: 54px; border-radius: 8px; }
#cart .m2g-cart__actions { display: flex; gap: 8px; }
#cart .m2g-cart__actions a { flex: 1; text-align: center; padding: 10px; border-radius: 999px; border: 1.5px solid #000; font-weight: 700; font-size: 13px; text-transform: uppercase; text-decoration: none; }
#cart .m2g-cart__actions a.m2g-cart__checkout { background: var(--m2g-yellow); color: #000; }
#cart .m2g-cart__empty { padding: 18px 8px; text-align: center; color: var(--m2g-muted); margin: 0; }
#cart-total { display: none; } /* OpenCart'ın "0 ürün - 0,00 TL" metni; sayaç JS ile rozete taşınır */

/* ===== Ana menü (Shopify header-menu.liquid v2'den) ===== */
.gnav, .gnav-m { --gnav-ink: var(--m2g-ink); --gnav-accent: var(--m2g-yellow); --gnav-hot: var(--m2g-hot); font-family: var(--m2g-font); }
.gnav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.gnav__item { position: static; }
.gnav__item--rel { position: relative; }
.gnav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; color: #fff !important;
  font-size: 13.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; text-decoration: none !important; }
.gnav__link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--gnav-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.gnav__item:hover .gnav__link::after, .gnav__item.is-open .gnav__link::after, .gnav__link:focus-visible::after { transform: scaleX(1); }
.gnav__chev { opacity: .75; transition: transform .25s ease; }
.gnav__item.is-open .gnav__chev { transform: rotate(180deg); }
.gnav__pill { display: inline-block; padding: 2px 6px; border-radius: 4px; background: var(--gnav-hot); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.3; }
.gnav__pill--sale { background: #e5322d; margin-left: 6px; }
.gnav__cta { display: inline-flex; align-items: center; height: 38px; margin-left: 10px; padding: 0 18px; border: 1.5px solid #000; border-radius: 999px; background: var(--gnav-accent);
  color: #000 !important; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; text-decoration: none !important; box-shadow: 0 3px 0 rgb(0 0 0 / .35); transition: transform .15s ease, box-shadow .15s ease; }
.gnav__cta:hover { transform: translateY(-1px); box-shadow: 0 4px 0 rgb(0 0 0 / .35); }

.gnav__panel { position: fixed; z-index: 1000; left: 50%; top: var(--gnav-top, 84px); width: min(1180px, calc(100vw - 32px)); transform: translate(-50%, 8px);
  background: #fff; color: var(--gnav-ink); border-radius: 0 0 16px 16px; box-shadow: 0 24px 60px rgb(0 0 0 / .18); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; text-align: left; }
.gnav__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.gnav__item.is-open > .gnav__panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition: opacity .2s ease, transform .2s ease; }
.gnav__panel--small { position: absolute; left: 0; top: calc(100% + 6px); width: 240px; transform: translateY(8px); border-radius: 12px; padding: 12px 8px; }
.gnav__item.is-open > .gnav__panel--small { transform: none; }
.gnav__inner { display: grid; gap: 32px; padding: 28px 32px 32px; }
.gnav__inner--shop { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); }
.gnav__inner--custom { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.gnav__inner--occ { grid-template-columns: 1fr; }
.gnav__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gnav__h { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--m2g-muted); }
.gnav__h--gap { margin-top: 22px; }
.gnav__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.gnav__a { display: inline-flex; align-items: center; padding: 6px 0; color: var(--gnav-ink) !important; font-size: 15px; text-decoration: none !important;
  background: linear-gradient(var(--gnav-accent), var(--gnav-accent)) no-repeat 0 88% / 0 6px; transition: background-size .25s ease; }
.gnav__a:hover { background-size: 100% 6px; }
.gnav__panel--small .gnav__links { gap: 4px; }
.gnav__panel--small .gnav__a { margin: 0 12px; padding: 5px 0; }

.gnav__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gnav__tile { display: flex; flex-direction: column; gap: 4px; color: var(--gnav-ink) !important; text-decoration: none !important; }
.gnav__tile-img { display: block; aspect-ratio: 1; border-radius: 12px; background: #f5f5f4; overflow: hidden; }
.gnav__tile-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
.gnav__tile:hover .gnav__tile-img img { transform: scale(1.06); }
.gnav__tile-title { margin-top: 6px; font-size: 15px; font-weight: 700; }
.gnav__tile-sub { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--m2g-muted); }
.gnav__tile:hover .gnav__tile-sub { color: var(--gnav-ink); }

.gnav__ptypes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gnav__ptype { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 12px; border: 1px solid var(--m2g-line); border-radius: 12px; color: var(--gnav-ink) !important;
  font-size: 13px; font-weight: 600; text-decoration: none !important; transition: border-color .2s, transform .2s, box-shadow .2s; }
.gnav__ptype span { display: block; width: 100%; aspect-ratio: 1; border-radius: 8px; background: #f5f5f4; overflow: hidden; }
.gnav__ptype img { width: 100%; height: 100%; object-fit: contain; }
.gnav__ptype:hover { border-color: #000; transform: translateY(-2px); box-shadow: 0 8px 18px rgb(0 0 0 / .08); }
.gnav__feature { display: flex; flex-direction: column; gap: 12px; }
.gnav__hero { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 14px; background: var(--m2g-ink); color: #fff !important; text-decoration: none !important; overflow: hidden; }
.gnav__hero::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgb(255 214 10 / .35), transparent 70%); }
.gnav__hero-badge { align-self: flex-start; padding: 3px 8px; border-radius: 999px; background: var(--gnav-hot); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.gnav__hero-title { font-size: 22px; font-weight: 700; }
.gnav__hero-text { font-size: 14px; line-height: 1.45; color: #d1d5db; }
.gnav__hero-cta { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 4px; padding: 9px 14px; border-radius: 999px; background: var(--gnav-accent); color: #000; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.gnav__quick { display: grid; gap: 8px; }
.gnav__q { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--m2g-line); border-radius: 12px; color: var(--gnav-ink) !important; text-decoration: none !important; transition: border-color .2s, background .2s; }
.gnav__q:hover { border-color: #000; background: #fffbe6; }
.gnav__q-ico { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: #f3f4f6; font-size: 16px; }
.gnav__q strong { display: block; font-size: 14px; }
.gnav__q small { display: block; font-size: 12px; color: var(--m2g-muted); }

.gnav__occs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gnav__occ { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--m2g-line); border-radius: 12px; color: var(--gnav-ink) !important; font-size: 14px; font-weight: 600; text-decoration: none !important; transition: border-color .2s, background .2s, transform .2s; }
.gnav__occ:hover { border-color: #000; background: #fffbe6; transform: translateY(-1px); }
.gnav__occ-emoji { display: flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: #f3f4f6; font-size: 18px; }

/* mobil çekmece */
.gnav-m[hidden] { display: none !important; }
.gnav-m { position: fixed; inset: 0; z-index: 2200; }
.gnav-m__overlay { position: absolute; inset: 0; background: rgb(0 0 0 / .45); }
.gnav-m__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(88vw, 400px); background: #fff; color: var(--m2g-ink); overflow-y: auto; padding: 0 18px 24px; animation: gnav-m-in .3s ease; outline: none; font-family: var(--m2g-font); }
@keyframes gnav-m-in { from { transform: translateX(-100%); } }
.gnav-m__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--m2g-line); }
.gnav-m__title { font-size: 18px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.gnav-m__close { width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; }
.gnav-m__cta { display: flex; justify-content: center; margin: 16px 0 8px; height: 46px; }
.gnav-m__group { border-bottom: 1px solid var(--m2g-line); }
.gnav-m__group summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; list-style: none; }
.gnav-m__group summary::-webkit-details-marker { display: none; }
.gnav-m__group summary::after { content: '+'; font-size: 22px; font-weight: 400; }
.gnav-m__group[open] summary::after { content: '\2212'; }
.gnav-m__group > :not(summary) { margin-bottom: 16px; }
.gnav-m__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gnav-m__tiles .gnav__tile-title { font-size: 12px; text-align: center; }
.gnav-m__tiles .gnav__tile-sub { display: none; }
.gnav__occs--m { grid-template-columns: 1fr 1fr; }
.gnav__ptypes--m { grid-template-columns: repeat(4, 1fr); }
.gnav-m__foot { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 18px; font-size: 15px; }
.gnav-m__foot a { color: var(--m2g-ink); font-weight: 600; }

/* ===== Mobil alt çubuk ===== */
.m2g-toolbar { display: none; }

/* ===== İçerik alanı ===== */
#m2g-main { min-height: 40vh; }
.breadcrumb { background: transparent; padding: 16px 0 8px; margin-bottom: 12px; border: 0; font-size: 13px; }
.breadcrumb > li + li::before { color: #9ca3af; }

/* ===== Footer ===== */
.m2g-footer { background: #f8f8f8; color: #000; margin-top: 48px; font-family: var(--m2g-font); }
.m2g-footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 3fr) minmax(0, 1.6fr); gap: 50px; max-width: 1440px; margin: 0 auto; padding: 60px 75px 48px; }
.m2g-footer__brand img { height: 32px; width: auto; }
.m2g-footer__brand p { margin: 20px 0 0; font-size: 15px; line-height: 1.6; color: #232323; }
.m2g-footer__contact { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.m2g-footer__contact a { color: #232323; }
.m2g-footer__menus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.m2g-footer__h { margin: 0 0 14px; font-size: 17px; font-weight: 700; color: #000; }
.m2g-footer__menu summary { list-style: none; cursor: default; }
.m2g-footer__menu summary::-webkit-details-marker { display: none; }
.m2g-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.m2g-footer__links a { display: inline-flex; align-items: center; padding: 6px 0; margin: -6px 0; font-size: 15px; color: #232323; text-decoration: none !important;
  background: linear-gradient(var(--m2g-yellow), var(--m2g-yellow)) no-repeat 0 88% / 0 6px; transition: background-size .25s ease; }
.m2g-footer__links a:hover, .m2g-footer__links a:focus-visible { background-size: 100% 6px; color: #000; }
.m2g-social { display: flex; gap: 12px; margin: 14px 0 32px; }
.m2g-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #232323; color: #fff; border: 1px solid #232323; transition: background .2s, color .2s; }
.m2g-social a:hover { background: transparent; color: #232323; }
.m2g-news p { margin: 0 0 14px; font-size: 15px; color: #232323; }
.m2g-news__form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.m2g-news__input { flex: 1 1 220px; min-width: 0; height: 48px; padding: 0 22px; border: 1.5px solid #000; border-radius: 999px; background: #fff; color: #111; font-size: 14px; }
.m2g-news__input:focus { outline: none; box-shadow: 0 0 0 4px rgb(255 214 10 / .55); }
.m2g-news__btn { flex: 0 0 auto; height: 48px; padding: 0 26px; border: 1.5px solid #000; border-radius: 999px; background: var(--m2g-yellow); color: #000; font-size: 13px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 3px 0 rgb(0 0 0 / .35); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.m2g-news__btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 rgb(0 0 0 / .35); }
.m2g-footer__bottom { border-top: 1px solid #e6e6e6; }
.m2g-footer__bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 8px; max-width: 1440px; margin: 0 auto; padding: 14px 75px 12px; font-size: 14px; }
.m2g-footer__bottom p { margin: 0; }
.m2g-pay { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.m2g-pay li { display: flex; align-items: center; justify-content: center; height: 24px; padding: 0 8px; border: 1px solid #d1d5db; border-radius: 4px; background: #fff; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: #1f2937; }

/* ===== Duyarlı düzen ===== */
@media (max-width: 1379px) { .gnav__item--help { display: none; } .gnav__link { padding: 0 10px; font-size: 13px; } }
@media (max-width: 1259px) { .gnav__item--cta { display: none; } .m2g-search { width: 170px; } .m2g-search:focus-within { width: 210px; } }
@media (max-width: 1119px) { .gnav__item--best { display: none; } .gnav__link { letter-spacing: .04em; } }
@media (max-width: 1100px) {
  .gnav__inner--shop, .gnav__inner--custom { grid-template-columns: 1fr; }
  .gnav__ptypes { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .gnav__occs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .m2g-footer__top { grid-template-columns: 1fr 1fr; padding: 48px 32px 40px; }
  .m2g-footer__menus { grid-column: 1 / -1; order: 3; }
  .m2g-footer__bottom-in { padding: 14px 32px 12px; }
}
@media (max-width: 1024px) { .m2g-logo img { height: 32px; } }

@media (max-width: 899px) {
  .gnav { display: none; }
  .m2g-burger { display: flex; }
  .m2g-header__row { padding: 8px 12px; min-height: 56px; gap: 8px; }
  .m2g-header__center { justify-content: flex-start; }
  .m2g-search, .m2g-header__right .m2g-hide-m { display: none !important; }

  .m2g-toolbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: var(--m2g-dark); color: #fff; border-top: 1px solid rgb(255 255 255 / .08);
    box-shadow: 0 -4px 16px rgb(0 0 0 / .18); padding-bottom: env(safe-area-inset-bottom, 0); }
  .m2g-toolbar a, .m2g-toolbar button { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 58px;
    color: #fff !important; font-size: 11px; font-weight: 600; text-decoration: none !important; background: none; border: 0; padding: 0; }
  .m2g-toolbar a:hover, .m2g-toolbar a:active, .m2g-toolbar button:hover { color: var(--m2g-yellow) !important; }
  .m2g-toolbar .m2g-toolbar__cta span.m2g-toolbar__dot { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-top: -14px; border-radius: 50%;
    background: var(--m2g-yellow); color: #000; border: 2px solid var(--m2g-dark); box-shadow: 0 3px 8px rgb(0 0 0 / .3); }
  .m2g-toolbar .m2g-badge { top: 6px; right: calc(50% - 20px); }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0)); }

  .m2g-msearch { display: block; padding: 0 12px 10px; }
  .m2g-msearch[hidden] { display: none; }
  .m2g-msearch .m2g-search { display: flex !important; width: 100% !important; margin: 0; }
}
@media (min-width: 900px) { .m2g-msearch { display: none !important; } }

@media (max-width: 749px) {
  .m2g-logo img { height: 34px; } /* telefonda <picture> yalnızca "M" işaretini yükler */
  .m2g-footer__top { grid-template-columns: 1fr; gap: 28px; padding: 36px 16px 28px; }
  .m2g-footer__menus { grid-template-columns: 1fr; gap: 0; order: 0; }
  .m2g-footer__menu { border-bottom: 1px solid #e6e6e6; }
  .m2g-footer__menu summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
  .m2g-footer__menu summary::after { content: '+'; font-size: 20px; font-weight: 400; }
  .m2g-footer__menu[open] summary::after { content: '\2212'; }
  .m2g-footer__menu .m2g-footer__h { margin: 0; }
  .m2g-footer__menu .m2g-footer__links { padding-bottom: 16px; }
  .m2g-news__btn { width: 100%; }
  .m2g-footer__bottom-in { flex-direction: column; padding: 12px 16px 10px; gap: 6px; text-align: center; }
  .m2g-pay { flex-wrap: nowrap; justify-content: center; }
  .m2g-announce { font-size: 12px; padding: 6px 12px; }
  .m2g-announce__more { display: none; }
}
@media (prefers-reduced-motion: reduce) { .gnav__panel, .gnav__tile-img img, .gnav__link::after { transition: none !important; } }

/* ===== Ürün sayfası: stüdyo ürünleri ===== */
.m2g-design-cta { margin: 18px 0 8px; padding: 18px; border-radius: 14px; background: #fffbe6; border: 1px solid #fde68a; }
.m2g-design-cta p { margin: 0 0 14px; font-size: 15px; line-height: 1.5; }
.m2g-design-cta__btn { background: var(--m2g-yellow); display: flex; justify-content: center; height: 48px; margin: 0; font-size: 15px; }

/* ===== Ana sayfa ===== */
.m2g-home { overflow: hidden; }
.m2g-eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgb(255 214 10 / .18); color: var(--m2g-yellow); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.m2g-eyebrow--dark { background: #fef3c7; color: #92400e; }
.m2g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border-radius: 999px; border: 1.5px solid #000;
  font-size: 14px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap; }
.m2g-btn:hover { transform: translateY(-2px); }
.m2g-btn--yellow { background: var(--m2g-yellow); color: #000 !important; box-shadow: 0 4px 0 rgb(0 0 0 / .35); }
.m2g-btn--ghost { background: rgb(255 255 255 / .1); color: #fff !important; border-color: rgb(255 255 255 / .7); }
.m2g-btn--ghost:hover { background: rgb(255 255 255 / .2); }
.m2g-btn--dark { background: var(--m2g-ink); color: #fff !important; border-color: var(--m2g-ink); }
.m2g-center { text-align: center; margin-top: 32px; }
.m2g-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--m2g-ink) !important; text-decoration: none !important;
  background: linear-gradient(var(--m2g-yellow), var(--m2g-yellow)) no-repeat 0 88% / 0 6px; transition: background-size .25s ease; }
.m2g-link:hover { background-size: 100% 6px; }

/* giriş */
.m2g-hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: center; background: #111827; color: #fff; }
.m2g-hero { overflow: hidden; background: radial-gradient(circle at 78% 40%, #3b4655 0%, #2C353F 45%, #1b2129 100%); }
.m2g-hero::before { content: ''; position: absolute; right: 8%; top: 12%; width: 46vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(255 214 10 / .35), transparent 65%); }
.m2g-hero__art { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: 42%; max-width: 640px; aspect-ratio: 1.15; pointer-events: none; }
.m2g-hero__m { position: absolute; width: 44%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; border: 4px solid #fff; box-shadow: 0 22px 44px rgb(0 0 0 / .4); }
.m2g-hero__m--1 { left: 0; top: 14%; transform: rotate(-6deg); }
.m2g-hero__m--2 { left: 28%; top: 0; z-index: 2; width: 48%; }
.m2g-hero__m--3 { right: 0; top: 22%; transform: rotate(6deg); z-index: 3; }
.m2g-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(27 33 41 / .85) 0%, rgb(27 33 41 / .35) 42%, transparent 60%); }
.m2g-hero__in { position: relative; width: 100%; max-width: 1440px; margin: 0 auto; padding: 64px 48px; }
.m2g-hero__title { margin: 18px 0 16px; max-width: min(640px, 48vw); color: #fff; font-size: clamp(40px, 6vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.m2g-hero__title span { color: var(--m2g-yellow); }
.m2g-hero__text { max-width: 520px; margin: 0 0 28px; font-size: 18px; line-height: 1.55; color: #e5e7eb; }
.m2g-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* güven şeridi */
.m2g-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1440px; margin: 0 auto; padding: 26px 48px; border-bottom: 1px solid var(--m2g-line); }
.m2g-trust__item { display: flex; align-items: center; gap: 12px; }
.m2g-trust__item > span { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fef9c3; font-size: 20px; }
.m2g-trust__item strong { display: block; font-size: 15px; }
.m2g-trust__item small { display: block; font-size: 13px; color: var(--m2g-muted); }

/* bölüm */
.m2g-sec { max-width: 1440px; margin: 0 auto; padding: 64px 48px; }
.m2g-sec--tint { max-width: none; background: #f7f7f5; }
.m2g-sec--tint > * { max-width: 1344px; margin-left: auto; margin-right: auto; }
.m2g-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.m2g-sec__head--center { justify-content: center; text-align: center; }
.m2g-sec__title { margin: 12px 0 0; font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.01em; }
.m2g-sec__sub { margin: 10px 0 0; max-width: 560px; font-size: 16px; color: var(--m2g-muted); }
.m2g-sec__head--center .m2g-sec__sub { margin-left: auto; margin-right: auto; }

/* ürün tipleri */
.m2g-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.m2g-type { display: flex; flex-direction: column; gap: 4px; color: var(--m2g-ink) !important; text-decoration: none !important; }
.m2g-type__img { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #f5f5f4; }
.m2g-type__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.m2g-type:hover .m2g-type__img img { transform: scale(1.05); }
.m2g-type__name { margin-top: 10px; font-size: 18px; font-weight: 700; }
.m2g-type__sub { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--m2g-muted); }
.m2g-type:hover .m2g-type__sub { color: var(--m2g-ink); }

/* hazır tasarımlar */
.m2g-scroller__nav { display: flex; gap: 8px; }
.m2g-round { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--m2g-ink); background: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.m2g-round:hover { background: var(--m2g-yellow); }
.m2g-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.m2g-card { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--m2g-line); color: var(--m2g-ink) !important; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
.m2g-card:hover { box-shadow: 0 14px 34px rgb(0 0 0 / .1); transform: translateY(-3px); }
.m2g-card__img { display: block; aspect-ratio: 4 / 5; background: #f5f5f4; overflow: hidden; }
.m2g-card__img img { width: 100%; height: 100%; object-fit: cover; }
.m2g-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; }
.m2g-card__name { font-size: 16px; font-weight: 700; }
.m2g-card__price { font-size: 15px; font-weight: 700; color: #b45309; }
.m2g-card__cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

/* nasıl çalışır */
.m2g-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.m2g-steps li { position: relative; padding: 30px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--m2g-line); }
.m2g-steps__n { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 50%; background: var(--m2g-yellow); border: 1.5px solid #000; font-size: 20px; font-weight: 800; }
.m2g-steps strong { display: block; font-size: 20px; margin-bottom: 6px; }
.m2g-steps p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--m2g-muted); }

/* özel günler */
.m2g-occ { background: var(--m2g-dark); color: #fff; }
.m2g-occ__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: center; max-width: 1440px; margin: 0 auto; padding: 64px 48px; }
.m2g-occ h2 { margin: 14px 0 10px; color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.m2g-occ p { margin: 0; font-size: 16px; line-height: 1.55; color: #d1d5db; }
.m2g-occ__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.m2g-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .18); color: #fff !important; font-size: 15px; font-weight: 600; text-decoration: none !important; transition: background .2s, color .2s, transform .2s; }
.m2g-chip:hover { background: var(--m2g-yellow); color: #000 !important; transform: translateY(-2px); }

/* kayan galeri */
.m2g-moments { max-width: none; padding-left: 0; padding-right: 0; }
.m2g-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.m2g-marquee__track { display: flex; gap: 16px; width: max-content; animation: m2g-marquee 60s linear infinite; }
.m2g-marquee:hover .m2g-marquee__track { animation-play-state: paused; }
.m2g-marquee__item { flex: none; width: 240px; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #f5f5f4; }
.m2g-marquee__item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes m2g-marquee { to { transform: translateX(-50%); } }

/* kapanış */
.m2g-final { margin: 0 48px 16px; padding: 60px 24px; border-radius: 24px; background: var(--m2g-yellow); text-align: center; }
.m2g-final h2 { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; }
.m2g-final p { margin: 0 0 24px; font-size: 17px; }
.m2g-final .m2g-btn--yellow { background: var(--m2g-ink); color: #fff !important; border-color: var(--m2g-ink); box-shadow: 0 4px 0 rgb(0 0 0 / .25); }
.m2g-home + .m2g-footer, #m2g-main:has(.m2g-home) + .m2g-footer { margin-top: 32px; }

@media (max-width: 1100px) {
  .m2g-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 22px 32px; }
  .m2g-sec, .m2g-occ__in, .m2g-hero__in { padding-left: 32px; padding-right: 32px; }
  .m2g-scroller { grid-auto-columns: calc((100% - 40px) / 3); }
  .m2g-occ__in { grid-template-columns: 1fr; }
  .m2g-final { margin: 0 32px 16px; }
  .m2g-hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .m2g-hero::before { right: -20%; top: 2%; width: 110vw; }
  .m2g-hero__art { position: relative; right: auto; top: auto; transform: none; width: min(560px, calc(100% - 32px)); margin: 28px auto 0; }
  .m2g-hero__shade { display: none; }
  .m2g-hero__title { max-width: none; }
}
@media (max-width: 749px) {
  .m2g-hero__m { border-width: 3px; border-radius: 14px; }
  .m2g-hero__in { padding: 28px 16px 36px; }
  .m2g-hero__title { max-width: none; }
  .m2g-hero__text { font-size: 16px; }
  .m2g-hero__ctas .m2g-btn { flex: 1 1 100%; }
  .m2g-trust { gap: 14px; padding: 20px 16px; }
  .m2g-trust__item > span { width: 38px; height: 38px; font-size: 17px; }
  .m2g-trust__item strong { font-size: 13px; }
  .m2g-trust__item small { font-size: 12px; }
  .m2g-sec, .m2g-occ__in { padding: 44px 16px; }
  .m2g-sec__head { align-items: flex-start; flex-direction: column; }
  .m2g-sec__head--center { align-items: center; }
  .m2g-types { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .m2g-type__name { font-size: 16px; }
  .m2g-type__sub { font-size: 12px; }
  .m2g-scroller__nav { display: none; }
  .m2g-scroller { grid-auto-columns: 72%; gap: 14px; }
  .m2g-steps { grid-template-columns: 1fr; gap: 14px; }
  .m2g-marquee__item { width: 170px; }
  .m2g-final { margin: 0 16px 8px; padding: 44px 18px; }
}
@media (prefers-reduced-motion: reduce) { .m2g-marquee__track { animation: none; } }
