/* ============================================================
   FANCY4REAL Retro Boutique Theme — Clean, No Sparkles
   ============================================================ */

html, body {
  margin: 0;
  height: 100%;
  background: #402e2e;
  font-family: "Times New Roman", Times, serif;
  color: #f6f4ea;
  display: flex;
  flex-direction: column;
}

/* ---------- LINKS ---------- */
a {
  color: #e3b6c4;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: #ff99cc;
}

/* ---------- HEADER ---------- */
header {
  background: linear-gradient(180deg, #f8cde2 0%, #e3b6c4 70%, #d6a7b7 100%);
  text-align: center;
  color: #402e2e;
  padding-top: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #b37a7a;
}

/* Brown logo with subtle 2000s bevel */
header h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 1px;
  line-height: 1.2;
  color: #402e2e;
  font-weight: 800;
  text-shadow:
    0 -1px 0 #fff3f9,
    0  1px 0 #7d555a,
    0  0 6px rgba(255,255,255,.25);
}

header small {
  font-size: 12px;
  display: block;
  margin-top: 6px;
  color: #402e2e;
}

/* ---------- NAV (✿ separators) ---------- */
nav {
  background: #e3b6c4;
  text-align: center;
  padding: 8px 0;
  border-top: 1px solid #b37a7a;
  border-bottom: 1px solid #b37a7a;
  font-weight: bold;
  color: #402e2e;
}

nav a {
  margin: 0 10px;
  font-weight: bold;
  color: #402e2e;
}

nav a:hover {
  color: #b30086;
}

/* ✿ separators (static, darker) */
nav span.separator {
  color: #4d2f2f;
  margin: 0 6px;
  font-size: 13px;
}

/* ---------- PROMO BANNER ---------- */
.banner {
  width: 100%;
  background: #fceef3;
  text-align: center;
  padding: 10px;
  color: #402e2e;
  font-weight: bold;
  letter-spacing: 0.5px;
  border-top: 1px solid #b37a7a;
  border-bottom: 1px solid #b37a7a;
}

/* ---------- LAYOUT ---------- */
.layout {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  padding: 20px 0;
  flex: 1;
}

/* ---------- SIDE BANNERS ---------- */
.side-banner {
  width: 120px;
  background: #4c3737;
  border: 1px solid #b37a7a;
  text-align: center;
  font-size: 12px;
  color: #f6f4ea;
  padding: 10px;
  line-height: 1.5;
  text-transform: uppercase;
}
.side-banner b {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #e3b6c4;
}

/* ---------- CONTENT ---------- */
.content-box {
  background: #4c3737;
  color: #f6f4ea;
  flex: 1;
  max-width: 900px;
  border: 2px solid #b37a7a;
  padding: 30px 20px;
  text-align: center;
}

.content-box h2 {
  font-size: 20px;
  color: #e3b6c4;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 8px;
  margin-bottom: 18px;
}

/* ---------- CATEGORY GRID ---------- */
.category-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.category {
  width: 220px;
  text-align: center;
  border: 1px solid #e3b6c4;
  background: #5c4040;
  padding: 10px;
  transition: all 0.2s ease-in-out;
}
.category:hover {
  background: #664747;
  transform: translateY(-3px);
}
.category img {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto 10px;
  border: 1px solid #b37a7a;
}
.category b {
  color: #f6f4ea;
  font-size: 14px;
  letter-spacing: 0.3px;
}

