@font-face {
    font-family: 'Franklin Gothic';
    src: url('admin/font/franklin/FRABK.ttf') format('truetype');
}
/* === Base Styles === */
body {
    font-family: 'Franklin Gothic', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* === Carousel === */
.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 400px;
}
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    background-color: rgba(100, 100, 100, 0.5);
    border: none;
    border-radius: 50%;
    margin: 0 4px;
    transition: background-color 0.3s, transform 0.3s;
}
.carousel-indicators [data-bs-target].active {
    background-color: #dc3545;
    transform: scale(1.2);
}

/* === Slick Slider === */
.slick-slide { margin: 0 10px; }
.slick-prev, .slick-next {
    z-index: 500;
    width: 30px;
    height: 30px;
    background: rgba(220, 53, 69, 0.7);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.slick-prev:hover, .slick-next:hover { background: rgba(220, 53, 69, 0.9); }
.slick-prev:before, .slick-next:before { color: #fff; font-size: 20px; }

/* === Section Headers === */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0 15px;
}
.section-heading { 
    font-weight: 600;
    color: #333; 
    font-size: 2rem; 
    letter-spacing: 0.5px; 
}
.view-more {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
}
.view-more:hover { text-decoration: underline; }

/* === Product Cards === */
.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
}

.product-image-frame {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    position: relative;
}
.product-image-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.product-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.75rem 0.75rem 15px 0.75rem;
    min-height: 130px;
    text-align: left;
    overflow: hidden;
}
.product-card-body .card-title {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    min-height: 2.6em; /* Ensure space for 2 lines */
    line-height: 1.3em;
    max-height: 2.6em;
    word-break: break-word;
}
.product-card, .btn-add-to-cart, .btn-wishlist {
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
}
.price-tag { font-size: 1rem; font-weight: 600; color: #dc3545; }
.price-tag > div {
  line-height: 1.2;
}
.btn-add-to-cart {
    background-color: #dc3545;
    border: none;
    color: #fff;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s;
    width: 100%;
    font-weight: 600;
}
.btn-add-to-cart:hover { background-color: #c82333; color: #fff !important; }
.btn-wishlist {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #b0b0b0; /* gray for not-yet-wishlisted */
    cursor: pointer;
    outline: none;
    padding: 0;
    margin: 0;
    border-radius: 20px;
    font-weight: 600;
    transition: color 0.2s;
}
.btn-wishlist i {
    color: #b0b0b0; /* gray for not-yet-wishlisted */
    transition: color 0.2s;
}
.btn-wishlist i.fas {
    color: #dc3545; /* red when wishlisted (solid heart) */
}
.btn-wishlist:hover i {
    color: #dc3545;
}
.reg-price {
    color: #888;
    text-decoration: line-through;
    font-size: 0.95em;
    margin-right: 2px;
    font-weight: 400;
    opacity: 0.8;
}
.sale-price {
    color: #dc3545;
    font-weight: 700;
    font-size: 1.1em;
}
.discount-badge {
    margin-left: 1px;         
    color: #dc3545;
    font-weight: 700;
    font-size: 0.75em;         
    vertical-align: middle;
}
.sale-badge-modern {
  position: absolute;
  top: 0.5rem;           
  right: 0.5rem;          
  z-index: 2;
  padding: 3px 12px 3px 10px; 
  border-radius: 16px 6px 16px 6px;
  background: linear-gradient(90deg, #ff512f 0%, #dd2476 100%);
  color: #fff;
  font-size: 0.85em;  
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(220,53,69,0.18);
  display: flex;
  align-items: center;
  gap: 4px;
}
.sale-badge-modern i {
  font-size: 1em;
  margin-right: 2px;
}
.product-image-frame { position: relative; }
/* === Sliders Visibility (JS will show) === */
.featured-slider, .bestsellers-slider, .newarrivals-slider { visibility: hidden; }

/* === Floating Messenger Button === */
.float-messenger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #0084FF;
    color: #fff;
    border-radius: 40px;
    padding: 16px 28px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.35);
    transition: transform 0.2s;
}
.float-messenger:hover { transform: scale(1.05); }
.float-messenger i { font-size: 32px; line-height: 1; }

@media (max-width: 576px) {
    html, body { max-width: 100vw; overflow-x: hidden; }
    .carousel-item img {
    width: 100vw;
    height: 100vw;
    max-width: 100%;
    max-height: 100vw;
    object-fit: cover;
    border-radius: 0;
    }
    .header-mob-wrapper {
    max-width: 100vw;
    left: 0;
    right: 0;
    }
    .slick-prev, .slick-next { width: 40px; height: 40px; }
    .slick-prev:before, .slick-next:before { font-size: 24px; }
    .float-messenger {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px;
    font-size: 16px;
    }
    .float-messenger i { font-size: 26px; }
}
.swal2-modern-popup {
  border-radius: 18px !important;
  box-shadow: 0 8px 32px rgba(220,53,69,0.12) !important;
  padding: 1.5em 1.5em 1.2em 1.5em !important;
}
.swal2-modern-title {
  font-family: 'Franklin Gothic', sans-serif;
  font-size: 1.3em;
  color: #dc3545;
  font-weight: 700;
}
.swal2-modern-content {
  font-size: 1em;
  color: #333;
}
.swal2-icon.swal2-success {
  border-color: #dc3545 !important;
  color: #dc3545 !important;
}
