/*
Theme Name: ShopMax Store
Theme URI: http://pozitifkurumsal.com.tr
Author:      Bülent Saldır / Pozitif Kurumsal Developer Team
Author URI: http://pozitifkurumsal.com.tr
Description: Tam özellikli, modern WooCommerce mağaza teması. Hızlı yükleme, mobil uyumlu tasarım ve gelişmiş ürün görünümü ile profesyonel e-ticaret deneyimi sunar. ShopMax Store — Geliştiren: Bülent Saldır / Pozitif Kurumsal Developer Team
Version: 2.8.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shopmax
Tags: e-commerce, woocommerce, two-columns, right-sidebar, custom-header, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
WC requires at least: 7.0
WC tested up to: 9.0
*/

/* ============================================================
   CSS CUSTOM PROPERTIES (THEME VARIABLES)
   ============================================================ */
:root {
  --sm-navy:        #131921;
  --sm-header:      #232f3e;
  --sm-nav:         #37475a;
  --sm-accent:      #ff9900;
  --sm-accent-dark: #c45500;
  --sm-btn-primary: #ffd814;
  --sm-btn-buy:     #ffa41c;
  --sm-link:        #007185;
  --sm-link-hover:  #c7511f;
  --sm-text:        #0f1111;
  --sm-muted:       #565959;
  --sm-border:      #d5d9d9;
  --sm-bg:          #eaeded;
  --sm-white:       #ffffff;
  --sm-star:        #ff9900;
  --sm-danger:      #cc0c39;
  --sm-success:     #067D62;
  --sm-shadow:      0 2px 5px rgba(15,17,17,.15);
  --sm-shadow-lg:   0 4px 14px rgba(15,17,17,.25);
  --sm-radius:      4px;
  --sm-radius-lg:   8px;
  --sm-container:   1200px;
  --sm-font:        'Amazon Ember', 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sm-font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--sm-text);
  background: var(--sm-bg);
}

a { color: var(--sm-link); text-decoration: none; transition: color .15s; }
a:hover { color: var(--sm-link-hover); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

.container {
  max-width: var(--sm-container, 1200px);
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================================
   TOP STRIP
   ============================================================ */
#top-strip {
  background: var(--sm-navy);
  color: #ccc;
  font-size: 12px;
  text-align: center;
  padding: 5px 0;
}
#top-strip .highlight { color: var(--sm-accent); font-weight: 700; }

/* ============================================================
   SITE HEADER
   ============================================================ */
#site-header {
  background: var(--sm-header);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.site-logo a {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  border: 1px solid transparent;
  padding: 4px 8px;
  border-radius: var(--sm-radius);
  transition: border-color .15s;
}
.site-logo a:hover { border-color: #fff; text-decoration: none; }
.site-logo .accent { color: var(--sm-accent); }

.header-location {
  color: #ccc;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  display: flex;
  flex-direction: column;  /* Teslimat adresi üstte, Türkiye altta */
  align-items: flex-start;
  cursor: pointer;
}
.header-location strong { display: block; color: #fff; font-size: 14px; }

.header-search {
  flex: 1;
  display: flex;
  border-radius: var(--sm-radius);
  overflow: hidden;
  height: 40px;
}
.search-cat-select {
  background: #f3f3f3;
  border: none;
  padding: 0 10px;
  font-size: 12px;
  color: #555;
  cursor: pointer;
  border-right: 1px solid #cdcdcd;
}
.search-text-input {
  flex: 1;
  border: none;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
}
.search-submit-btn {
  background: #febd69;
  border: none;
  width: 46px;
  font-size: 18px;
  cursor: pointer;
  transition: background .15s;
}
.search-submit-btn:hover { background: var(--sm-accent); }

.header-actions { display: flex; align-items: center; gap: 4px; }

.header-action-link {
  color: #fff;
  padding: 6px 10px;
  border-radius: var(--sm-radius);
  border: 1px solid transparent;
  font-size: 13px;
  line-height: 1.3;
  transition: border-color .15s;
  white-space: nowrap;
  display: flex;
  flex-direction: column;  /* small üstte, strong altta */
  align-items: flex-start;
  text-decoration: none;
}
.header-action-link small { display: block; color: #ccc; font-size: 11px; }
.header-action-link strong { display: block; font-weight: 700; }
.header-action-link:hover { border-color: #fff; text-decoration: none; color: #fff; }

.header-cart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  color: #fff;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: var(--sm-radius);
  transition: border-color .15s;
}
.header-cart:hover { border-color: #fff; text-decoration: none; color: #fff; }
.cart-count-badge {
  background: var(--sm-accent);
  color: var(--sm-navy);
  font-weight: 900;
  font-size: 16px;
  padding: 1px 7px;
  border-radius: 10px;
  line-height: 1.3;
}
.cart-text { font-weight: 700; font-size: 13px; }

/* ============================================================
   PRIMARY NAVIGATION
   ============================================================ */
#primary-nav {
  background: var(--sm-nav);
  overflow-x: auto;
  scrollbar-width: none;
}
#primary-nav::-webkit-scrollbar { display: none; }

#primary-nav ul {
  display: flex;
  align-items: center;
  padding: 0 16px;
  max-width: var(--sm-container, 1200px);
  margin: 0 auto;
}

#primary-nav ul li a {
  display: block;
  color: #fff;
  padding: 9px 11px;
  font-size: 13px;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--sm-radius);
  transition: border-color .15s;
}
#primary-nav ul li a:hover { border-color: #fff; text-decoration: none; }
#primary-nav ul li.menu-all-cats a { font-weight: 700; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-wrap {
  max-width: var(--sm-container, 1200px);
  margin: 0 auto;
  padding: 12px 24px 0;
  box-sizing: border-box;
  font-size: 12px;
  color: var(--sm-muted);
}
.breadcrumb-wrap .woocommerce-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  background: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  color: #aaa;
}
.breadcrumb-wrap a,
.breadcrumb-wrap .woocommerce-breadcrumb a {
  color: #aaa;
  text-decoration: none;
  display: inline;
  background: none;
  padding: 0;
  border: none;
  font-size: 12px;
  transition: color .15s;
}
.breadcrumb-wrap a:hover,
.breadcrumb-wrap .woocommerce-breadcrumb a:hover { color: var(--sm-link-hover); }
.breadcrumb-sep { margin: 0 5px; color: #ddd; }

/* ============================================================
   KATEGORİ BAŞLIĞI & AÇIKLAMASI — Hizalama
   ============================================================ */
body.archive h1.page-title,
body.woocommerce-page.archive h1.page-title,
body.tax-product_cat h1.page-title {
  max-width: var(--sm-container, 1200px);
  width: 100%;
  margin: 10px auto 0;
  padding: 0 24px;
  box-sizing: border-box;
  font-size: 24px;
  font-weight: 700;
  color: #111;
  letter-spacing: -.3px;
  line-height: 1.2;
  display: block;
}

body.archive .term-description,
body.woocommerce-page.archive .term-description,
body.tax-product_cat .term-description {
  max-width: var(--sm-container, 1200px);
  width: 100%;
  margin: 4px auto 14px;
  padding: 0 24px;
  box-sizing: border-box;
}

body.archive .term-description p,
body.woocommerce-page.archive .term-description p,
body.tax-product_cat .term-description p {
  font-size: 13px;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.sm-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: linear-gradient(135deg, #1a2733 0%, #232f3e 40%, #3d4f62 100%);
  display: flex;
  align-items: center;
}
/* ── Hero Badge: "Sınırlı Süre" etiketi ── */
.hero-badge,
.sm-hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(255, 153, 0, 0.15) !important;
  border: 1px solid rgba(255, 153, 0, 0.4) !important;
  color: #ff9900 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  margin-bottom: 12px !important;
  letter-spacing: .3px !important;
  text-transform: uppercase !important;
}

.sm-hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,153,0,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 30%, rgba(20,110,180,.15) 0%, transparent 70%);
}
.sm-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--sm-container, 1200px);
  margin: 0 auto;
  padding: 40px 24px;
}
.sm-hero h1 {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}
.sm-hero h1 span { color: var(--sm-accent); }
.sm-hero p { color: #adb9c7; font-size: 15px; margin-bottom: 24px; max-width: 500px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 9px 22px;
  border-radius: var(--sm-radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .15s, transform .1s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  background: var(--sm-btn-primary);
  color: var(--sm-text);
  box-shadow: 0 2px 5px rgba(213,163,4,.4);
}
.btn-primary:hover { background: #f7ca00; color: var(--sm-text); }

.btn-buy { background: var(--sm-btn-buy); color: var(--sm-text); }
.btn-buy:hover { background: #fa8900; color: var(--sm-text); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.07); color: #fff; }

.btn-danger { background: var(--sm-danger); color: #fff; }

/* WooCommerce button overrides */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--sm-btn-primary);
  color: var(--sm-text);
  border-radius: var(--sm-radius);
  font-weight: 700;
  border: none;
  padding: 9px 20px;
  transition: background .15s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: #f7ca00;
  color: var(--sm-text);
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--sm-btn-buy);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover { background: #fa8900; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sm-accent);
}
.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--sm-text);
}
.section-see-all { color: var(--sm-link); font-size: 13px; }

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.sm-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.sm-cat-card {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  padding: 16px;
  box-shadow: var(--sm-shadow);
  transition: box-shadow .2s;
  cursor: pointer;
}
.sm-cat-card:hover { box-shadow: var(--sm-shadow-lg); text-decoration: none; }
.sm-cat-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--sm-text); }
.sm-cat-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 10px;
}
.sm-cat-image-cell {
  aspect-ratio: 1;
  background: var(--sm-bg);
  border-radius: 3px;
  overflow: hidden;
}
.sm-cat-image-cell img { width: 100%; height: 100%; object-fit: cover; }
.sm-cat-link { color: var(--sm-link); font-size: 12px; }

