﻿/* =========================================================
   Ä°nce Uyum â€” mobil vitrin (referans: etiketli kapak + set kartlarÄ±)
   YalnÄ±zca mobilde devreye girer; masaÃ¼stÃ¼ dÃ¼zeni korunur.
   ========================================================= */

/* Mobilde gÃ¶rÃ¼necek, masaÃ¼stÃ¼nde gizli parÃ§alar */
.m-social,
.gallery-callouts { display: none; }
.bundle-save,
.bundle-free { display: none; }
.bundle-picked { display: none; }
.hero-benefits .hb-title { display: inline; }
.hero-benefits small { display: none; }
.hb-rail { position: relative; }
.hb-rail::after { display: none; }
.hero-copy { min-width: 0; }

/* MasaÃ¼stÃ¼nde rozet, fiyatÄ±n Ã¼stÃ¼ne binmesin */
.bundle-tag { right: auto; left: 46px; }

@media (min-width: 981px) {
  .hero-grid {
    grid-template-columns: 1.02fr .98fr;
    grid-template-rows: auto auto;
    row-gap: 4px;
  }
  .gallery-wrap { grid-column: 1; grid-row: 1 / span 2; }
  .hero-copy { grid-column: 2; grid-row: 1; max-width: 566px; padding-top: 4px; }
  .buy-box { grid-column: 2; grid-row: 2; }
  .hero-copy .rating-row { margin-bottom: 6px; }
}

@media (max-width: 980px) {
  .hero-copy {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }
}

