/*
 * Sri Krishna Traders — customer-facing store theme
 * Light, card-based layout inspired by modern cracker shop sites (mobile-first).
 */

body.sk-store {
  --primary: #4A0C65;
  --secondary: #6A1B9A;
  --accent: #FF6D00;
  --dark: #0E2B65;
  --light: #0E2B65;
  --ink-soft: #4b5563;
  --ink-muted: #6b7280;
  --surface: #FDFDFD;
  --surface-alt: #E0E4FD;
  --glass: #FDFDFD;
  --glass-border: #DCE4FC;
  --glass-shadow: 0 8px 30px rgba(14, 43, 101, 0.08);
  --gradient: linear-gradient(135deg, #4A0C65 0%, #6A1B9A 100%);
  --dark-gradient: linear-gradient(180deg, #F6F8FE 0%, #FDFDFD 45%, #F6F8FE 100%);
  background: var(--dark-gradient) !important;
  color: var(--light);
  font-family: "Poppins", system-ui, sans-serif;
}

body.sk-store #fireworks-canvas {
  display: none !important;
}

/* ——— Top contact bar ——— */
.sk-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1101;
  background: linear-gradient(90deg, #0E2B65, #3149C2);
  color: #fff;
  font-size: 0.8rem;
  padding: 8px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.sk-topbar a {
  color: #8CAFFC;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.sk-topbar a:hover {
  color: #fff;
  text-decoration: underline;
}

.sk-topbar i {
  opacity: 0.9;
}

@media (max-width: 640px) {
  .sk-topbar {
    font-size: 0.72rem;
    padding: 6px 10px;
    gap: 6px 12px;
  }

  .sk-topbar .sk-topbar-hours {
    width: 100%;
    opacity: 0.95;
  }
}

/* ——— Fixed header offset ——— */
body.sk-store header {
  top: 38px;
  height: auto;
  min-height: 64px;
  padding: 10px 4%;
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 2px solid #DCE4FC !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

@media (max-width: 640px) {
  body.sk-store header {
    top: 52px;
    padding: 8px 12px;
  }
}

body.sk-store .logo {
  color: var(--dark) !important;
  font-size: 1.15rem !important;
  gap: 12px !important;
  flex: 1;
  justify-content: center;
}

body.sk-store .logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

body.sk-store .logo span,
body.sk-store .logo .logo-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.sk-store .menu-toggle {
  color: var(--primary) !important;
  font-size: 1.5rem !important;
}

body.sk-store .header-icons i {
  color: var(--primary) !important;
  font-size: 1.6rem !important;
}

body.sk-store .cart-count {
  background: var(--primary) !important;
  color: #fff !important;
}

body.sk-store .container {
  padding-top: 130px !important;
}

@media (max-width: 640px) {
  body.sk-store .container {
    padding-top: 150px !important;
  }
}

/* ——— Sidebar ——— */
body.sk-store .sidebar {
  background: #fff !important;
  border-right: 1px solid var(--glass-border) !important;
  padding-top: 100px !important;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.08) !important;
}

body.sk-store .sidebar h3 {
  color: var(--primary) !important;
  border-color: #DCE4FC !important;
}

body.sk-store .sidebar ul li a {
  color: var(--light) !important;
}

body.sk-store .sidebar ul li a:hover,
body.sk-store .sidebar ul li a.active {
  background: #E0E4FD !important;
  color: var(--primary) !important;
}

/* ——— Hero ——— */
body.sk-store .hero {
  min-height: 320px;
  height: auto;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.88), rgba(234, 88, 12, 0.75)) !important;
  background-attachment: scroll !important;
  border-radius: 16px !important;
  margin-bottom: 28px !important;
  box-shadow: var(--glass-shadow) !important;
}

body.sk-store .hero::before {
  display: none;
}

body.sk-store .hero-content {
  padding: 48px 20px !important;
}

body.sk-store .hero .logo-container,
body.sk-store .hero .bottom-logos {
  display: none;
}

body.sk-store .hero h1,
body.sk-store .hero h2 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  font-size: clamp(1.5rem, 4vw, 2.25rem) !important;
  margin-bottom: 12px !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  margin-left: 0 !important;
}

body.sk-store .hero p {
  color: #8CAFFC !important;
  font-size: 1rem !important;
  max-width: 640px;
  margin: 0 auto 20px !important;
}

body.sk-store .hero .sk-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

body.sk-store .hero .sk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

body.sk-store .btn {
  background: #fff !important;
  color: var(--primary) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
}

body.sk-store .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

body.sk-store .btn.btn-outline-light {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.7) !important;
}

body.sk-store .btn.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

/* ——— Search & categories ——— */
body.sk-store .search-container {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: var(--glass-shadow);
  margin-bottom: 16px;
}

body.sk-store .search-bar {
  color: var(--dark) !important;
  background: transparent !important;
}

body.sk-store .search-bar::placeholder {
  color: var(--ink-muted);
}

body.sk-store .search-icon {
  color: var(--primary) !important;
}