/* ============================================================
   PRODUCT CARDS & GRID
   ============================================================ */
.sm-product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.sm-product-card,
.woocommerce ul.products li.product {
  background: var(--sm-white) !important;
  border-radius: var(--sm-radius) !important;
  box-shadow: var(--sm-shadow) !important;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  position: relative;
  transition: box-shadow .2s, transform .15s !important;
  border: none !important;
  padding: 0 !important;
}
.sm-product-card:hover,
.woocommerce ul.products li.product:hover {
  box-shadow: var(--sm-shadow-lg) !important;
  transform: translateY(-2px);
}

.sm-product-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--sm-danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 2px;
  z-index: 2;
  letter-spacing: .5px;
}

.sm-product-img,
.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f7f8f8;
  border-bottom: 1px solid var(--sm-border);
  transition: opacity .2s;
}
.sm-product-card:hover .sm-product-img { opacity: .9; }

.sm-product-body {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sm-product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 13px !important;
  color: var(--sm-text) !important;
  margin-bottom: 4px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4 !important;
  padding: 0 !important;
}
/* Single product sayfası başlığı — koyu header'da beyaz */
#sm-single .sm-buy-head .sm-product-title,
#sm-single .sm-buy-head h1 {
  color: #fff !important;
  font-size: 20px !important;
  -webkit-line-clamp: unset !important;
  display: block !important;
}


