/* Shopier local overrides — store menu + filter chips */

/* Gilroy — orijinal Shopier storev3 tipografisi */
html,
body,
button,
input,
textarea,
select,
.store,
.main-layout {
  font-family: Gilroy, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.footer-section__menu-link {
  cursor: pointer;
}

.product-card-badges .item-filter__badge {
  color: #2f3352;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
}

.shopier-store-menu {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.store-information-header > .free-shipping-bar {
  align-self: stretch;
  width: 100%;
  padding-top: 0;
}

.store-information-header > .free-shipping-bar .free-shipping-bar-inner {
  width: 100%;
}

.store-information:has(.free-shipping-bar) .store-banner {
  margin-top: 0;
}

.shopier-store-menu .store-menu-item {
  border: none;
  background: none;
  color: #6700ff;
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

/*
 * Shopier index.css: boş discount-main-layout varken main-layout padding sıfırlanıyor
 * ve sepet/mağaza başlıkları sabit header altında kalıyor. Tüm sayfalarda düzelt.
 */
body:has(.discount-main-layout) .main-layout,
.main-layout {
  padding-top: var(--header-height) !important;
}

body:has(.discount-main-layout) .product-page,
body.page-product .product-page {
  padding-top: 0.625rem !important;
}

@media (min-width: 1024px) {
  body:has(.discount-main-layout) .product-page,
  body.page-product .product-page {
    padding-top: 2.125rem !important;
  }

  body:has(.discount-main-layout) .basket-page .basket-head,
  .basket-page .basket-head {
    margin-top: 73px;
  }

  body:has(.discount-main-layout) .basket-page .back-to-store,
  .basket-page .back-to-store {
    margin-top: 5rem;
  }
}

/* Ürün detay — Shopier page-product düzeni */
@media (max-width: 1023px) {
  body.page-product .header-search-area,
  body.page-product .header-search {
    display: none !important;
  }
}

/* Ürün detay — görünürlük ve Shopier düzeni */
body.page-product .product > div {
  min-width: 0;
}

body.page-product .product .product-head {
  margin-top: 1rem;
}

body.page-product .product .product-name {
  --line-count: 3 !important;
  --max-h: none !important;
  --lh: 1.5rem !important;
  --to: transparent !important;
  max-height: none !important;
  overflow: visible !important;
  color: #2f3352 !important;
  font-weight: 700 !important;
  position: relative !important;
  flex: 1 1 auto;
  min-width: 0;
}

body.page-product .product .product-name:after {
  display: none !important;
  content: none !important;
}

body.page-product .product .product-price-wrapper {
  margin-top: 11px;
}

body.page-product .product .product-price,
body.page-product .product .product-price-old {
  color: #2f3352;
}

body.page-product .select--product-page {
  width: 100%;
}

body.page-product .select--product-page .select-btn {
  position: relative;
  background: #fff;
  height: 55px;
}

body.page-product .select--product-page .select-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 100%;
  position: relative;
  padding: 8px 40px 8px 19px;
}

body.page-product .select--product-page .select-name,
body.page-product .select--product-page .select-value {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  padding: 0 !important;
  transform: none !important;
  line-height: 1.2 !important;
}

body.page-product .select--product-page .select-name,
body.page-product .select--product-page .select-name span {
  color: #545670 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

body.page-product .select--product-page .select-value,
body.page-product .select--product-page .select-value span {
  color: #2f3352 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

body.page-product .select--product-page .dropdown-menu {
  z-index: 40;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  transform: none !important;
}

body.page-product .select--product-page.dropdown.show,
body.page-product .select--product-page:has(.dropdown-menu.show) {
  z-index: 25;
  position: relative;
}

body.page-product .shopier-variation-color.is-invalid .select-btn {
  border-color: #ee3124 !important;
  box-shadow: 0 0 0 3px rgba(238, 49, 36, 0.18);
}

body.page-product .shopier-variation-color.is-invalid .select-name span {
  color: #ee3124 !important;
}

body.page-product .shopier-variation-color.is-invalid .shopier-variation-placeholder {
  color: #ee3124 !important;
}

body.page-product .shopier-variation-size.is-invalid .select-btn {
  border-color: #ee3124 !important;
  box-shadow: 0 0 0 3px rgba(238, 49, 36, 0.18);
}

body.page-product .select--product-page.is-invalid:not(.shopier-variation-color) .select-btn {
  border-color: #6700ff !important;
  box-shadow: 0 0 0 3px rgba(103, 0, 255, 0.14);
}

body.page-product .shopier-variation-option {
  cursor: pointer;
}

body.page-product .shopier-variation-option.active .input-name {
  color: #6700ff;
  font-weight: 600;
}

body.page-product .shopier-variation-placeholder {
  color: #9c9eac !important;
  font-weight: 500 !important;
}

body.page-product .btn-awaiting-selection {
  opacity: 0.72;
}

body.page-product .product-inputs-wrapper {
  row-gap: 17px;
}

body.page-product .product-add-basket-wrapper {
  row-gap: 0.75rem;
  margin-top: 2rem;
}

body.page-product .product-add-basket-wrapper .btn {
  margin: 0;
}

body.page-product .shopier-free-shipping-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
}

body.page-product .shopier-free-shipping-badge .shopier-icon-truck {
  flex-shrink: 0;
}

.basket-page .basket-shipping-free {
  font-weight: 500;
}

.basket-page #basket-total-discount-price {
  color: #6700ff;
}

.basket-page #basket-total-discount-price .price-minus {
  margin-right: 1px;
}

@media (min-width: 1024px) {
  body.page-product .product .product-name {
    font-size: 1.375rem;
    line-height: 1.75rem;
  }

  body.page-product .product .product-head {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .privacy-and-terms-content-sheet-btn {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .privacy-and-terms-content-modal-btn {
    display: none !important;
  }
}

.input-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .75rem;
  border: 1px solid #e2e2e5;
  border-radius: 999px;
  font-size: .8125rem;
  cursor: pointer;
}

.input-chip input {
  accent-color: #6700ff;
}

#shopier-local-filter .offcanvas-footer {
  display: flex;
  gap: .75rem;
  padding: 1rem;
  align-items: center;
}

#shopier-local-filter .offcanvas-footer a {
  text-decoration: none;
  color: inherit;
  text-align: center;
}

