/*
Theme Name: Emsun Çocuk Dünyası (Ultra Light)
Theme URI: https://www.emsuncocukdunyasi.com/
Description: Custom ultra-lightweight, Elementor-free WooCommerce theme for Emsun Çocuk Dünyası with native TR/EN/AR (RTL) support.
Author: Emsun Tech
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.3
WC requires at least: 8.0
WC tested up to: 11.3
Text Domain: emsun-theme
*/

:root {
  --emsun-coral: #E46A4B;
  --emsun-coral-dark: #cf5638;
  --emsun-sage: #99B8BA;
  --emsun-navy: #0A1E33;
  --emsun-navy-soft: #1d354e;
  --emsun-text: #243647;
  --emsun-muted: #627484;
  --emsun-bg: #FFFFFF;
  --emsun-bg-soft: #F7F9FA;
  --emsun-ice: #E7EEEF;
  --emsun-border: #DFE7E8;
  --emsun-radius: 14px;
  --emsun-radius-sm: 10px;
  --emsun-shadow: 0 8px 28px rgba(10, 30, 51, 0.06);
  --emsun-shadow-hover: 0 14px 34px rgba(10, 30, 51, 0.11);
  --emsun-container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Catamaran', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--emsun-text);
  background: var(--emsun-bg);
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
button { font-family: inherit; cursor: pointer; }

.emsun-container {
  width: 100%;
  max-width: var(--emsun-container);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only,
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===========================
   TOP UTILITY BAR (Minimalist Komfort style)
   =========================== */
.emsun-topbar {
  position: relative;
  z-index: 950;
  background: #FAFAFA;
  color: #5A6B7B;
  font-size: 12.5px;
  font-weight: 500;
  border-bottom: 1px solid #EEF2F3;
}

.emsun-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding: 4px 20px;
}

.emsun-topbar-left,
.emsun-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.emsun-topbar-sep {
  color: #D5DCE2;
  font-size: 12px;
}

.emsun-topbar-left a {
  color: #5A6B7B;
  font-weight: 500;
}

.emsun-topbar-left a:hover {
  color: var(--emsun-navy);
}

.emsun-lang-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.emsun-lang-switcher a {
  color: #6B7B8A;
  font-size: 12.5px;
  padding: 2px 0;
}

.emsun-lang-switcher a:hover,
.emsun-lang-switcher li.is-active a {
  color: var(--emsun-navy);
  font-weight: 700;
}

.emsun-currency-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.emsun-currency-wrap .wcml-dropdown-click,
.emsun-currency-wrap .wcml-dropdown {
  width: auto !important;
  max-width: none !important;
  position: relative;
  display: inline-block;
}

.emsun-currency-wrap .wcml-dropdown-click > ul,
.emsun-currency-wrap .wcml-dropdown > ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.emsun-currency-wrap .wcml-dropdown-click li.wcml-cs-active-currency,
.emsun-currency-wrap .wcml-dropdown li.wcml-cs-active-currency {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.emsun-currency-wrap .wcml-dropdown-click a.wcml-cs-item-toggle,
.emsun-currency-wrap .wcml-dropdown-click button.wcml-cs-item-toggle,
.emsun-currency-wrap .wcml-dropdown a.wcml-cs-item-toggle,
.emsun-currency-wrap .wcml-dropdown button.wcml-cs-item-toggle {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  padding: 4px 20px 4px 8px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #5A6B7B !important;
  background: transparent !important;
  border: none !important;
  border-radius: 6px !important;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

.rtl .emsun-currency-wrap .wcml-dropdown-click a.wcml-cs-item-toggle,
.rtl .emsun-currency-wrap .wcml-dropdown-click button.wcml-cs-item-toggle,
.rtl .emsun-currency-wrap .wcml-dropdown a.wcml-cs-item-toggle,
.rtl .emsun-currency-wrap .wcml-dropdown button.wcml-cs-item-toggle {
  padding: 4px 8px 4px 20px !important;
}

.emsun-currency-wrap .wcml-dropdown-click a.wcml-cs-item-toggle:hover,
.emsun-currency-wrap .wcml-dropdown-click button.wcml-cs-item-toggle:hover,
.emsun-currency-wrap .wcml-dropdown a.wcml-cs-item-toggle:hover,
.emsun-currency-wrap .wcml-dropdown button.wcml-cs-item-toggle:hover {
  background: rgba(15, 23, 42, 0.05) !important;
  color: var(--emsun-navy) !important;
}

.emsun-currency-wrap .wcml-dropdown-click a.wcml-cs-item-toggle:after,
.emsun-currency-wrap .wcml-dropdown-click button.wcml-cs-item-toggle:after,
.emsun-currency-wrap .wcml-dropdown a.wcml-cs-item-toggle:after,
.emsun-currency-wrap .wcml-dropdown button.wcml-cs-item-toggle:after {
  content: "";
  position: absolute;
  right: 7px;
  top: calc(50% - 4px);
  width: 5px;
  height: 5px;
  border: none !important;
  border-right: 1.5px solid currentColor !important;
  border-bottom: 1.5px solid currentColor !important;
  transform: rotate(45deg);
}

.rtl .emsun-currency-wrap .wcml-dropdown-click a.wcml-cs-item-toggle:after,
.rtl .emsun-currency-wrap .wcml-dropdown-click button.wcml-cs-item-toggle:after,
.rtl .emsun-currency-wrap .wcml-dropdown a.wcml-cs-item-toggle:after,
.rtl .emsun-currency-wrap .wcml-dropdown button.wcml-cs-item-toggle:after {
  right: auto;
  left: 7px;
}

.emsun-currency-wrap .wcml-cs-submenu {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  right: 0 !important;
  left: auto !important;
  min-width: 88px;
  width: max-content !important;
  background: #fff !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12) !important;
  padding: 5px !important;
  margin: 0 !important;
  list-style: none !important;
  z-index: 999 !important;
}

.emsun-currency-wrap .wcml-cs-submenu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -12px;
  right: -12px;
  height: 12px;
}

.emsun-currency-wrap .wcml-dropdown li.wcml-cs-active-currency:hover .wcml-cs-submenu,
.emsun-currency-wrap .wcml-dropdown li.wcml-cs-active-currency:focus-within .wcml-cs-submenu {
  visibility: visible !important;
}

.rtl .emsun-currency-wrap .wcml-cs-submenu {
  right: auto !important;
  left: 0 !important;
}

.emsun-currency-wrap .wcml-cs-submenu li {
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

.emsun-currency-wrap .wcml-cs-submenu li a,
.emsun-currency-wrap .wcml-cs-submenu li button {
  display: block !important;
  padding: 7px 14px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: var(--emsun-navy) !important;
  background: transparent !important;
  border-radius: 6px !important;
  text-align: center;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

.emsun-currency-wrap .wcml-cs-submenu li a:hover,
.emsun-currency-wrap .wcml-cs-submenu li button:hover {
  background: #F4F6F8 !important;
  color: var(--emsun-coral) !important;
}

/* ===========================
   STICKY MAIN HEADER & NAV
   =========================== */
.emsun-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--emsun-border);
  box-shadow: 0 2px 14px rgba(10, 30, 51, 0.03);
}

.emsun-header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
}

.emsun-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.emsun-icon-btn.emsun-mobile-search-btn,
.emsun-icon-btn.emsun-mobile-toggle {
  display: none;
}

.emsun-mobile-search-bar {
  padding: 0 0 12px;
  border-top: 1px solid var(--emsun-ice);
  background: #fff;
}

.emsun-mobile-search-bar[hidden] {
  display: none !important;
}

.emsun-mobile-search-bar .emsun-live-search {
  margin-top: 10px;
}

.emsun-search-box {
  width: 100%;
  max-width: 340px;
}

.emsun-live-search {
  position: relative;
  width: 100%;
}

.emsun-search-input {
  width: 100%;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--emsun-border);
  background: var(--emsun-bg-soft);
  color: var(--emsun-navy);
  font-family: inherit;
  font-size: 14px;
  padding-inline: 18px 44px;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.emsun-search-input:focus {
  border-color: var(--emsun-coral);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(228, 106, 75, 0.12);
}

.emsun-search-submit {
  position: absolute;
  top: 50%;
  inset-inline-end: 6px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--emsun-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.emsun-search-submit:hover {
  background: var(--emsun-ice);
  color: var(--emsun-coral);
}

.emsun-search-results {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  width: min(380px, 90vw);
  background: #fff;
  border: 1px solid var(--emsun-border);
  border-radius: var(--emsun-radius);
  box-shadow: var(--emsun-shadow-hover);
  z-index: 999;
  overflow: hidden;
}

.emsun-sr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--emsun-ice);
}

.emsun-sr-item:hover {
  background: var(--emsun-bg-soft);
}

.emsun-sr-item img {
  width: 44px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.emsun-sr-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.emsun-sr-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--emsun-navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.emsun-sr-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--emsun-coral);
}

.emsun-sr-more {
  display: block;
  text-align: center;
  padding: 10px 14px;
  background: var(--emsun-bg-soft);
  color: var(--emsun-navy);
  font-size: 13px;
  font-weight: 800;
}

.emsun-sr-more:hover {
  background: var(--emsun-coral);
  color: #fff;
}

.emsun-sr-empty {
  padding: 16px;
  text-align: center;
  font-size: 13.5px;
  color: var(--emsun-muted);
}

.emsun-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.emsun-logo-link img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.emsun-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.emsun-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--emsun-navy);
  transition: background .18s ease, color .18s ease;
}

.emsun-icon-btn:hover {
  background: var(--emsun-ice);
  color: var(--emsun-coral);
}

.emsun-micro-badge {
  position: absolute;
  top: 2px;
  inset-inline-end: 1px;
  background: var(--emsun-navy);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.emsun-micro-badge.is-accent {
  background: var(--emsun-coral);
}

/* Primary Category Mega Menu (matching screenshot layout) */
.emsun-nav-bar {
  position: relative;
  border-top: 1px solid var(--emsun-ice);
  background: #fff;
}

.emsun-mega-list {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: clamp(4px, 0.7vw, 10px);
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.emsun-mega-item {
  position: static;
  display: flex;
  align-items: center;
}

.emsun-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 14px 5px;
  height: 100%;
  color: var(--emsun-navy);
  transition: color .2s ease;
}

.emsun-mega-item:first-child .emsun-mega-trigger {
  padding-inline-start: 0;
}

.emsun-mega-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.2;
}

.emsun-mega-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.emsun-mega-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--emsun-muted);
  margin-top: 2px;
}

.emsun-mega-chev {
  flex-shrink: 0;
  transition: transform .2s ease;
}

.emsun-mega-list:not(.is-js-ready) .emsun-mega-item.has-dropdown:hover > .emsun-mega-trigger,
.emsun-mega-item.has-dropdown.is-open > .emsun-mega-trigger,
.emsun-mega-item.has-dropdown > .emsun-mega-trigger:hover {
  color: var(--emsun-coral);
}

.emsun-mega-list:not(.is-js-ready) .emsun-mega-item.has-dropdown:hover > .emsun-mega-trigger .emsun-mega-chev,
.emsun-mega-item.has-dropdown.is-open > .emsun-mega-trigger .emsun-mega-chev {
  transform: rotate(180deg);
}

.emsun-mega-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0;
  background: #D61A1A;
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  padding: 10px 16px;
  border-radius: 7px;
  border: 1.5px solid #a81010;
  white-space: nowrap;
  transition: background .2s ease, transform .15s ease;
}

.emsun-mega-cta:hover {
  background: #b51212;
  color: #fff;
  transform: translateY(-1px);
}

.emsun-mega-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--emsun-border);
  border-bottom: 1px solid var(--emsun-border);
  box-shadow: 0 18px 40px rgba(10, 30, 51, 0.10);
  padding: 26px 20px 30px;
  z-index: 950;
}

.emsun-mega-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
  background: transparent;
}

.emsun-mega-list:not(.is-js-ready) .emsun-mega-item.has-dropdown:hover > .emsun-mega-panel,
.emsun-mega-item.has-dropdown:focus-within > .emsun-mega-panel,
.emsun-mega-item.has-dropdown.is-open > .emsun-mega-panel {
  display: block;
}

.emsun-mega-panel-inner {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 220px;
  gap: 28px;
  align-items: start;
}

.emsun-mega-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.emsun-mega-links a {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: #364758;
  line-height: 1.35;
}

.emsun-mega-links a:hover {
  color: var(--emsun-coral);
}

.emsun-mega-arrow {
  color: #7c8d9e;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 700;
}

.emsun-new-season-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 9px 22px;
  background: #F2B85B;
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  border-radius: 5px;
  border: 1px dashed rgba(255, 255, 255, 0.75);
  box-shadow: 0 3px 10px rgba(242, 184, 91, 0.35);
}

.emsun-new-season-btn:hover {
  background: #e3a33e;
  color: #fff !important;
}

.emsun-mega-media a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(10, 30, 51, 0.08);
}

.emsun-mega-media img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Mobile Mega Accordion */
.emsun-mobile-mega {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.emsun-mobile-acc {
  background: var(--emsun-bg-soft);
  border-radius: 10px;
  padding: 10px 14px;
}

.emsun-mobile-acc summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--emsun-navy);
}

.emsun-mobile-acc summary small {
  color: var(--emsun-muted);
  margin-inline-start: 6px;
  font-weight: 500;
}

.emsun-mobile-acc summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 700;
}

.emsun-mobile-acc[open] summary::after {
  content: '−';
}

.emsun-mobile-acc-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px solid var(--emsun-border);
  font-size: 14px;
}

.emsun-mobile-all-link {
  font-weight: 800;
  color: var(--emsun-coral);
}

.emsun-mobile-cta {
  display: block;
  text-align: center;
  background: #D61A1A;
  color: #fff;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 10px;
}

@media (max-width: 1180px) {
  .emsun-mega-list { gap: 8px; }
  .emsun-mega-title { font-size: 12px; }
  .emsun-mega-cta { font-size: 12px; padding: 9px 14px; }
}

/* Mobile Slide-Out Drawer */
.emsun-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.emsun-mobile-drawer.is-open { display: block; }

