/* ============================================================
   AÉTHER Laravel — Layout Fixes
   ============================================================ */

/* ── 1. Fix fixed header overlap — hero gets no body padding,
        all inner pages get padding-top = header height       ── */
body.page-home  { padding-top: 0; }
body.page-inner { padding-top: var(--header-height, 106px); }

/* ── 2. Hero: full-viewport, content clears header via pt ── */
.hero.hero-desktop {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Hero content wrapper — fills full viewport height,
   row padding handled inline in Blade */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;   /* top-aligned so padding-top works */
}
.hero-content .container {
  width: 100%;
}
.hero-inner {
  align-items: center;
}
@media (min-width: 992px) {
  /* No forced tall height — let content size naturally so it
     ALWAYS fits the viewport at 100% zoom (no clipping). */
  .hero.hero-desktop {
    max-height: none;
  }
  .hero-content {
    align-items: center;
    height: 100%;
    max-height: none;
  }
  .hero-inner {
    min-height: 0;
    padding-top: calc(var(--header-height, 106px) + 8px);
    padding-bottom: 56px;
  }
  .hero-cat-grid {
    align-items: center;
  }
}
@media (max-width: 991px) {
  .hero.hero-desktop {
    min-height: 85vh;
  }

  .hero-inner {
    padding-top: calc(var(--header-height, 70px) + 16px);
    padding-bottom: 40px;
    min-height: auto;
  }
}

/* ── 3. Tall Category Cards (desktop grid — image 1 style) ── */
.cat-card-tall {
  display: block;
  position: relative;
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1.5px solid var(--border, #e8e8e8);
}
.cat-card-tall:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
  border-color: var(--gold, #C9A227);
}
.cat-card-tall-img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.cat-card-tall-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cat-card-tall:hover .cat-card-tall-img img {
  transform: scale(1.07);
}
.cat-card-tall-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 16px 16px;
  background: linear-gradient(transparent, rgba(17,17,17,.75));
  color: #fff;
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-align: center;
  z-index: 2;
}

