@charset "UTF-8";

/* Fonts (local): English = Roboto, Thai = Kanit */
/*
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/roboto-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/kanit-thai-300.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/kanit-thai-400.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/kanit-thai-500.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/kanit-thai-600.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Kanit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/kanit-thai-700.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
*/

body,
body .alt-font,
body .is-alt-font {
  font-family: 'Roboto', 'Kanit', sans-serif !important;
}

html {
    scroll-behavior: smooth;
}

ul li {
    margin-left: 0 !important; 
}

h4 {
    margin-bottom: 0 !important;
}

/* ===================================================
   KHUNNAIMAE CHILD THEME - theme.css
   =================================================== */

/* ===== COLOR TOKENS ===== */
:root {
  --color-gold:        #EA6624;
  --color-gold-light:  #d4a84b;
  --color-red:         #C33436;
  --color-cream:       #fdf6e3;
  --color-white:       #ffffff;
  --color-text:        #363636;
}

a:hover {
  color: #000 ;
}
button,
.button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.woocommerce-Button,
.wc-block-components-button,
.wp-block-button__link {
  border-radius: 50px !important;
}

button:hover,
.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.woocommerce-Button:hover,
.wc-block-components-button:hover,
.wp-block-button__link:hover {
  color: #ffffff !important;
  background-color: #EA6624 ;
}

select,
input {
  border-radius: 8px !important;
}

/* quantity +/- ต้องคง shape ข้างเดียว */
.quantity .button.plus  { border-radius: 0 50px 50px 0 !important; }
.quantity .button.minus { border-radius: 50px 0 0 50px !important; }
/* ===== FOOTER ===== */
#top-link {
  background-color: #363636;
  color: #fff;
}
.nav-dropdown-has-border .nav-dropdown {
  border-radius: 20px;
}

/* footer_links UX Block */
.footer-links-wrap {
  display: flex;
  gap: 48px;
  padding: 40px 0;
}

.footer-col-title {
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-list li {
  margin-bottom: 10px;
}

.footer-link-list a {
  color: var(--color-white);
  font-size: 13px;
  opacity: 0.85;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-link-list a:hover {
  opacity: 1;
}

/* Absolute footer bar */
.absolute-footer {
  background-color: #1A1A1A !important;
  color: var(--color-white);
}

.absolute-footer a {
  color: var(--color-white);
}

.absolute-footer .footer-primary {
  float: none;
  width: 100%;
}

.absolute-footer .copyright-footer {
  text-align: center;
}

/* footer-links UX Block (Customizer > Footer > Footer Block) */
.hik-footer {
  padding: 30px 0 25px;
  font-family: 'Roboto', 'Kanit', sans-serif;
  font-size: 15px;
  color: #000;
}

.hik-footer a {
  color: #000;
}

.hik-footer a:hover {
  color: #EA6624;
}

.hik-footer h4 {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 14px !important;
}

.hik-footer ul {
  list-style: none;
  margin: 0;
}

.hik-footer ul li {
  margin-bottom: 4px;
  line-height: 1.4;
}

.hik-footer .about-us li,
.hik-footer .contact-us li {
  margin-bottom: 7px;
}
/*
.header-nav.header-nav-main .account-item.has-icon a:before{
    content: '';
    background: url(/wp-content/themes/images/icon/icon-add-to-cart.svg) no-repeat 0 0 / 25px;
    width: 25px;
    height: 25px;
    display: inline-block;
    background-repeat: no-repeat;
}
*/

/* Column 1: brand */
.hik-footer-logo .img-inner {
  max-width: 136px;
}

.hik-footer-logo {
  margin-bottom: 12px;
}

.hik-footer .footer-desc {
  font-weight: 600;
  line-height: 1.5;
  max-width: 380px;
  margin-bottom: 18px;
}

.hik-footer .footer-address {
  position: relative;
  padding-left: 20px;
  line-height: 1.35;
  margin-bottom: 24px;
}

.hik-footer .footer-address::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 13px;
  height: 13px;
  background: url('../images/footer/icon-location.svg') no-repeat center / contain;
}

.hik-footer .social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.hik-footer .social-icons a {
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: opacity 0.2s;
}

.hik-footer .social-icons a:hover {
  opacity: 0.75;
}

.hik-footer .social-fb      { background-image: url('../images/footer/icon-fb.svg'); }
.hik-footer .social-line    { background-image: url('../images/footer/icon-line.svg'); }
.hik-footer .social-youtube { background-image: url('../images/footer/icon-youtube.svg'); }

.hik-footer-dbd .img-inner {
  max-width: 180px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* Column 4: contact */
.hik-footer .contact-us li {
  position: relative;
  padding-left: 30px;
  white-space: nowrap;
}

.hik-footer .contact-us li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background: no-repeat center / contain;
}

.hik-footer .contact-us li.mail {
  white-space: normal;
  overflow-wrap: anywhere;
}

.hik-footer .contact-us li.tel::before  { background-image: url('../images/footer/icon-call.svg'); }
.hik-footer .contact-us li.mail::before { background-image: url('../images/footer/icon-mail.svg'); }

.hik-footer .contact-us .name {
  display: inline-block;
  min-width: 48px;
}

.hik-footer .location-btn {
  margin-top: 22px;
}

.hik-footer .btn-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 180px;
  height: 40px;
  border-radius: 50px;
  background: #EA6624;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.hik-footer .btn-location::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url('../images/footer/icon-location-white.svg') no-repeat center / contain;
}

