/* ========== CSS RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-family: 'Montserrat', sans-serif;
  background: #0f0f0f;
  color: #e0d5c6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== AGE VERIFICATION MODAL ========== */
.age-verification-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: 'Montserrat', sans-serif;
}

.age-verification-content {
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.age-verification-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #6b0d2b, #8a1e3d, #6b0d2b);
}

.age-verification-logo {
  height: 70px;
  margin-bottom: 20px;
}

.age-verification-title {
  font-family: 'Playfair Display', serif;
  color: #6b0d2b;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.age-verification-subtitle {
  color: #333;
  font-size: 18px;
  margin-bottom: 25px;
  font-weight: 600;
}

.age-verification-text {
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
  font-size: 16px;
}

.age-verification-warning {
  background: #f9f2f4;
  border-left: 4px solid #6b0d2b;
  padding: 15px;
  margin-bottom: 30px;
  text-align: left;
  border-radius: 0 8px 8px 0;
}

.age-verification-warning i {
  color: #6b0d2b;
  margin-right: 10px;
}

.age-verification-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.age-btn {
  padding: 16px 40px;
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.age-btn-yes {
  background: #6b0d2b;
  color: white;
}

.age-btn-yes:hover {
  background: #8a1e3d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 13, 43, 0.4);
}

.age-btn-no {
  background: #f5f5f5;
  color: #666;
  border: 2px solid #ddd;
}

.age-btn-no:hover {
  background: #e9e9e9;
  transform: translateY(-2px);
}

.age-verification-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  color: #999;
  font-size: 14px;
}

@media (max-width: 768px) {
  .age-verification-content {
    padding: 30px 20px;
  }
  .age-verification-title { font-size: 28px; }
  .age-verification-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .age-btn { width: 100%; min-width: auto; padding: 14px 20px; }
}

/* ========== TOPBAR ========== */
.topbar-top {
  background: #6b0d2b;
  padding: 6px 0;
}

.topbar-top-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar-main {
  background: #1a1a1a;
  padding: 12px 0;
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo img {
  height: 45px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.main-nav ul li a {
  color: #e0d5c6;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.main-nav ul li a:hover {
  color: #d4a373;
}

.top-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-icons .icon {
  color: #e0d5c6;
  font-size: 20px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.top-icons .icon:hover {
  color: #d4a373;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #6b0d2b;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

@media (max-width: 768px) {
  .topbar-main-inner {
    flex-direction: column;
    gap: 12px;
  }
  .main-nav ul {
    justify-content: center;
    gap: 12px;
  }
  .main-nav ul li a {
    font-size: 11px;
  }
}

/* ========== BLOG HEADER ========== */
.blog-header {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
  border-bottom: 1px solid #333;
}

.blog-header-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: #e0d5c6;
  text-align: center;
}

.blog-header-title span {
  color: #6b0d2b;
}

.blog-header-subtitle {
  text-align: center;
  color: #999;
  font-size: 18px;
  margin-top: 8px;
  font-weight: 300;
}

@media (max-width: 768px) {
  .blog-header-title { font-size: 32px; }
  .blog-header-subtitle { font-size: 14px; }
}

/* ========== BLOG SECTION ========== */
.blog-section {
  padding: 40px 0;
}

/* ========== FEATURED POST ========== */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #333;
}

.blog-featured-image {
  position: relative;
  height: 100%;
  min-height: 350px;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #6b0d2b;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-featured-content {
  padding: 30px 30px 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.blog-meta span {
  color: #999;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta i {
  color: #6b0d2b;
}

.blog-featured-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #e0d5c6;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-featured-excerpt {
  color: #bbb;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-read-more {
  color: #d4a373;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.blog-read-more:hover {
  gap: 14px;
}

@media (max-width: 768px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-image { min-height: 250px; }
  .blog-featured-content { padding: 24px; }
  .blog-featured-title { font-size: 22px; }
}

/* ========== BLOG GRID ========== */
.blog-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.blog-grid-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #e0d5c6;
}

.blog-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid #444;
  color: #999;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #6b0d2b;
  color: #e0d5c6;
}

.filter-btn.active {
  background: #6b0d2b;
  border-color: #6b0d2b;
  color: white;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.blog-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #333;
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: #6b0d2b;
  box-shadow: 0 8px 30px rgba(107, 13, 43, 0.15);
}

.blog-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #6b0d2b;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-card-content {
  padding: 20px;
}

.blog-card-content .blog-meta {
  margin-bottom: 8px;
}

.blog-card-content .blog-meta span {
  font-size: 12px;
}

.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #e0d5c6;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-excerpt {
  color: #999;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-card-link {
  color: #d4a373;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.blog-card-link:hover {
  gap: 12px;
}

@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== FULL POST ========== */
.blog-full-post {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  overflow-y: auto;
  padding: 40px 20px;
  display: none;
}

.blog-full-post-inner {
  max-width: 800px;
  margin: 0 auto;
  background: #1a1a1a;
  border-radius: 16px;
  padding: 40px;
  position: relative;
  border: 1px solid #333;
}

.blog-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: #999;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10;
}

.blog-close-btn:hover {
  color: white;
}

.blog-full-post-header {
  margin-bottom: 24px;
}

.blog-full-post-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #e0d5c6;
  line-height: 1.3;
}

.blog-full-post-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.blog-full-post-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.blog-full-post-body {
  color: #ccc;
  font-size: 16px;
  line-height: 1.8;
}