.emsun-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 51, 0.55);
}

.emsun-drawer-panel {
  position: relative;
  margin-inline-start: auto;
  width: min(350px, 88vw);
  height: 100%;
  background: #fff;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: -12px 0 32px rgba(0,0,0,0.18);
}

.emsun-drawer-quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.emsun-drawer-quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--emsun-border);
  background: #fff;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--emsun-navy);
}

.emsun-drawer-wl-badge {
  background: var(--emsun-coral);
  color: #fff;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
}

.emsun-drawer-prefs {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--emsun-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.emsun-drawer-pref-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.emsun-drawer-pref-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--emsun-muted);
}

.emsun-drawer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.emsun-drawer-langs a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--emsun-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--emsun-navy);
}

.emsun-drawer-langs li.is-active a {
  background: var(--emsun-navy);
  border-color: var(--emsun-navy);
  color: #fff;
}

.emsun-drawer-currency select,
.emsun-drawer-currency .wcml_currency_switcher,
.emsun-drawer-currency .wcml-cs-active-currency {
  width: 100%;
  padding: 8px 12px !important;
  border: 1px solid var(--emsun-border) !important;
  border-radius: 10px !important;
  background: var(--emsun-bg-soft) !important;
  color: var(--emsun-navy) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
}

.emsun-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--emsun-border);
  padding-bottom: 12px;
}

.emsun-drawer-close {
  background: var(--emsun-ice);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  color: var(--emsun-navy);
}

.emsun-mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.emsun-mobile-nav-list a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--emsun-navy);
  background: var(--emsun-bg-soft);
}

.emsun-mobile-nav-list li.is-highlight a {
  background: var(--emsun-coral);
  color: #fff;
}

/* ===========================
   HOMEPAGE SECTIONS
   =========================== */
.emsun-section {
  padding: 36px 0;
}

.emsun-section-soft {
  background: var(--emsun-bg-soft);
}

.emsun-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.emsun-section-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--emsun-navy);
  line-height: 1.15;
}

.emsun-section-sub {
  margin: 6px 0 0;
  color: var(--emsun-muted);
  font-size: 16px;
}

.emsun-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  background: var(--emsun-coral);
  color: #fff;
  border: 2px solid var(--emsun-coral);
  transition: all .2s ease;
}

.emsun-pill-btn:hover {
  background: var(--emsun-navy);
  border-color: var(--emsun-navy);
  color: #fff;
}

.emsun-pill-btn--outline {
  background: transparent;
  color: var(--emsun-navy);
  border-color: var(--emsun-navy);
}

.emsun-pill-btn--outline:hover {
  background: var(--emsun-navy);
  color: #fff;
}

/* 1. Hero Slider */
.emsun-hero-wrap {
  padding: 18px 0 12px;
}

.emsun-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--emsun-shadow);
  background: var(--emsun-ice);
}

.emsun-slide {
  display: none;
  position: relative;
}

.emsun-slide.is-active {
  display: block;
  animation: emsunFade .45s ease;
}

@keyframes emsunFade {
  from { opacity: 0.45; }
  to { opacity: 1; }
}

.emsun-slide img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
}

.emsun-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--emsun-navy);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.emsun-slider-arrow:hover {
  background: var(--emsun-coral);
  color: #fff;
}

.emsun-slider-prev { inset-inline-start: 16px; }
.emsun-slider-next { inset-inline-end: 16px; }

.emsun-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
  background: rgba(10, 30, 51, 0.35);
  padding: 6px 10px;
  border-radius: 999px;
}

.emsun-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.55);
}

.emsun-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--emsun-coral);
}

/* 2. Trust Bar */
.emsun-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.emsun-trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--emsun-radius);
  background: #fff;
  border: 1px solid var(--emsun-border);
  box-shadow: 0 4px 14px rgba(10,30,51,0.03);
}

.emsun-trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--emsun-ice);
  color: var(--emsun-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.emsun-trust-card h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--emsun-navy);
}

.emsun-trust-card p {
  margin: 2px 0 0;
  font-size: 13.5px;
  color: var(--emsun-muted);
}

/* 3. Tabbed Category Showcase */
.emsun-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.emsun-tab-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--emsun-border);
  background: #fff;
  color: var(--emsun-navy);
  font-size: 15px;
  font-weight: 700;
  transition: all .2s ease;
}

.emsun-tab-btn:hover {
  border-color: var(--emsun-navy);
}

.emsun-tab-btn.is-active {
  background: var(--emsun-navy);
  border-color: var(--emsun-navy);
  color: #fff;
  box-shadow: 0 6px 16px rgba(10,30,51,0.16);
}

.emsun-tab-panel { display: none; }
.emsun-tab-panel.is-active { display: block; animation: emsunFade .3s ease; }

.emsun-cat-5grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.emsun-cat-card {
  position: relative;
  display: block;
  border-radius: var(--emsun-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--emsun-border);
  box-shadow: var(--emsun-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.emsun-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--emsun-shadow-hover);
}

.emsun-cat-card-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--emsun-ice);
}

.emsun-cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.emsun-cat-card:hover .emsun-cat-card-img img {
  transform: scale(1.05);
}

.emsun-cat-card-label {
  padding: 12px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--emsun-navy);
}

/* 4. 4-Column Age/Gender Visual Grid */
.emsun-age-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.emsun-visual-card {
  position: relative;
  display: block;
  border-radius: var(--emsun-radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--emsun-shadow);
}

.emsun-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.emsun-visual-card:hover img {
  transform: scale(1.06);
}

.emsun-visual-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 18px 18px;
  background: linear-gradient(to top, rgba(10,30,51,0.78), rgba(10,30,51,0));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.emsun-visual-overlay span {
  font-size: 18px;
  font-weight: 800;
}

.emsun-visual-badge {
  background: var(--emsun-coral);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

/* 5. Collections Horizontal Carousel */
.emsun-carousel-controls {
  display: flex;
  gap: 8px;
}

.emsun-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--emsun-border);
  background: #fff;
  color: var(--emsun-navy);
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.emsun-circle-btn:hover {
  background: var(--emsun-coral);
  border-color: var(--emsun-coral);
  color: #fff;
}

.emsun-collections-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.emsun-collection-item {
  flex: 0 0 260px;
  scroll-snap-align: start;
  border-radius: var(--emsun-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--emsun-border);
  box-shadow: var(--emsun-shadow);
  transition: transform .25s ease;
}

.emsun-collection-item:hover {
  transform: translateY(-4px);
}

.emsun-collection-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.emsun-collection-title {
  padding: 12px 14px;
  font-weight: 800;
  font-size: 15px;
  color: var(--emsun-navy);
  text-align: center;
}

/* 6. Editorial 3-Column Promo */
.emsun-editorial-3grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ===========================
   WOOCOMMERCE PRODUCT CARDS & ARCHIVE
   =========================== */
.woocommerce-breadcrumb {
  margin: 16px 0 6px !important;
  font-size: 12.5px !important;
  color: #7A8A99 !important;
}

.woocommerce-breadcrumb a {
  color: #7A8A99 !important;
}

.woocommerce-breadcrumb a:hover {
  color: var(--emsun-navy) !important;
}

.emsun-wc-main--archive {
  background: #F8F9FB;
}

.emsun-shop-layout {
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: 22px;
  align-items: start;
  padding: 12px 0 56px;
}

.emsun-shop-sidebar {
  background: #fff;
  border: 1px solid #EAECF0;
  border-radius: 12px;
  padding: 16px;
  position: sticky;
  top: 124px;
  box-shadow: none;
}

.emsun-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--emsun-border);
}

.emsun-sidebar-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.emsun-filter-close { display: none; }

.emsun-filter-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 51, 0.45);
  z-index: 9990;
}

.emsun-filter-backdrop.is-open {
  display: block;
}

.emsun-shop-main {
  min-width: 0;
  max-width: 100%;
}

.emsun-shop-main .woocommerce-products-header__title {
  margin: 0 0 2px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.emsun-shop-main .woocommerce-result-count {
  float: none !important;
  margin: 0 0 14px !important;
  font-size: 13px;
  color: #6B7280;
}

.emsun-shopnetic-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  min-width: 0;
  max-width: 100%;
}

.emsun-subcat-pills {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  background: #EEF0F3;
  padding: 4px;
  border-radius: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0;
}

.emsun-subcat-pills::-webkit-scrollbar {
  display: none;
}

.emsun-subcat-pill {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 7px;
  background: transparent;
  border: none;
  color: #6B7280;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: all .15s ease;
}

.emsun-subcat-pill:hover {
  color: #111827;
}

.emsun-subcat-pill.is-active {
  background: #fff;
  color: #111827;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.09);
}

.emsun-shopnetic-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.emsun-shopnetic-filter-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 9px;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.emsun-sort-box {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 9px;
  height: 38px;
  padding: 0 10px 0 12px;
  color: #111827;
}

.emsun-sort-box .woocommerce-ordering {
  float: none !important;
  margin: 0 !important;
}

.emsun-sort-box .woocommerce-ordering select {
  border: none !important;
  background: transparent !important;
  padding: 0 4px 0 0 !important;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  outline: none;
  cursor: pointer;
}

.emsun-toolbar-badge {
  background: var(--emsun-coral);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

ul.products::before,
ul.products::after {
  content: none !important;
  display: none !important;
}

.emsun-shop-main ul.products {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px !important;
}

ul.products li.emsun-pcard {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  padding: 0;
  background: #fff;
  border: 1px solid #EAECF0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}

ul.products li.emsun-pcard:hover {
  transform: translateY(-2px);
  border-color: #D5DCE4;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.emsun-pcard-media {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  background: #F5F6F8;
  overflow: hidden;
  flex-shrink: 0;
}

.emsun-pcard-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.emsun-pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 0;
  margin: 0;
  transition: transform .35s ease;
}

ul.products li.emsun-pcard:hover .emsun-pcard-media img {
  transform: scale(1.03);
}

.emsun-pcard-badge {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 3;
  background: rgba(17, 24, 39, 0.86);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1.2;
}

.emsun-pcard .emsun-wl-card-btn {
  top: 10px;
  inset-inline-end: 10px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.emsun-pcard-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.emsun-pcard-title {
  margin: 0;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  line-height: 1.35 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.emsun-pcard-title a:hover {
  color: var(--emsun-coral);
}

.emsun-pcard-cat {
  font-size: 12px;
  color: #8A94A6;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.emsun-pcard-attrs {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.emsun-pcard-attr-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.emsun-pcard-attr-label {
  font-size: 11.5px;
  color: #8A94A6;
  width: 42px;
  flex-shrink: 0;
}

.emsun-pcard-size-chips {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.emsun-size-chip {
  font-size: 10.5px;
  font-weight: 600;
  color: #374151;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 5px;
  padding: 2px 6px;
  line-height: 1.25;
  white-space: nowrap;
}

.emsun-size-chip:hover {
  border-color: #111827;
  color: #111827;
}

.emsun-size-chip--more {
  background: #F3F4F6;
  border-color: #E5E7EB;
  color: #6B7280;
}

.emsun-pcard-color-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.emsun-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.18);
  display: inline-block;
  flex-shrink: 0;
}

.emsun-pcard-mobile-sizes {
  display: none;
}

.emsun-pcard-promo {
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #D94E34;
  line-height: 1.3;
}

.emsun-pcard-promo .awdr_discount_bar,
.emsun-pcard-promo p {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  font-size: inherit !important;
  color: inherit !important;
  border: none !important;
}

.emsun-pcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #F1F3F6;
  padding-top: 11px;
  margin-top: auto;
}

.emsun-pcard-body > .emsun-pcard-foot {
  padding-top: 11px;
}

.emsun-pcard-head + .emsun-pcard-foot,
.emsun-pcard-attrs + .emsun-pcard-foot,
.emsun-pcard-mobile-sizes + .emsun-pcard-foot,
.emsun-pcard-promo + .emsun-pcard-foot {
  margin-top: auto;
}

.emsun-pcard-price {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.emsun-pcard-price .emsun-discount-badge {
  display: none !important;
}

.emsun-pcard-price .emsun-price-wrapper {
  gap: 4px;
}

.emsun-pcard-price .emsun-prices {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.emsun-pcard-price del {
  font-size: 11.5px;
  color: #9CA3AF;
  font-weight: 500;
  text-decoration: line-through;
}

.emsun-pcard-price ins,
.emsun-pcard-price > .woocommerce-Price-amount {
  font-size: 16.5px;
  font-weight: 800;
  color: #111827;
  text-decoration: none;
}

.emsun-pcard-action {
  flex-shrink: 0;
}

.emsun-pcard-action .button {
  background: #fff !important;
  color: #111827 !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  padding: 7px 14px !important;
  width: auto !important;
  margin: 0 !important;
  white-space: nowrap;
  line-height: 1.3 !important;
  text-align: center;
  transition: background .18s ease, color .18s ease, border-color .18s ease !important;
}

.emsun-pcard-action .button:hover {
  background: #111827 !important;
  color: #fff !important;
  border-color: #111827 !important;
}

.emsun-pcard-action .added_to_cart {
  display: inline-block;
  margin-inline-start: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--emsun-coral);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--emsun-coral) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
  border: none !important;
  text-align: center;
  transition: background .2s ease !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--emsun-navy) !important;
  color: #fff !important;
}

nav.woocommerce-pagination {
  margin-top: 24px;
}

nav.woocommerce-pagination.is-infinite-active {
  display: none !important;
}

.emsun-infinite-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 0 12px;
  gap: 10px;
}

.emsun-infinite-status [hidden] {
  display: none !important;
}

.emsun-infinite-loader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
}

.emsun-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #E2E8F0;
  border-top-color: #111827;
  animation: emsunSpin .7s linear infinite;
}

@keyframes emsunSpin {
  to { transform: rotate(360deg); }
}

.emsun-infinite-meta {
  font-size: 12.5px;
  color: #8A94A6;
  font-weight: 500;
}

