:root {
    --bg: #ffffff;
    --bg-soft: #f6f6f6;
    --card: #ffffff;
    --card-2: #fafafa;
    --text: #111111;
    --muted: #555555;
    --primary: #1f1f1f;
    --primary-2: #333333;
    --accent: #666666;
    --border: #d8d8d8;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 10px 24px rgba(12, 20, 36, 0.08);
    --shadow-hover: 0 16px 34px rgba(12, 20, 36, 0.16);
    --radius: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: var(--text);
  line-height: 1.45;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1360px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.utility-bar {
  background: #f3f3f3;
  border-bottom: 1px solid #dcdcdc;
  font-size: 0.85rem;
  color: #333333;
}

.utility-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.utility-inner p {
  margin: 0;
}

.utility-inner nav {
  display: flex;
  gap: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid #dcdcdc;
}

.site-header.compact {
  top: 0;
}

.header-inner {
  min-height: 80px;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #222;
  box-shadow: none;
}

.search-bar {
  display: flex;
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  background: #ffffff;
  padding: 0.3rem;
}

.search-bar input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #111111;
}

.search-bar input::placeholder {
  color: #777777;
}

.search-bar button {
  border: 0;
  border-radius: 999px;
  background: #222222;
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.92rem;
  color: #333333;
}

.header-currency-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #fafafa;
}

.header-exchange-ticker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: #3c3c3c;
  white-space: nowrap;
}

.currency-selector {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #444;
}

.currency-selector select {
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  background: #fff;
  padding: 0.2rem 0.35rem;
  font-size: 0.8rem;
}

.cart {
  font-weight: 700;
}

.badge {
  margin-left: 0.25rem;
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e9e9e9;
  color: #222222;
  font-size: 0.74rem;
}

.header-categories {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 0.9rem;
}

.header-categories a {
  color: #333333;
}

.category-mega-nav {
  background: #0f172a;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.category-mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  overflow-x: auto;
}

.category-mega-list > li {
  position: relative;
}

.category-mega-list > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.4rem 0.75rem;
  font-size: 0.88rem;
  color: #f8fafc;
  white-space: nowrap;
}

.category-mega-list > li > a:hover {
  background: rgba(148, 163, 184, 0.14);
}

.category-submenu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 260px;
  padding: 0.65rem 0.9rem;
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: #ffffff;
  border: 1px solid #d1d5db;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  z-index: 40;
}

.category-submenu strong {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
  color: #1f2937;
}

.category-submenu a {
  color: #1f2937;
  padding: 0.25rem 0;
}

.category-submenu a:hover {
  color: #1d4ed8;
}

.has-submenu:hover .category-submenu {
  display: flex;
}

.hero {
  margin-top: 1.25rem;
  display: block;
  padding: 0;
  overflow: hidden;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  line-height: 1.2;
  font-family: "Times New Roman", Georgia, serif;
  color: #1a1a1a;
}

.hero-visual,
.product-image,
.product-detail-image {
  border-radius: 0;
  min-height: 270px;
  border: 1px solid #d6d6d6;
  background: #f7f7f7;
}

.hero-visual {
  position: relative;
  min-height: 460px;
  background: #dfe2e8;
}

.hero-slider-window {
  width: 100%;
  min-height: 460px;
  overflow: hidden;
}

.hero-click-zones {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
  z-index: 1;
}

.hero-click-zone {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  pointer-events: auto;
  cursor: pointer;
}

.hero-click-zone-left,
.hero-click-zone-right {
  width: 24%;
  min-width: 120px;
}

.hero-click-zone-left {
  margin-right: auto;
}

.hero-click-zone-right {
  margin-left: auto;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
}

.hero-slide {
  width: 100%;
  min-width: 100%;
  min-height: 460px;
  display: block;
  padding: 0;
  background: #dfe2e8;
}

.hero-copy {
  display: grid;
  gap: 1.25rem;
  max-width: 500px;
}

.hero-brand {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2d5ea8;
}

.hero-cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.6rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffd65d, #f8b630 48%, #1d57a4 49%, #1d57a4);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  font-family: "Times New Roman", Georgia, serif;
}

.hero-slide img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.hero-slider-nav {
  position: absolute;
  top: calc(50% - 22px);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #c7ccd8;
  background: rgba(255, 255, 255, 0.8);
  color: #2b3447;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

#hero-prev { left: 12px; }
#hero-next { right: 12px; }

.hero-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #b8bdc8;
  cursor: pointer;
}

.hero-dot.active {
  background: #87909f;
}
.orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(123, 170, 247, 0.34);
  animation: spin 14s linear infinite;
}

.ring-one {
  width: 180px;
  height: 180px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ring-two {
  width: 240px;
  height: 240px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 20s;
  animation-direction: reverse;
}

.machine-core {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(0, 119, 255, 0.42), rgba(255, 138, 0, 0.35));
  display: grid;
  place-items: center;
  gap: 0.25rem;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(0, 40, 92, 0.5);
}

.machine-core span {
  font-size: 0.76rem;
  color: #ecf4ff;
}

.hero-stat-box {
  background: rgba(8, 20, 41, 0.92);
  border-radius: 10px;
  border: 1px solid rgba(115, 165, 238, 0.34);
  padding: 0.9rem;
  display: grid;
  gap: 0.2rem;
  z-index: 1;
}

.hero-stat-box strong {
  font-size: 1.3rem;
}

.hero-stat-box span {
  color: #b7caea;
  font-size: 0.9rem;
}

.automation-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 1rem;
}

.automation-strip article {
    border: 1px solid rgba(122, 167, 240, 0.14);
    border-radius: 12px;
    padding: 1rem;
    background: rgba(9, 22, 46, 0.88);
    box-shadow: 0 10px 20px rgba(2, 8, 19, 0.22);
}

.automation-strip h3 {
  margin: 0;
  color: #ebf3ff;
}

.automation-strip p {
  margin: 0.45rem 0 0;
  color: #9fb3d4;
}

.section-block {
  margin-top: 1.6rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.section-head h2 {
  margin: 0;
}

.section-head a {
  color: #79c7ff;
  font-weight: 600;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.category-card {
  background: linear-gradient(155deg, rgba(15, 32, 64, 0.95), rgba(8, 19, 40, 0.95));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(125, 161, 221, 0.2);
  transition: all 0.25s ease;
}

.category-card:hover {
  border-color: rgba(125, 190, 255, 0.8);
  transform: translateY(-3px);
}

.category-card span {
  font-size: 1.7rem;
}

.category-card p {
  margin: 0.45rem 0 0.2rem;
  font-weight: 600;
}

.category-card small {
  color: #93a8cd;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.promo-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.promo-info-card {
  padding: 1rem;
  background: linear-gradient(160deg, rgba(12, 27, 54, 0.96), rgba(8, 17, 36, 0.96));
  border-color: rgba(122, 169, 236, 0.2);
}

.promo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: rgba(0, 119, 255, 0.15);
  border: 1px solid rgba(125, 188, 255, 0.34);
}

.promo-info-card h3 {
  margin: 0.7rem 0 0.35rem;
}

.promo-info-card p {
  margin: 0;
  color: #9fb4d7;
}

.product-card {
    background: linear-gradient(165deg, rgba(14, 30, 59, 0.96), rgba(8, 19, 39, 0.96));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(125, 161, 221, 0.12);
    padding: 0.9rem;
    display: grid;
    gap: 0.5rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .product-card:hover {
        transform: translateY(-3px);
        border-color: rgba(122, 190, 255, 0.32);
        box-shadow: 0 18px 30px rgba(2, 7, 19, 0.4);
    }

.product-image {
    min-height: 170px;
    grid-template-columns: 1fr;
    place-items: center;
    font-weight: 600;
    color: #d9e6ff;
    border-color: rgba(115, 165, 238, 0.2);
    border-radius: 14px;
    background: radial-gradient(circle at 30% 18%, rgba(0, 119, 255, 0.2), transparent 50%), linear-gradient(170deg, rgba(12, 27, 55, 0.9), rgba(8, 16, 34, 0.9));
}

.product-title {
  margin: 0;
  font-size: 0.95rem;
  min-height: 44px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.btn-link.secondary {
  background: transparent;
  border: 1px solid var(--border);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #a5b8d8;
}

.price {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.rating {
  margin: 0;
  color: #ffb347;
  font-size: 0.9rem;
}

.rating span {
  color: #9cb1d4;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-card {
  padding: 1.1rem;
}

.trust-card h3 {
  margin: 0;
}

.trust-card p {
  margin-bottom: 0;
  color: #a5b9dd;
}

.brand-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem;
}

.brand-nav {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(9, 21, 44, 0.95);
  color: #d6e4ff;
  cursor: pointer;
}

.brand-row {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scroll-behavior: smooth;
}

    .brand-logo {
        min-width: 170px;
        height: 80px;
        border-radius: 14px;
        border: 1px solid rgba(153, 179, 224, 0.25);
        background: rgba(9, 22, 46, 0.12);
    }

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(127, 159, 208, 0.24);
  background: rgba(5, 14, 31, 0.95);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.5rem 0;
}

.footer-grid section {
  display: grid;
  gap: 0.4rem;
}

.footer-grid h4 {
  margin: 0;
}

.footer-grid p,
.footer-grid a {
  margin: 0;
  color: #a8bddf;
}

.page-main {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 1rem;
  position: relative;
}

.filter-panel {
  position: sticky;
  top: 90px;
  align-self: start;
  padding: 1rem;
}

.filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.text-btn {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #c9d2e3;
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.text-btn:hover {
  transform: translateY(-1px);
  border-color: #aebed8;
  box-shadow: 0 6px 16px rgba(62, 86, 125, 0.18);
}

.filter-panel h2,
.filter-panel h3 {
  margin-top: 0;
}

.filter-panel section {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  animation: filterSectionIn 0.45s ease both;
}

.filter-panel section:nth-of-type(2) {
  animation-delay: 0.05s;
}

.filter-panel section:nth-of-type(3) {
  animation-delay: 0.1s;
}

.filter-panel section:nth-of-type(4) {
  animation-delay: 0.15s;
}


.filter-panel label {
  display: block;
  margin: 0.45rem 0;
  color: #c9d9f4;
  font-size: 0.93rem;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.filter-panel label.filter-option-disabled {
  opacity: 0.4;
  transform: translateX(4px);
  pointer-events: none;
}

.price-range-fields {
  display: grid;
  gap: 0.4rem;
}

.price-range-fields input,
.price-range-fields select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  background: #ffffff;
  color: #1f2937;
}

.price-range-fields label {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
}

.listing-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

.listing-toolbar p {
  margin: 0;
}

.toolbar-controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.toolbar-controls select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem;
  margin-left: 0.4rem;
  color: #111827;
  background: #ffffff;
}

.toolbar-controls input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem;
  margin-left: 0.4rem;
  color: #111827;
  background: #ffffff;
}

.active-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.filter-tag {
  border: 1px solid #d5dde8;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  background: #ffffff;
  color: #1f2937;
}

button.filter-tag {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button.filter-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(18, 38, 74, 0.16);
}

.quick-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.quick-filter-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.quick-filter-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.12);
}

