

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --black: #0d0d14;
  --dark: #13131e;
  --gray-900: #1c1c1c;
  --gray-800: #2a2a2a;
  --gray-700: #3d3d3d;
  --gray-500: #6b6b6b;
  --gray-400: #909090;
  --gray-300: #c2c2c2;
  --gray-200: #e5e5e5;
  --gray-100: #f2f2f2;
  --gray-50: #f8f8f8;
  --white: #ffffff;

  --accent: var(--black);
  --accent-hover: var(--dark);
  --accent-dark: var(--gray-900);
  --accent-light: var(--gray-100);
  --accent-glow: rgba(13, 13, 20, 0.15);

  --btn-gradient: var(--black);
  --btn-gradient-hover: var(--dark);

  --badge-last: #fef3c7;
  --badge-last-text: #92400e;
  --badge-available: #dcfce7;
  --badge-available-text: #166534;
  --badge-unavailable: #fee2e2;
  --badge-unavailable-text: #991b1b;

  --border: rgba(0,0,0,0.1);
  --border-plain: rgba(0,0,0,0.07);
  --shadow-sm: 0 1px 3px rgba(13,13,20,0.06), 0 1px 2px rgba(13,13,20,0.04);
  --shadow-md: 0 4px 12px rgba(13,13,20,0.09), 0 2px 4px rgba(13,13,20,0.05);
  --shadow-lg: 0 20px 40px rgba(13,13,20,0.14), 0 8px 16px rgba(13,13,20,0.07);
  --shadow-xl: 0 32px 64px rgba(13,13,20,0.18);
  --shadow-accent: 0 8px 32px rgba(13, 13, 20, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

  --navbar-height: 64px;
  --free-shipping: 150;
  --shipping-cost: 5;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, .brand-intro__title, .section-title, .checkout-title, .product-detail__name {
  letter-spacing: -0.02em;
}

input,
textarea,
select,
[contenteditable],
.accordion-body p,
.product-detail__shipping-note,
.product-detail__name,
.product-card__name,
.footer__left p {
  -webkit-user-select: text;
  user-select: text;
}

button,
a,
.product-card,
.flavor-chip,
.flavor-tag,
.payment-method,
.accordion-header,
.nav-link,
.nav-icon-btn,
.cart-btn,
.qty-btn,
.cart-item__delete,
.checkout-item__delete,
.admin-tab,
.btn-edit,
.btn-delete-sm,
.image-upload-area {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

img {
  display: block;
}

input, select, textarea {
  font-family: inherit;
}

.hidden { display: none !important; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

@keyframes slideOutRight {
  from { transform: translateX(0); }
  to   { transform: translateX(100%); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
  0%   { transform: scale(0.6); opacity: 0; }
  50%  { transform: scale(1.1); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; }
}

.animate-fade-in { animation: fadeIn 0.4s var(--transition) both; }
.animate-fade-in-up { animation: fadeInUp 0.5s var(--transition) both; }

.navbar__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.logo-img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  background: transparent;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
  display: block;
}

.navbar__brand:hover .logo-img {
  transform: scale(1.08);
  opacity: 0.92;
}

.logo-small {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.admin-login__logo .logo-img {
  height: 90px;
  width: 90px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.logo-text-fallback {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 6px;
}

.age-gate {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.age-gate__box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.age-gate__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.age-gate__logo .logo-img {
  height: 40px;
}

.age-gate__box h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.age-gate__box p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.age-gate__sub {
  font-weight: 500;
  color: var(--gray-700) !important;
  margin-bottom: 28px !important;
}

.age-gate__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-primary {
  background: var(--btn-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  padding: 14px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(13, 13, 20, 0.2);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}

.btn-primary:hover::after {
  background: rgba(255,255,255,0.1);
}

.btn-primary:hover {
  background: var(--btn-gradient-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(13, 13, 20, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(13, 13, 20, 0.2);
}

.btn-primary:disabled {
  background: var(--gray-300);
  color: var(--gray-500);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 14px 28px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: var(--gray-200);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

.btn-danger {
  background: #dc2626;
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-danger:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.btn-full { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.8125rem; }

.btn-reset-filters {
  width: 100%;
  padding: 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--gray-500);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
  transition: all var(--transition);
}

.btn-reset-filters:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid var(--border);
  height: var(--navbar-height);
  transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,0.97);
}

.navbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.navbar__brand:hover { opacity: 0.7; }

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--btn-gradient);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { width: 60%; }
.nav-link.active { color: var(--accent); font-weight: 600; }
.nav-link.active::after { width: 60%; }

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  transition: all var(--transition);
  position: relative;
}

.nav-icon-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--btn-gradient);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceIn 0.3s var(--transition-spring);
}

.cart-count.zero { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover { background: var(--gray-100); }

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--transition);
}

.search-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), opacity var(--transition);
  opacity: 0;
}

.search-bar.open {
  max-height: 80px;
  opacity: 1;
}

.search-bar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-bar__inner input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
  background: var(--gray-50);
}

.search-bar__inner input:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-bar__inner button {
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--gray-500);
  transition: all var(--transition);
  flex-shrink: 0;
}

.search-bar__inner button:hover {
  background: var(--gray-100);
  color: var(--black);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 8px 16px;
  gap: 2px;
  animation: slideDown 0.2s ease;
}

.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { padding: 12px 16px; font-size: 0.9375rem; }

/* ===== END SHOP HERO ===== */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: opacity var(--transition-slow);
}

.site-wrapper.hidden {
  opacity: 0;
  pointer-events: none;
}

.main-content {
  flex: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 32px 24px 64px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}

.filter-sidebar__inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: calc(var(--navbar-height) + 16px);
  box-shadow: var(--shadow-sm);
}

.filter-sidebar__inner h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.filter-group {
  margin-bottom: 16px;
}

.filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.filter-group select,
.filter-group input[type="text"],
.filter-group input[type="number"] {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--black);
  background: var(--gray-50);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.filter-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--accent-glow);
  outline: none;
}

.price-range {
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-range input {
  flex: 1;
  min-width: 0;
}

.price-range span {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  text-align: center;
  margin-bottom: 32px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.no-products {
  text-align: center;
  padding: 64px 0;
  color: var(--gray-400);
  font-size: 0.9375rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
  position: relative;
  animation: fadeInUp 0.4s ease both;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -8px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.15);
}

.product-card:active {
  transform: translateY(-2px);
}

.product-card__img-wrap {
  position: relative;
  background: var(--white);
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
  border-radius: 0;
}

.product-card__img-wrap .no-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
}

/* Quick-add overlay on hover */

.product-card:hover .product-card__img {
  transform: scale(1.05);
}

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-last {
  background: var(--badge-last);
  color: var(--badge-last-text);
}

.badge-available {
  background: var(--badge-available);
  color: var(--badge-available-text);
}

.badge-unavailable {
  background: var(--badge-unavailable);
  color: var(--badge-unavailable-text);
}

.product-card__body {
  padding: 16px;
}

.product-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card__discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ef4444;
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
  animation: pulseDiscount 2s infinite ease-in-out;
  z-index: 2;
}

@keyframes pulseDiscount {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.product-card__price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-discounted {
  color: #dc2626;
  font-weight: 800;
}

.price-regular {
  color: var(--gray-400);
  text-decoration: line-through;
  font-size: 0.875rem;
  font-weight: 500;
}

.detail-discount-badge {
  display: inline-flex;
  align-items: center;
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.product-card__flavors {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.flavor-tag {
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 0.6875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition);
}

.flavor-tag:hover { background: var(--gray-200); }

.flavor-more {
  background: transparent;
  color: var(--gray-500);
  padding: 3px 6px;
  font-size: 0.6875rem;
  font-weight: 500;
}

.product-card__flavor-count {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.product-page .main-content {
  padding-top: 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--gray-400);
  transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--black); }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
  animation: fadeIn 0.4s ease;
  
  align-items: start;
}

