/* ============================================
   SCENTED SOUL — Global Styles
   Elegant · Minimal · Eastern Modernism
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== Marquee Animation ===== */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  animation: marquee 25s linear infinite;
}

/* ===== Image Styling ===== */
img {
  display: block;
  max-width: 100%;
}

/* ===== Selection Color ===== */
::selection {
  background: #b8935a;
  color: #f7f4ef;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f7f4ef;
}
::-webkit-scrollbar-thumb {
  background: #c4a882;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b8935a;
}

/* ===== Button Base ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: #0f0f14;
  color: #f7f4ef;
}

.btn-primary:hover {
  background: #b8935a;
  color: #f7f4ef;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #0f0f14;
  border: 1px solid rgba(15, 15, 20, 0.2);
}

.btn-outline:hover {
  border-color: #b8935a;
  color: #b8935a;
}

/* ===== Product Card Hover ===== */
.product-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-img img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== Category Tag ===== */
.cat-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cat-tag.bestseller { background: #f5ebe0; color: #8b6f47; }
.cat-tag.signature  { background: #e8f0e8; color: #5a7a62; }
.cat-tag.earthy     { background: #f0ebe8; color: #8a7e72; }
.cat-tag.warm        { background: #f5e6e0; color: #a0705a; }
.cat-tag.mysterious  { background: #e8e6f0; color: #6b5b8a; }

/* ===== Decorative Divider ===== */
.divider {
  width: 48px;
  height: 1px;
  background: #b8935a;
  margin: 0 auto;
}

.divider-left {
  width: 48px;
  height: 1px;
  background: #b8935a;
}

/* ===== Accordion / Details ===== */
details {
  border-bottom: 1px solid rgba(15, 15, 20, 0.1);
}

details summary {
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: #0f0f14;
  transition: color 0.3s ease;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary:hover {
  color: #b8935a;
}

details summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: #b8935a;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details > div {
  padding: 0 0 20px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(15, 15, 20, 0.5);
  font-weight: 300;
}

/* ===== Fade-in Animation ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* ===== Responsive Typography ===== */
@media (max-width: 768px) {
  .font-display {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
}

/* ===== Focus States ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #b8935a;
  outline-offset: 4px;
}
