/* =========================================================
   TERESA DESIGNERS — Onam Collection Landing Page
   Redesign Stylesheet (Phase 1 — Static HTML Prototype)
   ========================================================= */

:root {
  --cream:        #FBF6EC;
  --cream-alt:     #F5EBDA;
  --white:        #FFFFFF;
  --maroon:       #5C1A16;
  --maroon-dark:  #46120E;
  --maroon-soft:  rgba(92, 26, 22, 0.08);
  --gold:         #AD8330;
  --gold-light:   #D9BD82;
  --text:         #2B1D14;
  --muted:        #83725F;
  --border:       #EADFCB;

  --font-heading: 'Playfair Display', serif;
  --font-body:    'Poppins', sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  26px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 12px rgba(43, 29, 20, 0.06);
  --shadow-md: 0 10px 30px rgba(92, 26, 22, 0.10);
  --shadow-lg: 0 20px 50px rgba(43, 29, 20, 0.14);

  --container-max: 1300px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--cream);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--maroon);
  margin: 0;
}

.container-ts {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 64px 0; }

.eyebrow-ts {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title-ts {
  text-align: center;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 40px;
  position: relative;
}
.section-title-ts::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  background: var(--gold-light);
  margin: 16px auto 0;
}

/* Buttons */
.btn-ts-maroon,
.btn-ts-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-ts-maroon {
  background-color: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}
.btn-ts-maroon:hover {
  background-color: var(--maroon-dark);
  border-color: var(--maroon-dark);
  color: var(--white);
}
.btn-ts-outline {
  background-color: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}
.btn-ts-outline:hover {
  background-color: var(--maroon);
  color: var(--white);
}

/* =========================================================
   ANNOUNCEMENT BAR
   ========================================================= */
.ts-announcement {
  background-color: var(--maroon);
  color: var(--gold-light);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  overflow: hidden;
  padding: 8px 0;
  white-space: nowrap;
}

.ts-announcement-track {
  display: flex;
  width: max-content;
  animation: ts-announcement-marquee 24s linear infinite;
}

.ts-announcement-scroll {
  flex: 0 0 auto;
  padding-right: 2rem;
}

@keyframes ts-announcement-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ts-announcement {
    text-align: center;
  }

  .ts-announcement-track {
    display: block;
    width: auto;
    animation: none;
  }

  .ts-announcement-scroll {
    padding: 0 16px;
  }

  .ts-announcement-scroll[aria-hidden="true"] {
    display: none;
  }
}

/* =========================================================
   HEADER
   ========================================================= */
.ts-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--cream);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}
.ts-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.ts-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.ts-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
img.ts-logo-img { height:100px;
}
.ts-logo svg { width: 30px; height: 30px; flex-shrink: 0; }

.ts-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 auto;
}
.ts-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.ts-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.ts-nav a:hover::after { transform: scaleX(1); }
.ts-nav a:hover { color: var(--maroon); }

.ts-header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ts-header-icons button {
  background: none;
  border: none;
  color: var(--maroon);
  font-size: 1.05rem;
  cursor: pointer;
  position: relative;
  padding: 4px;
}
.ts-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--maroon);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}
.ts-nav-toggle {
  display: none;
  font-size: 1.2rem;
}

.ts-nav-mobile {
  display: none;
  flex-direction: column;
  padding: 6px 24px 20px;
  gap: 4px;
  border-top: 1px solid var(--border);
  background: var(--cream);
}
.ts-nav-mobile a {
  padding: 10px 0;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.ts-nav-mobile.open { display: flex; }

.ts-search-bar {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--cream);
  padding: 14px 24px;
}
.ts-search-bar.open { display: block; }
.ts-search-bar form {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
}
.ts-search-bar input {
  border: none;
  outline: none;
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: transparent;
}
.ts-search-bar button {
  background: none;
  border: none;
  color: var(--maroon);
}

@media (max-width: 991px) {
  .ts-nav { display: none; }
  .ts-nav-toggle { display: inline-flex; }
}

/* =========================================================
   HERO SLIDER
   ========================================================= */
.ts-hero {
  background: var(--cream);
}
.ts-hero .swiper {
  width: 100%;
}
.ts-hero-slide-link {
  display: block;
  width: 100%;
  aspect-ratio: 757 / 409;
  overflow: hidden;
}
.ts-hero-slide-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ts-hero .swiper-pagination-bullet {
  background: var(--maroon);
  opacity: 0.35;
  width: 8px;
  height: 8px;
}
.ts-hero .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--maroon);
}
.ts-hero .swiper-button-next,
.ts-hero .swiper-button-prev {
  color: var(--white);
  background: rgba(43, 29, 20, 0.35);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  backdrop-filter: blur(2px);
}
.ts-hero .swiper-button-next:after,
.ts-hero .swiper-button-prev:after {
  font-size: 1.05rem;
}
@media (max-width: 767px) {
  .ts-hero .swiper-button-next,
  .ts-hero .swiper-button-prev { display: none; }
}

/* =========================================================
   FEATURE ICONS
   ========================================================= */
.ts-features {
  background: var(--cream-alt);
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.ts-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  text-align: left;
  padding: 10px 12px;
}
.ts-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gold-light);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ts-feature-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.ts-feature-text span {
  font-size: 0.76rem;
  color: var(--muted);
}