.product-detail__gallery {
  position: sticky;
  top: calc(var(--navbar-height) + 16px);
  align-self: start;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow-sm);
}

.product-detail__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-detail__gallery.png-bg {
  background: var(--white);
}

.product-detail__gallery .gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--gray-50);
  color: var(--gray-300);
  font-size: 0.8rem;
}

.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

.product-detail__category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  width: fit-content;
}

.product-detail__name {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1.2;
}

.product-detail__price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--black);
}

.product-detail__shipping-note {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.product-detail__flavors-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.flavor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flavor-chip {
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  color: var(--black);
  position: relative;
}

.flavor-chip:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

.flavor-chip.selected {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.product-detail__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status-available .status-dot { background: #22c55e; }
.status-last .status-dot { background: #f59e0b; }
.status-unavailable .status-dot { background: #ef4444; }

.btn-add-to-cart {
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-top: 8px;
}

.accordion {
  border-top: 1px solid var(--border);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--black);
  transition: color var(--transition);
  user-select: none;
}

.accordion-header:hover { color: var(--gray-700); }

.accordion-icon {
  transition: transform var(--transition);
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr;
  max-height: 0;
  opacity: 0;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              padding-bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: 0;
}

.accordion-body__inner {
  overflow: hidden;
  min-height: 0;
}

.accordion-item.open .accordion-body {
  grid-template-rows: 1fr;
  max-height: 1000px;
  opacity: 1;
  padding-bottom: 16px;
}

.accordion-body p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.related-section {
  margin-top: 48px;
}

.related-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-align: center;
}

.related-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 380px;
  max-width: 92vw;
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}

.cart-sidebar.open {
  transform: translateX(0);
}

.cart-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-sidebar__header h2 {
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-sidebar__header button {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all var(--transition);
}

.cart-sidebar__header button:hover {
  background: var(--gray-100);
  color: var(--black);
}


.cart-sidebar__items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.875rem;
  padding: 32px 0;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  animation: fadeInUp 0.3s ease;
  transition: all var(--transition);
}

.cart-item:hover {
  border-color: var(--gray-300);
  background: var(--white);
}

.cart-item__img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--border);
  flex-shrink: 0;
  padding: 4px;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__flavor {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.cart-item__price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--black);
  margin-top: 4px;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--black);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 600;
}

.qty-btn:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

.qty-value {
  width: 28px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}

.qty-input {
  width: 38px;
  height: 28px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  background: var(--white);
  padding: 0 2px;
  outline: none;
  transition: all var(--transition);
  -moz-appearance: textfield;
}

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

.qty-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
  background: var(--white);
}

.cart-item__delete {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  cursor: pointer;
  border-radius: 6px;
  transition: all var(--transition);
  flex-shrink: 0;
  margin-left: 4px;
}

.cart-item__delete:hover {
  background: #fee2e2;
  color: #dc2626;
}

.cart-sidebar__footer {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
}

.checkout-page {
  max-width: 1000px;
}

.checkout-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.checkout-sub {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: start;
}

.checkout-payment {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--navbar-height) + 16px);
}

.checkout-payment h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.checkout-payment__sub {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-method {
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.payment-method:hover {
  border-color: var(--accent);
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.payment-method.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--black);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.crypto-icon-img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  min-width: 36px !important;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.crypto-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}

.crypto-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
}

.payment-method.selected .crypto-sub {
  color: #64748b;
}

.payment-badge-crypto {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(0, 0, 0, 0.12);
  letter-spacing: 0.04em;
  transition: all var(--transition);
}

.payment-method.selected .payment-badge-crypto {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* Modal krypto płatności */
.pay-modal-box--crypto {
  max-width: 440px;
  width: 95%;
  padding: 24px;
  border-radius: 20px;
}

.crypto-pay-status-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.crypto-status--waiting {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.crypto-status--confirming {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.crypto-status--paid {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.crypto-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.crypto-status-dot.pulse {
  animation: pulseDot 1.5s infinite;
}

.crypto-status-dot.pulse-warning {
  animation: pulseDot 1s infinite;
}

.crypto-dots {
  display: inline-flex;
  margin-left: 3px;
  font-weight: 900;
  letter-spacing: 1px;
}

.crypto-dots span {
  display: inline-block;
  opacity: 0;
  animation: cryptoDotFade 1.4s infinite;
}

.crypto-dots span:nth-child(1) { animation-delay: 0s; }
.crypto-dots span:nth-child(2) { animation-delay: 0.28s; }
.crypto-dots span:nth-child(3) { animation-delay: 0.56s; }

@keyframes cryptoDotFade {
  0%, 15% { opacity: 0; transform: translateY(0); }
  35%, 65% { opacity: 1; transform: translateY(-1px); }
  85%, 100% { opacity: 0; transform: translateY(0); }
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.crypto-qr-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px 0;
  padding: 12px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
}

.crypto-qr-canvas {
  width: 190px !important;
  height: 190px !important;
  display: block;
  border-radius: 8px;
}

.crypto-qr-currency-badge {
  position: absolute;
  bottom: 8px;
  right: 12px;
  background: #0f172a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.crypto-field-box {
  margin-bottom: 14px;
  text-align: left;
}

.crypto-field-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.crypto-address-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 4px 6px 4px 12px;
}

.crypto-address-input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 0.82rem;
  font-family: monospace;
  color: #0f172a;
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-copy-crypto {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--btn-gradient);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-copy-crypto:hover {
  background: var(--btn-gradient-hover);
}

.btn-copy-crypto.copied {
  background: #10b981;
}

.crypto-amount-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
}

.crypto-amount-crypto {
  display: flex;
  align-items: center;
  gap: 6px;
}

.crypto-amount-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.crypto-amount-unit {
  font-size: 0.85rem;
  font-weight: 800;
  color: #64748b;
}

.btn-copy-amount {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 2px;
  transition: color 0.2s;
}

.btn-copy-amount:hover {
  color: #0f172a;
}

.crypto-amount-pln {
  font-size: 0.95rem;
  font-weight: 700;
  color: #10b981;
}

.crypto-pay-info-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.78rem;
  color: #64748b;
  text-align: left;
  line-height: 1.35;
  margin-bottom: 14px;
}

.crypto-pay-info-banner svg {
  flex-shrink: 0;
  color: #3b82f6;
}

.payment-method.selected .payment-badge-blik,
.payment-method.selected .payment-badge-crypto {
  background: var(--accent);
  color: var(--white);
}

.payment-method--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: var(--gray-50);
  border-color: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payment-method--disabled:hover {
  border-color: var(--border);
  background: var(--gray-50);
  color: var(--black);
}

.payment-badge-unavailable {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: #fee2e2;
  color: #991b1b;
  letter-spacing: 0.03em;
}

.blik-modal-box {
  max-width: 420px;
  width: 90%;
  text-align: center;
}

.blik-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  padding: 6px 18px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.blik-input-wrapper {
  margin: 20px 0 10px;
  display: flex;
  justify-content: center;
}

.blik-code-input {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: center;
  width: 100%;
  max-width: 320px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--gray-50);
  outline: none;
  font-family: inherit;
  transition: all var(--transition);
}

.blik-code-input::placeholder {
  font-size: 0.825rem;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--gray-400);
}

.blik-code-input:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-products {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.checkout-products h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.checkout-item:last-child { border-bottom: none; }

.checkout-item__img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--gray-50);
  flex-shrink: 0;
  padding: 4px;
}

