/* =====================================================
   EVENT-KIT.CSS
   Conference & Event Printing Planner
   PakistanPrint by Studio2
   ===================================================== */

/* =====================================================
   MOBILE POPUP OVERLAY
   ===================================================== */

.ek-mobile-notice {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ek-mobile-notice.active {
  display: flex;
}

.ek-mobile-notice__box {
  background: white;
  border-radius: 28px;
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  animation: ekPopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes ekPopIn {
  from { transform: scale(0.85) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.ek-mobile-notice__icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: block;
}

.ek-mobile-notice__title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 10px;
}

.ek-mobile-notice__text {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 24px;
}

.ek-mobile-notice__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(124,58,237,0.35);
}

.ek-mobile-notice__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124,58,237,0.45);
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.ek-hero {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(236,72,153,0.06) 0%, transparent 40%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(226,232,240,0.7);
}

.ek-hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.ek-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.15);
  font-size: 0.8rem;
  font-weight: 800;
  color: #7c3aed;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.ek-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 16px;
}

.ek-hero__title span {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ek-hero__subtitle {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 540px;
}

.ek-hero__stats {
  display: flex;
  gap: 32px;
  flex-shrink: 0;
}

.ek-hero__stat {
  text-align: center;
  padding: 24px 28px;
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(226,232,240,0.8);
  box-shadow: 0 4px 20px rgba(15,23,42,0.06);
}

.ek-hero__stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: #7c3aed;
  line-height: 1;
  margin-bottom: 4px;
}

.ek-hero__stat-label {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =====================================================
   MAIN LAYOUT
   ===================================================== */

.ek-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding: 40px 0 80px;
  align-items: start;
}

/* =====================================================
   PRODUCTS GRID (LEFT PANEL)
   ===================================================== */

.ek-section-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ek-section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(124,58,237,0.2), transparent);
  border-radius: 2px;
}

.ek-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

/* Product Card */
.ek-product-card {
  position: relative;
  background: white;
  border-radius: 20px;
  border: 2px solid rgba(226,232,240,0.8);
  padding: 20px 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(15,23,42,0.04);
  overflow: hidden;
  user-select: none;
}

.ek-product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.03), rgba(236,72,153,0.03));
  opacity: 0;
  transition: opacity 0.25s;
}

.ek-product-card:hover {
  border-color: rgba(124,58,237,0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(124,58,237,0.1);
}

.ek-product-card:hover::before {
  opacity: 1;
}

.ek-product-card.selected {
  border-color: #7c3aed;
  background: linear-gradient(135deg, rgba(124,58,237,0.04), rgba(236,72,153,0.03));
  box-shadow: 0 8px 28px rgba(124,58,237,0.15);
}

.ek-product-card.selected::before {
  opacity: 1;
}

/* Selected checkmark */
.ek-product-card__check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ek-product-card.selected .ek-product-card__check {
  opacity: 1;
  transform: scale(1);
}

.ek-product-card__emoji {
  font-size: 2.2rem;
  margin-bottom: 10px;
  display: block;
  line-height: 1;
}

.ek-product-card__img-wrap {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #f1f5f9;
}

.ek-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ek-product-card:hover .ek-product-card__img {
  transform: scale(1.05);
}

.ek-product-card__emoji-fallback {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ek-product-card__name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.3;
}

.ek-product-card__price {
  font-size: 0.78rem;
  color: #7c3aed;
  font-weight: 700;
}

.ek-product-card__gift {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #16a34a;
  background: rgba(22,163,74,0.08);
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 4px;
}

.ek-product-card__coming {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  font-style: italic;
}

/* =====================================================
   CONFIGURATION PANEL (shown when product selected)
   ===================================================== */

.ek-config-panel {
  background: #f8fafc;
  border-radius: 20px;
  border: 1px solid rgba(226,232,240,0.8);
  margin-bottom: 16px;
  overflow: hidden;
  animation: ekSlideDown 0.3s ease;
}

@keyframes ekSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ek-config-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: white;
  border-bottom: 1px solid rgba(226,232,240,0.7);
}

.ek-config-header__name {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ek-config-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(220,38,38,0.08);
  border: none;
  color: #dc2626;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.ek-config-remove:hover {
  background: rgba(220,38,38,0.15);
}

.ek-config-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.ek-field__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ek-field__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ek-opt-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1.5px solid rgba(226,232,240,0.9);
  background: white;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ek-opt-btn:hover {
  border-color: #7c3aed;
  color: #7c3aed;
}

.ek-opt-btn.active {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border-color: transparent;
  color: white;
}

/* Quantity input */
.ek-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ek-qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid rgba(226,232,240,0.9);
  background: white;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.ek-qty-btn:hover {
  border-color: #7c3aed;
  color: #7c3aed;
}

.ek-qty-input {
  width: 70px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid rgba(226,232,240,0.9);
  background: white;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  transition: border-color 0.15s;
}

.ek-qty-input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.08);
}

.ek-qty-unit {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Dimension inputs */
.ek-dim-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ek-dim-input {
  width: 70px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid rgba(226,232,240,0.9);
  background: white;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  transition: border-color 0.15s;
}

.ek-dim-input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.08);
}

.ek-dim-sep {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 700;
}

