/* =============================
 SINGLE PRODUCT PAGE STYLE  
================================= */

/* =============== MAIN LAYOUT =============== */
.product-page-wrapper {
    padding: 40px 0;
  }
  
  /* =============== GALLERY SECTION =============== */
  .custom-gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .main-image-box img {
    width: 100%;
    border-radius: 10px;
    transition: opacity 0.3s ease;
  }
  
  .thumbnail-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  .thumbnail-row .thumb {
    width: 60px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
  }
  
  .thumbnail-row .thumb:hover,
  .thumbnail-row .thumb.active {
    border-color: #e53935;
  }
  
  /* =============== PRODUCT INFO =============== */
  .product-info-column {
    display: flex;
    flex-direction: column;
  }
  
  .delivery-tag {
    background-color: #ffe58a;
    color: #000;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .product-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 12px;
  }
  
  .product-price {
    font-size: 28px;
    color: #e53935;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
  }
  
  .review-count {
    font-size: 14px;
    color: #555;
  }
  
  .product-short-desc {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .cart {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  
  .cart .btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    cursor: pointer;
  }
  
  .primary-btn {
    background-color: #e53935;
    color: #fff;
  }
  
  .secondary-btn {
    background-color: #fbdcdc;
    color: #e53935;
  }
  
  .product-meta-icons {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
  }
  
  .share-icons i {
    margin-left: 10px;
  }
  
  /* =============== SHIPPING PANEL =============== */
  .product-shipping-panel {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    font-size: 14px;
  }
  
  .product-shipping-panel h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .product-shipping-panel ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
  }
  
  .product-shipping-panel ul li {
    margin-bottom: 8px;
  }
  
  .extra-info p {
    margin-bottom: 8px;
  }
  
/* =============== SECTION STYLES =============== */
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1E3D73; /* Happy brand blue */
}

.product-description,
.product-reviews {
  font-size: 15px;
  line-height: 1.7;
}