.checkout-item__info { flex: 1; min-width: 0; }
.checkout-item__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
}
.checkout-item__flavor {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 2px;
}
.checkout-item__price-row {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.checkout-item__controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.checkout-item__total {
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
  min-width: 80px;
}

.checkout-item__delete {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  cursor: pointer;
  border-radius: 6px;
  transition: all var(--transition);
}

.checkout-item__delete:hover {
  background: #fee2e2;
  color: #dc2626;
}

.checkout-totals {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* ---- Promo code block ---- */
@keyframes promoSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes promoShake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-5px); }
  40%     { transform: translateX(5px); }
  60%     { transform: translateX(-4px); }
  80%     { transform: translateX(4px); }
}
@keyframes promoSuccess {
  0%   { box-shadow: 0 0 0 0 rgba(56,161,105,.45); }
  70%  { box-shadow: 0 0 0 8px rgba(56,161,105,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,161,105,0); }
}

.checkout-promo-row {
  margin: 10px 0 4px;
  animation: promoSlideIn .25s ease;
}

.checkout-promo-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-400, #9ca3af);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 7px;
}

.checkout-promo-input-wrap {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #e5e7eb;
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
}

.checkout-promo-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.checkout-promo-input-wrap.promo-active {
  border-color: #38a169;
  animation: promoSuccess .5s ease;
}

.checkout-promo-input-wrap.promo-error {
  border-color: #e53e3e;
  animation: promoShake .35s ease;
}

.checkout-promo-input-wrap input {
  flex: 1;
  padding: 10px 13px;
  border: none;
  font-size: 0.92rem;
  outline: none;
  background: transparent;
  min-width: 0;
  letter-spacing: .03em;
  color: #1a1a2e;
}

.checkout-promo-input-wrap input::placeholder {
  color: #c4c8d2;
}

.checkout-promo-input-wrap button {
  padding: 10px 18px;
  background: var(--btn-gradient);
  color: var(--white);
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background .15s, opacity .15s;
}

.checkout-promo-input-wrap button:hover {
  background: var(--btn-gradient-hover);
}

.checkout-promo-input-wrap button.btn-remove {
  background: #e53e3e;
}

.checkout-promo-input-wrap button.btn-remove:hover {
  background: #c53030;
}

.checkout-promo-input-wrap button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

#promo-status {
  font-size: 0.8rem;
  margin-top: 6px;
  min-height: 0;
  display: none;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 500;
  animation: promoSlideIn .2s ease;
}

#promo-status.status-ok {
  background: #f0fff4;
  color: #276749;
  border: 1px solid #9ae6b4;
  display: block;
}

#promo-status.status-err {
  background: #fff5f5;
  color: #c53030;
  border: 1px solid #fed7d7;
  display: block;
}

.checkout-discount-row {
  color: #38a169;
  font-weight: 600;
}


.checkout-free-shipping {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.checkout-grand {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--black);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.btn-checkout-final {
  padding: 15px 22px;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 12px;
  background: var(--btn-gradient);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(13, 13, 20, 0.2);
}

.btn-checkout-final:not(:disabled):hover {
  background: var(--btn-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 13, 20, 0.3);
}

.btn-checkout-final:not(:disabled):active {
  transform: translateY(0);
}

.btn-checkout-final:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.checkout-select-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: scaleIn 0.3s var(--transition-spring);
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
  animation: bounceIn 0.5s ease;
}

.success-checkmark-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  background: #ecfdf5;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.25);
  animation: badgePop 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.checkmark-svg {
  width: 48px;
  height: 48px;
  display: block;
  stroke-width: 3.5;
  stroke: #10b981;
  stroke-miterlimit: 10;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: #10b981;
  animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: #10b981;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: strokeCheck 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

/* ==========================================================================
   Luxury Crypto Warning Modal & Animated Badge
   ========================================================================== */
.modal-box--crypto-warning {
  max-width: 440px;
  text-align: center;
  padding: 30px 24px 24px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
  animation: modalScaleSpring 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleSpring {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.warning-lux-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 16px;
}

.warning-lux-badge {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff1f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e11d48;
  border: 1px solid rgba(225, 29, 72, 0.2);
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.12);
  animation: warningPop 0.5s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

@keyframes warningPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.warning-lux-svg {
  width: 44px;
  height: 44px;
  display: block;
}

.warning-lux-triangle {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: strokeTriangle 0.65s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards;
}

.warning-lux-line {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: strokeLine 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.55s forwards;
}

.warning-lux-dot {
  opacity: 0;
  animation: popDot 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards;
  transform-origin: center;
}

@keyframes strokeTriangle {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes strokeLine {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes popDot {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.warning-tag-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #be123c;
  margin-bottom: 8px;
}

.warning-lux-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.25;
}

.warning-lux-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff8f8;
  border: 1px solid #ffe4e6;
  border-left: 3px solid #e11d48;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 20px;
  text-align: left;
}

.warning-lux-card-icon {
  flex-shrink: 0;
  color: #e11d48;
  margin-top: 1px;
}

.warning-lux-card-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #475569;
}

.warning-lux-card-text strong {
  color: #0f172a;
  font-weight: 700;
}

.warning-lux-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.btn-warning-cancel {
  flex: 1;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
}

.btn-warning-confirm {
  flex: 1.6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
  background: var(--btn-gradient);
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 13, 20, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-warning-confirm:hover {
  background: var(--btn-gradient-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(13, 13, 20, 0.3);
}

.btn-warning-confirm:active {
  transform: translateY(0);
}

.modal-box h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal-box p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.modal-sub {
  margin-bottom: 24px !important;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.shipping-modal-box {
  max-width: 480px;
  width: 95%;
  text-align: left;
  padding: 32px 28px;
}

.shipping-modal__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.shipping-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--black);
}

.shipping-modal__titles h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2px;
  text-align: left;
}

.shipping-modal__titles .modal-sub {
  font-size: 0.825rem;
  color: var(--gray-500);
  margin-bottom: 0 !important;
  text-align: left;
}

.shipping-form-group {
  text-align: left;
  margin-bottom: 14px;
}

.shipping-form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 5px;
}

.shipping-form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  background: var(--gray-50);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

.shipping-form-group input:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.shipping-form-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  margin-bottom: 6px;
}

.phone-input-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.phone-input-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.phone-prefix-badge {
  padding: 10px 12px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.875rem;
  border-right: 1px solid var(--border);
  user-select: none;
  display: flex;
  align-items: center;
}

.phone-number-input {
  border: none !important;
  background: transparent !important;
  padding: 10px 12px !important;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--black);
  outline: none !important;
  box-shadow: none !important;
}

#ship-paczkomat {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.paczkomat-hint-row {
  margin-top: 2px;
  margin-bottom: 14px;
}