/* Yerel düzenlemeler — Shopier storev3 CSS üzerine */

.shopier-local-tabs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .5rem 0;
  scrollbar-width: none;
}

.shopier-local-tabs::-webkit-scrollbar {
  display: none;
}

.shopier-local-tabs .tab-link {
  display: block;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.shopier-local-toolbar {
  font-size: .8125rem;
}

.shopier-tool-link {
  color: #6700ff;
  text-decoration: none;
  font-weight: 600;
}

.shopier-local-cart {
  text-decoration: none;
  color: inherit;
}

.header-cart-icon {
  display: block;
}

/* Mağaza profil logosu — kare kırpım (Shopier 116×116) */
.store-logo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
}

.store-information.has-banner .store-logo {
  position: relative;
  z-index: 2;
}

.store-information-about:has(+ .store-menu) {
  margin-bottom: 11px;
}

/* Navbar: sağ ikonlar 3. kolonda kalmalı (orta arama alanı gizli olsa bile) */
.shopier-navbar-spacer {
  display: none;
}

@media (min-width: 1024px) {
  .shopier-navbar-spacer {
    display: flex;
    flex: 1 1 0%;
  }
}

.navbar .navbar-actions {
  column-gap: 1.25rem;
  flex-shrink: 0;
  justify-content: flex-end;
}

/* Checkout / ödeme: Shopier logosu solda */
body.checkout > .header {
  display: block !important;
}

.navbar .search-back-btn {
  display: none !important;
}

body.checkout .navbar .container-store.shopier-checkout-nav {
  justify-content: flex-start;
}