/* =========================================================
   SHOP BY CATEGORY
   ========================================================= */
.ts-category-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ts-category-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.ts-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.ts-category-card:hover img { transform: scale(1.08); }
.ts-category-card .ts-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 12, 8, 0.72) 0%, rgba(20, 12, 8, 0.05) 55%);
}
.ts-category-card .ts-cat-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 18px;
  color: var(--white);
}
.ts-category-card .ts-cat-caption h3 {
  color: var(--white);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ts-category-card .ts-cat-caption .ts-cat-shopnow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease;
}
.ts-category-card:hover .ts-cat-caption .ts-cat-shopnow { gap: 10px; }

/* =========================================================
   PROMOTIONAL BANNER
   ========================================================= */
.ts-promo-section {
  width: 100%;
}
.ts-promo-banner {
  display: block;
  width: 100%;
  aspect-ratio: 756 / 207;
  overflow: hidden;
}
.ts-promo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ts-promo-banner:hover img { transform: scale(1.03); }

/* =========================================================
   CATEGORY PRODUCT TABS / SLIDER
   ========================================================= */
.ts-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.ts-tab-btn {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s ease;
}
.ts-tab-btn:hover {
  border-color: var(--gold);
  color: var(--maroon);
}
.ts-tab-btn.active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.ts-product-slider-wrap {
  position: relative;
  padding: 0 56px;
}
@media (min-width: 992px) {
  .ts-product-slider-wrap {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 48px;
  }
}
.ts-product-slider .swiper-slide {
  height: auto;
  display: flex;
}
.ts-product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ts-product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.ts-product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.ts-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ts-product-card:hover .ts-product-media img { transform: scale(1.08); }
.ts-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ts-wishlist-btn.active,
.ts-wishlist-btn:hover { background: var(--maroon); color: var(--white); }
.ts-product-body {
  padding: 18px 18px 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ts-product-name {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  color: var(--text);
}
.ts-product-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: 8px;
}
.ts-add-cart-btn {
  margin-top: auto;
  border: 1px solid var(--maroon);
  background: transparent;
  color: var(--maroon);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
}
.ts-add-cart-btn:hover { background: var(--maroon); color: var(--white); }
.ts-add-cart-btn.added { background: var(--maroon); color: var(--white); }

.ts-load-more-card {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--cream-alt);
  border: 1.5px dashed var(--gold);
  border-radius: var(--radius-md);
  text-align: center;
  padding: 24px;
  transition: all 0.25s ease;
}
.ts-load-more-card:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  border-style: solid;
}
.ts-load-more-card:hover .ts-load-more-icon,
.ts-load-more-card:hover .ts-load-more-text { color: var(--white); }
.ts-load-more-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: color 0.25s ease;
}
.ts-load-more-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--maroon);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.ts-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 5;
  transition: all 0.2s ease;
}
.ts-slider-arrow:hover { background: var(--maroon); color: var(--white); }
.ts-slider-arrow.ts-prev { left: 0; }
.ts-slider-arrow.ts-next { right: 0; }
@media (max-width: 575px) {
  .ts-product-slider-wrap { padding: 0 6px; }
  .ts-product-slider-wrap .ts-slider-arrow { display: none; }
}
@media (min-width: 576px) and (max-width: 991px) {
  .ts-product-slider-wrap { padding: 0 40px; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.ts-testimonials { background: var(--cream-alt); }
.ts-testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ts-testimonial-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.ts-testimonial-stars {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 2px;
}
.ts-testimonial-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}
.ts-testimonial-name {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--maroon);
  margin-top: 4px;
}
.ts-testimonial-sub {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ts-testimonials .swiper-pagination-bullet { background: var(--maroon); opacity: 0.3; }
.ts-testimonials .swiper-pagination-bullet-active { opacity: 1; }
.ts-testimonials .swiper { padding-bottom: 44px; }

/* =========================================================
   FOOTER (structure preserved from existing site)
   ========================================================= */
.ts-footer {
  background: var(--maroon);
  color: rgba(255, 255, 255, 0.82);
  padding: 60px 0 0;
}
.ts-footer .ts-logo { color: var(--gold-light); }
.ts-footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  font-style: italic;
}
.ts-footer-grid {
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.ts-footer h6 {
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.ts-footer ul li { margin-bottom: 10px; }
.ts-footer ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}
.ts-footer ul li a:hover { color: var(--gold-light); }
.ts-footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.ts-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
}
.ts-footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--maroon-dark);
}
.ts-footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}
.ts-footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}
.ts-footer-bottom a { color: var(--gold-light); }

/* =========================================================
   GENERAL RESPONSIVE
   ========================================================= */
@media (max-width: 767px) {
  .section-pad { padding: 44px 0; }

  .ts-header-inner {
    position: relative;
    min-height: 88px;
  }

  .ts-header .ts-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .ts-header-icons {
    margin-left: auto;
  }

  .ts-header img.ts-logo-img {
    height: 72px;
    width: auto;
  }

  .ts-footer img.ts-logo-img {
    height: 78px;
    width: auto;
  }
}
.ts-image-cover { object-fit: cover; }
.ts-shop-link { display: block; text-align: center; text-decoration: none; }