.hik-footer .btn-location:hover {
    filter: brightness(0.8);
    color: #fff !important;
}
li.html.widget_shopping_cart {
    padding: 15px;
}
.nav-dropdown>li.html {
    min-width: 360px !important;
}
a.button.wc-forward {
    background-color: #EA6624;
}
a.button.checkout.wc-forward {
    background-color: #000;
}

/* Desktop column widths from docs/section/footer.png */
@media (min-width: 850px) and (max-width: 1279px) {
  .hik-footer > .hik-footer-col { flex-basis: 33.333%; max-width: 33.333%; }
  .hik-footer > .hik-footer-col:nth-child(1) { flex-basis: 100%; max-width: 100%; }
}

@media (min-width: 1280px) {
  .hik-footer > .hik-footer-col:nth-child(1) { flex-basis: 37.7%; max-width: 37.7%; }
  .hik-footer > .hik-footer-col:nth-child(2) { flex-basis: 26.3%; max-width: 26.3%; }
  .hik-footer > .hik-footer-col:nth-child(3) { flex-basis: 16.7%; max-width: 16.7%; }
  .hik-footer > .hik-footer-col:nth-child(4) { flex-basis: 19.3%; max-width: 19.3%; }
}

/*-- Header --*/
#masthead {
  border-bottom: 1px solid #eee;
}

li.header-divider {
  display: none !important;
}

.header-svg-icon-wrap {
  background-color: #EA6624;
  padding: 8px 30px;
  border-radius: 50px;
}

.header-main .dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon .dgwt-wcas-ico-magnifier-handler {
  margin-top: -4px;
}

.nav-left {
  justify-content: space-between;
}

#logo img {
  padding: 10px 0;
}
/*-- Header --*/

/*-- Search Box --*/
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
  border-radius: 100px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
/*-- Search Box --*/

/*-- Menu --*/
.current-menu-item > a {
  color: var(--color-red);
}
.icon-menu:before {
    color: #EA6624;
    font-size: 1.85rem;
}
.off-canvas .nav-vertical>li>a {
    font-size: 1.1rem;
    font-weight: 400;
}
.header-main .nav > li > a {
  font-size: 1.1rem;
  font-weight: 400;
  padding: 8px 0;
  color: #222;
}

/* Center nav items within the left nav column and increase gap between items.
   nav-right (icon group) keeps its flex-end alignment untouched.
   hide-for-medium on the parent already excludes mobile. */
.header-nav-main.nav-left {
  justify-content: center;
  gap: 35px;
}

.header-nav-main.nav-left > li {
  margin: 0 !important;
}

/* Equal 20px spacing between header icons (search, wishlist, account, cart).
   Reset Flatsome's per-li margin so gap is the single source of spacing.
   width: max-content prevents dropdowns or inherited min-width from stretching
   the li and creating uneven visual gaps. */
.header-nav-main.nav-right {
  display: flex;
  align-items: center;
}