body.checkout .navbar .container-store.shopier-checkout-nav > .shopier-checkout-nav-brand,
body.checkout .navbar .shopier-checkout-nav-brand,
body.checkout .navbar .navbar-brand {
  display: flex;
  justify-content: flex-start !important;
  align-items: center;
  column-gap: 0.75rem;
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: none;
  overflow: visible;
}

body.checkout .navbar .container-store.shopier-checkout-nav > .shopier-navbar-spacer {
  flex: 1 1 auto;
}

body.checkout .navbar .container-store.shopier-checkout-nav > .shopier-checkout-nav-end,
body.checkout .navbar .shopier-checkout-nav-end {
  flex: 0 0 0 !important;
  flex-shrink: 0;
  justify-content: flex-start !important;
  width: 0 !important;
  min-width: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

body.checkout .navbar .container-store > div:nth-child(3).shopier-checkout-nav-end {
  justify-content: flex-start !important;
}

body.checkout .navbar .logo-primary {
  display: block !important;
  flex-shrink: 0;
  margin-left: 0;
  margin-right: auto;
}

.shopier-home-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

#shopier-store-products-root.is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.store-menu-link .shopier-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
}

.store-menu-link {
  align-items: center;
  gap: 0.25rem;
}

/* Ara / filtre / sırala panelleri */
.shopier-panels {
  pointer-events: none;
}

.shopier-panels.active {
  pointer-events: auto;
}

.shopier-panel-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 200;
}

.shopier-panels.active .shopier-panel-backdrop {
  display: block;
}

.shopier-panel {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  z-index: 210;
  max-height: 80vh;
  overflow: auto;
}

.shopier-panel.open {
  display: block;
}

@media (min-width: 640px) {
  .shopier-panel {
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 16px;
  }
}

.shopier-panel-inner {
  padding: 1.25rem;
  display: grid;
  gap: .75rem;
}

.shopier-panel-inner h3 {
  margin: 0;
}

.shopier-panel-inner input,
.shopier-panel-inner select {
  width: 100%;
  padding: .75rem;
  border: 1px solid #e2e2e5;
  border-radius: 10px;
  font: inherit;
}

.shopier-price-range {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.shopier-price-range input {
  flex: 1;
}

.shopier-sort-option {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid #eee;
}

.shopier-panel-close {
  text-align: center;
  color: #6700ff;
  font-weight: 600;
  text-decoration: none;
}

/* Sepet / checkout sayfaları */
body.checkout .main-layout.checkout {
  padding-top: var(--header-height) !important;
}

body.checkout .checkout-form-error {
  margin-bottom: 1rem;
}

body.checkout .checkout-state {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: inherit;
}

body.checkout .checkout-state.is-complete .shopier-icon-delivery {
  opacity: 0.55;
}

body.checkout #shopier-city-select-host,
body.checkout shopier-select {
  flex: 1 1 0;
  min-width: 0;
}

body.checkout .shopier-checkout-phone {
  --pr: 9px;
  --pr-borderless: 8px;
  --pl-borderless: 49px;
  --truncate-right: 8px;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
}

body.checkout .shopier-checkout-phone .input-box {
  width: 100%;
  min-width: 0;
}

body.checkout .shopier-checkout-phone-prefix {
  pointer-events: none;
}

body.checkout .shopier-checkout-phone .shopier-store--shipping-phone {
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  padding-left: var(--pl-borderless);
  padding-right: var(--pr-borderless);
}

body.checkout.shopier-payment .shopier-payment-lead {
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
}

body.checkout.shopier-payment .shopier-payment-main .checkout-form-body {
  padding-top: 0;
}

.shopier-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.shopier-page h1 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.shopier-alert {
  padding: .875rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.shopier-alert.success {
  background: #ecfdf5;
  color: #065f46;
}

.shopier-alert.error {
  background: #fef2f2;
  color: #991b1b;
}

.shopier-cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e2e5;
}

.shopier-cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.shopier-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .875rem 1.25rem;
  border-radius: 10px;
  border: none;
  background: #6700ff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.shopier-btn.secondary {
  background: #fff;
  color: #111;
  border: 1px solid #e2e2e5;
}

.shopier-btn.full {
  width: 100%;
}

