@charset "UTF-8";
#product-template {
  /* Bỏ padding-top do .bg-while global gây khoảng trắng trên gallery */ }
  #product-template .sticky-gallery {
    position: sticky;
    position: -webkit-sticky;
    top: 10px; }
    @media only screen and (max-width: 767px) {
      #product-template .sticky-gallery {
        position: static !important;
        top: auto; } }
  @media only screen and (max-width: 767px) {
    #product-template .bg-while {
      padding: 15px 10px; } }
  #product-template .gallery-product-template .bg-while {
    padding-top: 0 !important;
    padding-bottom: 0 !important; }
  #product-template .gallery-product-template #sl-product-thumb {
    position: relative; }
    #product-template .gallery-product-template #sl-product-thumb[data-widththumb="true"] {
      width: 64px;
      flex-shrink: 0; }
      #product-template .gallery-product-template #sl-product-thumb[data-widththumb="true"] > #slider-thumb:not(.slick-initialized) {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-direction: column; }
        #product-template .gallery-product-template #sl-product-thumb[data-widththumb="true"] > #slider-thumb:not(.slick-initialized) > div {
          width: 100%;
          flex: 0 0 100%; }
    #product-template .gallery-product-template #sl-product-thumb[data-widththumb="false"] {
      width: 100%;
      order: 2;
      margin-top: 10px; }
      #product-template .gallery-product-template #sl-product-thumb[data-widththumb="false"] > div {
        margin: 0 -5px; }
      #product-template .gallery-product-template #sl-product-thumb[data-widththumb="false"] .item {
        padding: 0 5px; }
        #product-template .gallery-product-template #sl-product-thumb[data-widththumb="false"] .item a {
          margin-bottom: 0; }
    #product-template .gallery-product-template #sl-product-thumb #slider-thumb:not(.slick-initialized) .item:nth-child(n+6) {
      display: none; }
    @media (max-width: 767px) {
      #product-template .gallery-product-template #sl-product-thumb #slider-thumb:not(.slick-initialized) .item {
        flex: 0 0 100%;
        width: 100%; }
      #product-template .gallery-product-template #sl-product-thumb #slider-thumb:not(.slick-initialized) .item:nth-child(n+2) {
        display: none; } }
    #product-template .gallery-product-template #sl-product-thumb #slider-thumb .item {
      border: none; }
      #product-template .gallery-product-template #sl-product-thumb #slider-thumb .item.slick-current a {
        border: 1px solid #000; }
      #product-template .gallery-product-template #sl-product-thumb #slider-thumb .item a {
        margin-bottom: 6px;
        border: 1px solid transparent;
        z-index: 9;
        display: block;
        position: relative; }
        #product-template .gallery-product-template #sl-product-thumb #slider-thumb .item a:before {
          display: block;
          padding-bottom: 125%;
          content: ""; }
        #product-template .gallery-product-template #sl-product-thumb #slider-thumb .item a img {
          position: absolute;
          height: 100%;
          width: 100%;
          object-fit: var(--typeimageproduct);
          object-position: center;
          left: 0;
          top: 0; }
  #product-template .gallery-product-template .product-gallery {
    position: relative; }
    #product-template .gallery-product-template .product-gallery[data-widthgallery="true"] {
      width: calc(100% - 64px);
      padding-left: 10px; }
    #product-template .gallery-product-template .product-gallery[data-widthgallery="false"] {
      width: 100%;
      order: 1; }
    @media only screen and (max-width: 767px) {
      #product-template .gallery-product-template .product-gallery {
        padding-left: 0px !important;
        width: 100% !important; } }
    #product-template .gallery-product-template .product-gallery .item a {
      z-index: 9;
      display: block;
      position: relative; }
      #product-template .gallery-product-template .product-gallery .item a:before {
        display: block;
        padding-bottom: 100%;
        content: ""; }
      #product-template .gallery-product-template .product-gallery .item a img {
        position: absolute;
        height: 100%;
        width: 100%;
        object-fit: var(--typeimageproduct);
        object-position: center;
        left: 0;
        top: 0; }
  #product-template .product-content .head-product-title {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap; }
    #product-template .product-content .head-product-title h1 {
      font-size: 24px;
      font-weight: 600;
      color: #000;
      text-transform: capitalize;
      display: inline-block;
      margin: 0; }
      @media only screen and (max-width: 767px) {
        #product-template .product-content .head-product-title h1 {
          font-size: 20px; } }
      #product-template .product-content .head-product-title h1:after {
        color: #fff;
        padding: 2px 7px;
        font-size: 11px;
        border-radius: 3px;
        margin: 0;
        display: inline-block;
        content: attr(data-available);
        position: relative;
        top: -5px;
        left: 5px; }
      #product-template .product-content .head-product-title h1.green:after {
        background: #38bf57; }
      #product-template .product-content .head-product-title h1.soldout-red:after {
        background: #ff0000; }
  #product-template .product-info {
    margin-bottom: 10px;
    line-height: 20px; }
    #product-template .product-info .title {
      font-weight: bold;
      color: var(--colorshophover); }
    #product-template .product-info .line-info {
      margin: 0 10px; }
      @media (max-width: 400px) {
        #product-template .product-info .line-info:nth-child(4) {
          display: none; } }
  #product-template #pro-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px; }
    #product-template #pro-price .price-now {
      font-size: 26px;
      color: var(--colorshop);
      font-weight: 700; }
    #product-template #pro-price .badge-discount-pct {
      display: inline-flex;
      align-items: center;
      background: var(--colorshophover);
      color: #fff;
      font-size: 12px;
      font-weight: 600;
      padding: 3px 9px;
      border-radius: 999px; }
    #product-template #pro-price .price-compare del {
      font-size: 14px;
      color: #aaa;
      font-weight: 400;
      text-decoration: line-through; }
  #product-template .flex-100 {
    width: 100%;
    flex: 0 0 100%;
    margin-top: 10px; }
    #product-template .flex-100 button {
      width: 100% !important;
      flex: 0 0 100% !important;
      max-width: 100% !important; }
  #product-template .bg-countdown-product {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    background: #e60000;
    background: linear-gradient(90deg, #e60000 0%, rgba(238, 110, 7, 0.872987) 55%, rgba(254, 207, 23, 0.83097) 89%); }
    @media (max-width: 480px) {
      #product-template .bg-countdown-product {
        display: block;
        padding: 5px; } }
    #product-template .bg-countdown-product .count-down-index {
      margin: 0; }
      @media (max-width: 480px) {
        #product-template .bg-countdown-product .count-down-index {
          justify-content: space-between; } }
      #product-template .bg-countdown-product .count-down-index > span {
        color: #fff;
        text-transform: uppercase;
        font-weight: 600; }
    #product-template .bg-countdown-product .countdown-deal {
      margin-left: 25px; }
      @media (max-width: 480px) {
        #product-template .bg-countdown-product .countdown-deal {
          margin-left: 0; } }
      #product-template .bg-countdown-product .countdown-deal li {
        margin-right: 10px;
        text-align: center;
        padding: 5px 7px;
        background: #fff;
        min-width: 40px;
        height: 40px;
        border-radius: 5px;
        color: #000;
        line-height: 16px; }
        @media (max-width: 480px) {
          #product-template .bg-countdown-product .countdown-deal li {
            margin-right: 5px; } }
        #product-template .bg-countdown-product .countdown-deal li small {
          display: block; }
  #product-template .product-description-tab .nav {
    border-bottom: 1px solid #e4e7e6;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .05em;
    margin-bottom: 20px;
    float: left;
    width: 100%; }
    #product-template .product-description-tab .nav li {
      background: #f7f7fb;
      margin: 0 -1px 0 0;
      float: left;
      position: relative;
      display: block; }
      #product-template .product-description-tab .nav li a {
        font-weight: 700;
        color: #000;
        text-transform: uppercase;
        margin: 0;
        border: 1px solid #e4e7e6;
        border-bottom: 0;
        padding: 12px 15px 10px;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
        border-radius: 0;
        -webkit-transition: none;
        -moz-transition: none;
        -o-transition: none;
        display: block;
        line-height: 1.42857143;
        font-weight: 400; }
      #product-template .product-description-tab .nav li.active, #product-template .product-description-tab .nav li:hover {
        border-top: 3px solid var(--colorshophover); }
        #product-template .product-description-tab .nav li.active a, #product-template .product-description-tab .nav li:hover a {
          border: 1px solid #e4e7e6;
          border-width: 0 1px;
          color: #000;
          padding-bottom: 11px;
          padding-top: 10px;
          margin-bottom: -1px;
          cursor: pointer;
          background-color: #fff; }
  #product-template .product-description-tab .tab-pane {
    display: none; }
    #product-template .product-description-tab .tab-pane.active {
      display: block; }
    @media (max-width: 767px) {
      #product-template .product-description-tab .tab-pane {
        display: block;
        margin-top: 0px; }
        #product-template .product-description-tab .tab-pane .tab-mobile {
          font-size: 16px;
          font-weight: 600;
          padding: 10px 0;
          border-bottom: 1px solid #000; }
          #product-template .product-description-tab .tab-pane .tab-mobile:after {
            content: "+";
            float: right;
            top: -1px;
            position: relative; }
          #product-template .product-description-tab .tab-pane .tab-mobile.active-show:after {
            content: "–"; }
        #product-template .product-description-tab .tab-pane:last-child .tab-mobile {
          border: none; }
        #product-template .product-description-tab .tab-pane .more-description {
          display: none;
          padding-top: 15px; } }