.emsun-infinite-more-btn {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.emsun-infinite-more-btn:hover {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.emsun-infinite-done {
  font-size: 12.5px;
  color: #9CA3AF;
  font-weight: 600;
}

.emsun-card-enter {
  animation: emsunCardIn .28s ease both;
}

@keyframes emsunCardIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Hide duplicate secondary currency switcher inside Single Product summary */
.single-product .summary .wcml_currency_switcher {
  display: none !important;
}

/* Native Price & Discount Badge (ported from WPCode) */
.emsun-price-wrapper {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.2;
}

.emsun-discount-badge {
  background-color: #FFF0ED;
  color: #D94E34;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  white-space: nowrap;
}

a.woocommerce-remove-coupon {
  display: none !important;
}

/* Arabic Checkout Shipping RTL Fix */
html[lang^="ar"] #shipping_method li label {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  direction: rtl !important;
}
html[lang^="ar"] #shipping_method li label .amount,
html[lang^="ar"] #shipping_method li label .amount bdi {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  white-space: nowrap !important;
}

/* Native Wishlist Buttons & Header Badge */
.emsun-wl-count {
  background: var(--emsun-ice);
  color: var(--emsun-navy);
  font-size: 11.5px;
  font-weight: 800;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.emsun-wl-card-btn {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  z-index: 4;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--emsun-border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--emsun-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 4px 10px rgba(10,30,51,0.08);
  transition: all .2s ease;
}

.emsun-wl-card-btn:hover,
.emsun-wl-card-btn.is-saved {
  color: var(--emsun-coral);
  border-color: var(--emsun-coral);
}

.emsun-wl-card-btn.is-saved svg,
.emsun-wl-single-btn.is-saved svg {
  fill: var(--emsun-coral);
  stroke: var(--emsun-coral);
}

.emsun-wl-single-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-inline-start: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--emsun-border);
  background: #fff;
  color: var(--emsun-navy);
  font-size: 14px;
  font-weight: 700;
  vertical-align: middle;
}

.emsun-wl-single-btn.is-saved {
  border-color: var(--emsun-coral);
  color: var(--emsun-coral);
  background: #fff8f6;
}

.emsun-wl-empty {
  text-align: center;
  padding: 48px 20px;
  background: var(--emsun-bg-soft);
  border-radius: var(--emsun-radius);
}

/* Native Shop Filters */
.emsun-filter-reset-bar {
  margin-bottom: 14px;
}

.emsun-filter-clear {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff1ed;
  color: var(--emsun-coral);
  font-size: 13px;
  font-weight: 700;
}

.emsun-filter-group {
  border-bottom: 1px solid var(--emsun-border);
  padding: 12px 0;
}

.emsun-filter-group:last-child {
  border-bottom: none;
}

.emsun-filter-group summary {
  font-weight: 800;
  font-size: 15px;
  color: var(--emsun-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.emsun-filter-group summary::after {
  content: '+';
  font-size: 17px;
  color: var(--emsun-muted);
}

.emsun-filter-group[open] summary::after {
  content: '−';
}

.emsun-filter-cat-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.emsun-filter-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--emsun-text);
  padding: 4px 6px;
  border-radius: 6px;
}

.emsun-filter-cat-list li.is-active a,
.emsun-filter-cat-list a:hover {
  background: var(--emsun-ice);
  color: var(--emsun-coral);
  font-weight: 700;
}

.emsun-filter-options {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
  padding-inline-end: 4px;
}

.emsun-filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  cursor: pointer;
  padding: 3px 4px;
  border-radius: 6px;
}

.emsun-filter-check.is-checked {
  font-weight: 700;
  color: var(--emsun-coral);
}

.emsun-fcount {
  margin-inline-start: auto;
  font-size: 12px;
  color: var(--emsun-muted);
}

.emsun-price-inputs {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  width: 100%;
}

.emsun-price-inputs input {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  padding: 6px 7px;
  border: 1px solid var(--emsun-border);
  border-radius: 8px;
  font-size: 13px;
}

.emsun-price-apply {
  flex-shrink: 0;
  background: var(--emsun-navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12.5px;
  font-weight: 700;
}

.emsun-price-apply:hover {
  background: var(--emsun-coral);
}

/* Native Variation Swatch Pills */
.emsun-native-select-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
}

.emsun-swatch-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.emsun-swatch-pill {
  padding: 7px 13px;
  border-radius: 8px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #111827;
  font-size: 12.5px;
  font-weight: 600;
  transition: all .15s ease;
}

.emsun-swatch-pill:hover:not(.is-disabled) {
  border-color: #111827;
}

.emsun-swatch-pill.is-selected {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.emsun-swatch-pill.is-disabled {
  opacity: 0.4;
  text-decoration: line-through;
  cursor: not-allowed;
}

.emsun-mdrop {
  display: none;
}

/* ===========================
   SINGLE PRODUCT PAGE (Suruchi + Hepsiburada)
   =========================== */
.emsun-wc-main {
  padding: 28px 0 56px;
}

.emsun-wc-main--single {
  padding: 0 0 64px;
  background: #fff;
}

.emsun-pdp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid #F1F3F6;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.emsun-pdp-breadcrumb::-webkit-scrollbar {
  display: none;
}

.emsun-bc-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  flex-shrink: 0;
}

.emsun-bc-home:hover {
  color: #111827;
}

.emsun-pdp-breadcrumb .woocommerce-breadcrumb {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12.5px !important;
  color: #64748B !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.emsun-pdp-breadcrumb .woocommerce-breadcrumb a {
  color: #64748B !important;
}

.emsun-pdp-breadcrumb .woocommerce-breadcrumb a:hover {
  color: #111827 !important;
}

.emsun-bc-sep {
  color: #CBD5E1;
  font-size: 14px;
}

.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 16px 44px;
  align-items: start;
}

.single-product div.product div.images,
.single-product div.product div.summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.single-product .woocommerce-product-gallery {
  position: relative;
}

.single-product .woocommerce-product-gallery .flex-viewport {
  background: #F7F8FA;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #F1F3F6;
}

.single-product .woocommerce-product-gallery img {
  border-radius: 0;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex !important;
  gap: 10px;
  margin: 12px 0 0 !important;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
  display: none;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  flex: 0 0 72px;
  width: 72px !important;
  float: none !important;
  margin: 0 !important;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
  border-radius: 10px;
  border: 2px solid transparent;
  opacity: 0.72;
  transition: opacity .15s ease, border-color .15s ease;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.single-product .woocommerce-product-gallery .flex-control-thumbs li img:hover {
  opacity: 1;
  border-color: #111827;
}

.emsun-gallery-dots,
.emsun-gallery-arrow {
  display: none;
}

.emsun-pdp-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: #64748B;
  margin-bottom: 8px;
}

.emsun-pdp-brand {
  font-weight: 700;
  color: #111827;
}

.emsun-pdp-brand:hover {
  color: var(--emsun-coral);
}

.emsun-pdp-eyebrow-sep {
  color: #CBD5E1;
}

.emsun-pdp-sku {
  color: #8A94A6;
}

.single-product div.product .product_title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  color: #1F2937;
  line-height: 1.35;
  margin: 0 0 8px;
}

.single-product div.product .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px !important;
  font-size: 13px;
  color: #64748B;
}

.single-product .star-rating {
  color: #F59E0B !important;
}

.single-product div.product p.price,
.single-product div.product span.price,
.single-product .summary .emsun-price-wrapper {
  margin: 0 0 10px !important;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
}

.single-product .summary .emsun-price-wrapper {
  margin: 0 !important;
  gap: 10px;
}

.single-product .summary .emsun-prices {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.single-product .summary p.price del,
.single-product .summary .emsun-prices del {
  font-size: 15px;
  font-weight: 500;
  color: #94A3B8;
  opacity: 1;
}

.single-product .summary p.price ins,
.single-product .summary .emsun-prices ins {
  text-decoration: none !important;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  background: transparent;
}

.single-product .summary .emsun-discount-badge {
  background: #111827;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
}

.single-product .summary .awdr_discount_bar {
  display: none !important;
}

.emsun-pdp-cart-promo {
  margin: 0 0 12px;
}

.single-product .summary .emsun-pdp-cart-promo .awdr_discount_bar,
.single-product .summary .emsun-pdp-cart-promo .awdr_discount_bar p {
  display: inline-flex !important;
  align-items: center;
  background: #DC2626 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  margin: 0 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.single-product .summary .emsun-pdp-cart-promo .awdr_discount_bar p {
  padding: 0 !important;
}

.single-product .summary .emsun-pdp-cart-promo .awdr_discount_bar * {
  color: #FFFFFF !important;
}

.emsun-pdp-status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 16px;
}

.emsun-pdp-stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #15803D;
}

.emsun-pdp-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
}

.emsun-pdp-stock.is-low {
  color: #B45309;
}

.emsun-pdp-stock.is-low .emsun-pdp-stock-dot {
  background: #F59E0B;
}

.emsun-pdp-stock.is-out {
  color: #64748B;
}

.emsun-pdp-stock.is-out .emsun-pdp-stock-dot {
  background: #94A3B8;
}

.single-product .variations {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 8px !important;
}

.single-product .variations tr {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.single-product .variations th.label,
.single-product .variations td.value {
  display: block;
  width: 100%;
  padding: 0 !important;
  text-align: start;
  border: none !important;
  background: transparent !important;
}

.single-product .variations th.label label {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.emsun-selected-val {
  font-weight: 600;
  color: #64748B;
}

.single-product a.reset_variations {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
  text-decoration: none;
}

.single-product a.reset_variations:hover {
  color: #111827;
}

.single-product .woocommerce-variation-price {
  margin-bottom: 8px;
}

.single-product .woocommerce-variation-availability {
  margin-bottom: 8px;
  font-size: 13px;
}

.single-product form.cart:not(.variations_form),
.single-product .woocommerce-variation-add-to-cart {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 16px 0 !important;
  flex-wrap: nowrap;
}

.single-product div.product form.cart .quantity {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  background: #fff;
  height: 48px;
  overflow: hidden;
  flex-shrink: 0;
  margin: 0 !important;
  float: none !important;
}

.emsun-qty-btn {
  width: 34px;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .15s ease;
}

.emsun-qty-btn:hover {
  background: #F4F6F8;
}

.single-product div.product form.cart .quantity input.qty {
  width: 36px;
  height: 100%;
  border: none !important;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  color: #111827;
  padding: 0;
  background: transparent;
  -moz-appearance: textfield;
}

.single-product div.product form.cart .quantity input.qty::-webkit-outer-spin-button,
.single-product div.product form.cart .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.single-product div.product form.cart button.single_add_to_cart_button {
  flex: 1;
  height: 48px;
  border-radius: 10px !important;
  background: var(--emsun-coral) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  float: none !important;
  padding: 0 20px !important;
  border: none !important;
  transition: background .18s ease !important;
}

.single-product div.product form.cart button.single_add_to_cart_button:hover:not(.disabled) {
  background: #111827 !important;
}

.single-product .emsun-wl-single-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.single-product .emsun-wl-single-btn:hover {
  border-color: var(--emsun-coral);
  color: var(--emsun-coral);
}

.single-product .emsun-wl-single-btn span {
  display: none;
}

.emsun-pdp-assurance {
  border: 1px solid #EAECF0;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
  background: #FAFBFD;
}

.emsun-assurance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
}

.emsun-assurance-item svg {
  color: #111827;
  flex-shrink: 0;
}

.single-product .woocommerce-product-details__short-description {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  padding-top: 14px;
  border-top: 1px solid #F1F3F6;
}

.single-product .woocommerce-product-details__short-description ul {
  margin: 8px 0 0;
  padding-inline-start: 18px;
}

/* Modern Turkish E-Commerce Tabs */
.single-product div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 28px;
  background: #fff;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  overflow: hidden;
  clear: both;
}

.single-product div.product .woocommerce-tabs ul.tabs {
  display: flex !important;
  align-items: center;
  gap: 0;
  margin: 0 !important;
  padding: 0 12px !important;
  border-bottom: 1px solid #EAECF0 !important;
  overflow-x: auto;
  scrollbar-width: none;
  background: #FAFBFD;
  list-style: none;
}

.single-product div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
  display: none;
}

.single-product div.product .woocommerce-tabs ul.tabs::before,
.single-product div.product .woocommerce-tabs ul.tabs::after,
.single-product div.product .woocommerce-tabs ul.tabs li::before,
.single-product div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
  content: none !important;
}

.single-product div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
}

.single-product div.product .woocommerce-tabs ul.tabs li a {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 15px 20px !important;
  font-size: 14px;
  font-weight: 600 !important;
  color: #64748B !important;
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
  text-shadow: none !important;
}

.single-product div.product .woocommerce-tabs ul.tabs li.active a {
  color: #111827 !important;
  border-bottom-color: var(--emsun-coral) !important;
}

.emsun-tab-count {
  background: #EEF0F3;
  color: #111827;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.single-product div.product .woocommerce-tabs ul.tabs li.active .emsun-tab-count {
  background: #FFF0ED;
  color: var(--emsun-coral);
}

.single-product div.product .woocommerce-tabs .panel {
  padding: 24px 28px !important;
  margin: 0 !important;
  border: none !important;
}

.emsun-pdp-desc-content {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.65;
}

.emsun-pdp-specs-wrap {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #F1F3F6;
}

.emsun-pdp-specs-title {
  margin: 0 0 14px;
  font-size: 15.5px;
  font-weight: 700;
  color: #111827;
}

.emsun-pdp-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin: 0;
}

.emsun-spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: #F8F9FB;
  border-radius: 8px;
  font-size: 13.5px;
}

.emsun-spec-row dt {
  color: #64748B;
  font-weight: 500;
  flex-shrink: 0;
}

.emsun-spec-row dd {
  margin: 0;
  color: #111827;
  font-weight: 700;
  text-align: end;
}

.emsun-returns-box h3 {
  margin: 0 0 14px;
  font-size: 15.5px;
  font-weight: 700;
  color: #111827;
}

.emsun-returns-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.emsun-returns-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #334155;
}

.emsun-returns-list svg {
  color: #22C55E;
  flex-shrink: 0;
  margin-top: 2px;
}

.emsun-returns-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}

.emsun-returns-cta:hover {
  background: var(--emsun-coral);
  color: #fff;
}

.single-product #reviews #comments ol.commentlist {
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}