.blog-full-post-body p {
  margin-bottom: 16px;
}

.blog-full-post-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #e0d5c6;
  margin: 30px 0 16px;
}

.blog-quote {
  background: #2a1a1a;
  padding: 24px 30px;
  border-radius: 12px;
  border-left: 4px solid #6b0d2b;
  margin: 24px 0;
  position: relative;
}

.blog-quote i {
  position: absolute;
  top: -10px;
  left: 12px;
  color: #6b0d2b;
  font-size: 28px;
  opacity: 0.4;
}

.blog-quote p {
  color: #e0d5c6;
  font-size: 18px;
  font-style: italic;
  margin: 0;
  padding-left: 20px;
}

.blog-share {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-share span {
  color: #999;
  font-size: 14px;
}

.blog-share a {
  color: #999;
  font-size: 18px;
  transition: color 0.3s ease;
}

.blog-share a:hover {
  color: #d4a373;
}

@media (max-width: 768px) {
  .blog-full-post { padding: 20px 12px; }
  .blog-full-post-inner { padding: 24px 16px; }
  .blog-full-post-title { font-size: 24px; }
  .blog-full-post-body { font-size: 15px; }
  .blog-quote { padding: 16px 20px; }
  .blog-quote p { font-size: 16px; }
}

/* ========== FOOTER ========== */
.footer {
  background: #0a0a0a;
  padding: 60px 0 30px;
  border-top: 1px solid #222;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.footer-brand .footer-logo {
  height: 50px;
  margin-bottom: 16px;
}

.brand-tagline {
  color: #d4a373;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.brand-description {
  color: #888;
  font-size: 14px;
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 16px;
}

.socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  color: #888;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #d4a373;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer-heading {
  color: #e0d5c6;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links li a {
  color: #888;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #d4a373;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ========== USER DROPDOWN ========== */
.user-dropdown {
  position: absolute;
  top: 100px;
  right: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 16px;
  min-width: 200px;
  z-index: 1000;
  display: none;
  border: 1px solid #eee;
}

.user-dropdown.show {
  display: block !important;
}

.user-dropdown-info {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.user-dropdown-name {
  font-weight: bold;
  font-size: 16px;
  color: #333;
}

.user-dropdown-email {
  font-size: 14px;
  color: #666;
}

.user-dropdown-link {
  display: flex;
  align-items: center;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.user-dropdown-link i {
  margin-right: 8px;
  width: 20px;
}

.user-dropdown-logout {
  margin-top: 12px;
  padding: 8px 16px;
  background: #6b0d2b;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 14px;
  transition: background 0.3s ease;
}

.user-dropdown-logout:hover {
  background: #8a1e3d;
}

.admin-badge {
  display: inline-block;
  background: #6b0d2b;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  margin-left: 8px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .user-dropdown {
    position: fixed;
    top: 70px;
    right: 10px;
    left: 10px;
    min-width: auto;
  }
}

/* =========================================================================
   BLOG DESIGN — Instagram-carousel style pages
   Colours and type pulled directly from the approved PDF design:
     - Outer background maroon : #6F0529
     - Card / page background  : #D7B987 (article pages)
     - Heading + body font     : Poppins (bold rounded geometric sans)
   ========================================================================= */

.blog-design {
  background-color: #6F0529;
  /* subtle wavy line texture, matching the thin curved strokes on the maroon
     background in the PDF, kept low-opacity so it reads as texture, not noise */
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.05) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,0.05) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1.5'%3E%3Cpath d='M-20 60 C 80 10, 160 110, 260 60 S 420 10, 480 60'/%3E%3Cpath d='M-20 180 C 80 130, 160 230, 260 180 S 420 130, 480 180'/%3E%3Cpath d='M-20 300 C 80 250, 160 350, 260 300 S 420 250, 480 300'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: auto, auto, 400px 400px;
  padding: 0;
}

.blog-cover,
.blog-page {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 28px 18px;
}

/* ---------- Cover (page 1): single baked image asset ---------- */
.cover-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 5;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ---------- Article pages (2–4): tan card ---------- */
.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 5;
  background: #D7B987;
  border-radius: 34px;
  padding: 56px 40px 34px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.article-inner {
  flex: 1 1 auto;
}

.article-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 4.6vw, 26px);
  line-height: 1.28;
  color: #171008;
  text-align: center;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

/* second (and later) headings on a page get breathing room above them */
.article-title ~ .article-title,
.article-copy + .article-title {
  margin-top: 30px;
}

.article-copy p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(13.5px, 2.6vw, 15.5px);
  line-height: 1.72;
  color: #1c140c;
  text-align: left;
  margin: 0 0 16px;
}

.article-copy p:last-child {
  margin-bottom: 0;
}

.article-copy strong {
  font-weight: 700;
}

.article-copy a {
  color: #6F0529;
  font-weight: 600;
  text-decoration: none;
}

.article-copy a:hover {
  text-decoration: underline;
}

/* decorative dash–dash–chevron arrow, centred at the bottom of each card */
.page-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding-top: 20px;
}

.page-arrow svg {
  display: block;
}

@media (max-width: 480px) {
  .blog-cover, .blog-page {
    padding: 18px 12px;
  }
  .article-card {
    padding: 40px 26px 26px;
    border-radius: 26px;
  }
  .cover-card {
    border-radius: 26px;
  }
}