.size-chart {
  border: none;
  background: none;
  font-weight: bold;
  margin-left: 20px;
  display: flex;
  align-items: center;
  cursor: pointer; }
  .size-chart img {
    margin-right: 5px; }

.swatch .header {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  color: #525252;
  margin-bottom: 6px; }
  .swatch .header > span {
    margin-left: 3px;
    font-weight: 400;
    color: #000; }

.location-store p {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
  cursor: pointer; }
  .location-store p span {
    margin-left: 5px; }
  .location-store p #toggle-location {
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    top: 2px;
    left: 7px; }

.location-store ul {
  padding: 10px;
  border: 1px dashed var(--bgshop);
  max-height: 232px;
  overflow-y: auto;
  max-width: 100%;
  display: none;
  width: max-content; }
  .location-store ul::-webkit-scrollbar {
    width: 5px;
    background-color: var(--bgshop); }
  .location-store ul::-webkit-scrollbar-thumb {
    background-color: var(--bgshop);
    border: none; }
  .location-store ul li {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin-bottom: 7px; }
    .location-store ul li .dist {
      font-weight: bold; }
    .location-store ul li span {
      line-height: 21px; }

.location-store.fast-active ul {
  display: inline-block; }
  @media (max-width: 767px) {
    .location-store.fast-active ul {
      display: block; } }

