/* Rajtkomat Bootstrap 5.3 Dark Theme Overrides */

:root,
[data-bs-theme="dark"] {
  --bs-body-bg: #0a0a0a;
  --bs-body-color: #e0e0e0;
  --bs-secondary-bg: #1a1a1a;
  --bs-tertiary-bg: #1e1e1e;
  --bs-border-color: #2a2a2a;
  --bs-border-color-subtle: #333;

  /* Pink gradient palette — all UI colors derived from the Rajtkomat logo gradient */
  --rajtkomat-pink: #e44d76;
  --rajtkomat-pink-dark: #c73a5f;
  --rajtkomat-pink-light: #f05a85;
  --rajtkomat-50: #fce4ec;
  --rajtkomat-100: #f8bbd0;
  --rajtkomat-200: #f48fb1;
  --rajtkomat-300: #f06292;
  --rajtkomat-400: #e44d76;
  --rajtkomat-500: #c73a5f;
  --rajtkomat-600: #a52742;
  --rajtkomat-700: #7e1a32;
  --rajtkomat-800: #5a1225;
  --rajtkomat-900: #3a0a17;
  --rajtkomat-black: #0d0d0d;

  /* Semantic aliases using pink palette */
  --rajtkomat-success: var(--rajtkomat-400);
  --rajtkomat-success-dark: var(--rajtkomat-500);
  --rajtkomat-warning: var(--rajtkomat-300);
  --rajtkomat-warning-dark: var(--rajtkomat-400);
  --rajtkomat-danger: var(--rajtkomat-600);
  --rajtkomat-danger-light: var(--rajtkomat-500);
  --rajtkomat-info: var(--rajtkomat-400);
  --rajtkomat-info-dark: var(--rajtkomat-500);
}

/* Body — sticky footer layout */
html, body {
  height: 100%;
  margin: 0;
}
body {
  background: #0a0a0a;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(228,77,118,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(228,77,118,0.05) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main.container, .hero, .site-footer {
  flex-shrink: 0;
}
.site-footer {
  margin-top: auto;
}

/* Global link reset — no underlines */
a { text-decoration: none; }
a:hover { text-decoration: none; }