.single-product #reviews #comments ol.commentlist li {
  border: 1px solid #F1F3F6;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  background: #FAFBFD;
}

.single-product #reviews #commentform input[type="text"],
.single-product #reviews #commentform input[type="email"],
.single-product #reviews #commentform textarea {
  width: 100%;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
}

.single-product #reviews #commentform input#submit {
  background: #111827 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.single-product section.related.products {
  grid-column: 1 / -1;
  margin-top: 36px;
}

.single-product section.related.products > h2 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 18px;
}

.woocommerce-breadcrumb {
  font-size: 13.5px !important;
  color: var(--emsun-muted) !important;
  margin-bottom: 18px !important;
}

/* Standard Pages, Cart, Checkout */
.emsun-page-main {
  padding: 36px 0 56px;
}

.emsun-page-title {
  margin: 0 0 22px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--emsun-navy);
}

.emsun-page-content {
  background: #fff;
}

.emsun-page-content > div > h1:first-child {
  margin: 0 0 22px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--emsun-navy);
}

.emsun-page-content a[href*="wa.me"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
}

.emsun-page-content a[href*="wa.me"] br {
  display: none;
}

.emsun-page-content a[href*="wa.me"]:hover {
  background: #1fb857;
  color: #fff;
}

.emsun-legal-doc {
  max-width: 860px;
  line-height: 1.7;
}

.emsun-legal-doc h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--emsun-navy);
  margin: 0 0 14px;
}

.emsun-legal-doc h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--emsun-navy);
  margin: 26px 0 10px;
}

.emsun-legal-doc a {
  color: var(--emsun-coral);
  text-decoration: underline;
}

.checkout-item-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-prod-img {
  width: 56px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--emsun-border);
}

.checkout-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-prod-qty {
  font-size: 13px;
  color: var(--emsun-muted);
}

.old-price-wrapper {
  text-decoration: line-through;
  color: var(--emsun-muted);
  font-size: 13px;
}

/* ===========================
   SHOPIFY-STYLE CART PAGE
   =========================== */
.emsun-cart-main {
  padding: 28px 0 64px;
  background: #FFFFFF;
}

.emsun-cart-main .woocommerce-notices-wrapper {
  margin-bottom: 18px;
}

.emsun-cart-main .woocommerce-message,
.emsun-cart-main .woocommerce-error,
.emsun-cart-main .woocommerce-info {
  border-radius: 10px !important;
  border: 1px solid #E5E7EB !important;
  padding: 12px 16px 12px 42px !important;
  margin: 0 0 14px !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  box-shadow: none !important;
}

.emsun-cart-main .woocommerce-message {
  background: #ECFDF5 !important;
  border-color: #A7F3D0 !important;
  color: #065F46 !important;
}

.emsun-cart-main .woocommerce-error {
  background: #FEF2F2 !important;
  border-color: #FECACA !important;
  color: #991B1B !important;
}

.emsun-cart-main .woocommerce-info {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
  color: #1E293B !important;
}

.emsun-cart-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid #EAECF0;
}

.emsun-cart-title-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.emsun-cart-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.emsun-cart-count {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #F3F4F6;
  color: #6B7280;
  font-size: 13px;
  font-weight: 600;
}

.emsun-cart-continue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.emsun-cart-continue:hover {
  color: #111827;
}

.emsun-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px;
  align-items: start;
  transition: opacity .2s ease;
}

.emsun-cart-layout.is-updating {
  opacity: 0.72;
}

.emsun-cart-layout .woocommerce-cart-form {
  min-width: 0;
  width: 100%;
}

/* Free Shipping Progress Bar */
.emsun-ship-bar {
  background: #F8FAFC;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
}

.emsun-ship-bar.is-free {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.emsun-ship-bar-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.emsun-ship-bar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  flex-shrink: 0;
}

.emsun-ship-bar.is-free .emsun-ship-bar-icon {
  color: #16A34A;
}

.emsun-ship-bar-text {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.4;
}

.emsun-ship-bar-text strong {
  color: #111827;
  font-weight: 700;
}

.emsun-ship-bar.is-free .emsun-ship-bar-text strong {
  color: #15803D;
}

.emsun-ship-bar-track {
  width: 100%;
  height: 6px;
  background: #E5E7EB;
  border-radius: 999px;
  overflow: hidden;
}

.emsun-ship-bar-fill {
  height: 100%;
  background: #111827;
  border-radius: 999px;
  transition: width .35s ease;
}

.emsun-ship-bar.is-free .emsun-ship-bar-fill {
  background: #16A34A;
}

/* Cart Items Table */
.emsun-cart-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: none !important;
  margin: 0 !important;
}

.emsun-cart-table thead th {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7280 !important;
  padding: 0 0 12px !important;
  border: none !important;
  border-bottom: 1px solid #E5E7EB !important;
  background: transparent !important;
  text-align: start !important;
}

.emsun-cart-table thead th.product-subtotal {
  text-align: end !important;
}

.emsun-cart-table tbody td {
  padding: 20px 0 !important;
  border: none !important;
  border-bottom: 1px solid #F1F3F5 !important;
  vertical-align: middle !important;
  background: transparent !important;
}

.emsun-cart-table td::before,
.emsun-totals-table td::before {
  content: none !important;
  display: none !important;
}

.emsun-cart-item-cell {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-inline-end: 14px;
}

.emsun-cart-thumb {
  flex: 0 0 84px;
  width: 84px;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: #F6F7F9;
  border: 1px solid #ECEEF2;
}

.emsun-cart-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.emsun-cart-item-info {
  min-width: 0;
  flex: 1;
}

.emsun-cart-item-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  line-height: 1.38;
  margin-bottom: 4px;
}

.emsun-cart-item-title:hover {
  color: var(--emsun-coral);
}

.emsun-cart-item-info dl.variation {
  margin: 4px 0 0 !important;
  padding: 0 !important;
  font-size: 12.5px;
  color: #6B7280;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.emsun-cart-item-info dl.variation dt {
  font-weight: 500;
  margin: 0 !important;
  float: none !important;
}

.emsun-cart-item-info dl.variation dd {
  margin: 0 !important;
  padding: 0 !important;
}

.emsun-cart-item-info dl.variation dd p {
  margin: 0 !important;
}

.emsun-cart-unit-price {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: #4B5563;
}

.emsun-cart-qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.emsun-cart-table .quantity {
  display: inline-flex !important;
  align-items: center;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background: #FFFFFF;
  height: 38px;
  overflow: hidden;
  margin: 0 !important;
}

.emsun-cart-table .quantity .emsun-qty-btn {
  width: 32px;
  height: 100%;
  border: none;
  background: transparent;
  color: #374151;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .15s ease, color .15s ease;
}

.emsun-cart-table .quantity .emsun-qty-btn:hover {
  background: #F3F4F6;
  color: #111827;
}

.emsun-cart-table .quantity input.qty {
  width: 34px !important;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

.emsun-cart-table .quantity input.qty::-webkit-outer-spin-button,
.emsun-cart-table .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.emsun-cart-table .product-remove {
  display: inline-flex;
  align-items: center;
}

.emsun-cart-table .product-remove a.remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px;
  color: #9CA3AF !important;
  background: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  transition: color .15s ease, background .15s ease;
}

.emsun-cart-table .product-remove a.remove svg {
  display: block;
}

.emsun-cart-table .product-remove a.remove:hover {
  color: #DC2626 !important;
  background: #FEF2F2 !important;
}

.emsun-cart-table td.product-subtotal {
  text-align: end !important;
  white-space: nowrap;
  min-width: 112px;
  font-size: 15.5px;
  font-weight: 600;
  color: #111827;
}

.emsun-cart-table td.product-subtotal .old-price-wrapper {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 400;
  color: #9CA3AF;
  text-decoration: line-through;
}

/* Cart Coupon & Actions */
.emsun-cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
}

.emsun-cart-actions .coupon {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 380px;
  float: none !important;
}

.emsun-cart-actions .coupon input.input-text {
  flex: 1;
  min-width: 0;
  height: 42px !important;
  padding: 0 14px !important;
  border: 1px solid #D1D5DB !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  color: #111827 !important;
  background: #FFFFFF !important;
  margin: 0 !important;
  width: auto !important;
}

.emsun-cart-actions .coupon input.input-text:focus {
  outline: none;
  border-color: #111827 !important;
}

.emsun-cart-actions .coupon .emsun-coupon-btn {
  height: 42px !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  background: #111827 !important;
  color: #FFFFFF !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  border: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0 !important;
}

.emsun-cart-actions .coupon .emsun-coupon-btn:hover {
  background: #1F2937 !important;
}

.emsun-update-cart-btn {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Sticky Order Summary Card */
.emsun-cart-main .cart-collaterals {
  width: 100% !important;
  float: none !important;
}

.emsun-cart-main .cart_totals {
  width: 100% !important;
  float: none !important;
  background: #F9FAFB;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  padding: 24px;
  position: sticky;
  top: 112px;
}

.emsun-cart-main .cart_totals > h2 {
  margin: 0 0 16px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid #E5E7EB;
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #111827;
}

.emsun-totals-table {
  width: 100% !important;
  table-layout: fixed;
  border-collapse: collapse !important;
  border: none !important;
  margin: 0 0 18px !important;
  background: transparent !important;
}

.emsun-totals-table tr th,
.emsun-totals-table tr td {
  padding: 9px 0 !important;
  border: none !important;
  background: transparent !important;
  vertical-align: top !important;
  font-size: 14px;
  line-height: 1.45;
}

.emsun-totals-table tr th {
  font-weight: 500 !important;
  color: #4B5563 !important;
  text-align: start !important;
  width: 63%;
  padding-inline-end: 8px !important;
}

.emsun-totals-table tr td {
  font-weight: 600 !important;
  color: #111827 !important;
  text-align: end !important;
  width: 37%;
}

.emsun-totals-table tr.cart-discount td {
  color: #15803D !important;
}

.emsun-totals-table #shipping_method {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: end;
}

.emsun-totals-table #shipping_method li {
  margin: 0 0 4px !important;
  font-weight: 500;
  font-size: 13.5px;
}

.emsun-totals-table .woocommerce-shipping-destination {
  margin: 6px 0 0 !important;
  font-size: 12px;
  font-weight: 400;
  color: #6B7280;
  text-align: end;
}

.emsun-totals-table .shipping-calculator-button {
  display: inline-block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
  text-decoration: underline;
}

.emsun-totals-table tr.order-total th,
.emsun-totals-table tr.order-total td {
  padding-top: 14px !important;
  border-top: 1px solid #E5E7EB !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #111827 !important;
}

.emsun-totals-table tr.order-total td small.includes_tax {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 400;
  color: #6B7280;
}

.emsun-cart-main .wc-proceed-to-checkout {
  padding: 0 !important;
  margin: 0 !important;
}

.emsun-cart-main .wc-proceed-to-checkout .checkout-button {
  width: 100% !important;
  height: 50px !important;
  padding: 0 20px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  background: #111827 !important;
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  border: none !important;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.12);
  transition: background .18s ease, transform .18s ease;
}

.emsun-cart-main .wc-proceed-to-checkout .checkout-button:hover {
  background: #1F2937 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.emsun-cart-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
}

.emsun-cart-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #4B5563;
}

.emsun-cart-trust-item svg {
  flex-shrink: 0;
  color: #111827;
}

.emsun-cart-main .cross-sells {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid #EAECF0;
}

.emsun-cart-main .cross-sells > h2 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 18px;
}

/* Empty Cart State */
.emsun-empty-cart {
  max-width: 520px;
  margin: 24px auto 40px;
  padding: 44px 28px;
  background: #F9FAFB;
  border: 1px solid #EAECF0;
  border-radius: 16px;
  text-align: center;
}

.emsun-empty-cart-notices .cart-empty.woocommerce-info {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.emsun-empty-cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: #111827;
  margin-bottom: 18px;
}

.emsun-empty-cart-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  color: #111827;
}

.emsun-empty-cart-desc {
  margin: 0 0 24px;
  font-size: 14.5px;
  color: #6B7280;
}

.emsun-empty-cart .return-to-shop {
  margin: 0;
}

.emsun-empty-cart .emsun-empty-cart-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 28px !important;
  border-radius: 10px !important;
  background: #111827 !important;
  color: #FFFFFF !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
}

.emsun-empty-cart .emsun-empty-cart-cta:hover {
  background: #1F2937 !important;
  color: #FFFFFF !important;
}

@media (max-width: 1024px) {
  .emsun-cart-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
  }
}

@media (max-width: 820px) {
  .emsun-cart-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .emsun-cart-main .cart_totals {
    position: static;
  }
}

@media (max-width: 640px) {
  .emsun-cart-main {
    padding: 18px 0 80px;
  }
  .emsun-cart-header {
    padding-bottom: 14px;
    margin-bottom: 18px;
  }
  .emsun-cart-table thead {
    display: none;
  }
  .emsun-cart-table,
  .emsun-cart-table tbody {
    display: block;
    width: 100%;
  }
  .emsun-cart-table tbody tr.cart_item {
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "item item"
      "qty total";
    gap: 12px 10px;
    padding: 16px 0 !important;
    border-bottom: 1px solid #ECEEF2;
    align-items: center;
  }
  .emsun-cart-table tbody td.product-name {
    grid-area: item;
    padding: 0 !important;
    border: none !important;
  }
  .emsun-cart-table tbody td.product-quantity {
    grid-area: qty;
    padding: 0 !important;
    border: none !important;
  }
  .emsun-cart-table tbody td.product-subtotal {
    grid-area: total;
    padding: 0 !important;
    border: none !important;
    text-align: end !important;
    min-width: 0;
  }
  .emsun-cart-item-cell {
    padding-inline-end: 0;
    gap: 12px;
  }
  .emsun-cart-thumb {
    flex: 0 0 74px;
    width: 74px;
  }
  .emsun-cart-item-title {
    font-size: 14px;
  }
  .emsun-cart-actions .coupon {
    max-width: 100%;
  }
  .emsun-cart-main .cart_totals {
    padding: 18px;
  }
}

/* ===========================
   FOOTER & FLOATING WHATSAPP
   =========================== */
