.custom-tea-shop { padding: 100px 0; position: relative; }
.ts-container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

.ts-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }
.ts-badge-label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: hsl(var(--muted-foreground)); text-transform: uppercase; letter-spacing: 0.3em; }
.ts-main-title { font-size: 42px; font-weight: 300; margin: 10px 0; color: hsl(var(--foreground)); }
.ts-sub-title { color: hsl(var(--muted-foreground)); }

.ts-nav { display: flex; gap: 10px; }
.ts-nav-arrow { 
     border-radius: var(--radius-lg);
padding:15px;
color:green;
    box-shadow: inset 0 4px 12px rgba(var(--shadow-dark), .35), inset 0 1px 4px rgba(var(--shadow-dark), .2), 0 1px 0 rgba(255, 255, 255, .8); 
    background: hsla(var(--glass-bg) / 0.8); border: 1px solid hsla(var(--glass-border) / 1);
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s;
}
.ts-nav-arrow:hover { transform: scale(1.05);color:green  }
.ts-nav-arrow:focus{ background:#fff; color:green ;border:1px solid green;}
.ts-carousel { display: flex; gap: 25px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 5px 40px; margin: 0 -20px; padding-left: 20px; }
.ts-item { flex: 0 0 340px; scroll-snap-align: start; }

.ts-card { padding: 20px; transition: 0.4s ease; }
.ts-card:hover { transform: translateY(-10px); }

.ts-img-wrap { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; padding: 12px; position: relative; }
.ts-img-wrap img { max-width: 100%; height: auto; object-fit: contain; transition: 0.5s;    border-radius: 20px; }
.ts-card:hover img { transform: scale(1.08); }


.ts-category { font-size: 11px; color: hsl(var(--accent)); font-weight: 600; text-transform: uppercase; }
.ts-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 5px; }
.ts-name { font-size: 26px; font-weight: 500; margin: 0; }

.ts-footer-actions {    display: flex;
    grid-template-columns: 60px 1fr;
    gap: 10px;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    flex-direction: column; }
.ts-qty { height: 45px; border-radius: 12px; border: 1px solid hsl(var(--border)); text-align: center; background: transparent; color: inherit; }
.ts-add-to-cart-btn { 
    height: 45px; border-radius: 15px; border: 1px solid hsl(var(--border)); 
color:green;width:100%;
    background: hsla(var(--glass-bg) / 0.8); cursor: pointer; transition: 0.3s; font-weight: 500;
}
.ts-add-to-cart-btn:hover { background: hsl(var(--accent)); color: #fff; border-color: hsl(var(--accent)); }
.ts-add-to-cart-btn.success { background: hsl(var(--accent)); color: #fff; }

.ts-bottom { text-align: center; margin-top: 50px; }
.ts-all-btn { 
    display: inline-block; padding: 15px 35px; border-radius: 50px; 
    border: 1px solid hsl(var(--border)); background: hsla(var(--glass-bg) / 1); 
    text-decoration: none; color: inherit; transition: 0.3s; 
}
.ts-all-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

@media (max-width: 768px) { .ts-item { flex: 0 0 85vw; } }
/* Quantity Input Redesign */
.ts-quantity-control {
    display: flex;
	width:192px; 	
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 14px;
    background: hsla(var(--glass-bg) / 0.4);
    border: 1px solid hsla(var(--glass-border) / 0.5);
}

.ts-qty-btn {
    width: 5px;
    height: 32px;
    display: flex;
    box-shadow: 0 15px 20px -15px rgba(var(--shadow-dark), .15), 0 15px 30px -10px rgba(var(--shadow-dark), .25), 0 4px 6px rgba(var(--shadow-dark), 0.41) !important;
    align-items: center;
    justify-content: center;
    background: #ffffff85;
    border: none;
    color: hsl(var(--foreground));
    cursor: pointer;
    border-radius: 26px;
    transition: all 0.2s ease;
}

.ts-qty-btn:hover {
    background: hsla(var(--glass-bg) / 0.8);
    color: hsl(var(--accent));
}

.ts-qty-input {
    width: 30px;
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: hsl(var(--foreground));
    -moz-appearance: textfield; /* Hide arrows Firefox */
}

/* Hide arrows Chrome/Safari */
.ts-qty-input::-webkit-outer-spin-button,
.ts-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Carousel Dragging State */
.ts-carousel {
    cursor: grab;
    user-select: none; /* Prevent text selection while dragging */
}

.ts-carousel.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none; /* Disable snap while dragging for smoothness */
}
span.ts-sale-tag {
    color: green;
    background: #a2dea247;
    padding: 0px 5px;
    border: .5px solid green;
    border-radius: 30px;
    font-size: 12px;
}
@media (max-width:520px)
{
.ts-header{
flex-direction:column;
margin-bottom:0px;
}
.custom-tea-shop { padding: 0px; position: relative; }
}