/* ETICARO V8 · Hassas mobil, erisilebilirlik (WCAG 2.2 AA) ve etkilesim kurallari */
:root { color-scheme: light; }
[hidden] { display: none !important; }
.tab-panel:not(.active),
.tab-panel:not(.active) form { display: none !important; }
button, input, select, textarea { font: inherit; }
button:not(:disabled) { cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; }
.slider-dots button[aria-disabled="true"].active,
.thumbs button[aria-disabled="true"].active,
.variant-choices .choice[aria-disabled="true"].active,
.tab-buttons button[aria-disabled="true"].active { opacity: 1; cursor: default; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange, #c94100);
  outline-offset: 2px;
}
.skip-link {
  position: fixed;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: #16191d;
  color: #fff;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
}
.skip-link:focus { left: 12px; top: 12px; }
.logo, .footer-logo { min-height: 44px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumbs a,
.product-rating,
.form-help a,
.terms-check a,
.auth-switch a,
.back-link,
.footer-business a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.breadcrumbs a,
.topbar nav a,
.section-head > a,
.home-departments-head > a,
.footer-grid > div > a,
.footer-business a {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
}
.footer-grid > div > a { display: flex; margin: 2px 0; padding: 2px 0; }
.slider-dots {
  gap: 2px;
  padding: 3px 6px;
}
.slider-dots button {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
}
.slider-dots button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ca3af;
  transition: width .2s ease, background-color .2s ease;
}
.slider-dots button.active::after {
  width: 16px;
  border-radius: 999px;
  background: #1f2937;
}
.home-page .hero-copy { padding-inline: clamp(58px, 5vw, 78px); }
.home-page .category-panel a { white-space: nowrap; font-size: 12.5px; padding: 0 12px; }
.mini-banner.beauty:after { background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .86) 54%, rgba(255, 255, 255, .28) 100%); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.price strong, .price del { white-space: nowrap; }
.container, .header-row, .navline-inner, .news-inner, .news-inner form, .catalog-layout, .checkout-layout, .footer-grid, .product-detail, .home-page .hero-shell, .home-page .hero-grid { min-width: 0; }
.container > *, .news-inner > *, .news-inner form > *, .footer-grid > *, .catalog-layout > *, .checkout-layout > *, .header-row > * { min-width: 0; }
input, textarea, select { max-width: 100%; }
.news-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.news-inner form { grid-template-columns: minmax(0, 1fr) minmax(0, 120px); width: 100%; }
.news-inner input[type=email] { min-width: 0; width: 100%; }
.news-inner button { min-width: 0; }
.news-inner label { grid-column: 1 / -1; overflow-wrap: anywhere; }
.news-inner label input { vertical-align: middle; }
.navline-inner { position: relative; }
.category-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: min(340px, 100%);
  max-height: min(70vh, 540px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e2e5e8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  z-index: 85;
}
.category-dropdown.open { display: grid; }
.category-dropdown a { display: block; padding: 12px 18px; border-bottom: 1px solid #f0f1f2; font-size: 13px; font-weight: 600; }
.category-dropdown a:hover, .category-dropdown a:focus-visible { background: #fff7f2; color: var(--orange, #c94100); }
.filter-overlay { display: none; }
.filter-close { display: none; }
.brand-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  gap: 8px;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line, #e5e8eb);
  border-radius: 9px;
  padding: 16px 12px;
  color: #16191d;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.brand-card:hover { border-color: var(--orange); box-shadow: 0 6px 18px rgba(20, 26, 33, .06); }
.brand-card img { height: 115px; width: 100%; max-width: 200px; object-fit: contain; }
.brand-card strong { font-size: 14px; }
.brand-card small { color: var(--muted, #595e64); font-size: 11px; }
.choice-row .choice:disabled { opacity: .5; }
.form-help { font-size: 12px; color: #8e3513; line-height: 1.4; }
.checkout-link.disabled { opacity: .55; cursor: not-allowed; }
.empty-state h1 { font-size: 22px; }
.slider-toggle {
  position: absolute;
  z-index: 5;
  right: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .92);
  color: #16191d;
  display: grid;
  place-items: center;
}
.gallery-zoom-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
}
.mobile-sticky-buy { display: none; }

@media (max-width: 1020px) {
  .header-row { grid-template-columns: 160px minmax(0, 1fr); }
  .mainnav { min-width: 0; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .mainnav::-webkit-scrollbar { display: none; }
  .catalog-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px !important; }
  input:not([type=hidden]):not([type=checkbox]):not([type=radio]), select { min-height: 44px; min-width: 44px; }
  input[type="checkbox"], input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 12px;
    margin: -10px 2px -10px -10px;
    background: transparent;
    border: 0;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
  }
  input[type="checkbox"]::before, input[type="radio"]::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #9ca3af;
    background: #fff;
    display: block;
    transition: border-color .15s ease, background-color .15s ease;
  }
  input[type="checkbox"]::before { border-radius: 5px; }
  input[type="radio"]::before { border-radius: 50%; }
  input[type="checkbox"]:checked::before {
    background: var(--orange, #c94100);
    border-color: var(--orange, #c94100);
  }
  input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2.2px 2.2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
  }
  input[type="radio"]:checked::before { border-color: var(--orange, #c94100); }
  input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--orange, #c94100);
  }
  .filter-group label { display: flex; align-items: center; gap: 6px; min-height: 44px; margin: 2px 0; }
  .terms-check { flex-wrap: wrap; align-items: center; gap: 4px 8px; }
  .shipping-option { grid-template-columns: 38px 1fr auto; }
  .billing-tab { min-height: 44px; }
  .btn, .primary-btn, .ghost-btn, .primary-large, .add-cart, .secondary-actions button,
  .card-actions button, .heart, .compare-btn, .slider-arrow, .slider-toggle,
  .gallery-zoom-btn, .modal-close, .choice, .tab-buttons button,
  .qty-control button, .filter-toggle, .catalog-tools select,
  .catalog-pagination a, .catalog-pagination button,
  .category-dropdown a, .footer-grid > div > a, .footer-bottom button,
  .news-inner button, .coupon-box button, .payment-tabs button, .cart-item-copy button,
  .logo, .footer-logo, .allcats, .home-page .allcats,
  .mainnav a, .topbar nav a, .home-departments-head > a, .section-head > a,
  .mini-banner a, .pcopy h3 a, .blog-card footer a, .blog-card h3 a,
  .breadcrumbs a, .brand-pills a, .account-nav > a, .sepivo-account nav a, .sepivo-account nav button,
  .footer-business a, .back-link, .product-rating, .consent-line a, .terms-check a,
  .form-between a, .auth-switch a, .empty-state a, .sepivo-order a {
    min-height: 44px;
    min-width: 44px;
  }
  .mainnav a, .topbar nav a, .home-departments-head > a, .section-head > a,
  .mini-banner a, .pcopy h3 a, .blog-card footer a, .blog-card h3 a,
  .breadcrumbs a, .brand-pills a, .footer-business a, .back-link,
  .product-rating, .consent-line a, .terms-check a, .form-between a,
  .auth-switch a, .sepivo-order a, .cart-item-copy button {
    display: inline-flex;
    align-items: center;
  }
  .mainnav, .home-page .mainnav {
    display: flex;
    gap: 14px;
    padding: 6px 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mainnav::-webkit-scrollbar, .home-page .mainnav::-webkit-scrollbar { display: none; }
  .mainnav a, .home-page .mainnav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0 6px;
  }
  .footer-grid > div > a { display: flex; align-items: center; width: 100%; }
  .slider-dots { gap: 0; padding: 2px 6px; }
  .slider-dots button { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .card-actions button, .heart, .compare-btn, .slider-arrow, .slider-toggle,
  .gallery-zoom-btn, .modal-close, .qty-control button {
    min-width: 44px;
    min-height: 44px;
  }
  .qty-control { height: 46px; min-width: 136px; grid-template-columns: 44px minmax(44px, 1fr) 44px; }
  .qty-control input { min-width: 44px; min-height: 44px; }
  .buy-row { grid-template-columns: 136px minmax(0, 1fr); }
  .cart-item { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
  .cart-item > .qty-control { grid-column: 1 / -1; justify-self: start; }
  .cart-item > strong { grid-column: 1 / -1; text-align: right; }
  .news-inner { grid-template-columns: minmax(0, 1fr); gap: 13px; padding: 18px 0; }
  .news-inner form { grid-template-columns: minmax(0, 1fr) minmax(0, 112px); gap: 7px; }
  .news-inner label { font-size: 11px; line-height: 1.4; }
  .header-row, .home-page .header-row { grid-template-columns: minmax(0, 1fr); }
  .search { min-width: 0; max-width: 100%; }
  .search input { min-width: 0; }
  .navline-inner, .home-page .navline-inner { min-width: 0; }
  .category-dropdown { left: 0; width: 100%; }
  .filter-box { z-index: 101; width: min(360px, 88vw); max-width: calc(100vw - 35px); }
  .filter-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .36); z-index: 99; border: 0; padding: 0; }
  .filter-overlay.open { display: block; }
  .filter-close { display: inline-flex !important; align-items: center; justify-content: center; font-size: 18px !important; margin-left: auto; padding: 4px 10px !important; min-width: 44px; }
  body.filter-lock { overflow: hidden; }
  .filter-title { gap: 10px; }
  .catalog-head { min-width: 0; flex-wrap: wrap; gap: 12px; }
  .catalog-tools { min-width: 0; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-item-copy, .checkout-card, .field, .form-row, .terms-check { min-width: 0; }
  .cart-item-copy span, .cart-item-copy b { overflow-wrap: anywhere; }
  .product-detail { grid-template-columns: minmax(0, 1fr); }
  .product-gallery { min-width: 0; }
  .cookie-banner { left: 12px; right: 12px; bottom: 68px; max-height: min(45vh, 290px); overflow: auto; padding: 12px; }
  .cookie-actions { flex-wrap: wrap; white-space: normal; }
  .cookie-actions button { flex: 1 1 auto; min-width: 75px; }
  .modal-backdrop { padding: 12px; }
  .modal-card { max-height: calc(100vh - 30px); overflow: auto; }
  .tab-buttons { overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
  .mobile-sticky-buy {
    position: fixed;
    display: flex;
    left: 0;
    right: 0;
    bottom: 60px;
    z-index: 84;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 10px 14px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .08);
  }
  .mobile-sticky-buy div { display: flex; flex-direction: column; }
  .mobile-sticky-buy small { font-size: 11px; color: var(--muted); }
  .mobile-sticky-buy strong { font-size: 17px; color: var(--orange); font-variant-numeric: tabular-nums; }
  body:has(.mobile-sticky-buy) { padding-bottom: 132px; }
}

@media (max-width: 480px) {
  .news-inner form { grid-template-columns: minmax(0, 1fr) minmax(0, 100px); gap: 6px; }
  .news-inner b { font-size: 16px; }
  .news-inner input[type=email] { padding: 0 9px; }
  .news-inner button { font-size: 12px; }
  .cookie-banner { max-height: 36vh; }
  .cookie-banner p { font-size: 11px; }
  .home-page .hero-copy { max-width: 100%; }
  .home-page .hero-copy h1, .home-page .hero-copy h2.hero-title { overflow-wrap: normal; }
  .home-page .slider-arrow { width: 44px; height: 44px; }
  .home-page .slider-arrow.prev { left: 5px; top: auto; bottom: 15px; }
  .home-page .slider-arrow.next { right: 5px; top: auto; bottom: 15px; }
  .home-page .slider-dots { bottom: 22px; }
  .home-page .product-card .pcopy h3 { overflow-wrap: anywhere; }
}

@media (max-width: 350px) {
  .news-inner form { grid-template-columns: minmax(0, 1fr); }
  .news-inner label { grid-column: 1; }
  .news-inner button { min-height: 44px; }
  .home-page .hero-copy h1, .home-page .hero-copy h2.hero-title { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .slider-dots button::after,
  input[type="checkbox"]::before,
  input[type="radio"]::before,
  .product-card,
  .filter-box,
  .toast,
  .progress i,
  .department-tile,
  .brand-card,
  .brand-pills a,
  .add-cart,
  .sepivo-wa-float { transition: none !important; }
  html { scroll-behavior: auto !important; }
}

/* Filtre kutusunda fiyat alanları kutuya sığar (dar/geniş filtre seçeneklerinde de taşmaz) */
.filter-price-inputs { flex-wrap: nowrap; }
.filter-price-inputs input { width: auto !important; flex: 1 1 0; min-width: 0; }
.filter-price-inputs button { flex: 0 0 auto; }

/* Slider noktaları: aktif nokta, kapsayıcı düğmenin tamamını koyuya boyamasın (görünüm ::after ile çizilir).
   Telefonda dokunma alanı büyük kalır ama görünen nokta küçüktür: alan, görünmez ::before ile genişletilir. */
.slider-dots button,
.slider-dots button.active {
  background: transparent;
}
@media (max-width: 1020px) {
  .slider-dots { gap: 0; padding: 4px 8px; }
  .slider-dots button {
    position: relative;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
  }
  .slider-dots button::before {
    content: "";
    position: absolute;
    inset: -12px -7px;
  }
  .slider-dots button::after { width: 8px; height: 8px; }
  .slider-dots button.active::after { width: 18px; }
  .home-page .slider-dots { bottom: 14px; }
  #clearFilters { min-height: 36px; padding-inline: 12px; }
  .topbar nav a { padding-inline: 5px; }
}
@media (min-width: 761px) and (max-width: 1020px) {
  input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; margin: 4px 6px 4px 0; }
}

/* Dokunma hedefleri (telefon): küçük kalan bağlantı ve düğmeler en az ~32–44 px yüksekliğe getirilir */
.footer-contact a { display: inline-block; padding: 6px 0; }
@media (max-width: 760px) {
  .drawer-close-btn { min-width: 44px; min-height: 44px; }
  .filter-close { min-height: 44px; }
  #clearFilters { min-height: 36px; padding-inline: 12px; }
  .active-filter-chip button { min-width: 28px; min-height: 28px; padding: 0 6px !important; margin-left: 0 !important; }
  .content-page details > summary { min-height: 44px; display: flex; align-items: center; padding-block: 6px; }
}

/* Ürün kartı: aynı satırdaki kartlarda "Sepete Ekle" düğmesi hep kartın altında, aynı hizada dursun
   (fiyat satırı ya da eski fiyat bir kartta alta kayınca düğmeler farklı yüksekliğe düşüyordu) */
.product-card { display: flex; flex-direction: column; }
.product-card > .product-media, .product-card > a:first-child { flex: 0 0 auto; }
.product-card .pcopy { flex: 1 1 auto; display: flex; flex-direction: column; }
.product-card .pcopy .add-cart { margin-top: auto; }
.product-card .pcopy .price { margin-bottom: 8px; }

/* Tablet ve telefonda menü bağlantıları dokunmaya uygun yükseklikte */
@media (max-width: 1020px) {
  .mainnav a { display: inline-flex; align-items: center; min-height: 44px; }
}