body.sk-store .category-nav {
  background: var(--surface) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 12px !important;
  gap: 8px !important;
  padding: 12px !important;
  max-height: 220px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.sk-store .category-btn {
  background: #f9fafb !important;
  color: var(--light) !important;
  border: 1px solid var(--glass-border) !important;
  font-size: 0.8rem !important;
  padding: 8px 14px !important;
}

body.sk-store .category-btn:hover,
body.sk-store .category-btn.active {
  background: #E0E4FD !important;
  color: var(--primary) !important;
  border-color: #DCE4FC !important;
}

body.sk-store .section-title {
  color: var(--dark) !important;
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

body.sk-store .category-group-header h3 {
  color: var(--primary) !important;
}

body.sk-store .category-group-header {
  border-color: #DCE4FC !important;
}

/* ——— Product cards ——— */
body.sk-store .product {
  background: var(--surface) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
}

body.sk-store .product:hover {
  border-color: #DCE4FC !important;
  box-shadow: 0 12px 32px rgba(185, 28, 28, 0.12) !important;
}

body.sk-store .product-title {
  color: var(--dark) !important;
}

body.sk-store .product-desc {
  color: var(--ink-soft) !important;
}

body.sk-store .product-price {
  color: var(--primary) !important;
}

body.sk-store .original-price {
  color: var(--ink-muted) !important;
}

body.sk-store .qty-btn {
  background: #4A0C65 !important;
  color: #ffffff !important;
  border: 1px solid #4A0C65 !important;
}

body.sk-store .qty-input {
  color: var(--dark) !important;
}

/* ——— Testimonials strip ——— */
.sk-testimonials {
  padding: 40px 16px;
  max-width: 1200px;
  margin: 0 auto 32px;
}

.sk-testimonials h2 {
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  color: var(--dark);
  margin-bottom: 8px;
}

.sk-testimonials .sk-sub {
  text-align: center;
  color: var(--ink-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.sk-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.sk-testimonial-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--glass-shadow);
}

.sk-testimonial-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 12px;
}

.sk-testimonial-card .sk-author {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.85rem;
}

.sk-testimonial-card .sk-meta {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* ——— Contact strip ——— */
.sk-contact-strip {
  background: linear-gradient(135deg, #0E2B65, #3149C2);
  color: #fff;
  border-radius: 16px;
  padding: 32px 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.sk-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: center;
}

.sk-contact-grid a {
  color: #8CAFFC;
  text-decoration: none;
}

.sk-contact-grid a:hover {
  text-decoration: underline;
}

.sk-contact-grid h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
  margin-bottom: 8px;
}

.sk-contact-grid p {
  font-size: 1rem;
  font-weight: 500;
}

/* ——— Cart tray ——— */
body.sk-store .cart-tray {
  background: #fff !important;
  color: var(--dark) !important;
  border-left: 1px solid var(--glass-border) !important;
}

body.sk-store .cart-tray h2,
body.sk-store .cart-item-title {
  color: var(--dark) !important;
}

body.sk-store .cart-item {
  border-color: var(--glass-border) !important;
}

body.sk-store .checkout-btn,
body.sk-store #place-order-btn:not(:disabled) {
  background: var(--gradient) !important;
}

body.sk-store .whatsapp-float {
  background: #25d366 !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45) !important;
}

/* ——— Footer ——— */
body.sk-store footer {
  background: #1f2937 !important;
  border-top: 4px solid var(--primary) !important;
  margin-top: 48px;
}

body.sk-store footer .footer-column h3 {
  color: #8CAFFC !important;
}

body.sk-store footer p,
body.sk-store footer li a {
  color: #DCE4FC !important;
}

body.sk-store footer li a:hover {
  color: #fff !important;
}

body.sk-store .copyright {
  border-color: #374151 !important;
  color: #9ca3af !important;
}

/* ——— Quick order page ——— */
body.sk-store .qo-nav {
  top: 38px;
  background: #fff !important;
  border-bottom: 2px solid #DCE4FC !important;
}

body.sk-store .qo-logo {
  color: var(--dark) !important;
}

body.sk-store .qo-wrap {
  padding-top: 0 !important;
}

body.sk-store .qo-head h1 {
  color: var(--dark) !important;
}

@media (max-width: 640px) {
  body.sk-store .qo-nav {
    top: 52px;
  }

  body.sk-store .qo-wrap {
    padding-top: 0 !important;
  }
}

body.sk-store .qo-menu {
  background: #fff !important;
  color: var(--dark) !important;
}

body.sk-store .qo-menu-items a {
  color: var(--light) !important;
}

body.sk-store .qo-table-box,
body.sk-store .qo-search,
body.sk-store .qo-bar {
  background: #fff !important;
  border-color: var(--glass-border) !important;
  color: var(--dark) !important;
}

body.sk-store .qo-table th,
body.sk-store .qo-table td {
  color: var(--dark) !important;
  border-color: #f3f4f6 !important;
}

body.sk-store .qo-cat td {
  background: #E0E4FD !important;
  color: var(--primary) !important;
}

body.sk-store .qo-qty {
  background: #f9fafb !important;
  color: var(--dark) !important;
  border-color: var(--glass-border) !important;
}

body.sk-store .qo-search input {
  background: #fff !important;
  color: #111 !important;
  -webkit-text-fill-color: #111;
  border: none !important;
}

body.sk-store .qo-head p {
  color: var(--ink-muted) !important;
}