/* ===============================
   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: 10px 14px;
}

.s1-offer-time{
    margin-left:0rem;
}
.s1-offer-banner{
text-align: center;
    padding: 10px 14px;
    background: #f3f4f6;
    color: #111;
    font-size: 0.82rem;
    font-weight:normal;
}
/* ===============================
   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: 0.89rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}

/* PRICE */
.th-sticky-cart .th-price {
      font-size: 0.88rem;
  font-weight: 500;
  color: #16a34a;
}

/* ===============================
   RIGHT SECTION
================================= */
.th-sticky-cart .th-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* QTY */
.th-sticky-cart .th-qty {
  width: 60px;
 height: 31px;
 opacity:0.5;
  border-radius: 8px;
  border: none;
  background: #f3f4f6;
  text-align: center;
}

/* BUTTON */
.th-sticky-cart .th-btn {
  padding: 8px 16px;
  font-size: 12px;
  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);
}

.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 {
  padding: 5px 8px;
  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;
 }
}