.emsun-footer {
  background: var(--emsun-navy);
  color: rgba(255,255,255,0.88);
  padding: 52px 0 26px;
  margin-top: 32px;
}

.emsun-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.emsun-footer h4 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.emsun-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
}

.emsun-footer a:hover {
  color: var(--emsun-coral);
}

.emsun-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.72);
}

.emsun-footer-payments {
  height: 32px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain;
  background: rgba(255,255,255,0.95);
  padding: 4px 10px;
  border-radius: 8px;
}

.wpml-ls-statics-footer {
  display: none !important;
}

.emsun-whatsapp-float {
  position: fixed;
  bottom: 20px;
  inset-inline-start: 20px;
  z-index: 880;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #25D366;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.emsun-whatsapp-float:hover {
  background: #1fb857;
  color: #fff;
  transform: translateY(-2px);
}

/* ===========================
   RESPONSIVE BREAKPOINTS
   =========================== */
@media (max-width: 1100px) {
  .emsun-cat-5grid { grid-template-columns: repeat(3, 1fr); }
  ul.products { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .emsun-shop-layout {
    grid-template-columns: 210px 1fr;
    gap: 16px;
  }
  .emsun-shop-sidebar { padding: 14px; }
  .emsun-shop-main ul.products {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px !important;
  }
  .emsun-pcard-body { padding: 12px; }
  .emsun-pcard-title { font-size: 13.5px !important; }
  .emsun-pcard-price ins,
  .emsun-pcard-price > .woocommerce-Price-amount { font-size: 15px; }
  .emsun-pcard-action .button {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 900px) {
  .emsun-topbar,
  .emsun-header-left,
  .emsun-desktop-only-btn,
  .emsun-nav-bar { display: none; }

  .emsun-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 20px;
  }

  .emsun-logo-link img { height: 38px; }

  .emsun-icon-btn.emsun-mobile-search-btn,
  .emsun-icon-btn.emsun-mobile-toggle { display: inline-flex; }
  .emsun-trust-grid,
  .emsun-editorial-3grid,
  .emsun-footer-grid { grid-template-columns: 1fr; }
  .emsun-age-4grid { grid-template-columns: repeat(2, 1fr); }
  .emsun-cat-5grid { grid-template-columns: repeat(2, 1fr); }

  .emsun-wc-main--single { padding: 4px 0 44px; }
  .single-product div.product { display: block; }
  .emsun-pdp-breadcrumb {
    display: flex !important;
    padding: 8px 0 10px;
    margin-bottom: 14px;
    font-size: 12px;
  }
  .single-product .woocommerce-product-gallery .flex-control-thumbs {
    display: none !important;
  }
  .emsun-gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px 0 4px;
  }
  .emsun-gallery-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #CBD5E1;
    transition: width .2s ease, background .2s ease;
  }
  .emsun-gallery-dot.is-active {
    width: 20px;
    background: var(--emsun-coral);
  }
  .emsun-gallery-arrow {
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.88);
    color: #111827;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
  }
  .emsun-gallery-arrow--prev { inset-inline-start: 10px; }
  .emsun-gallery-arrow--next { inset-inline-end: 10px; }
  .single-product .woocommerce-product-gallery { margin-bottom: 14px !important; }
  .single-product div.product div.summary { margin-top: 4px !important; }
}

@media (max-width: 900px) and (min-width: 641px) {
  .emsun-shop-layout {
    grid-template-columns: 205px 1fr;
    gap: 16px;
    padding: 12px 0 40px;
  }
  .emsun-shop-sidebar {
    padding: 14px;
    top: 76px;
  }
  .emsun-shop-main ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px !important;
  }
  ul.products {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px !important;
  }
  .emsun-pcard-body { padding: 12px 14px; }
}

@media (max-width: 640px) {
  .emsun-container { padding: 0 12px; }

  .emsun-header-main { padding: 10px 12px; }

  .woocommerce-breadcrumb {
    margin: 10px 0 4px !important;
    font-size: 11.5px !important;
  }

  .emsun-shop-layout {
    grid-template-columns: 1fr;
    padding: 8px 0 36px;
  }

  .emsun-shop-sidebar {
    display: none;
    position: fixed;
    inset: 0 auto 0 0;
    width: min(330px, 88vw);
    height: 100vh;
    z-index: 9999;
    border-radius: 0;
    overflow-y: auto;
    top: 0;
  }
  .emsun-shop-sidebar.is-open { display: block; }
  .emsun-filter-close {
    display: inline-flex;
    background: var(--emsun-ice);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }

  .emsun-shop-main .woocommerce-products-header__title {
    font-size: 21px;
    margin: 2px 0 2px;
  }
  .emsun-shop-main .woocommerce-result-count {
    font-size: 12.5px;
    margin: 0 0 10px !important;
  }

  .emsun-shopnetic-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 14px;
  }

  .emsun-subcat-pills {
    width: 100%;
    padding: 3px;
    border-radius: 9px;
  }

  .emsun-shopnetic-actions {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    width: 100%;
  }

  .emsun-shopnetic-filter-btn { display: inline-flex; }

  .emsun-sort-box {
    width: 100%;
    min-width: 0;
  }
  .emsun-sort-box .woocommerce-ordering {
    flex: 1;
    min-width: 0;
  }
  .emsun-sort-box .woocommerce-ordering select {
    width: 100%;
    min-width: 0;
    font-size: 12.5px;
  }

  ul.products,
  .emsun-shop-main ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  ul.products li.emsun-pcard { border-radius: 11px; }
  .emsun-pcard-media { aspect-ratio: 1 / 1; }
  .emsun-pcard-badge {
    top: 7px;
    inset-inline-start: 7px;
    font-size: 10px;
    padding: 2px 6px;
  }
  .emsun-pcard .emsun-wl-card-btn {
    top: 7px;
    inset-inline-end: 7px;
    width: 26px;
    height: 26px;
  }
  .emsun-pcard .emsun-wl-card-btn svg {
    width: 14px;
    height: 14px;
  }
  .emsun-pcard-body { padding: 10px; }
  .emsun-pcard-title {
    font-size: 13px !important;
    line-height: 1.3 !important;
    min-height: 34px;
  }
  .emsun-pcard-cat { font-size: 11px; }
  .emsun-pcard-attrs {
    margin-top: 7px;
    gap: 5px;
  }
  .emsun-pcard-attr-label { display: none; }
  .emsun-size-chip {
    font-size: 9.5px;
    padding: 1px 5px;
  }
  .emsun-color-dot {
    width: 12px;
    height: 12px;
  }
  .emsun-pcard-promo {
    margin-top: 6px;
    font-size: 10.5px;
  }
  .emsun-pcard-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding-top: 8px;
    margin-top: auto;
  }
  .emsun-pcard-price del { font-size: 10.5px; }
  .emsun-pcard-price ins,
  .emsun-pcard-price > .woocommerce-Price-amount { font-size: 14.5px; }
  .emsun-pcard-action .button {
    width: 100% !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    border-radius: 7px !important;
  }

  .single-product .variations .emsun-swatch-group {
    display: none !important;
  }
  .single-product .variations .emsun-selected-val {
    display: none !important;
  }
  .emsun-mdrop {
    display: block;
    position: relative;
    width: 100%;
  }
  .emsun-mdrop-trigger {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid #D5DCE4;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: start;
    transition: border-color .15s ease;
  }
  .emsun-mdrop-trigger.is-placeholder {
    color: #64748B;
    font-weight: 500;
  }
  .emsun-mdrop.is-open .emsun-mdrop-trigger {
    border-color: #111827;
  }
  .emsun-mdrop-chev {
    flex-shrink: 0;
    color: #475569;
    transition: transform .18s ease;
  }
  .emsun-mdrop.is-open .emsun-mdrop-chev {
    transform: rotate(180deg);
  }
  .emsun-mdrop-menu {
    margin-top: 6px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-height: 240px;
    overflow-y: auto;
  }
  .emsun-mdrop-menu[hidden] {
    display: none !important;
  }
  .emsun-mdrop-opt {
    width: 100%;
    border: none;
    background: transparent;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1F2937;
    text-align: start;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .emsun-mdrop-opt:hover:not(.is-disabled) {
    background: #F4F6F8;
  }
  .emsun-mdrop-opt.is-selected {
    background: #111827;
    color: #fff;
  }
  .emsun-mdrop-opt.is-disabled {
    opacity: 0.4;
    text-decoration: line-through;
    cursor: not-allowed;
  }
  .single-product div.product .product_title {
    font-size: 18px;
  }
  .single-product .summary p.price ins,
  .single-product .summary .emsun-prices ins {
    font-size: 20px;
  }
  .emsun-pdp-specs { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-tabs ul.tabs li a {
    padding: 13px 14px !important;
    font-size: 13.5px;
  }
  .single-product div.product .woocommerce-tabs .panel {
    padding: 18px 14px !important;
  }

  .emsun-whatsapp-float span { display: none; }
  .emsun-whatsapp-float {
    bottom: 16px;
    inset-inline-start: auto;
    inset-inline-end: 14px;
    padding: 10px;
  }
}

@media (max-width: 600px) {
  .emsun-topbar-inner { flex-direction: column; text-align: center; gap: 6px; }
  .emsun-logo-link img { height: 42px; }
}

/* ===========================
   SHOPIFY-STYLE CHECKOUT PAGE
   =========================== */
.emsun-checkout-main {
  padding: 24px 0 68px;
  background: #FFFFFF;
}

.emsun-checkout-main .woocommerce-notices-wrapper,
.emsun-checkout-main .woocommerce-NoticeGroup-checkout {
  margin-bottom: 18px;
}

.emsun-checkout-main .woocommerce-message,
.emsun-checkout-main .woocommerce-error,
.emsun-checkout-main .woocommerce-info {
  border-radius: 10px !important;
  border: 1px solid #E5E7EB !important;
  padding: 12px 16px 12px 42px !important;
  margin: 0 0 14px !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  box-shadow: none !important;
}

.emsun-checkout-main .woocommerce-message {
  background: #ECFDF5 !important;
  border-color: #A7F3D0 !important;
  color: #065F46 !important;
}

.emsun-checkout-main .woocommerce-error {
  background: #FEF2F2 !important;
  border-color: #FECACA !important;
  color: #991B1B !important;
  list-style: none;
}

.emsun-checkout-main .woocommerce-info {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
  color: #1E293B !important;
}

/* Checkout Header */
.emsun-co-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid #EAECF0;
}

.emsun-co-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 12.5px;
  color: #6B7280;
  margin-bottom: 6px;
}

.emsun-co-steps a {
  color: #374151;
  font-weight: 500;
}

.emsun-co-steps a:hover {
  color: var(--emsun-coral);
  text-decoration: underline;
}

.emsun-co-step-sep {
  color: #9CA3AF;
}

.emsun-co-steps .is-current {
  color: #111827;
  font-weight: 700;
}

.emsun-co-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.emsun-co-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.emsun-co-ssl-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #15803D;
  font-size: 12.5px;
  font-weight: 600;
}

.emsun-co-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.emsun-co-back:hover {
  color: #111827;
}

/* Hide redundant default coupon toggle (handled by inline sidebar coupon box); style login toggle */
.woocommerce-checkout .woocommerce-form-coupon-toggle {
  display: none !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
  background: #F8FAFC !important;
  border-color: #E5E7EB !important;
  font-size: 13.5px;
}

.woocommerce-checkout form.woocommerce-form-login {
  background: #F9FAFB;
  border: 1px solid #E5E7EB !important;
  border-radius: 12px !important;
  padding: 18px 20px !important;
  margin: 0 0 22px !important;
}

/* Mobile Summary Accordion Bar (hidden on desktop) */
.emsun-co-mobile-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: #F8FAFC;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  text-align: start;
}

.emsun-co-mobile-toggle-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.emsun-co-mobile-chev {
  transition: transform .2s ease;
  color: #6B7280;
}

.emsun-co-mobile-toggle.is-open .emsun-co-mobile-chev {
  transform: rotate(180deg);
}

.emsun-co-mobile-total {
  font-size: 15.5px;
  font-weight: 700;
  color: #111827;
}

/* 2-Column Shopify Checkout Grid */
.emsun-co-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 36px;
  align-items: start;
}

.emsun-co-main {
  min-width: 0;
}

.emsun-co-card {
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  padding: 24px 26px;
  margin-bottom: 22px;
}

.emsun-co-card h3,
.emsun-co-section-head h3 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F3F5;
  font-size: 17px;
  font-weight: 600;
  color: #111827;
}

.emsun-co-section-head {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F3F5;
}

.emsun-co-section-head h3 {
  margin: 0 0 4px;
  padding: 0;
  border: none;
}

.emsun-co-section-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #6B7280;
}

/* Invoice Type (Bireysel / Kurumsal) Segmented Pills */
#fatura_turu_alani {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
  border-radius: 0 !important;
}

#fatura_turu_alani > p.form-row {
  margin: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

#fatura_turu_alani > p.form-row > strong {
  grid-column: 1 / -1;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

#fatura_turu_alani > p.form-row > br {
  display: none;
}

#fatura_turu_alani label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 11px 14px;
  border: 1.5px solid #D1D5DB;
  border-radius: 10px;
  background: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}

#fatura_turu_alani label.is-selected {
  border-color: #111827;
  background: #F9FAFB;
  color: #111827;
}

#fatura_turu_alani input[type="radio"] {
  accent-color: #111827;
  margin: 0;
}

/* Checkout Form Field Grid (preserves jQuery .hide()/.slideDown() inline display!) */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper .form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
  min-width: 0;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-wide {
  grid-column: 1 / -1;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-first {
  grid-column: 1 / 2;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-last {
  grid-column: 2 / 3;
}

.woocommerce-checkout form .form-row label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  line-height: 1.35;
}

.woocommerce-checkout form .form-row label .required {
  color: #DC2626;
  text-decoration: none;
}

.woocommerce-checkout form .form-row .optional {
  font-weight: 400;
  color: #9CA3AF;
  font-size: 12px;
}

.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout form .form-row textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  color: #111827;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.woocommerce-checkout form .form-row textarea {
  min-height: 92px;
  resize: vertical;
}