.header-nav-main.nav-right > li {
  margin: 0 !important;
  padding: 0 !important;
  width: max-content;
}

/* Zero out horizontal padding on every icon link so no link class
   (nav-top-link, wishlist-link, etc.) contributes extra lateral space. */
.header-nav-main.nav-right > li > a {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/*-- Menu --*/

/*-- Header SVG Icons --*/
.header-svg-icon {
  display: block;
  vertical-align: middle;
}

.header-svg-icon-wrap {
  display: inline-block;
  position: relative;
  line-height: 1;
}

.header-wishlist-icon .header-svg-icon-wrap {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

/* Override DGWT plugin's max-width cap and fix search icon to 28×49. */
.dgwt-wcas-ico-magnifier-handler,
.dgwt-wcas-ico-magnifier {
  display: block;
  width: 22px;
  height: 39px;
  min-width: 22px;
  min-height: 39px;
  max-width: none;
  max-height: none;
  fill: unset;
  filter: none;
}

/* Flatsome header search icon (element-search.php). */
.header-search .header-svg-icon {
  width: 22px;
  height: 39px;
  min-width: 22px;
  min-height: 39px;
}
/*-- Header SVG Icons --*/

/*-- Header Top Bar (docs/section/header.png) --*/
#top-bar.header-top {
    min-height: 40px;
    border-bottom: 1px solid #D2D2D2;
}

@media (min-width: 850px) {
.icon-menu:before {
    color: #fff;
    font-size: 1.85rem;
}
  #top-bar .flex-row {
    justify-content: space-between;
    gap: 30px;
  }

  #top-bar .flex-row > .flex-col {
    flex: 0 0 auto;
  }

  /* Clearfix pseudo-elements would count as flex items and add a trailing gap. */
  #top-bar .flex-row::before,
  #top-bar .flex-row::after {
    display: none;
  }
}

.hik-tb {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
}

.hik-tb::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background: center / contain no-repeat;
}

.hik-tb-call::before { background-image: url(../images/header/icon-call.svg); }
.hik-tb-mail::before { background-image: url(../images/header/icon-mail.svg); }
.hik-tb-location::before { background-image: url(../images/header/icon-location.svg); }

.hik-tb a,
.hik-tb a:hover {
  color: #fff !important;
}

.hik-tb a:hover {
  opacity: .8;
}

.hik-tb a + a {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid #fff;
  line-height: 14px;
}

/* GTranslate language pill: shows the current language (.gt-current-lang,
   kept up to date by GTranslate's JS); the other languages drop below on hover. */
.hik-lang {
  position: relative;
  z-index: 30;
  display: inline-flex;
  flex-direction: column;
  height: 24px;
  margin-left: 14px;
  vertical-align: middle;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, .2);
}

.hik-lang:hover {
  overflow: visible;
}

.hik-lang a {
  display: flex;
  align-items: center;
  height: 24px;
  padding: 0 10px 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
}

.hik-lang a.gt-current-lang {
  order: -1;
}

.hik-lang a.gt-current-lang::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: 4px;
  background: #fff;
  -webkit-mask: url(../images/header/icon-drop-drown.svg) center / contain no-repeat;
  mask: url(../images/header/icon-drop-drown.svg) center / contain no-repeat;
}

.hik-lang a:not(.gt-current-lang) {
  margin-top: 4px;
  border-radius: 12px;
  background: #fff;
  color: #EA6624 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

#top-bar .html_top_right_text {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

@media (max-width: 849px) {
  .hik-tb {
    font-size: 13px;
  }
}
/*-- Header Top Bar --*/

/*-- Header Main --*/
#logo img {
  width: 100%;
  height: auto;
}

@media (max-width: 849px) {
  #logo {
    width: 200px !important;
  }
}

.header-button-1 .button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 30px;
  background-color: #EA6624;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: none;
}

.header-button-1 .button::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-right: 6px;
  background: url(../images/header/icon-quotation.svg) center / contain no-repeat;
}

/* Swap Flatsome's icon-font glyphs for the SVG icons from docs/images. */
.header-main .header-search > a > .icon-search,
.header-main .header-wishlist-icon .wishlist-icon,
.header-main .account-item > a > .icon-user {
  display: block;
  width: 26px;
  height: 26px;
  background: center / contain no-repeat;
    margin: 0 10px;
}