.paczkomat-status {
  font-size: 0.82rem;
  padding: 10px 14px;
  border-radius: 10px;
  margin-top: 6px;
  margin-bottom: 12px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  animation: paczkomatSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes paczkomatSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.paczkomat-status.hidden {
  display: none !important;
}

.paczkomat-status__icon-wrap {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.paczkomat-status__content {
  flex: 1;
  min-width: 0;
}

.paczkomat-status__title {
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 2px;
}

.paczkomat-status__desc {
  font-size: 0.76rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* Stan: Sprawdzanie w toku */
.paczkomat-status--loading {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.paczkomat-status--loading .paczkomat-status__icon-wrap {
  background: #e2e8f0;
  color: #64748b;
  animation: paczkomatSpin 1s linear infinite;
}

@keyframes paczkomatSpin {
  100% {
    transform: rotate(360deg);
  }
}

/* Stan: Prawidłowy paczkomat */
.paczkomat-status--valid {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  color: #065f46;
  border: 1px solid #a7f3d0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}

.paczkomat-status--valid .paczkomat-status__icon-wrap {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
  animation: paczkomatBadgePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Stan: Błędny paczkomat */
.paczkomat-status--error {
  background: linear-gradient(135deg, #fff1f2 0%, #fef2f2 100%);
  color: #9f1239;
  border: 1px solid #fecdd3;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.06);
  animation: paczkomatShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.paczkomat-status--error .paczkomat-status__icon-wrap {
  background: #f43f5e;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(244, 63, 94, 0.35);
  animation: paczkomatBadgePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes paczkomatBadgePop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes paczkomatShake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
  40%, 60% { transform: translate3d(3px, 0, 0); }
}

.paczkomat-link {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-decoration: underline;
  transition: color var(--transition);
}

.paczkomat-link:hover {
  color: var(--black);
}

.shipping-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

/* Informacja o rozmiarze paczki */
.parcel-size-info {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f5f7ff;
  border: 1.5px solid #d4dcff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.parcel-size-info__left {
  flex-shrink: 0;
}
.parcel-size-info__right {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.parcel-size-badge {
  background: #1a1a2e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  text-transform: uppercase;
}
.parcel-size-desc {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a2e;
  line-height: 1.4;
}
.parcel-size-link {
  font-size: 12px;
  color: #4a6cf7;
  text-decoration: none;
  font-weight: 500;
}
.parcel-size-link:hover {
  text-decoration: underline;
}
.parcel-size-warning {
  background: #fff5f5;
  border: 1.5px solid #fca5a5;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #b91c1c;
  line-height: 1.55;
}
.parcel-size-warning strong {
  color: #991b1b;
}

.ship-label-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.ship-label-group:last-child {
  margin-bottom: 0;
}

.ship-label-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #6b7280;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ship-label-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: #1a1a2e;
  transition: border-color 0.18s, box-shadow 0.18s;
  box-sizing: border-box;
  letter-spacing: 0.04em;
}
.ship-label-input::placeholder {
  color: #b0b8c9;
}
.ship-label-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.shipping-hint {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 6px;
}
.shipping-hint a {
  color: #4a6cf7;
  text-decoration: underline;
}

.shipping-modal-actions button {
  padding: 10px 20px;
}

.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 56px 24px 24px;
  margin-top: auto;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
}

.footer__copy {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--gray-500);
}

.admin-body {
  background: var(--gray-50);
}

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-login__box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: scaleIn 0.4s var(--transition-spring);
}

.admin-login__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.admin-login__logo .logo-img { height: 40px; }

.admin-login__box h2 {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--black);
  background: var(--gray-50);
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea { resize: vertical; min-height: 80px; }

.login-error {
  background: #fee2e2;
  color: #991b1b;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.875rem;
  margin-bottom: 16px;
  animation: fadeIn 0.2s ease;
}

.admin-back {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 16px;
}

.admin-back a {
  color: var(--gray-500);
  transition: color var(--transition);
}

.admin-back a:hover { color: var(--black); }

.admin-panel {
  min-height: 100vh;
  background: var(--gray-50);
}

.admin-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.admin-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-small {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.admin-header__title {
  font-size: 1.05rem;
  font-weight: 700;
}

.admin-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--gray-100);
  padding: 4px;
  border-radius: var(--radius-md);
  width: fit-content;
}

.admin-tab {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--gray-500);
  background: transparent;
}

.admin-tab:hover { color: var(--black); }

.admin-tab.active {
  background: var(--white);
  color: var(--black);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.admin-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.admin-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-section__header h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

.admin-section > h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.admin-search {
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition);
  width: 260px;
  background: var(--gray-50);
}

.admin-search:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.admin-database-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-database-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.admin-database-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-products-table {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--black);
}

.admin-table tr:last-child td { border-bottom: none; }

.admin-table tr:hover td {
  background: var(--gray-50);
}

.admin-table .product-thumb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  padding: 4px;
  border: 1px solid var(--border);
}

.admin-table-actions {
  display: flex;
  gap: 6px;
}

.admin-table-actions button {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
}

.btn-edit {
  background: var(--gray-100);
  color: var(--black);
  border-color: var(--border);
}

.btn-edit:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.btn-delete-sm {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fecaca;
}

.btn-delete-sm:hover {
  background: #dc2626;
  color: var(--white);
  border-color: #dc2626;
}

.empty-table {
  text-align: center;
  padding: 48px 0;
  color: var(--gray-400);
}

.admin-form {
  max-width: 700px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.image-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--gray-50);
  min-height: 120px;
  max-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.image-upload-area:hover {
  border-color: var(--gray-400);
  background: var(--gray-100);
}

.image-upload-area img,
.img-preview {
  max-width: 100% !important;
  max-height: 180px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: var(--radius-sm);
  display: block;
  margin: 0 auto;
}

.image-upload-placeholder {
  text-align: center;
  color: var(--gray-400);
  pointer-events: none;
}

.image-upload-placeholder p {
  font-size: 0.875rem;
  font-weight: 500;
  margin: 8px 0 4px;
  color: var(--gray-700);
}

.image-upload-placeholder span {
  font-size: 0.75rem;
}

/* Panel admina — multi-zdjęcia */
.extra-images-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  align-items: flex-start;
}
.extra-img-thumb {
  position: relative;
  width: 80px !important;
  height: 80px !important;
  min-width: 80px !important;
  min-height: 80px !important;
  max-width: 80px !important;
  max-height: 80px !important;
  flex-shrink: 0;
  flex-grow: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--gray-50);
  box-sizing: border-box;
}
.extra-img-thumb img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
}
.extra-img-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.extra-img-remove:hover { background: #e53e3e; }

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.settings-form {
  max-width: 500px;
}

.settings-msg {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 16px;
  animation: fadeIn 0.2s ease;
}

.settings-msg.success {
  background: #dcfce7;
  color: #166534;
}

.settings-msg.error {
  background: #fee2e2;
  color: #991b1b;
}

.product-img-placeholder-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: transparent;
}

#admin-toast {
  animation: fadeInUp 0.3s ease;
}

