/*
Theme Name: JaWoo
Theme URI: https://jahoo.gr
Author: Tassos S. Manolis
Author URI: https://jahoo.gr
Description: Custom WordPress theme for JaWoo VR e-commerce
Version: 0.2.4
Text Domain: jawoo
*/

/* ===== CSS VARIABLES - DARK MODE (default) ===== */
:root,
[data-theme="dark"] {
  --bg:           #0d0d1a;
  --bg-2:         #111120;
  --bg-3:         #1a1a2e;
  --bg-card:      #16162a;
  --border:       rgba(255,255,255,0.08);
  --text:         #ffffff;
  --text-muted:   #8888aa;
  --text-soft:    #ccccdd;
  --accent:       #f5c518;
  --blue:         #4f46e5;
  --blue-hover:   #6366f1;
  --red:          #ef4444;
  --shadow:       0 4px 24px rgba(0,0,0,0.4);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.3);
  --radius:       12px;
  --radius-sm:    10px;
  --font:         'Inter', sans-serif;
}

/* ===== LIGHT MODE ===== */
[data-theme="light"] {
  --bg:           #f4f4f8;
  --bg-2:         #ffffff;
  --bg-3:         #eaeaf2;
  --bg-card:      #ffffff;
  --border:       rgba(0,0,0,0.1);
  --text:         #111120;
  --text-muted:   #666680;
  --text-soft:    #333344;
  --shadow:       0 4px 24px rgba(0,0,0,0.1);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

/* ===== DARK MODE LINKS ===== */
/* Inline links σε dark mode — κίτρινα */
[data-theme="dark"] .page-content a,
[data-theme="dark"] .sp-desc-body a,
[data-theme="dark"] .woocommerce-MyAccount-content a,
[data-theme="dark"] .woocommerce-checkout .woocommerce-privacy-policy-text a,
[data-theme="dark"] .footer-copy a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
[data-theme="dark"] .page-content a:hover,
[data-theme="dark"] .sp-desc-body a:hover,
[data-theme="dark"] .woocommerce-MyAccount-content a:hover,
[data-theme="dark"] .footer-copy a:hover { opacity: 0.75; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: var(--font); }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, background 0.2s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-white  { background: #fff; color: #111120; }
.btn-blue   { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); opacity: 1; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { background: var(--bg-3); opacity: 1; }
.btn-accent { background: var(--accent); color: #111; }

/* ===== HEADER ===== */
.site-header {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.primary-nav { flex: 1; }
.nav-menu { list-style: none; display: flex; gap: 4px; }
.nav-menu a {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a {
  color: var(--text);
  background: var(--bg-3);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Theme toggle */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.theme-toggle:hover { background: var(--bg-3); color: var(--text); }

/* Cart button */
.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text);
  background: transparent;
  transition: background 0.2s;
  position: relative;
}
.cart-btn:hover { background: var(--bg-3); }
.cart-count {
  background: var(--accent);
  color: #111;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 540px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-3);
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,25,0.92) 0%,
    rgba(10,10,25,0.5) 55%,
    rgba(10,10,25,0.05) 100%
  );
}
.hero-content { position: relative; z-index: 1; max-width: 720px; margin-left: 80px; }
.hero-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 14px;
}
.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 30px;
  max-width: 460px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-price-badge {
  position: absolute;
  bottom: 64px; right: 48px;
  background: rgba(15,15,35,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  z-index: 1;
  box-shadow: var(--shadow);
  min-width: 160px;
}
.price-label {
  display: block;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
/* Τιμή sale (διαγραμμένη) — κίτρινη με γραμμή */
.price-value del {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent) !important;
  text-decoration: line-through !important;
  text-decoration-color: var(--accent) !important;
  margin-bottom: 4px;
  opacity: 0.85;
}
.price-value del .woocommerce-Price-amount,
.price-value del bdi {
  color: var(--accent) !important;
}
/* Κανονική / τελική τιμή */
.price-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #22c55e;
  line-height: 1.1;
}
/* ins = νέα τιμή sale — πράσινη χωρίς γραμμή */
.price-value ins {
  text-decoration: none !important;
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #22c55e !important;
  line-height: 1.1;
}
.price-value ins .woocommerce-Price-amount,
.price-value ins bdi { color: #22c55e !important; }

/* ===== HERO NAV ARROWS ===== */
.hero-slider-wrap { position: relative; }

.hero-nav-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  cursor: pointer;
}
.hero-nav-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(79,70,229,0.5);
}
.hero-nav-btn:active { transform: translateY(-50%) scale(0.96); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

.hero-footer {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 200px;
}
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer;
  transition: background 0.3s, width 0.3s;
  padding: 0;
}
.hero-dot.active { background: #fff; width: 24px; border-radius: 4px; }
.hero-progress-wrap {
  width: 100%; height: 2px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px; overflow: hidden;
}
.hero-progress-bar {
  height: 100%; width: 0%;
  background: #fff;
  border-radius: 2px;
  transition: width linear;
}

.products-slider-section {
  padding: 60px 0;
  background: var(--bg);
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}
.section-title span { color: var(--accent); }
.section-link {
  font-size: 0.875rem;
  color: var(--blue);
  display: flex; align-items: center; gap: 4px;
  transition: gap 0.2s;
}
.section-link:hover { gap: 8px; }

/* Swiper overrides */
.swiper { overflow: visible; }
.swiper-wrapper { align-items: stretch; }

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-3);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
}
.product-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-card-title {
  font-size: 0.95rem; font-weight: 600;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-price { font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-top: auto; }
.product-card-price del { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; margin-left: 6px; }
.product-card-footer { padding: 0 16px 16px; }
.product-card-footer .btn { width: 100%; justify-content: center; }
.product-card-footer form { width: 100%; }
.product-card-footer form .btn { width: 100%; justify-content: center; }

/* Swiper nav */
.swiper-nav { display: flex; gap: 8px; }
.swiper-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: var(--shadow-sm);
}
.swiper-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(79,70,229,0.4);
}
.swiper-btn:active { transform: scale(0.96); }
.swiper-btn svg { pointer-events: none; stroke-width: 2.5; }
.swiper-btn.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Autoplay progress bar */
.swiper-progress-wrap {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 24px;
  overflow: hidden;
}
.swiper-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--blue);
  border-radius: 2px;
  transition: width linear;
}

