.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #050505;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.logo-text {
  font-size: 1.25rem;
  text-transform: uppercase;
}
.main-nav a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111;
}
.main-nav a:hover,
.main-nav .active {
  background: #0a0a0a;
  color: #fff;
}
.btn-primary,
.btn-outline,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.86rem 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.83rem;
}
.btn-primary {
  background: #0a0a0a;
  color: #fff !important;
}
.btn-outline,
.back-link {
  border: 1px solid #0a0a0a;
  color: #0a0a0a;
  background: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 1.35rem;
}
.eyebrow {
  display: inline-flex;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: #fff;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.9;
  margin: 12px 0;

  letter-spacing: -0.08em;
  text-transform: uppercase;
}
.hero p {
  max-width: 620px;
  color: var(--color-muted);
  font-size: 1.12rem;
  margin-bottom: 24px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-visual {
  min-height: 520px;
  border-radius: 36px;
  background: radial-gradient(circle at 78% 20%, #fff 0 16%, transparent 17%),
    linear-gradient(145deg, #0b0b0b, #202020);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.tshirt-mockup {
  position: absolute;
  left: 11%;
  bottom: -8%;
  width: 48%;
  aspect-ratio: 0.72;
  background: #111;
  border-radius: 42% 42% 14% 14% / 18% 18% 8% 8%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.tshirt-mockup:before,
.tshirt-mockup:after {
  content: "";
  position: absolute;
  top: 12%;
  width: 31%;
  height: 38%;
  background: #111;
  border-radius: 30px;
}
.tshirt-mockup:before {
  left: -20%;
  transform: rotate(18deg);
}
.tshirt-mockup:after {
  right: -20%;
  transform: rotate(-18deg);
}
.qr-print {
  position: absolute;
  top: 34%;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 110px;
  background: repeating-linear-gradient(90deg, #fff 0 8px, #111 8px 14px),
    repeating-linear-gradient(0deg, transparent 0 8px, #fff 8px 14px);
  background-blend-mode: difference;
  border: 10px solid #fff;
}
.phone-card {
  position: absolute;
  right: 10%;
  top: 19%;
  width: 240px;
  border-radius: 34px;
  background: #fff;
  color: #111;
  padding: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transform: rotate(4deg);
}
.phone-screen {
  border: 2px solid #111;
  border-radius: 24px;
  padding: 18px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.link-chip {
  border: 1px solid #111;
  border-radius: 999px;
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.float-badge {
  position: absolute;
  right: 14%;
  bottom: 13%;
  background: #fff;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 950;
  max-width: 260px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-transform: uppercase;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.category-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.2s;
}
.category-card:hover,
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}
.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.product-card {
  padding: 0;
  overflow: hidden;
  transition: 0.2s;
}
.product-media {
  min-height: 310px;
  background: linear-gradient(180deg, #ededed, #fff);
  display: grid;
  place-items: center;
  position: relative;
}
.product-media .mini-shirt {
  width: 150px;
  height: 190px;
  border-radius: 60px 60px 20px 20px;
  background: #111;
  position: relative;
}
.product-media.light .mini-shirt {
  background: #fff;
  border: 1px solid #ddd;
}
.product-media.grey .mini-shirt {
  background: #ddd;
}
.product-media .mini-shirt:before {
  content: "";
  position: absolute;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  background: #fff;
  border: 6px solid #111;
}
.product-body {
  padding: 18px;
}
.product-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}
.product-card h3 {
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}
.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 900;
}
.how-it-works {
  counter-reset: step;
}
.step {
  position: relative;
  padding-left: 58px;
}
.step:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}
input,
select,
textarea {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 0.9rem 1rem;
  background: #fff;
  min-width: 220px;
}
.product-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.detail-panel {
  position: sticky;
  top: 98px;
}
.qr-editor {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  background: #f5f5f3;
  border-radius: 20px;
}
.footer-grid h4 {
  color: #fff;
  margin-bottom: 10px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.tags li {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-weight: 800;
  font-size: 0.82rem;
}
@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }
  .hero-visual {
    min-height: 440px;
  }
  .phone-card {
    right: 4%;
    width: 190px;
  }
  .tshirt-mockup {
    left: 8%;
    width: 54%;
  }
  .product-details {
    grid-template-columns: 1fr;
  }
  .detail-panel {
    position: static;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-line);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
}

.header-content {
  min-height: 82px;
  display: flex;
  align-items: center;
  position: relative;
}

.main-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 550px;
}

/*καθορισμος των στοιχείων πλοήγησης αριστερά και δεξιά*/
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 0px;
}

.nav-right {
  padding-right: 150px;
}

.main-nav a {
  color: #111;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background: #0a0a0a;
  color: #fff;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1002;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #111;
  font-weight: 950;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: contain;
}

.logo-text {
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 5px;
}

.icon-link,
.cart-link {
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-link svg,
.cart-link svg {
  color: currentColor;
  stroke: currentColor;
  display: block;
}

.cart-link {
  position: absolute;
  right: 0;
  z-index: 1002;
  width: 44px;
  height: 44px;
  border-radius: 999px;
}

.cart-link:hover {
  background: #0a0a0a;
  color: #fff;
}

.cart-link:hover svg {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 1.35rem;
  z-index: 1002;
}

/* Mobile */
@media (max-width: 900px) {
  .header-content {
    min-height: 74px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .main-nav {
    display: none;
  }

  html.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 16px;
    border: 1px solid var(--color-line);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
  }

  .nav-left,
  .nav-right {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .main-nav a {
    text-align: center;
  }

  .nav-right .icon-link {
    display: none;
  }

  .logo-text {
    font-size: 21px;
    letter-spacing: 3px;
  }

  .logo-img {
    width: 34px;
    height: 34px;
  }
}

/*product details page*/

.product-page {
  padding: 42px 0 80px;
}

.product-details-card {
  display: grid;
  grid-template-columns: minmax(360px, 48%) minmax(360px, 1fr);
  gap: 56px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.product-gallery {
  width: 100%;
}

.product-main-image {
  width: 100%;
  min-height: 620px;
  background: #f3f3f1;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  position: sticky;
  top: 110px;
  max-width: 560px;
  padding: 10px 0;
}

.product-badge {
  display: inline-flex;
  width: fit-content;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.product-badge[hidden] {
  display: none !important;
}

.product-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product-thumbnail {
  width: 82px;
  height: 96px;
  flex: 0 0 auto;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  overflow: hidden;
  background: #f3f3f1;
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbnail.active {
  border: 2px solid #111;
}

.toast-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 3000;
  display: grid;
  gap: 10px;
}

.toast-message {
  max-width: 330px;
  background: #111;
  color: #fff;
  border-radius: 12px;
  padding: 13px 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  font-weight: 800;
  font-size: 0.88rem;
}

#productTitle {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-meta {
  color: var(--color-muted);
  margin-bottom: 12px;
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f5b400;
  font-size: 0.95rem;
  margin: 12px 0 18px;
  cursor: pointer;
}

.product-rating small {
  color: #444;
  text-decoration: underline;
}

.product-price {
  font-size: 1.55rem;
  font-weight: 950;
  margin-bottom: 2px;
}

.tax-note {
  color: var(--color-muted);
  font-size: 0.82rem;
  margin-bottom: 22px;
}

.product-accordion {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 16px 0;
  margin-bottom: 24px;
}

.product-accordion summary {
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.product-accordion p {
  margin-top: 14px;
  color: var(--color-muted);
}

.qr-box {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.qr-box label {
  font-weight: 900;
}

.qr-box input {
  width: 100%;
  min-width: 0;
  border-radius: 8px;
}

.qr-box small {
  color: var(--color-muted);
  font-size: 0.82rem;
}

.variant-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.variant-controls label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.variant-controls select {
  width: 100%;
  min-width: 0;
}

.stock-text {
  color: #129447;
  font-weight: 900;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.quantity-control {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.quantity-control span:first-child {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.quantity-box {
  width: 110px;
  height: 42px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.quantity-box button {
  font-weight: 900;
  font-size: 1.1rem;
}

.add-to-cart-btn {
  width: 100%;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.reviews-section,
.you-may-like {
  margin-top: 56px;
}

.reviews-section h2,
.you-may-like h2 {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.reviews-list {
  display: grid;
  gap: 16px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  padding: 18px;
}

.review-card strong {
  display: block;
  margin-bottom: 6px;
}

.review-stars {
  color: #f5b400;
  margin-bottom: 8px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.related-product-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: 0.2s;
}

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

.related-product-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #f3f3f1;
}

.related-product-body {
  padding: 16px;
}

.related-product-body h3 {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.related-product-body p {
  font-weight: 900;
}

.related-product-fallback {
  height: 230px;
  background: #f3f3f1;
}

@media (max-width: 900px) {
  .product-details-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-main-image {
    min-height: 420px;
  }

  .product-info {
    position: static;
    max-width: none;
  }

  .variant-controls {
    grid-template-columns: 1fr;
  }

  .related-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .related-products-grid {
    grid-template-columns: 1fr;
  }
}

.option-block {
  border-top: 1px solid var(--color-line);
  padding-top: 22px;
  margin-top: 22px;
}

.option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--color-muted);
}

.option-header strong {
  color: #111;
  font-weight: 500;
}

.size-chart-link {
  color: #009b3a;
  font-weight: 900;
  text-decoration: underline;
}

.option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-btn {
  min-width: 64px;
  height: 52px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  background: #f8f8f8;
  font-weight: 600;
}

.option-btn.active {
  border: 2px solid #111;
  background: #fff;
}

.option-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.color-dot {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #ccc;
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 28px;
}

.payment-icons span {
  font-size: 0.7rem;
  font-weight: 900;
  background: #f2f2f2;
  border-radius: 4px;
  padding: 4px 7px;
}

.trust-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f3f3f3;
  border-radius: 16px;
  padding: 20px;
}

.trust-card strong {
  display: block;
  font-weight: 900;
}

.trust-card p {
  color: var(--color-muted);
}

.trust-icon {
  font-size: 1.8rem;
}

.trust-card-wide {
  grid-column: 1 / -1;
}

@media (max-width: 700px) {
  .trust-section {
    grid-template-columns: 1fr;
  }

  .trust-card-wide {
    grid-column: auto;
  }
}

.option-btn {
  transition: 0.2s;
}

.option-btn.out-of-stock {
  background: #e5e5e5;
  color: #999;
  text-decoration: line-through;
  cursor: not-allowed;
}

.option-btn:hover:not(.out-of-stock) {
  background: #000;
  color: #fff;
}

.size-chart-link {
  color: #00c853;
  font-weight: 900;
  text-decoration: underline;
  transition: 0.2s;
}

.size-chart-link:hover {
  color: #000;
}

.variant-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}

/* Size row like screenshot */
.size-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Size buttons grid */
.option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-btn {
  min-width: 52px;
  height: 46px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  font-weight: 600;
}

.option-btn.active {
  border: 2px solid #111;
}

.option-btn.out {
  background: #f2f2f2;
  color: #aaa;
  text-decoration: line-through;
  pointer-events: none;
}

.delivery-info {
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111;
}

.size-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.size-stock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.stock-inline {
  font-weight: 700;
  color: #129447;
  min-width: 80px;
}

.option-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.option-btn {
  width: 52px;
  height: 44px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 10px;
  font-weight: 600;
}

.option-btn:hover:not(:disabled) {
  border-color: #000;
}

.option-btn.out {
  background: #eee;
  color: #aaa;
  text-decoration: line-through;
  cursor: not-allowed;
}

/*contact page*/

.contact-page {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
}

.contact-wrapper {
  width: 100%;
  max-width: 520px;
  text-align: center;
}

.contact-wrapper h1 {
  font-size: 3rem;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.contact-subtitle {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-email {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 30px;
}

.contact-email a {
  font-weight: 800;
  color: #000;
  text-decoration: underline;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 14px;
  font-size: 0.95rem;
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  margin-top: 10px;
  border-radius: 999px;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/*cart*/

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.cart-overlay.hidden,
.cart-drawer.hidden {
  display: none;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid #eee;
}

body.cart-open {
  overflow: hidden;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 2000;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(460px, 100vw);
  height: 100dvh;
  background: #fff;
  z-index: 2001;
  box-shadow: -18px 0 60px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
}

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

.cart-overlay.hidden,
.cart-drawer.hidden {
  display: none;
}

.cart-header {
  flex: 0 0 auto;
  height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-line);
}

.cart-header h2 {
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

#closeCart {
  width: 34px;
  height: 34px;
  background: #f3f3f3;
  border-radius: 4px;
  font-size: 1.1rem;
}

#cartDrawerContent {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 160px;
}

.cart-progress {
  padding: 22px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-line);
}

.cart-progress p {
  font-weight: 900;
  margin-bottom: 18px;
}

.cart-progress-track {
  height: 8px;
  background: #ededed;
  border-radius: 999px;
  overflow: hidden;
}

.cart-progress-fill {
  height: 100%;
  background: #111;
  border-radius: 999px;
}

.cart-progress-rewards {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cart-progress-rewards span {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 900;
}

.drawer-cart-list {
  display: grid;
  gap: 18px;
  padding: 24px 0;
}

.drawer-cart-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 14px;
  align-items: start;
}

.drawer-cart-item img {
  width: 92px;
  height: 112px;
  object-fit: cover;
  background: #f2f2f2;
}

.drawer-cart-info h3 {
  font-size: 0.95rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.drawer-cart-info p {
  font-size: 0.86rem;
  color: #333;
  margin-bottom: 4px;
  word-break: break-word;
}

.drawer-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: 7px;
  margin-top: 8px;
  overflow: hidden;
}

.drawer-qty button,
.drawer-qty span {
  width: 32px;
  height: 30px;
  display: grid;
  place-items: center;
}

.drawer-qty button {
  font-weight: 900;
}

.drawer-cart-price {
  display: grid;
  justify-items: end;
  gap: 42px;
}

.drawer-cart-price strong {
  white-space: nowrap;
}

.cart-remove {
  font-size: 1rem;
}

.cart-summary {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 18px 0;
}

.cart-summary > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  margin-bottom: 14px;
}

.cart-payment-icons {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.cart-payment-icons span {
  background: #f3f3f3;
  border-radius: 4px;
  padding: 5px 7px;
  font-size: 0.72rem;
  font-weight: 900;
}

.cart-cross-sell h3 {
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 25px;
}

.cart-cross-card {
  flex: 0 0 150px;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 8px;
}

.cart-cross-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #eee;
}

.cart-cross-card h4 {
  font-size: 0.78rem;
  line-height: 1.25;
  margin: 8px 0 4px;
}

.cart-cross-card p {
  font-weight: 900;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.cart-cross-card a {
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
  border-radius: 5px;
  padding: 8px;
  font-weight: 900;
}

.drawer-checkout {
  width: 100%;
  max-width: 320px; /* ✅ centered like image */

  border-radius: 10px;
  padding: 14px;

  font-size: 0.85rem;

  background: #111;
  color: #fff;

  margin-top: 6px; /* ✅ λίγο πιο κάτω */
} /* Better cart drawer UI */

.cart-header {
  height: 76px;
  padding: 0 28px;
}

.cart-header h2 {
  font-size: 1.85rem;
}

#cartDrawerContent {
  padding: 0 28px 96px;
}

/* 👇 μόνο όταν empty */
#cartDrawerContent.cart-empty-state {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.cart-progress {
  padding: 24px 8px 26px;
}

.cart-progress p {
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.cart-progress-track {
  position: relative;
  height: 7px;
  margin: 0 24px;
  background: #ececf0;
  border-radius: 999px;
  overflow: visible;
}

.cart-progress-fill {
  height: 7px;
  background: #17171d;
  border-radius: 999px;
}

.cart-progress-rewards {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0 14px;
  transform: translateY(-18px);
  pointer-events: none;
}

.cart-progress-rewards span {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #f0f0f4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  position: relative;
}

.cart-progress-rewards span small {
  position: absolute;
  top: 58px;
  width: 80px;
  text-align: center;
  font-size: 0.58rem;
  line-height: 1.15;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
}

.drawer-cart-list {
  padding-top: 26px;
}

.cart-summary {
  padding: 18px 0;
}

.cart-summary > div:first-child {
  margin-bottom: 0;
}

.cart-payment-icons {
  display: none !important;
}

/* Others also bought without visible scrollbar */
.cart-cross-sell {
  padding: 46px 0 46px;
}

.cart-cross-sell h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-cross-sell-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 50%; /* ✅ ΠΑΝΤΑ 2 items */
  gap: 12px;

  overflow-x: auto;
  scroll-snap-type: x mandatory; /* ✅ snap */
}

.cart-cross-sell-row::-webkit-scrollbar {
  display: none;
}

.cart-cross-card {
  scroll-snap-align: start;
  min-width: 0;
  flex: 0 0 48%; /* ✅ 2 items visible */
}

.cart-cross-card img {
  height: 150px;
}

.cart-cross-card a {
  height: 38px;
}

/* fake arrow buttons look */

.related-product-card {
  position: relative;
}

.related-product-image {
  position: relative;
}

.quick-add-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;

  width: 42px;
  height: 42px;

  border-radius: 50%;
  background: #111;
  color: #fff;

  font-size: 1.4rem;
  font-weight: 700;

  transition: 0.2s;
}

.quick-add-btn:hover {
  transform: scale(1.08);
}

.quick-add-btn.added {
  background: #00c853;
}

/* Quick add on related products */
.related-product-image {
  position: relative;
  height: 230px;
  background: #f3f3f1;
}

.related-product-image img,
.related-product-image .related-product-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-add-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: 0.2s;
}

.quick-add-btn {
  position: absolute;

  right: 14px;
  bottom: 14px; /* όχι μέσα στη φωτο */

  width: 42px;
  height: 42px;

  border-radius: 50%;
  background: #111;
  color: #fff;

  z-index: 5;
}
.related-product-card {
  position: relative;
}

.related-product-body {
  position: relative;
}

/* EMPTY CART */
.cart-empty {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 👈 LEFT όχι center */
  text-align: left; /* 👈 LEFT text */
}

.cart-empty {
  text-align: center;
  align-items: center;
}

.cart-empty h2 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.cart-empty .meta {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.cart-empty-btn {
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-size: 0.75rem;
}

/*cart slider */

/* ============================= */
/* CART PROGRESS (CUER STYLE) */
/* ============================= */

/* ============================= */
/* WRAPPER */
/* ============================= */

.cart-progress-new {
  padding: 20px 0 10px;
}

.cart-progress-new p {
  text-align: center;
  font-weight: 900;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* ============================= */
/* BAR */
/* ============================= */

.progress-bar {
  position: relative;
  z-index: 0;
  height: 6px;
  background: #e7e8ef;
  border-radius: 999px;
  margin: 40px 30px 60px;
}

/* progress fill */
.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #202027;
  border-radius: 999px;
  transition: width 0.35s ease;
  z-index: 1; /* ✅ πίσω από circles */
}

/* ============================= */
/* STEPS */
/* ============================= */

.progress-step {
  position: absolute;
  top: 0; /* ✅ ξεκινά από τη γραμμή */
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
}

/* ICON */
.progress-step .icon {
  position: relative;
  z-index: 6;
  top: -22px; /* ✅ ΤΟ ΜΑΓΙΚΟ OFFSET */
}

/* θέσεις */

.step-1,
.step-2 {
  transform: translateX(-50%); /* ✅ ίδιο alignment */
}

.step-1 {
  left: 50%;
}

/* ✅ σωστό position δεξιά */
.step-2 {
  left: calc(100% - 2px);
}

/* ============================= */
/* ICON */
/* ============================= */

.progress-step .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f1f1f5; /* default gray */
  color: #111;

  position: relative;
}

/* svg */
.progress-step .icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============================= */
/* STATES */
/* ============================= */

/* active (τρέχον) */
.progress-step.active .icon {
  background: #111;
  color: #fff;
}

/* done */
.progress-step.done .icon {
  background: #111;
  color: #fff;
}

/* ============================= */
/* TEXT κάτω από circles */
/* ============================= */

.progress-step span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: -12px;

  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.progress-step span small {
  font-size: 0.6rem;
  opacity: 0.7;
}

/* ============================= */
/* FIX RIGHT EDGE */
/* ============================= */

/* ============================= */
/* SMOOTH UI */
/* ============================= */

.progress-step .icon {
  transition: all 0.25s ease;
}

.progress-step .icon:hover {
  transform: scale(1.05);
}

.cart-remove svg {
  width: 27px;
  height: 27px;
}

.cart-remove {
  background: none;
  border: none;
  cursor: pointer;
}

.cross-header {
  margin-top: 35px;
  margin-bottom: 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* arrows */
.cross-arrows {
  display: flex;
  gap: 6px;
}

.cross-arrows button {
  width: 28px;
  height: 28px;
  border-radius: 50%;

  border: none;
  background: transparent;

  font-size: 16px;
  cursor: pointer;

  color: #111;
}

/* hover */
.cross-arrows button:hover {
  transform: scale(1.1);
}

.cross-arrows button {
  opacity: 0.6;
}

.cross-arrows button:hover {
  opacity: 1;
}

.cart-cross-card {
  cursor: pointer;
}

.cross-add {
  cursor: pointer;
  position: relative;
  z-index: 2; /* ✅ παίζει πάνω από card */
}

.cross-add {
  display: block; /* ✅ όπως το link */
  width: 100%;

  text-align: center;

  background: #000;
  color: #fff;

  border: none;
  border-radius: 5px;

  padding: 8px;
  font-weight: 900;

  cursor: pointer;
}

/* CONTAINER (grey background) */
.checkout-container {
  position: fixed; /* ✅ ΚΛΕΙΔΩΝΕΙ ΚΑΤΩ */
  bottom: 0;
  right: 0;

  width: min(460px, 100vw); /* ✅ ίδιο με cart drawer */

  background: #ece8e8;
  padding: 18px 18px 24px;

  display: flex;
  justify-content: center;

  z-index: 300; /* ✅ πάνω από content */

  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
}

.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CARD */
.auth-card {
  width: 100%;
  max-width: 420px;

  background: #fff;
  border-radius: 18px;
  padding: 32px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

/* TITLE */
.auth-card h1 {
  font-size: 1.9rem;
  margin-bottom: 6px;
}

.auth-sub {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 22px;
}

/* GOOGLE */

.auth-google img {
  width: 18px;
  height: 18px;
}
.auth-google {
  width: 100%;
  height: 44px;

  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-weight: 700;
  cursor: pointer;
}

/* DIVIDER */
.auth-divider {
  text-align: center;
  margin: 18px 0;
  color: #999;
  font-size: 0.8rem;
  position: relative;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #eee;
}

.auth-divider::before {
  left: 0;
}
.auth-divider::after {
  right: 0;
}

/* FORM */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-form input {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* BUTTON */
.auth-submit {
  margin-top: 6px;

  height: 44px;
  border-radius: 8px;

  background: #111;
  color: white;
  font-weight: 900;
}

/* STATUS */
.auth-status {
  font-size: 0.85rem;
  margin-top: 6px;
}

/* SWITCH */
.auth-switch {
  text-align: center;
  margin-top: 16px;
}

.account-menu {
  position: relative;
  display: inline-block;
}

.account-dropdown {
  position: absolute;
  top: 38px;
  right: 0;

  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;

  padding: 10px;
  min-width: 140px;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.account-dropdown.hidden {
  display: none;
}

.account-dropdown a,
.account-dropdown button {
  display: block;
  width: 100%;
  text-align: left;

  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
}

.account-btn {
  width: 44px;
  height: 44px;

  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: none;

  cursor: pointer;

  color: #111;
  transition: 0.2s;
}

.account-btn:hover {
  background: #0a0a0a;
  color: #fff;
}

.account-btn:active {
  transform: scale(0.95);
}

.account-btn.active {
  background: #0a0a0a;
  color: #fff;
}

/*checkout page*/
.checkout-page {
  padding: 80px 20px;
}

.checkout-page__container {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
}

/* LEFT */
.checkout-page__form {
  background: #fff;
  padding: 32px;
  border-radius: 18px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.checkout-page__section {
  margin-bottom: 28px;
}

.checkout-page__form input {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #eee;
  margin-bottom: 12px;

  transition: 0.2s;
}

.checkout-page__form input:focus {
  border-color: #111;
}

/* BUTTON */
.checkout-page__btn {
  margin-top: 15px;
  height: 54px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-weight: bold;

  transition: 0.2s;
}

.checkout-page__btn:hover {
  opacity: 0.9;
}

/* RIGHT */
.checkout-page__summary {
  background: #fafafa;
  padding: 28px;
  border-radius: 18px;
}

/* ITEM */
.checkout-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.checkout-item__image-wrapper {
  position: relative;
  width: 70px;
  height: 70px;

  border-radius: 16px;
  background: white;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.checkout-item__image-wrapper img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
}

.checkout-item__badge {
  position: absolute;
  top: -6px;
  right: -6px;

  width: 22px;
  height: 22px;

  background: black;
  color: white;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
}

/* INFO */
.checkout-item__info small {
  display: block;
  font-size: 11px;
  color: #666;
}

/* DISCOUNT */
.checkout-discount {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.checkout-discount input {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
}

/* LINES */
.checkout-line {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 14px;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;

  font-size: 20px;
  font-weight: bold;
}

.checkout-free-msg {
  margin-top: 8px;
  font-size: 12px;
  color: #777;
}

.hidden {
  display: none !important;
}

/*payment page*/
.payment-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #f6f7fb;
}

.payment-card {
  width: min(620px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}

.payment-icon {
  font-size: 64px;
  margin-bottom: 18px;
}

.payment-eyebrow {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #18a957;
}

.payment-copy {
  margin-top: 12px;
  color: #666;
}

.payment-summary {
  margin: 32px 0;
  border: 1px solid #eee;
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
}

.payment-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-bottom: 1px solid #eee;
}

.payment-summary-row:last-child {
  border-bottom: 0;
}

.payment-summary-row span {
  color: #777;
}

.payment-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.qr-dashboard-card {
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.qr-card-meta {
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.qr-dashboard-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin: 8px auto 12px;
}

.qr-dashboard-title {
  margin: 0;
  font-size: 18px;
}

.qr-scan-badge {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
}

.qr-edit-label {
  display: block;
  margin-top: 20px;
  margin-bottom: 6px;
  text-align: left;
  color: #6b7280;
  font-size: 13px;
}

.qr-edit-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.qr-edit-input {
  flex: 1;
  min-width: 0;
}





.checkout-page__btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 320px;
  height: 52px;

  margin-top: 24px;
  padding: 0 24px;

  background: #111;
  color: #fff;

  border: none;
  border-radius: 12px;

  font-size: 16px;
  font-weight: 600;

  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.checkout-page__btn:hover {
  background: #222;
}

.checkout-page__btn:active {
  transform: scale(0.98);
}

.checkout-page__btn:disabled {
  background: #999;
  cursor: not-allowed;
}