/* ============================================
   ARREDO LAMPS — GLOBAL STYLES
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f4f2;
  --bg-card: #f1f1ef;
  --ink: #1a1a1a;
  --ink-soft: #555555;
  --ink-muted: #999999;
  --line: #ececec;
  --accent: #1a1a1a;
  --sale: #c0392b;
  --success: #27ae60;
  --error: #e74c3c;
  --star: #1a1a1a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.drawer-open {
  overflow: hidden;
}

main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* HEADER */
.header {
  --header-parallax-x: 0px;
  --header-parallax-y: 0px;
  display: grid;
  grid-template-columns: auto minmax(220px, 420px) minmax(360px, 1fr) auto;
  align-items: center;
  padding: 14px 44px;
  background: rgba(255, 255, 255, 0.28);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px) saturate(112%);
  -webkit-backdrop-filter: blur(10px) saturate(112%);
  box-shadow: 0 6px 16px rgba(18, 24, 39, 0.06);
  transition: border-color 0.3s ease, transform 0.28s ease, box-shadow 0.3s ease, background 0.3s ease;
  isolation: isolate;
}

.header::before {
  content: '';
  position: absolute;
  inset: 6px 12px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    170px 60px at calc(50% + var(--header-parallax-x)) calc(4% + var(--header-parallax-y)),
    rgba(255, 255, 255, 0.52) 0%,
    rgba(255, 255, 255, 0.2) 46%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: transform 0.18s ease-out;
  transform: translate3d(
    calc(var(--header-parallax-x) * 0.08),
    calc(var(--header-parallax-y) * 0.08),
    0
  );
}

.header::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.06) 38%,
      rgba(255, 255, 255, 0.02) 100%
    );
  opacity: 0.55;
  transition: transform 0.18s ease-out;
  transform: translate3d(
    calc(var(--header-parallax-x) * 0.04),
    calc(var(--header-parallax-y) * 0.04),
    0
  );
}

.header > * {
  position: relative;
  z-index: 1;
}

.header.scrolled {
  border-color: rgba(26, 26, 26, 0.08);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 9px 22px rgba(18, 24, 39, 0.08);
}
.header.header-hidden { transform: translateY(-120%); }

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  grid-column: 1;
}

.logo-image {
  height: 74px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.nav {
  display: flex;
  gap: 34px;
  justify-content: flex-end;
  grid-column: 3;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease, transform 0.2s ease;
}

.nav a.active { font-weight: 500; }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
}

.nav a:hover {
  color: var(--ink-soft);
  transform: translateY(-1px);
}

.nav-icons {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  grid-column: 4;
}

.nav-icons button, .nav-icons a {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  position: relative;
  padding: 4px;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.nav-icons button:hover, .nav-icons a:hover {
  opacity: 0.75;
  transform: translateY(-1px) scale(1.08);
}
.nav-icons svg { width: 24px; height: 24px; stroke-width: 1.7; display: block; }
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
}

.menu-tilt-icon {
  width: 20px;
  height: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-tilt-icon span {
  height: 1.8px;
  width: 100%;
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
}

.menu-tilt-icon span:nth-child(2) {
  transform: rotate(10deg);
  transition: transform 0.2s ease;
}

.mobile-nav-toggle:hover .menu-tilt-icon span:nth-child(2),
.mobile-nav-toggle:focus-visible .menu-tilt-icon span:nth-child(2) {
  transform: rotate(0deg);
}

body.mobile-menu-open .menu-tilt-icon span:nth-child(2) {
  transform: rotate(0deg);
}

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

.header-search-inline {
  grid-column: 2;
  align-self: center;
}

.header-search-inner {
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 999px;
  background: #fff;
  padding: 8px 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search-inner:focus-within {
  border-color: rgba(26, 26, 26, 0.28);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.06);
}

.header-search-inner svg {
  width: 16px;
  height: 16px;
  color: var(--ink-soft);
  flex: 0 0 auto;
}

.header-search-inner input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.3;
}