/* App  xy */
.selector-buyxgety {
  float: left; }

#buyxgety-program {
  margin: 0;
  border: 2px dotted #4c88d3;
  padding: 10px;
  position: relative;
  min-height: 155px;
  z-index: 0;
  background-color: rgba(76, 136, 211, 0.05); }
  @media (max-width: 767px) {
    #buyxgety-program {
      padding: 10px 0; } }

#buyxgety-program .buyxgety-heading {
  padding: 5px 10px;
  position: relative;
  padding-right: 60px; }

#buyxgety-program .buyxgety-heading p {
  margin-bottom: 0; }

#buyxgety-program .buyxgety-heading h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px; }

#buyxgety-program .buyxgety-heading:after {
  content: "";
  position: absolute;
  width: 35px;
  height: 35px;
  right: 10px;
  top: 6px;
  background-image: url("");
  background-repeat: no-repeat;
  background-size: contain; }

#buyxgety-program .modal-body {
  padding: 15px 30px; }

.buyxgety_item {
  display: -webkit-flex;
  display: flex;
  padding: 5px 10px 10px; }

.buyxgety_item .buyxgety_checkbox {
  width: 35px;
  float: left;
  padding-top: 7px; }

.buyxgety_item .buyxgety_image {
  width: 60px;
  float: right; }

