/* ============================================================
   KALIBOR STORE — Premium Storefront CSS
   Brand: Navy #0A1F44 | Orange #FF7A00 | Font: Poppins
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; color: #1a1a2e; background: #f5f6fa; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- Typography Weights ----------------------------------- */
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* --- Brand Colors ----------------------------------------- */
.text-navy  { color: #0A1F44; }
.text-orange { color: #FF7A00; }
.bg-navy    { background: #0A1F44; }
.bg-orange  { background: #FF7A00; }

/* --- Buttons ---------------------------------------------- */
.btn-primary {
  background: #FF7A00; color: #fff; border: none;
  border-radius: 8px; font-family: 'Poppins', sans-serif;
  font-size: .9rem; font-weight: 600; padding: .65rem 1.4rem;
  cursor: pointer; transition: all .2s; display: inline-flex;
  align-items: center; gap: 6px;
}
.btn-primary:hover { background: #e06d00; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,122,0,.3); }
.btn-outline-navy {
  background: transparent; color: #0A1F44;
  border: 2px solid #0A1F44; border-radius: 8px;
  font-family: 'Poppins', sans-serif; font-size: .9rem;
  font-weight: 600; padding: .6rem 1.3rem; cursor: pointer; transition: all .2s;
}
.btn-outline-navy:hover { background: #0A1F44; color: #fff; }

/* --- Section Header --------------------------------------- */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.section-title { font-size: 1.25rem; font-weight: 700; color: #0A1F44; position: relative; padding-bottom: 6px; }
.section-title::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 40px; height: 3px; background: #FF7A00; border-radius: 2px;
}
.section-viewall { color: #FF7A00; font-size: .85rem; font-weight: 600; transition: opacity .2s; }
.section-viewall:hover { opacity: .75; }

/* --- Product Card ----------------------------------------- */
.product-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(10,31,68,.07); transition: all .25s;
  position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(10,31,68,.13); }
.product-card .img-wrap { overflow: hidden; position: relative; aspect-ratio: 1/1; background: #f8f9fb; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .img-wrap img { transform: scale(1.07); }
.product-card .card-body { padding: .85rem 1rem 1rem; }
.product-card .product-name { font-size: .88rem; font-weight: 600; color: #0A1F44; margin-bottom: 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .price-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.product-card .price { font-size: 1rem; font-weight: 700; color: #FF7A00; }
.product-card .price-old { font-size: .82rem; color: #aaa; text-decoration: line-through; }
.product-card .quick-add {
  width: 100%; background: #0A1F44; color: #fff; border: none;
  border-radius: 7px; font-family: 'Poppins', sans-serif;
  font-size: .82rem; font-weight: 600; padding: .5rem;
  cursor: pointer; transition: background .2s;
}
.product-card .quick-add:hover { background: #FF7A00; }

/* Wishlist button */
.wishlist-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; background: rgba(255,255,255,.9);
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: all .2s;
  font-size: .95rem; color: #ccc;
}
.wishlist-btn:hover, .wishlist-btn.active { color: #e63946; background: #fff; transform: scale(1.1); }

/* Discount badge */
.discount-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: #FF7A00; color: #fff; font-size: .7rem;
  font-weight: 700; padding: 3px 8px; border-radius: 20px; letter-spacing: .3px;
}
.badge-new { background: #0A1F44; }
.badge-hot { background: #e63946; }

/* --- Category Card ---------------------------------------- */
.category-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(10,31,68,.07); text-align: center;
  padding: 1.4rem 1rem 1.2rem; transition: all .25s; cursor: pointer;
}
.category-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(10,31,68,.14); }
.category-card .cat-icon { font-size: 2rem; margin-bottom: .6rem; }
.category-card .cat-name { font-size: .88rem; font-weight: 600; color: #0A1F44; }
.category-card .cat-count { font-size: .75rem; color: #888; margin-top: 2px; }

/* --- Banner Card ------------------------------------------ */
.banner-card {
  border-radius: 16px; overflow: hidden; position: relative;
  min-height: 180px; display: flex; align-items: flex-end;
  background: #0A1F44; transition: transform .25s, box-shadow .25s;
}
.banner-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(10,31,68,.2); }
.banner-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-card .banner-body { position: relative; z-index: 1; padding: 1.2rem 1.4rem; background: linear-gradient(to top, rgba(10,31,68,.85) 0%, transparent 100%); width: 100%; }
.banner-card .banner-title { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.banner-card .banner-sub { color: rgba(255,255,255,.7); font-size: .8rem; }

/* --- Nav Tabs (orange underline) -------------------------- */
.kalibor-tabs { display: flex; gap: 0; border-bottom: 2px solid #eee; margin-bottom: 1.5rem; }
.kalibor-tabs .tab-item {
  padding: .6rem 1.2rem; font-size: .88rem; font-weight: 600;
  color: #888; cursor: pointer; border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: all .2s;
}
.kalibor-tabs .tab-item:hover { color: #0A1F44; }
.kalibor-tabs .tab-item.active { color: #FF7A00; border-bottom-color: #FF7A00; }

/* --- Breadcrumb ------------------------------------------- */
.breadcrumb-kalibor { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: #888; flex-wrap: wrap; margin-bottom: 1rem; }
.breadcrumb-kalibor a { color: #0A1F44; font-weight: 500; transition: color .2s; }
.breadcrumb-kalibor a:hover { color: #FF7A00; }
.breadcrumb-kalibor .sep { color: #ccc; }
.breadcrumb-kalibor .current { color: #FF7A00; font-weight: 600; }

/* --- Flash Sale Animation --------------------------------- */
@keyframes flash-pulse { 0%,100% { opacity: 1; } 50% { opacity: .6; } }
.flash-sale-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #e63946; color: #fff; font-size: .78rem;
  font-weight: 700; padding: 4px 12px; border-radius: 20px;
  animation: flash-pulse 1.4s ease-in-out infinite; letter-spacing: .4px;
}
.flash-timer { display: flex; gap: 6px; align-items: center; }
.flash-timer .time-box {
  background: #0A1F44; color: #fff; font-size: .85rem; font-weight: 700;
  width: 38px; height: 38px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.flash-timer .colon { color: #FF7A00; font-weight: 700; font-size: 1rem; }

/* --- Feature Boxes (Why Kalibor) -------------------------- */
.feature-box {
  background: #fff; border-radius: 14px; padding: 1.4rem;
  text-align: center; box-shadow: 0 2px 10px rgba(10,31,68,.06);
  transition: transform .2s;
}
.feature-box:hover { transform: translateY(-3px); }
.feature-box .feat-icon { font-size: 2rem; color: #FF7A00; margin-bottom: .7rem; }
.feature-box .feat-title { font-size: .9rem; font-weight: 700; color: #0A1F44; margin-bottom: 4px; }
.feature-box .feat-desc { font-size: .78rem; color: #888; line-height: 1.5; }

/* --- Brand Logo Slider ------------------------------------ */
.brand-logo-item {
  background: #fff; border-radius: 10px; padding: .8rem 1.2rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 64px; box-shadow: 0 1px 6px rgba(10,31,68,.07);
  filter: grayscale(100%); opacity: .55; transition: all .25s;
}
.brand-logo-item:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.04); }

/* --- Review / Testimonial Card ---------------------------- */
.review-card {
  background: #fff; border-radius: 14px; padding: 1.4rem;
  box-shadow: 0 2px 12px rgba(10,31,68,.07);
}
.review-card .stars { color: #FF7A00; font-size: .9rem; margin-bottom: .5rem; }
.review-card .review-text { font-size: .85rem; color: #444; line-height: 1.6; margin-bottom: .9rem; }
.review-card .reviewer { display: flex; align-items: center; gap: 10px; }
.review-card .reviewer-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #eee; }
.review-card .reviewer-name { font-size: .85rem; font-weight: 600; color: #0A1F44; }
.review-card .reviewer-date { font-size: .72rem; color: #aaa; }

/* --- WhatsApp Float Button -------------------------------- */
.whatsapp-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 999;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  transition: all .25s; text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.55); }

/* --- Sticky Cart Button (mobile) -------------------------- */
.sticky-cart-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  padding: 12px 16px; background: #fff;
  box-shadow: 0 -4px 20px rgba(10,31,68,.1);
}
.sticky-cart-bar .btn-cart {
  width: 100%; background: #FF7A00; color: #fff; border: none;
  border-radius: 10px; font-family: 'Poppins', sans-serif;
  font-size: 1rem; font-weight: 700; padding: .85rem;
  cursor: pointer; transition: background .2s;
}
.sticky-cart-bar .btn-cart:hover { background: #e06d00; }

/* --- Hover Lift Utility ----------------------------------- */
.hover-lift { transition: transform .22s, box-shadow .22s; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(10,31,68,.12); }

/* --- Swiper Customization --------------------------------- */
.swiper-pagination-bullet { background: #0A1F44; opacity: .3; }
.swiper-pagination-bullet-active { background: #FF7A00; opacity: 1; }
.swiper-button-next, .swiper-button-prev {
  background: #fff; width: 38px; height: 38px; border-radius: 50%;
  box-shadow: 0 2px 10px rgba(10,31,68,.15); color: #0A1F44 !important;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: .9rem !important; font-weight: 700; }
.swiper-button-next:hover, .swiper-button-prev:hover { background: #FF7A00; color: #fff !important; }

/* --- Mobile Responsive ------------------------------------ */
@media (max-width: 768px) {
  .sticky-cart-bar { display: block; }
  .section-title { font-size: 1.05rem; }
  .banner-card { min-height: 140px; }
  .flash-timer .time-box { width: 32px; height: 32px; font-size: .78rem; }
  .whatsapp-float { bottom: 80px; left: 16px; width: 48px; height: 48px; font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .kalibor-tabs .tab-item { padding: .5rem .8rem; font-size: .8rem; }
  .product-card .card-body { padding: .7rem .8rem .85rem; }
}