.header-search-inner input::placeholder {
  color: var(--ink-muted);
}

.header-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  padding: 0 14px;
  max-height: 360px;
  overflow-y: auto;
  z-index: 120;
}

.header-search-results:empty {
  display: none;
}

.floating-dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%) translateY(26px);
  opacity: 0;
  pointer-events: none;
  z-index: 390;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(92vw, 320px);
  overflow: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 12px 14px 22px;
  border-radius: 22px;
  border: 1px solid rgba(26, 26, 26, 0.1);
  background: rgba(249, 249, 249, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(18, 18, 18, 0.16);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.floating-dock::-webkit-scrollbar {
  display: none;
}

.floating-dock.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dock-item {
  display: grid;
  place-items: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  text-decoration: none;
  color: #2f333a;
  font-family: inherit;
  font-size: 0;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.dock-item span {
  display: none;
}

.dock-item svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.75;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.dock-item:hover {
  color: #111;
  transform: translateY(-1px);
}

.dock-item::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease, inset 0.2s ease;
}

.dock-item.active {
  color: #5a3fe9;
}

.dock-item.active::before {
  inset: 2px;
  background: rgba(119, 78, 255, 0.14);
  box-shadow: 0 0 0 8px rgba(119, 78, 255, 0.08);
}

.dock-item:focus-visible {
  outline: 2px solid rgba(90, 63, 233, 0.42);
  outline-offset: 2px;
}

.dock-handle {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 94px;
  height: 4px;
  border-radius: 999px;
  background: #c0c5cd;
  pointer-events: none;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(26, 26, 26, 0.18);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 388;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  box-shadow: 0 10px 24px rgba(18, 18, 18, 0.14);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
}

.back-to-top:hover {
  border-color: var(--ink);
  background: #fff;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#floating-dock.visible + .back-to-top.visible {
  bottom: 96px;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 376px);
  height: 100vh;
  background: transparent;
  z-index: 320;
  border-left: 0;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 14px 12px 14px 10px;
}

.mobile-nav-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 24px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  background: linear-gradient(170deg, rgba(250, 252, 255, 0.96) 0%, rgba(242, 245, 251, 0.98) 100%);
  box-shadow: 0 24px 56px rgba(22, 35, 61, 0.16);
  backdrop-filter: blur(8px);
  padding: 14px 12px 12px;
  overflow: hidden;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 0;
}

.mobile-nav-window-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mobile-nav-window-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}

.mobile-nav-window-dots .dot.red { background: #ff5f57; }
.mobile-nav-window-dots .dot.amber { background: #febc2e; }
.mobile-nav-window-dots .dot.green { background: #28c840; }

.mobile-nav-close {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(26, 26, 26, 0.1);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-nav-close:hover {
  background: #fff;
}

.mobile-nav-close svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.mobile-nav-header {
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  padding-bottom: 10px;
}

.mobile-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
}

.mobile-nav-logo {
  height: 46px;
  width: auto;
  max-width: 138px;
  object-fit: contain;
  object-position: center;
}

.mobile-nav-brand-copy {
  display: grid;
  gap: 2px;
}

.mobile-nav-brand-copy strong {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

.mobile-nav-brand-copy span {
  font-size: 11px;
  color: var(--ink-soft);
}

.mobile-nav-section-title {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  padding: 0 2px;
}

.mobile-nav-links {
  display: grid;
  gap: 5px;
  overflow-y: auto;
  padding-right: 2px;
}

.mobile-nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  width: 100%;
  text-align: left;
  padding: 9px 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-links a:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(26, 26, 26, 0.08);
}

.mobile-nav-link-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5a6580;
  flex: 0 0 auto;
}

.mobile-nav-link-icon svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}

.mobile-nav-link-text {
  flex: 1;
  line-height: 1.25;
}

.mobile-nav-links a.active {
  font-weight: 600;
  border-color: rgba(10, 92, 255, 0.26);
  background: linear-gradient(135deg, rgba(13, 103, 255, 0.14), rgba(255, 255, 255, 0.9));
}

.mobile-nav-links a.active .mobile-nav-link-icon {
  color: #0e5dff;
  border-color: rgba(10, 92, 255, 0.25);
  background: rgba(255, 255, 255, 0.96);
}

.mobile-nav-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 2px;
}