.woocommerce-checkout form .form-row input.input-text:focus,
.woocommerce-checkout form .form-row select:focus,
.woocommerce-checkout form .form-row textarea:focus {
  outline: none;
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.woocommerce-checkout form .form-row.woocommerce-invalid input.input-text,
.woocommerce-checkout form .form-row.woocommerce-invalid select,
.woocommerce-checkout form .form-row.woocommerce-invalid .select2-selection--single {
  border-color: #DC2626 !important;
}

.woocommerce-checkout .select2-container {
  width: 100% !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
  height: 44px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background: #FFFFFF;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px;
  padding-inline-start: 13px;
  padding-inline-end: 30px;
  font-size: 14px;
  color: #111827;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
}

.woocommerce-checkout .woocommerce-account-fields {
  margin-top: 16px;
}

.woocommerce-checkout .woocommerce-shipping-fields {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #F1F3F5;
}

#ship-to-different-address {
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: none !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
}

#ship-to-different-address label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  margin: 0;
}

#ship-to-different-address input[type="checkbox"],
.woocommerce-checkout input[type="checkbox"] {
  accent-color: #111827;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.woocommerce-checkout .woocommerce-additional-fields {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #F1F3F5;
}

.woocommerce-checkout .woocommerce-additional-fields h3 {
  font-size: 15px;
  margin: 0 0 12px;
  padding: 0;
  border: none;
}

/* Payment Section */
.emsun-co-payment-card #payment.woocommerce-checkout-payment {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.emsun-co-payment-card #payment ul.payment_methods {
  list-style: none !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 10px !important;
  overflow: hidden;
  background: #FFFFFF;
}

.emsun-co-payment-card #payment ul.payment_methods > li.wc_payment_method {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #E5E7EB !important;
  line-height: 1.5;
}

.emsun-co-payment-card #payment ul.payment_methods > li.wc_payment_method:last-child {
  border-bottom: none !important;
}

.emsun-co-payment-card #payment ul.payment_methods > li > input.input-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.emsun-co-payment-card #payment ul.payment_methods > li > label {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  padding-inline-start: 44px;
  position: relative;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  color: #111827;
  background: #FFFFFF;
  margin: 0;
}

.emsun-co-payment-card #payment ul.payment_methods > li > label::before {
  content: "";
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1.5px solid #9CA3AF;
  background: #FFFFFF;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.emsun-co-payment-card #payment ul.payment_methods > li > input:checked + label {
  background: #F9FAFB;
}

.emsun-co-payment-card #payment ul.payment_methods > li > input:checked + label::before {
  border-color: #111827;
  box-shadow: inset 0 0 0 5px #111827;
}

.emsun-co-payment-card #payment ul.payment_methods > li > label img {
  max-height: 24px !important;
  width: auto !important;
  margin: 0 !important;
  flex-shrink: 0;
}

.emsun-co-payment-card #payment div.payment_box {
  background: #F9FAFB !important;
  color: #4B5563 !important;
  font-size: 13.5px !important;
  line-height: 1.5;
  padding: 12px 16px 14px 44px !important;
  margin: 0 !important;
  border-top: 1px solid #F1F3F5;
  width: 100% !important;
}

.emsun-co-payment-card #payment div.payment_box::before {
  display: none !important;
  content: none !important;
}

.emsun-co-payment-card #payment div.payment_box p {
  margin: 0;
}

.emsun-co-payment-card #payment .form-row.place-order {
  padding: 0 !important;
  margin: 0 !important;
}

/* WooContracts & Legal Checkboxes */
.woocommerce-checkout #sozlesmeler {
  background: #FAFAFA;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 14px;
}

.woocommerce-checkout #sozlesmeler > h2 {
  margin: 0 0 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #111827;
}

.woocommerce-checkout #sozlesmeler h4 {
  margin: 10px 0 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
}

.woocommerce-checkout #sozlesmeler #woocontracts1,
.woocommerce-checkout #sozlesmeler #woocontracts2,
.woocommerce-checkout #sozlesmeler #woocontracts3 {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 10px 12px !important;
  height: 112px !important;
  font-size: 12px !important;
  color: #4B5563;
  line-height: 1.5;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
  font-size: 12.5px;
  color: #6B7280;
  line-height: 1.5;
  margin: 0 0 12px;
}

.woocommerce-checkout .woocommerce-privacy-policy-text p {
  margin: 0;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row,
.woocommerce-checkout p.custom-checkboxes {
  margin: 0 0 10px !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label.checkbox,
.woocommerce-checkout p.custom-checkboxes label.checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  line-height: 1.45;
  cursor: pointer;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"],
.woocommerce-checkout p.custom-checkboxes input[type="checkbox"] {
  margin-top: 2px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a,
.woocommerce-checkout p.custom-checkboxes a {
  color: #111827;
  text-decoration: underline;
  font-weight: 600;
}

/* Complete Order CTA */
.woocommerce-checkout button#place_order {
  width: 100% !important;
  height: 52px !important;
  margin: 14px 0 0 !important;
  padding: 0 22px !important;
  border-radius: 10px !important;
  background: var(--emsun-coral) !important;
  color: #FFFFFF !important;
  font-size: 15.5px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  border: none !important;
  float: none !important;
  box-shadow: 0 4px 14px rgba(228, 106, 75, 0.25);
  transition: background .18s ease, transform .18s ease;
}

.woocommerce-checkout button#place_order:hover {
  background: var(--emsun-navy) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.emsun-co-sidebar {
  align-self: stretch;
  min-width: 0;
}

/* Right Sticky Order Summary Card */
.emsun-co-summary-card {
  background: #F9FAFB;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  padding: 24px;
  position: sticky;
  top: 108px;
}

.emsun-co-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid #E5E7EB;
}

.emsun-co-summary-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.emsun-co-summary-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #111827;
}

.emsun-co-edit-cart {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.emsun-co-edit-cart:hover {
  color: #111827;
}

.emsun-co-review-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: none !important;
  margin: 0 !important;
  background: transparent !important;
}

.emsun-co-review-table tbody td {
  padding: 10px 0 !important;
  border: none !important;
  border-bottom: 1px solid #EEF0F3 !important;
  vertical-align: middle !important;
  background: transparent !important;
}

.emsun-co-review-table tbody tr:last-child td {
  border-bottom: 1px solid #E5E7EB !important;
  padding-bottom: 16px !important;
}

.emsun-co-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-inline-end: 10px;
}

.emsun-co-thumb-wrap {
  position: relative;
  flex: 0 0 60px;
  width: 60px;
  height: 64px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
}

.emsun-co-thumb-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 9px;
  display: block;
}

.emsun-co-qty-badge {
  position: absolute;
  top: -7px;
  inset-inline-end: -7px;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  background: #374151;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.16);
}

.emsun-co-item-meta {
  min-width: 0;
  flex: 1;
}

.emsun-co-item-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
}

.emsun-co-item-meta dl.variation {
  margin: 3px 0 0 !important;
  padding: 0 !important;
  font-size: 12px;
  color: #6B7280;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
}

.emsun-co-item-meta dl.variation dt,
.emsun-co-item-meta dl.variation dd {
  margin: 0 !important;
  padding: 0 !important;
}

.emsun-co-item-meta dl.variation dd p {
  margin: 0 !important;
}

.emsun-co-review-table tbody td.product-total {
  text-align: end !important;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
}

.emsun-co-review-table tbody td.product-total .old-price-wrapper {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: #9CA3AF;
  text-decoration: line-through;
}

.emsun-co-review-table tfoot tr th,
.emsun-co-review-table tfoot tr td {
  padding: 8px 0 !important;
  border: none !important;
  background: transparent !important;
  vertical-align: top !important;
  font-size: 13.5px;
  line-height: 1.45;
}

.emsun-co-review-table tfoot tr:first-child th,
.emsun-co-review-table tfoot tr:first-child td {
  padding-top: 14px !important;
}

.emsun-co-review-table tfoot tr th {
  font-weight: 500 !important;
  color: #4B5563 !important;
  text-align: start !important;
  width: 58%;
  padding-inline-end: 10px !important;
}

.emsun-co-review-table tfoot tr td {
  font-weight: 600 !important;
  color: #111827 !important;
  text-align: end !important;
}

.emsun-co-review-table tfoot tr.cart-discount td {
  color: #15803D !important;
}

.emsun-co-review-table #shipping_method {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: end;
}

.emsun-co-review-table #shipping_method li {
  margin: 0 0 4px !important;
  font-weight: 500;
  font-size: 13px;
}

.emsun-co-review-table tfoot tr.order-total th,
.emsun-co-review-table tfoot tr.order-total td {
  padding-top: 14px !important;
  border-top: 1px solid #E5E7EB !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #111827 !important;
}

.emsun-co-review-table tfoot tr.order-total td small.includes_tax {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 400;
  color: #6B7280;
}

.emsun-co-review-table td::before {
  content: none !important;
  display: none !important;
}

/* Inline Coupon Row inside Summary */
.emsun-co-coupon-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
}

.emsun-co-coupon-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 13px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background: #FFFFFF;
  font-family: inherit;
  font-size: 13.5px;
  color: #111827;
}

.emsun-co-coupon-input:focus {
  outline: none;
  border-color: #111827;
}

.emsun-co-coupon-apply {
  height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: none;
  background: #111827;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.emsun-co-coupon-apply:hover {
  background: #1F2937;
}

/* Order Received / Pay Pages */
.emsun-checkout-main .woocommerce-order {
  max-width: 880px;
  margin: 0 auto;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.emsun-checkout-main ul.woocommerce-order-overview::before,
.emsun-checkout-main ul.woocommerce-order-overview::after,
.emsun-checkout-main ul.wc-bacs-bank-details::before,
.emsun-checkout-main ul.wc-bacs-bank-details::after,
.emsun-checkout-main .woocommerce-columns--addresses::before,
.emsun-checkout-main .woocommerce-columns--addresses::after {
  content: none !important;
  display: none !important;
}

.emsun-checkout-main ul.woocommerce-order-overview {
  list-style: none;
  margin: 0 0 20px;
  padding: 18px 20px;
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px 18px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

.emsun-checkout-main ul.woocommerce-order-overview li {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6B7280;
}

.emsun-checkout-main ul.woocommerce-order-overview li strong {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 700;
  color: #111827;
  word-break: break-word;
}

@media (max-width: 1024px) {
  .emsun-co-layout {
    grid-template-columns: minmax(0, 1fr) 355px;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .emsun-co-mobile-toggle {
    display: flex;
  }
  .emsun-co-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .emsun-co-sidebar {
    order: -1;
    display: none;
  }
  .emsun-co-sidebar.is-open {
    display: block;
  }
  .emsun-co-summary-card {
    position: static;
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .emsun-checkout-main {
    padding: 16px 0 84px;
  }
  .emsun-co-header {
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 16px;
  }
  .emsun-co-card {
    padding: 18px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
  }
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-first,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-last {
    grid-column: 1 / -1;
  }
  .emsun-co-payment-card #payment ul.payment_methods > li > label {
    padding: 14px 14px 14px 40px;
    font-size: 14px;
  }
  .emsun-co-payment-card #payment ul.payment_methods > li > label::before {
    inset-inline-start: 14px;
  }
  .emsun-co-payment-card #payment div.payment_box {
    padding: 12px 14px !important;
  }
}

/* ===========================
   STORE ("MAĞAZAMIZ") PAGE
   =========================== */
.emsun-store-main {
  padding: 20px 0 68px;
  background: #FFFFFF;
}

.emsun-store-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 22px;
}

.emsun-store-crumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4B5563;
}

.emsun-store-crumb a:hover {
  color: var(--emsun-coral);
}

.emsun-store-crumb .is-current {
  color: #111827;
  font-weight: 600;
}

/* Hero Split */
.emsun-store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 34px;
}

.emsun-store-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  color: #111827;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
}

.emsun-store-h1 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.emsun-store-lead {
  margin: 0 0 24px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #4B5563;
}

.emsun-store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.emsun-store-btn-primary,
.emsun-store-btn-wa,
.emsun-store-btn-dark,
.emsun-store-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.emsun-store-btn-primary {
  background: var(--emsun-coral);
  color: #FFFFFF;
}

.emsun-store-btn-primary:hover {
  background: var(--emsun-coral-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.emsun-store-btn-wa {
  background: #25D366;
  color: #FFFFFF;
}

.emsun-store-btn-wa:hover {
  background: #1fb857;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.emsun-store-btn-dark {
  background: #111827;
  color: #FFFFFF;
}

.emsun-store-btn-dark:hover {
  background: #1F2937;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.emsun-store-btn-outline {
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  color: #111827;
}

.emsun-store-btn-outline:hover {
  border-color: #111827;
  background: #F9FAFB;
}

.emsun-store-hero-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #EAECF0;
  background: #F6F7F9;
  box-shadow: 0 10px 28px rgba(10, 30, 51, 0.08);
}

.emsun-store-hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Highlights Strip */
.emsun-store-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.emsun-store-hl-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: #F9FAFB;
  border: 1px solid #EAECF0;
  border-radius: 14px;
}

.emsun-store-hl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: var(--emsun-coral);
  flex-shrink: 0;
}

.emsun-store-hl-card h2 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.emsun-store-hl-card p {
  margin: 0;
  font-size: 13px;
  color: #6B7280;
  line-height: 1.45;
}

/* Section Headers */
.emsun-store-section-head {
  margin-bottom: 20px;
}

.emsun-store-section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.015em;
}

.emsun-store-section-head p {
  margin: 0;
  font-size: 14.5px;
  color: #6B7280;
}

.emsun-store-section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Editorial Bento Gallery */
.emsun-store-gallery {
  margin-bottom: 52px;
}

.emsun-store-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 16px;
}

.emsun-store-gallery-card {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #EAECF0;
  background: #F6F7F9;
}

.emsun-store-gallery-card.is-featured {
  grid-row: span 2;
}

.emsun-store-gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
}

.emsun-store-gallery-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.emsun-store-gallery-card:hover .emsun-store-gallery-trigger img {
  transform: scale(1.03);
}

