/* ===== PTC Carousel Styles ===== */

/* Tab switcher */
.ptc-switcher {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 auto 1rem;
    justify-content: center;
    border-bottom: 1px solid #ccc;
}
.ptc-switcher li {
    position: relative;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    transition: color 0.2s ease;
}
.ptc-switcher li:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: #222;
    transition: width 0.2s ease;
}
.ptc-switcher li:hover {
    color: #222;
}
.ptc-switcher li:hover:after,
.ptc-switcher li.active:after {
    width: 100%;
}
.ptc-switcher li.active {
    color: #222;
}

/* Panels */
.ptc-panel {
    display: none;
    padding-top: 1rem;
}
.ptc-panel.active {
    display: block;
}

/* Grid */
.product-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
	padding:1rem;
}
.product-grid .ptc-card {
    flex: 0 0 80%;
    margin-right: 1rem;
}
/* hide native scrollbar */
.product-grid::-webkit-scrollbar {
    display: none;
}

/* Card */
.ptc-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    padding: 1.5rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}
.ptc-card:hover {
    transform: translateY(-4px);
}

/* Badge & icon */
.ptc-card .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.5rem;
    background: #fff7d9;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
	opacity: 0;
	display: inline-block;
    width: fit-content;
}

.separated-review-price {
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
	align-items:baseline;
	margin: 0.5rem 0 1rem 0;
}

.separated-review-price .rating {
    margin: 0 !important;
}

/* Thumb & title */
.ptc-card .thumb img {
    width: 100%;
    border-radius: 8px;
}
.ptc-card .title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: #222;
    flex-grow: 1;
}

/* Variation selector */
.variation-selector.capsule {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 50px;
    overflow: hidden;
    margin: 0.5rem 0;
}
.variation-selector.capsule .save-info {
    background: #fff7d9;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}
.variation-selector.capsule select.ptc-volume-select {
  /* Remove native arrow */
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;

  /* Your white background + custom SVG arrow */
  background-color: #fff !important;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;

  /* Position arrow inset from right */
  background-position: calc(100% - 0.75rem) center !important;
  background-size: 10px 6px !important;

  /* Give room for the arrow so text doesn’t overlap */
  padding-right: 2rem !important;

  /* Ensure full width */
  width: 100% !important;
}

/* Prices */
.ptc-card .prices {
    display: block;
    margin: 0;
}
.ptc-card .prices {
    margin-right: 1.2rem;
}
.ptc-card .prices .sale {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0a3d24;
}
.ptc-card .prices del.regular {
    color: #999;
    opacity: 0.7;
}

/* Add to cart button */
.ptc-card .button {
    margin-top: auto;
    background: #0a3d24;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
}
.ptc-card .button:hover {
    background: #095a39;
}
.ptc-card .button[disabled] {
    cursor: progress;
    opacity: 0.8;
}

.star-rating{
	font-size:1rem !important;
}