/* =========================== MOBÄ°L =========================== */
@media (max-width: 760px) {

  /* ---- Ãœst ÅŸerit ---- */
  .topbar { background: #2b1d15; }
  .topbar-inner { padding: 9px 0 9px 18px; }
  .topbar-group { gap: 22px; padding-right: 22px; }
  .topbar-item { font-size: 9.5px; letter-spacing: .09em; color: #f3e9de; }

  body { background: #fbf7f3; }
  .hero { padding: 10px 0 26px; }
  .hero-grid { gap: 16px; }
  .container { padding: 0 16px; }

  /* ---- Kapak: tek parÃ§a gÃ¶rsel ---- */
  .gallery-wrap { padding-left: 0; }
  .gallery-top,
  .gallery-foot,
  .stage-caption,
  .stage-vertical { display: none; }

  .product-gallery {
    position: relative;
    padding: 8px;
    border: 0;
    border-radius: 22px;
    background: #e9ddd4;
    box-shadow: 0 18px 40px -28px rgba(43, 29, 21, .55);
    overflow: hidden;
  }

  .gallery-media {
    width: calc(100% - 50px);
    margin: 0;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }
  .gallery-main { object-fit: contain; object-position: center; }
  .gallery-arrow { display: none; }

  /* Renk sayacı */
  .gallery-meta {
    position: absolute;
    top: 18px;
    right: 68px;
    z-index: 6;
    padding: 0;
  }
  .gallery-meta > div { display: none; }
  .gallery-index {
    padding: 4px 9px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 253, 250, .92);
    color: #2b1d15;
    font-size: 10px;
    box-shadow: 0 6px 14px -10px rgba(0, 0, 0, .5);
  }

  /* Görselden ayrı dikey renk rayı */
  .gallery-thumbs {
    position: absolute;
    z-index: 7;
    top: 8px;
    right: 8px;
    bottom: 8px;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 2px;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-mask-image: linear-gradient(#000 0 92%, transparent 100%);
    mask-image: linear-gradient(#000 0 92%, transparent 100%);
    background: rgba(255, 253, 250, .4);
    border-radius: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .gallery-thumbs::-webkit-scrollbar { display: none; }
  .gallery-thumb {
    flex: none;
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(43, 29, 21, .14);
    border-radius: 7px;
    opacity: 1;
    background: #fff;
    box-shadow: 0 3px 8px -5px rgba(0, 0, 0, .45);
  }
  .gallery-thumb.is-active {
    border: 2px solid #7e3f4d;
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(126, 63, 77, .18);
  }

  /* ---- BaÅŸlÄ±k bloÄŸu ---- */
  .hero-copy { padding: 4px 2px 0; }
  .hero-copy .eyebrow { display: none; }
  .hero-title {
    font-family: var(--font-body);
    font-size: clamp(27px, 8.3vw, 33px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.015em;
    text-transform: uppercase;
    color: #14100f;
  }
  .hero-title em { font-style: normal; color: #14100f; }
  .hero-sub {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #6b625c;
  }
  .rating-row { display: none; }

  /* Sosyal kanÄ±t hapÄ± */
  .m-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 8px 14px 8px 10px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 12px 26px -22px rgba(43, 29, 21, .7);
  }
  .m-social-faces { display: flex; }
  .m-social-faces i {
    width: 27px;
    height: 27px;
    margin-left: -9px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    font-style: normal;
    letter-spacing: 0;
  }
  .m-social-faces i:first-child { margin-left: 0; background: linear-gradient(135deg, #e8b9a8, #a85d6b); }
  .m-social-faces i:nth-child(2) { background: linear-gradient(135deg, #cfd9c6, #7d8c72); }
  .m-social-faces i:nth-child(3) { background: linear-gradient(135deg, #eadfce, #a07a55); }
  .m-social-body { line-height: 1.2; }
  .m-social-stars { display: block; font-size: 11px; color: #e0a417; letter-spacing: 1px; }
  .m-social-stars b { color: #14100f; font-size: 12px; letter-spacing: 0; }
  .m-social-body small { display: block; margin-top: 1px; color: #7b726b; font-size: 10px; }

  /* ---- Set seÃ§imi ---- */
  .buy-box { display: flex; flex-direction: column; }
  .buy-box .price-block { display: none; }
  .buy-box .buy-form { order: 1; }
  .buy-box .hb-rail { order: 2; }
  .buy-box .hero-benefits { order: 2; }
  .buy-box .trust-grid { order: 3; }

  .buy-form > .field-head:first-child { margin-top: 6px; }
  .field-head { margin-top: 16px; align-items: baseline; }
  .field-head .field-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #14100f;
  }
  .field-head .field-hint { display: none; }

  .bundle-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 9px;
    align-items: stretch;
  }
  .bundle-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-height: 138px;
    padding: 16px 9px 10px;
    border: 0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 24px -20px rgba(43, 29, 21, .55);
    text-align: left;
    cursor: pointer;
  }
  .bundle-option.is-active {
    background: #fff;
    border: 0;
    box-shadow: 0 10px 24px -20px rgba(43, 29, 21, .55), inset 0 0 0 2px #1fa447;
  }
  .bundle-option .radio-dot { display: none; }
  .bundle-option .bundle-info { display: block; }
  .bundle-option .bundle-info strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    color: #14100f;
  }
  .bundle-option .bundle-info small {
    display: block;
    margin-top: 2px;
    font-size: 9px;
    line-height: 1.25;
    color: #82786f;
  }
  .bundle-option .bundle-price {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: 8px;
    text-align: left;
  }
  .bundle-option .bundle-price strong {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #14100f;
  }
  .bundle-option .bundle-price small s {
    font-size: 10px;
    color: #a49a91;
  }
  .bundle-save {
    display: block;
    margin-top: 4px;
    color: #1a8f4c;
    font-size: 10px;
    font-weight: 800;
  }
  .bundle-free {
    display: block;
    color: #1a8f4c;
    font-size: 9.5px;
    font-weight: 700;
  }
  .bundle-picked {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 17px;
    margin-top: 6px;
    border-radius: 5px;
    background: #e8f7ee;
    color: #14743a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .03em;
    visibility: hidden;
  }
  .bundle-option.is-active .bundle-picked { visibility: visible; }

  /* Ortadaki kart: koyu, Ã¶ne Ã§Ä±kan */
  .bundle-option:nth-child(2),
  .bundle-option:nth-child(2).is-active {
    z-index: 2;
    margin-top: -7px;
    padding-top: 26px;
    min-height: 152px;
    background: #4a3627;
    box-shadow: 0 20px 34px -20px rgba(74, 54, 39, .85);
  }
  .bundle-option:nth-child(2) .bundle-info strong,
  .bundle-option:nth-child(2) .bundle-price strong { color: #fff; }
  .bundle-option:nth-child(2) .bundle-info small { color: rgba(255, 255, 255, .68); }
  .bundle-option:nth-child(2) .bundle-price small s { color: rgba(255, 255, 255, .55); }
  .bundle-option:nth-child(2) .bundle-save,
  .bundle-option:nth-child(2) .bundle-free { color: #82e3a9; }
  .bundle-option:nth-child(2) .bundle-picked {
    background: rgba(126, 226, 168, .16);
    color: #9df0bf;
  }
  .bundle-option:nth-child(2).is-active {
    box-shadow: 0 20px 34px -20px rgba(74, 54, 39, .85), inset 0 0 0 2px #7ee2a8;
  }
  .bundle-option:nth-child(2).is-active .bundle-picked {
    background: #7ee2a8;
    color: #12341f;
  }

  .bundle-tag {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 5px 4px;
    background: #f4ede3;
    color: #4a3627;
    border-radius: 15px 15px 0 0;
    font-size: 7.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ---- Ã–zellik kartlarÄ± (yatay kaydÄ±rma) ---- */
  .hero-benefits {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    padding: 2px 2px 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .hero-benefits::-webkit-scrollbar { display: none; }
  .hero-benefits li {
    flex: 0 0 62%;
    min-width: 205px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 16px 17px;
    background: #fff;
    border-radius: 16px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    color: #2b211a;
    box-shadow: 0 14px 30px -24px rgba(43, 29, 21, .65);
    scroll-snap-align: start;
  }
  .hero-benefits .icon {
    width: 32px;
    height: 32px;
    margin: 0;
    color: #7a5c49;
  }
  .hero-benefits .hb-title {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
  }
  .hero-benefits small {
    display: block;
    margin-top: 1px;
    color: #7b726b;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.45;
  }

  /* KaydÄ±rÄ±labilirlik ipucu: saÄŸ kenar yumuÅŸak geÃ§iÅŸ */
  .hb-rail::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 6px;
    width: 34px;
    background: linear-gradient(90deg, rgba(251, 247, 243, 0), #fbf7f3 82%);
    pointer-events: none;
  }

  /* Beden: kilo aralÄ±ÄŸÄ± daha belirgin */
  .size-btn strong { font-size: 15px; line-height: 1.1; }
  .size-btn small {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    color: #6b5f57;
  }
  .size-btn.is-active small { color: #f0dfd5; }

  /* ---- Renk / beden ---- */
  .swatch-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .swatch { padding: 8px 6px; font-size: 10px; border-radius: 10px; gap: 6px; }
  .size-row { gap: 6px; }
  .size-btn { min-height: 48px; border-radius: 10px; }
  .size-row.size-row-compact { gap: 4px; }
  .size-row-compact .size-btn { min-height: 36px; border-radius: 8px; }
  .size-row-compact .size-btn strong { font-size: 11px; }

  /* ---- YeÅŸil CTA ---- */
  .btn-order {
    min-height: 62px;
    margin-top: 16px;
    padding: 12px 18px;
    border-radius: 14px;
    background: #1fa447;
    background-image: none;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .005em;
    box-shadow: 0 16px 28px -16px rgba(31, 164, 71, .8);
    animation: ctaPulse 2.8s ease-in-out infinite;
  }
  .btn-order > span { position: relative; z-index: 1; }
  .btn-order:hover { background: #1b8f3f; background-image: none; animation-play-state: paused; }
  .btn-order-price {
    padding-left: 12px;
    border-left-color: rgba(255, 255, 255, .35);
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 800;
  }
  @keyframes ctaPulse {
    0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 16px 28px -16px rgba(31, 164, 71, .8); }
    50% { transform: translateY(-2px) scale(1.008); box-shadow: 0 22px 36px -14px rgba(31, 164, 71, .95); }
  }
  .cta-meta { margin-top: 8px; font-size: 10.5px; }
  .daily-offer { margin-bottom: 14px; padding: 12px 13px; border-radius: 16px; }
  .daily-offer-title { font-size: 20px; }
  .daily-offer-trust { font-size: 8.5px; gap: 4px 10px; }
  .daily-offer-timer { margin-top: 9px; padding-top: 9px; }
  .timer-box { min-width: 43px; padding: 5px 3px 4px; }
  .timer-box strong { font-size: 17px; }

  .trust-grid {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(43, 29, 21, .08);
  }

  /* ---- Alt sabit CTA: yeÅŸil ---- */
  .sticky-cta {
    background: #1fa447;
    border-top: 0;
    box-shadow: 0 -14px 30px -20px rgba(31, 164, 71, .9);
  }
  .sticky-price strong { color: #fff; font-family: var(--font-body); font-weight: 800; }
  .sticky-price small { color: rgba(255, 255, 255, .8); }
  .sticky-cta .btn {
    background: #fff;
    background-image: none;
    color: #14743a;
    font-weight: 800;
  }
}

@media (max-width: 360px) {
  .topbar-item { font-size: 9px; letter-spacing: .06em; }
  .bundle-option { padding-left: 8px; padding-right: 8px; }
  .bundle-option .bundle-info strong { font-size: 11px; }
  .bundle-option .bundle-price strong { font-size: 16px; }
  .btn-order { gap: 4px; padding: 11px 12px; font-size: 15px; }
  .btn-order span { white-space: nowrap; }
  .btn-order-price { padding-left: 8px; font-size: 15px; white-space: nowrap; }
  .final-actions .btn-lg { padding: 14px 16px; font-size: 17px; }
}


/* ---------- Beden seçimi: rozet kaldırıldı, kilo aralıkları ---------- */
.size-btn.is-active::after,
.size-row-compact .size-btn.is-active::after,
.price-card-featured .size-row-compact .size-btn.is-active::after {
  content: none !important;
  display: none !important;
}
.size-row-compact .size-btn {
  min-height: 42px;
  padding: 4px 1px;
}
.size-row-compact .size-btn small {
  display: block;
  margin-top: 1px;
  font-size: 7.5px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0;
  color: #555;
  white-space: nowrap;
}
.price-card-featured .size-row-compact .size-btn small { color: #ccc; }
@media (max-width: 760px) {
  .size-row-compact .size-btn { min-height: 42px; }
  .size-row-compact .size-btn small { font-size: 7.5px; }
}

/* Galeri: ana görsel biraz küçük, renkler daha büyük */
@media (max-width: 760px) {
  .gallery-media { width: calc(100% - 66px); }
  .gallery-thumbs { width: 58px; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 360px) {
  .gallery-media { width: calc(100% - 58px); }
  .gallery-thumbs { width: 50px; }
}

/* Son temizlik: setler altı boşluk */
.bundles-section { padding-bottom: 38px; }


/* ---------- Hediye vurgusu + otomatik fayda slider'ı + temizlik ---------- */
.compare-scroll-hint { display: none !important; }
.card-qty .card-gift {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--blush);
  color: var(--rose-deep);
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.4;
  text-transform: uppercase;
  vertical-align: 3px;
  white-space: nowrap;
}
.price-card-featured .card-qty .card-gift {
  background: var(--gold-light);
  border-color: transparent;
  color: var(--plum-deep);
}
.editorial-photo > img {
  aspect-ratio: 1 / 1.02;
  object-position: center 30%;
}

/* Hediye rozeti daha vurgulu */
.card-qty .card-gift { background: #f4c6cf; border-color: #f4c6cf; color: #000; font-size: 8.5px; }
.price-card-featured .card-qty .card-gift { background: var(--gold-light); border-color: var(--gold-light); color: var(--plum-deep); }

/* Hediye rozeti: koyu vurgu */
.card-qty .card-gift { background: var(--plum); border-color: var(--plum); color: var(--ivory); font-size: 9px; padding: 2px 8px; }
.price-card-featured .card-qty .card-gift { background: var(--gold-light); border-color: var(--gold-light); color: var(--plum-deep); }

/* Set kartı kampanya etiketi */
.price-card .card-label { display: inline-block; width: max-content; margin-bottom: 0; padding: 4px 10px; background: var(--blush); border: 1px solid var(--line); border-radius: 999px; color: var(--rose-deep); font-size: 9.5px; font-weight: 800; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.price-card-featured .card-label { background: var(--gold-light); border-color: transparent; color: var(--plum-deep); }
.price-card .card-label + .card-dots { margin-top: 10px; }

/* Üst bar iki kenar geçişi */
.topbar-inner { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); }
.topbar-track { align-items: center; will-change: transform; backface-visibility: hidden; }

/* Mobil sipariş penceresi: kapat butonu içerikle çakışmasın */
@media (max-width: 760px) {
  .modal-panel {
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
  }
  .modal-close {
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    right: 12px;
    width: 44px;
    height: 44px;
  }
}

/* Masaüstü: adım etiketi kapat butonunun altına girmesin */
@media (min-width: 761px) {
  .order-head { padding-right: 46px; }
}