.buyxgety_item .buyxgety_item_title {
  width: calc(100% - 95px);
  float: right;
  padding-left: 15px; }
  .buyxgety_item .buyxgety_item_title strong {
    color: red; }
  .buyxgety_item .buyxgety_item_title span {
    color: var(--colorshophover); }

.buyxgety_item .buyxgety_list_variant select {
  font-size: 94%;
  font-style: italic;
  min-width: 110px;
  outline: none;
  padding: 1px 15px 2px;
  margin: 2px 0 5px; }

.buyxgety_item .buyxgety_checkbox input[type=radio] {
  cursor: pointer;
  width: 15px;
  height: 15px; }

/* product review custom */
#review-product-detail #hrv-product-reviews #hrv-product-reviews-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-direction: row;
  align-items: self-start;
  position: relative; }
  #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #btnSubmitReview {
    min-width: 200px;
    background: var(--bg_button);
    color: var(--color_button); }
  #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub .hrv-product-reviews-summary {
    width: 100%;
    padding-top: 0;
    order: 1; }
    #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub .hrv-product-reviews-summary h3 {
      display: none; }
  #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub .product-reviews-summary-actions {
    display: none; }
  #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #hrv-product-reviews-form {
    display: block !important;
    width: 50%;
    flex: 0 0 50%;
    padding-left: 0;
    order: 3;
    transform: none !important;
    transition: none !important;
    height: max-content !important;
    align-content: flex-start;
    position: sticky;
    position: -webkit-sticky;
    top: 0; }
    #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #hrv-product-reviews-form textarea {
      max-height: 100px; }
    #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #hrv-product-reviews-form h3 {
      display: none; }
    #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #hrv-product-reviews-form fieldset {
      padding: 5px 0;
      border: none; }
  #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #hrv-product-reviews-thanks {
    order: 4;
    width: max-content;
    transform: none !important;
    transition: none !important;
    height: max-content !important;
    margin: 0;
    padding: 0 !important;
    font-size: 18px;
    color: green; }
    @media (min-width: 992px) {
      #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #hrv-product-reviews-thanks {
        position: absolute;
        top: 15px; } }
  #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub .hrv-product-reviews-list {
    width: 50%;
    flex: 0 0 50%;
    padding-left: 10px;
    order: 3; }
    #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub .hrv-product-reviews-list > div:first-child {
      border-top: none; }
  #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #dv-product-review-paging {
    order: 5;
    text-align: right;
    width: 100%; }
    #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #dv-product-review-paging .btnPaging {
      background: var(--bg_button);
      color: var(--color_button); }
  @media (max-width: 767px) {
    #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub {
      flex-direction: inherit;
      align-items: flex-start;
      justify-content: flex-start; }
      #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #hrv-product-reviews-form, #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #hrv-product-reviews-thanks, #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub .hrv-product-reviews-list {
        flex: 0 0 100%;
        width: 100%;
        position: relative;
        padding-left: 0; }
        #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #hrv-product-reviews-form > div, #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #hrv-product-reviews-thanks > div, #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub .hrv-product-reviews-list > div {
          padding: 10px 0; }
          #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #hrv-product-reviews-form > div .hrv-product-reviews-star i, #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #hrv-product-reviews-thanks > div .hrv-product-reviews-star i, #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub .hrv-product-reviews-list > div .hrv-product-reviews-star i {
            font-size: 13px; }
          #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #hrv-product-reviews-form > div p, #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #hrv-product-reviews-thanks > div p, #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub .hrv-product-reviews-list > div p {
            margin-bottom: 5px; }
      #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #dv-product-review-paging {
        text-align: center; }
      #review-product-detail #hrv-product-reviews #hrv-product-reviews-sub #hrv-product-reviews-thanks {
        order: 3; } }