/* Forms — dark inputs matching Rajtkomat style */
.form-control,
.form-select {
  background-color: #1a1a1a;
  border-color: #333;
  color: #fff;
}
.form-control:focus,
.form-select:focus {
  background-color: #1a1a1a;
  border-color: var(--rajtkomat-pink);
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(228,77,118,0.25);
}
.form-control::placeholder { color: #888; }

/* Primary buttons — Rajtkomat pink gradient */
.btn-rajtkomat {
  background: linear-gradient(135deg, #e44d76, #c73a5f);
  color: #fff;
  border: none;
}
.btn-rajtkomat:hover {
  background: linear-gradient(135deg, #f05a85, #d44a6a);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(228,77,118,0.3);
  color: #fff;
}
.btn-rajtkomat:active { transform: translateY(0); }
.btn-rajtkomat:disabled {
  background: #333;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

/* Danger outline button */
.btn-outline-danger {
  border-color: #a52742;
  color: #a52742;
}
.btn-outline-danger:hover {
  background-color: #a52742;
  color: #fff;
}

/* Secondary dark button */
.btn-dark-outline {
  background: #2a2a2a;
  color: #ccc;
  border-color: #444;
}
.btn-dark-outline:hover {
  background: #333;
  color: #fff;
  border-color: #555;
}

/* Success button */
.btn-success-rajtkomat {
  background: linear-gradient(135deg, var(--rajtkomat-success), var(--rajtkomat-success-dark));
  color: #fff;
  border: none;
}
.btn-success-rajtkomat:hover {
  background: linear-gradient(135deg, #f06292, var(--rajtkomat-success));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(228,77,118,0.3);
  color: #fff;
}

/* Warning button */
.btn-warning-rajtkomat {
  background: linear-gradient(135deg, var(--rajtkomat-warning), var(--rajtkomat-warning-dark));
  color: #000;
  border: none;
  font-weight: 600;
}
.btn-warning-rajtkomat:hover {
  background: linear-gradient(135deg, #f8bbd0, var(--rajtkomat-warning));
  transform: translateY(-1px);
  color: #000;
}

/* Danger button */
.btn-danger-rajtkomat {
  background: linear-gradient(135deg, var(--rajtkomat-danger-light), var(--rajtkomat-danger));
  color: #fff;
  border: none;
}
.btn-danger-rajtkomat:hover {
  background: linear-gradient(135deg, #c73a5f, #a52742);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(167,39,66,0.3);
  color: #fff;
}

/* Info button */
.btn-info-rajtkomat {
  background: linear-gradient(135deg, var(--rajtkomat-info), var(--rajtkomat-info-dark));
  color: #fff;
  border: none;
}
.btn-info-rajtkomat:hover {
  background: linear-gradient(135deg, #f06292, var(--rajtkomat-info));
  transform: translateY(-1px);
  color: #fff;
}

/* Button alignment — consistent sizing */
.btn {
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-sm {
  font-size: 0.82rem;
  padding: 0.3rem 0.7rem;
}
.btn-lg {
  font-size: 1.1rem;
  padding: 0.75rem 2rem;
}
.btn-remove {
  background: linear-gradient(135deg, #a52742, #7e1a32);
  color: #fff;
  border: none;
}
.btn-remove:hover {
  background: linear-gradient(135deg, #c73a5f, #a52742);
  color: #fff;
}

/* Cards — dark Rajtkomat style */
.card {
  background: linear-gradient(180deg, #1e1e1e, #161616);
  border-color: #2a2a2a;
}
.card:hover {
  border-color: #3a2a30;
  box-shadow: 0 8px 25px rgba(228,77,118,0.15);
}

/* Tables — dark style */
.table-dark {
  --bs-table-bg: #111;
  --bs-table-border-color: #2a2a2a;
  --bs-table-striped-bg: #1a1a1a;
  --bs-table-hover-bg: rgba(228,77,118,0.05);
  --bs-table-color: #e0e0e0;
}
.table-dark th { color: var(--rajtkomat-pink); }

/* Nav pills — category navigation */
.nav-pills .nav-link {
  color: #ccc;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}
.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
  background: linear-gradient(135deg, #e44d76, #c73a5f);
  color: #fff;
  border-color: transparent;
}

/* Status badges */
.badge-status-pending { background: #f48fb1; color: #000; }
.badge-status-paid { background: #e44d76; color: #fff; }
.badge-status-shipped { background: #e44d76; color: #fff; }
.badge-status-completed { background: #e44d76; color: #fff; }
.badge-status-cancelled,
.badge-status-expired { background: #a52742; color: #fff; }
.badge-status-pending_approval { background: #f48fb1; color: #000; }
.badge-status-approved { background: #e44d76; color: #fff; }
.badge-status-rejected { background: #a52742; color: #fff; }

/* List group — dark */
.list-group-item {
  background: linear-gradient(180deg, #1e1e1e, #181818);
  border-color: #2a2a2a;
  color: #e0e0e0;
}
.list-group-item:hover { background: #222; }

/* Custom: Rajtkomat navbar */
.rajtkomat-navbar {
  background: linear-gradient(180deg, #1a1018, #111);
  border-bottom: 1px solid #2a1a22;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.6rem 1rem;
}
.rajtkomat-navbar .navbar-brand {
  color: #e44d76;
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.rajtkomat-navbar .navbar-brand img {
  height: 32px;
  width: auto;
}
.rajtkomat-navbar .navbar-brand:hover {
  color: #f05a85;
}
.nav-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: center;
  overflow-x: auto;
}
@media (max-width: 575px) {
  .nav-badges {
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .nav-badge {
    font-size: 0.78rem;
    padding: 0.3rem 0.65rem;
  }
}

/* Nav badges — pill-style nav links */
.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.9rem;
  background: #1a1a1a;
  color: #ccc;
  text-decoration: none;
  border-radius: 20px;
  border: 1px solid #333;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-badge:hover {
  background: linear-gradient(135deg, #e44d76, #c73a5f);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}
.nav-badge.active {
  background: linear-gradient(135deg, #e44d76, #c73a5f);
  color: #fff;
  border-color: transparent;
}
.nav-badge .badge-count {
  background: #e44d76;
  color: #fff;
  font-size: 0.72rem;
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.2;
}
.nav-badge-danger {
  color: #a52742;
}
.nav-badge-danger:hover {
  border-color: #a52742;
  background: rgba(167,39,66,0.15);
  color: #c73a5f;
}

/* Custom: Hurry badge animation */
.hurry-badge {
  background: linear-gradient(135deg, #e44d76, #f06292);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.3rem 0.75rem;
  text-align: center;
  animation: hurry-pulse 1.5s ease-in-out infinite;
}
@keyframes hurry-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Custom: Cart lock borders */
.cart-item-safe { border-left: 4px solid #e44d76; box-shadow: inset 3px 0 12px -4px rgba(228,77,118,0.3); }
.cart-item-warning { border-left: 4px solid #f48fb1; box-shadow: inset 3px 0 12px -4px rgba(248,191,208,0.3); animation: pulse-warning 2s ease-in-out infinite; }
.cart-item-critical { border-left: 4px solid #c73a5f; box-shadow: inset 3px 0 12px -4px rgba(199,58,95,0.3); animation: pulse-critical 1s ease-in-out infinite; }
.cart-item-expired { border-left: 4px solid #555; opacity: 0.7; }

@keyframes pulse-warning {
  0%, 100% { border-left-color: #f48fb1; box-shadow: inset 3px 0 12px -4px rgba(248,191,208,0.3); }
  50% { border-left-color: #e44d76; box-shadow: inset 3px 0 20px -2px rgba(248,191,208,0.5); }
}
@keyframes pulse-critical {
  0%, 100% { border-left-color: #c73a5f; box-shadow: inset 3px 0 12px -4px rgba(199,58,95,0.3); }
  50% { border-left-color: #a52742; box-shadow: inset 3px 0 24px -2px rgba(199,58,95,0.6); }
}

/* Custom: Lock labels */
.lock-active { color: #e44d76; background: rgba(228,77,118,0.15); }
.cart-item-critical .lock-active { color: #c73a5f; background: rgba(199,58,95,0.15); }
.cart-item-warning .lock-active { color: #f48fb1; background: rgba(248,191,208,0.15); }
.lock-expired { color: #888; background: rgba(136,136,136,0.1); animation: blink-expired 2s ease-in-out infinite; }
@keyframes blink-expired {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Custom: Expired cart banner */
.cart-expired-banner {
  background: linear-gradient(135deg, #2a1a1a, #1a1010);
  border: 1px solid #c73a5f;
  border-left: 4px solid #c73a5f;
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: pulse-critical 2s ease-in-out infinite;
}

/* Custom: Age gate */
#age-gate-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
}
#age-gate-box {
  background: linear-gradient(180deg, #1e1e1e, #151515);
  padding: 2.5rem; border-radius: 12px; text-align: center; max-width: 400px;
  border: 1px solid #2a1a22;
  box-shadow: 0 0 60px rgba(228,77,118,0.1);
}
#age-gate-box h1 { color: #e44d76; margin-bottom: 1rem; }
#age-gate-box p { margin-bottom: 1rem; }

/* Custom: Product card */
.product-card {
  background: linear-gradient(180deg, #1e1e1e, #161616);
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(228,77,118,0.15);
  border-color: #3a2a30;
}
.product-card-img { height: 250px; overflow: hidden; background: #111; display: flex; align-items: center; justify-content: center; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-card-img img { transform: scale(1.03); }
.seller-card-img { height: 380px; overflow: hidden; background: #111; display: flex; align-items: center; justify-content: center; border-radius: 8px 8px 0 0; }
.seller-card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s; background: #1a1a1a; }
.product-card:hover .seller-card-img img { transform: scale(1.03); }
.no-img { color: #555; font-size: 0.9rem; }
.product-card-body { padding: 1rem 1rem 1rem; }
.product-card h3 { font-size: 1rem; margin-bottom: 0.5rem; text-decoration: none; }
.product-card, .product-card:hover, .product-card:visited, .product-card:focus { text-decoration: none; }
.seller-name { color: #888; font-size: 0.82rem; margin-bottom: 0.4rem; }
.product-tags { margin-bottom: 0.5rem; }
.product-tag { display: inline-block; padding: 0.15rem 0.5rem; background: #1a1a1a; color: #aaa; border: 1px solid #333; border-radius: 10px; font-size: 0.75rem; margin-right: 0.3rem; }
.product-price { margin-top: 0.3rem; }
.price-current { color: #e44d76; font-weight: bold; }
.price-old { color: #666; text-decoration: line-through; font-size: 0.85rem; margin-left: 0.5rem; }

/* Custom: Hurry banner */
.hurry-banner {
  background: linear-gradient(135deg, #e44d76, #f06292);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: hurry-pulse 1.5s ease-in-out infinite;
}
.hurry-icon { font-size: 1.3rem; }
.hurry-timer {
  background: rgba(0,0,0,0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9rem;
  margin-left: auto;
}

/* Custom: Shimmer animation on hero */
.hero h1 span {
  background: linear-gradient(135deg, #e44d76, #f78da7, #e44d76);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Custom: Account tabs */
.account-tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; border-bottom: 2px solid #2a2a2a; }
.account-tab {
  padding: 0.75rem 1.5rem; background: transparent; border: none; color: #aaa;
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; font-size: 0.95rem;
  transition: color 0.2s;
}
.account-tab:hover { color: #e44d76; }
.account-tab.active { color: #e44d76; border-bottom-color: #e44d76; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Custom: Qty input */
.qty-input { width: 60px; padding: 0.5rem; background: #111; color: #fff; border: 1px solid #333; border-radius: 4px; text-align: center; }

/* Custom: Notice messages */
.notice-ok { color: #e44d76; margin-bottom: 1rem; }
.notice-err { color: #a52742; margin-bottom: 1rem; }

/* Custom: Footer */
.site-footer {
  margin-top: auto;
  padding: 1.5rem;
  text-align: center;
  color: #555;
  font-size: 0.82rem;
  border-top: 1px solid #1a1a1a;
  background: linear-gradient(180deg, transparent, rgba(228,77,118,0.03));
}
.site-footer a { color: #888; text-decoration: none; }
.site-footer a:hover { color: var(--rajtkomat-pink); }
.footer-company { margin-top: 0.5rem; color: #444; font-size: 0.78rem; }
.footer-newsletter { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid #1a1a1a; }
.footer-newsletter input { max-width: 250px; display: inline-block; background: #1a1a1a; border-color: #333; color: #fff; font-size: 0.82rem; padding: 0.3rem 0.5rem; }
.footer-newsletter .btn { font-size: 0.78rem; padding: 0.3rem 0.75rem; }

/* Cookie consent banner */
#cookie-consent-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99998;
  background: linear-gradient(180deg, #1e1e1e, #151515);
  border-top: 2px solid var(--rajtkomat-pink);
  padding: 1rem 0;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
}
.cookie-consent-content {
  max-width: 900px; margin: 0 auto; padding: 0 1rem;
}
.cookie-consent-text p { margin: 0.3rem 0 0.75rem; font-size: 0.88rem; color: #bbb; }
.cookie-consent-text a { color: var(--rajtkomat-pink); }
.cookie-consent-options {
  display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 0.75rem;
}
.cookie-consent-options .form-check {
  display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: #bbb;
}
.cookie-consent-options .form-check input[type="checkbox"] {
  accent-color: var(--rajtkomat-pink);
}
.cookie-consent-buttons {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.cookie-consent-buttons .btn { font-size: 0.85rem; }

/* Custom: Upload dropzone */
.upload-dropzone {
  border: 2px dashed #444;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}
.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--rajtkomat-pink);
  background: rgba(228,77,118,0.05);
}
.upload-dropzone.uploading {
  border-color: #f48fb1;
  background: rgba(248,191,208,0.05);
}
.upload-dropzone .drop-icon { font-size: 2rem; color: #666; }
.upload-dropzone .drop-text { color: #888; margin-top: 0.5rem; }
.upload-dropzone .drop-hint { color: #555; font-size: 0.8rem; margin-top: 0.25rem; }

/* Upload progress */
.upload-progress {
  height: 4px;
  background: #333;
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}
.upload-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #e44d76, #f05a85);
  border-radius: 2px;
  transition: width 0.3s;
}

/* Admin sidebar layout on larger screens */
@media (min-width: 992px) {
  .admin-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: calc(100vh - 60px);
  }
  .admin-sidebar {
    background: #111;
    border-right: 1px solid #2a2a2a;
    padding: 1rem 0;
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .admin-sidebar .nav-link {
    color: #aaa;
    padding: 0.6rem 1.25rem;
    border-radius: 0;
    transition: background 0.15s, color 0.15s;
  }
  .admin-sidebar .nav-link:hover,
  .admin-sidebar .nav-link.active {
    color: #fff;
    background: rgba(228,77,118,0.15);
    border-left: 3px solid var(--rajtkomat-pink);
  }
  .admin-content { padding: 1.5rem 2rem; }
}

@media (max-width: 991px) {
  .admin-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.75rem;
    background: #111;
    border-bottom: 1px solid #2a2a2a;
  }
  .admin-sidebar .nav-link {
    color: #aaa;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
  }
  .admin-sidebar .nav-link:hover,
  .admin-sidebar .nav-link.active {
    color: #fff;
    background: rgba(228,77,118,0.2);
  }
  .admin-content { padding: 1rem; }
}

/* Product detail grid */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
@media (max-width: 767px) {
  .product-detail { grid-template-columns: 1fr; }
}
.product-images img { width: 100%; border-radius: 10px; margin-bottom: 1rem; border: 1px solid #2a2a2a; }
.product-images video { width: 100%; border-radius: 10px; margin-bottom: 1rem; max-height: 400px; }

/* Product gallery */
.product-gallery { margin-bottom: 1rem; }
.product-gallery-hero { position: relative; cursor: pointer; }
.product-gallery-hero img { width: 100%; border-radius: 10px; border: 1px solid #2a2a2a; transition: border-color 0.2s; }
.product-gallery-hero img:hover { border-color: #e44d76; }
.product-gallery-thumbs { display: flex; gap: 0.5rem; margin-top: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem; }
.product-gallery-thumb { flex: 0 0 70px; height: 70px; cursor: pointer; border-radius: 6px; border: 2px solid #2a2a2a; overflow: hidden; transition: border-color 0.2s; }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumb.active { border-color: #e44d76; }
.product-gallery-thumb:hover { border-color: #f05a85; }

/* Image lightbox */
.image-lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 9999; align-items: center; justify-content: center; }
.image-lightbox.active { display: flex; }
.image-lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: absolute; top: 1rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; z-index: 10001; }
.lightbox-close:hover { color: #e44d76; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); border: 1px solid #444; color: #fff; font-size: 1.5rem; padding: 0.5rem 1rem; cursor: pointer; border-radius: 4px; z-index: 10001; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(228,77,118,0.5); border-color: #e44d76; }
.product-info h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.product-info .category { color: #888; margin-bottom: 1rem; }
.product-info .description { margin: 1rem 0; line-height: 1.6; }

/* Product buy box under gallery */
.product-buy-box {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}
.product-buy-box .stock { margin: 0 0 0.5rem; font-weight: 500; }
.product-buy-box .delivery-info { margin: 0 0 1rem; font-size: 0.88rem; }
.btn-add-to-cart { display: block; margin: 0 auto; max-width: 260px; width: 100%; }

/* Product price block */
.product-price-block { margin: 0.75rem 0; }
.price-current { font-size: 1.5rem; color: #e44d76; font-weight: bold; }
.price-old { color: #666; text-decoration: line-through; margin-left: 0.5rem; font-size: 1rem; }

/* Seller card inside product-info (66% img / 33% info) */
.seller-card-inline {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
.seller-card-inline:hover { border-color: #e44d76; }
.seller-card-inline-img { flex: 0 0 66%; border-radius: 6px; overflow: hidden; }
.seller-card-inline-img img { width: 100%; display: block; border-radius: 6px; }
.seller-card-inline-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.product-seller-name { color: #e44d76; font-weight: 600; font-size: 1rem; margin-bottom: 0.5rem; }
.product-seller-bio { color: #ccc; line-height: 1.5; font-size: 0.88rem; }
.seller-msg-link { color: #888; font-size: 0.85rem; text-decoration: none; margin-top: 0.5rem; display: inline-block; }
.seller-msg-link:hover { color: #e44d76; }
@media (max-width: 767px) {
  .seller-card-inline { flex-direction: column; }
  .seller-card-inline-img { flex: none; }
}
.seller-no-img {
  width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  background: #2a2a2a; color: #888; font-size: 2rem; border-radius: 6px;
}

/* Back link */
.back-link { color: #888; text-decoration: none; transition: color 0.2s; margin-bottom: 1rem; display: inline-block; }
.back-link:hover { color: #e44d76; }

/* Filter chips */
.filter-chip {
  display: inline-block; padding: 0.25rem 0.6rem; background: #1a1a1a; color: #aaa;
  border: 1px solid #333; border-radius: 12px; font-size: 0.8rem; cursor: pointer;
  transition: all 0.15s; user-select: none;
}
.filter-chip:hover, .filter-chip.active {
  background: rgba(228,77,118,0.15); color: #e44d76; border-color: #e44d76;
}

/* Active filter tags */
.active-filter-tag {
  display: inline-block; padding: 0.2rem 0.5rem; background: rgba(228,77,118,0.15);
  color: #e44d76; border-radius: 12px; font-size: 0.8rem; cursor: pointer; margin: 0 0.2rem;
}
.active-filter-tag:hover { background: rgba(228,77,118,0.3); }

/* Review stars */
.review-stars { color: #f48fb1; letter-spacing: 2px; }
.review-stars .empty { color: #444; }

/* Stock notification form */
.stock-notify-form { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 6px; padding: 0.75rem; }

/* Newsletter bar */
.newsletter-bar {
  background: linear-gradient(180deg, #1a1018, #111);
  border-top: 1px solid #2a1a22; padding: 1.5rem; text-align: center;
}
.newsletter-bar input { max-width: 300px; display: inline-block; }

/* Chat messages */
.chat-container { display: flex; flex-direction: column; gap: 0.75rem; max-height: 60vh; overflow-y: auto; padding: 1rem; background: #111; border-radius: 8px; border: 1px solid #2a2a2a; }
.chat-msg { max-width: 75%; padding: 0.75rem 1rem; border-radius: 12px; word-break: break-word; }
.chat-msg-sent { align-self: flex-end; background: linear-gradient(135deg, #e44d76, #c73a5f); color: #fff; border-bottom-right-radius: 2px; }
.chat-msg-received { align-self: flex-start; background: #1e1e1e; border: 1px solid #2a2a2a; border-bottom-left-radius: 2px; }
.chat-msg-meta { font-size: 0.75rem; color: #888; margin-top: 0.25rem; }
.chat-msg-sent .chat-msg-meta { color: rgba(255,255,255,0.7); }
.chat-attachment img { max-width: 200px; border-radius: 6px; margin-top: 0.5rem; cursor: pointer; }
.chat-attachment video { max-width: 250px; border-radius: 6px; margin-top: 0.5rem; }
.chat-input-bar { display: flex; gap: 0.5rem; padding: 1rem 0; align-items: flex-end; }
.chat-input-bar textarea { flex: 1; min-height: 44px; max-height: 120px; resize: vertical; }

/* Blocked notice */
.blocked-notice { background: #1a1a1a; border: 1px solid #a52742; border-left: 4px solid #a52742; padding: 0.75rem; border-radius: 6px; color: #a52742; }

/* Condition badges */
.condition-used { background: #f48fb1; color: #000; padding: 0.15rem 0.5rem; border-radius: 10px; font-size: 0.75rem; display: inline-block; }
.condition-new { background: #e44d76; color: #fff; padding: 0.15rem 0.5rem; border-radius: 10px; font-size: 0.75rem; display: inline-block; }

/* Seller page layout — image + products left, info + reviews right */
.seller-layout {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}
.seller-layout-left {
  flex: 0 0 66%;
  min-width: 0;
}
.seller-layout-right {
  flex: 0 0 34%;
  min-width: 0;
}
@media (max-width: 767px) {
  .seller-layout {
    flex-direction: column;
  }
  .seller-layout-left,
  .seller-layout-right {
    flex: none;
    width: 100%;
  }
}

/* Seller photo (left column) */
.seller-photo {
  width: 100%;
  max-height: 600px;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2a2a2a;
}
.seller-photo img {
  width: 100%;
  max-height: 600px;
  object-fit: contain;
  display: block;
}
.seller-no-img { color: #555; font-size: 0.9rem; }

/* Seller info card (right column) */
.seller-name-large {
  color: #e44d76;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.seller-bio-text {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}
.seller-meta-tags { margin-bottom: 1rem; }
.seller-meta-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: #1a1a1a;
  color: #aaa;
  border: 1px solid #333;
  border-radius: 10px;
  font-size: 0.8rem;
  margin-right: 0.3rem;
}
.seller-actions { margin-top: 0.5rem; }

/* Seller reviews */
.seller-reviews-summary {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #ccc;
}
.seller-review-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.seller-review-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}
.seller-review-name {
  color: #e44d76;
  font-weight: 600;
  font-size: 0.88rem;
}
.seller-review-date {
  color: #666;
  font-size: 0.78rem;
}
.seller-review-comment {
  color: #bbb;
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}

/* Seller section titles */
.seller-section-title {
  color: #e44d76;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Seller gallery grid */
.seller-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.seller-gallery-item {
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.seller-gallery-item:hover {
  transform: scale(1.03);
  border-color: var(--rajtkomat-400, #e44d76);
}
.seller-gallery-item img {
  width: 120px;
  height: 210px;
  object-fit: contain;
  display: block;
  background: #1a1a1a;
}

/* Products grid (shared shop + seller) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1199px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }

/* Seller name link in product cards */
.seller-name {
  color: #888 !important;
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.15s;
  cursor: pointer;
}
.seller-name:hover {
  color: #e44d76 !important;
  text-decoration: underline;
}

/* Seller card inline (on product page) */
.seller-card-inline {
  display: flex;
  gap: 1rem;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}
.seller-card-inline-img {
  flex: 0 0 50%;
  max-width: 50%;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seller-card-inline-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.seller-card-inline-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 575px) {
  .seller-card-inline {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .seller-card-inline-img {
    flex: none;
    max-width: 100%;
    width: 100%;
    height: 200px;
  }
}

/* Responsive seller layout */
@media (max-width: 767px) {
  .seller-photo {
    max-height: 400px;
  }
  .seller-photo img {
    max-height: 400px;
  }
  .seller-name-large {
    font-size: 1.4rem;
  }
}

/* Homepage sections */
.home-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.home-section-title {
  font-size: 1.5rem;
  color: var(--rajtkomat-400);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rajtkomat-700);
}

.home-sellers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
@media (max-width: 991px) { .home-sellers-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 575px) { .home-sellers-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; } }

.home-seller-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #e0e0e0;
  padding: 1rem;
  border-radius: 12px;
  background: #141414;
  border: 1px solid #222;
  transition: transform 0.2s, border-color 0.2s;
}
@media (max-width: 575px) { .home-seller-card { padding: 0.5rem; } }

.home-seller-card:hover {
  transform: translateY(-3px);
  border-color: var(--rajtkomat-400);
}

.home-seller-img {
  width: 100px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.6rem;
  border: 2px solid var(--rajtkomat-600);
}
@media (max-width: 575px) { .home-seller-img { width: 100%; height: 140px; border-radius: 12px; margin-bottom: 0.4rem; } }

.home-seller-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.home-seller-name {
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}
@media (max-width: 575px) { .home-seller-name { font-size: 0.85rem; } }

.home-seller-bio {
  font-size: 0.8rem;
  color: #999;
  text-align: center;
  margin-top: 0.3rem;
}
@media (max-width: 575px) { .home-seller-bio { display: none; } }

.home-section .no-img {
  width: 100px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  border-radius: 16px;
  color: #666;
  font-size: 2rem;
}
@media (max-width: 575px) { .home-section .no-img { width: 100%; height: 140px; border-radius: 12px; } }