/* ===== WOOCOMMERCE OVERRIDES ===== */
.woocommerce,
.woocommerce-page { color: var(--text); }

/* Shop grid */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0; margin: 0;
}
.woocommerce ul.products li.product {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.95rem !important; font-weight: 600 !important;
  color: var(--text) !important; padding: 12px 16px 4px !important;
}
.woocommerce ul.products li.product .price {
  color: var(--accent) !important; font-weight: 700 !important;
  padding: 0 16px 12px !important; display: block;
}
.woocommerce ul.products li.product .button {
  margin: 0 16px 16px !important; width: calc(100% - 32px) !important;
  background: var(--blue) !important; color: #fff !important;
  border-radius: var(--radius-sm) !important; border: none !important;
  padding: 10px !important; font-weight: 600 !important; transition: background 0.2s !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--blue-hover) !important; }

/* WC buttons global */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--blue) !important; color: #fff !important;
  border-radius: var(--radius-sm) !important; border: none !important;
  padding: 12px 24px !important; font-weight: 600 !important;
  font-size: 0.95rem !important; transition: background 0.2s !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--blue-hover) !important; }

/* Cart & Checkout tables */
.woocommerce table.shop_table {
  border-collapse: collapse; width: 100%;
  background: var(--bg-card); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border) !important;
}
.woocommerce table.shop_table th {
  background: var(--bg-3); color: var(--text-muted);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; padding: 14px 16px !important; border: none !important;
}
.woocommerce table.shop_table td {
  padding: 16px !important; border-top: 1px solid var(--border) !important;
  color: var(--text); vertical-align: middle;
}
.woocommerce table.shop_table .cart_item td { background: var(--bg-card); }

