:root{
  --qpe-sale:#ee4d2d;
  --qpe-sale-dark:#d93f21;
  --qpe-sale-soft:#fff1ec;
  --qpe-yellow:#ffd84d;
  --qpe-green:#0b8f62;
  --qpe-pink:#d95d83;
  --qpe-blue:#2374c6;
  --qpe-text:#222;
}

.qpe-promo-bar{
  position:relative;z-index:30;display:flex;align-items:center;justify-content:center;
  gap:10px;flex-wrap:wrap;padding:9px 15px;
  background:linear-gradient(90deg,#fff3e4,#fff8d8);
  color:#9a2f1d;border-bottom:1px solid rgba(238,77,45,.18);font-size:14px
}
.qpe-countdown{background:var(--qpe-sale);color:#fff;padding:5px 10px;border-radius:4px;font-variant-numeric:tabular-nums;font-weight:800}

.qpe-flash-sale-section.qpe-shopee-style{
  overflow:hidden;background:#fff;border:1px solid #f1e3dc;border-radius:10px;padding:0;margin:20px 0;
  box-shadow:0 5px 20px rgba(35,25,20,.06)
}
.qpe-flash-header{
  display:flex;align-items:center;gap:18px;min-height:58px;padding:10px 18px;
  color:#fff;background:linear-gradient(100deg,var(--qpe-sale),#ff713c)
}
.qpe-flash-brand{display:flex;align-items:center;gap:8px;font-size:25px;letter-spacing:.02em;white-space:nowrap}
.qpe-flash-bolt{color:var(--qpe-yellow);filter:drop-shadow(0 2px 2px rgba(0,0,0,.18))}
.qpe-flash-slot{display:flex;flex-direction:column;line-height:1.15;padding-left:18px;border-left:1px solid rgba(255,255,255,.45)}
.qpe-flash-slot span{font-size:10px;font-weight:800;letter-spacing:.09em;opacity:.9}
.qpe-flash-slot b{font-size:15px}
.qpe-flash-countdown-label{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:13px;white-space:nowrap}
.qpe-flash-countdown{display:inline-flex;align-items:center;justify-content:center;min-width:88px;background:#fff;color:var(--qpe-sale);padding:6px 9px;border-radius:4px;font-weight:900;font-variant-numeric:tabular-nums}
.qpe-flash-products{padding:16px 14px 4px;background:#fff9f6}
.qpe-flash-products ul.products{margin-bottom:0}
.qpe-flash-products ul.products li.product,.qpe-flash-products .product-small{
  background:#fff;border:1px solid #f0e6e1;border-radius:7px;overflow:hidden;transition:.18s ease;
  box-shadow:0 2px 8px rgba(30,20,15,.035)
}
.qpe-flash-products ul.products li.product:hover,.qpe-flash-products .product-small:hover{transform:translateY(-2px);border-color:#f3ad99;box-shadow:0 8px 20px rgba(238,77,45,.12)}

.woocommerce ul.products li.product,.product-small,.box-image,.single-product div.product .woocommerce-product-gallery,.single-product .product-gallery{position:relative}
.qpe-image-promo-layer,.qpe-single-badges{position:absolute;inset:0;z-index:12;pointer-events:none;overflow:hidden}
.qpe-flash-ribbon{
  position:absolute;left:8px;top:8px;display:inline-flex;align-items:center;gap:4px;
  min-height:28px;padding:5px 10px;color:#fff;background:linear-gradient(135deg,#ff5f43,var(--qpe-sale));
  border-radius:4px 4px 4px 0;font-size:11px;font-weight:900;line-height:1;text-transform:uppercase;
  box-shadow:0 4px 10px rgba(238,77,45,.3)
}
.qpe-flash-ribbon:after{content:"";position:absolute;left:0;bottom:-5px;border-top:5px solid #a92f19;border-left:5px solid transparent}
.qpe-flash-ribbon span{color:var(--qpe-yellow);font-size:13px}
.qpe-image-mini-tags{
  position:absolute;left:8px;right:8px;bottom:8px;display:flex;align-items:flex-end;gap:4px;flex-wrap:wrap
}
.qpe-official-corner{position:absolute;top:8px;right:8px;display:flex;justify-content:flex-end;max-width:42%;z-index:2}
.qpe-badge{
  display:inline-flex;align-items:center;justify-content:center;min-height:20px;padding:3px 6px;
  border-radius:3px;color:#fff;font-size:8px;font-weight:850;line-height:1;text-transform:uppercase;
  letter-spacing:.01em;box-shadow:0 2px 7px rgba(0,0,0,.18);backdrop-filter:blur(2px)
}
.qpe-badge-voucher{background:rgba(217,93,131,.96)}
.qpe-badge-gift{background:rgba(231,146,20,.96)}
.qpe-badge-freeship{background:rgba(11,143,98,.96)}
.qpe-badge-shipping{background:rgba(35,116,198,.96)}

.qpe-price-stack{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;margin-top:6px}
.qpe-regular-price{font-size:.82em;color:#777;line-height:1.15}
.qpe-list-price,.qpe-current-price{font-size:.86em;color:#292929;line-height:1.25}
.qpe-list-price b,.qpe-current-price b{font-weight:800}
.qpe-flash-price{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;width:max-content;max-width:100%;font-size:1.13em;color:var(--qpe-sale);font-weight:900;line-height:1.2;padding:1px 9px}
.qpe-flash-price-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 25px;width:25px;height:25px;color:var(--qpe-sale);filter:drop-shadow(0 2px 3px rgba(238,77,45,.22));animation:qpe-flash-price-pulse 1.9s ease-in-out infinite}
.qpe-flash-icon-svg{display:block;width:100%;height:100%}
.qpe-flash-price.has-sparkle:before,.qpe-flash-price.has-sparkle:after{content:"";position:absolute;top:50%;width:13px;height:13px;transform:translateY(-50%);background:linear-gradient(90deg,transparent 42%,var(--qpe-secondary) 43% 57%,transparent 58%),linear-gradient(0deg,transparent 42%,var(--qpe-secondary) 43% 57%,transparent 58%);opacity:.9;animation:qpe-flash-spark 1.8s ease-in-out infinite}
.qpe-flash-price.has-sparkle:before{left:-8px}.qpe-flash-price.has-sparkle:after{right:-8px;animation-delay:.45s}
.qpe-save-price{display:inline-flex;width:max-content;max-width:100%;padding:3px 8px;border-radius:4px;background:var(--qpe-sale-soft);color:#c53b23;font-size:.74em;line-height:1.2}
.qpe-save-price b{color:var(--qpe-sale);margin-left:3px}
@keyframes qpe-flash-price-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@keyframes qpe-flash-spark{0%,100%{transform:translateY(-50%) scale(.7) rotate(0);opacity:.35}50%{transform:translateY(-50%) scale(1) rotate(45deg);opacity:1}}
body.single-product .qpe-price-stack{align-items:flex-start;text-align:left}
body.single-product .qpe-flash-price{justify-content:flex-start}
@media(prefers-reduced-motion:reduce){.qpe-flash-price-icon,.qpe-flash-price.has-sparkle:before,.qpe-flash-price.has-sparkle:after{animation:none}}

.qpe-loop-flash-meta{margin:8px 0 7px}
.qpe-stock-progress{height:13px;background:#ffd6cc;border-radius:999px;overflow:hidden;position:relative}
.qpe-stock-progress:before{content:"🔥";position:absolute;left:3px;top:-3px;z-index:2;font-size:14px}
.qpe-stock-progress span{display:block;height:100%;min-width:7%;border-radius:inherit;background:linear-gradient(90deg,#ff8c55,var(--qpe-sale))}
.qpe-stock-caption{display:flex;justify-content:space-between;gap:8px;margin-top:3px;color:#8b5145;font-size:10px;line-height:1.2}
.qpe-stock-caption b{color:var(--qpe-sale)}
.qpe-stock-unlimited{justify-content:center;color:#b64833;text-transform:uppercase;font-weight:750;letter-spacing:.04em}

.qpe-single-flash-strip{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 0;padding:10px 13px;
  background:linear-gradient(100deg,var(--qpe-sale),#ff6e39);color:#fff;border-radius:7px 7px 0 0
}
.qpe-single-flash-title{display:flex;align-items:center;gap:7px;font-size:18px}
.qpe-single-flash-title span{color:var(--qpe-yellow)}
.qpe-single-flash-timer{display:flex;align-items:center;gap:8px}
.qpe-single-flash-timer small{color:#fff;opacity:.92}
.qpe-single-flash-timer .qpe-inline-countdown{background:#fff;color:var(--qpe-sale);padding:5px 8px;border-radius:4px;font-weight:900;min-width:82px;text-align:center}
.qpe-single-stock{padding:9px 12px;background:#fff5f1;border:1px solid #ffd6cc;border-top:0;border-radius:0 0 7px 7px}
.qpe-single-stock .qpe-stock-progress{height:12px}

.qpe-offer-box{border:1px solid #eadfd9;background:#fff;border-radius:8px;margin:12px 0 15px;padding:0 13px;box-shadow:0 4px 14px rgba(0,0,0,.035)}
.qpe-offer-title{font-weight:900;color:#333;padding:11px 0;border-bottom:1px solid #eee;text-transform:uppercase;font-size:13px}
.qpe-offer-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px dashed #e7e7e7}
.qpe-offer-row:last-child{border-bottom:0}
.qpe-offer-icon{font-size:20px;flex:0 0 25px}
.qpe-offer-row>div{display:flex;flex-direction:column;flex:1;min-width:0}
.qpe-offer-row strong{color:#333;font-size:13px}
.qpe-offer-row small{color:#666;line-height:1.4;font-size:12px}
.qpe-offer-voucher{background:#fff8f6;margin:0 -13px;padding-left:13px;padding-right:13px}
.qpe-copy-code{border:1px solid var(--qpe-sale);background:#fff;color:var(--qpe-sale);border-radius:4px;padding:5px 10px;font-weight:800;cursor:pointer;white-space:nowrap}

.qpe-cart-progress{padding:13px 15px;background:#fff8f5;border:1px solid #ffd3c7;border-radius:8px;margin:10px 0}
.qpe-cart-progress>div{height:7px;background:#eee;border-radius:999px;overflow:hidden;margin-top:8px}
.qpe-cart-progress>div span{display:block;height:100%;background:linear-gradient(90deg,#ff8c55,var(--qpe-sale));border-radius:inherit}
.qpe-inline-countdown{font-weight:800;color:var(--qpe-sale)}
.qpe-empty{padding:14px;border:1px dashed #ccc;border-radius:8px;text-align:center;color:#777}

.qpe-buy-now{display:inline-flex!important;align-items:center;justify-content:center;background:var(--qpe-sale)!important;border-color:var(--qpe-sale)!important;color:#fff!important;border-radius:3px!important;font-weight:800!important}
.qpe-buy-now:hover{background:var(--qpe-sale-dark)!important;border-color:var(--qpe-sale-dark)!important;color:#fff!important}
.woocommerce ul.products li.product .qpe-buy-now,.product-small .qpe-buy-now{margin:5px 0 0 5px!important;vertical-align:top}
.qpe-single-buy-now{margin-left:8px!important}

@media(min-width:768px){
  .qpe-flash-sale-section ul.products li.product .button,
  .qpe-flash-sale-section .product-small .button{font-size:11px;padding-left:9px;padding-right:9px}
}
@media(max-width:767px){
  .qpe-promo-bar{font-size:12px;padding:7px 8px}
  .qpe-flash-header{align-items:flex-start;gap:8px;flex-wrap:wrap;padding:10px 12px}
  .qpe-flash-brand{font-size:20px}
  .qpe-flash-slot{padding-left:10px}
  .qpe-flash-countdown-label{width:100%;margin-left:0;justify-content:flex-end}
  .qpe-flash-products{padding:10px 8px 1px}
  .qpe-flash-ribbon{left:6px;top:6px;font-size:9px;min-height:23px;padding:4px 7px}
  .qpe-image-mini-tags{left:6px;right:6px;bottom:6px;gap:3px}
  .qpe-badge{font-size:7px;min-height:17px;padding:2px 4px}
  .qpe-single-flash-strip{align-items:flex-start;flex-direction:column}
  .qpe-single-flash-timer{width:100%;justify-content:space-between}
  .qpe-offer-row{align-items:flex-start}
  .qpe-copy-code{font-size:11px;padding:5px 7px}
  .woocommerce ul.products li.product .qpe-buy-now,.product-small .qpe-buy-now{display:block!important;margin:6px 0 0!important;width:100%}
  .qpe-single-buy-now{display:block!important;width:100%;margin:8px 0 0!important}
}
.qpe-interest{display:block;margin-top:4px;color:#a45a49;font-size:10px;text-align:center}
.qpe-flash-view-all{margin-left:4px;color:#fff!important;border:1px solid rgba(255,255,255,.7);border-radius:4px;padding:5px 9px;font-size:12px;font-weight:800;white-space:nowrap}
.qpe-flash-view-all:hover{background:#fff;color:var(--qpe-sale)!important}
.qpe-flash-page{max-width:1280px;margin:0 auto;padding:18px 14px 40px}
.qpe-flash-page-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:210px;padding:32px 40px;border-radius:16px;background:linear-gradient(115deg,#ee4d2d,#ff7a38 60%,#ffb13c);color:#fff;box-shadow:0 12px 35px rgba(238,77,45,.2)}
.qpe-flash-page-hero .qpe-kicker{font-size:12px;font-weight:900;letter-spacing:.16em;opacity:.9}
.qpe-flash-page-hero h1{margin:8px 0 5px;color:#fff;font-size:48px;line-height:1;font-weight:950}
.qpe-flash-page-hero p{margin:0;max-width:620px;font-size:17px;color:#fff}
.qpe-flash-page-icon{font-size:92px;filter:drop-shadow(0 8px 16px rgba(0,0,0,.2))}
.qpe-flash-tabs{position:sticky;top:0;z-index:15;display:flex;gap:8px;margin:16px 0;padding:8px;background:#fff;border:1px solid #eee;border-radius:10px;box-shadow:0 5px 16px rgba(0,0,0,.04)}
.qpe-flash-tabs a{padding:9px 14px;border-radius:7px;color:#555;font-weight:800;cursor:pointer;text-decoration:none!important;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease}
.qpe-flash-tabs a.is-active,.qpe-flash-tabs a:hover{background:var(--qpe-sale);color:#fff}
.qpe-flash-tabs a:focus-visible{outline:3px solid rgba(238,77,45,.24);outline-offset:2px}
.qpe-flash-tab-panels{position:relative}
.qpe-flash-tab-panel{scroll-margin-top:92px;animation:qpeTabFade .2s ease}
.qpe-flash-page.qpe-tabs-ready .qpe-flash-tab-panel:not(.is-active){display:none}
.qpe-flash-page.qpe-tabs-ready .qpe-flash-tab-panel.is-active{display:block}
@keyframes qpeTabFade{from{opacity:.25;transform:translateY(4px)}to{opacity:1;transform:none}}
.qpe-flash-rules{margin-top:0;padding:22px;border:1px solid #f0e1da;border-radius:12px;background:#fff}
.qpe-flash-rules h2{margin:0 0 15px;color:#333}
.qpe-flash-rule-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.qpe-flash-rule-grid>div{display:flex;flex-direction:column;gap:5px;padding:14px;border-radius:9px;background:#fff8f5;border:1px solid #ffe0d7}
.qpe-flash-rule-grid b{color:#c63d23}
.qpe-flash-rule-grid span{color:#666;font-size:13px;line-height:1.45}
.qpe-flash-rule-note{margin:16px 0 0;padding:12px 14px;border-radius:8px;background:#fff8f5;color:#6b554d;font-size:13px;line-height:1.55}

.qpe-flash-page-count-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0 10px;padding:12px 18px;border-radius:12px;background:#fff;border:1px solid #f0dfd6;box-shadow:0 6px 18px rgba(0,0,0,.04)}
.qpe-flash-page-count-brand{display:flex;align-items:center;gap:8px;color:var(--qpe-sale);font-size:26px;font-weight:900}
.qpe-flash-page-count-brand span{color:var(--qpe-yellow);filter:drop-shadow(0 2px 2px rgba(0,0,0,.1))}
.qpe-flash-page-count-label{display:flex;align-items:center;gap:8px;color:#444;font-size:15px;font-weight:700}
.qpe-flash-countdown-page{display:inline-flex;align-items:center;justify-content:center;min-width:105px;padding:6px 10px;border-radius:5px;background:#111;color:#fff;font-weight:900;letter-spacing:.08em}
.qpe-flash-page-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 18px}
.qpe-slot-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:86px;padding:14px;border-radius:12px;background:#3e3e3e;color:#fff;border:1px solid rgba(255,255,255,.08)}
.qpe-slot-card b{font-size:28px;line-height:1}
.qpe-slot-card span{font-size:14px;opacity:.92;margin-top:5px}
.qpe-slot-card.is-active{background:linear-gradient(180deg,#ff5d38,#ee4d2d)}
.qpe-flash-page-form .qpe-card{max-width:1120px}
@media(max-width:767px){
  .qpe-flash-view-all{margin-left:auto}
  .qpe-flash-page{padding:10px 7px 30px}
  .qpe-flash-page-hero{min-height:160px;padding:24px 20px}
  .qpe-flash-page-hero h1{font-size:34px}
  .qpe-flash-page-hero p{font-size:14px}
  .qpe-flash-page-icon{font-size:56px}
  .qpe-flash-tabs{overflow-x:auto;white-space:nowrap}
  .qpe-flash-rule-grid{grid-template-columns:1fr 1fr}
  .qpe-official-corner{top:6px;right:6px;max-width:48%}
  .qpe-flash-page-count-strip{flex-direction:column;align-items:flex-start;padding:12px}
  .qpe-flash-page-count-brand{font-size:22px}
  .qpe-flash-page-count-label{font-size:13px;flex-wrap:wrap}
  .qpe-flash-page-slots{grid-template-columns:repeat(2,minmax(0,1fr))}
  .qpe-slot-card{min-height:74px;padding:10px}
  .qpe-slot-card b{font-size:22px}
}

.qpe-badge-official{background:linear-gradient(180deg,#f6d76d,#c59012);color:#fff;border:1px solid rgba(255,255,255,.72);font-size:9px;padding:4px 8px;min-height:22px}

/* Quincy 2.3.4: tag dọc hai mép ảnh, hàng nút mua ngang */
.qpe-image-side-tags{
  position:absolute;top:52px;z-index:3;display:flex;flex-direction:column;gap:5px;
  max-width:86px
}
.qpe-image-side-tags.qpe-side-left{left:4px;align-items:flex-start}
.qpe-image-side-tags.qpe-side-right{right:4px;align-items:flex-end}
.qpe-image-side-tags .qpe-badge{
  max-width:82px;min-height:19px;padding:3px 6px;font-size:7.5px;line-height:1.05;
  white-space:normal;text-align:center;border-radius:3px;box-shadow:0 2px 6px rgba(0,0,0,.18)
}
.qpe-official-corner{top:8px;right:8px;max-width:46%;z-index:4}
.qpe-flash-ribbon{z-index:4}
.qpe-action-row{
  display:flex;align-items:stretch;justify-content:center;gap:7px;width:100%;margin-top:10px
}
.qpe-action-row .button,
.qpe-action-row .qpe-buy-now{
  display:inline-flex!important;align-items:center;justify-content:center;flex:1 1 0;
  width:auto!important;min-width:0;margin:0!important;padding:8px 7px!important;
  font-size:11px!important;line-height:1.15!important;white-space:nowrap
}
.qpe-flash-products .qpe-action-row{padding:0 8px 10px}
@media(max-width:767px){
  .qpe-image-side-tags{top:42px;max-width:70px;gap:4px}
  .qpe-image-side-tags.qpe-side-left{left:3px}
  .qpe-image-side-tags.qpe-side-right{right:3px}
  .qpe-image-side-tags .qpe-badge{max-width:68px;font-size:6.5px;padding:2px 4px}
  .qpe-action-row{gap:5px}
  .qpe-action-row .button,.qpe-action-row .qpe-buy-now{font-size:9px!important;padding:7px 4px!important}
}

/* Quincy Pro 3.0.1: giao diện tag tối giản, dễ nhìn */
.qpe-image-side-tags,
.qpe-image-mini-tags{display:none!important}
.qpe-official-corner{top:8px!important;right:8px!important;max-width:none!important;z-index:5!important}
.qpe-badge-official{
  min-height:24px!important;padding:4px 10px!important;border:0!important;border-radius:3px!important;
  background:var(--qpe-mall,#d0011b)!important;color:#fff!important;font-size:10px!important;font-weight:900!important;
  line-height:1!important;text-transform:none!important;letter-spacing:0!important;
  box-shadow:0 3px 8px rgba(208,1,27,.28)!important
}
.qpe-card-benefits{
  display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;
  width:100%;padding:8px 7px 2px;margin:0;box-sizing:border-box
}
.qpe-card-benefit{
  display:inline-flex;align-items:center;gap:3px;min-height:22px;padding:3px 7px;
  border:1px solid #e7e7e7;border-radius:999px;background:#fff;color:#555;
  font-size:8.5px;font-weight:750;line-height:1;white-space:nowrap;box-shadow:0 1px 3px rgba(0,0,0,.035)
}
.qpe-card-benefit span{font-size:10px;line-height:1}
.qpe-card-benefit-voucher{border-color:#efc5d4;color:#b94269;background:#fff9fb}
.qpe-card-benefit-gift{border-color:#f2d19a;color:#a56600;background:#fffaf1}
.qpe-card-benefit-freeship{border-color:#a9ddca;color:#08734f;background:#f7fffb}
.qpe-flash-products .qpe-card-benefits{padding-left:8px;padding-right:8px}
@media(max-width:767px){
  .qpe-official-corner{top:6px!important;right:6px!important}
  .qpe-badge-official{min-height:20px!important;padding:3px 7px!important;font-size:8px!important}
  .qpe-card-benefits{gap:3px;padding:6px 4px 1px}
  .qpe-card-benefit{min-height:19px;padding:2px 5px;font-size:7px}
  .qpe-card-benefit span{font-size:8px}
}

/* Quincy Pro 3.0.4: checkout gọn, voucher nhiều mức và lựa chọn thanh toán rõ ràng */
.qpe-checkout-vouchers{margin:0 0 18px;padding:16px;border:1px solid #f0d9d2;border-radius:12px;background:#fffaf8;box-shadow:0 5px 18px rgba(0,0,0,.035)}
.qpe-checkout-section-title,.qpe-payment-choice-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.qpe-checkout-section-title>span,.qpe-payment-choice-heading>span{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#fff0eb;font-size:18px}
.qpe-checkout-section-title>div,.qpe-payment-choice-heading>div{display:flex;flex-direction:column;gap:2px}
.qpe-checkout-section-title strong,.qpe-payment-choice-heading strong{font-size:15px;color:#222}
.qpe-checkout-section-title small,.qpe-payment-choice-heading small{font-size:12px;color:#777;line-height:1.35}
.qpe-voucher-wallet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.qpe-voucher-card{position:relative;display:flex;align-items:stretch;justify-content:space-between;gap:8px;min-height:92px;border:1px solid #efc4b7;border-radius:9px;background:#fff;overflow:hidden}
.qpe-voucher-card:before{content:"";width:6px;flex:0 0 6px;background:linear-gradient(180deg,var(--qpe-sale),#ff884e)}
.qpe-voucher-card-main{display:flex;flex-direction:column;justify-content:center;gap:3px;flex:1;padding:10px 4px 10px 2px;min-width:0}
.qpe-voucher-card-main>b{color:var(--qpe-sale);font-size:12px;letter-spacing:.04em}
.qpe-voucher-card-main>strong{color:#222;font-size:14px}
.qpe-voucher-card-main>small{color:#777;font-size:11px}
.qpe-voucher-action{align-self:center;flex:0 0 auto;margin-right:10px;padding:7px 10px;border:1px solid var(--qpe-sale);border-radius:5px;background:#fff;color:var(--qpe-sale);font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap}
.qpe-voucher-action:hover{background:var(--qpe-sale);color:#fff}
.qpe-voucher-action:disabled{border-color:#ddd;background:#f5f5f5;color:#999;cursor:not-allowed}
.qpe-voucher-card.is-applied{border-color:#63bd93;background:#f7fff9}
.qpe-voucher-card.is-applied:before{background:#1a9c67}
.qpe-voucher-card.is-applied .qpe-voucher-action{border-color:#1a9c67;color:#087148}
.qpe-voucher-card.is-locked{opacity:.76}
.qpe-voucher-message{min-height:18px;margin-top:8px;font-size:12px;font-weight:650}
.qpe-voucher-message.is-success{color:#087148}
.qpe-voucher-message.is-error{color:#b42318}

.qpe-payment-choice-heading{margin:4px 0 10px;padding:12px 14px;border-radius:10px;background:#f7f8fa;border:1px solid #e3e5e8}
.woocommerce-checkout #payment{padding:14px!important;border:1px solid #e2e4e8!important;border-radius:12px!important;background:#fff!important;box-shadow:0 5px 18px rgba(0,0,0,.035)!important}
.woocommerce-checkout #payment ul.payment_methods{padding:0!important;border:0!important;background:transparent!important}
.woocommerce-checkout #payment ul.payment_methods>li.wc_payment_method{position:relative;margin:0 0 10px!important;padding:0!important;border:1px solid #dfe2e6;border-radius:10px;background:#fff;overflow:hidden;transition:.18s ease}
.woocommerce-checkout #payment ul.payment_methods>li.wc_payment_method.is-selected{border-color:var(--qpe-sale);box-shadow:0 0 0 2px rgba(238,77,45,.11)}
.woocommerce-checkout #payment ul.payment_methods>li.wc_payment_method>input[type=radio]{position:absolute;left:15px;top:18px;z-index:2;width:18px;height:18px;accent-color:var(--qpe-sale)}
.woocommerce-checkout #payment ul.payment_methods>li.wc_payment_method>label{display:flex!important;align-items:center;gap:8px;min-height:54px;margin:0!important;padding:12px 14px 12px 46px!important;color:#222;font-size:14px;font-weight:750;cursor:pointer}
.woocommerce-checkout #payment ul.payment_methods>li.wc_payment_method>label img{float:none!important;max-height:26px!important;width:auto!important;margin-left:auto!important}
.woocommerce-checkout #payment .payment_box{margin:0!important;padding:12px 14px 14px 46px!important;border-top:1px solid #eceef0!important;background:#fafbfc!important;color:#555!important;font-size:12px!important;line-height:1.5!important}
.woocommerce-checkout #payment .payment_box:before{display:none!important}
.woocommerce-checkout #payment .payment_box img{max-width:100%;height:auto}
.woocommerce-checkout #payment .payment_box>div,.woocommerce-checkout #payment .payment_box>p{max-width:100%}
.woocommerce-checkout #payment .payment_box{max-height:230px;overflow:auto}
.qpe-prepaid-label{display:inline-flex;padding:3px 6px;border-radius:4px;background:#eaf7f1;color:#087148;font-size:10px;font-weight:850;text-transform:uppercase}
.qpe-gateway-original-title{display:inline-block}
.qpe-simple-payment-description{margin:0 0 8px!important;color:#444;font-weight:650}
.woocommerce-checkout #payment .place-order{padding:12px 0 0!important;margin:0!important;background:transparent!important}
.woocommerce-checkout #payment #place_order{width:100%!important;min-height:48px!important;margin:0!important;border-radius:7px!important;background:var(--qpe-sale)!important;font-size:15px!important;font-weight:900!important}
.woocommerce-checkout #payment #place_order:hover{background:var(--qpe-sale-dark)!important}
.woocommerce-checkout .woocommerce-form-coupon-toggle{margin-bottom:10px;font-size:12px}

@media(max-width:767px){
  .qpe-voucher-wallet{grid-template-columns:1fr}
  .qpe-checkout-vouchers{padding:12px}
  .qpe-voucher-card{min-height:82px}
  .qpe-payment-choice-heading small{font-size:11px}
  .woocommerce-checkout #payment{padding:10px!important}
  .woocommerce-checkout #payment ul.payment_methods>li.wc_payment_method>label{padding-left:42px!important;font-size:13px}
  .woocommerce-checkout #payment ul.payment_methods>li.wc_payment_method>input[type=radio]{left:13px}
  .woocommerce-checkout #payment .payment_box{padding-left:14px!important;max-height:190px}
}


/* v3.0.9 — khung giờ Flash Sale chạy thật */
.qpe-slot-card small{display:block;max-width:100%;margin-top:7px;font-size:11px;line-height:1.25;opacity:.78;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qpe-slot-card.is-ended{opacity:.58;filter:saturate(.55)}
.qpe-slot-card.is-upcoming{opacity:.9}
.qpe-slot-card.no-campaign small{color:#ffd4cc}
.qpe-slot-card.has-campaign small{color:#fff}
.qpe-slot-card.is-active{transform:translateY(-2px);box-shadow:0 9px 22px rgba(238,77,45,.22)}
