/* RR Vape - mimics vapestreams.co.uk design */
:root {
  --red: #ca1035;
  --red-dark: #a50d2c;
  --navy: #0f375f;
  --navy-light: #1a4a7a;
  --slate: #374151;
  --green-bg: #dcfce7;
  --green-text: #15803d;
  --purple-300: #d8b4fe;
  --purple-200: #e9d5ff;
  --purple-100: #f3e8ff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-50: #f9fafb;
  --lime-700: #4d7c0f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1f2937;
  background: #fff;
  line-height: 1.6;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Header ===== */
.site-header {
  background: var(--red);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1rem;
}
.header-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  white-space: nowrap;
}
.header-logo .accent { color: #fde047; }
.header-search {
  flex: 1;
  max-width: 480px;
  display: flex;
}
.header-search input {
  flex: 1;
  padding: 0.45rem 0.75rem;
  border: none;
  border-radius: 6px 0 0 6px;
  font-size: 0.9rem;
  outline: none;
}
.header-search button {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 0 1rem;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font-size: 0.85rem;
}
.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.header-actions a {
  font-size: 0.85rem;
  white-space: nowrap;
}
.header-contact {
  font-size: 0.8rem;
  font-weight: 600;
}
.header-contact span { color: #fde047; }

/* ===== Nav bar ===== */
.nav-bar {
  background: var(--navy);
  color: #fff;
}
.nav-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 0.25rem;
  padding: 0 1rem;
  flex-wrap: wrap;
}
.nav-bar a {
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.15s;
  border-radius: 4px;
}
.nav-bar a:hover { background: var(--navy-light); }

/* ===== Container ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: #9ca3af; }

/* ===== Product Grid ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.product-card {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 0.75rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.product-card .badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  z-index: 2;
}
.product-card .badge.new {
  background: var(--green-text);
}
.product-card .img-wrap {
  text-align: center;
  margin-bottom: 0.5rem;
  background: var(--gray-50);
  border-radius: 8px;
  padding: 0.5rem;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .img-wrap img {
  max-height: 180px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
.product-card .flavour {
  color: var(--lime-700);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.product-card .features-bar {
  display: flex;
  flex-wrap: wrap;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  font-size: 0.7rem;
  margin-bottom: 0.4rem;
}
.product-card .features-bar span {
  padding: 0.15rem 0.3rem;
  text-align: center;
  flex: 1;
  background: var(--purple-100);
}
.product-card .features-bar span:nth-child(1) { background: var(--purple-300); }
.product-card .features-bar span:nth-child(2) { background: var(--purple-200); }
.product-card .features-bar span.full {
  flex-basis: 100%;
  background: var(--green-bg);
  color: var(--green-text);
  font-weight: 700;
}
.product-card h3 {
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
  min-height: 2.6em;
}
.product-card .price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate);
  margin-bottom: 0.4rem;
}
.product-card .price del {
  color: #9ca3af;
  font-weight: 400;
  font-size: 0.85rem;
  margin-right: 0.35rem;
}
.product-card .price ins {
  color: var(--red);
  text-decoration: none;
}
.product-card .btn {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  display: block;
  transition: background 0.15s;
}
.product-card .btn:hover { background: var(--red); }

/* ===== Single Product Page ===== */
.product-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .product-single { grid-template-columns: 1fr; }
}
.product-gallery {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--gray-200);
}
.product-gallery img {
  max-height: 450px;
  margin: 0 auto;
}
.product-summary h1 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.product-summary .flavour-text {
  color: var(--lime-700);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.product-summary .save-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.product-summary .price-box {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 1rem;
}
.product-summary .price-box del {
  color: #9ca3af;
  font-size: 1.1rem;
  font-weight: 400;
  margin-right: 0.5rem;
}
.product-summary .specs {
  background: var(--gray-50);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--navy);
}
.product-summary .specs p { font-size: 0.85rem; color: var(--slate); margin-bottom: 0.25rem; }
.product-summary .specs strong { color: var(--navy); }
.product-summary .contact-cta {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin: 1rem 0;
}
.product-summary .contact-cta h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.product-summary .contact-cta a { color: #fde047; font-weight: 700; }
.product-summary .contact-cta .phones { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; }
.product-summary .contact-cta .phones a { background: rgba(255,255,255,0.15); padding: 0.3rem 0.6rem; border-radius: 6px; }

/* ===== Tabs / Description ===== */
.product-tabs {
  margin-top: 2rem;
  border-top: 2px solid var(--gray-200);
  padding-top: 1.5rem;
}
.product-tabs h2 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.product-tabs .tab-content {
  line-height: 1.75;
  font-size: 0.92rem;
  color: #374151;
}
.product-tabs .tab-content p { margin-bottom: 0.85rem; }
.product-tabs .tab-content ul { margin: 0.5rem 0 0.85rem 1.5rem; }
.product-tabs .tab-content li { margin-bottom: 0.25rem; }
.product-tabs .tab-content strong { color: var(--navy); }

/* ===== Related products ===== */
.related-section { margin-top: 2.5rem; }
.related-section h2 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 0.5rem;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  padding: 2.5rem 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.hero p { font-size: 1.05rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* ===== Section heading ===== */
.section-title {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 0.4rem auto 0;
  border-radius: 2px;
}

/* ===== About ===== */
.about-section {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}
.about-section h2 { color: var(--navy); margin-bottom: 0.75rem; }
.about-section p { color: var(--slate); max-width: 800px; margin: 0 auto 1rem; }

/* ===== Floating contact bar ===== */
.contact-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-float a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.contact-float a:hover { transform: scale(1.1); }
.contact-float .wa { background: #25d366; }
.contact-float .wc { background: #07c160; }
.contact-float .ph { background: var(--red); }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: #d1d5db;
  padding: 2.5rem 1rem 1.5rem;
  margin-top: 2rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer a { font-size: 0.85rem; color: #9ca3af; }
.site-footer a:hover { color: #fde047; }
.footer-contact { font-size: 0.85rem; }
.footer-contact .phone-big {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fde047;
  display: block;
  margin: 0.5rem 0;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #6b7280;
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 0.85rem;
}
.pagination a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); font-weight: 700; }

/* ===== Category page ===== */
.page-header {
  background: var(--gray-50);
  padding: 1.5rem 1rem;
  text-align: center;
  margin-bottom: 1rem;
}
.page-header h1 { color: var(--navy); font-size: 1.5rem; }
.page-header p { color: var(--slate); font-size: 0.9rem; margin-top: 0.3rem; }

/* misc */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