.ek-dim-unit {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Config subtotal */
.ek-config-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(124,58,237,0.06);
  border-radius: 10px;
  margin-top: 4px;
}

.ek-config-subtotal__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}

.ek-config-subtotal__amount {
  font-size: 0.95rem;
  font-weight: 900;
  color: #7c3aed;
}

/* =====================================================
   RIGHT PANEL - SUMMARY
   ===================================================== */

.ek-summary {
  position: sticky;
  top: 108px;
}

.ek-summary__box {
  background: white;
  border-radius: 24px;
  border: 1px solid rgba(226,232,240,0.8);
  box-shadow: 0 8px 32px rgba(15,23,42,0.06);
  overflow: hidden;
}

.ek-summary__header {
  padding: 20px 24px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: white;
}

.ek-summary__header h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.ek-summary__header p {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
}

.ek-summary__body {
  padding: 20px 24px;
}

/* Empty state */
.ek-summary__empty {
  text-align: center;
  padding: 40px 20px;
}

.ek-summary__empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
  opacity: 0.4;
}

.ek-summary__empty-text {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* Line items */
.ek-line-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(226,232,240,0.6);
}

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

.ek-line-item__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

.ek-line-item__detail {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 2px;
}

.ek-line-item__price {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Design toggle */
.ek-design-toggle {
  margin-top: 16px;
  padding: 14px;
  background: rgba(124,58,237,0.04);
  border-radius: 14px;
  border: 1.5px solid rgba(124,58,237,0.12);
}

.ek-design-toggle__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ek-design-toggle__label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
}

.ek-design-toggle__sub {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 3px;
}

/* Toggle switch */
.ek-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.ek-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.ek-toggle__track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #e2e8f0;
  cursor: pointer;
  transition: background 0.25s;
}

.ek-toggle input:checked + .ek-toggle__track {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.ek-toggle__track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ek-toggle input:checked + .ek-toggle__track::after {
  transform: translateX(20px);
}

.ek-design-charge {
  margin-top: 10px;
  padding: 8px 12px;
  background: white;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  display: none;
}

.ek-design-charge.visible {
  display: flex;
}

.ek-design-charge__label {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.ek-design-charge__amount {
  font-size: 0.88rem;
  font-weight: 800;
  color: #7c3aed;
}

/* Divider */
.ek-divider {
  height: 1px;
  background: rgba(226,232,240,0.8);
  margin: 16px 0;
}

/* Total */
.ek-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ek-total-row__label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.ek-total-row__amount {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}

.ek-grand-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(236,72,153,0.04));
  border-radius: 14px;
  margin-top: 12px;
}

.ek-grand-total__label {
  font-size: 1rem;
  font-weight: 900;
  color: #0f172a;
}

.ek-grand-total__amount {
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Delivery note */
.ek-delivery-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(245,158,11,0.06);
  border-radius: 10px;
  margin-top: 12px;
}

.ek-delivery-note__icon {
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.ek-delivery-note__text {
  font-size: 0.72rem;
  color: #78716c;
  line-height: 1.5;
}

/* VIP Badge */
.ek-vip-badge {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  border-radius: 14px;
  margin-top: 12px;
  animation: ekGlow 2s ease-in-out infinite alternate;
}

@keyframes ekGlow {
  from { box-shadow: 0 4px 20px rgba(124,58,237,0.2); }
  to   { box-shadow: 0 8px 32px rgba(124,58,237,0.45); }
}

.ek-vip-badge.visible {
  display: flex;
}

.ek-vip-badge__crown {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.ek-vip-badge__content {}

.ek-vip-badge__title {
  font-size: 0.82rem;
  font-weight: 900;
  color: #fbbf24;
  margin-bottom: 2px;
}

.ek-vip-badge__perks {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* Gift badge */
.ek-gift-badge {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(22,163,74,0.06);
  border: 1px solid rgba(22,163,74,0.15);
  border-radius: 12px;
  margin-top: 10px;
}

.ek-gift-badge.visible {
  display: flex;
}

.ek-gift-badge__icon {
  font-size: 1.1rem;
}

.ek-gift-badge__text {
  font-size: 0.75rem;
  color: #16a34a;
  font-weight: 700;
  line-height: 1.4;
}

/* CTA Button */
.ek-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: white;
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  margin-top: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
  text-decoration: none;
}

.ek-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.4);
  color: white;
}

.ek-cta-btn:disabled,
.ek-cta-btn.disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.ek-cta-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* =====================================================
   HOW IT WORKS STRIP
   ===================================================== */

.ek-how {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-top: 1px solid rgba(226,232,240,0.7);
  border-bottom: 1px solid rgba(226,232,240,0.7);
  padding: 40px 0;
  margin-bottom: 0;
}

.ek-how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ek-how__step {
  text-align: center;
}

.ek-how__step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: white;
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.ek-how__step-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.ek-how__step-text {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.6;
}

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

@media (max-width: 1100px) {
  .ek-layout {
    grid-template-columns: 1fr;
  }
  .ek-summary {
    position: static;
  }
  .ek-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .ek-hero__inner {
    grid-template-columns: 1fr;
  }
  .ek-hero__stats {
    justify-content: center;
  }
  .ek-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ek-how__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ek-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ek-hero__stats {
    gap: 16px;
  }
  .ek-hero__stat {
    padding: 16px 18px;
  }
}