:root {
  --gold: #d4a017;
  --gold-dark: #b3860f;
  --black: #111111;
  --gray-bg: #1a1a1a;
  --text: #f2f2f2;
  --text-light: #a8a8a8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, "Noto Sans Hebrew", sans-serif;
  background: #000000;
  color: var(--text);
  direction: rtl;
  text-align: right;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

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

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.btn svg {
  width: 2em;
  height: 2em;
  vertical-align: middle;
  margin-left: 8px;
}

.btn.small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #eaeaea;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.header-tagline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) skewX(-6deg);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  white-space: nowrap;
}

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

.logo img {
  height: 48px;
  width: auto;
}

/* Hero */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
  text-align: center;
  background: #000000;
}

.hero-inner {
  position: relative;
}

.hero-eyebrow {
  display: block;
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 40px;
  color: var(--gold);
}

.hero-logo {
  perspective: 900px;
  margin: 0 auto 36px;
  filter: drop-shadow(0 20px 40px rgba(212, 160, 23, 0.25));
}

.logo-3d {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
  transform-style: preserve-3d;
  animation: spin-vertical-axis 6s linear infinite;
}

.logo-3d img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* 12 layers spanning ~19px (~0.5cm at 96dpi) to give the logo visible depth */
  transform: translateZ(calc(var(--i) * 1.73px - 9.5px));
}

@keyframes spin-vertical-axis {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding-top: 0;
  padding-bottom: 0;
}

/* Section headings */
.section {
  padding: 70px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 44px;
  font-size: 1.05rem;
}

#products,
#reviews,
#faq {
  background: #ffffff;
}

#products .section-title,
#reviews .section-title,
#faq .section-title {
  color: #111111;
}

#reviews .section-subtitle {
  color: #666666;
}

/* Reviews */
.reviews-list {
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

@media (max-width: 900px) {
  .reviews-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.reviews-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #888888;
  font-size: 0.9rem;
}

.review-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 14px;
  padding: 16px 18px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.review-thumbs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  overflow-x: auto;
}

.review-thumb {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.review-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.review-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #111111;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-card-meta {
  display: flex;
  flex-direction: column;
}

.review-stars {
  margin-inline-start: auto;
  color: var(--gold-dark);
  font-size: 0.9rem;
}

.review-name {
  font-weight: 700;
  color: #111111;
  font-size: 0.92rem;
}

.review-date {
  font-size: 0.75rem;
  color: #888888;
}

.review-text {
  color: #333333;
  font-size: 0.9rem;
  line-height: 1.6;
}

.review-product {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 600;
}

.review-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #444444;
}

.review-field input,
.review-field select,
.review-field textarea {
  padding: 10px 12px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #111111;
  background: #ffffff;
}

.review-field textarea {
  resize: vertical;
}

.review-form .btn {
  align-self: center;
}

/* FAQ */
.faq-section {
  max-width: 720px;
  margin: 0 auto;
}

.faq-section summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section .section-title {
  margin-bottom: 0;
}

.faq-arrow {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--gold-dark);
  transition: transform 0.2s ease;
}

.faq-section[open] .faq-arrow {
  transform: rotate(180deg);
}

.faq-content {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-row h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 6px;
}

.faq-row p {
  color: #444444;
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-row a {
  color: var(--gold-dark);
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}

.product-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  background: var(--gold);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}

.product-thumb {
  height: 200px;
  background: #f7f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 0.9rem;
  color: #666666;
  border: 1px dashed #d8d8dc;
  margin: 12px;
  border-radius: 10px;
}

.product-info {
  padding: 18px;
  text-align: center;
}

.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #222222;
}

.product-price {
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 14px;
}

/* Footer */
footer {
  background: #ffffff;
  padding: 40px 0 24px;
  border-top: 1px solid #eaeaea;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: #666666;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #666666;
}

/* Accessibility widget */
.a11y-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1565c0;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  z-index: 310;
  transition: transform 0.15s ease;
}

.a11y-toggle:hover {
  transform: scale(1.08);
}

.a11y-toggle svg {
  width: 30px;
  height: 30px;
}

.a11y-panel {
  position: fixed;
  bottom: 84px;
  right: 20px;
  width: 280px;
  max-width: calc(100vw - 40px);
  background: #ffffff;
  color: #111111;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  z-index: 310;
  overflow: hidden;
}

.a11y-panel[hidden] {
  display: none;
}

.a11y-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #1565c0;
  color: #ffffff;
}

.a11y-panel-header h3 {
  font-size: 1rem;
}

.a11y-panel-header .cart-close {
  color: #ffffff;
}

.a11y-panel-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.a11y-btn-group {
  display: flex;
  gap: 6px;
}

.a11y-btn-group button {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #dddddd;
  background: #ffffff;
  cursor: pointer;
  font-weight: 700;
}

.a11y-toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

.a11y-statement-link {
  font-size: 0.85rem;
  color: var(--gold-dark);
  text-decoration: underline;
  text-align: center;
  margin-top: 4px;
}