/* Checkout form */
.woocommerce-checkout h3 { color: var(--text) !important; font-size: 1.1rem !important; margin-bottom: 16px !important; }
.woocommerce form .form-row input,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: var(--bg-3) !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  width: 100%;
  font-size: 0.9rem !important;
  font-family: var(--font) !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}
.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--accent) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(245,197,24,0.15) !important;
}
.woocommerce form .form-row label { color: var(--text-soft) !important; font-size: 0.82rem !important; font-weight: 600 !important; margin-bottom: 6px !important; display: block !important; }

/* Notices */
.woocommerce-message, .woocommerce-info {
  background: var(--bg-3) !important; border-top-color: var(--blue) !important; color: var(--text) !important;
}
.woocommerce-error {
  background: rgba(239,68,68,0.1) !important; border-top-color: var(--red) !important; color: var(--text) !important;
}

.woocommerce-page .site-main,
.woocommerce .site-main { padding: 40px 0; }

.page-content { padding: 40px 0; }
.page-content p { color: var(--text-soft); line-height: 1.8; margin-bottom: 16px; }

/* ===== LATEST POSTS - MAGAZINE ===== */
.latest-posts-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

/* Magazine layout: featured left + grid right */
.posts-magazine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Featured post */
.post-featured {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.post-featured:hover { box-shadow: var(--shadow); }

.post-featured-img {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-3);
}
.post-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.post-featured:hover .post-featured-img img { transform: scale(1.04); }
.post-featured-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
}

.post-featured-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.post-featured-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}
.post-featured-title a { color: inherit; transition: color 0.2s; }
.post-featured-title a:hover { color: var(--accent); }
.post-featured-excerpt { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }
.post-featured-btn { align-self: flex-start; margin-top: 4px; }

/* Side grid: 2 columns of compact cards */
.posts-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}

/* Compact post card */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.post-card--compact { font-size: 0.9rem; }

.post-card-img {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-3);
}
.post-card-img--sm { aspect-ratio: 3/2; }
.post-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.post-card:hover .post-card-img img { transform: scale(1.06); }

.post-card-body { padding: 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }

.post-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.post-card-date { font-size: 0.72rem; color: var(--text-muted); }
.post-card-cat {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--blue); background: rgba(79,70,229,0.12);
  padding: 2px 7px; border-radius: 4px;
  transition: background 0.2s;
}
.post-card-cat:hover { background: rgba(79,70,229,0.25); }

.post-card-title { font-size: 0.88rem; font-weight: 700; line-height: 1.4; }
.post-card-title a { color: var(--text); transition: color 0.2s; }
.post-card-title a:hover { color: var(--accent); }

.post-card-excerpt { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; margin-top: auto; }

/* ===== BREAKING NEWS ===== */
.breaking-news {
  background: #cc0000;
  padding: 0;
  border-top: 2px solid #ff0000;
  border-bottom: 2px solid #990000;
}

.breaking-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 8px 0;
}

.breaking-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  flex-shrink: 0;
  padding-right: 16px;
  border-right: 1px solid rgba(255,255,255,0.3);
  align-self: stretch;
  justify-content: center;
}

.breaking-label svg {
  animation: blink 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.breaking-track {
  flex: 1;
  position: relative;
  min-height: 32px;
}

.breaking-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
  text-decoration: none;
  padding: 4px 0;
}
.breaking-item:hover { text-decoration: underline; text-underline-offset: 3px; }
.breaking-item.active { opacity: 1; }