/* Eski ödeme dosyası bileşeninin stilleri (artık kullanılmıyor) */
body.checkout.shopier-payment .shopier-proof-block {
  scroll-margin-top: 5rem;
}

body.checkout.shopier-payment .shopier-proof-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

body.checkout.shopier-payment .shopier-proof-head-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  background: rgba(103, 0, 255, 0.08);
  border: 1px solid rgba(103, 0, 255, 0.14);
}

body.checkout.shopier-payment .shopier-proof-head .payment-upload-title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

body.checkout.shopier-payment .shopier-proof-sub {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

body.checkout.shopier-payment .shopier-proof-steps {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

body.checkout.shopier-payment .shopier-proof-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.45rem;
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-align: center;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

body.checkout.shopier-payment .shopier-proof-step-num {
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
}

body.checkout.shopier-payment .shopier-proof-step-label {
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 500;
  color: #64748b;
}

body.checkout.shopier-payment .shopier-proof-step.is-current {
  border-color: rgba(103, 0, 255, 0.28);
  background: rgba(103, 0, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(103, 0, 255, 0.08);
}

body.checkout.shopier-payment .shopier-proof-step.is-current .shopier-proof-step-num {
  background: #6700ff;
  color: #fff;
}

body.checkout.shopier-payment .shopier-proof-step.is-current .shopier-proof-step-label {
  color: #0f172a;
  font-weight: 600;
}

body.checkout.shopier-payment .shopier-proof-step.is-done {
  border-color: rgba(103, 0, 255, 0.18);
}

body.checkout.shopier-payment .shopier-proof-step.is-done .shopier-proof-step-num {
  background: rgba(103, 0, 255, 0.12);
  color: #6700ff;
}

body.checkout.shopier-payment .shopier-proof-step.is-done .shopier-proof-step-label {
  color: #334155;
}

body.checkout.shopier-payment .shopier-proof-form {
  margin-top: 0;
}

body.checkout.shopier-payment .shopier-proof-upload {
  position: relative;
}

body.checkout.shopier-payment .proof-upload-input {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

body.checkout.shopier-payment .shopier-proof-zone {
  position: relative;
  overflow: hidden;
  border: 1.5px dashed #cbd5e1;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fafbff 0%, #f8fafc 100%);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

body.checkout.shopier-payment .shopier-proof-zone:hover,
body.checkout.shopier-payment .shopier-proof-zone.is-dragover {
  border-color: #6700ff;
  background: rgba(103, 0, 255, 0.04);
  box-shadow: 0 0 0 4px rgba(103, 0, 255, 0.1);
}

body.checkout.shopier-payment .shopier-proof-zone:focus-visible {
  outline: 2px solid rgba(103, 0, 255, 0.35);
  outline-offset: 2px;
}

body.checkout.shopier-payment .shopier-proof-zone.has-file {
  border-style: solid;
  border-color: rgba(103, 0, 255, 0.22);
  background: #fff;
  cursor: default;
}

body.checkout.shopier-payment .shopier-proof-empty {
  padding: 1.5rem 1.15rem 1.15rem;
}

body.checkout.shopier-payment .shopier-proof-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}

body.checkout.shopier-payment .shopier-proof-drop-icon-wrap {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

body.checkout.shopier-payment .shopier-proof-drop-title {
  margin: 0.15rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

body.checkout.shopier-payment .shopier-proof-drop-hint {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #64748b;
}

body.checkout.shopier-payment .shopier-proof-pick-btn {
  margin-top: 0.35rem;
  padding: 0.6rem 1.35rem;
  border: 1px solid rgba(103, 0, 255, 0.22);
  border-radius: 999px;
  background: #6700ff;
  color: #fff;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(103, 0, 255, 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

body.checkout.shopier-payment .shopier-proof-pick-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(103, 0, 255, 0.28);
}

body.checkout.shopier-payment .shopier-proof-pick-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

body.checkout.shopier-payment .shopier-proof-formats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

body.checkout.shopier-payment .shopier-proof-formats span {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #64748b;
}

body.checkout.shopier-payment .shopier-proof-zone.is-processing .shopier-proof-empty {
  opacity: 0.45;
}

body.checkout.shopier-payment .shopier-proof-processing {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.92);
  color: #6700ff;
  font-size: 0.875rem;
  font-weight: 600;
}

body.checkout.shopier-payment .shopier-proof-processing[hidden] {
  display: none !important;
}

body.checkout.shopier-payment .shopier-proof-spinner {
  animation: shopier-proof-spin 0.9s linear infinite;
}

@keyframes shopier-proof-spin {
  to { transform: rotate(360deg); }
}

body.checkout.shopier-payment .shopier-proof-selected {
  padding: 1rem 1rem 1.1rem;
}

body.checkout.shopier-payment .shopier-proof-selected-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #6700ff;
}

body.checkout.shopier-payment .shopier-proof-preview {
  margin-bottom: 0.85rem;
}

body.checkout.shopier-payment .shopier-proof-preview img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

body.checkout.shopier-payment .shopier-proof-preview-pdf {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 5.5rem;
  border-radius: 0.75rem;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

body.checkout.shopier-payment .shopier-proof-file-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

body.checkout.shopier-payment .shopier-proof-file-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  background: rgba(103, 0, 255, 0.08);
}

body.checkout.shopier-payment .shopier-proof-file-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

body.checkout.shopier-payment .proof-file-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.checkout.shopier-payment .proof-file-meta {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.78rem;
  color: #64748b;
}

body.checkout.shopier-payment .shopier-proof-change-btn {
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(103, 0, 255, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #6700ff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

body.checkout.shopier-payment .shopier-proof-change-btn:hover {
  background: rgba(103, 0, 255, 0.06);
}

body.checkout.shopier-payment .shopier-proof-error {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.875rem;
  line-height: 1.45;
}

body.checkout.shopier-payment .shopier-proof-error[hidden] {
  display: none !important;
}

body.checkout.shopier-payment .shopier-proof-ready {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(103, 0, 255, 0.18);
  background: rgba(103, 0, 255, 0.06);
  color: #4f00c4;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
}

body.checkout.shopier-payment .shopier-proof-ready[hidden] {
  display: none !important;
}

body.checkout.shopier-payment .shopier-proof-submit-wrap {
  margin-top: 1.15rem;
}

body.checkout.shopier-payment .proof-submit-btn {
  min-height: 3.25rem;
  font-weight: 700;
}

body.checkout.shopier-payment .proof-submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.checkout.shopier-payment .proof-submit-btn.is-ready:not(:disabled) {
  box-shadow: 0 12px 28px rgba(103, 0, 255, 0.28);
}

@media (max-width: 640px) {
  body.checkout.shopier-payment .shopier-proof-steps {
    grid-template-columns: 1fr;
  }

  body.checkout.shopier-payment .shopier-proof-step {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 0.7rem 0.85rem;
  }

  body.checkout.shopier-payment .shopier-proof-file-card {
    flex-wrap: wrap;
  }

  body.checkout.shopier-payment .shopier-proof-change-btn {
    margin-left: auto;
  }
}

/* Sipariş başarı sayfası */
body.checkout.shopier-order-success .shopier-order-success-grid {
  grid-template-columns: 1fr;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

body.checkout.shopier-order-success .shopier-order-success-card {
  padding: 0;
  overflow: hidden;
}

body.checkout.shopier-order-success .shopier-order-success-hero {
  padding: 2rem 1.5rem 1.35rem;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(103, 0, 255, 0.08), transparent 58%),
    linear-gradient(180deg, #fafbff 0%, #fff 100%);
  border-bottom: 1px solid #e2e8f0;
}

body.checkout.shopier-order-success .shopier-order-success-icon-wrap {
  display: inline-flex;
  margin-bottom: 0.85rem;
}

body.checkout.shopier-order-success .shopier-order-success-title {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
}

body.checkout.shopier-order-success .shopier-order-success-lead {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #64748b;
}

body.checkout.shopier-order-success .shopier-order-success-meta {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

body.checkout.shopier-order-success .shopier-order-success-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

body.checkout.shopier-order-success .shopier-order-success-meta-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
}

body.checkout.shopier-order-success .shopier-order-success-meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  text-align: right;
  word-break: break-word;
}

body.checkout.shopier-order-success .shopier-order-success-delivery,
body.checkout.shopier-order-success .shopier-order-success-items {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

body.checkout.shopier-order-success .shopier-order-success-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

body.checkout.shopier-order-success .shopier-order-success-items-count {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: #6700ff;
  background: rgba(103, 0, 255, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

body.checkout.shopier-order-success .shopier-order-success-delivery-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

body.checkout.shopier-order-success .shopier-order-success-delivery-phone {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #475569;
  margin-bottom: 0.25rem;
}

body.checkout.shopier-order-success .shopier-order-success-delivery-address {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #475569;
}

body.checkout.shopier-order-success .shopier-order-success-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

body.checkout.shopier-order-success .shopier-order-success-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: #f8fafc;
}

body.checkout.shopier-order-success .shopier-order-success-item-name {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  color: #0f172a;
}

body.checkout.shopier-order-success .shopier-order-success-item-side {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

body.checkout.shopier-order-success .shopier-order-success-item-qty {
  font-size: 0.75rem;
  color: #64748b;
}

body.checkout.shopier-order-success .shopier-order-success-item-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

body.checkout.shopier-order-success .shopier-order-success-totals {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #e2e8f0;
  display: grid;
  gap: 0.45rem;
}

body.checkout.shopier-order-success .shopier-order-success-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: #475569;
}

body.checkout.shopier-order-success .shopier-order-success-total-row--grand {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid #e2e8f0;
  font-size: 1rem;
  color: #0f172a;
}

body.checkout.shopier-order-success .shopier-order-success-total-row--grand strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: #6700ff;
}

body.checkout.shopier-order-success .shopier-order-success-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 1rem 1.5rem;
  background: rgba(103, 0, 255, 0.04);
  border-bottom: 1px solid rgba(103, 0, 255, 0.1);
}

body.checkout.shopier-order-success .shopier-order-success-note p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #4f00c4;
}

body.checkout.shopier-order-success .shopier-order-success-actions {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem 1.5rem;
}

body.checkout.shopier-order-success .shopier-order-success-continue-btn {
  min-height: 3.25rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(103, 0, 255, 0.22);
}

@media (max-width: 640px) {
  body.checkout.shopier-order-success .shopier-order-success-hero {
    padding: 1.5rem 1.15rem 1.15rem;
  }

  body.checkout.shopier-order-success .shopier-order-success-meta,
  body.checkout.shopier-order-success .shopier-order-success-delivery,
  body.checkout.shopier-order-success .shopier-order-success-items,
  body.checkout.shopier-order-success .shopier-order-success-note,
  body.checkout.shopier-order-success .shopier-order-success-actions {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  body.checkout.shopier-order-success .shopier-order-success-item {
    flex-direction: column;
    gap: 0.45rem;
  }

  body.checkout.shopier-order-success .shopier-order-success-item-side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
}

/* Ürün detay — galeri: tüm görseller aynı karede */
body.page-product .product-image-slider-wrapper {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
}

body.page-product .product-gallery-main,
body.page-product .product-image-slider.swiper {
  height: 100%;
  width: 100%;
}

body.page-product .product-gallery-main .swiper-wrapper,
body.page-product .product-gallery-main .swiper-slide {
  height: 100% !important;
}

body.page-product .product-image-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

body.page-product .product-gallery-main img.shopier-store--product-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.shopier-icon-heart-white-filled {
  background-image: url(../svgs/heart-white-filled.svg);
}

body.page-product .product-favorite.is-favorite .shopier-icon-heart,
body.page-product .product-favorite.is-favorite .shopier-icon-heart-filled {
  background-image: url(../svgs/heart-filled.svg);
}

/* Ürün detay — görsel lightbox (sağ / sol gezinme) */
body.page-product .product-image-slide.shopier-product-image-open {
  cursor: zoom-in;
}

body.shopier-product-lightbox-open {
  overflow: hidden;
}

.shopier-product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.shopier-product-lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.shopier-product-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.84);
  backdrop-filter: blur(6px);
}

.shopier-product-lightbox__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(92vw, 920px);
  max-height: 88vh;
  transform: scale(0.92);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.shopier-product-lightbox.is-open .shopier-product-lightbox__content {
  transform: scale(1);
}

.shopier-product-lightbox__content img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  user-select: none;
  -webkit-user-drag: none;
}

.shopier-product-lightbox__tap {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34%;
  z-index: 3;
  cursor: pointer;
}

.shopier-product-lightbox__tap--prev {
  left: 0;
}

.shopier-product-lightbox__tap--next {
  right: 0;
}

.shopier-product-lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10052;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
}

.shopier-product-lightbox__close svg {
  width: 18px;
  height: 18px;
}

.shopier-product-lightbox__nav {
  position: fixed;
  top: 50%;
  z-index: 10052;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.shopier-product-lightbox__nav svg {
  width: 22px;
  height: 22px;
}

.shopier-product-lightbox__nav--prev {
  left: 1rem;
}

.shopier-product-lightbox__nav--next {
  right: 1rem;
}

.shopier-product-lightbox__nav[hidden],
.shopier-product-lightbox__counter[hidden] {
  display: none !important;
}

.shopier-product-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: -2rem;
  transform: translateX(-50%);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
}

.shopier-product-lightbox.is-single .shopier-product-lightbox__tap {
  display: none;
}

.modal-store-contact .contact-item,
#store-contact-canvas .contact-item {
  height: 55px;
}

/* Swiper başlatılmadan önce varsayılan .swiper-slide genişliği %100'dür.
   Bu, kategori şeridini ilk boyamada geçici olarak alt alta diziyordu.
   Bu şerit zaten "slidesPerView: auto" ile çalıştığından ilk CSS kuralını
   aynı nihai düzene getiriyoruz. */
.store-categories .js-store-tab-swiper .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
}