.emsun-store-gallery-zoom {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.emsun-store-gallery-cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0) 0%, rgba(17, 24, 39, 0.78) 100%);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  pointer-events: none;
}

/* Lightbox Modal */
.emsun-store-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 64px;
}

.emsun-store-lightbox[hidden] {
  display: none !important;
}

.emsun-store-lb-figure {
  margin: 0;
  max-width: min(920px, 90vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.emsun-store-lb-figure img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  border-radius: 12px;
  object-fit: contain;
  background: #111827;
}

.emsun-store-lb-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
}

.emsun-store-lb-counter {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  white-space: nowrap;
}

.emsun-store-lb-close,
.emsun-store-lb-nav {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(17, 24, 39, 0.75);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.emsun-store-lb-close {
  top: 20px;
  inset-inline-end: 20px;
}

.emsun-store-lb-nav.is-prev {
  inset-inline-start: 16px;
}

.emsun-store-lb-nav.is-next {
  inset-inline-end: 16px;
}

/* Visit & Location Card */
.emsun-store-visit {
  margin-bottom: 52px;
}

.emsun-store-visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 28px;
  padding: 28px;
  background: #F9FAFB;
  border: 1px solid #EAECF0;
  border-radius: 16px;
  align-items: stretch;
}

.emsun-store-badge-soft {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  font-size: 12px;
  font-weight: 600;
  color: var(--emsun-coral);
  margin-bottom: 10px;
}

.emsun-store-visit-info h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  color: #111827;
}

.emsun-store-visit-intro {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: #4B5563;
  line-height: 1.55;
}

.emsun-store-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.emsun-store-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  border-radius: 10px;
}

.emsun-store-info-row svg {
  color: #111827;
  margin-top: 2px;
  flex-shrink: 0;
}

.emsun-store-info-row strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.emsun-store-info-row address,
.emsun-store-info-row span {
  font-style: normal;
  font-size: 13.5px;
  color: #4B5563;
  line-height: 1.45;
}

.emsun-store-info-row a:hover {
  color: var(--emsun-coral);
  text-decoration: underline;
}

.emsun-store-visit-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.emsun-store-map-wrap {
  min-height: 360px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  background: #E5E7EB;
}

.emsun-store-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

/* Collections Strip */
.emsun-store-cats {
  margin-bottom: 52px;
}

.emsun-store-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.emsun-store-all-link:hover {
  color: var(--emsun-coral);
}

.emsun-store-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.emsun-store-cat-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #F9FAFB;
  border: 1px solid #EAECF0;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.emsun-store-cat-pill:hover {
  background: #FFFFFF;
  border-color: #111827;
  color: var(--emsun-coral);
}

/* FAQ Accordion */
.emsun-store-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.emsun-store-faq-item {
  border: 1px solid #EAECF0;
  border-radius: 12px;
  background: #FFFFFF;
  overflow: hidden;
}

.emsun-store-faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
}

.emsun-store-faq-item summary::-webkit-details-marker {
  display: none;
}

.emsun-store-faq-chev {
  flex-shrink: 0;
  color: #6B7280;
  transition: transform .2s ease;
}

.emsun-store-faq-item[open] .emsun-store-faq-chev {
  transform: rotate(180deg);
}

.emsun-store-faq-body {
  padding: 0 18px 16px;
  border-top: 1px solid #F3F4F6;
}

.emsun-store-faq-body p {
  margin: 12px 0 0;
  font-size: 14px;
  color: #4B5563;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .emsun-store-hero {
    gap: 24px;
  }
  .emsun-store-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .emsun-store-gallery-grid {
    grid-auto-rows: 200px;
  }
}

@media (max-width: 900px) {
  .emsun-store-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .emsun-store-visit-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .emsun-store-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }
  .emsun-store-gallery-card.is-featured {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .emsun-store-main {
    padding: 16px 0 84px;
  }
  .emsun-store-highlights {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 34px;
  }
  .emsun-store-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .emsun-store-gallery-card.is-featured {
    grid-column: span 1;
    min-height: 220px;
  }
  .emsun-store-map-wrap,
  .emsun-store-map-wrap iframe {
    min-height: 280px;
  }
  .emsun-store-lightbox {
    padding: 16px;
  }
  .emsun-store-lb-nav.is-prev {
    inset-inline-start: 10px;
  }
  .emsun-store-lb-nav.is-next {
    inset-inline-end: 10px;
  }
}

/* ===========================
   WOOCOMMERCE SHOP ("MAĞAZA") SEO HERO & GUIDE
   =========================== */
.emsun-wc-main--archive .emsun-pdp-breadcrumb {
  margin-bottom: 16px;
}

.woocommerce-result-count .screen-reader-text {
  display: none !important;
}

.emsun-shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  margin-bottom: 18px;
  background: #F9FAFB;
  border: 1px solid #EAECF0;
  border-radius: 16px;
}

.emsun-shop-hero-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.emsun-shop-badge-neutral,
.emsun-shop-badge-count {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: #374151;
}

.emsun-shop-badge-promo {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: #DC2626;
  color: #FFFFFF;
}

.emsun-shop-hero-title {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.3vw, 29px);
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.emsun-shop-hero-desc {
  margin: 0;
  font-size: 14.5px;
  color: #4B5563;
  line-height: 1.55;
  max-width: 720px;
}

.emsun-shop-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.emsun-shop-perks li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
}

.emsun-shop-perks svg {
  color: var(--emsun-coral);
  flex-shrink: 0;
}

/* 7-Column Visual Category Strip */
.emsun-shop-catstrip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.emsun-shop-catcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 8px 11px;
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  border-radius: 12px;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.emsun-shop-catcard:hover {
  border-color: #111827;
  box-shadow: 0 6px 18px rgba(10, 30, 51, 0.06);
  transform: translateY(-2px);
}

.emsun-shop-catcard-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #F6F7F9;
  margin-bottom: 8px;
}

.emsun-shop-catcard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.emsun-shop-catcard-title {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  line-height: 1.25;
}

.emsun-shop-catcard-sub {
  font-size: 11.5px;
  color: #6B7280;
  margin-top: 2px;
}

/* Bottom SEO Guide & FAQ on /magaza/ */
.emsun-shop-seo {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid #EAECF0;
}

.emsun-shop-seo-box {
  margin-bottom: 36px;
}

.emsun-shop-seo-box h2,
.emsun-shop-seo-faq h2 {
  margin: 0 0 10px;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 600;
  color: #111827;
}

.emsun-shop-seo-lead {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #4B5563;
  max-width: 860px;
}

.emsun-shop-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.emsun-shop-seo-card {
  padding: 18px 20px;
  background: #F9FAFB;
  border: 1px solid #EAECF0;
  border-radius: 14px;
}

.emsun-shop-seo-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.emsun-shop-seo-card p {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: #4B5563;
  line-height: 1.55;
}

.emsun-shop-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.emsun-shop-seo-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.emsun-shop-seo-links a:hover {
  color: var(--emsun-coral);
}

@media (max-width: 1024px) {
  .emsun-shop-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .emsun-shop-perks {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .emsun-shop-catstrip {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 132px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }
  .emsun-shop-catcard {
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  .emsun-shop-hero {
    padding: 16px;
    margin-bottom: 14px;
  }
  .emsun-shop-seo-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   SHOPIFY-STYLE MY ACCOUNT PAGE
   =========================== */
.emsun-account-main {
  padding: 32px 0 68px;
  background: #FFFFFF;
}

.emsun-account-main.is-guest {
  background: #F9FAFB;
  padding: 44px 0 68px;
}

.emsun-account-main .woocommerce-notices-wrapper {
  max-width: 480px;
  margin: 0 auto 18px;
}

.emsun-account-main.is-logged-in .woocommerce-notices-wrapper {
  max-width: none;
  margin-bottom: 18px;
}

.emsun-account-main .woocommerce-message,
.emsun-account-main .woocommerce-error,
.emsun-account-main .woocommerce-info {
  border-radius: 10px !important;
  border: 1px solid #E5E7EB !important;
  padding: 12px 16px 12px 42px !important;
  margin: 0 0 14px !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  box-shadow: none !important;
}

.emsun-account-main .woocommerce-message {
  background: #ECFDF5 !important;
  border-color: #A7F3D0 !important;
  color: #065F46 !important;
}

.emsun-account-main .woocommerce-error {
  background: #FEF2F2 !important;
  border-color: #FECACA !important;
  color: #991B1B !important;
  list-style: none;
}

/* Guest Auth Card */
.emsun-auth-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.emsun-auth-card {
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(10, 30, 51, 0.05);
}

.emsun-auth-head {
  text-align: center;
  margin-bottom: 22px;
}

.emsun-auth-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emsun-coral);
  margin-bottom: 6px;
}

.emsun-auth-title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.02em;
}

.emsun-auth-sub {
  margin: 0;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.5;
}

.emsun-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 5px;
  border-radius: 12px;
  background: #F3F4F6;
  margin-bottom: 22px;
}

.emsun-auth-tab {
  height: 40px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: #4B5563;
  font-size: 14px;
  font-weight: 600;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.emsun-auth-tab.is-active {
  background: #FFFFFF;
  color: #111827;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.08);
}

.emsun-auth-card form.login,
.emsun-auth-card form.register {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.emsun-auth-card .form-row {
  margin: 0 0 16px !important;
  padding: 0 !important;
}

.emsun-auth-card .form-row label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.emsun-auth-card .form-row label .required {
  color: #DC2626;
}

.emsun-auth-card .form-row input.input-text {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #D1D5DB;
  border-radius: 9px;
  font-family: inherit;
  font-size: 14px;
  color: #111827;
  background: #FFFFFF;
}

.emsun-auth-card .form-row input.input-text:focus {
  outline: none;
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.emsun-auth-remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 13.5px;
}

.emsun-auth-remember-row label.woocommerce-form__label-for-checkbox {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
}

.emsun-auth-remember-row input[type="checkbox"] {
  accent-color: #111827;
  width: 16px;
  height: 16px;
  margin: 0;
}

.emsun-auth-lost {
  color: #4B5563;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.emsun-auth-lost:hover {
  color: #111827;
}

.emsun-auth-hint {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  font-size: 13px;
  color: #4B5563;
  line-height: 1.5;
}

.emsun-auth-submit-row {
  margin: 0 !important;
}

.emsun-auth-submit {
  width: 100% !important;
  height: 48px !important;
  border-radius: 10px !important;
  background: #111827 !important;
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border: none !important;
  float: none !important;
  transition: background .16s ease, transform .16s ease;
}

.emsun-auth-submit:hover {
  background: var(--emsun-coral) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.emsun-auth-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 20px;
  font-size: 12.5px;
  color: #6B7280;
}

.emsun-auth-perks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Logged-in Shopify Account Header & 2-Col Shell */
.emsun-acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid #EAECF0;
}

.emsun-acc-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.emsun-acc-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #111827;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.emsun-acc-title {
  margin: 0 0 2px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  color: #111827;
}

.emsun-acc-email {
  margin: 0;
  font-size: 13.5px;
  color: #6B7280;
}

.emsun-acc-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.emsun-acc-shop-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.emsun-acc-logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1px solid #D1D5DB;
  background: #FFFFFF;
  color: #111827;
  font-size: 13.5px;
  font-weight: 600;
}

.emsun-acc-logout-btn:hover {
  border-color: #111827;
  background: #F9FAFB;
}

.emsun-acc-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.emsun-acc-nav {
  width: 100% !important;
  float: none !important;
  min-width: 0;
  max-width: 100%;
  background: #F9FAFB;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  padding: 10px;
}

.emsun-acc-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.emsun-acc-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  transition: background .15s ease, color .15s ease;
}

.emsun-acc-nav li a:hover {
  background: #FFFFFF;
  color: #111827;
}

.emsun-acc-nav li.is-active a {
  background: #111827;
  color: #FFFFFF;
}

.emsun-acc-nav li.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #B91C1C;
}

.emsun-acc-content {
  width: 100% !important;
  float: none !important;
  min-width: 0;
}

/* Dashboard Cards & Recent Orders */
.emsun-acc-dash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.emsun-acc-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #F9FAFB;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  transition: border-color .15s ease, background .15s ease;
}

.emsun-acc-stat-card:hover {
  background: #FFFFFF;
  border-color: #111827;
}

.emsun-acc-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: var(--emsun-coral);
  flex-shrink: 0;
}

.emsun-acc-stat-label {
  display: block;
  font-size: 12.5px;
  color: #6B7280;
}

.emsun-acc-stat-val {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.emsun-acc-recent {
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  padding: 22px;
}

.emsun-acc-recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #F1F3F5;
}

.emsun-acc-recent-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #111827;
}

.emsun-acc-recent-head a {
  font-size: 13.5px;
  font-weight: 600;
  color: #374151;
  text-decoration: underline;
}

.emsun-acc-recent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.emsun-acc-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 1px solid #EEF0F3;
  border-radius: 12px;
  background: #FAFAFA;
}

.emsun-acc-order-no {
  font-weight: 700;
  color: #111827;
  margin-inline-end: 10px;
}

.emsun-acc-order-date {
  font-size: 13px;
  color: #6B7280;
}

.emsun-acc-order-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.emsun-acc-status {
  padding: 3px 10px;
  border-radius: 999px;
  background: #F3F4F6;
  color: #374151;
  font-size: 12px;
  font-weight: 600;
}

.emsun-acc-status.is-completed,
.emsun-acc-status.is-processing {
  background: #ECFDF5;
  color: #065F46;
}

.emsun-acc-order-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #D1D5DB;
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.emsun-acc-empty {
  text-align: center;
  padding: 28px 16px;
}

.emsun-acc-empty p {
  margin: 0 0 16px;
  color: #6B7280;
}

/* WooCommerce Sub-Endpoints (Orders Table, Addresses, Edit Account, Lost Password) */
.emsun-acc-content .woocommerce-orders-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 1px solid #EAECF0 !important;
  border-radius: 12px !important;
  overflow: hidden;
}

.emsun-acc-content .woocommerce-orders-table th {
  background: #F9FAFB !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6B7280;
  padding: 13px 14px !important;
  border-bottom: 1px solid #EAECF0 !important;
}