.breaking-source {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.3);
  white-space: nowrap;
  transition: color 0.2s;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.breaking-source:hover { color: #fff; }

/* ===== SINGLE PRODUCT ===== */
.jawoo-single-product { padding: 48px 0 80px; }

.sp-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 72px;
}

/* Gallery */
.sp-gallery { display: flex; flex-direction: column; gap: 12px; }

.sp-main-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 4/3;
}
.sp-main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.sp-main-img-wrap:hover .sp-main-img { transform: scale(1.03); }

.sp-sale-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--red); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 4px;
  letter-spacing: 1px;
}

.sp-thumbs {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.sp-thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--bg-3);
  cursor: pointer;
  transition: border-color 0.2s;
  padding: 0;
}
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-thumb.active,
.sp-thumb:hover { border-color: var(--blue); }

/* Summary */
.sp-summary { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }

.sp-category {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue); display: inline-block;
}
.sp-category:hover { color: var(--blue-hover); }

.sp-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.sp-short-desc {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.6;
}
.sp-short-desc p { margin: 0; }

.sp-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}
.sp-price del { font-size: 1.1rem; color: var(--text-muted); font-weight: 400; margin-left: 8px; }

.sp-stock {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600;
  padding: 4px 10px; border-radius: 20px;
}
.sp-stock.in-stock { background: rgba(34,197,94,0.12); color: #22c55e; }
.sp-stock.out-of-stock { background: rgba(239,68,68,0.12); color: var(--red); }

/* WC add to cart inside summary */
.sp-summary .cart { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sp-summary .quantity input {
  background: var(--bg-3) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 14px !important;
  width: 80px !important;
  font-size: 1rem !important;
  text-align: center;
}
.sp-summary .single_add_to_cart_button {
  background: var(--blue) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  transition: background 0.2s !important;
  flex: 1;
}
.sp-summary .single_add_to_cart_button:hover { background: var(--blue-hover) !important; }

.sp-meta {
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.sp-meta-item { font-size: 0.82rem; color: var(--text-muted); }
.sp-meta-label { color: var(--text-soft); font-weight: 600; margin-right: 4px; }

/* Full Description */
.sp-description {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.sp-desc-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 28px;
}
.sp-desc-body {
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.8;
  max-width: 800px;
}
.sp-desc-body p { margin-bottom: 16px; }
.sp-desc-body h2, .sp-desc-body h3 { color: var(--text); font-weight: 700; margin: 24px 0 12px; }
.sp-desc-body ul, .sp-desc-body ol { padding-left: 24px; margin-bottom: 16px; }
.sp-desc-body li { margin-bottom: 6px; }

/* Related */
.sp-related { padding: 56px 0 0; border-top: 1px solid var(--border); }
.sp-related-header { margin-bottom: 28px; }
.sp-related-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  display: flex; align-items: center; gap: 10px;
}
.sp-related-title::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--border);
  display: block;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 80px;
}
.footer-inner { display: flex; justify-content: center; }
.footer-copy { font-size: 0.875rem; color: var(--text-muted); text-align: center; line-height: 1.7; }
.footer-copy a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; transition: opacity 0.2s; }
.footer-copy a:hover { opacity: 0.75; }

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .sp-top { grid-template-columns: 1fr; gap: 32px; }
  .sp-title { font-size: 1.8rem; }
}