@media (max-width: 1024px) {
  .shop-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .products-section {
    order: 1;
  }

  .filter-sidebar {
    order: 2;
    margin-top: 8px;
  }

  .filter-sidebar__inner {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
  }

  .filter-sidebar__inner h3 {
    grid-column: 1 / -1;
  }

  .btn-reset-filters {
    grid-column: 1 / -1;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-detail__gallery {
    height: auto;
    max-height: 360px;
    min-height: 200px;
    position: static;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-payment {
    position: static;
  }
}

@media (max-width: 768px) {
  .navbar__links .nav-link {
    display: none;
  }

  .hamburger { display: flex; }

  .main-content { padding: 20px 16px 48px; }

  .section-title { font-size: 1.4rem; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card__img-wrap { height: 160px; }

  .cart-sidebar { width: 100%; max-width: 100%; }

  .product-detail__name { font-size: 1.5rem; }

  .form-row { grid-template-columns: 1fr; }

  .admin-tabs {
    width: 100%;
  }

  .admin-tab {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .filter-sidebar__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .age-gate__box {
    padding: 32px 24px;
  }

  .admin-login__box {
    padding: 32px 24px;
  }
}

/* ===== MOBILE RESPONSIVENESS FIXES ===== */

/* Shipping form: stack on small screens */
@media (max-width: 540px) {
  .shipping-form-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .shipping-modal-box {
    padding: 24px 18px;
    width: 96%;
    max-width: 100%;
  }

  .shipping-modal__header {
    gap: 10px;
  }

  .shipping-modal-actions {
    flex-direction: column;
    gap: 8px;
  }

  .shipping-modal-actions .btn-secondary,
  .shipping-modal-actions .btn-primary {
    width: 100%;
  }
}

/* BLIK modal: mobile-friendly */
@media (max-width: 540px) {
  .blik-modal-box {
    padding: 28px 18px;
    width: 96%;
  }

  .blik-code-input {
    font-size: 1.5rem !important;
    padding: 14px 12px !important;
  }
}

/* Pay modal: mobile-friendly */
@media (max-width: 540px) {
  .pay-modal-box {
    padding: 32px 20px;
    width: 96%;
  }
}

/* "Jak Zamówić" modal: mobile-friendly */
@media (max-width: 540px) {
  .how-to-order-box {
    padding: 24px 18px;
    width: 96%;
    max-height: 90vh;
    overflow-y: auto;
  }

  .how-to-order-header {
    margin-bottom: 16px;
  }

  .order-step-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .order-step-content h4 {
    font-size: 0.85rem;
  }

  .order-step-content p {
    font-size: 0.78rem;
  }
}

/* Modal overlay: ensure scrolling on small screens */
@media (max-width: 540px) {
  .modal-overlay {
    padding: 16px 8px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .modal-box {
    width: 96%;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
  }
}

/* Cart items: better wrapping on narrow screens */
@media (max-width: 380px) {
  .cart-item {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
  }

  .cart-item__info {
    flex: 1 1 calc(100% - 70px);
  }

  .cart-item__controls {
    margin-left: auto;
  }

  .cart-sidebar__items {
    padding: 12px 14px;
  }

  .cart-sidebar__footer {
    padding: 12px 14px 18px;
  }
}

/* Checkout layout: mobile improvements */
@media (max-width: 768px) {
  .checkout-page.main-content,
  .main-content.checkout-page {
    padding: 16px 12px 48px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .checkout-title {
    font-size: 1.4rem;
  }

  .checkout-sub {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }

  .checkout-payment,
  .checkout-products,
  .checkout-totals {
    padding: 16px;
    border-radius: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .payment-methods {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .payment-method {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.88rem;
    box-sizing: border-box;
  }

  .checkout-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    position: relative;
    width: 100%;
  }

  .checkout-item__img {
    width: 48px;
    height: 48px;
  }

  .checkout-item__info {
    flex: 1 1 calc(100% - 70px);
    min-width: 0;
  }

  .checkout-item__name {
    font-size: 0.88rem;
    line-height: 1.3;
    word-break: break-word;
  }

  .checkout-item__flavor {
    font-size: 0.75rem;
  }

  .checkout-item__price-row {
    font-size: 0.78rem;
  }

  .checkout-item__controls {
    margin-left: 58px;
    gap: 4px;
  }

  .checkout-item__controls .qty-btn {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }

  .checkout-item__controls .qty-input {
    width: 44px;
    height: 28px;
    font-size: 0.85rem;
  }

  .checkout-item__total {
    margin-left: auto;
    font-size: 0.92rem;
    min-width: auto;
    font-weight: 700;
  }

  .checkout-item__delete {
    margin-left: 6px;
    flex-shrink: 0;
  }

  .checkout-totals {
    font-size: 0.9rem;
  }

  .btn-checkout-final {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    box-sizing: border-box;
  }
}

/* Product detail: mobile layout improvements */
@media (max-width: 768px) {
  .product-detail {
    gap: 24px;
    margin-bottom: 32px;
  }

  .product-detail__info {
    padding-top: 0;
  }

  .breadcrumb {
    margin-bottom: 16px;
    font-size: 0.75rem;
  }
}

.pay-modal-box {
  max-width: 440px;
  text-align: center;
  padding: 40px 32px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.pay-state-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

/* Luxury animated payment spinner */
.pay-lux-spinner-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 10px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-lux-spinner {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3.5px solid rgba(15, 23, 42, 0.08);
  border-top-color: #0f172a;
  border-right-color: #0f172a;
  animation: payLuxSpin 0.9s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}

.pay-lux-spinner--green {
  border: 3.5px solid rgba(16, 185, 129, 0.14);
  border-top-color: #10b981;
  border-right-color: #059669;
}

.pay-lux-spinner-glow {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.06) 0%, transparent 70%);
  animation: payGlowPulse 2s ease-in-out infinite;
}

.pay-lux-spinner-glow--green {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
}

@keyframes payLuxSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes payGlowPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* Luxury animated error badge */
.error-lux-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px auto 16px;
}

.error-lux-badge {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff1f2 0%, #fee2e2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
  box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.08),
              0 14px 28px -4px rgba(220, 38, 38, 0.25);
  animation: errorPop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes errorPop {
  0% { transform: scale(0.3) rotate(-15deg); opacity: 0; }
  70% { transform: scale(1.08) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.error-lux-svg {
  width: 44px;
  height: 44px;
  display: block;
}

.error-lux-circle {
  stroke-dasharray: 63;
  stroke-dashoffset: 63;
  animation: strokeErrorCircle 0.5s ease forwards 0.1s;
}

.error-lux-line1,
.error-lux-line2 {
  stroke-dasharray: 12;
  stroke-dashoffset: 12;
  animation: strokeErrorLine 0.35s ease forwards 0.45s;
}

@keyframes strokeErrorCircle {
  100% { stroke-dashoffset: 0; }
}

@keyframes strokeErrorLine {
  100% { stroke-dashoffset: 0; }
}

.error-lux-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.pay-timer {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 18px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.product-card__stock {
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-card__stock::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.stock--ok {
  color: #15803d;
}
.stock--ok::before  { background: #22c55e; }

.stock--low {
  color: #b45309;
}
.stock--low::before { background: #f59e0b; }

.stock--out {
  color: #b91c1c;
}
.stock--out::before { background: #ef4444; }

.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  overflow: hidden;
}

.brand-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 75% 65%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.brand-intro.fade-out {
  opacity: 0 !important;
  transform: scale(1.03) translateY(-10px);
  filter: blur(4px);
  pointer-events: none !important;
}

.brand-intro__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.brand-intro__avatar-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-intro__avatar-ring {
  position: relative;
  width: 165px;
  height: 165px;
  border-radius: 50%;
  padding: 6px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: avatarPopIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both, avatarWink 0.5s ease-in-out 0.7s;
}

.brand-intro__avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.1));
}

.brand-intro__wink-glint {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: rotate(35deg) translateY(-150%);
  pointer-events: none;
  animation: winkGlint 0.55s ease-in-out 0.75s forwards;
}

.brand-intro__smoke-puff {
  position: absolute;
  top: 24px;
  left: 28px;
  width: 14px;
  height: 14px;
  background: rgba(180, 180, 180, 0.6);
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  animation: smokePuff 1.1s ease-out 0.55s forwards;
}

@keyframes avatarPopIn {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes avatarWink {
  0% { transform: scale(1) rotate(0deg); }
  35% { transform: scale(1.08) rotate(-4deg) translateY(-2px); }
  65% { transform: scale(0.96) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes winkGlint {
  0% {
    transform: rotate(35deg) translateY(-120%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: rotate(35deg) translateY(120%);
    opacity: 0;
  }
}

@keyframes smokePuff {
  0% {
    opacity: 0;
    transform: scale(0.6) translate(0, 0);
  }
  40% {
    opacity: 0.7;
    transform: scale(1.4) translate(-6px, -12px);
  }
  100% {
    opacity: 0;
    transform: scale(2.2) translate(-14px, -28px);
  }
}

.brand-intro__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.brand-intro__title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--black);
  margin: 0;
  animation: textSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.brand-intro__bar {
  width: 32px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  animation: barExpand 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

@keyframes barExpand {
  0% { width: 0; opacity: 0; }
  100% { width: 32px; opacity: 1; }
}

.brand-intro__sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0;
  animation: textSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

@keyframes textSlideUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .brand-intro__avatar-ring {
    width: 120px;
    height: 120px;
  }
  .brand-intro__title {
    font-size: 1.875rem;
  }
}

.admin-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  padding: 4px;
  border-radius: var(--radius-md);
  width: fit-content;
  margin-bottom: 0;
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  min-width: 20px;
  max-width: 20px;
  border-radius: 50%;
  padding: 0;
  margin-left: 6px;
  line-height: 1;
  text-align: center;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.45);
  animation: badgePulse 2s infinite;
  vertical-align: middle;
  flex-shrink: 0;
  box-sizing: border-box;
}

.admin-earnings-counters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.earnings-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.earnings-pill__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f0fdf4;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.earnings-pill--total .earnings-pill__icon {
  background: var(--accent-light);
  color: var(--accent);
}

.earnings-pill__content {
  display: flex;
  flex-direction: column;
}

.earnings-pill__label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
}

.earnings-pill__value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.earnings-pill.pop-update {
  animation: pillGlow 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.earnings-pill.pop-update .earnings-pill__value {
  color: #16a34a;
}

@keyframes pillGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(22, 163, 74, 0);
  }
  35% {
    transform: scale(1.08);
    border-color: #22c55e;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.45);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--shadow-sm);
  }
}

@keyframes badgePulse {
  0% { transform: scale(1); box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4); }
  50% { transform: scale(1.1); box-shadow: 0 3px 12px rgba(220, 38, 38, 0.6); }
  100% { transform: scale(1); box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4); }
}

.warehouse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-sub-text {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.warehouse-header-actions {
  min-width: 260px;
}

.order-status-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.status-filter-btn {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
}

.status-filter-btn:hover {
  background: var(--gray-100);
  color: var(--black);
  border-color: var(--gray-300);
}

.status-filter-btn.active {
  background: var(--btn-gradient);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.status-filter--new.active {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #ffffff;
}

.status-filter--processing.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}

.status-filter--sent.active {
  background: #8b5cf6;
  border-color: #8b5cf6;
  color: #ffffff;
}

.status-filter--completed.active {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.status-filter--cancelled.active {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

.warehouse-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.warehouse-date-filter-bar {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.filter-group-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  margin-right: 4px;
}

.date-filter-btn {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.date-filter-btn:hover {
  background: var(--gray-100);
  color: var(--black);
  border-color: var(--gray-300);
}

.date-filter-btn.active {
  background: var(--btn-gradient);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.date-filter-btn .filter-count-badge {
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}

.date-filter-btn.active .filter-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.orders-date-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  margin-bottom: 14px;
  padding: 10px 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.orders-date-group-header:first-child {
  margin-top: 0;
}

.orders-date-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.orders-group-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.orders-group-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
}

.orders-group-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
}

.badge-group--today {
  background: #dcfce7;
  color: #15803d;
}

.badge-group--yesterday {
  background: #fef3c7;
  color: #b45366;
}

.badge-group--earlier {
  background: #f1f5f9;
  color: #475569;
}

.orders-group-sum {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.orders-group-sum strong {
  color: #16a34a;
  font-size: 0.95rem;
  margin-left: 4px;
}

.orders-date-group-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-orders-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-order-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.admin-order-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}

.admin-order-card__header {
  background: #fafafa;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.order-id-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.order-id-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  font-weight: 600;
}

.order-id-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.02em;
}

.btn-copy-id {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 3px 5px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition), background var(--transition);
}

.btn-copy-id:hover {
  color: var(--black);
  background: var(--gray-200);
}

.order-date {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-left: 6px;
}

.order-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-pay-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.order-pay--blik {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.order-pay--crypto {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.order-status-control {
  display: flex;
  align-items: center;
  gap: 6px;
}

.order-status-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
}

.order-status-select {
  font-size: 0.825rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid;
  cursor: pointer;
  outline: none;
  transition: all var(--transition);
}

.order-status-select.order-status--new {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.order-status-select.order-status--processing {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.order-status-select.order-status--sent {
  background: #f5f3ff;
  color: #6d28d9;
  border-color: #ddd6fe;
}

.order-status-select.order-status--completed {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.order-status-select.order-status--cancelled {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.admin-order-card__header {
  background: #fbfcfd;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.admin-order-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-order-id-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 8px;
}

.admin-order-id {
  font-family: monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.3px;
}

.admin-order-date {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-500);
}

.admin-order-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.admin-order-card--fulfilled {
  border-color: #86efac;
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.08);
}

.order-fulfill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid;
  user-select: none;
}

.order-fulfill-btn--pending {
  background: #fff1f2;
  color: #be123c;
  border-color: #fecdd3;
  box-shadow: 0 1px 3px rgba(190, 18, 60, 0.08);
}

.order-fulfill-btn--pending:hover {
  background: #ffe4e6;
  border-color: #fda4af;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(190, 18, 60, 0.15);
}

.order-fulfill-btn--done {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
  box-shadow: 0 1px 3px rgba(4, 120, 87, 0.08);
}

.order-fulfill-btn--done:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(4, 120, 87, 0.15);
}

.order-fulfill-btn:active {
  transform: translateY(0);
}

.order-fulfill-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.order-fulfill-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.hourglass-custom-svg {
  transition: transform 0.3s ease;
}

.order-fulfill-btn--pending:hover .hourglass-custom-svg {
  transform: rotate(180deg);
}

.fulfill-filter-btn {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fulfill-filter-btn:hover {
  background: var(--gray-50);
  color: var(--black);
  border-color: var(--gray-300);
}

.fulfill-filter-btn.active {
  background: var(--btn-gradient);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.fulfill-filter-btn.active .filter-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.admin-order-card__status-area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.inpost-status-capsule {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  padding: 3px 4px 3px 10px;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.inpost-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid transparent;
}

.inpost-status-pill-prefix {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  opacity: 0.75;
}

.inpost-status-pill-text {
  font-weight: 700;
}

.inpost-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.inpost-status--created {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.inpost-status--confirmed {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.inpost-status--sent {
  background: #f5f3ff;
  color: #6d28d9;
  border-color: #ddd6fe;
}

.inpost-status--delivered {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.inpost-tracking-capsule-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 99px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0284c7;
  text-decoration: none;
  transition: all var(--transition);
}

.inpost-tracking-capsule-link:hover {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
}

.inpost-tracking-capsule-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 99px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #64748b;
}

.inpost-tracking-capsule-prefix {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.3px;
}

.inpost-tracking-capsule-num {
  font-family: monospace;
  font-weight: 700;
  font-size: 0.82rem;
}

.inpost-tracking-none {
  font-size: 0.78rem;
  color: #94a3b8;
  font-style: italic;
}

.admin-order-card__body {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 20px;
}

.order-info-col {
  display: flex;
  flex-direction: column;
}

.order-customer-box {
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.order-info-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-600);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.order-customer-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.customer-detail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.detail-label {
  font-weight: 600;
  color: var(--gray-500);
  min-width: 75px;
}

.paczkomat-code-tag {
  background: #000000;
  color: #ffffff;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.08em;
  font-size: 0.825rem;
}

.customer-address-note {
  font-size: 0.775rem;
  color: var(--gray-600);
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin: 2px 0 4px 0;
  line-height: 1.35;
}

.customer-link {
  color: var(--black);
  font-weight: 500;
  text-decoration: underline;
}

.customer-link:hover {
  color: var(--gray-700);
}

.order-items-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.order-items-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}

.order-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.order-item-img-col {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #f3f4f6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.order-item-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item-thumb-placeholder {
  font-size: 1.2rem;
}

.order-item-info-col {
  flex: 1;
  min-width: 0;
}

.order-item-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-item-flavor {
  display: inline-block;
  font-size: 0.725rem;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 2px;
}

.order-item-qty-col {
  font-size: 0.825rem;
  color: var(--gray-600);
  text-align: right;
  white-space: nowrap;
}

.order-item-total-col {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--black);
  text-align: right;
  min-width: 75px;
}

.admin-order-card__footer {
  background: #fafafa;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-delete-order {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--gray-400);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all var(--transition);
}

.btn-delete-order:hover {
  color: #dc2626;
  background: #fee2e2;
}

.order-footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-grand-total-label {
  font-size: 0.825rem;
  color: var(--gray-500);
}

.order-grand-total-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--black);
}

@media (max-width: 768px) {
  .admin-order-card__body {
    grid-template-columns: 1fr;
  }
  .admin-order-card__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .order-header-right {
    width: 100%;
    justify-content: space-between;
  }
}

.flavors-manager {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--gray-50);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.flavor-list-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 24px;
}

.flavor-badge-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.2s ease;
}

.flavor-badge-name {
  color: var(--black);
  font-weight: 600;
}

.flavor-badge-qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: 6px;
  padding: 1px 6px;
  transition: all var(--transition);
}

.flavor-badge-qty-wrap:focus-within,
.flavor-badge-qty-wrap:hover {
  border-color: var(--black);
  background: var(--white);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.06);
}

.flavor-badge-qty-input {
  width: 42px !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--black) !important;
  padding: 2px 0 !important;
  text-align: center;
  box-shadow: none !important;
}

.flavor-badge-qty-input::-webkit-outer-spin-button,
.flavor-badge-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-unit {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 600;
}

.flavor-badge-remove {
  background: transparent;
  border: none;
  color: #ef4444;
  font-weight: bold;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 0.85rem;
  line-height: 1;
  transition: background var(--transition);
}

.flavor-badge-remove:hover {
  background: #fee2e2;
}

.add-flavor-inline-form {
  background: var(--white);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
  animation: fadeIn 0.2s ease;
}

.flavor-inputs-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}

