/*
Theme Name: RunZone.vn
Description: RunZone chuyên cung cấp đồ chạy bộ và chạy trail.
Author: RunZone Team
Template: flatsome
Version: 1.0
*/
.badge {
    height: 1.5em !important;
}

.badge-container {
    margin: 15px 0 0 !important;
}
/* Top bar sale */
.promo-bar {
  width: 100%;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  position: relative;
}

.promo-track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}

.promo-track span {
  margin-right: 80px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* Khuyến mãi */
.home-flash-sale {
    position: relative;
    padding: 80px 40px;
    overflow: hidden;

    /* nền chính */
    background: linear-gradient(180deg,
            #ffe867 0%,
            #ffd91f 45%,
            #f3d300 100%);
}

.home-flash-sale::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center,
            rgba(255, 255, 255, 0.45) 0%,
            rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
}

.home-flash-sale::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 30%) top left,
        linear-gradient(-135deg, rgba(255, 255, 255, 0.12) 0%, transparent 30%) top right,
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 30%) bottom left,
        linear-gradient(-45deg, rgba(255, 255, 255, 0.08) 0%, transparent 30%) bottom right;
    background-size: 50% 50%;
    background-repeat: no-repeat;
    pointer-events: none;
}

.home-flash-sale h3 {
    font-size: 35px !important;
    padding-top: 20px;
}

.home-flash-sale h3 span {
    color: #000 !important;
}

.home-flash-sale h4.thin-font {
    position: relative;
    display: inline-block;
    padding: 10px 28px;
    width: 30%;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff !important;

    /* nền ribbon */
    background: linear-gradient(90deg,
            #ff5a1f 0%,
            #ff3c00 50%,
            #ff5a1f 100%);

    border-radius: 999px;

    /* chiều sâu */
    box-shadow:
        0 6px 18px rgba(255, 90, 31, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);

    z-index: 2;
    filter: drop-shadow(0 0 12px rgba(255, 90, 31, 0.35));
}

.home-flash-sale h4.thin-font::before,
.home-flash-sale h4.thin-font::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 70px;
    height: 2px;

    background: linear-gradient(90deg,
            transparent,
            rgba(0, 0, 0, 0.25));

    transform: translateY(-50%);
}

.home-flash-sale h4.thin-font::before {
    right: calc(100% + 15px);
}

.home-flash-sale h4.thin-font::after {
    left: calc(100% + 15px);
    transform: translateY(-50%) scaleX(-1);
}

.home-flash-sale .product-small.box {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

p.name.product-title.woocommerce-loop-product__title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4em;
    min-height: 2.8em;
}

/* badge-square */
.badge-square .on-sale {
    background: #ff3c00 !important;
}

#top-link {
    color: #000 !important;
}

/* Page product */
.buttons_added {
    width: 100% !important;
}

/* System style */
/* .title-wrapper .category {
    background: #f5e01b;
    padding: 5px 10px;
    font-weight: bold;
} */

.section:nth-child(even) {
    background: #f5f7fa;
}

.section:nth-child(odd) {
    background: #ffffff;
}

.price-wrapper {
    margin-top: 10px !important;
}
.price ins .amount{
    color: #d74001 !important;
}
.icon-angle-right {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #f2c94c;
    color: #000;
    border-radius: 50%;
    font-size: 15px;
    transition: all 0.2s ease;
}

.section-link:hover .icon-angle-right {
    transform: translateX(4px);
    background: #e0b93f;
}

.rz_product_bd .col-inner {
    border: 1px solid #6b72802e;
    padding: 5px;
    border-radius: 10px;
    background: #fff;
}

.section-title-normal span {
    border-bottom: 3px solid rgb(241 210 28) !important;
    font-size: 35px !important;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}

.section-header .section-title {
    font-size: 35px;
    font-weight: bold;
    color: #111;
    letter-spacing: -0.2px;
    margin: 0;
    position: relative;
    padding-bottom: 6px;
}

.section-header .section-title::after {
    content: "";
    width: 32px;
    height: 3px;
    background: #f2c94c;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 2px;

}

.section-header .section-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin-top: 4px;
    line-height: 1.5;
}

.section-header .section-link {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.section-header .section-link:hover {
    color: #f2c94c;
    transform: translateX(4px);
}

@media only screen and (max-width: 48em) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .home-flash-sale h4.uppercase {
        font-size: 34px;
        gap: 8px;
    }

    .home-flash-sale h4.uppercase::before {
        font-size: 24px;
    }

}

/* Home Css Category - Brand*/
.section-categories,
.section-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.section-categories a,
.section-brands a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 999px;
  transition: all .2s ease;
}

.section-categories a:hover,
.section-brands a:hover {
  border-color: #d4af37;
  color: #d4af37;
}

.section-categories a.active {
  background: #d4af37;
  border-color: #d4af37;
  color: #fff;
}