/* 🎨 CSS Variables & Color Palette */
:root {
  --primary: #da0000;
  --secondary: #c6ff00;
  --bg: #fafafa;
  --white: #fff;
  --bg1: #0b0b0b;
  --bg2: #151515;
  --accent: #da0000;
  --muted: rgba(255, 255, 255, 0.78);
  --text-dark: #333;
  --text-light: #888;
  --radius: 20px;
  --radius-sm: 10px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 12px rgba(218, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-hot: linear-gradient(135deg, #ff9800, #ff5722);
}

/* 🔧 Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: "Tahoma", "Arial", sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.card-item {
  width: 100%;
  display: block;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 📦 Container System */
.container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .container {
    max-width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

/* 🔝 Header */
.header-akkalny {
  padding: 0px 0px 5px;
  text-align: center;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

header {
  padding: 20px 10px 5px;
  text-align: center;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo {
  width: clamp(8rem, 20vw, 10rem);
  margin: 0 auto;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

/* 🎯 Akkalny Section */
.Akkalny {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 20px;
  margin: 20px 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.Akkalny img {
  border-radius: var(--radius);
  transition: var(--transition);
}

.Akkalny img:hover {
  transform: scale(1.02);
}

.text-akkalny {
  padding: 20px 0;
  color: var(--secondary);
  font-weight: bold;
  font-size: clamp(14px, 2vw, 18px);
}

/* 🗂️ Categories Bar */
.categories-container {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding: 12px 0;
  margin: 20px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #f1f1f1;
}

.categories {
  display: flex;
  gap: 12px;
  padding: 0 16px;
  min-width: max-content;
}

.categories::-webkit-scrollbar {
  height: 6px;
}

.categories::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.categories::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
  transition: var(--transition);
}

.categories::-webkit-scrollbar-thumb:hover {
  background: #b00000;
}

.categories button {
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  background: #eee;
  color: var(--primary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.categories button:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.categories button.active {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 4px 8px rgba(218, 0, 0, 0.3);
}

.menu-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-item.hide {
  display: none;
}

/* 🔎 Search Box */
.search-box {
  padding: 20px 10px;
  text-align: center;
}

.search-box input {
  width: 100%;
  max-width: 500px;
  padding: 12px 20px;
  border-radius: 50px;
  border: 2px solid var(--primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(218, 0, 0, 0.1);
  transform: translateY(-2px);
}

.search-box input::placeholder {
  color: var(--text-light);
}

/* 🔥 Hot Offers */
.hot-offers {
  margin: 20px auto;
  padding: 20px;
  background: var(--gradient-hot);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: bold;
  font-size: clamp(14px, 2vw, 18px);
  width: 90%;
  max-width: 600px;
  box-shadow: var(--shadow-hover);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

/* 🛒 Products Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
  }
}

/* 🎴 Product Card */
.card {
  background: var(--white);
  padding: 20px 15px;
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card:active {
  transform: translateY(-4px);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.card .circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  background: #f5f5f5;
  overflow: hidden;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(218, 0, 0, 0.2);
}

.card:hover .circle {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(218, 0, 0, 0.2);
}

.card h4 {
  margin: 8px 0 3px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.card:hover h4 {
  color: #b00000;
}

.card h3 {
  margin: 5px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.card p {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--text-light);
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
  .card {
    padding: 15px 10px;
  }

  .card .circle {
    width: 60px;
    height: 60px;
  }

  .card h4 {
    font-size: 13px;
  }

  .card h3 {
    font-size: 12px;
  }

  .card p {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 12px 8px;
  }

  .card .circle {
    width: 50px;
    height: 50px;
    padding: 6px;
  }

  .card h4 {
    font-size: 12px;
  }

  .card h3 {
    font-size: 11px;
  }

  .card p {
    font-size: 10px;
  }
}

/* ⚡ Install Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from {
    transform: translate(-50%, -40%);
    opacity: 0;
  }

  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

.modal-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-buttons button {
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#installBtn {
  background: var(--primary);
  color: var(--white);
}

#installBtn:hover {
  background: #b00000;
}

#dismissInstall {
  background: var(--bg);
  color: var(--text-dark);
}

#dismissInstall:hover {
  background: #e0e0e0;
}

/* 🎯 Utility Classes */
.text-center {
  text-align: center;
}

.fw-bold {
  font-weight: 700;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

/* 🌐 Accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 🖨️ Print Styles */
@media print {

  .categories,
  .search-box,
  .modal-overlay,
  header {
    display: none;
  }

  .card {
    break-inside: avoid;
  }
}




.footer-akkalny {
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
  color: #fff;
  padding: 28px 18px;
  border-top: 4px solid rgba(218, 0, 0, 0.14);
  font-family: inherit;
  direction: rtl;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  min-width: 240px;
}

.brand-link {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.brand-name {
  font-weight: 700;
  font-size: 1.02rem;
}

.brand-slogan {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.96rem;
  transition: background .18s, transform .12s;
}

.footer-nav a:hover {
  background: rgba(218, 0, 0, 0.08);
  transform: translateY(-2px);
}

.footer-contact {
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.contact-item .icon {
  font-size: 20px;
}

.contact-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 2px;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.social {
  margin-top: 6px;
  display: flex;
  gap: 10px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-decoration: none;
  transition: transform .12s, background .12s;
}

.social a:hover {
  transform: translateY(-3px);
  background: rgba(218, 0, 0, 0.14);
}

.footer-bottom {
  max-width: 1100px;
  margin: 18px auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-bottom .credits {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom .sep {
  color: rgba(255, 255, 255, 0.45);
}

.made-by {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width:720px) {
  .footer-inner {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }

  .footer-contact {
    min-width: auto;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}





.slide-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/10;
  /* taller images */
  border: 3px dashed var(--primary);
  box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.2);
  margin: auto;
  overflow: hidden;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slides img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

.slides img:not(.active) {
  left: -100%;
}

/* Arrows */
span.next,
span.prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.5s;
  z-index: 10;
  border-radius: 50%;
}

span.next {
  right: 15px;
}

span.prev {
  left: 15px;
}

span.next:hover,
span.prev:hover {
  color: #c6ff00;
}

/* Dots */
.dotsContainer {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #bbb;
  display: inline-block;
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.6s;
}

.dot.active {
  background: var(--primary, #fff);
}

/* Animations */
@keyframes next1 {
  from {
    left: 0;
  }

  to {
    left: -100%;
  }
}

@keyframes next2 {
  from {
    left: 100%;
  }

  to {
    left: 0;
  }
}

@keyframes prev1 {
  from {
    left: 0;
  }

  to {
    left: 100%;
  }
}

@keyframes prev2 {
  from {
    left: -100%;
  }

  to {
    left: 0;
  }
}