.quick-filter-chip.active {
  background: #ffffff;
  color: #111827;
  border-color: #9fb3d1;
  box-shadow: 0 0 0 1px rgba(159, 179, 209, 0.35) inset;
}

.filter-tag.muted {
  opacity: 1;
  background: #ffffff;
  color: #334155;
  border-color: #d8dee9;
}

.product-grid .product-card {
  animation: productCardReveal 0.45s ease both;
}

@keyframes filterSectionIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes productCardReveal {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.listing-pagination {
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.listing-pagination button {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.listing-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.listing-empty-state {
  margin-top: 0.6rem;
  text-align: center;
  padding: 1.1rem;
}

.listing-empty-state h3 {
  margin: 0 0 0.45rem;
}

.listing-empty-state p {
  margin: 0 0 0.8rem;
}

.listing-empty-state button {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.detail-page {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.detail-top {
  padding: 1.15rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.detail-gallery {
  display: grid;
  gap: 0.7rem;
}

.image-gallery-top {
  display: flex;
  justify-content: flex-start;
}

.image-frame {
  position: relative;
}

.image-back-btn {
  position: static;
  border: 1px solid #d3dae7;
  border-radius: 12px;
  background: #ffffff;
  color: #13223c;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(10, 20, 38, 0.1);
}

.product-detail-image {
  grid-template-columns: 1fr;
  min-height: 390px;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 1rem;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 0.55rem;
}

.thumb {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(9, 22, 46, 0.95);
  color: #d6e3fc;
  padding: 0.7rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.thumb:hover {
  transform: translateY(-2px);
}

.thumb.active {
  border-color: rgba(129, 193, 255, 0.8);
  background: rgba(0, 119, 255, 0.18);
}

.breadcrumb,
.detail-meta {
  margin: 0;
  color: var(--muted);
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.detail-surface {
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(8, 18, 36, 0.08);
}

.detail-top-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.detail-info {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}


.detail-icon-actions {
  display: flex;
  gap: 0.55rem;
}

.icon-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  animation: iconFloat 2.4s ease-in-out infinite;
}

.icon-action-btn:hover {
  transform: translateY(-2px) scale(1.07);
  filter: saturate(1.2);
}

.icon-action-btn:nth-child(2) {
  animation-delay: 0.25s;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.detail-info h1 {
  margin: 0.15rem 0 0.25rem;
  line-height: 1.25;
}

.detail-meta {
  line-height: 1.45;
}


.detail-price-stack {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.25rem 0 0.1rem;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0.4rem 0 0.2rem;
}

.detail-price {
  margin: 0;
}

.detail-old-price {
  margin: 0;
}

.detail-discount-rate {
  margin: 0;
  color: #7ce8ae;
  font-weight: 600;
}

.in-stock {
  color: #7ce8ae;
}

.out-stock {
  color: #ffb2b2;
}

.purchase-box {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem;
  display: grid;
  gap: 0.7rem;
  max-width: 360px;
  background: rgba(9, 22, 46, 0.75);
}

.purchase-inline {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.purchase-inline .quantity-row {
  min-width: 200px;
  flex: 1 1 220px;
}

.purchase-inline .btn-primary {
  min-height: 36px;
  padding-inline: 1.2rem;
}

.quantity-row {
  display: grid;
  gap: 0.35rem;
}

.qty-control {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
}

.qty-control button,
.qty-control input {
  border: 1px solid var(--border);
  background: rgba(7, 18, 38, 0.95);
  color: #d9e7ff;
  height: 36px;
}

.qty-control button {
  cursor: pointer;
}

.qty-control input {
  text-align: center;
  border-left: 0;
  border-right: 0;
}

.full {
  width: 100%;
}

.tabs-section {
  padding: 1rem;
}

.tabs {
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  padding-bottom: 0.7rem;
}

.tab-btn {
  border: 1px solid var(--border);
  background: rgba(9, 22, 46, 0.92);
  color: #dce9ff;
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
}

.tab-btn.active {
  border-color: rgba(125, 188, 255, 0.8);
  background: rgba(0, 119, 255, 0.15);
}

.tab-content {
  display: none;
  padding-top: 0.9rem;
  color: #c9daf8;
}

.tab-content.active {
  display: block;
}

.review-summary {
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.review-list {
  display: grid;
  gap: 0.8rem;
}

.review-item {
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  padding: 0.75rem;
  background: #fff;
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: flex-start;
}

.review-meta {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
}

.review-image {
  margin-top: 0.55rem;
  max-width: 180px;
  border-radius: 8px;
  border: 1px solid #d8d8d8;
}

.review-delete-btn {
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  color: #a23636;
  cursor: pointer;
  padding: 0.35rem 0.6rem;
}

.review-form {
  margin-top: 1rem;
  border-top: 1px solid #d8d8d8;
  padding-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.review-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.review-form-wide {
  grid-column: 1 / -1;
}

.review-form-msg {
  margin: 0;
  min-height: 1.2rem;
  color: #9b2f2f;
}

.review-form-msg.success {
  color: #1f7a1f;
}

.review-rating-stars {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.review-star-btn {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.15rem;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.review-star-btn:hover {
  transform: scale(1.1);
}

.extra-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.extra-card {
  padding: 1rem;
}

.full-row {
  grid-column: 1 / -1;
}

.compatible-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.compatible-row span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: rgba(9, 22, 46, 0.9);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.mini-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem;
  display: grid;
  gap: 0.45rem;
  background: rgba(9, 22, 46, 0.75);
}

.mini-card h3,
.mini-card p {
  margin: 0;
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .product-grid,
  .category-grid,
  .automation-strip,
  .promo-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual,
  .hero-slider-window,
  .hero-slide {
    min-height: 360px;
  }

  .hero-slide {
    padding: 0;
  }

  .hero-copy {
    justify-items: center;
  }

  .hero-slide img {
    width: 100%;
    height: 360px;
    max-height: none;
    object-fit: cover;
    object-position: right center;
  }

  .page-main {
    grid-template-columns: 240px 1fr;
  }

}

@media (max-width: 768px) {
  .utility-inner,
  .header-inner,
  .header-actions,
  .footer-grid,
  .detail-top,
  .extra-sections,
  .trust-grid,
  .page-main,
  .product-grid,
  .category-grid,
  .automation-strip,
  .promo-info-grid {
    grid-template-columns: 1fr;
  }

  .utility-inner {
    display: none;
  }

  .header-inner {
    padding: 0.8rem 0;
  }

  .search-bar {
    order: 3;
  }

  .header-actions {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .header-currency-tools {
    width: 100%;
    justify-content: space-between;
  }

  .header-exchange-ticker {
    font-size: 0.74rem;
  }

  .header-categories {
    min-height: 40px;
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .filter-panel {
    position: static;
  }

  .listing-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-visual,
  .hero-slider-window,
  .hero-slide {
    min-height: 300px;
  }

  .hero-slide {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(1.3rem, 7vw, 1.9rem);
  }

  .hero-brand {
    font-size: 0.9rem;
  }

  .hero-cta {
    font-size: 1.55rem;
    padding: 0.5rem 1.15rem;
  }

  .hero-slide img {
    width: 100%;
    height: 300px;
    max-height: none;
    object-fit: cover;
    object-position: right center;
  }

  .hero-slider-nav {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
    top: auto;
    bottom: 10px;
  }

  #hero-prev {
    left: 10px;
  }

  #hero-next {
    right: 10px;
  }
}

.btn-link {
  display: inline-block;
  text-align: center;
  border: 0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  cursor: pointer;
  background: #1f1f1f;
  color: #fff;
}

.simple-page {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.auth-page {
  min-height: calc(100vh - 110px);
  align-content: center;
  padding: 1rem 0 2.5rem;
}

.cart-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 5%, rgba(96, 165, 250, 0.15), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(56, 189, 248, 0.13), transparent 28%),
    #f8fafc;
}

.cart-page .simple-page {
  min-height: calc(100vh - 96px);
  align-content: start;
  padding-bottom: 3rem;
  display: grid;
  gap: 1rem;
}

.page-hero {
  padding: 1rem 1.2rem;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cart-hero {
  position: relative;
  overflow: hidden;
  max-width: 1050px;
  border-radius: 20px;
  border: 1px solid #dbe7ff !important;
  background: linear-gradient(135deg, #f8fbff, #eef4ff 45%, #f5f9ff);
  box-shadow: 0 16px 36px rgba(44, 83, 182, 0.12) !important;
}

.cart-hero p {
  white-space: nowrap;
}

.cart-hero-glow {
  position: absolute;
  inset: -35% auto auto -15%;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
  animation: floatyGlow 8s ease-in-out infinite;
  pointer-events: none;
}

.cart-hero-badges {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.cart-hero-badges span {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #cfe0ff;
  background: #ffffffd6;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1f3768;
}

.page-hero.card,
.form-shell.card {
    background: transparent;
    border: 0;
    box-shadow: none;
}
 
.page-hero h1 {
  margin: 0;
}

.page-hero p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.form-shell {
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
  max-width: 760px;
  margin: 0 auto;
}

.auth-hero {
  background: radial-gradient(circle at top left, #f5f8ff, #ffffff 60%);
  border: 1px solid #e6ebf5;
  box-shadow: 0 12px 32px rgba(23, 34, 52, 0.08);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
}

.auth-eyebrow {
  margin: 0;
  color: #2f62c8;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-shell {
  background: #ffffff;
  border: 1px solid #e4e9f2;
  box-shadow: 0 16px 36px rgba(22, 34, 52, 0.11);
  border-radius: 16px;
  padding: 1.4rem;
}

.auth-form {
  display: grid;
  gap: 0.8rem;
}

.auth-helper {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px dashed #adc1f1;
  background: #f3f7ff;
  color: #294582;
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-feedback {
  min-height: 1.1rem;
  margin: 0;
  color: #bc2448;
  font-size: 0.88rem;
  font-weight: 600;
}

.auth-note-box {
  border-radius: 12px;
  border: 1px solid #e6eaf4;
  background: linear-gradient(145deg, #fbfcff, #f4f7ff);
  padding: 0.9rem 1rem;
}

.auth-note-box h3 {
  margin: 0;
  font-size: 0.95rem;
}

.auth-note-box p {
  margin: 0.35rem 0 0;
  color: #5f6780;
  font-size: 0.86rem;
  line-height: 1.45;
}

.auth-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.auth-title-row h2 {
  margin: 0;
  font-size: 1.2rem;
}

.auth-inline-link {
  color: #315fc2;
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-inline-link:hover {
  text-decoration: underline;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field.full-span {
  grid-column: 1 / -1;
}

.full-span {
  grid-column: 1 / -1;
}

.form-field label {
  color: #333333;
  font-size: 0.92rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: #111111;
  padding: 0.7rem 0.8rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #456fc9;
  box-shadow: 0 0 0 3px rgba(69, 111, 201, 0.16);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.auth-actions {
  justify-content: flex-start;
}

.remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.check-field {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: #2b3447;
}

.check-field input {
  width: 16px;
  height: 16px;
}

.btn-primary,
.btn-secondary {
  border-radius: 12px;
  padding: 0.72rem 1rem;
  font-weight: 700;
  font-size: 0.93rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-btn {
  min-width: 220px;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(180deg, #2f63cc, #234ea7);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(35, 78, 167, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: #eef2fb;
  border-color: #d8e1f4;
  color: #2e4f99;
}

.btn-secondary.ghost {
  background: transparent;
  border-color: #d0d7e6;
  color: #41516e;
}

.info-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #444444;
  display: grid;
  gap: 0.35rem;
}

.link-list {
  display: grid;
  gap: 0.5rem;
}

.link-list a {
  color: #222222;
}

/* Geleneksel ve sade görünüm için genel tema geçersiz kılmaları */
.machine-core,
.hero-stat-box,
.automation-strip article,
.category-card,
.product-card,
.brand-nav,
.brand-logo,
.site-footer,
.toolbar-controls select,
.thumb,
.purchase-box,
.qty-control button,
.qty-control input,
.tab-btn,
.compatible-row span {
  background: #ffffff;
  color: #111111;
  border-color: #d8d8d8;
}

.automation-strip article,
.category-card,
.product-card,
.trust-card,
.filter-panel,
.listing-toolbar,
.purchase-box,
.extra-card,
.brand-shell {
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.automation-strip article:hover,
.category-card:hover,
.product-card:hover,
.trust-card:hover,
.filter-panel:hover,
.listing-toolbar:hover,
.purchase-box:hover,
.extra-card:hover,
.brand-shell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #c6cfdd;
}

.machine-core,
.hero-stat-box,
.product-image {
  background: #f7f7f7;
}

.machine-core span,
.hero-stat-box span,
.automation-strip p,
.category-card small,
.meta-row,
.rating span,
.trust-card p,
.footer-grid p,
.footer-grid a,
.filter-panel label,
.tab-content {
  color: #555555;
}
.automation-strip h3 {
    color: #222222;
}


.section-head a,
.text-btn {
  color: #222222;
}

.in-stock {
  color: #1f7a1f;
}

@media (max-width: 768px) {
  .auth-page {
    align-content: start;
  }

  .auth-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-btn {
    min-width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

}

/* Home v2 ecommerce */
.hero-commerce {
  margin-top: 1rem;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
  background: radial-gradient(circle at 20% 30%, rgba(24, 75, 163, 0.35), rgba(9, 20, 40, 0.95));
  border-color: rgba(127, 172, 247, 0.32);
}

.hero-content {
  display: grid;
  align-content: center;
  gap: 0.8rem;
}

.hero-content h1 {
  margin: 0;
  color: #e9f2ff;
  font-size: clamp(1.45rem, 2.6vw, 2.5rem);
}

.hero-content p {
  margin: 0;
  color: #bdd0ee;
}

.hero-chip {
  width: fit-content;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 192, 255, 0.35);
  background: rgba(0, 119, 255, 0.2);
  font-size: 0.83rem;
}

.hero-cta-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-search-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-search-tags button {
  border: 1px solid rgba(154, 194, 250, 0.3);
  border-radius: 999px;
  background: rgba(9, 23, 45, 0.9);
  color: #d6e5ff;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.hero-scene {
  position: relative;
  min-height: 390px;
  border: 1px solid rgba(150, 190, 250, 0.25);
  border-radius: 16px;
  background: radial-gradient(circle at 30% 20%, rgba(0, 119, 255, 0.2), rgba(7, 16, 36, 0.95));
  overflow: hidden;
}

.model-frame {
  width: 100%;
  height: 100%;
  min-height: 390px;
  --poster-color: transparent;
}

.floating-badge {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  border-radius: 14px;
  padding: 0.6rem 0.8rem;
  background: rgba(3, 9, 22, 0.85);
  border: 1px solid rgba(151, 196, 255, 0.34);
  color: #d7e9ff;
  display: grid;
}

.floating-badge strong {
  font-size: 1.2rem;
  color: #7accff;
}

.mega-menu {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 48px;
}

.menu-toggle {
  border: 1px solid #2a3d5f;
  border-radius: 10px;
  background: #101b31;
  color: #d6e8ff;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.mega-menu-links {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
}

.mega-menu-links a {
  white-space: nowrap;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  background: rgba(10, 23, 47, 0.82);
  border: 1px solid rgba(146, 188, 246, 0.18);
  color: #d0e2ff;
}

.quick-search-panel {
  padding: 1rem;
  background: linear-gradient(170deg, rgba(11, 24, 48, 0.96), rgba(8, 18, 35, 0.96));
}

.quick-search-head h2,
.tab-filter-head h2 {
  margin: 0;
}

.quick-search-head p {
  margin: 0.4rem 0 0.8rem;
  color: #9ab1d6;
}

.quick-filter-row {
  display: grid;
  grid-template-columns: 1.2fr 220px 140px;
  gap: 0.6rem;
}

.quick-filter-row input,
.quick-filter-row select {
  border: 1px solid rgba(149, 189, 247, 0.25);
  border-radius: 10px;
  background: rgba(8, 17, 34, 0.95);
  color: #d6e7ff;
  padding: 0.7rem;
}

.quick-filter-row button {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(120deg, #1f8bff, #2566ff);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.quick-result-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.quick-item {
  border: 1px solid rgba(147, 189, 250, 0.25);
  border-radius: 12px;
  padding: 0.7rem;
  background: rgba(8, 19, 40, 0.85);
}

.quick-item p {
  margin: 0;
}

.quick-item small {
  color: #8eabd6;
}

.category-grid-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.campaign-showcase {
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(120deg, rgba(26, 106, 235, 0.2), rgba(9, 20, 40, 0.95));
}

.countdown {
  font-size: 1.6rem;
  font-weight: 700;
  color: #93d8ff;
  min-width: 140px;
  text-align: center;
}

.tabs-shell {
  padding: 1rem;
}

.tab-filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.collection-tabs {
  display: flex;
  gap: 0.5rem;
}

.collection-tabs button {
  border: 1px solid rgba(143, 188, 255, 0.25);
  background: rgba(7, 19, 39, 0.88);
  color: #dce9ff;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

.collection-tabs button.active {
  background: rgba(16, 116, 255, 0.35);
  border-color: rgba(143, 205, 255, 0.8);
}

@media (max-width: 1024px) {
  .hero-commerce,
  .campaign-showcase,
  .quick-filter-row {
    grid-template-columns: 1fr;
  }

  .quick-result-grid,
  .category-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .quick-result-grid,
  .category-grid-large {
    grid-template-columns: 1fr;
  }

  .tab-filter-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .collection-tabs {
    flex-wrap: wrap;
  }

  .mega-menu {
    padding-bottom: 0.6rem;
  }

  .mega-menu-links {
    display: none;
    width: 100%;
    flex-wrap: wrap;
  }

  .mega-menu.open .mega-menu-links {
    display: flex;
  }
}

/* Home premium layout (kategori + slider) */
.home-showcase {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  align-items: start;
}

.home-category-sidebar {
  padding: 1rem;
  max-height: 430px;
  overflow: auto;
}

.home-category-sidebar h2 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.category-tree {
  display: grid;
  gap: 0.45rem;
}

.category-tree details {
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-tree details[open] {
  border-color: #cfd4db;
  box-shadow: inset 0 0 0 1px #f2f4f7;
}

.category-tree summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 0.62rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.category-tree summary::-webkit-details-marker {
  display: none;
}

.category-tree summary span {
  font-size: 0.78rem;
  color: #6c6c6c;
}

.category-tree details a {
  display: block;
  padding: 0.45rem 0.9rem;
  border-top: 1px solid #efefef;
  font-size: 0.9rem;
  color: #2e2e2e;
}

.category-tree details a:hover {
  background: #f7f7f7;
}

.home-showcase .hero {
  margin-top: 0;
  height: 430px;
}

.home-showcase .hero-visual {
  min-height: 430px;
  max-height: 430px;
  background: #f0f1f4;
}

.home-showcase .hero-slider-window,
.home-showcase .hero-slide {
  min-height: 430px;
  max-height: 430px;
}

.home-showcase .hero-slide img {
  height: 430px;
  object-position: center;
}

.quick-search-panel,
.campaign-showcase,
.tabs-shell {
  background: #ffffff;
  border: 1px solid #d8d8d8;
}

.quick-search-head p,
.quick-item small,
.countdown {
  color: #444444;
}

.quick-filter-row input,
.quick-filter-row select,
.quick-item,
.collection-tabs button {
  background: #ffffff;
  color: #111111;
  border: 1px solid #d8d8d8;
}

.quick-filter-row button,
.collection-tabs button.active,
.hero-chip,
.hero-search-tags button,
.menu-toggle,
.mega-menu-links a {
  background: #222222;
  color: #ffffff;
  border: 1px solid #222222;
}

.hero-slider-nav {
  border: 1px solid #d1d1d1;
  background: rgba(255, 255, 255, 0.92);
  color: #222222;
}

@media (max-width: 1024px) {
  .home-showcase {
    grid-template-columns: 1fr;
  }

  .home-showcase .hero,
  .home-category-sidebar,
  .home-showcase .hero-visual,
  .home-showcase .hero-slider-window,
  .home-showcase .hero-slide {
    max-height: none;
    height: auto;
  }
}

.cart-drawer {
  position: fixed;
  top: 96px;
  right: 16px;
  width: min(340px, calc(100vw - 2rem));
  max-height: calc(100vh - 120px);
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.16);
  background: #ffffff;
  z-index: 60;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  transform: translateX(115%);
  transition: transform 0.24s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-popup-animation {
  position: fixed;
  left: 16px;
  bottom: 16px;
  opacity: 0;
  pointer-events: none;
  z-index: 55;
  visibility: hidden;
  transform: translateX(-58px) translateY(8px) scale(0.94);
  transition: opacity 0.18s ease, transform 0.58s cubic-bezier(0.22, 0.88, 0.28, 1.05);
}

.cart-popup-animation.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) translateY(0) scale(1);
}

.cart-popup-visual {
  width: min(272px, 62vw);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  position: relative;
  filter: drop-shadow(0 16px 22px rgba(15, 23, 42, 0.22));
  overflow: visible;
  transform-origin: center;
}

.cart-popup-icon {
  width: min(244px, 58vw);
  height: min(244px, 58vw);
  transform-origin: center;
  transform: translateX(-2px) translateY(3px);
}

.cart-base-shadow ellipse {
  fill: rgba(15, 23, 42, 0.2);
}

.cart-frame path {
  fill: none;
  stroke: #263549;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-handle path {
  fill: none;
  stroke: #1f2937;
  stroke-width: 9;
  stroke-linecap: round;
}

.cart-wheel-outer {
  fill: #253042;
}

.cart-wheel-inner {
  fill: #dfe7f5;
}

.cart-popup-box {
  --box-depth: 12px;
  position: absolute;
  width: 62px;
  height: 50px;
  border-radius: 10px;
  background: linear-gradient(150deg, #f9c23f 0%, #f59e0b 58%, #d97706 100%);
  border: 1px solid rgba(120, 53, 15, 0.35);
  box-shadow: inset -7px -6px 0 rgba(146, 64, 14, 0.28), 0 8px 14px rgba(120, 53, 15, 0.25);
  transform: translate(-120px, -102px) scale(0.64) rotate(-28deg) rotateY(18deg);
  opacity: 0;
}

.cart-popup-speed-line {
  position: absolute;
  left: 20px;
  width: 56px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.58), rgba(99, 102, 241, 0.06));
  opacity: 0;
}

.cart-popup-speed-line:nth-child(1) {
  top: 106px;
}

.cart-popup-speed-line:nth-child(2) {
  top: 128px;
  width: 44px;
}

.cart-popup-speed-line:nth-child(3) {
  top: 150px;
  width: 34px;
}

.cart-popup-animation.run .cart-popup-box {
  animation: cartVisualBoxDrop3d 0.7s cubic-bezier(0.28, 0.95, 0.37, 1) 1 forwards;
}

.cart-popup-animation.run .cart-popup-icon {
  animation: cartVisualCartPulse3d 0.8s ease 1;
}

.cart-popup-animation.run .cart-popup-speed-line {
  animation: cartSpeedLine 0.55s ease 1;
}

.cart-popup-animation.run .cart-popup-speed-line:nth-child(1) {
  animation-delay: 0.04s;
}

.cart-popup-animation.run .cart-popup-speed-line:nth-child(2) {
  animation-delay: 0.1s;
}

.cart-popup-animation.run .cart-popup-speed-line:nth-child(3) {
  animation-delay: 0.16s;
}

.cart-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem 0.4rem;
}

.cart-drawer-head h3 {
  margin: 0;
}

.cart-drawer-close {
  border: 1px solid #d8d8d8;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  width: 30px;
  height: 30px;
}

.cart-drawer-subtitle {
  margin: 0;
  padding: 0 1rem 0.8rem;
  color: #666;
  font-size: 0.88rem;
}

.cart-drawer-items {
  overflow: auto;
  padding: 0 1rem 0.5rem;
  display: grid;
  gap: 0.55rem;
}

.cart-drawer-item {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 0.7rem;
}

.cart-item-main {
  display: grid;
  gap: 0.38rem;
}

.cart-item-top,
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.cart-drawer-item p {
  margin: 0;
  font-size: 0.9rem;
}

.cart-item-link {
  color: inherit;
  text-decoration: none;
}

.cart-item-link:hover {
  text-decoration: underline;
}

.cart-drawer-item small {
  color: #666;
}

.cart-item-price {
  white-space: nowrap;
  font-size: 1rem;
}

.cart-empty {
  margin: 0;
  color: #6d6d6d;
  padding: 0.5rem 0;
}

.cart-drawer-footer {
  border-top: 1px solid #ececec;
  padding: 0.75rem 1rem 1rem;
}

.cart-drawer-footer p {
  margin: 0 0 0.6rem;
  font-weight: 700;
}

.cart-drawer-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.cart-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

#cart-go-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cart-drawer-footer.empty {
  padding-top: 0.55rem;
}

.cart-drawer-footer.empty .cart-drawer-total-row {
  justify-content: flex-start;
  margin-bottom: 0.2rem;
}

.hidden {
  display: none !important;
}

.discount-price-box {
  display: grid;
  gap: 0.2rem;
}

.discount-rate {
  width: fit-content;
  font-size: 0.75rem;
  padding: 0.16rem 0.45rem;
  border-radius: 999px;
  background: #e7f4ea;
  color: #136a35;
  font-weight: 700;
}

.old-price {
  margin: 0;
  font-size: 0.85rem;
  color: #7a7a7a;
  text-decoration: line-through;
}

.category-grid-large .category-card {
  text-align: left;
  padding: 1rem 1.1rem;
}

.category-grid-large .category-card p {
  margin-top: 0.6rem;
}

@media (max-width: 768px) {
  .cart-drawer {
    top: auto;
    bottom: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: 72vh;
  }

  .cart-popup-animation {
    bottom: 84px;
  }

  .cart-popup-visual {
    width: min(200px, 45vw);
  }
}

/* ZonqOtomasyon: kategori, buton ve ürün grid iyileştirmeleri */
.category-shortcut {
  display: block;
  margin-bottom: 0.65rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #f7f8fb;
  font-weight: 700;
  color: #222;
}

.category-tree summary[data-category] {
  cursor: pointer;
}

.product-grid {
  gap: 0.75rem;
}

.product-card {
  background: #fff;
  border: 1px solid #d9dce2;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
  padding: 0.8rem;
  gap: 0.32rem;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
}

.product-image {
  min-height: 112px;
}

.product-title {
  min-height: auto;
  line-height: 1.35;
}

.product-category {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.price-summary {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.price-summary.no-discount .price {
  font-size: 1.3rem;
}

.price-summary .old-price {
  font-size: 0.9rem;
  margin: 0;
}

.price-summary .price {
  margin: 0;
  font-size: 1.32rem;
}

.price-conversion-note {
  display: block;
  flex-basis: 100%;
  margin-top: 0.1rem;
  color: #6b7280;
  font-size: 0.78rem;
}

.btn-link,
.btn-primary,
.btn-secondary {
  color: #fff;
  background: #1f2937;
  border: 1px solid #1f2937;
}

.btn-secondary {
  background: #374151;
  border-color: #374151;
}

.btn-link.secondary {
  background: #ffffff;
  color: #111827;
  border: 1px solid #cfd5df;
}

.add-cart-btn.is-added {
  background: #dedfd8;
  border-color: #c8cabf;
  color: #111827;
}

.drawer-qty-row,
.cart-page-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.drawer-qty-row button,
.cart-page-actions button {
  min-width: 28px;
  height: 28px;
  border: 1px solid #cfd5df;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.cart-drawer-item-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
}

.drawer-remove-icon-btn,
.clear-cart-btn {
  border: 1px solid #f4b9b9;
  color: #d32f2f;
  background: #fff5f5;
  border-radius: 8px;
  height: 30px;
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.clear-cart-btn {
  padding: 0.2rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.05rem;
}

#cart-items-list {
  list-style: none;
  padding-left: 0;
  margin: 0.55rem 0 0;
}

.cart-page-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border: 1px solid #dfe7f4;
  border-radius: 16px;
  padding: 0.85rem;
  background: linear-gradient(160deg, #ffffff, #f6f9ff);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  animation: cartCardIn 0.45s ease both;
}

.cart-page-item small {
  display: block;
  color: #52607a;
  margin-top: 0.2rem;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-meta {
  display: grid;
  gap: 0.2rem;
}

.cart-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.cart-list-shell {
  max-width: none;
}

.cart-summary-shell {
  max-width: none;
  height: fit-content;
  position: sticky;
  top: 95px;
  border-radius: 18px;
  background: linear-gradient(170deg, #ffffff, #f8fbff) !important;
  border: 1px solid #dbe5f6 !important;
  box-shadow: 0 14px 30px rgba(21, 45, 92, 0.12) !important;
}

.cart-summary-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.cart-summary-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
  font-size: 0.95rem;
}

.cart-summary-list dt,
.cart-summary-list dd {
  margin: 0;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e5e7eb;
  padding-top: 0.65rem;
  margin: 0.15rem 0 0;
}

.cart-shipping-goal {
  margin: 0.75rem 0 0;
  padding: 0.72rem 0.82rem;
  border: 1px dashed #b7cdfc;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
  color: #1f3c93;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.42rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.cart-shipping-goal::before {
  content: "🚚";
  font-size: 1rem;
}

.cart-summary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.45rem;
}

.cart-summary-actions .btn-primary,
.cart-summary-actions .btn-secondary {
  width: 100%;
  text-align: center;
}

.cart-summary-note {
  color: #6b7280;
}

.checkout-shell {
  display: grid;
  gap: 1rem;
}

.checkout-hero {
  border: 1px solid #d9e2f3;
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #f8fbff, #eef4ff 48%, #f8faff) !important;
}

.checkout-hero .single-line-note {
  white-space: nowrap;
  overflow-x: auto;
  display: block;
}

.checkout-mode-switch {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.checkout-mode-btn {
  border: 1px solid #c8d5ee;
  background: #eef3ff;
  color: #25427a;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.checkout-mode-btn.active {
  background: #1f2937;
  border-color: #1f2937;
  color: #fff;
}

.checkout-mode-btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1rem;
  align-items: start;
}

.checkout-form-shell {
  position: relative;
  border-radius: 18px;
  border: 1px solid #dbe5f6 !important;
  background: linear-gradient(170deg, #ffffff, #f8fbff) !important;
  box-shadow: 0 14px 32px rgba(21, 45, 92, 0.1) !important;
}

.checkout-form-shell,
.checkout-summary-shell {
  max-width: 100%;
  margin: 0;
}

.checkout-mode-notice {
  border: 1px solid #d9e5fb;
  background: #f5f8ff;
  color: #27427a;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.checkout-section-title {
  margin: 0.55rem 0 0.1rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #1f3c93;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding-top: 0.2rem;
  border-top: 1px solid #e3eaf8;
}

.checkout-section-title:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.checkout-checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.checkout-checkbox-field > span {
  margin: 0;
}

.checkout-nested-grid {
  margin-top: -0.15rem;
  padding: 0.65rem;
  border: 1px dashed #c9d9fb;
  border-radius: 12px;
  background: #f8fbff;
}

.checkout-nested-grid.is-hidden {
  display: none;
}

.required-highlight span {
  color: #1f3c93;
}

.is-readonly {
  background: #eef2f7 !important;
  color: #4b5563;
  border-color: #d5dde9 !important;
  cursor: not-allowed;
}

.checkout-page .btn-primary[type="submit"] {
  position: relative;
  overflow: hidden;
}

.checkout-page .btn-primary[type="submit"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 10%, rgba(255, 255, 255, 0.26), transparent 90%);
  transform: translateX(-120%);
  animation: checkoutSubmitGlow 2.8s ease-in-out infinite;
}

@keyframes checkoutSubmitGlow {
  0%, 18% {
    transform: translateX(-120%);
  }
  62%, 100% {
    transform: translateX(120%);
  }
}

.cart-guest-banner {
  padding: 0.68rem 0.85rem;
  border: 1px solid #d7dce2;
  border-radius: 10px;
  background: #f7f9fb;
  display: grid;
  gap: 0;
  font-size: 0.9rem;
  line-height: 1.2;
  transition: transform 0.25s ease;
}

.cart-guest-banner.is-guest {
  border-color: #fde68a;
  background: #fffbeb;
}

.cart-guest-banner:hover {
  transform: translateY(-1px);
}

#cart-checkout-btn.disabled {
  pointer-events: none;
  opacity: 0.55;
}

.cart-action-btn {
  min-width: 200px;
  min-height: 44px;
  border-radius: 10px;
  font-weight: 700;
  background: transparent !important;
  color: #1f2e46;
  border: 1px solid rgba(31, 46, 70, 0.3);
  box-shadow: none !important;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  animation: guestBtnPulse 2.1s ease-in-out infinite;
}

.cart-action-btn:hover,
.cart-action-btn:focus-visible {
  background: rgba(31, 46, 70, 0.08) !important;
  border-color: rgba(31, 46, 70, 0.55);
  color: #0f172a;
  transform: translateY(-1px);
}

.cart-guest-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cart-guest-banner-top strong {
  margin: 0;
}

.cart-guest-banner > span {
  color: #374151;
  margin-top: 0;
}

.cart-page-actions {
  justify-content: flex-end;
  flex-wrap: nowrap;
  min-width: 285px;
}

.cart-qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cart-qty-wrap span {
  min-width: 68px;
  text-align: center;
  color: #334155;
  font-weight: 700;
}

.drawer-remove-btn {
  border: 1px solid #f4b9b9 !important;
  color: #d32f2f;
  background: #fff5f5 !important;
  border-radius: 8px;
  width: 30px;
  min-width: 30px !important;
  padding: 0;
}

@keyframes cartCardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatyGlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(16px); }
}

@keyframes guestBtnPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(31, 46, 70, 0.12);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(31, 46, 70, 0);
  }
}

@media (max-width: 980px) {
  .cart-page-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-shell {
    position: static;
  }

  .cart-page-item {
    grid-template-columns: 1fr;
  }

  .cart-page-actions {
    min-width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .cart-summary-actions {
    grid-template-columns: 1fr;
  }

  .cart-hero p {
    white-space: normal;
  }

  .cart-guest-banner-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-action-btn {
    width: 100%;
    min-width: 100%;
  }
}

/* Ürün kartı tasarım geliştirmeleri */
.product-card {
  position: relative;
  border-radius: 14px;
  padding: 0.9rem;
  gap: 0.45rem;
}

.discount-floating-badge {
  position: absolute;
  font-size: 0.76rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.01em;
  z-index: 2;
}

.product-meta-line {
  margin: 0;
  display: block;
  text-align: center;
  font-size: 0.88rem;
  color: #475467;
  font-weight: 700;
}

.product-rating-line {
  margin: 0;
  font-size: 0.85rem;
  color: #f59e0b;
  text-align: center;
}

.product-rating-line span {
  color: #667085;
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.stock-pill.in-stock {
  color: #0b7a3c;
  background: #e9f9ef;
  border-color: #b9e9ca;
}

.stock-pill.out-stock {
  color: #b42318;
  background: #fdecec;
  border-color: #f7c4c4;
}

.no-discount-badge {
  font-size: 0.73rem;
  font-weight: 700;
  color: #475467;
  border: 1px dashed #c2c8d0;
  border-radius: 999px;
  padding: 0.13rem 0.45rem;
}

.shipping-note {
  margin: 0;
  font-size: 0.78rem;
  color: #475467;
  font-weight: 600;
}

.add-cart-btn:disabled {
  background: #f3f4f6;
  border-color: #d6dae2;
  color: #6b7280;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

.add-cart-btn:disabled .out-stock-icon {
  stroke-width: 2.15;
}

.cart-inline-validation {
  position: fixed;
  top: 5.25rem;
  right: 1rem;
  max-width: 340px;
  width: calc(100% - 2rem);
  border-radius: 12px;
  border: 1px solid #fdba74;
  background: #fff7ed;
  color: #9a3412;
  padding: 0.75rem 0.9rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.14);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 1200;
}

.cart-inline-validation.show {
  opacity: 1;
  transform: translateY(0);
}

.stock-count-note {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f766e;
}

.card-actions.only-detail {
  grid-template-columns: 1fr;
}

.card-actions.only-detail .btn-link.secondary {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.price-summary.no-discount {
  display: flex;
  align-items: center;
}

.trust-slider {
  padding: 1rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

.trust-head {
  align-items: center;
  margin-bottom: 0.7rem;
}

.trust-head p {
  margin: 0.25rem 0 0;
  color: #667085;
  font-size: 0.92rem;
}

.trust-controls {
  display: flex;
  gap: 0.5rem;
}

.trust-slider-window {
  overflow: hidden;
}

.trust-slider-track {
  display: flex;
  transition: transform 0.45s ease;
}

.trust-card {
  min-width: 100%;
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px solid #dce8ff;
  background: radial-gradient(circle at 94% 8%, rgba(37, 99, 235, 0.12), transparent 32%), #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.trust-card h3 {
  margin: 0.35rem 0 0.4rem;
}

/* Liste kartları: yeni görsel düzen ve etkileşimler */
.product-card[data-detail-url] {
  cursor: pointer;
  overflow: hidden;
  border: 1px solid #d8dfeb;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card[data-detail-url]:hover {
  transform: translateY(-5px);
  border-color: #9bc3ff;
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.15);
}

.product-card[data-detail-url]:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.discount-floating-badge {
  left: auto;
  right: 0.62rem;
  top: 0.58rem;
  padding: 0.22rem 0.7rem 0.22rem 0.82rem;
  border-radius: 6px 999px 999px 6px;
  background: linear-gradient(150deg, #fb7185, #f43f5e 58%, #e11d48 100%);
  box-shadow: 0 5px 12px rgba(225, 29, 72, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
}

.discount-floating-badge::before {
  content: "";
  position: absolute;
  left: 0.26rem;
  top: 50%;
  width: 0.3rem;
  height: 0.3rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.35);
}

.product-image {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  height: 160px;
  display: grid;
  place-items: center;
}

.product-image::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 60%;
  height: 200%;
  transform: rotate(25deg) translateX(-120%);
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.55) 40%, transparent 70%);
  transition: transform 0.6s ease;
}

.product-card[data-detail-url]:hover .product-image::after {
  transform: rotate(25deg) translateX(320%);
}

.price-summary {
  margin-top: 0.25rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  width: 100%;
  text-align: center;
}

.price-summary .old-price {
  color: #98a2b3;
  margin: 0;
}

.price-summary .price {
  color: #0f172a;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.product-title {
  text-align: center;
}

.card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.card-actions .btn-link {
  flex: 1 1 auto;
}

.card-actions .wishlist-btn {
  flex: 0 0 40px;
}

.product-card.is-out-stock {
  gap: 0.35rem;
}

.product-card.is-out-stock .product-image {
  min-height: 132px;
}

.product-card.is-out-stock .product-title {
  min-height: auto;
}

.product-card.is-out-stock .price-summary {
  margin-top: 0.05rem;
}

.wishlist-btn {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid #d0d7e6;
  background: #ffffff;
  color: #344054;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wishlist-btn:hover {
  border-color: #fda4af;
  color: #be123c;
  background: #fff1f2;
}

.wishlist-btn.is-favorite {
  border-color: #fda4af;
  color: #be123c;
  background: #fff1f2;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2937;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.2s ease;
  z-index: 55;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.28);
  transform: translateY(-2px) scale(1);
}

.product-grid .product-card {
  animation: productCardReveal 0.55s ease both;
  animation-delay: var(--card-delay, 0s);
}

.add-cart-btn {
  width: 100%;
  min-height: 40px;
  padding: 0.54rem 0.8rem;
  border-radius: 11px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: #ffffff;
  border: 1px solid #cfd5df;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: transform 0.22s ease, box-shadow 0.2s ease, filter 0.2s ease, opacity 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.cart-btn-content {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.cart-btn-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: none) {
  .add-cart-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.add-cart-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: none;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.14);
}

.add-cart-btn:hover:not(:disabled) .cart-btn-icon,
.add-cart-btn:focus-visible:not(:disabled) .cart-btn-icon {
  animation: cartIconHopStrong 0.55s cubic-bezier(0.21, 0.82, 0.33, 1.08);
}

.add-cart-btn:active:not(:disabled) {
  transform: translateY(0);
}

.add-cart-btn.is-added {
  background: #dedfd8;
  border-color: #c8cabf;
  color: #111827;
}

.add-cart-btn.is-adding {
  animation: addCartPulse 0.5s ease;
  background: #dedfd8;
  border-color: #c8cabf;
}

.add-cart-btn.is-adding .cart-btn-icon {
  animation: cartIconHop 0.5s ease;
}

@keyframes addCartPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@keyframes cartIconHop {
  0% { transform: translateX(0) rotate(0deg); }
  35% { transform: translateX(4px) rotate(-10deg); }
  65% { transform: translateX(-2px) rotate(7deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

@keyframes cartIconHopStrong {
  0% { transform: translateX(0) translateY(0) rotate(0deg) scale(1); }
  30% { transform: translateX(6px) translateY(-1px) rotate(-15deg) scale(1.16); }
  60% { transform: translateX(-3px) translateY(1px) rotate(12deg) scale(0.96); }
  100% { transform: translateX(0) translateY(0) rotate(0deg) scale(1); }
}

@keyframes cartVisualBoxDrop3d {
  0% {
    opacity: 0;
    transform: translate(-132px, -114px) scale(0.64) rotate(-28deg) rotateY(18deg);
  }
  38% {
    opacity: 1;
    transform: translate(-38px, -44px) scale(1.08) rotate(7deg) rotateY(-4deg);
  }
  68% {
    transform: translate(-24px, -34px) scale(0.97) rotate(-4deg) rotateY(-10deg);
  }
  100% {
    opacity: 1;
    transform: translate(-18px, -40px) translateZ(var(--box-depth)) rotateY(-13deg) rotateX(7deg);
  }
}

@keyframes cartVisualCartPulse3d {
  0% { transform: translateX(-18px) rotateX(13deg) rotateY(-14deg) translateY(0); }
  34% { transform: translateX(2px) rotateX(13deg) rotateY(-14deg) translateY(-6px); }
  66% { transform: translateX(-4px) rotateX(13deg) rotateY(-14deg) translateY(1px); }
  100% { transform: translateX(-2px) rotateX(13deg) rotateY(-14deg) translateY(0); }
}

@keyframes cartFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes boxBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes cartSpeedLine {
  0% { transform: translateX(0) scaleX(0.72); opacity: 0; }
  35% { transform: translateX(-18px) scaleX(1); opacity: 0.8; }
  100% { transform: translateX(-58px) scaleX(1.1); opacity: 0; }
}

@keyframes cartWheelSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.quick-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.quick-benefit-card {
  background: linear-gradient(160deg, #f8fbff, #eaf1ff);
  border: 1px solid #d9e3f7;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.14);
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-benefit-card:hover {
  box-shadow: 0 14px 26px rgba(59, 130, 246, 0.2);
}

.quick-benefit-emoji {
  font-size: 1.45rem;
  display: inline-flex;
  margin-bottom: 0.35rem;
  animation: pulseGlow 2.1s ease-in-out infinite;
}

.quick-benefit-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.quick-benefit-card p {
  margin: 0;
  color: #334155;
  font-size: 0.9rem;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.trust-card p {
  margin: 0;
  color: #475467;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eaf2ff;
  color: #1d4ed8;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
}

.trust-dots {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.trust-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #c7d7f8;
  cursor: pointer;
}

.trust-dots button.active {
  width: 22px;
  background: #1d4ed8;
}

.brand-shell {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-radius: 16px;
}

.brand-logo {
  min-width: 170px;
  height: 80px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 0.7rem 1rem;
  background: #ffffff;
  border: 1px solid #d7e1f5;
}

.brand-logo img {
  width: 100%;
  max-width: 130px;
  max-height: 42px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .trust-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}

.quick-actions {
  padding: 1.1rem;
}

.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.quick-action-item {
  border: 1px solid #d8e2f8;
  border-radius: 12px;
  padding: 1rem;
  background: #f8fbff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-action-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.quick-action-item p {
  margin: 0;
  color: #475467;
}

.quick-action-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
}

.support-highlight {
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.support-highlight h2 {
  margin: 0 0 0.35rem;
}

.support-highlight p {
  margin: 0;
  color: #667085;
}

.support-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .quick-action-grid {
    grid-template-columns: 1fr;
  }

  .support-highlight {
    flex-direction: column;
    align-items: flex-start;
  }
}

.category-mega-nav { display: none !important; }

.account-hero {
  padding: 1.4rem;
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  background: linear-gradient(145deg, #ffffff, #f5f5f5 72%);
}

.account-hero-tag {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #111111;
  font-weight: 700;
}

.account-hero h1 {
  margin: 0.35rem 0;
}

.account-hero p {
  margin: 0;
  color: #1f2937;
}

.account-hero-side {
  display: grid;
  gap: 0.7rem;
}

.account-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 64px;
  background: #111111;
  border-radius: 12px;
}

.account-hero-visual span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #ffffff;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.account-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  align-content: start;
}

.account-stat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.75rem;
  display: grid;
  gap: 0.4rem;
}

.account-stat-card span {
  color: #374151;
  font-size: 0.8rem;
}

.account-stat-card strong {
  color: #111111;
  font-size: 1rem;
}

.account-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1rem;
  align-items: start;
  background: #f8f8f8;
  max-width: 100%;
  margin: 0;
}

.account-menu {
  display: grid;
  gap: 0.55rem;
  position: sticky;
  top: 92px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.8rem;
}

.account-menu-btn {
  border: 1px solid #e5e7eb;
  background: #f7f7f7;
  color: #111111;
  border-radius: 10px;
  padding: 0.62rem 0.75rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.account-menu-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  font-size: 0.85rem;
}

.account-menu-btn.active {
  background: #111111;
  border-color: #111111;
  color: #fff;
}

.account-menu-btn.active .account-menu-icon {
  background: #2a2a2a;
  border-color: #4b5563;
}

.account-content {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
}

.account-panel {
  display: none;
}

.account-panel.active {
  display: block;
}

.account-panel h2 {
  margin: 0;
  font-size: 1.2rem;
}

.account-panel-subtitle {
  margin: 0.3rem 0 1rem;
  color: #374151;
}

.account-section-icon {
  margin-right: 0.35rem;
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.account-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
}

.account-summary-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
  padding: 0.9rem;
}

.account-summary-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
}

.account-summary-card p {
  margin: 0.2rem 0;
  color: #1f2937;
}

.account-inline-form {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px dashed #d1d5db;
}


.account-orders-filter {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.account-orders-filter label {
  color: #4b5563;
  font-weight: 600;
  font-size: 0.9rem;
}

.account-orders-filter input {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0.58rem 0.7rem;
}

.account-orders-accordion {
  display: grid;
  gap: 0.65rem;
}

.account-favorites-grid {
  display: grid;
  gap: 0.75rem;
}

.account-favorite-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
  padding: 0.85rem 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.account-favorite-meta h3 {
  margin: 0;
  font-size: 1rem;
}

.account-favorite-meta p {
  margin: 0.35rem 0 0;
  color: #374151;
}

.account-favorite-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.account-remove-favorite {
  color: #9f1239;
  border-color: #f8bdcb;
  background: #fff1f2;
}

.account-order-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
  overflow: hidden;
}

.account-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
}

.account-order-body {
  border-top: 1px dashed #d1d5db;
  padding: 0.75rem 0.9rem 0.9rem;
}

.account-order-body h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.account-order-body ul {
  margin: 0;
  padding-left: 1rem;
  color: #374151;
}

.password-strength {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.35rem;
}

.password-strength-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.password-strength-bar span {
  display: block;
  height: 100%;
  width: 0;
  transition: width 0.25s ease, background-color 0.25s ease;
  background: #6b7280;
}

.password-strength p {
  margin: 0;
  color: #374151;
  font-size: 0.9rem;
}

.order-card {
  position: relative;
  overflow: hidden;
}

.order-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(130, 175, 255, 0.2), transparent 65%);
}

.order-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.16rem 0.58rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: #e8f1ff;
  color: #2456ac;
}

@media (max-width: 900px) {
  .account-hero {
    grid-template-columns: 1fr;
  }

  .account-hero-stats {
    grid-template-columns: 1fr;
  }

  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-menu {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

.admin-page {
  padding-top: 1.2rem;
  padding-bottom: 2.2rem;
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.admin-kicker {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2456ac;
  font-weight: 700;
}

.admin-hero h1 {
  margin: 0.45rem 0;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
}

.admin-hero p {
  margin: 0;
  color: #4b5563;
}

.admin-user-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e8f1ff;
  color: #1d4f99;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
}

.admin-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 1rem;
}

.admin-sidebar {
  padding: 0.75rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.admin-sidebar button {
  border: 1px solid #d6ddeb;
  background: #f9fbff;
  color: #1f2937;
  border-radius: 0.65rem;
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}

.admin-sidebar button.active {
  background: #2456ac;
  color: #fff;
  border-color: #2456ac;
}

.admin-tab {
  display: none;
}

.admin-tab.active {
  display: block;
}

.compact-head {
  margin-bottom: 0.8rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-info-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.8rem;
  padding: 0.85rem;
  background: #f8fbff;
}

.admin-info-card h3 {
  margin-top: 0;
}

.admin-form {
  margin-top: 1rem;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-form-grid label {
  display: grid;
  gap: 0.35rem;
  color: #1f2937;
  font-weight: 600;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-toolbar select,
.admin-toolbar input,
.admin-stock-input {
  border: 1px solid #d1d5db;
  border-radius: 0.6rem;
  padding: 0.55rem 0.65rem;
  font: inherit;
}

.admin-toolbar {
  margin-bottom: 0.75rem;
}

.admin-toolbar label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 0.65rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-kpi {
  border: 1px solid #dbe5f6;
  background: #f7faff;
  border-radius: 0.8rem;
  padding: 0.8rem;
}

.admin-kpi p {
  margin: 0 0 0.3rem;
  color: #4b5563;
}

.admin-kpi strong {
  font-size: 1.2rem;
}

.admin-chart {
  margin-top: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.8rem;
  min-height: 230px;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 0.75rem;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.admin-bar-item {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  height: 100%;
}

.admin-bar {
  width: 100%;
  border-radius: 0.6rem 0.6rem 0.25rem 0.25rem;
  background: linear-gradient(180deg, #4a8af6 0%, #2456ac 100%);
  min-height: 18%;
}

@media (max-width: 950px) {
  .admin-layout,
  .admin-grid,
  .admin-form-grid,
  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }

  .admin-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.admin-content {
  display: grid;
  gap: 1rem;
}

.admin-kpi-grid-large {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0.9rem;
}

.admin-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.45rem;
  color: #334155;
}

.admin-toolbar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

@media (max-width: 950px) {
  .admin-kpi-grid-large,
  .admin-dual-grid,
  .admin-toolbar-grid {
    grid-template-columns: 1fr;
  }
}

.warehouse-page {
  background: #f3f5f9;
}

.warehouse-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.warehouse-sidebar {
  background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
  color: #e5e7eb;
  padding: 1.2rem 1rem;
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.warehouse-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.warehouse-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f97316;
  color: #fff;
  font-weight: 800;
}

.warehouse-menu-title {
  margin: 0.8rem 0 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.warehouse-menu {
  display: grid;
  gap: 0.2rem;
}

.warehouse-menu a {
  padding: 0.55rem 0.6rem;
  border-radius: 0.55rem;
  color: #cbd5e1;
  font-weight: 600;
}

.warehouse-menu a:hover,
.warehouse-menu a.active {
  background: rgba(249, 115, 22, 0.16);
  color: #fff;
}

.warehouse-main {
  padding: 1.3rem 1.3rem 1.8rem;
  display: grid;
  gap: 1rem;
}

.warehouse-section {
  display: none;
}

.warehouse-section.is-active {
  display: grid;
}

.warehouse-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.warehouse-topbar h1 {
  margin: 0;
  font-size: 1.3rem;
  color: #334155;
  letter-spacing: 0.01em;
}

.warehouse-top-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.warehouse-top-actions button {
  border: 1px solid #dbe1ea;
  background: #fff;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.warehouse-top-actions img {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
}

.warehouse-search input {
  border: 1px solid #dbe1ea;
  background: #fff;
  border-radius: 0.8rem;
  padding: 0.6rem 0.75rem;
  width: min(240px, 45vw);
}

.warehouse-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.warehouse-kpi-card {
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 1rem;
  padding: 1rem;
}

.warehouse-kpi-card p {
  margin: 0 0 0.5rem;
  color: #64748b;
  font-weight: 600;
}

.warehouse-kpi-card strong {
  font-size: 1.7rem;
  color: #0f172a;
}

.warehouse-kpi-card strong span {
  font-size: 0.85rem;
  color: #64748b;
}

.warehouse-kpi-card .danger {
  color: #dc2626;
  font-weight: 700;
}

.warehouse-table-card {
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 1rem;
  overflow: hidden;
}

.warehouse-table-head {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e4e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.warehouse-table-head h2 {
  margin: 0;
  font-size: 1.08rem;
}

.warehouse-table-head select {
  border: 1px solid #dbe1ea;
  border-radius: 0.7rem;
  padding: 0.45rem 0.6rem;
}

.warehouse-table-wrap {
  overflow-x: auto;
}

.warehouse-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 940px;
}

.warehouse-table th,
.warehouse-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eff2f7;
  color: #334155;
}

.warehouse-table th {
  font-size: 0.84rem;
  color: #64748b;
}

.warehouse-actions {
  display: flex;
  gap: 0.4rem;
}

.warehouse-actions button {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 0.55rem;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

@media (max-width: 1050px) {
  .warehouse-layout {
    grid-template-columns: 1fr;
  }

  .warehouse-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 0.8rem;
  }

  .warehouse-brand {
    grid-column: 1 / -1;
  }

  .warehouse-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .warehouse-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .warehouse-kpi-grid {
    grid-template-columns: 1fr;
  }

  .warehouse-top-actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

.buyer-erp-page {
  display: grid;
  gap: 1rem;
}

.buyer-erp-hero {
  padding: 1.1rem 1.2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.buyer-erp-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 0.65rem;
}

.buyer-erp-kpi {
  background: #f7f7f7;
  border: 1px solid #dfdfdf;
  border-radius: 10px;
  padding: 0.65rem;
}

.buyer-erp-kpi p {
  margin: 0;
  color: #4b5563;
  font-size: 0.78rem;
}

.buyer-erp-kpi strong {
  display: block;
  margin-top: 0.22rem;
  font-size: 1.03rem;
}

.buyer-erp-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1rem;
}

.buyer-erp-filters {
  padding: 1rem;
  position: sticky;
  top: 94px;
  height: fit-content;
}

.buyer-erp-content {
  display: grid;
  gap: 0.8rem;
}

.buyer-erp-toolbar {
  padding: 0.85rem 1rem;
}

.buyer-erp-toolbar p {
  margin: 0 0 0.7rem;
}

.buyer-erp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.8rem;
}

.buyer-erp-card {
  padding: 0.95rem;
  display: grid;
  gap: 0.55rem;
}

.buyer-erp-card h3 {
  margin: 0;
  font-size: 0.98rem;
}

.buyer-erp-card small {
  color: #6b7280;
}

.buyer-erp-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
  font-size: 0.84rem;
  color: #303030;
}

.buyer-erp-card-actions {
  display: flex;
  gap: 0.5rem;
}

.buyer-erp-card-actions .btn-secondary,
.buyer-erp-card-actions .btn-primary {
  flex: 1;
}

.buyer-erp-detail {
  padding: 1rem;
}

.buyer-erp-detail h2 {
  margin: 0 0 0.55rem;
}

.buyer-erp-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.buyer-erp-detail ul {
  margin: 0.4rem 0 0;
  padding-left: 1rem;
}

@media (max-width: 1024px) {
  .buyer-erp-layout {
    grid-template-columns: 1fr;
  }

  .buyer-erp-filters {
    position: static;
  }
}

@media (max-width: 720px) {
  .buyer-erp-hero,
  .buyer-erp-detail-grid {
    grid-template-columns: 1fr;
  }
}

.account-menu-link {
  display: block;
  text-align: left;
}

.warehouse-dashboard {
  display: grid;
  gap: 0.9rem;
}

.warehouse-alert {
  background: #fce4d9;
  border: 1px solid #ffd6c4;
  color: #9a3412;
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  font-weight: 600;
}

.warehouse-dashboard-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.45fr;
  gap: 0.85rem;
}

.warehouse-kpi-card small {
  display: block;
  margin-top: 0.6rem;
  font-weight: 700;
}

.warehouse-kpi-card .positive,
.positive {
  color: #16a34a;
}

.warehouse-kpi-card .negative,
.negative {
  color: #dc2626;
}

.warning {
  color: #d97706;
}

.warehouse-chart-card,
.warehouse-analytics-card {
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 1rem;
  padding: 1rem;
}

.warehouse-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.7rem;
}

.warehouse-chart-head h2,
.warehouse-analytics-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.warehouse-chart-filters {
  display: flex;
  gap: 0.35rem;
}

.warehouse-chart-filters button {
  border: 1px solid #dbe1ea;
  background: #fff;
  border-radius: 0.55rem;
  padding: 0.35rem 0.55rem;
  font-weight: 600;
  color: #334155;
}

.warehouse-chart-filters .is-active {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.warehouse-fake-chart {
  display: grid;
  grid-template-columns: repeat(12, minmax(14px, 1fr));
  align-items: end;
  gap: 0.5rem;
  height: 240px;
  padding-top: 1rem;
  border-top: 1px dashed #e2e8f0;
}

.warehouse-fake-chart span {
  height: var(--h);
  border-radius: 0.35rem;
  background: linear-gradient(180deg, #fb923c, #f97316);
}

.warehouse-analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.warehouse-ring {
  width: 170px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0.7rem auto 1rem;
  border: 14px solid #e2e8f0;
  border-top-color: #f97316;
  border-left-color: #fb923c;
  display: grid;
  place-items: center;
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 700;
}

.warehouse-analytics-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.warehouse-analytics-stats p {
  margin: 0;
  background: #f8fafc;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  padding: 0.6rem;
}

.warehouse-analytics-stats span {
  display: block;
  color: #64748b;
  font-size: 0.82rem;
}

.warehouse-analytics-stats strong {
  color: #0f172a;
  font-size: 1.25rem;
}

.warehouse-country-list {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.warehouse-country-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  padding: 0.55rem 0.65rem;
  color: #334155;
  font-weight: 600;
}

.warehouse-top-pages {
  padding: 0;
  overflow: hidden;
}

.warehouse-top-pages .warehouse-table-head {
  margin: 0;
}

.warehouse-top-pages .warehouse-table-head h3 {
  margin: 0;
}

.warehouse-top-pages .warehouse-table-head a {
  font-weight: 700;
  color: #f97316;
}

.warehouse-mini-table {
  width: 100%;
  border-collapse: collapse;
}

.warehouse-mini-table th,
.warehouse-mini-table td {
  text-align: left;
  border-top: 1px solid #eff2f7;
  padding: 0.6rem 1rem;
  color: #334155;
}

.warehouse-mini-table th {
  font-size: 0.78rem;
  color: #64748b;
}

.warehouse-product-toolbar {
  gap: 0.8rem;
  flex-wrap: wrap;
}

.warehouse-product-actions {
  display: flex;
  gap: 0.6rem;
  align-items: end;
  flex-wrap: wrap;
}

.warehouse-product-actions label {
  display: grid;
  gap: 0.25rem;
  color: #64748b;
  font-size: 0.82rem;
}

.warehouse-product-actions select,
.btn-orange {
  border: 1px solid #dbe1ea;
  border-radius: 0.6rem;
  padding: 0.48rem 0.65rem;
}

.btn-orange {
  border: 0;
  background: #f97316;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.warehouse-product-table td small {
  display: block;
  color: #64748b;
  margin-top: 0.2rem;
}

.warehouse-products-shell {
  display: grid;
  gap: 0.8rem;
}

.warehouse-product-view-switch {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.warehouse-product-view-switch button {
  border: 1px solid #dbe1ea;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.warehouse-product-view-switch button.is-active {
  background: #f97316;
  border-color: #f97316;
  color: #fff;
}

.warehouse-product-view {
  display: none;
}

.warehouse-product-view.is-active {
  display: block;
}

.warehouse-product-detail-grid,
.warehouse-product-edit-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 0.85rem;
}

.warehouse-product-gallery,
.warehouse-edit-summary {
  padding: 1rem;
}

.warehouse-product-hero {
  min-height: 280px;
  border-radius: 1rem;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  display: grid;
  place-items: center;
  font-size: 6rem;
}

.warehouse-product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.warehouse-product-thumbs button {
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  min-height: 54px;
  background: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.warehouse-product-thumbs button.is-active {
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.16);
}

.warehouse-product-summary {
  padding: 1.1rem;
}

.warehouse-pill {
  display: inline-flex;
  border-radius: 0.5rem;
  background: #22c55e;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
}

.warehouse-product-summary h2 {
  margin: 0.7rem 0 0.3rem;
  font-size: 1.9rem;
  color: #0f172a;
}

.warehouse-rating-line,
.warehouse-price-line {
  margin: 0.4rem 0 0;
  color: #334155;
}

.warehouse-price-line {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.warehouse-price-line strong {
  font-size: 2rem;
  color: #1e293b;
}

.warehouse-price-line small {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 1rem;
}

.warehouse-meta-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.warehouse-meta-grid p {
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  padding: 0.55rem 0.65rem;
}

.warehouse-meta-grid span {
  display: block;
  color: #64748b;
  font-size: 0.82rem;
}

.warehouse-check-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #16a34a;
  display: grid;
  gap: 0.32rem;
}

.warehouse-product-description {
  margin: 1rem 0 0;
  color: #475569;
  line-height: 1.55;
}

.warehouse-edit-summary h3 {
  margin: 0.8rem 0 0.35rem;
  font-size: 1.2rem;
  color: #0f172a;
}

.warehouse-edit-summary p {
  margin: 0.2rem 0;
  color: #64748b;
}

.warehouse-edit-price {
  font-size: 1.4rem;
  color: #1e293b !important;
  font-weight: 700;
}

.warehouse-edit-form-card h2 {
  margin: 0;
  padding: 1rem 1rem 0;
  color: #1e293b;
  font-size: 1.2rem;
}

.warehouse-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 1rem;
}

.warehouse-edit-form label {
  display: grid;
  gap: 0.33rem;
  color: #475569;
  font-weight: 600;
}

.warehouse-edit-form input,
.warehouse-edit-form select,
.warehouse-edit-form textarea {
  border: 1px solid #dbe1ea;
  border-radius: 0.65rem;
  padding: 0.6rem 0.7rem;
  color: #1e293b;
  font-size: 0.95rem;
}

.warehouse-edit-form .is-wide {
  grid-column: 1 / -1;
}

.warehouse-edit-actions {
  padding: 0 1rem 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

@media (max-width: 1200px) {
  .warehouse-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .warehouse-analytics-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .warehouse-analytics-grid,
  .warehouse-analytics-stats {
    grid-template-columns: 1fr;
  }

  .warehouse-ring {
    width: 140px;
    border-width: 12px;
    font-size: 1.2rem;
  }
}

@media (max-width: 980px) {
  .warehouse-product-detail-grid,
  .warehouse-product-edit-grid,
  .warehouse-edit-form {
    grid-template-columns: 1fr;
  }

  .warehouse-meta-grid {
    grid-template-columns: 1fr;
  }
}

.warehouse-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.warehouse-inline-form input,
.warehouse-inline-form select {
  border: 1px solid #dbe1ea;
  border-radius: 0.6rem;
  padding: 0.45rem 0.65rem;
  min-width: 130px;
}

.warehouse-form-card {
  padding: 1rem;
}

.warehouse-form-card h2 {
  margin: 0 0 1rem;
}

.warehouse-settings-form {
  display: grid;
  gap: 0.75rem;
  max-width: 520px;
}

.warehouse-settings-form label {
  display: grid;
  gap: 0.3rem;
  color: #334155;
  font-weight: 600;
}

.warehouse-settings-form input,
.warehouse-settings-form select {
  border: 1px solid #dbe1ea;
  border-radius: 0.6rem;
  padding: 0.55rem 0.7rem;
}

.warehouse-modal {
  border: 0;
  border-radius: 1rem;
  max-width: 480px;
  width: calc(100% - 2rem);
  padding: 0;
}

.warehouse-modal::backdrop {
  background: rgba(15, 23, 42, 0.45);
}

.warehouse-modal-card {
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}

.warehouse-modal-card h3 {
  margin: 0 0 0.3rem;
}

.warehouse-modal-card label {
  display: grid;
  gap: 0.32rem;
  color: #334155;
  font-weight: 600;
}

.warehouse-modal-card input,
.warehouse-modal-card select {
  border: 1px solid #dbe1ea;
  border-radius: 0.6rem;
  padding: 0.55rem 0.7rem;
}