/* ---------- FOOTER ---------- */
footer {
  background: linear-gradient(180deg, #f8cde2 0%, #e3b6c4 70%, #d6a7b7 100%);
  color: #402e2e;
  text-align: center;
  padding: 22px 12px;
  border-top: 2px solid #b37a7a;
  width: 100%;
  margin-top: auto;
}

footer .links {
  margin-top: 8px;
}

footer .links a {
  color: #402e2e;
  margin: 0 12px;
  font-weight: bold;
}

footer .links a:hover {
  color: #b30086;
}

.section-banner {
  background: var(--pink);
  color: var(--bg);
  text-align: center;
  font-weight: 800;
  padding: 8px;
  margin: 10px auto;
  max-width: 80%;
  border: 2px solid var(--rose);
}

.section-desc {
  text-align: center;
  font-size: 0.95rem;
  color: var(--cream);
  margin-bottom: 20px;
}

.content-box { padding:18px 18px 30px; }

.section-banner {
  background:#e3b6c4;
  color:#402e2e;
  text-align:center;
  font-weight:800;
  padding:8px;
  margin:0 auto 12px;
  max-width:80%;
  border:2px solid #b37a7a;
}
.section-desc {
  text-align:center;
  font-size:.95rem;
  color:#f6f4ea;
  margin:0 0 14px;
}

.cards-row {
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  align-items:flex-start;
  justify-content:center;
  margin:0;
}

.card {
  width:230px;
  background:#5c4040;
  border:1px solid #e3b6c4;
  padding:10px;
  text-align:center;
}
.card img {
  width:210px;
  height:210px;
  object-fit:cover;
  display:block;
  margin:0 auto 8px;
  border:1px solid #b37a7a;
}
.card b {
  display:block;
  color:#f6f4ea;
  font-size:14px;
  letter-spacing:.3px;
}
.card .price {
  color:#e3b6c4;
  font-weight:700;
  margin:6px 0 0;
}

/* ---------- FEATURED ITEMS RETRO CAROUSEL ---------- */
.featured-wrapper {
  text-align: center;
  color: #f6f4ea;
}

/* Keep the pink top card connected */
.section-banner {
  background: #e3b6c4;
  color: #402e2e;
  text-align: center;
  font-weight: 800;
  padding: 10px;
  margin: 0 auto;
  max-width: 900px;
  border: 2px solid #b37a7a;
  border-bottom: none;
  font-size: 18px;
}

/* The brown box (content square) */
.featured-box {
  border-top: none;
  max-width: 900px;
  margin: 0 auto;
  background: #4c3737;
  border: 2px solid #b37a7a;
  padding: 20px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* Carousel inside brown box */
.carousel-container {
  position: relative;
  height: 420px;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease;
}

.carousel-item {
  position: absolute;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.carousel-item img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border: 2px solid #b37a7a;
  border-radius: 2px;
  background: #5c4040;
}

/* ---------- FIXED FULL-WIDTH CAPTION BAR ---------- */
.caption-bar {
  background: #e3b6c4;
  color: #402e2e;
  border-top: 2px solid #b37a7a;
  width: calc(100% - 4px); /* fills exactly inside border */
  margin: 10px auto 0;
  padding: 10px 18px;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  box-sizing: border-box;
}

/* Title centered */
.caption-text {
  flex: 1;
  text-align: center;
}

/* Pink arrows — inside the box, flush alignment */
.prev, .next {
  cursor: pointer;
  color: #402e2e;
  font-size: 22px;
  background: #e3b6c4;
  border: 2px solid #b37a7a;
  padding: 4px 10px;
  transition: 0.3s;
  margin: 0;
}

.prev:hover, .next:hover {
  background: #402e2e;
  color: #e3b6c4;
}

/* ---------- PRODUCT PAGE ---------- */
.product-wrapper {
  text-align: center;
  color: #f6f4ea;
}

.product-box {
  border-top: none;
  max-width: 900px;
  margin: 0 auto;
  background: #4c3737;
  border: 2px solid #b37a7a;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Layout: image left, info right */
.product-main {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
  text-align: left;
}

/* Image box */
.product-image img {
  width: 300px;
  height: auto;
  border: 2px solid #b37a7a;
  background: #5c4040;
}

/* Product info */
.product-info {
  flex: 1;
  color: #f6f4ea;
}

.product-name {
  color: #e3b6c4;
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.product-description {
  color: #f6f4ea;
  line-height: 1.5;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Buttons */
.product-buttons {
  display: flex;
  gap: 10px;
}

.product-buttons button {
  background: #e3b6c4;
  color: #402e2e;
  border: 2px solid #b37a7a;
  font-weight: bold;
  padding: 8px 14px;
  cursor: pointer;
  transition: 0.3s;
}

.product-buttons button:hover {
  background: #402e2e;
  color: #e3b6c4;
}

/* Bottom bar (same style as caption bar) */
.caption-bar {
  background: #e3b6c4;
  color: #402e2e;
  border-top: 2px solid #b37a7a;
  width: 100%;
  padding: 10px 18px;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  box-sizing: border-box;
}

/* ---------- PRODUCT PAGE ENHANCEMENTS ---------- */

/* Larger buttons */
.product-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.product-buttons button {
  background: #e3b6c4;
  color: #402e2e;
  border: 2px solid #b37a7a;
  font-weight: bold;
  padding: 12px 28px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
}

.product-buttons button:hover {
  background: #402e2e;
  color: #e3b6c4;
}

/* Full-width bottom card */
.caption-bar {
  background: #e3b6c4;
  color: #402e2e;
  border-top: 2px solid #b37a7a;
  width: 100%;
  padding: 10px 18px;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  box-sizing: border-box;
  margin-top: 10px;
}

/* Suggested Items Section */
.suggested-items {
  margin-top: 25px;
  text-align: center;
}

.suggested-title {
  color: #e3b6c4;
  font-weight: bold;
  margin-bottom: 15px;
}

.suggested-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.suggested-card {
  display: block;
  width: 150px;
  background: #5c4040;
  border: 1px solid #e3b6c4;
  text-decoration: none;
  color: #f6f4ea;
  transition: transform 0.3s ease;
}

.suggested-card:hover {
  transform: translateY(-4px);
  background: #664747;
}

.suggested-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 1px solid #b37a7a;
}

.suggested-name {
  padding: 6px;
  font-size: 13px;
  color: #e3b6c4;
  text-transform: capitalize;
}

/* ---------- GLOBAL SUGGESTED ITEMS (all categories) ---------- */

.suggested-items {
  margin-top: 30px;
  text-align: center;
}

.suggested-title {
  color: #e3b6c4;
  font-weight: bold;
  margin-bottom: 15px;
}

.suggested-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

/* Each product card */
.suggested-card {
  display: flex;
  flex-direction: column;
  width: 180px;
  background: #5c4040;
  border: 2px solid #b37a7a;
  text-decoration: none;
  color: #f6f4ea;
  transition: transform 0.3s ease;
}

.suggested-card:hover {
  transform: translateY(-4px);
  background: #664747;
}

/* Pink title bar */
.suggested-header {
  background: #e3b6c4;
  color: #402e2e;
  padding: 6px 8px;
  font-size: 13px;
  font-weight: bold;
  border-bottom: 2px solid #b37a7a;
  text-transform: capitalize;
  text-align: center;
}

/* Product image square */
.suggested-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top: 1px solid #b37a7a;
}
