/* ===============================
   BASE WRAPPER
================================= */
.th-sticky-cart {
  position: fixed;
  left:0;
  right:0;
  z-index: 9999;

 
  border-radius: 0;

  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);

  box-shadow: 
    0 6px 20px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);

  /* //border: 1px solid rgba(0,0,0,0.05); */

  /* hidden state */
  opacity: 0;
  pointer-events: none;

  transition: all 0.3s ease;
}
.s1-sticky-content{
 display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.s1-offer-time{
    margin-left:0rem;
    font-weight: 600;
}
.s1-offer-banner{
    text-align: center;
    padding: 10px 14px;
    background: #f3f4f6;
    color: #111;
    font-size: 1rem;
    font-weight:500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.s1-offer-icon{
  display: flex;
  color: #D97706;
  
}
/* ===============================
   POSITION
================================= */

/* BOTTOM */
.th-sticky-cart.th-bottom {
  bottom: 0px;
  top: auto;
  transform: translateY(120%);
}

/* TOP */
.th-sticky-cart.th-top {
  top: 0px;
  bottom: auto;
  transform: translateY(-120%);
}

/* ===============================
   SHOW STATE
================================= */
.th-sticky-cart.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ===============================
   ANIMATION: SLIDE
================================= */
.th-sticky-cart.slide.show {
  transform: translateY(0);
}

/* ===============================
   ANIMATION: FADE
================================= */
.th-sticky-cart.fade {
  transform: none !important;
  opacity: 0;
}

.th-sticky-cart.fade.show {
  opacity: 1;
}

/* ===============================
   ANIMATION: BOUNCE
================================= */
.th-sticky-cart.bounce.show {
  animation: thBounceBottom 0.6s ease;
}

.th-sticky-cart.th-top.bounce.show {
  animation: thBounceTop 0.6s ease;
}

/* BOTTOM bounce */
@keyframes thBounceBottom {
  0%   { transform: translateY(120%); }
  60%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* TOP bounce */
@keyframes thBounceTop {
  0%   { transform: translateY(-120%); }
  60%  { transform: translateY(10px); }
  100% { transform: translateY(0); }
}

/* ===============================
   LEFT SECTION
================================= */
.th-sticky-cart .th-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* IMAGE */
.th-sticky-cart .th-thumb img {
 width: 65px;
    height: 65px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}

/* INFO */
.th-sticky-cart .th-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* TITLE */
.th-sticky-cart .th-title {
 font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}

/* PRICE */
.th-sticky-cart .th-price {
  font-size: 0.90rem;
  font-weight: 500;
  color: #16a34a;
}

/* ===============================
   RIGHT SECTION
================================= */
.th-sticky-cart .th-right {
  display: flex;
  align-items: center;
  gap: 10px;
  
}

/* Quantity Wrapper */
.th-quantity-wrap{
    display:flex;
    align-items:center;
    overflow:hidden;
    border-radius:8px;
    background:#f3f4f6;
    border:1px solid #e5e7eb;
}

/* Input */
.th-quantity-wrap .th-qty{
    width:41px;
    height:41px;
    border:none;
    background:transparent;
    text-align:center;
    padding:0;
    margin:0;
    box-shadow:none;
    outline:none;
    font-size:14px;
    font-weight:500;
    color:#374151;
}

/* Remove browser arrows */
.th-quantity-wrap .th-qty::-webkit-outer-spin-button,
.th-quantity-wrap .th-qty::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
}

.th-quantity-wrap .th-qty{
    -moz-appearance:textfield;
}

/* Buttons */
.th-qty-minus,
.th-qty-plus{
    width:41px;
    height:41px;
    border:none;
    background:transparent;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    font-weight:600;
    color:#374151;
    transition:all .2s ease;
}

/* Hover */
.th-qty-minus:hover,
.th-qty-plus:hover{
    background:rgba(0,0,0,.05);
}

/* Active */
.th-qty-minus:active,
.th-qty-plus:active{
    transform:scale(.95);
}

.th-qty-minus:focus,
.th-qty-plus:focus,
.th-qty-minus:focus-visible,
.th-qty-plus:focus-visible,
.th-quantity-wrap .th-qty:focus,
.th-quantity-wrap .th-qty:focus-visible{
    outline:none !important;
    box-shadow:none !important;
    border:none !important;
}

.th-qty-minus:active,
.th-qty-plus:active{
    outline:none !important;
    box-shadow:none !important;
}

/* BUTTON */
.th-sticky-cart .th-btn {
  padding:0px 15px;
 height: 42px;
  
  font-weight: 600;
  border-radius: 8px;
  background: linear-gradient(135deg, #facc15, #fbbf24);
  color: #111;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  align-items: center;
    display: flex;
    gap: 5px;
}

.th-sticky-cart .th-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* ===============================
   FORM FIX
================================= */
.th-sticky-form.variations_form.cart {
  margin-bottom: 0 !important;
}


/* -------------------
 * VARIATIONS WRAPPER
 * ------------------- */
.th-sticky-cart .th-variations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* each attribute group */
.th-sticky-cart .th-var-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right:8px;
}

/* label */
.th-sticky-cart .th-var-row label {
  font-size: 0.89rem;
  font-weight: 600;
  color: #555;
  margin-right:0.5rem;
}

/* -------------------
 * SELECT BOX STYLE
 * ------------------- */
.th-sticky-cart .th-var-select {
  appearance: none;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  background: #fff;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* hover */
.th-sticky-cart .th-var-select:hover {
  border-color: #999;
}

/* focus */
.th-sticky-cart .th-var-select:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

/* selected (visual feel) */
.th-sticky-cart .th-var-select option:checked {
  font-weight: 600;
}

/* -------------------
 * COMPACT MODE (for sticky)
 * ------------------- */
.th-sticky-cart .th-variations {
  gap: 6px;
}

.th-sticky-cart .th-var-select {
  height: 41px;
  font-size: 12px;
}

.th-sticky-cart .th-btn.disabled,
.th-sticky-cart .th-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.th-sticky-cart .th-btn:focus{
  outline:none;
}
@media (max-width: 767px) {
 .th-sticky-cart .th-var-row label{
     display:none;
 }
 .th-sticky-cart .th-variations{
     flex-wrap: nowrap!important;
 }
 .s1-sticky-content{
 display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
}
.th-sticky-cart .th-qty {
    width: 40px;
    height: 32px;
  }
  .th-sticky-cart .th-var-select {
    height: 32px;
    font-size: 12px;
  }
  .th-sticky-cart .th-btn {
    padding: 0;
    height: 32px;
    width: 100px;
    font-weight: 600;
    font-size: 14px;}
    .th-sticky-cart .th-title {
    font-size: 0.89rem;}
    .th-sticky-cart .th-price {
    font-size: 0.78rem;}
    .th-sticky-cart .th-thumb img {
    width: 55px;
    height: 55px;
    }
    .s1-offer-banner {
    font-size: 0.89rem;
    }
    .th-quantity-wrap .th-qty{
    width:32px;
    height:32px;
    
}
}