/* ================ BOOTRAP CAROUSEL ================ */
.related-products-section .product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.related-products-section .product-card img {
  max-height: 220px;
  object-fit: contain;
  width: 100%;
  display: block;
}

  /* =============== RESPONSIVE FIXES =============== */
  @media (max-width: 992px) {
    .cart {
      flex-direction: column;
    }
  
    .cart .btn {
      width: 100%;
    }
  
    .product-meta-icons {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .thumbnail-row {
      justify-content: center;
    }
  
    .product-shipping-panel {
      margin-top: 30px;
    }
  }
  
  @media (max-width: 576px) {
    .custom-gallery-wrapper {
      margin-bottom: 20px;
      padding: 0 12px;
    }
  
    .thumbnail-row {
      justify-content: center;
      padding-inline: 10px;
    }
  
    .product-info-column {
      padding: 0 12px;
    }
  
    .product-title {
      font-size: 22px;
    }
  
    .product-price {
      font-size: 20px;
    }
  
    .delivery-tag {
      font-size: 14px;
      padding: 6px 12px;
    }
  
    .cart .btn {
      font-size: 15px;
      padding: 10px 18px;
    }

  }
  
  /* ============================
   PRODUCT SINGLE : INQUIRY BOX
============================= */

.product-inquiry-box--framed {
  position: relative;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 2.2rem 1rem 1.2rem;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 100%;
  text-align: center;
  margin-bottom: 1.5rem;
}

.product-inquiry-box--framed__title {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #8B0000;
  border: 1px solid #333;
  border-radius: 20px;
  line-height: 1.4;
  z-index: 1;
}

.product-inquiry-box--framed__icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

/* General Icon Styling */
.product-inquiry-box--framed .inquiry-icon i  {
  font-size: 2.5rem;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Hover Zoom */
.inquiry-icon:hover {
  transform: scale(1.15);
}

/* Official Icon Colors */
.messenger-icon { color: #0084FF; }
.whatsapp-icon  { color: #25D366; }
.viber-icon     { color: #7360F2; }
.telephone-icon { color: #f5c518; }
.mobile-icon    { color: #00bcd4; }

  
  /* ==== CHECKOUT PAGE ==== */
 
  .woocommerce-checkout .button {
    background-color: #184B8B !important;
    color: #fff !important;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 12px 24px;
    border: none;
    width: 100%;
    margin-top: 1rem;
  }
  
  .woocommerce-checkout .button:hover {
    background-color: #0f3870 !important;
  }
  

  /* ====== LOGIN/REGISTER ===
  ============================ */
  .woocommerce-form .btn-primary {
    background-color: #184B8B;
    border: none;
  }
  
  .woocommerce-form .btn-danger {
    background-color: #B41E24;
    border: none;
  }
  
  .woocommerce-form .btn:hover {
    opacity: 0.9;
  }
  
  .woocommerce-form input {
    border-radius: 0.3rem;
  }
  
  /* ==== LOST PASSWORD FORM==== */
  .woocommerce-ResetPassword .btn {
    background-color: #184B8B;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.3s ease;
    border: none;
  }
  
  .woocommerce-ResetPassword .btn:hover {
    background-color: #0f3870;
  }
  
  .woocommerce-ResetPassword input {
    border-radius: 0.3rem;
  }
  
  /* == DASHBOARD PAGE == */
  .woocommerce .list-group-item.active {
    background-color: #184B8B;
    color: white;
    font-weight: bold;
  }
  
  .woocommerce .list-group-item-action:hover {
    background-color: #f2f2f2;
  }
  
  .woocommerce .dashboard-card {
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
  }
  
  .woocommerce .dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }
  

  /* === WISHLIST PAGE === */
  /* Wishlist Cards */
.card {
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
    border: none;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }
  
  .card-img-top {
    object-fit: cover;
    height: 200px;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
  }
  
  .card-title {
    font-size: 1rem;
    color: #333;
  }
  
  /* Empty and Logged-out States */
  .wishlist-empty,
  .not-logged-in-box {
    text-align: center;
    background-color: #f8f9fa;
    padding: 2.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  }
  
  .wishlist-empty i,
  .not-logged-in-box i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #B41E24;
  }
  
  .wishlist-empty h4,
  .not-logged-in-box h4 {
    font-weight: bold;
    color: #6c757d;
    margin-bottom: 0.5rem;
  }
  
  .wishlist-empty p,
  .not-logged-in-box p {
    color: #6c757d;
    font-size: 0.95rem;
  }
  
  /* Buttons */
  .btn-primary {
    background-color: #184B8B;
    border: none;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 4px;
  }
  
  .btn-primary:hover {
    background-color: #0f3870;
  }
  
  .btn-outline-primary {
    border-color: #184B8B;
    color: #184B8B;
  }
  
  .btn-outline-primary:hover {
    background-color: #184B8B;
    color: #fff;
  }
  
  .btn-outline-danger {
    border-color: #B41E24;
    color: #B41E24;
  }
  
  .btn-outline-danger:hover {
    background-color: #B41E24;
    color: #fff;
  }
  
  /* Responsive Fixes */
  @media (max-width: 576px) {
    .card-img-top {
      height: 160px;
    }
  
    .btn {
      width: 100%;
    }
  
    .d-flex.justify-content-center.gap-2 {
      flex-direction: column;
      align-items: stretch;
    }
  }

/* =====================
   SINGLE PRODUCT CARD
===================== */
.product-card {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensure spacing between image/content and button */
}

/* Equal height inside Swiper */
.swiper-slide {
  height: auto !important;
  display: flex;
}

.product-image-wrapper {
  width: 100%;
  padding-top: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image-wrapper {
  transform: scale(1.02);
}

/* Optional: Truncate product title to 2 lines */
.product-card .card-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Badges */
.bg-sale {
  background-color: #4178B8;
  color: #fff;
}

.bg-hot {
  background-color: #B22222;
  color: #fff;
}

/* Wishlist Icon */
.wishlist-icon {
  font-size: 1.3rem;
  color: #4178B8;
  cursor: pointer;
  transition: color 0.3s;
}

.wishlist-icon.text-danger {
  color: #B22222;
}

/* Add to Bag Button */
.btn-add-to-cart {
  background-color: #1F3F5B;
  color: #fff;
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 40px;
  font-weight: 500;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 48px;
  font-size: 0.8rem;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Ensures it's pushed to bottom if wrapped in flex column */
}

.btn-add-to-cart:hover {
  background-color: #B22222;
}

.btn-add-to-cart .add-label {
  transition: all 0.3s ease;
}

.btn-add-to-cart .cart-icon-centered {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0;
  transition: all 0.3s ease;
  color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
}

.btn-add-to-cart:hover .add-label {
  opacity: 0;
  transform: scale(0.8);
}

.btn-add-to-cart:hover .cart-icon-centered {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Price Styling */
.product-card .price,
.product-card .price ins {
  color: #a83032 !important;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-block;
}

.product-card .price del {
  color: #888 !important;
  font-size: 0.95rem;
  margin-right: 0.3rem;
}

.product-card .price ins {
  text-decoration: none;
}


/* =====================
   PRODUCT CARD 1 : INQUIRY SECTION
===================== */

.inquiry-section {
  background-color: #f0f0f0;
  height: 20%;
  min-height: 42px;
  padding: 0.6rem 0.8rem;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inquiry-icons {
  width: 80%;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.inquiry-icon {
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.inquiry-icon:hover {
  transform: scale(1.2);
}

/* Custom Icon Colors */
.messenger-icon { color: #0084FF; }
.whatsapp-icon { color: #25D366; }
.viber-icon     { color: #7360F2; }
.telephone-icon { color: #1f3f5b; }
.mobile-icon    { color: #00bcd4; }

/* Cart */
.cart-wrapper {
  width: 20%;
  display: flex;
  justify-content: flex-end;
}

.cart-static-square {
  width: 42px;
  height: 42px;
  background-color:#1f3f5b;
  border-radius: 1px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  padding: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cart-static-square:hover {
  background-color:  #B22222;
}

/* ==========================
  PRODUCT CARD SLIDER                   
========================== */

/* === Product Card Slider === */
.product-card-slider {
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  height: 100%;
}

.product-card-slider:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.product-card-slider__image {
  width: 100%;
  padding-top: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* === TRACK ORDER PAGE === */
.woocommerce-order-tracking input {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}

.woocommerce-order-tracking button {
  padding: 0.75rem 1.5rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  width: 100%;
}

.woocommerce-order-tracking button:hover {
  background-color: #0056b3;
}