.flavor-input-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flavor-input-col label.sub-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gray-500);
}

.flavor-form-actions {
  display: flex;
  gap: 8px;
}

.flavor-chip.disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  background: var(--gray-100) !important;
  color: var(--gray-400) !important;
  border-color: var(--gray-200) !important;
  pointer-events: none !important;
}

.flavor-out-badge {
  font-size: 0.72em;
  color: #dc2626;
  margin-left: 2px;
  font-weight: 600;
}

.flavor-tag.out-of-stock {
  opacity: 0.5;
  background: var(--gray-100);
  color: var(--gray-500);
  border-color: var(--gray-200);
}

.labtest-link-wrapper {
  padding: 4px 0;
}

.labtest-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--gray-50);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  max-width: 320px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.labtest-pdf-btn:hover {
  background: var(--btn-gradient);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 16px var(--accent-glow);
  transform: translateY(-1px);
}

/* --- JAK ZAMÓWIĆ MODAL --- */
.how-to-order-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  max-width: 500px;
  width: 92%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  animation: scaleIn 0.3s var(--transition-spring);
  position: relative;
}

.how-to-order-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.how-to-order-header__title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.how-to-order-header__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  flex-shrink: 0;
  margin-top: 1px;
}

.how-to-order-header__icon svg {
  width: 24px;
  height: 24px;
}