.store-categories .js-store-tab-swiper .swiper-slide {
  flex: 0 0 auto;
  width: auto;
}

@media (max-width: 640px) {
  .shopier-product-lightbox__nav {
    width: 42px;
    height: 42px;
  }

  .shopier-product-lightbox__nav--prev {
    left: 0.5rem;
  }

  .shopier-product-lightbox__nav--next {
    right: 0.5rem;
  }

  .shopier-product-lightbox__tap {
    width: 38%;
  }
}

.store-banner img { width: 100%; height: auto; display: block; }
html { background-color: #ffffff !important; }
body.empty-basket, .basket-empty, .basket-page { background-color: #ffffff !important; color: #1f2937 !important; min-height: 100vh; min-height: 100dvh; }
html body.empty-basket { background-color: #ffffff !important; }
.empty-basket .main-layout, .empty-basket .basket-page, .empty-basket .container-basket { background-color: #ffffff !important; min-height: 100vh; min-height: 100dvh; }
@media (prefers-color-scheme: dark) {
  html, body, body.empty-basket, .basket-page, .basket-empty, .main-layout, .container-basket {
    background-color: #ffffff !important;
    color: #1f2937 !important;
  }
}
@media (max-width: 1023px) { .basket-page, .basket-grid, .basket-list, .main-layout.basket { height: auto !important; max-height: none !important; overflow: visible !important; } }
.wa-float-btn { position: fixed; right: 24px; bottom: 24px; z-index: 9999; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #25D366; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,0.15); border: 1px solid rgba(0,0,0,0.06); transition: background 0.15s ease, box-shadow 0.15s ease; } .wa-float-btn:hover { background: #1ebe57; box-shadow: 0 4px 12px rgba(0,0,0,0.2); } .wa-float-btn svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; } @media (max-width: 767px) { .wa-float-btn { padding: 8px 12px; font-size: 13px; right: 16px; bottom: 16px; } .wa-float-btn svg { width: 18px; height: 18px; } }