.header-main .header-search > a > .icon-search::before,
.header-main .header-wishlist-icon .wishlist-icon::before,
.header-main .account-item > a > .icon-user::before {
  content: none;
}

.header-main .header-search > a > .icon-search { 
    background-image: url(../images/header/icon-search-black.svg); 
}

.header-main .header-wishlist-icon .wishlist-icon {
    background-image: url(../images/icon-favorite.svg);
}

span.hide-for-medium.header-wishlist-title {
    font-size: 0;
}
.header-main .account-item > a {
    background: url(../images/header/icon-user.svg) no-repeat 0 0 / 27px;
    width: 27px;
    height: 27px;
    margin-right: 10px !important;
}
li.account-item.has-icon {
    display: inline-block;
    position: relative;
    bottom: -4px;
}
.header-compare a:before {
    content: '';
    background: url(/wp-content/themes/tps/images/icon-compare.svg) no-repeat 0 0 / 25px;
    width: 25px;
    height: 25px;
    display: inline-block;
    background-repeat: no-repeat;
    font-size: 0;
}
.manage-header:before {
    content: '';
    background: url(/wp-content/themes/tps/images/icon/icon-user.svg) no-repeat 0 0 / 25px;
    width: 25px;
    height: 25px;
    display: inline-block;
    background-repeat: no-repeat;
}
button.woocommerce-button.button {
    background-color: #EA6624;
}


/* Undo the old pink square from cms.css. */
.header-main .nav li.cart-item a.header-cart-link {
  width: auto;
  height: auto;
  background-color: transparent;
}

.header-main .cart-icon.image-icon {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0;
  background: url(../images/cart.svg) center / contain no-repeat;
}

.header-main .cart-icon.image-icon strong {
    position: absolute;
    top: auto;
    right: -12px;
    bottom: -2px;
    left: auto;
    width: 16px;
    min-width: 16px;
    height: 16px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    color: #000 !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    font-family: 'Roboto', 'Kanit', sans-serif;
}

.header-main .cart-icon.image-icon strong::after {
  display: none;
}
/*-- Header Main --*/

/* ── Footer Variables ── */
.knm-footer {
  --gold:      #C89B3C;
  --gold-dark: #A07A28;
  --gold-btn:  #C8973A;
  --white:     #FFFFFF;
  --white-dim: rgba(255,255,255,0.85);
  --white-muted: rgba(255,255,255,0.65);
  --font-th:   'Roboto', 'Kanit', sans-serif;
}

/* ── Base ── */
.knm-footer {
  color: var(--white);
  font-family: var(--font-th);
  font-size: 15px;
  padding: 40px 0 32px;
  width: 100%;
}

