@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --color-primary: #85004b;
}

body {
  font-family: "Montserrat", sans-serif;
}

.content-image {
  border-radius: 15px;
  object-fit: cover;
}
@media all and (min-width: 768px) {
  .content-image {
    width: 500px;
    height: 500px;
    margin-right: 2rem !important;
    float: left;
  }
}
@media all and (max-width: 768px) {
  .content-image {
    height: 350px;
    margin-bottom: 1rem !important;
  }
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.content h1 {
  font-size: 2rem !important;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.25rem !important;
}

.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  font-size: 1.5rem !important;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem !important;
}

.content p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 1.25rem !important;
}

.content ul,
.content ol {
  margin-bottom: 1.25rem !important;
  margin-left: 2rem;
}

.content ul {
  list-style-type: disc;
}

.content ol {
  list-style-type: decimal;
}

.content li {
  margin-bottom: 0.5rem;
}

.content a {
  color: #007bff;
  text-decoration: underline;
  font-weight: 500;
}

.content blockquote {
  font-size: 1.25rem;
  font-style: italic;
  border-left: 4px solid #007bff;
  padding-left: 1rem;
  margin-bottom: 1.5rem !important;
  color: #555;
}

.content strong {
  font-weight: 600;
}

.content em {
  font-style: italic;
}

.content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 8px;
}

.content hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2rem 0;
}

.iti {
  width: 100%;
}

/* ===== TOP ANNOUNCEMENT BAR ===== */
.top-bar {
  background: linear-gradient(135deg, #1a0a10 0%, #2d1219 50%, #1a0a10 100%);
  position: relative;
}

.top-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.5),
    transparent
  );
}

.top-bar-text {
  color: #f4e4a6;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ===== HEADER SECTION ===== */
.header-main {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.brand-logo {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.brand-logo .highlight {
  color: var(--color-primary);
}

/* Search Bar */
.search-container {
  position: relative;
  flex: 1;
  max-width: 500px;
}

.search-input {
  width: 100%;
  padding: 0.625rem 1rem;
  padding-right: 3rem;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  background: #fafafa;
}

.search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(133, 0, 75, 0.1);
}

.search-input::placeholder {
  color: #999;
}

.search-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 44px;
  background: var(--color-primary);
  border: none;
  border-radius: 0 4px 4px 0;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  background: #6a003d;
}

/* Account & Cart */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-action-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-action-item:hover {
  color: var(--color-primary);
}

.header-action-icon {
  width: 20px;
  height: 20px;
}

.header-action-text {
  font-size: 0.75rem;
  line-height: 1.3;
}

.header-action-text span {
  display: block;
}

.header-action-text .label {
  color: #666;
}

.header-action-text .value {
  font-weight: 600;
  color: #333;
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.cart-link:hover {
  color: var(--color-primary);
}

.cart-icon-wrapper {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--color-primary);
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== NAVIGATION BAR ===== */
.nav-bar {
  background: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
}

.nav-link {
  position: relative;
  color: #333;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.875rem 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-primary);
  background: rgba(133, 0, 75, 0.05);
}

.nav-link.active {
  color: var(--color-primary);
}

.dropdown-arrow {
  width: 8px;
  height: 8px;
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Link Structure */
.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: default;
}

.dropdown-link a {
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.8125rem;
}

.dropdown-link a:hover {
  color: var(--color-primary);
}

.dropdown-toggle {
  padding: 0.25rem;
  margin-left: 0.375rem;
  display: flex;
  align-items: center;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 200px;
  border-radius: 0 0 6px 6px;
  transition: all 0.25s ease;
  z-index: 100;
}

.nav-dropdown.hidden {
  display: none;
}

.nav-dropdown:not(.hidden) {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: #444;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.nav-dropdown a:hover {
  background: #f8f8f8;
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  padding: 0.5rem;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: #f5f5f5;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  .nav-link {
    padding: 0.75rem 0.625rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-main .search-container {
    display: none;
  }

  .header-action-text {
    display: none;
  }

  .header-actions {
    gap: 1rem;
  }

  /* Mobile Navigation */
  .nav-bar-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 99;
  }

  .nav-bar-container.active {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f0f0f0;
    justify-content: space-between;
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: #f8f8f8;
    width: 100%;
  }

  .nav-dropdown.hidden {
    display: none;
  }

  .nav-dropdown:not(.hidden) {
    display: block;
  }

  .nav-dropdown a {
    padding-left: 2rem;
  }

  /* Mobile Search */
  .mobile-search {
    display: block;
    padding: 1rem;
    background: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
  }

  .mobile-search .search-container {
    max-width: 100%;
  }
}

@media (min-width: 769px) {
  .mobile-search {
    display: none;
  }

  .nav-bar-container {
    display: block !important;
  }
}