.emsun-acc-content .woocommerce-orders-table td {
  padding: 14px !important;
  border-bottom: 1px solid #F1F3F5 !important;
  font-size: 14px;
}

.emsun-acc-content > p {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: #4B5563;
}

.emsun-acc-content .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.emsun-acc-content .woocommerce-Addresses::before,
.emsun-acc-content .woocommerce-Addresses::after,
.emsun-acc-content .woocommerce-Address-title::before,
.emsun-acc-content .woocommerce-Address-title::after {
  content: none !important;
  display: none !important;
}

.emsun-acc-content .woocommerce-Addresses .woocommerce-Address {
  width: 100% !important;
  float: none !important;
  min-width: 0;
  max-width: 100%;
  background: #F9FAFB;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  padding: 20px;
}

.emsun-acc-content .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #EAECF0;
}

.emsun-acc-content .woocommerce-Address-title h2,
.emsun-acc-content .woocommerce-Address-title h3 {
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #111827;
}

.emsun-acc-content .woocommerce-Address-title a.edit {
  float: none !important;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
}

.emsun-acc-content .woocommerce-Address-title a.edit:hover {
  border-color: #111827;
  background: #F3F4F6;
}

.emsun-acc-content .woocommerce-Address address {
  margin: 0;
  font-style: normal;
  font-size: 14px;
  line-height: 1.65;
  color: #374151;
  overflow-wrap: anywhere;
}

.emsun-acc-content form.woocommerce-EditAccountForm,
.emsun-acc-content form:not(.woocommerce-orders-table),
.emsun-account-main form.lost_reset_password {
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  padding: 24px;
}

.emsun-account-main form.lost_reset_password {
  max-width: 480px;
  margin: 0 auto;
}

.emsun-acc-content .form-row input.input-text,
.emsun-acc-content .form-row select,
.emsun-account-main form.lost_reset_password .form-row input.input-text {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
}

.emsun-acc-content button[type="submit"],
.emsun-account-main form.lost_reset_password button[type="submit"] {
  height: 44px;
  padding: 0 22px !important;
  border-radius: 10px !important;
  background: #111827 !important;
  color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: none !important;
}

@media (max-width: 900px) {
  .emsun-acc-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .emsun-acc-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    max-width: 100%;
  }
  .emsun-acc-nav li a {
    padding: 10px 11px;
    font-size: 13px;
    white-space: normal;
    line-height: 1.25;
  }
  .emsun-acc-dash-grid,
  .emsun-acc-content .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .emsun-account-main {
    padding: 20px 0 80px;
  }
  .emsun-auth-card {
    padding: 24px 18px;
  }
  .emsun-acc-content .woocommerce-orders-table thead {
    display: none;
  }
  .emsun-acc-content .woocommerce-orders-table,
  .emsun-acc-content .woocommerce-orders-table tbody,
  .emsun-acc-content .woocommerce-orders-table tr,
  .emsun-acc-content .woocommerce-orders-table td {
    display: block;
    width: 100%;
  }
  .emsun-acc-content .woocommerce-orders-table tr {
    padding: 12px 14px;
    border-bottom: 1px solid #EAECF0;
  }
  .emsun-acc-content .woocommerce-orders-table td {
    display: flex;
    justify-content: space-between;
    padding: 6px 0 !important;
    border: none !important;
  }
  .emsun-acc-content .woocommerce-orders-table td::before {
    content: attr(data-title) ": ";
    font-weight: 600;
    color: #6B7280;
  }
}

/* =========================================================================
   SHOPIFY-INSPIRED ORDER CONFIRMATION (THANK YOU PAGE)
   ========================================================================= */
.emsun-ty-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.emsun-ty-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
  border: 1px solid #EAECF0;
  border-radius: 18px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.04);
}

.emsun-ty-hero--failed {
  border-color: #FECACA;
  background: linear-gradient(180deg, #FFFFFF 0%, #FEF2F2 100%);
}

.emsun-ty-check {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #059669;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.14);
}

.emsun-ty-check--failed {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #DC2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.12);
}

.emsun-ty-pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.emsun-ty-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  color: #111827;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.emsun-ty-copy-pill:hover {
  border-color: #111827;
  background: #F9FAFB;
}

.emsun-ty-copy-pill .emsun-copy-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #6B7280;
  padding-left: 6px;
  border-left: 1px solid #E5E7EB;
}

.emsun-ty-copy-pill.is-copied {
  border-color: #10B981;
  background: #ECFDF5;
  color: #065F46;
}

.emsun-ty-copy-pill.is-copied .emsun-copy-label {
  color: #059669;
  border-left-color: #A7F3D0;
}

.emsun-ty-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.emsun-ty-status-pill--processing,
.emsun-ty-status-pill--kargoya-verildi {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #BFDBFE;
}

.emsun-ty-status-pill--completed {
  background: #ECFDF5;
  color: #065F46;
  border-color: #A7F3D0;
}

.emsun-ty-status-pill--failed,
.emsun-ty-status-pill--cancelled {
  background: #FEF2F2;
  color: #991B1B;
  border-color: #FECACA;
}

.emsun-ty-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.emsun-ty-subtitle {
  margin: 0 auto 22px;
  max-width: 600px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #4B5563;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.emsun-ty-subtitle::before {
  display: none !important;
}

.emsun-ty-email-hint strong {
  color: #111827;
}

.emsun-ty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.emsun-ty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  line-height: 1.25;
}

.emsun-ty-btn--primary {
  background: #111827;
  color: #FFFFFF !important;
  border-color: #111827;
}

.emsun-ty-btn--primary:hover {
  background: #1F2937;
  transform: translateY(-1px);
}

.emsun-ty-btn--secondary {
  background: #FFFFFF;
  color: #111827 !important;
  border-color: #D1D5DB;
}

.emsun-ty-btn--secondary:hover {
  background: #F9FAFB;
  border-color: #9CA3AF;
}

.emsun-ty-btn--ghost {
  background: #F3F4F6;
  color: #374151 !important;
  border-color: #E5E7EB;
}

.emsun-ty-btn--ghost:hover {
  background: #E5E7EB;
  color: #111827 !important;
}

.emsun-ty-btn--whatsapp {
  background: #ECFDF5;
  color: #065F46 !important;
  border-color: #A7F3D0;
}

.emsun-ty-btn--whatsapp:hover {
  background: #D1FAE5;
}

/* 4-Step Progress Tracker */
.emsun-ty-tracker {
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

.emsun-ty-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.emsun-ty-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 13px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  background: #E5E7EB;
  z-index: 0;
}

.emsun-ty-step.is-done:not(:last-child)::after {
  background: #10B981;
}

.emsun-ty-step-dot {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #F3F4F6;
  border: 2px solid #D1D5DB;
  color: #6B7280;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.emsun-ty-step.is-done .emsun-ty-step-dot {
  background: #10B981;
  border-color: #10B981;
  color: #FFFFFF;
}

.emsun-ty-step.is-current .emsun-ty-step-dot {
  background: #111827;
  border-color: #111827;
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.1);
}

.emsun-ty-step-title {
  font-size: 13px;
  font-weight: 700;
  color: #6B7280;
}

.emsun-ty-step.is-done .emsun-ty-step-title,
.emsun-ty-step.is-current .emsun-ty-step-title {
  color: #111827;
}

.emsun-ty-step-sub {
  font-size: 11.5px;
  color: #9CA3AF;
  line-height: 1.3;
}

/* BACS / Payment Instructions Card */
.emsun-checkout-main .woocommerce-bacs-bank-details {
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

.emsun-checkout-main .woocommerce-bacs-bank-details .wc-bacs-bank-details-heading {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

.emsun-checkout-main .woocommerce-bacs-bank-details .wc-bacs-bank-details-account-name {
  margin: 0 0 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: #1F2937;
}

.emsun-checkout-main ul.wc-bacs-bank-details {
  list-style: none !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 14px 18px;
}

.emsun-checkout-main ul.wc-bacs-bank-details li {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6B7280;
}

.emsun-checkout-main ul.wc-bacs-bank-details li strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 13.5px;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 700;
  color: #111827;
  word-break: break-all;
}

.emsun-bacs-copy-btn {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid #D1D5DB;
  background: #FFFFFF;
  color: #374151;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.emsun-bacs-copy-btn:hover {
  border-color: #111827;
  color: #111827;
}

.emsun-bacs-copy-btn.is-copied {
  background: #ECFDF5;
  border-color: #10B981;
  color: #065F46;
}

.emsun-checkout-main .woocommerce-order > p:not(.emsun-ty-subtitle) {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
}

/* Order Details Card & Item Thumbnails */
.emsun-checkout-main .woocommerce-order-details {
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  padding: 22px;
  margin: 0 !important;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

.emsun-checkout-main .woocommerce-order-details__title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

.emsun-checkout-main .woocommerce-table--order-details {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  margin-bottom: 0 !important;
  table-layout: fixed;
}

.emsun-checkout-main .woocommerce-table--order-details th,
.emsun-checkout-main .woocommerce-table--order-details td {
  padding: 12px 14px !important;
  border-bottom: 1px solid #F3F4F6;
  text-align: left;
  font-size: 13.5px;
  vertical-align: middle;
  word-wrap: break-word;
}

.emsun-checkout-main .woocommerce-table--order-details thead th {
  background: #F9FAFB;
  color: #6B7280;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.emsun-checkout-main .woocommerce-table--order-details thead th:first-child {
  border-top-left-radius: 9px;
}

.emsun-checkout-main .woocommerce-table--order-details thead th:last-child {
  border-top-right-radius: 9px;
}

.emsun-checkout-main .woocommerce-table--order-details th.product-total,
.emsun-checkout-main .woocommerce-table--order-details td.product-total,
.emsun-checkout-main .woocommerce-table--order-details tfoot td {
  text-align: right;
  font-weight: 600;
  color: #111827;
}

.emsun-checkout-main .woocommerce-table--order-details th.product-total,
.emsun-checkout-main .woocommerce-table--order-details td.product-total {
  width: 34%;
}

.emsun-checkout-main .woocommerce-table--order-details tfoot th {
  color: #4B5563;
  font-weight: 500;
}

.emsun-checkout-main .woocommerce-table--order-details tfoot tr:last-child th,
.emsun-checkout-main .woocommerce-table--order-details tfoot tr:last-child td {
  border-bottom: none;
  background: #F9FAFB;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}

.emsun-ty-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.emsun-ty-item-thumb {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  overflow: visible;
}

.emsun-ty-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  display: block;
}

.emsun-ty-item-thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 9px;
  background: #E5E7EB;
}

.emsun-ty-item-info {
  min-width: 0;
  flex: 1;
}

.emsun-ty-item-title a,
.emsun-ty-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}

.emsun-ty-item-title a:hover {
  text-decoration: underline;
}

.emsun-ty-item-meta-wrap {
  margin-top: 2px;
  font-size: 12px;
  color: #6B7280;
}

.emsun-ty-item-meta-wrap .wc-item-meta {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.emsun-ty-item-meta-wrap .wc-item-meta li {
  display: inline-block;
  margin-right: 10px;
}

.emsun-ty-item-meta-wrap .wc-item-meta p {
  display: inline;
  margin: 0;
}

/* Customer Billing & Shipping Address Cards */
.emsun-checkout-main .woocommerce-customer-details {
  margin: 0 !important;
}

.emsun-checkout-main .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.emsun-checkout-main .woocommerce-columns--addresses .woocommerce-column {
  width: auto !important;
  float: none !important;
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}

.emsun-checkout-main .woocommerce-columns--addresses .woocommerce-column__title {
  margin: 0 0 10px;
  font-size: 15.5px;
  font-weight: 700;
  color: #111827;
}

.emsun-checkout-main .woocommerce-customer-details address {
  font-style: normal !important;
  font-size: 13.5px;
  line-height: 1.6;
  color: #374151;
  border: none !important;
  padding: 0 !important;
  margin: 0;
}

.emsun-checkout-main .woocommerce-customer-details address p {
  margin: 6px 0 0;
  color: #4B5563;
}

@media (max-width: 768px) {
  .emsun-ty-hero {
    padding: 24px 18px;
  }

  .emsun-ty-title {
    font-size: 21px;
  }

  .emsun-ty-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .emsun-ty-btn {
    width: 100%;
  }

  .emsun-ty-tracker {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    padding: 18px 14px;
  }

  .emsun-ty-step:not(:last-child)::after {
    display: none;
  }

  .emsun-checkout-main ul.woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }

  .emsun-checkout-main .woocommerce-order-details,
  .emsun-checkout-main .woocommerce-bacs-bank-details,
  .emsun-checkout-main .woocommerce-columns--addresses .woocommerce-column {
    padding: 16px;
  }

  .emsun-checkout-main .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
  }

  .emsun-checkout-main .woocommerce-table--order-details th,
  .emsun-checkout-main .woocommerce-table--order-details td {
    padding: 10px !important;
    font-size: 12.5px;
  }

  .emsun-checkout-main .woocommerce-table--order-details th.product-total,
  .emsun-checkout-main .woocommerce-table--order-details td.product-total {
    width: 38%;
  }

  .emsun-checkout-main .woocommerce-table--order-details tfoot td .includes_tax {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #6B7280;
  }

  .emsun-ty-item-thumb {
    width: 46px;
    height: 46px;
  }
}

@media print {
  .emsun-topbar,
  .emsun-header,
  .emsun-megamenu,
  .emsun-mobile-nav,
  .emsun-footer,
  .emsun-whatsapp-float,
  .emsun-ty-actions,
  .emsun-bacs-copy-btn,
  .emsun-copy-icon,
  .emsun-copy-label {
    display: none !important;
  }

  body,
  .emsun-checkout-main {
    background: #FFFFFF !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .emsun-ty-hero,
  .emsun-ty-tracker,
  .emsun-checkout-main ul.woocommerce-order-overview,
  .emsun-checkout-main .woocommerce-bacs-bank-details,
  .emsun-checkout-main .woocommerce-order-details,
  .emsun-checkout-main .woocommerce-columns--addresses .woocommerce-column {
    box-shadow: none !important;
    border-color: #D1D5DB !important;
    break-inside: avoid;
  }
}