#product-template .top-title {
  margin-bottom: 30px;
  text-align: center; }
  #product-template .top-title .title-section {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-bottom: 5px; }
    #product-template .top-title .title-section span {
      display: flex;
      align-items: center;
      font-size: 20px;
      text-transform: uppercase;
      font-weight: 700; }
    @media (max-width: 767px) {
      #product-template .top-title .title-section span {
        font-size: 18px; } }
  #product-template .top-title p {
    text-align: center;
    color: #878787;
    font-style: italic;
    margin: 0;
    display: inline-block;
    padding-top: 15px;
    position: relative;
    min-width: 150px; }
    #product-template .top-title p.fsnone {
      font-size: 0; }
    #product-template .top-title p:before {
      content: "///";
      color: #000;
      position: absolute;
      top: -5px;
      left: 50%;
      transform: translateX(-50%);
      width: 20px;
      text-align: center;
      background: #fff;
      z-index: 9;
      font-size: 14px; }
    #product-template .top-title p:after {
      content: "";
      width: 120px;
      height: 1px;
      background: #000;
      position: absolute;
      top: 5px;
      left: 15px; }

#product-template .slick-callback .slick-arrow .arrow-custom > div {
  background-color: #ccc; }

@media only screen and (min-width: 768px) {
  #product-template .coupon-product {
    padding-bottom: 0; } }

@media only screen and (max-width: 767px) {
  [data-template="product"] .fixed-action-btn {
    bottom: 100px; }
  .product-fixed-buy-mart {
    position: fixed;
    z-index: 999;
    bottom: 0;
    width: 100%;
    background: #fff;
    bottom: -60px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s; }
    .show-buy-mobile .product-fixed-buy-mart {
      bottom: 0; }
    .product-fixed-buy-mart ul {
      justify-content: space-between;
      margin-right: -10px;
      box-shadow: 0 0 5px 0px #929292;
      padding: 8px 12px; }
      .product-fixed-buy-mart ul li {
        flex: 0 0 calc(50% - 10px);
        text-align: center;
        padding: 12px 15px;
        margin-right: 10px;
        border-radius: 999px;
        font-weight: 600;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center; }
        .product-fixed-buy-mart ul li#add-to-cart-wanda {
          background: #000;
          color: #fff; }
        .product-fixed-buy-mart ul li#buynow-wanda {
          color: #000;
          background: transparent;
          border: 1.5px solid #000; }
  .wd-list-coupon .item {
    margin-bottom: 0; } }

#modal-sizechart > div {
  overflow-y: auto;
  max-height: 50vh; }

/* ===== Reeta Sport — Product detail restyle ===== */
/* === Gallery: thumb dọc nhỏ gọn, ảnh chính lớn hơn === */
#product-template .gallery-product-template #sl-product-thumb[data-widththumb="true"] {
  width: 72px;
  flex-shrink: 0; }

#product-template .gallery-product-template #sl-product-thumb #slider-thumb .item a {
  margin-bottom: 4px;
  border-radius: 4px;
  overflow: hidden; }
  #product-template .gallery-product-template #sl-product-thumb #slider-thumb .item a:before {
    padding-bottom: 100%; }

#product-template .gallery-product-template #sl-product-thumb #slider-thumb .item.slick-current a {
  border: 2px solid var(--colorshophover); }

#product-template .gallery-product-template .product-gallery[data-widthgallery="true"] {
  width: calc(100% - 72px);
  padding-left: 8px; }

#product-template .gallery-product-template .product-gallery .item a {
  border-radius: 6px;
  overflow: hidden; }
  #product-template .gallery-product-template .product-gallery .item a:before {
    padding-bottom: 100%; }

/* === Coupon inline (dưới giá, trước swatch) === */
.coupon-product-inline {
  margin-bottom: 14px; }
  .coupon-product-inline .coupon-tabs-wrap .coupon-tabs-list {
    margin-bottom: 8px; }

/* ===== Swatch màu — pill ngang, double ring khi active (Coolmate) ===== */
.swatch .select-swap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px; }