.how-to-order-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 2px 0;
  line-height: 1.25;
  text-align: left;
}

.how-to-order-header .modal-sub {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin: 0;
  text-align: left;
}

.how-to-order-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--gray-400);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-to-order-close:hover {
  color: var(--black);
  background: var(--gray-100);
}

.order-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.order-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  background: #f9fafb;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.order-step-item:hover {
  background: #f3f4f6;
  border-color: var(--gray-300);
}

.order-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.order-step-content {
  text-align: left;
  flex: 1;
}

.order-step-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  margin: 0 0 3px 0;
}

.order-step-content p {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.45;
  margin: 0;
}

/* ========================================================
   STACKOWANIE CEN (PRICE STACKING) - ADMIN & STOREFRONT
   ======================================================== */

.stacking-preview-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 6px;
  font-size: 0.85rem;
}

.stacking-info-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--black);
}

.stacking-badge-tag {
  background: #0a0a0a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.stacking-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.stacking-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.8125rem;
  color: #334155;
}

.stacking-pill strong {
  color: #0f172a;
}

.stacking-pill.highlight {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1e40af;
  font-weight: 600;
}

.stacking-note {
  font-size: 0.78rem;
  color: #64748b;
  margin: 6px 0 0 0;
  line-height: 1.4;
}

/* Storefront product detail widget */
.price-stacking-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 16px;
  margin: 16px 0 20px 0;
}

.price-stacking-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.price-stacking-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.stacking-chip {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid #e2e8f0;
  background: var(--white);
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stacking-chip:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.stacking-chip:disabled,
.stacking-chip.disabled {
  opacity: 0.4;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  transform: none !important;
  box-shadow: none !important;
}

.stacking-chip:disabled .chip-price,
.stacking-chip.disabled .chip-price {
  color: #94a3b8 !important;
}

.stacking-chip.selected {
  background: var(--btn-gradient);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.stacking-chip.selected .chip-price {
  color: #a7f3d0;
}

.chip-price {
  font-weight: 700;
  color: #0f172a;
}

.stacking-chip.mega-tier {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  box-shadow: 0 2px 8px rgba(245,158,11,.18);
}

.stacking-chip.mega-tier:hover {
  border-color: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245,158,11,.28);
}

.stacking-chip.mega-tier.selected {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: #d97706;
  color: #fff;
  box-shadow: 0 4px 14px rgba(217,119,6,.35);
}

.stacking-chip.mega-tier.selected .chip-price {
  color: #fff9c4;
}

.mega-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: .08em;
  background: #f59e0b;
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 2px;
}

.stacking-chip.mega-tier.selected .mega-badge {
  background: rgba(255,255,255,.25);
  color: #fff;
}

.chip-save-tag {
  font-size: 0.7rem;
  background: #dcfce7;
  color: #166534;
  padding: 1px 6px;
  border-radius: 9999px;
  font-weight: 700;
}

.stacking-chip.selected .chip-save-tag {
  background: #065f46;
  color: #a7f3d0;
}

.stacking-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.stacking-qty-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}

.stacking-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stacking-qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: var(--black);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.stacking-qty-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

.stacking-qty-input {
  width: 54px;
  height: 32px;
  text-align: center;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
}

.stacked-price-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 3px;
}

/* ==========================================================================
   InPost ShipX & Warehouse Label Styles
   ========================================================================== */

.admin-order-card__inpost-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

.inpost-status-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.inpost-logo-pill {
  background: #ffcc00;
  color: #000;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: -0.3px;
  display: inline-flex;
  align-items: center;
}

.btn-delete-order {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
  margin-left: 6px;
}

.btn-delete-order:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.btn-delete-order:active {
  transform: translateY(0);
}

.badge-sim {
  font-size: 0.72rem;
  font-weight: 700;
  color: #dc2626;
  background: #fee2e2;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.inpost-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-inpost-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  background: #0f172a;
  color: #fff;
  border: 1px solid #0f172a;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-inpost-preview:hover {
  background: #1e293b;
  border-color: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(15,23,42,0.15);
}