/* Accessibility effect classes (applied to <html> by accessibility-widget.js) */
.a11y-underline-links a {
  text-decoration: underline !important;
}

.a11y-stop-animations *,
.a11y-stop-animations *::before,
.a11y-stop-animations *::after {
  animation: none !important;
  transition: none !important;
}

.a11y-contrast body,
.a11y-contrast body * {
  background-color: #000000 !important;
  color: #ffeb3b !important;
  border-color: #ffeb3b !important;
  box-shadow: none !important;
}

.a11y-contrast img {
  filter: grayscale(1) contrast(1.2);
}

/* Accessibility skip link */
.skip-link {
  position: absolute;
  top: -40px;
  right: 0;
  background: var(--gold);
  color: #111111;
  padding: 10px 20px;
  z-index: 1000;
  font-weight: 700;
  border-radius: 0 0 0 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: #111111;
  color: #f2f2f2;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-text {
  font-size: 0.85rem;
  flex: 1;
  min-width: 220px;
}

.cookie-more-link {
  color: var(--gold);
  text-decoration: underline;
  margin-right: 4px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-decline-btn {
  background: transparent;
  color: #f2f2f2;
  border: 1px solid #555555;
}

.cookie-decline-btn:hover {
  background: #222222;
  transform: none;
}

/* Floating cart button */
.cart-toggle-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  z-index: 305;
  transition: transform 0.15s ease;
}

.cart-toggle-float svg {
  width: 26px;
  height: 26px;
}

.cart-toggle-float:hover {
  transform: scale(1.08);
}

/* WhatsApp support inline CTA (above FAQ) */
.whatsapp-support-inline-wrap {
  max-width: 100%;
  margin: 0;
  padding: 40px 24px;
  text-align: center;
  background: #ffffff;
}

.whatsapp-support-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #f0fdf4;
  border: 1px solid #c6f0d5;
  color: #111111;
  font-weight: 600;
  font-size: 0.9rem;
}

.whatsapp-support-inline svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.whatsapp-support-inline:hover {
  background: #e3fbe9;
}

/* Cart */
.cart-badge {
  position: absolute;
  top: -4px;
  left: -8px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.cart-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 320px;
  max-width: calc(100vw - 48px);
  max-height: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  color: #111111;
  border-radius: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  z-index: 200;
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-scroll {
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  border-top: 1px solid #eaeaea;
}

.cart-panel.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #eaeaea;
}

.cart-panel-header h3 {
  font-size: 1.05rem;
}

.cart-panel-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-panel-logo {
  height: 34px;
  width: auto;
}

.cart-panel-tagline {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #666666;
  line-height: 1;
}

.cart-items {
  padding: 12px 18px;
}

.cart-empty {
  color: #888888;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

.cart-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.cart-item-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.cart-item-name {
  font-weight: 600;
}

.cart-item-price {
  color: var(--gold-dark);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid #dddddd;
  background: #ffffff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.cart-item-qty {
  min-width: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.cart-remove-btn {
  margin-inline-start: auto;
  background: none;
  border: none;
  color: #b3261e;
  font-size: 0.8rem;
  cursor: pointer;
}

.cart-shipping {
  padding: 4px 18px 14px;
  border-top: 1px solid #eaeaea;
}

.cart-shipping-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 10px 0 8px;
  color: #444444;
}

.shipping-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
}

.shipping-option input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--gold-dark);
  flex-shrink: 0;
}

.shipping-option-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.shipping-option-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #222222;
}

.shipping-option-note {
  font-size: 0.78rem;
  color: #888888;
}

.shipping-option-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-dark);
  white-space: nowrap;
}

.cart-discount {
  padding: 4px 18px 10px;
  border-top: 1px solid #eaeaea;
}

.discount-input-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.discount-input {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.85rem;
}

.discount-message {
  font-size: 0.8rem;
  margin-top: 6px;
  min-height: 1em;
}

.discount-message.success {
  color: #1a8f4c;
}

.discount-message.error {
  color: #b3261e;
}

.cart-footer {
  padding: 14px 18px;
  border-top: 1px solid #eaeaea;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666666;
  padding: 3px 0;
}

.cart-total-row {
  font-weight: 700;
  font-size: 1rem;
  color: #111111;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid #f0f0f0;
}

.cart-whatsapp-btn {
  display: block;
  text-align: center;
  margin: 0 18px 16px;
  background: #25d366;
  color: #ffffff;
}

.cart-whatsapp-btn:hover {
  background: #1ebe5b;
}

.cart-whatsapp-btn.disabled {
  background: #cccccc;
  color: #888888;
  cursor: not-allowed;
  pointer-events: none;
}

.cart-sms-btn {
  display: block;
  text-align: center;
  margin: 0 18px 16px;
}

.cart-sms-btn.disabled {
  background: #cccccc;
  color: #888888;
  cursor: not-allowed;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 900px) {
  .header-tagline {
    display: none;
  }

  .logo-left {
    display: none;
  }
}

@media (max-width: 780px) {
  .hero h1 {
    font-size: 1.8rem;
  }
}