/* Mobile */
@media (max-width: 768px) {
  /* Header */
  .primary-nav { display: none; }
  .header-inner { gap: 12px; }
  .btn-outline span { display: none; }

  /* Hero */
  .hero { min-height: 300px; padding-bottom: 40px; }
  .hero-title { font-size: 1.3rem; line-height: 1.2; margin-bottom: 8px; }
  .hero-subtitle { font-size: 0.8rem; margin-bottom: 16px; }
  .hero-badge { font-size: 0.6rem; margin-bottom: 10px; }
  .hero-actions .btn { padding: 8px 14px; font-size: 0.78rem; }
  /* Κρύβουμε τιμές στο hero σε mobile */
  .hero-price-badge { display: none; }
  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }
  .hero-nav-btn { width: 36px; height: 36px; }
  .hero-nav-btn svg { width: 16px; height: 16px; }

  /* Breaking news mobile */
  .breaking-source { display: none; }
  .breaking-item { font-size: 0.8rem; }

  /* Product slider responsive */
  .products-slider-section { padding: 32px 0; }
  .section-header { margin-bottom: 20px; }
  .section-title { font-size: 1.1rem; }
  .swiper-nav { gap: 6px; }
  .swiper-btn { width: 34px; height: 34px; }

  /* Cart */
  .cart-drawer { width: 100vw; }

  /* Shop grid */
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .news-grid  { grid-template-columns: repeat(2, 1fr); }
  .posts-magazine { grid-template-columns: 1fr; }
  .posts-side-grid { grid-template-columns: repeat(2, 1fr); }

  /* Single product */
  .jawoo-single-product { padding: 24px 0 48px; }
  .sp-top { gap: 24px; margin-bottom: 40px; }
  .sp-title { font-size: 1.5rem; }
  .sp-price { font-size: 1.5rem; }
  .sp-thumbs .sp-thumb { width: 56px; height: 56px; }
  .sp-summary .cart { flex-direction: column; }
  .sp-summary .single_add_to_cart_button { width: 100%; text-align: center; }
}

/* Small mobile */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .header-inner { height: 52px; }
  .site-logo img { height: 26px; }

  /* Hero extra small */
  .hero { min-height: 240px; padding-bottom: 32px; }
  .hero-title { font-size: 1.1rem; }
  .hero-subtitle { display: none; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .hero-actions .btn { width: 100%; justify-content: center; font-size: 0.75rem; padding: 8px 12px; }
  .hero-footer { width: 140px; bottom: 12px; }
  .hero-nav-btn { width: 30px; height: 30px; }
  .hero-nav-btn svg { width: 14px; height: 14px; }

  /* Product slider extra small */
  .product-card-title { font-size: 0.82rem; }
  .product-card-price { font-size: 0.95rem; }
  .product-card-footer .btn { font-size: 0.75rem; padding: 8px 10px; }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

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

  .sp-desc-title,
  .sp-related-title { font-size: 1.3rem; }
}

/* ===== SHOP PAGE ===== */
.shop-page { padding: 40px 0 80px; }

.shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.shop-title { font-size: 1.8rem; font-weight: 800; color: var(--text); }
.shop-count { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

.shop-sort {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.875rem;
  font-family: var(--font);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
.shop-sort:focus { border-color: var(--blue); }

/* Layout: sidebar + content */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* ===== SIDEBAR ===== */
.shop-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 84px; }

.filter-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.filter-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Price range slider */
.price-range-wrap { display: flex; flex-direction: column; gap: 14px; }

.price-range-track {
  position: relative;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 20px 0 8px;
}
.price-range-fill {
  position: absolute;
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
  pointer-events: none;
}

.price-range-track input[type="range"] {
  position: absolute;
  width: 100%;
  height: 4px;
  top: 0; left: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
  outline: none;
}
.price-range-track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 0 2px var(--blue);
  cursor: pointer;
  pointer-events: all;
  transition: transform 0.15s, box-shadow 0.15s;
}
.price-range-track input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(79,70,229,0.25);
}
.price-range-track input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--bg-card);
  cursor: pointer;
  pointer-events: all;
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.price-range-labels strong { color: var(--text); }

.filter-apply {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  padding: 10px;
}
.filter-reset {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
  transition: color 0.2s;
}
.filter-reset:hover { color: var(--red); }

/* Category list */
.filter-cat-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.filter-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-soft);
  transition: background 0.2s, color 0.2s;
}
.filter-cat-link:hover { background: var(--bg-3); color: var(--text); }
.filter-cat-link.active { background: rgba(79,70,229,0.12); color: var(--blue); font-weight: 600; }
.filter-cat-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-3);
  padding: 1px 7px;
  border-radius: 10px;
}

