/* English.com.vn Shop V1 */
.eng-shop-wrap{padding-top:36px;padding-bottom:60px}.eng-shop-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}.eng-shop-head h1{font-size:32px;margin:5px 0 8px;color:#17233d}.eng-shop-head p{max-width:780px;color:#667085;font-size:15px;line-height:1.7}.eng-kicker{font-size:12px;font-weight:800;color:#0877e8;letter-spacing:.08em}.eng-cart-btn,.eng-checkout-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#0877e8;color:#fff!important;border-radius:10px;padding:12px 18px;font-weight:700;text-decoration:none;border:0}.eng-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.eng-product-card{border:1px solid #e6eaf0;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 4px 16px rgba(16,24,40,.04)}.eng-product-image{display:block;aspect-ratio:1/1;background:#f6f8fb;overflow:hidden}.eng-product-image img,.eng-detail-image img{width:100%;height:100%;object-fit:cover}.eng-product-placeholder{height:100%;display:flex;align-items:center;justify-content:center;background:#edf5ff;color:#0877e8;font-weight:800}.eng-product-body{padding:16px}.eng-product-cat{font-size:12px;color:#0877e8;font-weight:700}.eng-product-body h2{font-size:18px;line-height:1.35;margin:6px 0}.eng-product-body h2 a{color:#17233d}.eng-product-body p{font-size:13px;color:#667085;min-height:42px}.eng-product-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.eng-product-bottom strong,.eng-price{font-size:20px;color:#e5484d}.eng-product-bottom span,.eng-stock{font-size:12px;color:#178c55}.eng-breadcrumb{font-size:13px;color:#667085;margin-bottom:18px}.eng-product-detail{display:grid;grid-template-columns:1fr 1fr;gap:42px}.eng-detail-image{aspect-ratio:1/1;border-radius:16px;overflow:hidden;background:#f6f8fb}.eng-detail-info h1{font-size:34px;color:#17233d;margin:0 0 8px}.eng-sku{font-size:13px;color:#98a2b3}.eng-price{font-size:30px;font-weight:800;margin:18px 0}.eng-price del{font-size:17px;color:#98a2b3;font-weight:500;margin-left:8px}.eng-short{font-size:15px;line-height:1.7;color:#475467}.eng-stock{margin:16px 0;font-size:14px}.eng-add-form{display:flex;gap:10px;margin-top:18px}.eng-add-form input,.eng-qty{width:74px;padding:10px;border:1px solid #d0d5dd;border-radius:8px}.eng-add-form button{background:#0877e8;color:#fff;border:0;border-radius:9px;padding:11px 20px;font-weight:700}.eng-product-description{grid-column:1/-1;margin-top:15px;border-top:1px solid #eaecf0;padding-top:28px;line-height:1.8}.eng-cart-table{border:1px solid #eaecf0;border-radius:12px;overflow:hidden}.eng-cart-row{display:grid;grid-template-columns:72px 1fr 85px 130px 34px;gap:14px;align-items:center;padding:14px;border-bottom:1px solid #eaecf0}.eng-cart-row:last-child{border-bottom:0}.eng-cart-thumb{width:66px;height:66px;background:#f2f4f7;border-radius:8px;overflow:hidden}.eng-cart-thumb img{width:100%;height:100%;object-fit:cover}.eng-cart-name a{display:block;color:#17233d;font-weight:700}.eng-cart-name small{color:#667085}.eng-remove{border:0;background:#fff;color:#e5484d;font-size:24px}.eng-cart-actions{text-align:right;margin-top:12px}.eng-btn-light{border:1px solid #d0d5dd;background:#fff;border-radius:8px;padding:9px 14px}.eng-order-summary{margin-left:auto;margin-top:24px;max-width:430px;border:1px solid #e4e7ec;border-radius:14px;padding:20px;background:#fff}.eng-order-summary h3{margin-top:0}.eng-order-summary>div{display:flex;justify-content:space-between;gap:15px;padding:9px 0;color:#475467}.eng-order-summary .total{border-top:1px solid #eaecf0;margin-top:8px;padding-top:15px;color:#17233d;font-size:18px}.eng-order-summary .eng-checkout-btn{display:flex;margin-top:16px}.eng-shop-empty{text-align:center;padding:60px 20px;background:#f8fafc;border-radius:14px;grid-column:1/-1}.eng-checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:30px;align-items:start}.eng-checkout-form{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:24px}.eng-checkout-form label{display:block;font-weight:650;color:#344054;margin:12px 0 6px}.eng-checkout-form input[type=text],.eng-checkout-form input[type=email],.eng-checkout-form textarea{width:100%;border:1px solid #d0d5dd;border-radius:8px;padding:11px}.eng-two{display:grid;grid-template-columns:1fr 1fr;gap:15px}.eng-pay{padding:12px;border:1px solid #e4e7ec;border-radius:9px}.eng-pay small{display:block;margin:4px 0 0 22px;color:#667085}.eng-full{width:100%;margin-top:18px}.eng-success{text-align:center;max-width:720px;margin:20px auto}.eng-success-icon{width:68px;height:68px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e8f8ef;color:#18864b;font-size:34px;font-weight:800;margin:0 auto 18px}.eng-success-box{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0}.eng-success-box>div,.eng-bank-note{padding:15px;border:1px solid #e4e7ec;border-radius:10px}.eng-success-box span{display:block;color:#667085;font-size:12px}.eng-bank-note{background:#f8fafc;margin-bottom:20px}@media(max-width:991px){.eng-product-grid{grid-template-columns:repeat(2,1fr)}.eng-product-detail,.eng-checkout-grid{grid-template-columns:1fr}.eng-order-summary{max-width:none;margin-left:0}}@media(max-width:600px){.eng-shop-head{display:block}.eng-cart-btn{margin-top:12px}.eng-product-grid{grid-template-columns:1fr 1fr;gap:12px}.eng-product-body{padding:12px}.eng-product-body h2{font-size:15px}.eng-product-detail{gap:20px}.eng-detail-info h1{font-size:27px}.eng-cart-row{grid-template-columns:56px 1fr 65px}.eng-cart-row strong{grid-column:2}.eng-remove{grid-column:3;grid-row:2}.eng-two,.eng-success-box{grid-template-columns:1fr}}


/* Product gallery */
.eng-product-gallery{min-width:0}.eng-product-thumbs{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.eng-product-thumb{width:74px;height:74px;padding:3px;border:1px solid #d9e1ec;border-radius:10px;background:#fff;cursor:pointer;overflow:hidden;transition:.18s ease}.eng-product-thumb img{width:100%;height:100%;object-fit:cover;border-radius:7px}.eng-product-thumb:hover,.eng-product-thumb.active{border-color:#0877e8;box-shadow:0 0 0 2px rgba(8,119,232,.10)}.eng-product-thumb:focus{outline:none;border-color:#0877e8;box-shadow:0 0 0 3px rgba(8,119,232,.14)}
@media(max-width:600px){.eng-product-thumb{width:62px;height:62px}.eng-product-thumbs{gap:8px}}


/* Product gallery - single row carousel */
.eng-product-thumbs-carousel{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;gap:8px;align-items:center;margin-top:12px}
.eng-product-thumbs{display:flex;gap:10px;flex-wrap:nowrap;margin-top:0;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none;padding:2px}
.eng-product-thumbs::-webkit-scrollbar{display:none}
.eng-product-thumb{flex:0 0 74px;width:74px;height:74px}
.eng-gallery-arrow{width:34px;height:74px;border:1px solid #d9e1ec;border-radius:10px;background:#fff;color:#17233d;font-size:28px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.18s ease}
.eng-gallery-arrow:hover,.eng-gallery-arrow:focus{background:#0877e8;color:#fff;border-color:#0877e8;outline:none;box-shadow:0 4px 12px rgba(8,119,232,.18)}
@media(max-width:600px){.eng-product-thumbs-carousel{grid-template-columns:30px minmax(0,1fr) 30px;gap:6px}.eng-gallery-arrow{width:30px;height:62px;font-size:24px}.eng-product-thumb{flex-basis:62px;width:62px;height:62px}}


/* Mobile-first cart quantity stepper + AJAX remove */
.eng-qty-stepper{display:inline-flex;align-items:center;border:1px solid #d0d5dd;border-radius:10px;overflow:hidden;background:#fff;height:44px}
.eng-qty-stepper .eng-cart-qty{width:48px!important;height:42px;border:0!important;border-left:1px solid #eaecf0!important;border-right:1px solid #eaecf0!important;border-radius:0!important;padding:0 4px!important;text-align:center;font-weight:700;background:#fff;box-shadow:none!important}
.eng-qty-btn{width:42px;height:42px;border:0;background:#f8fafc;color:#17233d;font-size:22px;font-weight:700;line-height:1;cursor:pointer}
.eng-qty-btn:hover,.eng-qty-btn:focus{background:#edf5ff;color:#0877e8;outline:0}
.eng-qty-btn:active{background:#dfeeff}
.eng-cart-remove{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:38px;min-height:38px;border:1px solid transparent!important;border-radius:8px;background:#fff!important;color:#e5484d!important;cursor:pointer}
.eng-cart-remove:hover,.eng-cart-remove:focus{background:#fff5f5!important;border-color:#ffd3d3!important;color:#c73535!important;outline:0}
.eng-cart-remove:disabled{opacity:.5;cursor:wait}
.eng-remove-label{display:none;font-size:13px;font-weight:700}

@media(max-width:600px){
  .eng-shop-wrap{padding-top:28px}
  .eng-cart-row{grid-template-columns:56px minmax(0,1fr);gap:10px 12px;align-items:start;padding:14px}
  .eng-cart-thumb{grid-column:1;grid-row:1 / span 2;width:56px;height:56px}
  .eng-cart-name{grid-column:2;grid-row:1}
  .eng-qty-stepper{grid-column:2;grid-row:2;justify-self:start;margin-top:4px}
  .eng-cart-row > strong{grid-column:2;grid-row:3;justify-self:start;margin-top:2px;font-size:15px}
  .eng-cart-remove{grid-column:2;grid-row:3;justify-self:end;align-self:center;min-width:70px;height:36px;margin-top:-4px}
  .eng-remove-label{display:inline}
  .eng-cart-remove > span:first-child{font-size:18px;line-height:1}
  .eng-order-summary{margin-top:18px}
  .eng-qty-btn{width:46px;height:44px;font-size:24px}
  .eng-qty-stepper{height:46px}
  .eng-qty-stepper .eng-cart-qty{height:44px;width:52px!important;font-size:16px}
}

/* =========================================================
   Desktop cart quantity - compact segmented pill
   ========================================================= */
@media (min-width: 601px){
  body.english .eng-cart-row{
    grid-template-columns:72px minmax(0,1fr) 110px 130px 34px !important;
  }

  body.english .eng-cart-row .eng-qty-stepper{
    width:104px !important;
    height:36px !important;
    display:inline-flex !important;
    align-items:center !important;
    overflow:hidden !important;
    justify-self:center !important;
    border:1px solid #d8e0ea !important;
    border-radius:9px !important;
    background:#fff !important;
    box-shadow:0 1px 2px rgba(16,24,40,.04) !important;
  }

  body.english .eng-cart-row .eng-qty-stepper .eng-qty-btn{
    width:34px !important;
    min-width:34px !important;
    height:34px !important;
    padding:0 !important;
    border:0 !important;
    background:#f8fafc !important;
    color:#344054 !important;
    -webkit-text-fill-color:#344054 !important;
    font-size:18px !important;
    font-weight:700 !important;
    line-height:34px !important;
    text-align:center !important;
    cursor:pointer !important;
  }

  body.english .eng-cart-row .eng-qty-stepper .eng-qty-btn:hover,
  body.english .eng-cart-row .eng-qty-stepper .eng-qty-btn:focus{
    background:#eef5ff !important;
    color:#0877e8 !important;
    -webkit-text-fill-color:#0877e8 !important;
    outline:0 !important;
  }

  body.english .eng-cart-row .eng-qty-stepper .eng-cart-qty{
    width:36px !important;
    min-width:36px !important;
    height:34px !important;
    padding:0 !important;
    border:0 !important;
    border-left:1px solid #e6ebf1 !important;
    border-right:1px solid #e6ebf1 !important;
    border-radius:0 !important;
    background:#fff !important;
    color:#17233d !important;
    font-size:14px !important;
    font-weight:800 !important;
    text-align:center !important;
    box-shadow:none !important;
  }
}

/* Checkout mini-cart header / back-to-cart link */
body.english .eng-checkout-summary-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  margin-bottom:8px !important;
}
body.english .eng-checkout-summary-head h3{margin:0 !important;}
body.english .eng-checkout-summary-head a.eng-back-cart,
body.english .eng-checkout-summary-head a.eng-back-cart:link,
body.english .eng-checkout-summary-head a.eng-back-cart:visited,
body.english .eng-checkout-summary-head a.eng-back-cart:hover,
body.english .eng-checkout-summary-head a.eng-back-cart:focus{
  color:#0877e8 !important;
  -webkit-text-fill-color:#0877e8 !important;
  font-size:12px !important;
  font-weight:700 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  background:transparent !important;
}
body.english .eng-checkout-summary-head a:hover,
body.english .eng-checkout-summary-head a:focus{
  color:#075fbd !important;
  -webkit-text-fill-color:#075fbd !important;
  text-decoration:underline !important;
  background:transparent !important;
}

/* =========================================================
   R7 PRODUCT DETAIL QUANTITY STEPPER
   Added on top of stable R5 cart/checkout styles.
   ========================================================= */
.eng-add-form{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.eng-product-qty-stepper{
  display:inline-flex;
  align-items:center;
  height:42px;
  border:1px solid #d8e0ea;
  border-radius:9px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
  flex:0 0 auto;
}
.eng-product-qty-btn{
  width:36px;
  min-width:36px;
  height:40px;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#f8fafc!important;
  color:#344054!important;
  -webkit-text-fill-color:#344054!important;
  font-size:20px!important;
  font-weight:700!important;
  line-height:1!important;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background .15s ease,color .15s ease;
}
.eng-product-qty-btn:hover,
.eng-product-qty-btn:focus{
  background:#eef5ff!important;
  color:#0877e8!important;
  -webkit-text-fill-color:#0877e8!important;
  outline:none!important;
}
.eng-product-qty-btn:disabled{
  opacity:.35;
  cursor:not-allowed;
}
.eng-product-qty-stepper input[type=number]{
  width:42px!important;
  min-width:42px!important;
  height:40px!important;
  padding:0 3px!important;
  border:0!important;
  border-left:1px solid #e6ebf1!important;
  border-right:1px solid #e6ebf1!important;
  border-radius:0!important;
  background:#fff!important;
  color:#17233d!important;
  font-size:14px!important;
  font-weight:800!important;
  text-align:center!important;
  box-shadow:none!important;
  -moz-appearance:textfield;
}
.eng-product-qty-stepper input[type=number]::-webkit-inner-spin-button,
.eng-product-qty-stepper input[type=number]::-webkit-outer-spin-button{
  -webkit-appearance:none;
  margin:0;
}
.eng-add-cart-btn{
  min-height:42px!important;
  height:42px!important;
  padding:10px 18px!important;
  white-space:nowrap;
}

@media(max-width:600px){
  .eng-add-form{
    width:100%;
    flex-wrap:nowrap;
    gap:9px;
  }
  .eng-product-qty-stepper{
    height:46px;
    border-radius:10px;
  }
  .eng-product-qty-btn{
    width:42px!important;
    min-width:42px!important;
    height:44px!important;
    font-size:23px!important;
  }
  .eng-product-qty-stepper input[type=number]{
    width:46px!important;
    min-width:46px!important;
    height:44px!important;
    font-size:16px!important;
  }
  .eng-add-cart-btn{
    flex:1 1 auto;
    height:46px!important;
    min-height:46px!important;
    padding:10px 12px!important;
  }
}

/* R7 hard guard: back-to-cart link must stay visible even when Custom Header
   has a generic white rule for all /cart links. */
body.english .eng-checkout-summary .eng-checkout-summary-head a.eng-back-cart,
body.english .eng-checkout-summary .eng-checkout-summary-head a.eng-back-cart:link,
body.english .eng-checkout-summary .eng-checkout-summary-head a.eng-back-cart:visited,
body.english .eng-checkout-summary .eng-checkout-summary-head a.eng-back-cart:hover,
body.english .eng-checkout-summary .eng-checkout-summary-head a.eng-back-cart:focus,
body.english .eng-checkout-summary .eng-checkout-summary-head a.eng-back-cart:active{
  color:#0877e8!important;
  -webkit-text-fill-color:#0877e8!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  text-decoration:none!important;
  opacity:1!important;
}
body.english .eng-checkout-summary .eng-checkout-summary-head a.eng-back-cart:hover,
body.english .eng-checkout-summary .eng-checkout-summary-head a.eng-back-cart:focus{
  color:#075fbd!important;
  -webkit-text-fill-color:#075fbd!important;
  text-decoration:underline!important;
}

/* =========================================================
   ENGLISH SHOP - GLOBAL HEADER CART
   ========================================================= */
body.english .eng-actions a.eng-header-cart{
    position:relative!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    padding:0!important;
    border:1px solid #dbe6f3!important;
    border-radius:11px!important;
    background:#f6f9fd!important;
    color:#0d6efd!important;
    -webkit-text-fill-color:#0d6efd!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-decoration:none!important;
    box-shadow:none!important;
}
body.english .eng-actions a.eng-header-cart svg{
    width:21px!important;
    height:21px!important;
    display:block!important;
    color:#0d6efd!important;
    stroke:#0d6efd!important;
}
body.english .eng-actions a.eng-header-cart:hover,
body.english .eng-actions a.eng-header-cart:focus{
    background:#eaf3ff!important;
    border-color:#b8d6fb!important;
    color:#075fbd!important;
    -webkit-text-fill-color:#075fbd!important;
}
body.english .eng-actions a.eng-header-cart:hover svg,
body.english .eng-actions a.eng-header-cart:focus svg{
    color:#075fbd!important;
    stroke:#075fbd!important;
}
body.english .eng-cart-badge{
    position:absolute!important;
    top:-6px!important;
    right:-7px!important;
    min-width:19px!important;
    height:19px!important;
    padding:0 5px!important;
    border:2px solid #fff!important;
    border-radius:999px!important;
    background:#ef4444!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-size:10px!important;
    font-weight:800!important;
    line-height:15px!important;
    text-align:center!important;
    box-sizing:border-box!important;
}
.eng-mobile-actions-right{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
}
body.english a.eng-mobile-btn.eng-mobile-cart{
    position:relative!important;
    color:#0d6efd!important;
    -webkit-text-fill-color:#0d6efd!important;
    background:#f5f8fc!important;
}
body.english a.eng-mobile-btn.eng-mobile-cart svg{
    width:21px!important;
    height:21px!important;
    stroke:#0d6efd!important;
}
body.english a.eng-mobile-btn.eng-mobile-cart:hover,
body.english a.eng-mobile-btn.eng-mobile-cart:focus{
    background:#eaf3ff!important;
    color:#075fbd!important;
    -webkit-text-fill-color:#075fbd!important;
}
@media (max-width:575.98px){
    .eng-mobile-actions-right{gap:5px!important;}
    body.english a.eng-mobile-btn.eng-mobile-cart,
    .eng-mobile-actions-right .eng-mobile-btn{
        width:40px!important;
        height:40px!important;
        min-width:40px!important;
    }
}