.btn-inpost-print {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 6px;
  background: #ffcc00;
  color: #000;
  border: 1px solid #ffcc00;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-inpost-print:hover {
  background: #e6b800;
  border-color: #e6b800;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(255,204,0,0.3);
}

.inpost-modal-box {
  max-width: 820px;
  width: 95%;
  height: 90vh;
  max-height: 880px;
  display: flex;
  flex-direction: column;
}

.inpost-modal-body {
  flex: 1;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #cbd5e1;
}

.inpost-label-iframe {
  width: 100%;
  height: 100%;
  border: none;
  flex: 1;
  min-height: 520px;
  background: #fff;
}

.inpost-loading-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  z-index: 10;
  color: #334155;
  font-weight: 600;
}

.modal-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  color: #64748b;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-close-modal:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* InPost Gabaryt Badges & Alerts */
.badge-gabaryt {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
}

.badge-gabaryt--small {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}

.badge-gabaryt--medium {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.badge-gabaryt--large {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.inpost-split-alert {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  color: #92400e;
  padding: 8px 12px;
  border-radius: 6px;
  margin: 10px 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.inpost-split-alert svg {
  flex-shrink: 0;
  color: #d97706;
}

.badge--ship-vape {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.badge--ship-cartridge {
  background: #ede9fe;
  color: #5b21b6;
  border: 1px solid #ddd6fe;
}

.badge--ship-grass {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* ========================================================
   ADMIN WIDE MODALS (EDIT PRODUCT & SCROLLBAR)
   ======================================================== */
.modal-overlay#edit-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.modal-box--wide {
  max-width: 760px;
  width: 95%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.modal-box--wide .modal-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}

.modal-box--wide .modal-header-flex h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--black);
}

#edit-product-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
}

#edit-product-form::-webkit-scrollbar {
  width: 6px;
}

#edit-product-form::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

#edit-product-form::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

#edit-product-form::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

#edit-product-form {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

#edit-product-form .modal-actions {
  position: sticky;
  bottom: -1px;
  background: var(--white);
  padding-top: 14px;
  padding-bottom: 4px;
  margin-top: 16px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
  z-index: 10;
}

/* ==========================================================================
   Luxury Payment Success Modal & Animations
   ========================================================================== */
#pay-state-success {
  text-align: center;
  padding: 10px 4px 6px;
  animation: fadeInModal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.success-glow-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px auto 18px;
}

.success-checkmark-card {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.22);
  animation: checkmarkPop 0.5s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

@keyframes checkmarkPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.checkmark-lux-svg {
  width: 50px;
  height: 50px;
  stroke: #ffffff;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.checkmark-lux-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke: rgba(255, 255, 255, 0.45);
  animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.15s forwards;
}

.checkmark-lux-check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 4.2;
  stroke: #ffffff;
  animation: strokeCheck 0.45s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

@keyframes strokeCircle {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes strokeCheck {
  100% {
    stroke-dashoffset: 0;
  }
}

.success-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #059669;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.success-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.success-headline {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  line-height: 1.25;
}

.success-subline {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0 auto 18px;
  max-width: 380px;
  line-height: 1.45;
}

.success-order-card-box {
  background: #f9fafb;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0 22px;
  text-align: left;
}

.success-order-id-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #cbd5e1;
}

.success-split-alert {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #92400e;
  font-size: 0.84rem;
  line-height: 1.45;
}

.success-split-alert svg {
  color: #d97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.success-tracking-multi-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #cbd5e1;
}

.success-tracking-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.success-tracking-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.success-tracking-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  background: #0f172a;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.btn-copy-all-trackings {
  width: 100%;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy-all-trackings:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.success-order-id-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.success-order-id-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.success-actions-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.success-order-id-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.btn-copy-success-id {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-copy-success-id:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.btn-copy-success-id:active {
  transform: translateY(0);
}

.btn-copy-success-id.copied {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #059669;
}

.btn-track-success-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #b45309;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-track-success-link:hover {
  background: #fef3c7;
  border-color: #fde68a;
  color: #92400e;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.12);
}

.success-order-subid-line {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

.success-order-subid-line span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: #334155;
}

.success-shipping-info-row {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.success-info-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.4;
}

.success-info-chip svg {
  flex-shrink: 0;
  color: #0284c7;
}

.success-info-chip strong {
  color: #0f172a;
  font-weight: 700;
}

.btn-success-return {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-success-return:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
}

.btn-success-return:active {
  transform: translateY(0);
}

/* ==========================================================================
   Tutorials Page & Modern Video Cards
   ========================================================================== */
.tutorials-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.tutorials-hero {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.tutorials-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tutorials-hero__badge svg {
  color: #0284c7;
}

.tutorials-hero__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.tutorials-hero__sub {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.tutorial-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.tutorial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
  border-color: #cbd5e1;
}

.tutorial-card__video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.tutorial-video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #0b0f19;
  user-select: none;
  -webkit-user-select: none;
}

.tutorial-video-player:fullscreen,
.tutorial-video-player:-webkit-full-screen {
  object-fit: contain !important;
  background: #000000 !important;
  width: 100vw !important;
  height: 100vh !important;
}

.tutorial-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(2px);
}

.tutorial-video-overlay.playing {
  background: transparent;
  backdrop-filter: none;
  opacity: 0;
  pointer-events: none;
}

.tutorial-video-overlay.playing .tutorial-play-btn {
  display: none !important;
}

.tutorial-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 4px;
}

.tutorial-video-overlay:hover .tutorial-play-btn {
  transform: scale(1.1);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.tutorial-fullscreen-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.tutorial-fullscreen-btn:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.tutorial-fullscreen-btn:active {
  transform: scale(0.95);
}

.tutorial-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tutorial-card__badge-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.tutorial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.tutorial-badge svg {
  flex-shrink: 0;
}

.tutorial-badge--no-id {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.tutorial-badge--need-id {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.tutorial-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 8px;
}

.tutorial-card__desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 640px) {
  .tutorials-hero__title {
    font-size: 1.7rem;
  }
  .tutorials-grid {
    grid-template-columns: 1fr;
  }
}

.multi-flavor-picker {
  margin-top: 14px;
  background: var(--gray-50, #f8fafc);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 14px 16px;
}

.multi-flavor-picker__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.multi-flavor-picker__title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-800, #1e293b);
}

.multi-flavor-picker__hint {
  font-size: 0.75rem;
  color: var(--gray-500, #64748b);
}

.multi-flavor-picker__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

.multi-flavor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--white, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 8px;
  padding: 6px 10px;
}

.multi-flavor-row__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700, #334155);
  white-space: nowrap;
}

.multi-flavor-row__select {
  flex: 1;
  max-width: 240px;
  padding: 6px 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--border, #cbd5e1);
  border-radius: 6px;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  outline: none;
}

.multi-flavor-row__select:focus {
  border-color: #000000;
}

/* -------------------------------------------------------
   OVERLAY: SKLEP ZAMKNIĘTY
------------------------------------------------------- */
.shop-closed-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.shop-closed-card {
  text-align: center;
  max-width: 420px;
  width: 100%;
}

.shop-closed-icon {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 24px;
}

.shop-closed-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.shop-closed-sub {
  font-size: 1rem;
  color: var(--gray-400);
  margin: 0 0 36px;
}

.shop-closed-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.shop-closed-countdown__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 72px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 12px 10px;
}

.shop-closed-countdown__num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.shop-closed-countdown__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}

.shop-closed-countdown__sep {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1;
}