/* ===== SHOP GRID ===== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* Pagination */
.shop-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.shop-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.shop-pagination .page-numbers:hover { background: var(--bg-3); color: var(--text); }
.shop-pagination .page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Empty state */
.shop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 0;
  color: var(--text-muted);
  text-align: center;
}
.shop-empty svg { opacity: 0.4; }

/* ===== SHOP RESPONSIVE ===== */
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .filter-box { flex: 1; min-width: 240px; }
}
@media (max-width: 480px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shop-sidebar { flex-direction: column; }
}

/* ===== MY ACCOUNT / LOGIN-REGISTER ===== */
.jawoo-account-wrap {
  max-width: 960px;
  margin: 60px auto;
  padding: 0 24px;
}

.jawoo-account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.jawoo-account-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.2s;
}
.jawoo-account-box:hover { box-shadow: var(--shadow); }

.jawoo-account-box--register {
  border-color: rgba(34,197,94,0.2);
}

.jawoo-account-box-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.jawoo-account-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(79,70,229,0.15);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.jawoo-account-icon--green {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
}

.jawoo-account-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 2px;
}
.jawoo-account-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Form fields */
.jawoo-form { display: flex; flex-direction: column; gap: 18px; }

.jawoo-field { display: flex; flex-direction: column; gap: 7px; }

.jawoo-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jawoo-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.jawoo-input-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}
.jawoo-input-wrap input {
  width: 100%;
  background: var(--bg-3) !important;
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 10px !important;
  padding: 12px 14px 12px 42px !important;
  font-size: 0.9rem !important;
  font-family: var(--font) !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  outline: none !important;
}
.jawoo-input-wrap input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(245,197,24,0.15) !important;
}

.jawoo-forgot {
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 400;
  transition: color 0.2s;
}
.jawoo-forgot:hover { color: var(--blue-hover); }

/* Remember me checkbox */
.jawoo-remember { display: flex; align-items: center; }
.jawoo-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}
.jawoo-checkbox-label input[type="checkbox"] { display: none; }
.jawoo-checkbox-custom {
  width: 18px; height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.jawoo-checkbox-label input:checked + .jawoo-checkbox-custom {
  background: var(--blue);
  border-color: var(--blue);
}
.jawoo-checkbox-label input:checked + .jawoo-checkbox-custom::after {
  content: '';
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

/* Info note */
.jawoo-info-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.jawoo-info-note svg { flex-shrink: 0; color: var(--blue); }

/* Submit button */
.jawoo-submit {
  width: 100%;
  justify-content: center;
  padding: 12px !important;
  font-size: 0.95rem !important;
  margin-top: 4px;
}
.jawoo-submit--green { background: #16a34a !important; }
.jawoo-submit--green:hover { background: #22c55e !important; }

/* WC notices inside account */
.jawoo-account-wrap .woocommerce-error,
.jawoo-account-wrap .woocommerce-message,
.jawoo-account-wrap .woocommerce-info {
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
}

/* Responsive */
@media (max-width: 640px) {
  .jawoo-account-grid { grid-template-columns: 1fr; }
  .jawoo-account-box { padding: 24px 20px; }
}

/* ===== WC MY ACCOUNT DASHBOARD ===== */
.woocommerce-MyAccount-navigation {
  float: none !important;
  width: auto !important;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 32px !important;
}

.woocommerce-MyAccount-navigation ul li a {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--bg-3);
  color: var(--text);
}
.woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
}

.woocommerce-MyAccount-content p { color: var(--text-soft); margin-bottom: 12px; }
.woocommerce-MyAccount-content strong { color: var(--text); }
.woocommerce-MyAccount-content a { color: var(--blue); }
.woocommerce-MyAccount-content a:hover { color: var(--blue-hover); }
