/* The Collection Apple-Style Slider Widget Styles */
.tbe-tcs-section {
  position: relative;
  width: 100%;
  padding: 1.5rem 0 3rem;
  background: transparent;
  box-sizing: border-box;
}

.tbe-tcs-header-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  box-sizing: border-box;
}

.tbe-tcs-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8c7a6b;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
}

.tbe-tcs-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  font-weight: 300;
  color: #251e18;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
}

.tbe-tcs-heading em {
  font-style: italic;
  font-weight: 300;
}

.tbe-tcs-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tbe-tcs-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #dcd7ce;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #251e18;
  transition: all 200ms ease;
  padding: 0;
  margin: 0;
}

.tbe-tcs-nav-btn:hover:not(:disabled) {
  background: #251e18;
  color: #ffffff;
  border-color: #251e18;
}

.tbe-tcs-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.tbe-tcs-see-all {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b5d52;
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.5rem;
  transition: opacity 180ms ease;
  white-space: nowrap;
}

.tbe-tcs-see-all:hover {
  opacity: 0.5;
}

/* Carousel Track */
.tbe-tcs-track-wrapper {
  position: relative;
  width: 100%;
}

.tbe-tcs-track {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 0 clamp(1.5rem, 5vw, 4rem) 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: border-box;
}

.tbe-tcs-track::-webkit-scrollbar {
  display: none;
}

.tbe-tcs-card {
  flex-shrink: 0;
  width: 280px;
  scroll-snap-align: start;
  box-sizing: border-box;
}

.tbe-tcs-card-inner {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 3 / 4;
  background: #edebe4;
  border-radius: 4px;
}

.tbe-tcs-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 900ms cubic-bezier(0.23, 1, 0.32, 1);
}

.tbe-tcs-card:hover .tbe-tcs-card-img {
  transform: scale(1.04);
}

.tbe-tcs-overlay-name {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
}

.tbe-tcs-overlay-name-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #251e18;
  line-height: 1.3;
  margin: 0;
}

.tbe-tcs-badge-wrapper {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
}

.tbe-tcs-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #251e18;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.tbe-tcs-btn-wrapper {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 3;
  opacity: 0;
  transition: opacity 200ms ease;
}

.tbe-tcs-card:hover .tbe-tcs-btn-wrapper {
  opacity: 1;
}

.tbe-tcs-add-btn {
  width: 100% !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.56rem !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  padding: 0.6rem 0.75rem !important;
  background-color: #251e18 !important;
  color: #ffffff !important;
  border-radius: 2px !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: block !important;
  text-align: center !important;
  transition: transform 150ms ease, background 200ms ease !important;
  box-sizing: border-box !important;
  line-height: normal !important;
}

.tbe-tcs-add-btn:active {
  transform: scale(0.97) !important;
}

.tbe-tcs-add-btn.added {
  background-color: #a67c52 !important;
  color: #ffffff !important;
}

.tbe-tcs-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}

.tbe-tcs-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #251e18;
  margin: 0;
  text-decoration: none;
}

.tbe-tcs-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  color: #5c5248;
  font-weight: 400;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.tbe-tcs-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  color: #8c7a6b;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 768px) {
  .tbe-tcs-nav-btn {
    width: 36px;
    height: 36px;
  }
}