.knm-footer *,
.knm-footer *::before,
.knm-footer *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.knm-footer a {
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.knm-footer a:hover {
  color: var(--white);
}

/* ── Container ── */
.knm-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: minmax(420px, auto) 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ── Column 1: Brand ── */
.knm-footer__logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.knm-footer__logo-img {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.knm-footer__brand-text {}

.knm-footer__brand-en {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.knm-footer__brand-th {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

/* Contact */
.knm-footer__contact {
  list-style: none;
  margin-bottom: 18px;
}

.knm-footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white-dim);
  font-size: 16px;
  line-height: 1.8;
  margin-left: 3px !important;
}

.knm-footer__contact li img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Social Icons */
.knm-footer__social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.knm-footer__social a { 
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.knm-footer__social a:hover {
  opacity: 0.75;
}

.knm-footer__social img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* Location Button */
.knm-footer__location-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 12px 90px;
  font-family: var(--font-th);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none !important;
}

.knm-footer__location-btn:hover {
  background: var(--gold-dark);
  color: var(--white) !important;
}

.knm-footer__location-btn img {
  width: 24px;
  height: 24px;
}

/* ── Columns 2–4: Nav ── */
.knm-footer__nav-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.knm-footer__nav-list {
  list-style: none;
}

.knm-footer__nav-list li {
  margin-bottom: 10px;
  margin-left: 0 !important;
}

.knm-footer__nav-list a {
  font-size: 16px;
  color: var(--white-dim);
}

.knm-footer__nav-list a:hover {
  color: var(--white);
}

/* ── Badges ── */
.knm-footer__badges {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.knm-footer__badges img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
p.name.product-title.woocommerce-loop-product__title a:hover {
    color: #EA6624 !important;
}
button.wpcsb-btn.button.alt {
    width: 150px;
    margin-bottom: 0;
}
/* ── Responsive ── */
@media (max-width: 1024px) {
  .knm-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .knm-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .knm-footer {
    padding: 32px 0 24px;
  }
}

/* Wishlist button icon (Product Detail page) */
.single-product .yith-wcwl-add-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-product .yith-wcwl-add-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.single-product .yith-wcwl-add-button i,
.single-product .yith-wcwl-add-button img,
.single-product .yith-wcwl-add-button svg {
  display: none !important;
}

.single-product .yith-wcwl-add-button a::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('../images/icon/icon-heart-white.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Add to cart button icon (Product Detail page) */
.single-product .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.single-product .single_add_to_cart_button::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('../images/icon/cart.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
    filter: brightness(0) invert(1);
}
/*dot*/
.slider-show-nav .flickity-page-dots .dot {
    border: none !important;
    width: 5px;
}
.flickity-page-dots .dot.is-selected {
    background-color: #fff !important;
    opacity: 1 !important;
}
.flickity-page-dots .dot.is-selected {
    background-color: #EA6624 !important;
    border: none !important;
    opacity: 1 !important;
}
.flickity-page-dots .dot.is-selected {
    background-color: #EA6624 !important;
    opacity: 1 !important;
}
.nav-dots-small .flickity-page-dots .dot, .row-slider .flickity-page-dots .dot {
    height: 8px !important;
    width: 8px !important;
}
.row.home-catalog .flickity-page-dots .dot.is-selected {
    background-color: #fff !important;
    opacity: 1 !important;
}
.row.home-catalog .flickity-page-dots {
    bottom: -20px;
}
.row.home-catalog .flickity-page-dots .dot {
    height: 8px !important;
    width: 8px !important;
}


/*ปุ่ม products*/
button.woosc-btn:hover {
    background-color: #EA6624;
}
.add-to-cart-button .button:hover {
    filter: brightness(0.8);
}
a.quick-view.quick-view-added:before {
    content: '';
    background: url(/wp-content/themes/tps/images/icon/icon-search.svg) no-repeat 0 0 / 18px;
    width: 18px;
    height: 18px;
    display: inline-block;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
}
.add-to-cart-button a:before{
    content: '';
    background: url(/wp-content/themes/tps/images/icon/icon-add-to-cart.svg) no-repeat 0 0 / 20px;
    width: 20px;
    height: 20px;
    display: inline-block;
    background-repeat: no-repeat;
}
a.quick-view.quick-view-added {
    font-size: 0;
    background-color: #EA6624;
    border: 1px solid #E2E2E2;
    width: 43px;
    height: 43px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
button.single_add_to_cart_button.button.alt {
    background-color: #EA6624;
    border-radius: 8px !important;
}
a.quick-view.quick-view-added:hover {
    background-color: #EA6624;
}
button.wishlist-button {
    border: none !important;
    line-height: 0 !important;
    margin: 0 !important;
}
button.wishlist-button:hover {
    background-color: transparent !important;
}
.flickity-page-dots .dot {
    height: 8px !important;
    width: 8px !important;
    border-radius: 50% !important;
/*    background-color: #737272 !important;*/
}
.flickity-page-dots .dot.is-selected{
    background-color: #fff !important;
}
.row-banner-promotion .flickity-page-dots .dot.is-selected{
    background-color: #EA6624 !important;
}
.row-products .flickity-page-dots .dot.is-selected{
    background-color: #EA6624 !important;
}
.row-products li.dot {
    margin: 0 5px !important;
}
.row-brands .flickity-page-dots .dot.is-selected{
    background-color: #EA6624 !important;
}
.row.row-blog-box .flickity-page-dots .dot.is-selected{
    background-color: #EA6624 !important;
}
.row-brands .slider-nav-light .flickity-page-dots .dot {
    border-color: #111;
    opacity: .2;
}
.row-brands .slider-nav-dots-simple .flickity-page-dots .dot {
    background-color: #EA6624 !important;
    border: 4px solid;
}
.row-banner-promotion .slider-nav-light .flickity-page-dots .dot {
    border-color: #111;
    opacity: .2;
    border: 4px solid;
}
.row-banner-promotion .flickity-page-dots {
    bottom: -20px; 
}
/*ช่องค้นหา*/
input#woocommerce-product-search-field-1 {
    border-radius: 5px 0 0 5px !important;
}
input#woocommerce-product-search-field-0 {
    border-radius: 5px !important;
        box-shadow: none;
}
.nav-dropdown-has-border .nav-dropdown {
    border: none !important;
}
.searchform-wrapper:not(.form-flat) .submit-button, .widget_search .submit-button {
    border-radius: 0 5px 5px 0 !important;
        background-color: #C43436;
}


/*ลูกศรสินค้า*/
.slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
    margin-top: 0 !important;
}
button.flickity-button.flickity-prev-next-button:hover {
    background-color: #EA6624 ;
}

.flickity-prev-next-button {
    opacity: 1 !important;
}
 .flickity-button.previous {
        background: url(/wp-content/themes/tps/images/icon/icon-arrow-left-white.svg) center / 18px auto;
        width: 18px;
        height: 18px;
        background-repeat: no-repeat;
    }
.flickity-button.next {
        background: url(/wp-content/themes/tps/images/icon/icon-arrow-right-white.svg) center / 18px auto;
        width: 18px;
        height: 18px;
        background-repeat: no-repeat;
}
path.arrow {
    display: none;
}
/*ปุ่มหน้า blog*/
button.wp-block-search__button.wp-element-button {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #EA6624;
}
input#wp-block-search__input-1 {
    border-radius: 50px !important;
}
/*related-products*/
.related-products-wrapper .flickity-button.flickity-prev-next-button {
    display: none;
}
/*page producr*/
.product-footer .tabbed-content .nav>li>a {
    font-size: 1.2rem;
    border: none;
}
/*ตะกร้าสินค้า*/
a.button-continue-shopping.button.primary.is-outline {
    background-color: #EA6624;
    border-color: #EA6624;
    color: #fff;
}
button.button.primary.mt-0.pull-left.small {
    background-color: #EA6624;
    border-color: #EA6624;
    color: #fff;
    opacity: 1;
}
.checkout.woocommerce-checkout .col-inner.has-border {
    border-radius: 20px;
}
.is-form, button.is-form, button[type=submit].is-form {
    text-shadow: none !important;
}
/*page account*/
nav.woocommerce-MyAccount-navigation a {
    font-size: 1.1rem;
}
.dashboard-links a {
    border-radius: 15px !important;
}
.dashboard-links a:hover {
    background-color: #ddd !important;
}
/*ลาเบล*/
span.awl-product-label.awl-type-label {
    width: 70px;
    height: 45px;
}
span.awl-label-text {
    line-height: 3 !important;
    padding-left: 20px !important;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 20px 0 20px 0 !important; 
}
/*submenu*/
.nav-dropdown-default {
    padding: 0px !important; 
}

@media (min-width: 768px){

    .slider-show-nav .flickity-page-dots {
        width: auto;
        height: 20px;
        white-space: nowrap;
        overflow: hidden;
    }
.home-slide .flickity-page-dots {
        width: unset;
        height: 20px;
        white-space: nowrap;
        overflow: hidden;
    }
}
@media (min-width: 850px){
    .searchform-wrapper:not(.form-flat) .submit-button, .widget_search .submit-button {
    border: none;
    background-color: transparent;
}
    button.ux-search-submit.submit-button {
    position: absolute;
    top: 0;
    right: 0;
}
}
@media (min-width: 992px){
    .header-nav-main.nav-left {
        justify-content: space-evenly;
        gap: 0px;
    }
        .header-nav.header-nav-main .menu-item {
    margin: 0 7px !important;
}
    #logo img {
  width: 60%;
  height: auto;
}
}
@media (min-width: 1200px){
    .header-nav.header-nav-main .menu-item {
    margin: 0 10px !important;
}
#logo img {
  width: 100%;
  height: auto;
}
}