.swatch .select-swap .n-sd.color {
  /* active: viền tối */ }
  .swatch .select-swap .n-sd.color input[type="radio"] {
    display: none; }
  .swatch .select-swap .n-sd.color label {
    display: block !important;
    cursor: pointer;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
    line-height: 0 !important;
    margin-bottom: 0 !important;
    /* reset border đỏ JS .sd */ }
    .swatch .select-swap .n-sd.color label.sd {
      border: none !important; }
    .swatch .select-swap .n-sd.color label span {
      display: block !important;
      width: 36px !important;
      height: 22px !important;
      border-radius: 999px !important;
      border: none !important;
      background-size: cover !important;
      background-position: center !important;
      font-size: 0 !important;
      /* inactive: viền xám mỏng */
      box-shadow: 0 0 0 1.5px #d0d0d0 !important;
      transition: box-shadow 0.18s ease; }
    .swatch .select-swap .n-sd.color label:hover span {
      box-shadow: 0 0 0 1.5px #888 !important; }
  .swatch .select-swap .n-sd.color input:checked + label span,
  .swatch .select-swap .n-sd.color input.color-change:checked + label span,
  .swatch .select-swap .n-sd.color input:checked + label.sd span {
    box-shadow: 0 0 0 2px #333 !important; }
  .swatch .select-swap .n-sd.color input:checked + label,
  .swatch .select-swap .n-sd.color input:checked + label.sd {
    border: none !important; }
  .swatch .select-swap .n-sd.color.soldout label span {
    opacity: 0.4;
    cursor: not-allowed; }

/* ===== Swatch size — pill Coolmate: 44px cao, radius 12px, no border ===== */
.swatch .select-swap .n-sd:not(.color) input[type="radio"] {
  display: none; }

.swatch .select-swap .n-sd:not(.color) label {
  display: block !important;
  cursor: pointer;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  line-height: normal !important;
  margin-bottom: 0 !important;
  /* reset border đỏ JS .sd */ }
  .swatch .select-swap .n-sd:not(.color) label.sd {
    border: none !important; }
  .swatch .select-swap .n-sd:not(.color) label span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 50px !important;
    height: 44px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    border: none !important;
    background: #d1d1d1 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #525252 !important;
    transition: background 0.18s, color 0.18s;
    box-shadow: none !important; }
  .swatch .select-swap .n-sd:not(.color) label img.img-check {
    display: none !important; }
  .swatch .select-swap .n-sd:not(.color) label:hover span {
    background: #b8b8b8 !important;
    color: #333 !important; }

.swatch .select-swap .n-sd:not(.color) input:checked + label span,
.swatch .select-swap .n-sd:not(.color) input:checked + label.sd span {
  background: #000 !important;
  color: #fff !important;
  font-weight: 400 !important; }

.swatch .select-swap .n-sd:not(.color).soldout label span {
  background: #ebebeb !important;
  color: #bbb !important;
  cursor: not-allowed !important;
  text-decoration: line-through !important; }

/* Nút Thêm vào giỏ & Mua ngay — base */
.add-to-cart-style,
.buynow-style {
  height: 52px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, opacity 0.2s; }
  @media (hover: hover) {
    .add-to-cart-style:hover,
    .buynow-style:hover {
      opacity: 0.88; } }
  .add-to-cart-style:disabled,
  .buynow-style:disabled {
    opacity: 0.5;
    cursor: not-allowed; }

.add-to-cart-style {
  background: #000;
  color: #fff !important;
  flex: 1;
  min-width: 120px; }

.buynow-style {
  background: #fff !important;
  color: #000 !important;
  border: 1.5px solid #000 !important;
  min-width: 110px;
  flex-shrink: 0; }
  @media (hover: hover) {
    .buynow-style:hover {
      background: #000 !important;
      color: #fff !important;
      opacity: 1; } }

/* === Layout nút: [qty pill | Thêm vào giỏ]  [Mua ngay] — cùng 1 hàng, 2 pill riêng === */
.selector-actions .wrap-addcart {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%; }

.row-flex {
  display: flex !important;
  flex: 1;
  align-items: stretch;
  flex-wrap: nowrap !important;
  gap: 0;
  background: #000 !important;
  border-radius: 999px !important;
  overflow: hidden;
  height: 52px !important;
  margin-right: 0 !important;
  min-width: 0; }
  .row-flex .quantity-area {
    flex-shrink: 0;
    border: none !important;
    border-radius: 999px !important;
    background: #525252 !important;
    display: flex;
    align-items: center;
    padding: 0;
    height: 52px;
    margin: 0; }
    .row-flex .quantity-area .qty-btn {
      background: transparent !important;
      color: #fff !important;
      font-size: 20px;
      font-weight: 300;
      width: 38px;
      height: 52px;
      line-height: 52px;
      border: none !important;
      border-radius: 0 !important; }
      @media (hover: hover) {
        .row-flex .quantity-area .qty-btn:hover {
          background: rgba(255, 255, 255, 0.12) !important; } }
    .row-flex .quantity-area .quantity-selector {
      background: transparent !important;
      color: #fff !important;
      border: none !important;
      border-left: 1px solid rgba(255, 255, 255, 0.25) !important;
      border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
      width: 40px;
      height: 52px;
      text-align: center;
      font-size: 15px;
      font-weight: 600; }
  .row-flex .add-to-cart-style {
    flex: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    height: 52px !important;
    align-self: stretch;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-right: 0 !important;
    font-size: 14px;
    font-weight: 500;
    color: #fff !important;
    letter-spacing: 0;
    padding: 0 10px; }
  .row-flex .buynow-style.hidden-xs,
  .row-flex .buynow-inline {
    display: none !important; }
  @media only screen and (max-width: 767px) {
    .row-flex {
      border-radius: 8px !important; } }

/* Pill "Mua ngay" riêng bên phải */
.buynow-separate {
  flex-shrink: 0;
  height: 52px !important;
  min-width: 110px;
  padding: 0 20px;
  border-radius: 999px !important;
  background: #fff !important;
  color: #000 !important;
  border: 1.5px solid #000 !important;
  font-size: 14px;
  font-weight: 500;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s; }
  @media (hover: hover) {
    .buynow-separate:hover {
      background: #000 !important;
      color: #fff !important; } }
  @media only screen and (max-width: 767px) {
    .buynow-separate {
      display: none !important; } }

/* Ẩn buynow-desktop-row (không dùng nữa) */
.buynow-desktop-row {
  display: none !important; }

.selector-actions.d-flex {
  gap: 0;
  flex-wrap: wrap;
  padding-top: 10px; }
  .selector-actions.d-flex .wrap-addcart {
    width: 100%; }

.swatch .select-swap label,
.swatch .select-swap input,
.swatch .select-swap label span {
  outline: none !important; }

.quantity-area {
  display: flex;
  align-items: center;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0; }
  .quantity-area .qty-btn {
    width: 36px;
    height: 48px;
    border: none;
    background: #fff;
    font-size: 18px;
    cursor: pointer;
    color: var(--colorshop); }
    .quantity-area .qty-btn:hover {
      background: #f5f5f5; }
  .quantity-area .quantity-selector {
    width: 44px;
    height: 48px;
    border: none;
    border-left: 1px solid #d9d9d9;
    border-right: 1px solid #d9d9d9;
    text-align: center;
    font-size: 14px;
    font-weight: 600; }

/* ===== Coupon — Coolmate style: pill cam nhạt + tooltip hover ===== */
.coupon-wrap-cm {
  padding: 0; }

.coupon-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px; }
  .coupon-row .coupon-row-label {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    white-space: nowrap;
    flex-shrink: 0; }
  .coupon-row .coupon-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center; }

/* Wrapper mỗi pill — cần position:relative để tooltip định vị */
.coupon-pill-wrap {
  position: relative;
  display: inline-flex; }

/* Pill tag — nền cam nhạt, chữ cam, không border, bo góc */
.coupon-pill-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 4px;
  border: none;
  background: #fde8d8;
  font-size: 13px;
  font-weight: 400;
  color: #f75c02;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s; }
  @media (hover: hover) {
    .coupon-pill-tag:hover {
      background: #fbd3b8; } }

/* Tooltip — ẩn mặc định, hiện khi hover pill-wrap */
.coupon-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  min-width: 240px;
  max-width: 300px;
  pointer-events: none; }

.coupon-pill-wrap:hover .coupon-tooltip,
.coupon-pill-wrap:focus-within .coupon-tooltip {
  display: block;
  pointer-events: auto; }

.coupon-tooltip-inner {
  background: #fff;
  border: 1px solid #f0e0d6;
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px; }

/* Arrow chỉ xuống */
.coupon-tooltip-arrow {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #fff;
  margin: 0 auto;
  position: relative; }
  .coupon-tooltip-arrow:before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #f0e0d6;
    z-index: -1; }

.coupon-tooltip-top {
  display: flex;
  flex-direction: column;
  gap: 4px; }

.coupon-tooltip-name {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  line-height: 1.4; }

.coupon-tooltip-cond {
  font-size: 11px;
  color: #888;
  line-height: 1.4; }

.coupon-tooltip-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px dashed #f0e0d6; }
  .coupon-tooltip-bottom .coupon-tooltip-code-label {
    font-size: 12px;
    color: #555; }
    .coupon-tooltip-bottom .coupon-tooltip-code-label strong {
      color: #f75c02;
      font-weight: 700;
      letter-spacing: 0.5px; }
  .coupon-tooltip-bottom .coupon-copy-btn {
    padding: 3px 10px;
    border: 1px solid #f75c02;
    background: #fff;
    color: #f75c02;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s; }
    @media (hover: hover) {
      .coupon-tooltip-bottom .coupon-copy-btn:hover {
        background: #f75c02;
        color: #fff; } }

.coupon-tooltip-expiry {
  font-size: 11px;
  color: #aaa; }

/* Trên mobile: tooltip hiện dưới pill thay vì trên */
@media only screen and (max-width: 767px) {
  .coupon-tooltip {
    bottom: auto;
    top: calc(100% + 8px); }
    .coupon-tooltip .coupon-tooltip-arrow {
      border-top: none;
      border-bottom: 7px solid #fff;
      position: absolute;
      top: -7px;
      left: 50%;
      transform: translateX(-50%); }
      .coupon-tooltip .coupon-tooltip-arrow:before {
        border-top: none;
        border-bottom: 8px solid #f0e0d6;
        top: -1px; } }

/* Ẩn markup cũ */
.coupon-tabs-wrap,
.wd-list-coupon,
.coupon-detail-box {
  display: none !important; }

/* ===== MOBILE responsive — theo mẫu ===== */
@media only screen and (max-width: 767px) {
  /* Bỏ sticky gallery trên mobile */
  .sticky-gallery {
    position: static !important; }
  /* Color swatch mobile: oval */
  .swatch .select-swap .n-sd.color label span {
    width: 40px !important;
    height: 26px !important;
    border-radius: 999px !important;
    box-shadow: 0 0 0 1.5px #d0d0d0 !important; }
  /* Size pill mobile: nhỏ gọn */
  .swatch .select-swap .n-sd:not(.color) label span {
    min-width: 40px !important;
    height: 36px !important;
    padding: 0 10px !important;
    font-size: 13px !important; }
  /* row-flex mobile: giữ pill tròn */
  .row-flex {
    border-radius: 999px !important;
    width: 100% !important;
    flex: none !important; }
  /* Mobile: giá + badge + giá so sánh cùng 1 hàng */
  .product-detail .pro-price {
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 4px !important; }
    .product-detail .pro-price span {
      font-size: 12px !important; }
    .product-detail .pro-price .badge-sale-pct {
      font-size: 10px !important;
      padding: 2px 5px !important;
      flex-shrink: 0; }
    .product-detail .pro-price .compare-price {
      font-size: 11px !important;
      white-space: nowrap;
      flex-shrink: 0; }
  .selector-actions .wrap-addcart {
    flex-direction: column;
    gap: 10px; }
  /* Nút Mua ngay mobile (visible-xs) — full width, outline đen */
  .visible-xs .buynow-style,
  .flex-100 .buynow-style {
    width: 100% !important;
    height: 52px !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center;
    justify-content: center; } }