.sm-stars { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.sm-star-filled { color: var(--sm-star); font-size: 12px; }
.sm-review-count { color: var(--sm-link); font-size: 12px; }

.sm-price-wrap { margin-top: auto; margin-bottom: 4px; }

.woocommerce ul.products li.product .price,
.sm-price {
  color: var(--sm-text) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}
.woocommerce ul.products li.product .price del,
.woocommerce-loop-product__link del,
.sm-product-card del,
.sm-product-card .price del,
del,
.sm-price-old {
  color: var(--sm-muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-decoration: line-through;
  margin-right: 4px;
}
.sm-save-label { color: var(--sm-danger); font-size: 12px; font-weight: 600; }

.sm-prime { display: flex; align-items: center; gap: 4px; color: #00a8e1; font-size: 11px; font-weight: 700; margin: 4px 0; }

.sm-add-to-cart,
.woocommerce ul.products li.product .button {
  width: 100% !important;
  background: var(--sm-btn-primary) !important;
  color: var(--sm-text) !important;
  border: none !important;
  border-radius: var(--sm-radius) !important;
  padding: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
  margin-top: 8px !important;
  box-shadow: 0 1px 3px rgba(213,163,4,.4) !important;
  transition: background .15s !important;
  text-align: center;
  display: block;
}
.sm-add-to-cart:hover,
.woocommerce ul.products li.product .button:hover {
  background: #f7ca00 !important;
  color: var(--sm-text) !important;
  text-decoration: none !important;
}

/* ============================================================
   DEAL BANNER
   ============================================================ */
.sm-deal-banner {
  background: linear-gradient(90deg, #c45500, #e47911, #ff9900);
  padding: 22px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.sm-deal-text h2 { color: #fff; font-size: 24px; font-weight: 900; }
.sm-deal-text p { color: rgba(255,255,255,.85); font-size: 13px; margin-top: 4px; }
.sm-deal-timer { display: flex; gap: 8px; align-items: center; }
.sm-timer-box {
  background: rgba(0,0,0,.2);
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  border-radius: var(--sm-radius);
  min-width: 52px;
}
.sm-timer-num { font-size: 24px; font-weight: 900; line-height: 1; }
.sm-timer-lbl { font-size: 10px; text-transform: uppercase; opacity: .8; }
.sm-timer-sep { color: #fff; font-size: 24px; font-weight: 900; padding-bottom: 14px; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.sm-trust-strip {
  background: var(--sm-white);
  border-top: 3px solid var(--sm-accent);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap;         /* asla sarma — tek satır */
  overflow-x: auto;          /* taşarsa yatay kaydır */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;     /* kaydırma çubuğunu gizle */
  box-shadow: var(--sm-shadow);
}
.sm-trust-strip::-webkit-scrollbar { display: none; }
.sm-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--sm-muted);
  white-space: nowrap;       /* item içi kırılmasın */
  flex-shrink: 0;            /* item küçülmesin */
}
.sm-trust-item strong { color: var(--sm-text); font-weight: 700; }

/* ============================================================
   PROMO CARDS
   ============================================================ */
.sm-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.sm-promo-card {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow);
  padding: 18px 20px 22px;
  position: relative;
  overflow: hidden;
}
.sm-promo-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
}
.sm-promo-card.accent-orange::before { background: linear-gradient(90deg, #f90, #ffd814); }
.sm-promo-card.accent-blue::before   { background: linear-gradient(90deg, #007185, #00a8e1); }
.sm-promo-card.accent-red::before    { background: linear-gradient(90deg, #cc0c39, #e31c3d); }
.sm-promo-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.sm-promo-card p  { font-size: 13px; color: var(--sm-muted); margin-bottom: 14px; }
.sm-promo-icon    { font-size: 38px; margin-bottom: 10px; }
.sm-promo-link    { color: var(--sm-link); font-size: 13px; font-weight: 600; }

/* ============================================================
   LAYOUT: SHOP PAGE
   ============================================================ */
.sm-shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  max-width: var(--sm-container, 1200px);
  margin: 16px auto;
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
}

/* Sidebar */
.sm-sidebar {
  min-width: 0;
  width: 100%;
}
.sm-widget {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow);
  padding: 16px;
  margin-bottom: 12px;
}
.sm-widget h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--sm-border);
}
.sm-widget ul li { padding: 4px 0; font-size: 13px; border-bottom: 1px solid #f0f0f0; }
.sm-widget ul li:last-child { border: none; }
.sm-widget a { color: var(--sm-link); }

/* Price filter */
.sm-price-range { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.sm-price-input {
  flex: 1; border: 1px solid var(--sm-border); border-radius: var(--sm-radius);
  padding: 5px 8px; font-size: 13px;
}

/* Rating filter */
.sm-rating-filter li { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.sm-rating-filter .stars { color: var(--sm-star); font-size: 13px; }

/* Main content */
.sm-main-content { }
.sm-shop-toolbar {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.sm-result-count { font-size: 13px; color: var(--sm-muted); }
.sm-sort-select {
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  padding: 5px 10px;
  font-size: 13px;
}

/* ============================================================
   WooCommerce SHOP LOOP — complete override
   ============================================================ */

/* Grid container */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Product li */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--sm-white) !important;
  border-radius: var(--sm-radius) !important;
  box-shadow: var(--sm-shadow) !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  transition: box-shadow .2s, transform .15s !important;
  border: 1px solid var(--sm-border) !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
  text-align: left !important;
}
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  box-shadow: var(--sm-shadow-lg) !important;
  transform: translateY(-2px) !important;
  border-color: #aab7b8 !important;
}

/* Product image */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-loop-product__link img {
  width: 100% !important;
  height: 180px !important;
  object-fit: contain !important;
  background: #f7f8f8 !important;
  border-bottom: 1px solid var(--sm-border) !important;
  padding: 10px !important;
  margin: 0 !important;
  display: block !important;
  border-radius: 0 !important;
  transition: opacity .2s !important;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--sm-text) !important;
  padding: 8px 12px 4px !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 38px !important;
}

/* Star rating */
.woocommerce ul.products li.product .star-rating {
  font-size: 12px !important;
  color: var(--sm-star) !important;
  margin: 0 12px 4px !important;
  float: none !important;
}

/* Price */
.woocommerce ul.products li.product .price {
  color: var(--sm-text) !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  display: block !important;
  padding: 0 12px 4px !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.woocommerce del,
ul.products li.product .price del,
.sm-product-card del {
  color: var(--sm-muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  opacity: 1 !important;
  display: block !important;
}
.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
  display: block !important;
  font-size: 19px !important;
}

/* Add to cart button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
  display: block !important;
  width: calc(100% - 24px) !important;
  margin: 8px 12px 12px !important;
  background: var(--sm-btn-primary) !important;
  color: var(--sm-text) !important;
  border: none !important;
  border-radius: var(--sm-radius) !important;
  padding: 9px 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-align: center !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(213,163,4,.4) !important;
  transition: background .15s !important;
  text-decoration: none !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
  background: #f7ca00 !important;
  color: var(--sm-text) !important;
}
.woocommerce ul.products li.product .added_to_cart {
  display: block !important;
  text-align: center !important;
  font-size: 12px !important;
  color: var(--sm-success) !important;
  padding: 0 12px 8px !important;
  margin: 0 !important;
  font-weight: 600 !important;
}

/* Sale badge */
.woocommerce ul.products li.product .onsale {
  background: var(--sm-danger) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 2px !important;
  top: 8px !important;
  left: 8px !important;
  right: auto !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.4 !important;
  letter-spacing: .5px !important;
}

/* sm-prime badge inside WC loop */
.woocommerce ul.products li.product .sm-prime {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  color: #00a8e1 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 12px 4px !important;
}

/* Fix main content */
.sm-main-content {
  min-width: 0;
  width: 100%;
  overflow: visible;
}

/* Sidebar: style default WP widgets like ShopMax widgets */
.sm-sidebar .widget {
  background: var(--sm-white);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow);
  padding: 16px;
  margin-bottom: 12px;
  border: none;
}
.sm-sidebar .widget-title,
.sm-sidebar .widget h2 {
  font-size: 15px !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid var(--sm-border) !important;
  color: var(--sm-text) !important;
  background: none !important;
}
.sm-sidebar .widget ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.sm-sidebar .widget ul li { padding: 5px 0; font-size: 13px; border-bottom: 1px solid #f5f5f5; }
.sm-sidebar .widget ul li:last-child { border: none; }
.sm-sidebar .widget ul li a { color: var(--sm-link); font-size: 13px; }
.sm-sidebar .widget ul li a:hover { color: var(--sm-link-hover); }
/* Hide blog-related WP default widgets in shop sidebar */
.sm-sidebar .widget_recent_entries,
.sm-sidebar .widget_recent_comments,
.sm-sidebar .widget_meta,
.sm-sidebar .widget_archives,
.sm-sidebar .widget_calendar { display: none !important; }

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */
.sm-product-single {
  max-width: var(--sm-container, 1200px);
  margin: 16px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 380px 240px;
  gap: 16px;
}

.sm-product-gallery { background: var(--sm-white); border-radius: var(--sm-radius); box-shadow: var(--sm-shadow); padding: 16px; }
.sm-gallery-main { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: var(--sm-radius); margin-bottom: 10px; }
.sm-gallery-thumbs { display: flex; gap: 8px; }
.sm-gallery-thumb {
  width: 56px; height: 56px;
  object-fit: cover;
  border: 2px solid var(--sm-border);
  border-radius: var(--sm-radius);
  cursor: pointer;
  transition: border-color .15s;
}
.sm-gallery-thumb:hover, .sm-gallery-thumb.active { border-color: var(--sm-accent); }

.sm-product-details { }
.sm-product-single-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.sm-product-single-brand { color: var(--sm-link); font-size: 13px; margin-bottom: 8px; }
.sm-single-stars { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--sm-border); }
.sm-product-price-box { margin-bottom: 14px; }
.sm-single-price { font-size: 26px; font-weight: 700; }
.sm-single-price-label { font-size: 12px; color: var(--sm-muted); }

.sm-product-buy-box {
  background: var(--sm-white);
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-lg);
  padding: 18px;
  box-shadow: var(--sm-shadow);
}
.sm-buy-price { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.sm-in-stock { color: var(--sm-success); font-weight: 700; margin-bottom: 12px; }
.sm-qty-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.sm-qty-label { font-size: 13px; }
.sm-qty-select { border: 1px solid var(--sm-border); border-radius: var(--sm-radius); padding: 5px 10px; font-size: 14px; }
.sm-buy-btn { width: 100%; margin-bottom: 8px; padding: 10px; font-size: 15px; }
.sm-add-btn { width: 100%; padding: 10px; font-size: 15px; }
.sm-secure { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 12px; color: var(--sm-muted); margin-top: 10px; }

/* ============================================================
   CART & CHECKOUT (WooCommerce overrides)
   ============================================================ */
.woocommerce-cart table.cart,
.woocommerce-checkout form.checkout {
  font-size: 14px;
}
.woocommerce table.shop_table {
  border: 1px solid var(--sm-border) !important;
  border-radius: var(--sm-radius) !important;
}
.woocommerce table.shop_table th {
  background: var(--sm-bg) !important;
  font-weight: 700;
}
#place_order {
  background: var(--sm-btn-buy) !important;
  font-size: 16px !important;
  padding: 14px !important;
  width: 100% !important;
  border-radius: var(--sm-radius) !important;
}
#place_order:hover { background: #fa8900 !important; }

/* ============================================================
   NOTICES
   ============================================================ */
.woocommerce-message,
.woocommerce-info {
  border-top: 4px solid var(--sm-accent) !important;
  background: #fff8e7 !important;
}
.woocommerce-error { border-top: 4px solid var(--sm-danger) !important; }

/* ============================================================
   FOOTER
   ============================================================ */
/* ================================================================
   FOOTER
   ================================================================ */
#site-footer { margin-top: 24px; }

/* ── Başa Dön ── */
.footer-back-top {
  background: var(--sm-nav);
  color: #fff;
  text-align: center;
  padding: 11px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  /* Masaüstünde her zaman görünür */
  opacity: 1;
}
.footer-back-top:hover { background: #485769; }
.footer-back-top.is-visible { opacity: 1; }

/* ── Widget Sütunları ── */
.footer-widgets {
  background: var(--sm-header);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px 40px;
  color: #ddd;
}

/* Akordyon toggle butonu — masaüstünde sadece başlık görevi yapar */
.footer-widget-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: default;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  margin-bottom: 12px;
  pointer-events: none; /* masaüstünde tıklanamaz */
}
.footer-toggle-icon { display: none; } /* masaüstünde ok ikonu gizli */

.footer-widget-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  max-height: 0 !important;           /* DEFAULT: KAPALI — media query YOK */
  transition: max-height .35s ease !important;
}

/* Masaüstü: HER ZAMAN açık — JS'e gerek yok */
@media (min-width: 769px) {
  .footer-widget-list {
    max-height: none !important;
    overflow: visible !important;
  }
}

/* Mobil: kullanıcı toggle'a tıklayınca açık */
.footer-widget-toggle[aria-expanded="true"] + .footer-widget-list {
  max-height: 600px !important;
  overflow: hidden !important;
}
.footer-widget-list li { margin-bottom: 8px; }
.footer-widget-list li a { color: #bbb; font-size: 13px; text-decoration: none; transition: color .15s; }
.footer-widget-list li a:hover { color: #fff; text-decoration: underline; }

/* Eski h4 desteği (sidebar widget'ları için) */
.footer-widget h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.footer-widget ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.footer-widget ul li { margin-bottom: 7px; }
.footer-widget ul li a { color: #bbb; font-size: 13px; }
.footer-widget ul li a:hover { color: #fff; text-decoration: underline; }

/* ── Alt Bar ── */
.footer-bottom {
  background: var(--sm-navy);
  padding: 18px 40px;
  color: #777;
  font-size: 12px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--sm-container, 1200px);
  margin: 0 auto;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-logo {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  text-decoration: none;
  flex-shrink: 0;
}
.footer-logo span { color: var(--sm-accent); }
.footer-copy { margin: 0; color: #666; font-size: 12px; }
.footer-copy a { color: #888; }
.footer-copy a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ================================================================
   RESPONSIVE — Tablet & Mobil
   ================================================================ */

/* ─── Hamburger & Mobil Toggle ─── */
.sm-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  order: -1;
}
.sm-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sm-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.sm-menu-toggle.is-open .sm-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sm-menu-toggle.is-open .sm-hamburger span:nth-child(2) { opacity: 0; }
.sm-menu-toggle.is-open .sm-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobil ikon linkler */
.sm-mobile-icon {
  color: #fff;
  display: flex;
  align-items: center;
  padding: 4px;
}
.sm-mobile-only { display: none; }
.sm-desktop-only { display: flex; }

/* Nav overlay */
.sm-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 997;
}
.sm-nav-overlay.is-open { display: block; }

/* Mobil nav extras */
.sm-mobile-nav-extras { display: none; }

/* ─── Tablet ≤ 1024px ─── */
@media (max-width: 1024px) {
  .sm-product-grid { grid-template-columns: repeat(3, 1fr); }
  .sm-category-grid { grid-template-columns: repeat(3, 1fr); }
  .sm-product-single { grid-template-columns: 1fr 1fr; }
  .sm-product-buy-box { grid-column: span 2; }
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ─── Tablet ≤ 768px ─── */
@media (max-width: 768px) {
  /* Header */
  #site-header {
    flex-wrap: wrap;          /* wrap: arama ikinci satıra inebilsin */
    padding: 8px 12px;
    gap: 6px;
    justify-content: space-between;
    align-items: center;
  }
  .sm-menu-toggle { display: flex; order: 0; flex-shrink: 0; }
  .sm-desktop-only { display: none !important; }
  .sm-mobile-only  { display: flex !important; }

  /* Logo küçült */
  .site-logo { order: 1; flex: 0 0 auto; }
  .site-logo a { font-size: 18px; padding: 2px 4px; }

  /* Actions sağ üste sabit */
  .header-actions { order: 2; margin-left: auto; gap: 6px; flex-shrink: 0; }

  /* Arama tam genişlik — ikinci satıra iner */
  .header-search {
    order: 3;
    flex: 0 0 100%;           /* %100 genişlik — wrap sayesinde ikinci satır */
    width: 100%;
    height: 38px;
  }
  .search-text-input { font-size: 13px; }

  /* Actions sağa yasla */
  .header-actions { margin-left: auto; gap: 6px; }
  .header-cart { gap: 0; }
  .cart-text { display: none; }

  /* Primary nav — mobil drawer */
  #primary-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--sm-header);
    z-index: 998;
    overflow-y: auto;
    transition: left .3s ease;
    padding: 60px 0 24px;
    box-shadow: 2px 0 16px rgba(0,0,0,.3);
  }
  #primary-nav.is-open { left: 0; }

  #primary-nav ul {
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
  }
  #primary-nav ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  #primary-nav ul li a {
    display: block;
    padding: 13px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
  }
  #primary-nav ul li a:hover { background: rgba(255,255,255,.08); }

  /* Mobil nav extras */
  .sm-mobile-nav-extras {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255,255,255,.15);
    margin-top: 8px;
  }
  .sm-mobile-nav-extras a {
    padding: 12px 20px;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    text-decoration: none;
  }
  .sm-mobile-nav-extras a:hover { color: #fff; background: rgba(255,255,255,.06); }

  /* Grid'ler */
  .sm-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .sm-category-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .sm-promo-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sm-shop-layout { grid-template-columns: 1fr; }
  .sm-product-single { grid-template-columns: 1fr; }
  .sm-product-buy-box { grid-column: span 1; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }

  /* Footer */
  /* ── Footer tablet & mobil akordyon ── */
  .footer-widgets { grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 20px; }
  .footer-bottom { padding: 14px 20px; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; justify-content: center; }

  /* Toggle: tıklanabilir */
  .footer-widget-toggle {
    pointer-events: auto !important;
    cursor: pointer !important;
    padding: 7px 16px !important;
    margin-bottom: 0 !important;
    font-size: 14px !important;
  }
  .footer-toggle-icon { display: block !important; transition: transform .25s; }
  .footer-widget-toggle[aria-expanded="true"] .footer-toggle-icon { transform: rotate(180deg); }

  /* Liste kuralları global CSS'e taşındı — buraya gerek yok */

  /* Hero */
  .sm-hero { min-height: 260px; }
  .sm-hero-inner { padding: 24px 16px; }
  .sm-hero-inner h1 { font-size: 26px; }
  .sm-hero-inner p { font-size: 14px; }
  .hero-btns { flex-wrap: wrap; gap: 10px; }

  /* Trust strip */
  /* Trust strip — tablet */
  .sm-trust-strip { gap: 16px; padding: 8px 16px; justify-content: center; }
  .sm-trust-item { font-size: 12px; }

  /* Section header */
  .section-header { flex-direction: column; gap: 8px; align-items: flex-start; }

  /* Deal banner */
  .sm-deal-banner { flex-direction: column; padding: 20px 16px; gap: 16px; }
  .sm-deal-timer { justify-content: center; }

  /* Ürün tek sayfa */
  .sm-product-single .sm-product-gallery { padding: 0; }
  .woocommerce div.product .woocommerce-product-gallery { margin-bottom: 20px; }

  /* Sidebar filtre gizle, butona bağla */
  .sm-filter-sidebar { display: none; }
  .sm-filter-sidebar.is-open { display: block; }

  /* Ana içerik padding */
  .sm-main-content, .sm-page-content { padding: 0 12px; }

  /* Breadcrumb */
  .sm-breadcrumb { padding: 8px 12px; font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}

/* ─── Mobil ≤ 480px ─── */
@media (max-width: 480px) {
  /* Trust strip — mobil: 2x2 grid, çizgi yok */
  .sm-trust-strip {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-auto-rows: 1fr !important;      /* her satır eşit yükseklik */
    gap: 1px !important;
    padding: 0 !important;
    background: #e8eaed !important;
    overflow-x: visible !important;
    flex-wrap: unset !important;
    justify-content: unset !important;
    align-items: stretch !important;
  }
  .sm-trust-item {
    background: #fff !important;
    padding: 10px 6px !important;
    font-size: 11px !important;
    gap: 4px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    flex-direction: column !important;
    flex-shrink: unset !important;
    line-height: 1.3 !important;
    align-items: center !important;
    align-self: stretch !important;      /* grid'de tam yükseklik */
    box-sizing: border-box !important;
    display: flex !important;
  }
  .sm-trust-item img, .sm-trust-item img.emoji {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
  }

  /* Trust strip — 480px: yatay scroll devam (global kuraldan alır) */

  /* Header */
  #site-header { padding: 8px 10px; }
  .site-logo a { font-size: 16px; }
  .header-search { height: 36px; }
  .search-text-input { font-size: 12px; padding: 0 8px; }
  .search-submit-btn { width: 38px; font-size: 16px; }

  /* Grid tek sütun için ürünler */
  .sm-product-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }

  /* Ürün kartı */
  .sm-product-card { border-radius: 8px; }
  .sm-product-title { font-size: 12px; line-height: 1.3; -webkit-line-clamp: 2; }
  .sm-price { font-size: 14px; }
  .sm-price-old { font-size: 11px; }
  .sm-loop-img { height: 130px !important; }
  .sm-add-to-cart { font-size: 11px; padding: 6px 8px; }

  /* Kategori grid */
  .sm-category-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }

  /* Promo grid */
  .sm-promo-grid { grid-template-columns: 1fr; gap: 8px; }

  /* Hero */
  .sm-hero { min-height: 220px; }
  .sm-hero-inner h1 { font-size: 22px; }
  .sm-hero-inner p { font-size: 13px; }
  .hero-btns a { font-size: 13px; padding: 10px 18px; }

  /* Footer — mobil: tek sütun */
  .footer-widgets { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .footer-widget {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .footer-widget-toggle {
    pointer-events: auto !important;
    cursor: pointer !important;
    padding: 7px 16px !important;
    margin-bottom: 0 !important;
    font-size: 13px !important;
  }
  .footer-toggle-icon { display: block !important; transition: transform .25s; }
  .footer-widget-toggle[aria-expanded="true"] .footer-toggle-icon { transform: rotate(180deg); }
  /* Liste akordyon — 768px bloğuna taşındı */
  .footer-widget-list li { padding: 0 16px; }
  .footer-widget-list li:first-child { padding-top: 4px; }
  .footer-widget-list li:last-child { padding-bottom: 14px; }
  /* Sidebar widget akordyonu olmayan varsa */
  .footer-widget h4 { padding: 14px 16px; margin: 0; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .footer-widget ul { padding: 8px 16px 14px !important; }
  .footer-widget ul li a { font-size: 12px; }

  /* Footer alt bar */
  .footer-bottom { padding: 14px 16px; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; justify-content: center; }
  .footer-logo { font-size: 18px; }
  .footer-copy { font-size: 11px; }

  /* Başa dön */
  .footer-back-top { padding: 10px 14px; font-size: 12px; }

  /* Deal banner */
  .sm-timer-num { font-size: 24px; }
  .sm-timer-box { min-width: 52px; }

  /* Promo kart */
  .sm-promo-card { padding: 16px 12px; }
  .sm-promo-icon { font-size: 24px; }

  /* WC hesabım */
  .woocommerce-account .woocommerce { flex-direction: column; }
  .woocommerce-MyAccount-navigation { width: 100%; margin-bottom: 20px; }
  .woocommerce-MyAccount-content { padding: 0; }

  /* Sepet */
  /* Sepet tablosu — mobil */
  table.woocommerce-cart-form__contents { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.woocommerce-cart-form__contents td { padding: 10px 8px; font-size: 12px; }
  table.woocommerce-cart-form__contents .product-thumbnail { width: 56px; }
  table.woocommerce-cart-form__contents .product-thumbnail img { width: 56px !important; height: 56px !important; }
  .cart_totals, .wc-proceed-to-checkout { width: 100%; float: none !important; }
  .cart-collaterals { justify-content: center !important; }
  .woocommerce-cart table.cart .actions .coupon { flex-wrap: wrap; }
  .woocommerce-cart table.cart .actions .coupon input#coupon_code { width: 100% !important; }

  /* Breadcrumb */
  .sm-breadcrumb { font-size: 11px; }
}

/* ─── Küçük mobil ≤ 375px ─── */
@media (max-width: 375px) {
  .sm-product-grid { grid-template-columns: repeat(2, 1fr); gap: 5px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .site-logo a { font-size: 14px; }
  #primary-nav { width: 260px; }
}

/* ─── Yatay mobil ─── */
@media (max-width: 812px) and (orientation: landscape) {
  .sm-hero { min-height: 200px; }
  .sm-hero-inner h1 { font-size: 24px; }
  #primary-nav { width: 240px; }
}

/* ============================================================
   FIX: First product empty gap — WooCommerce first/last classes
   ============================================================ */
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last,
.woocommerce-page ul.products li.product.first,
.woocommerce-page ul.products li.product.last {
  /* Remove any float-based first/last offsets WC adds */
  margin-left: 0 !important;
  margin-right: 0 !important;
  clear: none !important;
}

/* Fix: WC sometimes adds clear:both to first item in loop */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
}

/* sm-loop-img: full card image */
.sm-loop-img {
  width: 100% !important;
  height: 180px !important;
  object-fit: contain !important;
  background: #f7f8f8 !important;
  border-bottom: 1px solid var(--sm-border) !important;
  padding: 10px !important;
  display: block !important;
}

/* sm-loop-img-link: no underline */
.sm-loop-img-link { display: block; text-decoration: none !important; }
.sm-loop-img-link:hover { text-decoration: none !important; }

/* ============================================================
   WooCommerce CART PAGE — Mükemmel Tasarım
   ============================================================ */

/* Genel WC sayfa container */
/* ================================================================
   SEPET & ÖDEME — Tam Tasarım v2.5
   ================================================================ */

/* ── Sayfa wrapper ── */
.sm-wc-page {
  max-width: 100%;
  margin: 0;
  padding: 0 0 40px;
  box-sizing: border-box;
}
/* ── sm-wc-page wrapper yoksa doğrudan sm-page-body'e stil ── */
.woocommerce-cart .sm-page-body,
.woocommerce-checkout .sm-page-body {
  padding: 16px 20px 48px !important;
  box-sizing: border-box !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}


/* ── İlerleme adımları ── */
.sm-checkout-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 0 auto 24px;
  max-width: 420px;
  padding: 16px 0 0;
}
.sm-cs {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
.sm-cs::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #e8eaed;
  z-index: 0;
}
.sm-cs:last-child::after { display: none; }
.sm-cs.done::after { background: #067D62; }
.sm-cs.active::after { background: #ff9900; }
.sm-cs-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8eaed;
  color: #888;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.sm-cs.active .sm-cs-dot { background: #ff9900; color: #fff; }
.sm-cs.done .sm-cs-dot   { background: #067D62; color: #fff; font-size: 14px; }
.sm-cs-lbl {
  font-size: 11px;
  font-weight: 600;
  color: #aaa;
  text-align: center;
  white-space: nowrap;
}
.sm-cs.active .sm-cs-lbl { color: #ff9900; }
.sm-cs.done .sm-cs-lbl   { color: #067D62; }

/* ── Genel WC sayfa container ── */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  width: 100% !important;
  float: none !important;
}

/* ══════════════════════════════════════════════════════
   SEPET — 2 sütun grid
══════════════════════════════════════════════════════ */
.woocommerce-cart .woocommerce {
  display: grid !important;
  grid-template-columns: 1fr 320px !important;
  grid-template-rows: auto auto !important;
  gap: 16px !important;
  align-items: flex-start !important;
}
.woocommerce-cart .woocommerce .woocommerce-notices-wrapper {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
}
.woocommerce-cart .woocommerce .woocommerce-cart-form {
  grid-column: 1 !important;
  grid-row: 2 !important;
  min-width: 0;
}
.woocommerce-cart .woocommerce .cart-collaterals {
  grid-column: 2 !important;
  grid-row: 2 !important;
  position: sticky !important;
  top: 80px !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  display: block !important;
}

/* ── Sepet tablosu ── */
.woocommerce-cart table.cart {
  border-collapse: collapse !important;
  width: 100% !important;
  font-size: 14px !important;
  background: #fff !important;
  border: 1px solid #e3e6e6 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 6px rgba(0,0,0,.07) !important;
  table-layout: fixed !important;
}
/* Sütun genişlikleri — table-layout:fixed ile kesin uygulama */
.woocommerce-cart table.cart thead th.product-remove   { width: 44px !important;  overflow: hidden !important; font-size: 0 !important; }
.woocommerce-cart table.cart thead th.product-thumbnail{ width: 90px !important;  overflow: hidden !important; font-size: 0 !important; }
.woocommerce-cart table.cart thead th.product-price    { width: 90px !important; }
.woocommerce-cart table.cart thead th.product-quantity { width: 140px !important; }
.woocommerce-cart table.cart thead th.product-subtotal {
  width: 155px !important;
  font-size: 0 !important;     /* orijinal metni gizle */
  text-align: right !important;
}
.woocommerce-cart table.cart thead th.product-subtotal::after {
  content: "Toplam";
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #febd69 !important;
  letter-spacing: .3px !important;
  text-transform: uppercase !important;
}
/* product-name kalan alanı alır (1fr) */
/* Başlık */
.woocommerce-cart table.cart thead tr th {
  background: #232f3e !important;
  color: #fff !important;
  padding: 11px 14px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: .3px !important;
  text-transform: uppercase !important;
  border: none !important;
  text-align: left !important;
  white-space: nowrap !important;
}
.woocommerce-cart table.cart thead th.product-subtotal { color: #febd69 !important; text-align: right !important; }
.woocommerce-cart table.cart thead th.product-price    { text-align: center !important; color: #fff !important; }
.woocommerce-cart table.cart thead th.product-quantity { text-align: center !important; }
.woocommerce-cart table.cart thead th.product-remove   { width: 44px !important; }
.woocommerce-cart table.cart thead th.product-thumbnail{ width: 90px !important; }

/* Satırlar */
.woocommerce-cart table.cart tbody tr td {
  padding: 16px !important;
  border-bottom: 1px solid #f0f2f2 !important;
  vertical-align: middle !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}
.woocommerce-cart table.cart tbody tr:last-child td { border-bottom: none !important; }
.woocommerce-cart table.cart tbody tr:hover td { background: #fafbfb !important; }

/* Sil butonu */
.woocommerce-cart table.cart .product-remove { text-align: center !important; width: 44px !important; overflow: hidden !important; }
.woocommerce-cart table.cart .product-remove a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #fff0f0 !important;
  color: #cc0c39 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: 1px solid #fcc !important;
  transition: all .15s !important;
  line-height: 1 !important;
}
.woocommerce-cart table.cart .product-remove a:hover {
  background: #cc0c39 !important;
  color: #fff !important;
  border-color: #cc0c39 !important;
}

/* Ürün görseli */
.woocommerce-cart table.cart .product-thumbnail img {
  width: 76px !important;
  height: 76px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  border: 1px solid #e8eaed !important;
  padding: 4px !important;
  background: #f7f8f8 !important;
  display: block !important;
}

/* Ürün adı */
.woocommerce-cart table.cart .product-name {
  min-width: 200px !important;
}
.woocommerce-cart table.cart .product-name a {
  color: #0f1111 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
}
.woocommerce-cart table.cart .product-name a:hover {
  color: #007185 !important;
  text-decoration: underline !important;
}
.woocommerce-cart table.cart .product-name .variation { font-size: 12px !important; color: #666 !important; margin-top: 3px !important; }

/* Fiyat & ara toplam */
.woocommerce-cart table.cart .product-price    { text-align: center !important; font-size: 14px !important; color: #333 !important; }
.woocommerce-cart table.cart .product-subtotal { text-align: right !important; font-size: 15px !important; font-weight: 800 !important; color: #cc0c39 !important; white-space: nowrap !important; padding-right: 16px !important; }

/* Miktar — wrapper için +/- JS ekleyecek */
.woocommerce-cart table.cart .product-quantity { text-align: center !important; }
.woocommerce-cart table.cart .product-quantity .qty,
.woocommerce-cart table.cart input.qty {
  width: 52px !important;
  padding: 7px 6px !important;
  border: 2px solid #e3e6e6 !important;
  border-radius: 7px !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  -moz-appearance: textfield !important;
}
.woocommerce-cart table.cart input.qty:focus { border-color: #ff9900 !important; outline: none !important; }
.woocommerce-cart table.cart input.qty::-webkit-outer-spin-button,
.woocommerce-cart table.cart input.qty::-webkit-inner-spin-button { -webkit-appearance: none !important; }

/* +/- miktar kontrolleri (JS ile eklenir) */
.sm-qty-wrap {
  display: inline-flex !important;
  align-items: stretch !important;
  border: 2px solid #e3e6e6 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  max-width: 120px !important;
}
.sm-qty-wrap .sm-q-btn {
  width: 30px !important;
  min-width: 30px !important;
  background: #f7f8f8 !important;
  border: none !important;
  font-size: 18px !important;
  color: #555 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background .12s !important;
}
.sm-qty-wrap .sm-q-btn:hover { background: #eee !important; }
.sm-qty-wrap input.qty {
  width: 44px !important;
  min-width: 44px !important;
  border: none !important;
  border-left: 2px solid #e3e6e6 !important;
  border-right: 2px solid #e3e6e6 !important;
  border-radius: 0 !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 6px 4px !important;
}

/* Kupon & güncelleme satırı */
.woocommerce-cart table.cart .actions {
  padding: 14px 16px !important;
  background: #f7f8f8 !important;
  border-top: 1px solid #e8eaed !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
.woocommerce-cart table.cart .actions .coupon {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}
.woocommerce-cart table.cart .actions .coupon input#coupon_code {
  padding: 9px 14px !important;
  border: 2px solid #e3e6e6 !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  min-width: 160px !important;
  transition: border-color .15s !important;
}
.woocommerce-cart table.cart .actions .coupon input#coupon_code:focus {
  border-color: #ff9900 !important;
  outline: none !important;
}
.woocommerce-cart table.cart .actions .coupon .button,
.woocommerce-cart table.cart .actions button[name="apply_coupon"] {
  background: #232f3e !important;
  color: #fff !important;
  border: none !important;
  padding: 9px 18px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-size: 13px !important;
}
/* Actions satırı (WC kupon + güncelle) — özel kupon alanımız sağda var */
.woocommerce-cart table.cart tr:has(.actions),
.woocommerce-cart table.cart td.actions {
  display: none !important;
}
.woocommerce-cart table.cart .actions button[name="update_cart"] {
  display: none !important;
}
/* ── Sipariş Toplamları ── */
.cart-collaterals { margin: 0 !important; display: block !important; float: none !important; }
.cart_totals {
  background: #fff !important;
  border: 1px solid #e3e6e6 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.08) !important;
  width: 100% !important;
  float: none !important;
}
.cart_totals h2 {
  background: #232f3e !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.cart_totals h2::before { content: '🛒'; font-size: 15px; }
.cart_totals table { width: 100% !important; border-collapse: collapse !important; margin: 0 !important; }
.cart_totals table th {
  padding: 12px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #666 !important;
  background: #fafbfb !important;
  border-bottom: 1px solid #f0f2f2 !important;
  width: 42% !important;
  text-align: left !important;
  vertical-align: middle !important;
}
.cart_totals table td {
  padding: 12px 18px !important;
  font-size: 14px !important;
  border-bottom: 1px solid #f0f2f2 !important;
  color: #0f1111 !important;
  vertical-align: middle !important;
}
.cart_totals table .order-total th,
.cart_totals table .order-total td {
  font-size: 17px !important;
  font-weight: 800 !important;
  background: #fffbf0 !important;
  padding: 15px 18px !important;
  border-bottom: none !important;
}
.cart_totals table .order-total td { color: #cc0c39 !important; }

/* Kargo satırı */
.cart_totals table .shipping td ul#shipping_method { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.cart_totals table .shipping td ul#shipping_method li { list-style: none !important; padding: 0 !important; margin: 0 0 4px !important; display: flex !important; align-items: center !important; gap: 6px !important; }
.cart_totals table .shipping td ul#shipping_method li label { font-size: 13px !important; cursor: pointer !important; }
.cart_totals .shipping-calculator-button { color: #007185 !important; font-size: 12px !important; }

/* Ücretsiz kargo progress bar */
.sm-free-ship-bar {
  margin: 0 !important;
  padding: 10px 18px !important;
  background: #f0fdf4 !important;
  border-bottom: 1px solid #f0f2f2 !important;
  font-size: 12px !important;
  color: #166534 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}
.sm-free-ship-bar strong { font-weight: 700 !important; }
.sm-ship-track { height: 5px !important; background: #d1fae5 !important; border-radius: 3px !important; overflow: hidden !important; }
.sm-ship-fill  { height: 5px !important; background: #16a34a !important; border-radius: 3px !important; transition: width .4s !important; }

/* Ödeme Butonu */
.wc-proceed-to-checkout { padding: 0 !important; }
.wc-proceed-to-checkout .checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  background: #ff9900 !important;
  color: #0f1111 !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 16px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  gap: 8px !important;
  transition: background .15s !important;
  letter-spacing: -.2px !important;
}
.wc-proceed-to-checkout .checkout-button:hover { background: #e68900 !important; text-decoration: none !important; }
.wc-proceed-to-checkout .checkout-button::before { content: '🔒'; font-size: 14px; }

/* Güven + geri link */
.sm-cart-trust-row {
  display: flex !important;
  justify-content: space-around !important;
  padding: 10px 14px !important;
  border-top: 1px solid #f0f2f2 !important;
  background: #fafbfb !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
}
.sm-cart-trust-row span { font-size: 11px !important; color: #666 !important; display: flex !important; align-items: center !important; gap: 4px !important; }
.sm-back-shop { display: block !important; padding: 10px 18px !important; font-size: 12px !important; color: #007185 !important; text-decoration: none !important; border-top: 1px solid #f0f2f2 !important; }
.sm-back-shop:hover { text-decoration: underline !important; }

/* Boş sepet */
.woocommerce-cart .cart-empty { text-align: center !important; padding: 48px 20px !important; font-size: 18px !important; color: #888 !important; }
.woocommerce-cart .return-to-shop { text-align: center !important; margin-top: 20px !important; }
.woocommerce-cart .return-to-shop .button {
  display: inline-flex !important;
  background: #232f3e !important;
  color: #fff !important;
  padding: 13px 28px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  font-size: 15px !important;
}

/* ══════════════════════════════════════════════════════
   ÖDEME SAYFASI
══════════════════════════════════════════════════════ */
/* Checkout wrapper — sağ özet, sol adımlar */
.sm-checkout-page .woocommerce,
.sm-checkout-page form.checkout { width: 100% !important; }

/* Checkout grid zaten form-checkout.php'de .sm-co-grid */
.sm-co-wrap  { max-width: 900px !important; margin: 0 auto !important; }
.sm-co-grid  { display: grid !important; grid-template-columns: 1fr 300px !important; gap: 20px !important; align-items: flex-start !important; }
.sm-co-left  { min-width: 0 !important; }
.sm-co-right { position: sticky !important; top: 76px !important; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
/* Tablet — 960px */
@media (max-width: 960px) {
  /* Cart: tek sütun, kolateral ÜSTTE */
  .woocommerce-cart .woocommerce {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .woocommerce-cart .woocommerce .woocommerce-notices-wrapper {
    order: 0 !important;
  }
  /* Sipariş özeti ÜST'E çık — müşteri önce toplamı görsün */
  .woocommerce-cart .woocommerce .cart-collaterals {
    order: 2 !important;
    position: static !important;
    width: 100% !important;
  }
  /* Sepet tablosu altında */
  .woocommerce-cart .woocommerce .woocommerce-cart-form {
    order: 1 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .cart_totals { width: 100% !important; }
  .wc-proceed-to-checkout .checkout-button { font-size: 15px !important; }
}

/* Tablet ödeme — 820px */
@media (max-width: 820px) {
  .sm-co-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .sm-co-right { position: static !important; order: -1 !important; }
  .sm-co-wrap  { max-width: 100% !important; }
}

/* Mobil — 600px */
@media (max-width: 600px) {
  .sm-wc-page { padding: 12px 12px 80px !important; }
  .sm-checkout-steps { margin-bottom: 16px !important; }
  .sm-cs-lbl { font-size: 10px !important; }
  .sm-cs-dot { width: 24px !important; height: 24px !important; font-size: 11px !important; }

  /* Sepet tablosu kaydırılabilir */
  .woocommerce-cart-form { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
  .woocommerce-cart table.cart { min-width: 480px !important; }

  /* Eylemler dikey */
  .woocommerce-cart table.cart .actions { flex-direction: column !important; align-items: stretch !important; }
  .woocommerce-cart table.cart .actions .coupon { flex-direction: column !important; }
  .woocommerce-cart table.cart .actions .coupon input#coupon_code { min-width: 0 !important; width: 100% !important; }
  .woocommerce-cart table.cart .actions button[name="apply_coupon"] { width: 100% !important; }

  /* Ödeme adımları */
  .sm-step-head { padding: 12px 14px !important; gap: 10px !important; }
  .sm-step-body { padding: 2px 12px 12px !important; }
  /* Form alanları arası boşluk kompakt */
  .sm-step-body .form-row, .sm-step-body p.form-row {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
  }
  .sm-step-body .form-row label {
    font-size: 10px !important;
    margin-bottom: 3px !important;
  }
  .sm-step-body .form-row input.input-text,
  .sm-step-body .form-row select,
  .sm-step-body .form-row textarea {
    padding: 9px 11px !important;
    font-size: 15px !important;
  }
  .sm-stitle { font-size: 13px !important; }
  .sm-snum   { width: 28px !important; height: 28px !important; min-width: 28px !important; font-size: 12px !important; }
  .sm-fgrid, #sm-billing-grid { grid-template-columns: 1fr !important; }
  .sm-fgrid .form-row-wide,
  .sm-fgrid .form-row-first,
  .sm-fgrid .form-row-last,
  .sm-notes-wrap { grid-column: span 1 !important; }
  .sm-cont-btn { width: 100% !important; justify-content: center !important; font-size: 14px !important; }
  .sm-place-btn { font-size: 15px !important; padding: 14px !important; }
  .sm-gw-label { padding: 11px 12px !important; font-size: 13px !important; }
  .sm-sum-item { padding: 9px 12px !important; gap: 8px !important; }
  .sm-sum-img  { width: 38px !important; height: 38px !important; min-width: 38px !important; }
  .sm-sum-name { font-size: 12px !important; }
  .sm-invoice-toggle-btn { font-size: 11px !important; padding: 7px 10px !important; }
  .sm-sum-head { padding: 10px 12px !important; font-size: 12px !important; }
  .sm-sum-row  { padding: 8px 12px !important; font-size: 12px !important; }
  .sm-sum-row.grand { padding: 11px 12px !important; font-size: 14px !important; }
}

@media (max-width: 400px) {
  .sm-wc-page { padding: 8px 8px 80px !important; }
  .woocommerce-cart table.cart tbody tr td { padding: 10px 10px !important; }
  .woocommerce-cart table.cart thead tr th { padding: 10px 10px !important; font-size: 11px !important; }
}

/* ════════════════════════════════════════════════════════
   MOBİL — Kompakt Tasarım (768px altı)
   Sepet + Ödeme sayfaları
════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Sayfa wrapper padding sıfırlama (CSS katmanı — JS ile de destekleniyor) ── */
  .woocommerce-cart .sm-page-wrap,
  .woocommerce-checkout .sm-page-wrap {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  .woocommerce-cart article,
  .woocommerce-checkout article {
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: #f5f5f5 !important;
    min-height: 0 !important;
    margin: 0 !important;
  }
  .woocommerce-cart .sm-page-body,
  .woocommerce-checkout .sm-page-body {
    padding: 0 !important;
    width: 100% !important;
  }

  /* ── ADIM ÇUBUĞU ── */
  .sm-checkout-steps {
    background: #fff !important;
    border-bottom: 1px solid #f0f2f2 !important;
    padding: 10px 16px 8px !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  .sm-cs-dot { width: 22px !important; height: 22px !important; font-size: 10px !important; }
  .sm-cs-lbl { font-size: 9px !important; }
  .sm-cs::after { height: 1.5px !important; top: 11px !important; }

  /* ════════════════════════════
     SEPET SAYFASI
  ════════════════════════════ */

  /* Flex sütun — ürünler üste, özet alta */
  .woocommerce-cart .woocommerce {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    background: #f5f5f5 !important;
  }
  .woocommerce-cart .woocommerce .woocommerce-notices-wrapper { order: 0 !important; }
  .woocommerce-cart .woocommerce .woocommerce-cart-form {
    order: 1 !important;
    overflow: visible !important;
    width: 100% !important;
  }
  .woocommerce-cart .woocommerce .cart-collaterals {
    order: 2 !important;
    position: static !important;
    width: 100% !important;
  }

  /* Tablo → Kart listesi */
  .woocommerce-cart table.cart,
  .woocommerce-cart table.cart tbody {
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-width: 0 !important;
  }
  .woocommerce-cart table.cart thead { display: none !important; }

  /* Her ürün = CSS Grid kart */
  .woocommerce-cart table.cart tbody tr.woocommerce-cart-form__cart-item {
    display: grid !important;
    grid-template-columns: 68px 1fr 26px !important;
    grid-template-rows: auto auto !important;
    column-gap: 10px !important;
    row-gap: 8px !important;
    background: #fff !important;
    margin-bottom: 2px !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid #f0f2f2 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
  }
  .woocommerce-cart table.cart tbody tr td {
    display: block !important;
    border: none !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* Görsel: sütun 1, satır 1-2 */
  .woocommerce-cart table.cart td.product-thumbnail {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
  }
  .woocommerce-cart table.cart td.product-thumbnail img {
    width: 68px !important;
    height: 68px !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    border: 1px solid #ebebeb !important;
    padding: 3px !important;
    background: #fafafa !important;
    display: block !important;
  }

  /* Ürün adı: sütun 2, satır 1 */
  .woocommerce-cart table.cart td.product-name {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    overflow: hidden !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .woocommerce-cart table.cart td.product-name a {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #111 !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-decoration: none !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
  .woocommerce-cart table.cart td.product-name .variation {
    font-size: 11px !important;
    color: #888 !important;
    margin-top: 2px !important;
  }

  /* Sil butonu: sütun 3, satır 1 */
  .woocommerce-cart table.cart td.product-remove {
    grid-column: 3 !important;
    grid-row: 1 !important;
    align-self: start !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: 26px !important;
    text-align: center !important;
  }
  .woocommerce-cart table.cart td.product-remove a {
    width: 24px !important;
    height: 24px !important;
    font-size: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Fiyat: gizle (kompakt) */
  .woocommerce-cart table.cart td.product-price { display: none !important; }

  /* Miktar: sütun 2, satır 2 */
  .woocommerce-cart table.cart td.product-quantity {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: center !important;
    justify-self: start !important;
  }

  /* Toplam: sütun 3, satır 2 */
  .woocommerce-cart table.cart td.product-subtotal {
    grid-column: 3 !important;
    grid-row: 2 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #c0392b !important;
    align-self: center !important;
    justify-self: end !important;
    text-align: right !important;
    white-space: nowrap !important;
  }

  /* Miktar +/- butonları kompakt */
  .sm-qty-wrap {
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 6px !important;
    display: inline-flex !important;
  }
  .sm-qty-wrap .sm-q-btn {
    width: 28px !important;
    height: 30px !important;
    font-size: 16px !important;
    background: #f7f7f7 !important;
    border: none !important;
  }
  .sm-qty-wrap input.qty {
    width: 36px !important;
    height: 30px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border: none !important;
    border-left: 1.5px solid #e0e0e0 !important;
    border-right: 1.5px solid #e0e0e0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  /* Aksiyon satırı (kupon) */
  .woocommerce-cart table.cart .actions {
    display: block !important;
    background: #fff !important;
    padding: 10px 14px !important;
    border-bottom: 6px solid #f5f5f5 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .woocommerce-cart table.cart .actions .coupon {
    display: flex !important;
    gap: 8px !important;
    align-items: stretch !important;
  }
  .woocommerce-cart table.cart .actions .coupon input#coupon_code {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 9px 12px !important;
    font-size: 13px !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
  }
  .woocommerce-cart table.cart .actions .coupon .button,
  .woocommerce-cart table.cart .actions button[name="apply_coupon"] {
    white-space: nowrap !important;
    padding: 9px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
  }
  /* Sepeti güncelle butonu — mobilde görünür */

  /* ── Sipariş Özeti (Cart) — kompakt ── */
  .cart-collaterals { background: #f5f5f5 !important; }
  .cart_totals {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .cart_totals h2 {
    background: #fff !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #f0f2f2 !important;
    margin: 0 !important;
  }
  .cart_totals h2::before { display: none !important; }
  .cart_totals table { background: #fff !important; margin: 0 !important; }
  .cart_totals table th {
    padding: 10px 14px !important;
    font-size: 12px !important;
    background: #fff !important;
    border-bottom: 1px solid #f5f5f5 !important;
  }
  .cart_totals table td {
    padding: 10px 14px !important;
    font-size: 13px !important;
    border-bottom: 1px solid #f5f5f5 !important;
  }
  .cart_totals table .order-total th {
    padding: 13px 14px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    background: #fffbf0 !important;
    border: none !important;
  }
  .cart_totals table .order-total td {
    padding: 13px 14px !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #c0392b !important;
    background: #fffbf0 !important;
    border: none !important;
  }
  .sm-free-ship-bar { font-size: 11px !important; padding: 8px 14px !important; }
  .sm-ship-track { height: 4px !important; }
  .wc-proceed-to-checkout {
    padding: 12px 14px !important;
    background: #fff !important;
    border-top: 1px solid #f0f2f2 !important;
  }
  .wc-proceed-to-checkout .checkout-button {
    padding: 14px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
  }
  .sm-cart-trust-row {
    padding: 8px 14px 10px !important;
    gap: 8px !important;
    background: #fff !important;
  }
  .sm-cart-trust-row span { font-size: 10px !important; }
  .sm-back-shop {
    padding: 8px 14px 14px !important;
    font-size: 12px !important;
    background: #fff !important;
    border-top: none !important;
  }

  /* ════════════════════════════
     ÖDEME SAYFASI
  ════════════════════════════ */

  /* Grid → tek sütun */
  .sm-co-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* Sol (adımlar) üstte, Sağ (özet) altta */
  .sm-co-left { order: 2 !important; }
  .sm-co-right {
    order: 1 !important;
    position: static !important;
  }
  .sm-co-wrap {
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* Adım kartları — compact, tam genişlik, köşesiz */
  .sm-step {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    margin-bottom: 2px !important;
    box-shadow: none !important;
  }
  .sm-step:first-child { border-top: none !important; }
  .sm-step-head {
    padding: 12px 14px !important;
    gap: 10px !important;
  }
  .sm-step-body { padding: 2px 12px 12px !important; }
  /* Form alanları arası boşluk kompakt */
  .sm-step-body .form-row, .sm-step-body p.form-row {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
  }
  .sm-step-body .form-row label {
    font-size: 10px !important;
    margin-bottom: 3px !important;
  }
  .sm-step-body .form-row input.input-text,
  .sm-step-body .form-row select,
  .sm-step-body .form-row textarea {
    padding: 9px 11px !important;
    font-size: 15px !important;
  }
  .sm-stitle { font-size: 14px !important; }
  .sm-sdesc { font-size: 11px !important; }
  .sm-snum {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 13px !important;
  }

  /* Form alanları tek sütun — inline style olmadan CSS kontrol eder */
  .sm-fgrid,
  #sm-billing-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .sm-fgrid .form-row-wide,
  .sm-fgrid .form-row-first,
  .sm-fgrid .form-row-last,
  #sm-billing-grid .form-row {
    grid-column: span 1 !important;
  }
  .sm-fgrid .form-row-wide,
  .sm-fgrid .form-row-first,
  .sm-fgrid .form-row-last,
  .sm-notes-wrap {
    grid-column: span 1 !important;
  }

  /* Form input'ları */
  .sm-step-body .form-row input.input-text,
  .sm-step-body .form-row select {
    font-size: 16px !important; /* iOS zoom'unu engelle */
  }

  /* Devam butonu */
  .sm-cont-btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 14px !important;
    padding: 12px !important;
  }

  /* Fatura tipi toggle */
  .sm-invoice-toggle { gap: 6px !important; }
  .sm-invoice-toggle-btn {
    font-size: 12px !important;
    padding: 8px 12px !important;
  }

  /* Ödeme yöntemi */
  .sm-gw-label {
    padding: 12px !important;
    font-size: 13px !important;
  }

  /* Siparişi Onayla butonu */
  .sm-place-btn {
    font-size: 15px !important;
    padding: 14px !important;
    border-radius: 8px !important;
  }

  /* ── Sipariş Özeti (Checkout sağ panel) — kompakt ── */
  .sm-summary {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
  }
  .sm-sum-head {
    padding: 10px 14px !important;
    font-size: 13px !important;
  }
  .sm-sum-item {
    padding: 10px 14px !important;
    gap: 10px !important;
  }
  .sm-sum-img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
  .sm-sum-name { font-size: 12px !important; }
  .sm-sum-qty  { font-size: 11px !important; }
  .sm-sum-price { font-size: 12px !important; }
  .sm-sum-row {
    padding: 9px 14px !important;
    font-size: 12px !important;
  }
  .sm-sum-row.grand {
    padding: 12px 14px !important;
    font-size: 15px !important;
  }
  .sm-trust {
    padding: 10px 14px !important;
  }
  .sm-trust span { font-size: 11px !important; }

  /* Kupon özette */
  .sm-sum-coupon { display: flex !important; gap: 8px !important; padding: 10px 14px !important; }
  .sm-sum-coupon input { flex: 1 !important; min-width: 0 !important; font-size: 13px !important; }

  /* Select2 mobil */
  .sm-step-body .select2-container .select2-selection--single { height: 46px !important; }
}


/* ════════════════════════════════════════════════════
   MOBİL SAYFA ŞABLONU — Cart & Checkout'ta 0 padding
   ARTICLE inline style'ı ve sm-page-body padding'ini kaldır
════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* sm-page-wrap konteyneri — tam genişlik */
  .woocommerce-cart .sm-page-wrap,
  .woocommerce-checkout .sm-page-wrap {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  /* ARTICLE — inline style'ı ezmek için !important */
  .woocommerce-cart article,
  .woocommerce-checkout article {
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #f5f5f5 !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  /* sm-page-body */
  .woocommerce-cart .sm-page-body,
  .woocommerce-checkout .sm-page-body {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* .woocommerce wrapper — tam genişlik */
  .woocommerce-cart .woocommerce,
  .woocommerce-checkout .woocommerce {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* Kupon alanındaki büyük emoji görseli gizle */
@media (max-width: 768px) {
  .cart-collaterals .sm-cart-coupon-img,
  .cart-collaterals img:not(.sm-sum-img):not(.product-thumbnail img),
  .woocommerce-error img,
  .woocommerce-message img { 
    display: none !important;
  }
}

/* ════ MOBİL: Büyük emoji SVG görselleri gizle ════ */
@media (max-width: 768px) {
  /* Kupon alanı büyük etiket/hediye SVG'si */
  img[src*="1f3f7"],
  img[src*="1f381"],
  img[alt="🏷️"],
  img[alt="🎁"],
  img[alt="🛍️"] {
    display: none !important;
  }

  /* Bildirim/confetti popup SVG'si */
  img[src*="1f389"],
  img[src*="1f514"],
  .ph-popup-fab img {
    display: none !important;
  }

  /* Elab kupon/sipariş buton alanı */
  .elab-coupon img,
  .elab-ship img,
  .elab-shipping img {
    display: none !important;
  }

  /* WC kupon toggle alanındaki büyük görseller */
  .woocommerce-form-coupon-toggle img,
  .sm-cart-coupon-area img {
    display: none !important;
  }

  /* Genel: 200px'ten büyük tüm svgden gelen emojileri gizle */
  .woocommerce-cart .cart-collaterals img[src*=".svg"]:not([height]):not([width]),
  .woocommerce-cart .cart-collaterals img[src*="emoji"],
  .woocommerce-cart img[src*="1f3f7"],
  .woocommerce-cart img[src*="1f381"],
  .woocommerce-cart img[src*="1f389"] {
    display: none !important;
  }
}

/* ════ MOBİL: Tüm büyük emoji SVG/img gizle ════ */
@media (max-width: 768px) {
  /* Checkout adım başlık ikonları */
  .sm-step-head img,
  .sm-stitle img { display: none !important; }

  /* Sepet/ödeme kupon/kargo büyük emojiler */
  img[src*="1f3f7"], img[src*="1f381"], img[src*="1f389"],
  img[src*="1f512"], img[src*="1f513"], img[src*="1f514"],
  img[src*="1f4cb"], img[src*="1f69a"], img[src*="1f4e6"],
  img[alt="🏷️"], img[alt="🎁"], img[alt="🎉"],
  img[alt="🔒"], img[alt="🔔"], img[alt="📋"],
  img[alt="🚚"], img[alt="📦"] {
    display: none !important;
  }

  /* Push notification FAB */
  .ph-popup-fab img { display: none !important; }
  .ph-popup-fab { display: none !important; }

  /* Elab plugin büyük ikonlar */
  .elab-coupon > img,
  .elab-ship > img { display: none !important; }

  /* Genel: 100px+ svg ler */
  .woocommerce-cart img[src$=".svg"],
  .woocommerce-checkout img[src$=".svg"],
  .cart-collaterals img[src$=".svg"] {
    max-width: 24px !important;
    max-height: 24px !important;
  }

  /* form-row'ları tek sütuna zor (sm-fgrid override) */
  .sm-fgrid, #sm-billing-grid {
    display: block !important;
  }
  .sm-step-body .form-row,
  .sm-step-body p.form-row {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
    display: block !important;
  }
  .sm-step-body input.input-text,
  .sm-step-body select,
  .sm-step-body textarea {
    font-size: 16px !important; /* iOS keyboard zoom önleme */
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .sm-notes-wrap { display: block !important; }
}

/* ════ MOBİL: Sepeti güncelle butonu — göster ve stillendir ════ */
@media (max-width: 768px) {
  .woocommerce-cart table.cart .actions button[name="update_cart"] {
    display: none !important;
  }
}

/* ════════════════════════════════════════════
   FOOTER: Archives, Categories default widget gizle
   DOM path: #site-footer > .footer-widgets > .footer-widget > .sm-widget > .wp-block-group
════════════════════════════════════════════ */
.footer-widget .wp-block-group,
.sm-widget .wp-block-group,
#site-footer .wp-block-group,
.footer-widgets .wp-block-group,
/* Widget class ile gelenler */
.footer-widget .widget_archive,
.footer-widget .widget_categories,
.footer-widget .widget_recent_entries,
#site-footer .widget_archive,
#site-footer .widget_categories {
  display: none !important;
}

/* ════════════════════════════════════════════════════
   CHECKOUT MOBİL — Hizalama Düzeltmeleri
   1. sm-co-wrap auto margin sıfırla
   2. sm-step ve sm-co-left tam genişlik
   3. sm-checkout-steps viewport'a yaslı
════════════════════════════════════════════════════ */
@media (max-width: 820px) {
  /* sm-co-wrap: masaüstündeki auto margin'i kaldır */
  .sm-co-wrap {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }
  /* Grid ve kolonlar tam genişlik */
  .sm-co-grid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .sm-co-left,
  .sm-co-right {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  /* Adım kartları tam genişlik — sağda boşluk olmasın */
  .sm-step {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Steps bar — tam sayfa genişliği */
  .sm-checkout-steps {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 10px 16px 8px !important;
  }
  /* Checkout form tam genişlik */
  form.checkout,
  form.woocommerce-checkout {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }
  /* WooCommerce wrapper */
  .woocommerce-checkout .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }
}

/* ── Sepet AJAX güncelleme — yüklenirken efekt ── */
.sm-qty-wrap {
  transition: opacity .2s ease;
}
.woocommerce-cart table.cart td.product-subtotal {
  transition: opacity .3s ease;
}

/* ── Sepet Badge — transition desteği ── */
.cart-count-badge {
  transition: transform .15s ease, background-color .15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ════════════════════════════════════════════════
   HESABIM SAYFASI — MOBİL UYUMLULUK
   Article padding sıfırlama + genel düzeltmeler
════════════════════════════════════════════════ */
@media (max-width: 820px) {
  /* Article ve wrapper padding sıfırla */
  .woocommerce-account article,
  .woocommerce-account .sm-page-content {
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: #f0f2f2 !important;
    margin: 0 !important;
  }
  .woocommerce-account .sm-page-wrap {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
  .woocommerce-account .sm-page-body {
    padding: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .woocommerce-account .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 600px) {
  .woocommerce-account .sm-page-body {
    padding: 0 !important;
  }
}

/* ── Destek sayfası: boş durum ve header ayarları ── */
.dct-acct-empty {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
.dct-acct-header {
  margin-bottom: 12px !important;
}
.dct-acct-title {
  padding-bottom: 0 !important;
}
/* Bizim inline empty state */
[class*="text-align"][style*="padding:56px"] {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

/* DCT eklentisi nav badge — sm-nav-badge ile aynı stil */
.sm-nav-card ul li a .dct-nav-badge,
.dct-nav-badge {
  margin-left: auto !important;
  background: #ff9900 !important;
  color: #232f3e !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  padding: 1px 7px !important;
  line-height: 1.6 !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* ════════════════════════════════════════════════════════
   TABLET — 769px ile 1024px arası tam responsive düzeltme
   (Mobil breakpoint'ler 768px altı, masaüstü 1025px üstü)
════════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {

  /* ── Container ── */
  .sm-page-wrap,
  .container {
    padding: 0 16px !important;
    max-width: 100% !important;
  }
  .sm-page-body {
    padding: 12px 0 !important;
  }

  /* ── Article padding küçült ── */
  article.sm-page-content,
  .sm-page-content {
    padding: 16px !important;
    border-radius: 8px !important;
  }

  /* ── Hesabım: sidebar daralt ── */
  #sm-myaccount {
    gap: 12px !important;
  }
  #sm-account-sidebar {
    flex: 0 0 200px !important;
    width: 200px !important;
    position: sticky !important;
    top: 12px !important;
  }
  .sm-user-card-hero {
    padding: 14px 12px 10px !important;
  }
  .sm-user-avatar {
    width: 42px !important;
    height: 42px !important;
  }
  .sm-user-name { font-size: 13px !important; }
  .sm-user-email { font-size: 10px !important; }
  .sm-nav-card ul li a {
    padding: 9px 11px !important;
    font-size: 12px !important;
  }
  .sm-dashboard-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
  .sm-dash-card { padding: 14px 10px !important; }
  .sm-dash-card-num { font-size: 22px !important; }
  .sm-content-body { padding: 16px !important; }
  .sm-content-head { padding: 12px 16px !important; }

  /* ── Adres grid tek sütun ── */
  .sm-addr-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Sepet: 2 sütun koru ── */
  .woocommerce-cart .sm-page-wrap > article,
  .woocommerce-cart .sm-page-content {
    padding: 12px !important;
  }
  .sm-cart-grid {
    grid-template-columns: 1fr 280px !important;
    gap: 16px !important;
  }

  /* ── Ödeme: 2 sütun ── */
  .sm-co-grid {
    grid-template-columns: 1fr 280px !important;
    gap: 16px !important;
  }
  .sm-co-wrap {
    padding: 0 !important;
    max-width: 100% !important;
  }
  .sm-step {
    border-radius: 8px !important;
  }

  /* ── Ürün grid ── */
  .sm-product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
  .sm-category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* ── Header: nav linkleri sığmazsa küçült ── */
  .sm-nav-link {
    padding: 0 8px !important;
    font-size: 13px !important;
  }

  /* ── Hero ── */
  .sm-hero {
    min-height: 320px !important;
  }
  .sm-hero-inner {
    padding: 32px 24px !important;
  }
  .sm-hero h1 {
    font-size: 32px !important;
  }

  /* ── Trust strip ── */
  .sm-trust-strip {
    gap: 12px !important;
    padding: 8px 16px !important;
  }
  .sm-trust-item {
    font-size: 12px !important;
    gap: 4px !important;
  }

  /* ── Footer ── */
  .footer-widgets {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
  }
}

/* ── Tablet + woocommerce-account: article inline padding override ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .woocommerce-account article,
  .woocommerce-account .sm-page-content {
    padding: 12px !important;
    margin: 12px auto !important;
  }
  .woocommerce-account .sm-page-wrap {
    padding: 0 12px !important;
  }
  .woocommerce-account .sm-page-body {
    padding: 0 !important;
  }
  .woocommerce-account .woocommerce {
    width: 100% !important;
  }
  /* sm-myaccount article padding'den bağımsız çalışsın */
  #sm-myaccount {
    width: 100% !important;
  }
}