.mobile-nav-actions button,
.mobile-nav-action-link {
  border: 1px solid rgba(26, 26, 26, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mobile-nav-actions button:hover,
.mobile-nav-action-link:hover {
  border-color: rgba(10, 92, 255, 0.35);
  background: #fff;
}

.mobile-nav-action-link {
  grid-column: 1 / -1;
}

.mobile-nav-footer-card {
  margin-top: auto;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-footer-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0f66ff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.mobile-nav-footer-card strong {
  display: block;
  font-size: 12.5px;
  line-height: 1.2;
}

.mobile-nav-footer-card span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--ink-soft);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 420;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(92vw, 420px);
  height: 100vh;
  background: var(--bg);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 430;
  display: flex;
  flex-direction: column;
}

.side-drawer.open { transform: translateX(0); }

.side-drawer-header {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.side-drawer-header h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.drawer-close-btn {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.side-drawer-body {
  flex: 1;
  overflow: auto;
  padding: 16px 18px 18px;
}

.side-drawer-footer {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.drawer-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
}

.drawer-summary-row.total {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.drawer-footer-actions {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.drawer-note {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

.drawer-user {
  display: grid;
  gap: 2px;
  margin-bottom: 14px;
}

.drawer-user strong {
  font-size: 14px;
  font-weight: 500;
}

.drawer-user span {
  font-size: 12px;
  color: var(--ink-soft);
}

.drawer-link-list {
  display: grid;
  gap: 2px;
  margin-bottom: 16px;
}

.drawer-link-list a {
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 13px;
  padding: 10px 0;
}

.drawer-empty {
  text-align: center;
  display: grid;
  gap: 14px;
  padding: 18px 0;
}

.drawer-empty p {
  font-size: 13px;
  color: var(--ink-soft);
}

.drawer-cart-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--line);
}

.drawer-cart-image {
  width: 76px;
  height: 76px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.drawer-cart-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.drawer-cart-content {
  display: grid;
  gap: 6px;
}

.drawer-cart-name {
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
}

.drawer-cart-price {
  font-size: 12px;
  color: var(--ink-soft);
}

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

.drawer-cart-qty button {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 14px;
}

.drawer-cart-qty span {
  min-width: 18px;
  text-align: center;
  font-size: 12px;
}

.drawer-cart-qty .drawer-remove {
  width: auto;
  height: 24px;
  padding: 0 8px;
  font-size: 11px;
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--ink);
  color: var(--bg);
  font-size: 9px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 400;
}

.btn:hover { background: transparent; color: var(--ink); }

.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 40px; font-size: 12px; }
.btn-sm { padding: 10px 20px; font-size: 10px; }

/* FORM */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-weight: 400;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease;
  font-weight: 300;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--ink);
}

.form-textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-error {
  color: var(--error);
  font-size: 12px;
  margin-top: 6px;
}

.form-success {
  color: var(--success);
  font-size: 12px;
  margin-top: 6px;
}

/* PAGE HEADER */
.page-header {
  background: var(--bg-soft);
  padding: 80px 60px 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.breadcrumb {
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
}

.breadcrumb a { color: var(--ink-muted); text-decoration: none; transition: color 0.3s ease; }
.breadcrumb a:hover { color: var(--ink); }

/* PRODUCT CARD */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 60px 60px;
}

.product {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.product-image {
  background: transparent;
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.product:hover .product-image { background: rgba(0, 0, 0, 0.015); }

.product-card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
}

.product-card-action {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.product-card-action svg {
  width: 40px;
  height: 40px;
  stroke-width: 2.3;
}

.product-card-action:hover {
  transform: scale(1.06);
  color: #e64646;
}

.product-card-action.is-active {
  color: #e64646;
}

.product-card-cart-action {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: transform 0.2s ease, color 0.2s ease;
}

.product-card-cart-action svg {
  width: 40px;
  height: 40px;
  stroke-width: 2.3;
}

.product-card-cart-action:hover {
  transform: translateX(-50%) scale(1.06);
  color: #111;
}

@media (hover: hover) and (pointer: fine) {
  .product-card-actions,
  .product-card-cart-action {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .product-card-actions {
    top: 8px;
    right: 8px;
  }

  .product-card-action,
  .product-card-cart-action {
    width: 44px;
    height: 44px;
  }

  .product-card-action svg,
  .product-card-cart-action svg {
    width: 36px;
    height: 36px;
  }

  .product-card-cart-action {
    bottom: 6px;
  }
}

.product-image svg, .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product:hover .product-image svg,
.product:hover .product-image img { transform: translateY(-6px) scale(1.03); }

.product-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  z-index: 2;
  background: var(--bg);
  padding: 4px 8px;
}

.product-tag.tag-sale { color: var(--sale); }
.product-tag.tag-new { color: var(--ink); }

.product-info { text-align: center; padding: 24px 12px 36px; }
.product-name { font-size: 14px; color: var(--ink); margin-bottom: 8px; font-weight: 400; }

.product-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.product-stars svg { width: 11px; height: 11px; }
.product-stars .star-filled { fill: var(--star); }
.product-stars .star-empty { fill: #d4d4d4; }

.product-price { font-size: 13px; color: var(--ink-soft); font-weight: 400; }
.product-price .old { text-decoration: line-through; color: var(--ink-muted); margin-right: 6px; font-size: 12px; }
.product-price .new { color: var(--ink); }

/* TOAST NOTIFICATIONS */
.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--ink);
  color: var(--bg);
  padding: 14px 22px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  animation: slideIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.toast.success { background: var(--success); }
.toast.error { background: var(--error); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
  to { transform: translateX(100%); opacity: 0; }
}

.toast.removing { animation: slideOut 0.3s forwards; }

/* FOOTER */
.footer { background: var(--bg-soft); padding: 70px 60px 40px; margin-top: auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand h3 { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--ink-soft); max-width: 320px; font-weight: 300; }

.footer-col h4 { font-size: 13px; font-weight: 500; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 13px;
  transition: color 0.3s ease;
  font-weight: 300;
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-muted);
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.payment-chip {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 8px;
  line-height: 1;
  border-radius: 999px;
}

.payment-chip.iyzico {
  text-transform: none;
  font-weight: 500;
}

.footer-social { display: flex; gap: 18px; }
.footer-social a { color: var(--ink-soft); transition: color 0.3s ease; }
.footer-social a:hover { color: var(--ink); }
.footer-social svg { width: 16px; height: 16px; }

.footer-accordion h4 {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 10px 0;
}

.footer-accordion h4::after {
  content: '+';
  font-size: 16px;
  line-height: 1;
}

.footer-accordion.open h4::after { content: '-'; }

/* EMPTY STATES */
.empty-state {
  text-align: center;
  padding: 100px 24px;
}

.empty-state svg {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  opacity: 0.3;
}

.empty-state h2 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
}

.empty-state p {
  color: var(--ink-soft);
  margin-bottom: 30px;
}

/* RESPONSIVE */
@media (max-width: 968px) {
  .header {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    padding: 14px 16px 10px;
    gap: 0;
    row-gap: 8px;
  }
  .logo {
    grid-column: 2;
    justify-self: center;
  }
  .logo-image { height: 62px; max-width: 260px; }
  .mobile-nav-logo { height: 46px; max-width: 138px; }
  .nav { display: none; }
  .nav-icons {
    grid-column: 3;
    justify-self: end;
    justify-content: flex-end;
    margin-left: auto;
    width: max-content;
    gap: 14px;
  }
  .nav-icons button,
  .nav-icons a { padding: 6px; }
  .nav-icons svg { width: 28px; height: 28px; }
  .mobile-nav-toggle {
    display: inline-flex;
    position: absolute;
    left: 12px;
    top: 34px;
    width: 36px;
    height: 30px;
    transform: translateY(-50%);
    margin-left: 0;
    z-index: 2;
  }
  .mobile-nav-toggle .menu-tilt-icon {
    width: 26px;
    height: 18px;
  }
  .mobile-nav-toggle .menu-tilt-icon span {
    height: 2.2px;
  }
  .header-search-inline {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .header-search-results {
    position: static;
    margin-top: 6px;
    padding: 0 10px;
    max-height: 280px;
  }
  .products { grid-template-columns: repeat(2, 1fr); padding: 0 24px 40px; }
  .page-header { padding: 50px 24px 40px; }
  .page-header h1 { font-size: 30px; }
  .header-search-inner {
    padding: 8px 12px;
  }
  .floating-dock {
    bottom: 12px;
    gap: 10px;
    width: min(92vw, 296px);
    padding: 10px 12px 20px;
  }
  .dock-item {
    width: 44px;
    height: 44px;
  }
  .dock-item svg {
    width: 18px;
    height: 18px;
  }
  .back-to-top {
    right: 14px;
    width: 44px;
    height: 44px;
  }
  .back-to-top svg {
    width: 19px;
    height: 19px;
  }
  #floating-dock.visible + .back-to-top.visible {
    bottom: 92px;
  }
  .footer { padding: 34px 20px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .footer-col ul { max-height: 0; overflow: hidden; transition: max-height 0.24s ease; }
  .footer-accordion.open ul { overflow: hidden; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .side-drawer { width: min(100vw, 420px); }
}

@media (max-width: 480px) {
  .header { padding: 12px 12px; }
  .logo-image { height: 56px; max-width: 220px; }
  .nav-icons {
    gap: 10px;
    justify-content: flex-end;
    margin-left: auto;
    width: max-content;
  }
  .nav-icons svg { width: 26px; height: 26px; }
  .mobile-nav-toggle { left: 8px; top: 32px; width: 34px; height: 28px; }
  .mobile-nav-toggle .menu-tilt-icon {
    width: 24px;
    height: 16px;
  }
  .mobile-nav-toggle .menu-tilt-icon span {
    height: 2px;
  }
  .mobile-nav {
    width: min(90vw, 352px);
    padding: 10px 8px 10px 6px;
  }
  .mobile-nav-shell {
    border-radius: 20px;
    padding: 12px 10px 10px;
    gap: 10px;
  }
  .mobile-nav-brand-copy strong { font-size: 13px; }
  .mobile-nav-brand-copy span { font-size: 10.5px; }
  .mobile-nav-links a {
    font-size: 13px;
    padding: 8px 7px;
    gap: 8px;
  }
  .mobile-nav-link-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }
  .mobile-nav-link-icon svg { width: 14px; height: 14px; }
  .mobile-nav-actions button,
  .mobile-nav-action-link { font-size: 11px; }
  .mobile-nav-footer-card strong { font-size: 12px; }
  .mobile-nav-footer-card span { font-size: 10px; }
  .header-search-inner input {
    font-size: 12.5px;
  }
  .floating-dock {
    bottom: 10px;
    width: min(94vw, 272px);
    gap: 8px;
    padding: 9px 10px 18px;
  }
  .dock-item {
    width: 40px;
    height: 40px;
  }
  .dock-item svg { width: 17px; height: 17px; }
  .dock-handle { width: 82px; height: 3px; bottom: 7px; }
  .back-to-top {
    right: 10px;
    width: 40px;
    height: 40px;
  }
  .back-to-top svg {
    width: 17px;
    height: 17px;
  }
  #floating-dock.visible + .back-to-top.visible {
    bottom: 86px;
  }
  .products { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