/* ── 4. Inner pages: breadcrumb + page-hero below header ── */
.breadcrumb-bar {
  margin-top: 0;
  padding-top: 20px;
}
.page-hero {
  padding-top: calc(var(--header-height, 106px) + 40px);
  padding-bottom: 60px;
  background: var(--bg-alt, #f8f8f8);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1rem;
  color: var(--text-muted, #999);
  max-width: 540px;
  margin: 0 auto;
}

/* ── 5. Shop / product pages — breadcrumb already accounts for header ── */
body.page-inner .breadcrumb-bar {
  margin-top: 0;
}

/* ── 6. Hero dots position ── */
.hero-dots {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 5;
  display: flex;
  gap: 8px;
}
/* Mobile: center the dots cleanly, clear of the CTA strip (this file loads last,
   so it must re-declare the override that responsive.css already sets) */
@media (max-width: 575px) {
  .hero-dots {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 84px;
  }
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.hero-dot.active { background: var(--gold, #C9A227); }

/* ── 7. Scroll arrow below hero ── */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.hero-scroll a {
  color: rgba(255,255,255,.7);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* ── 8. Hero cat-grid padding left on desktop ── */
@media (min-width: 992px) {
  .hero-cat-grid {
    padding-left: 32px;
    padding-top: 0;
  }
}

/* ── 9. Desktop collection swiper arrows ── */
.collection-swiper .swiper-button-next,
.collection-swiper .swiper-button-prev {
  width: 44px; height: 44px;
  background: #111;
  border-radius: 50%;
  color: #fff;
  --swiper-navigation-size: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.collection-swiper .swiper-button-next:hover,
.collection-swiper .swiper-button-prev:hover {
  background: var(--gold, #C9A227);
  color: #111;
}
@media (max-width: 767px) {
  .collection-swiper .swiper-button-next,
  .collection-swiper .swiper-button-prev { display: none !important; }
}

/* ── 10. Auth / Login pages ── */
.auth-section { padding-top: calc(var(--header-height, 106px) + 40px); padding-bottom: 80px; }

/* ── 11. Contact page form ── */
.search-bar-page .input-group .form-control {
  border-radius: var(--radius-md, 14px) 0 0 var(--radius-md, 14px);
}
.search-bar-page .btn { border-radius: 0 var(--radius-md, 14px) var(--radius-md, 14px) 0; }

/* ── 12. General spacing & alignment ── */
.main-footer { overflow: hidden; }
.footer-trust-bar .container { max-width: 1320px; }
.notes-grid-shop { display: grid; }

/* ── 13. Mobile CTA above mobile nav ── */
@media (max-width: 991px) {
  .mobile-cta-bar { z-index: 989; }
  .float-whatsapp { z-index: 990; }
}

/* ── 13b. Product detail pages: the sticky buy bar already provides
        Add to Cart, so hide the floating WhatsApp icon and the mobile
        CTA bar there — they overlap the sticky bar and clutter the
        bottom of the screen. ── */
body.product-page .float-whatsapp { display: none; }

/* Collections page — hide the floating WhatsApp icon too; it sits on
   top of the large collection banner imagery on phones. */
body.collections-page .float-whatsapp { display: none; }
@media (max-width: 991px) {
  body.product-page .mobile-cta-bar { display: none !important; }
  /* No mobile CTA bar below — sticky buy bar sits flush on the bottom */
  body.product-page .sticky-buy { bottom: 0 !important; }
}

/* ============================================================
   NOTES CONVEYOR BELT — Line 1 scrolls left→right, Line 2 right→left
   Works on ALL screen sizes (mobile + desktop), no controls needed
   ============================================================ */

.notes-section-wrap { overflow: hidden; }

.notes-conveyor-outer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 0 16px;
  overflow: hidden;
}

.notes-conveyor-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

/* Line 1: left to right */
.notes-track-fwd {
  animation: conveyorFwd 40s linear infinite;
}
.notes-track-fwd:hover { animation-play-state: paused; }

/* Line 2: right to left */
.notes-track-rev {
  animation: conveyorRev 40s linear infinite;
}
.notes-track-rev:hover { animation-play-state: paused; }

@keyframes conveyorFwd {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes conveyorRev {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.notes-conveyor-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.notes-conveyor-item:hover { transform: translateY(-5px); }

.notes-conveyor-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px dashed #c9a961;
  transition: border-style 0.2s, box-shadow 0.25s;
  flex-shrink: 0;
}
.notes-conveyor-item:hover .notes-conveyor-circle {
  border-style: solid;
  box-shadow: 0 0 0 4px rgba(201,169,97,0.18);
}
.notes-conveyor-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.notes-conveyor-item span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text, #1a1a1a);
  white-space: nowrap;
  text-transform: uppercase;
}

/* Desktop: slightly bigger circles */
@media (min-width: 768px) {
  .notes-conveyor-circle { width: 96px; height: 96px; }
  .notes-conveyor-item span { font-size: 0.78rem; }
  .notes-conveyor-track { gap: 24px; }
  .notes-track-fwd { animation-duration: 55s; }
  .notes-track-rev { animation-duration: 55s; }
}

/* ============================================================
   ACCOUNT DROPDOWN — Premium design, no arrow caret
   ============================================================ */

/* Remove the Bootstrap caret/arrow on dropdown-toggle */
.nav-account-btn::after { display: none !important; }

/* ── Nav dropdown (SHOP): Bootstrap's caret triangle merges with the custom
      gold underline (both use ::after) and renders a broken envelope/triangle
      below the link. Strip the caret borders so only the underline remains. ── */
.main-header .nav-link.dropdown-toggle::after {
  border: none !important;
  margin-left: 0 !important;
  vertical-align: 0 !important;
  transform: translateX(-50%) !important;
}

/* Subtle premium chevron next to SHOP for the dropdown affordance */
.nav-caret {
  display: inline-block;
  font-size: .58rem;
  margin-left: 6px;
  opacity: .65;
  transition: transform var(--t-fast), color var(--t-fast);
  line-height: 1;
}
.nav-item.dropdown:hover .nav-caret,
.nav-item.dropdown.show .nav-caret {
  transform: rotate(180deg);
  color: var(--gold);
  opacity: 1;
}

.nav-account-btn {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  position: relative;
}

.account-dropdown-menu {
  min-width: 230px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  padding: 0;
  overflow: hidden;
  margin-top: 14px !important;
  top: 100% !important;
}

.account-dropdown-header {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.account-dropdown-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #c9a961;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.account-dropdown-name { color: white; font-weight: 600; font-size: 0.9rem; line-height: 1.3; }
.account-dropdown-email { color: rgba(255,255,255,0.6); font-size: 0.75rem; }

.account-dropdown-menu .dropdown-item {
  padding: 11px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s;
  border-radius: 0;
}
.account-dropdown-menu .dropdown-item:hover {
  background: #fff8ee;
  color: #c9a961;
}
.account-dropdown-menu .dropdown-item i {
  width: 18px;
  text-align: center;
  color: #c9a961;
  flex-shrink: 0;
}
.account-dropdown-menu .dropdown-item.text-danger i { color: #dc3545; }
.account-dropdown-menu .dropdown-item.text-danger:hover { background: #fff5f5; color: #dc3545; }

.account-dropdown-menu .dropdown-divider { margin: 0; border-color: #f0f0f0; }
.account-dropdown-menu form { margin: 0; padding: 0; }
.account-dropdown-menu form .dropdown-item { width: 100%; background: none; border: none; cursor: pointer; }

/* ============================================================
   MY ACCOUNT PAGE — Premium design
   ============================================================ */
.account-layout { min-height: 60vh; }

.account-sidebar-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  position: sticky;
  top: 120px;
}
.account-sidebar-top {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 28px 20px 20px;
  text-align: center;
}
.account-sidebar-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a961, #a88945);
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(201,169,97,0.4);
}
.account-sidebar-name { color: white; font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.account-sidebar-email { color: rgba(255,255,255,0.55); font-size: 0.78rem; }

.account-sidebar-nav { padding: 12px 8px; }
.account-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: #555;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  margin-bottom: 2px;
}
.account-nav-item:hover { background: #fff8ee; color: #c9a961; }
.account-nav-item.active { background: #fff3d6; color: #a87e1a; font-weight: 700; }
.account-nav-item i { width: 20px; text-align: center; font-size: 1rem; color: #c9a961; flex-shrink: 0; }
.account-nav-item.danger { color: #dc3545; }
.account-nav-item.danger i { color: #dc3545; }
.account-nav-item.danger:hover { background: #fff5f5; }
.account-nav-divider { margin: 8px 14px; border-color: #f0f0f0; }

/* Stat cards on account page */
.account-stat-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.account-stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.account-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.account-stat-value { font-size: 1.4rem; font-weight: 800; color: #1a1a1a; margin-bottom: 2px; }
.account-stat-label { font-size: 0.8rem; color: #888; font-weight: 500; }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page-item {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 12px;
  transition: box-shadow 0.2s;
}
.cart-page-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.cart-page-item-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}
.cart-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #e0e0e0;
  border-radius: 30px;
  overflow: hidden;
}
.cart-qty-btn-page {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: #555;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-qty-btn-page:hover { background: #c9a961; color: white; }
.cart-qty-value { width: 38px; text-align: center; font-weight: 700; font-size: 0.95rem; border: none; background: transparent; }

.cart-summary-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  position: sticky;
  top: 120px;
}
.cart-coupon-box {
  background: #fafafa;
  border-radius: 12px;
  padding: 16px;
  border: 1.5px dashed #e0e0e0;
  margin-bottom: 20px;
}
.cart-coupon-applied {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #16a34a;
}
.cart-totals-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; }
.cart-totals-total { font-size: 1.2rem; font-weight: 800; padding-top: 10px; border-top: 2px solid #f0f0f0; margin-top: 8px; }
.btn-checkout-gold {
  background: linear-gradient(135deg, #c9a961, #a88945);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-checkout-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,169,97,0.4);
  color: white;
}
