/* ####################################################
    :: Template Name: Essence - Fashion Ecommerce Template
    :: Author: Colorlib
    :: Author URL: https://colorlib.com
    :: Description: Essence is smart & elegant fashion e-commerce Template. It's suitable for all e-commerce business platform.
    :: Version: 1.0.0
    :: Created: April 27, 2018
    :: Last Updated: May 2, 2018
    #################################################### */

    /* ---------------------------------------
    ##### - PLACE YOUR CUSTOM CSS HERE - #####
    --------------------------------------- */

    /* Thêm Google Fonts Roboto hỗ trợ tiếng Việt */
    @import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap&subset=vietnamese');

    :root {
      --theme-color: #0288D1;
      --theme-color-light: #03A9F4;
    }

    body, html {
        font-family: 'Roboto', Arial, Tahoma, Verdana, sans-serif;
    }
    
    .featured-product-img {
      width: 100%;
      height: 260px;
      object-fit: cover;
      border-radius: 10px;
      display: block;
      background: #f8f8f8;
    }

    .benefit-icon-img {
      width: 56px;
      height: 56px;
      object-fit: contain;
      margin-bottom: 16px;
      display: inline-block;
    }

    /* Toàn bộ nội dung liên hệ trong newsletter luôn hiển thị màu trắng trên nền tối */
    .newsletter-text li a, .newsletter-text li span {
      color: #fff !important;
    }

    /* Showroom Info Style */
.newsletter-showroom {
  margin-top: 24px;
}

.newsletter-showroom h6 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 500;
}

.newsletter-showroom ul {
  padding-left: 0;
  margin-bottom: 0;
}

.newsletter-showroom li {
  color: #fff;
  font-size: 14px;
  margin-bottom: 6px;
  line-height: 1.7;
}

.newsletter-showroom li b {
  color: var(--theme-color);
  font-weight: 600;
}

/* Carousel caption improvements: tăng độ tương phản cho text trên ảnh */
.carousel-caption {
  left: 50%;
  top: 70%;
  bottom: auto;
  right: auto;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(246, 239, 239, 0.45);
  border-radius: 12px;
  padding: 0 2vw;
  width: 90%;
  max-width: 700px;
}
.carousel-title {
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: -1px;
  color: #222;
  text-shadow: none;
  margin-bottom: 0.5em;
  text-align: center;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .carousel-title { font-size: 1.3rem; }
  .carousel-caption { padding: 0 0.5vw; }
}

.category-filter {
  color: #111 !important;
}

/* Product Details Carousel Indicators Styling */
#product_details_slider .carousel-indicators {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 15px 0;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 5px 0;
    max-width: 100%;
}

#product_details_slider .carousel-indicators li {
    display: inline-block;
    width: 80px;
    height: 60px;
    margin: 0 5px;
    background-size: cover;
    background-position: center;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

#product_details_slider .carousel-indicators li.active {
    opacity: 1;
    border-color: var(--theme-color);
    transform: scale(1.05);
}

#product_details_slider .carousel-indicators li:hover {
    opacity: 1;
    border-color: var(--theme-color-light)  ;
}

/* Scrollbar styling for webkit browsers */
#product_details_slider .carousel-indicators::-webkit-scrollbar {
    height: 6px;
}

#product_details_slider .carousel-indicators::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#product_details_slider .carousel-indicators::-webkit-scrollbar-thumb {
    background: var(--theme-color);
    border-radius: 3px;
}

#product_details_slider .carousel-indicators::-webkit-scrollbar-thumb:hover {
    background: var(--theme-color-light);
}

/* Product Detail Section Heading Styling */
.single-product-area .section-heading {
    margin-top: 60px;
    margin-bottom: 40px;
    padding: 0 15px;
}

.single-product-area .section-heading h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.single-product-area .section-heading .line {
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--theme-color), var(--theme-color-light));
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.single-product-area .section-heading .line::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 7px;
    background: var(--theme-color);
    border-radius: 50%;
}

/* Product Long Description Content Styling */
.product-long-description-content {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 40px;
    margin: 0 15px 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-long-description-content:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* Typography styling for long description */
.product-long-description-content h1,
.product-long-description-content h2,
.product-long-description-content h3,
.product-long-description-content h5,
.product-long-description-content h6 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-long-description-content h1 { font-size: 32px; }
.product-long-description-content h2 { 
    font-size: 26px; 
    border-bottom: 2px solid var(--theme-color-light);
    padding-bottom: 8px;
    display: inline-block;
}
.product-long-description-content h3 { 
    font-size: 22px;
    color: var(--theme-color);
}
.product-long-description-content h5 { font-size: 16px; }
.product-long-description-content h6 { font-size: 14px; }

.product-long-description-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 15px;
}

/* Lists styling */
.product-long-description-content ul,
.product-long-description-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.product-long-description-content li {
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
}

.product-long-description-content ul li::before {
    content: '▶';
    color: var(--theme-color);
    position: absolute;
    left: -18px;
    font-size: 12px;
}

/* Strong/Bold text styling */
.product-long-description-content strong,
.product-long-description-content b {
    color: #333;
    font-weight: 600;
}

/* Table styling */
.product-long-description-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-long-description-content th,
.product-long-description-content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e8e8e8;
}

.product-long-description-content th {
    background: linear-gradient(135deg, var(--theme-color), var(--theme-color-light));
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.product-long-description-content td {
    color: #666;
    font-size: 14px;
}

.product-long-description-content tr:hover {
    background: #f9f9f9;
}

/* Blockquote styling */
.product-long-description-content blockquote {
    background: linear-gradient(135deg, #fff8e1, #fff3c4);
    border-left: 4px solid var(--theme-color);
    margin: 25px 0;
    padding: 20px 25px;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.product-long-description-content blockquote::before {
    content: '"';
    font-size: 48px;
    color: var(--theme-color);
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: serif;
}

.product-long-description-content blockquote p {
    color: #555;
    font-style: italic;
    margin-bottom: 0;
    font-size: 16px;
}

/* Responsive design */
@media (max-width: 768px) {
    .single-product-area .section-heading {
        margin-top: 40px;
        margin-bottom: 25px;
    }
    
    .single-product-area .section-heading h2 {
        font-size: 22px;
    }
    
    .product-long-description-content {
        padding: 25px 20px;
        margin: 0 0 40px;
        border-radius: 8px;
    }
    
    .product-long-description-content h2 {
        font-size: 22px;
    }
    
    .product-long-description-content h3 {
        font-size: 18px;
    }
    
    .product-long-description-content table {
        font-size: 12px;
    }
    
    .product-long-description-content th,
    .product-long-description-content td {
        padding: 8px 10px;
    }
}
