@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --background: #f7f4ef;
  --background-alt: #ebe6dc;
  --foreground: #2a2520;
  --card: #f2ede5;
  --primary: #b8860b;
  --primary-light: #c9a04a;
  --muted: #8c8078;
  --border: #e0d8ce;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
}

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

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.3s ease;
}

.navbar--scrolled {
    background: rgba(247, 244, 239, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar--scrolled .navbar__inner {
    padding: 0.35rem 1.5rem;
}

.navbar__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--foreground);
}

.navbar__logo img {
    height: 40px;
    transition: height 0.3s ease;
}

.navbar--scrolled .navbar__logo img {
    height: 32px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar__link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}

.navbar__link:hover {
  color: var(--foreground);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--foreground);
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__slider {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero__slide.active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(247,244,239,0.92), rgba(247,244,239,0.6), transparent);
}

/* Heromiddle */
.heromiddle {
  position: relative;
  height: 50vh;
  min-height: 300px;
  overflow: hidden;
  margin: 0;
  background-color: var(--background-alt);
}

.heromiddle__slider {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
}

.heromiddle--right .heromiddle__slider {
  right: 0;
}

.heromiddle--left .heromiddle__slider {
  left: 0;
}

.heromiddle__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.heromiddle__slide.active {
  opacity: 1;
}

.heromiddle__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heromiddle__overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.heromiddle--right .heromiddle__overlay {
  background: linear-gradient(to right, var(--background-alt) 0%, transparent 50%);
}

.heromiddle--left .heromiddle__overlay {
  background: linear-gradient(to left, var(--background-alt) 0%, transparent 50%);
}

.heromiddle__content {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 10;
}

.heromiddle__content--left {
  left: 0;
}

.heromiddle__content--right {
  right: 0;
}

.heromiddle__claim {
  max-width: 400px;
  text-align: center;
}

.heromiddle__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.heromiddle__text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 1.5rem;
}

.hero__inner {
  max-width: 540px;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #886308; /* 10% darker than gold #b8860b */
  text-shadow: 0 0 2px #fff;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 500;
  color: #100e0c; /* 10% darker than charcoal #2a2520 */
  text-shadow: 0 0 2px #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  font-weight: 500;
}

.hero__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: #6e645e; /* 10% darker than muted #8c8078 */
  text-shadow: 0 0 2px #fff;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 460px;
}

.hero__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--foreground);
  padding: 1rem 2rem;
  color: var(--foreground);
  transition: all 0.3s;
}

.hero__cta:hover {
  background: var(--foreground);
  color: var(--background);
}

/* ===== PRODUCTS ===== */
.products {
  padding: 1rem 1.5rem;
}

.products__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-header--left {
    text-align: left;
    margin-bottom: 2rem;
}

.section-header__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-header__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--foreground);
}

.section-header__title--large {
    font-size: 3rem;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.products__grid--center {
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 350px));
}

.product-card {
  cursor: pointer;
}

.product-card__image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--card);
  margin-bottom: 1rem;
  position: relative;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.product-card__image video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover .product-card__image img:not(.has-video) {
  transform: scale(1.05);
}

.product-card:hover .product-card__image video {
    opacity: 1;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.product-card__price {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted);
}

.product-card__price--large {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

/* ===== ABOUT ===== */
.about {
  padding: 1rem 1.5rem;
  background: var(--card);
}

.about__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--foreground);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about__title em {
  font-style: italic;
}

.about__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature {
  border-left: 2px solid var(--primary);
  padding-left: 1.5rem;
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.feature__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted);
}

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--background);
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted);
}

.footer__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer__link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted);
  transition: color 0.3s;
}

.footer__link:hover {
  color: var(--foreground);
}

.lang-switcher {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--muted);
}

.lang-switcher a {
    color: var(--muted);
    transition: color 0.3s;
}

.lang-switcher a:hover {
    color: var(--foreground);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(247,244,239,0.95);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    max-height: 80vh;
    overflow-y: auto;
  }

  .hero__title {
    font-size: 2.75rem;
  }

  .hero__desc {
    font-size: 0.9375rem;
  }

  .heromiddle {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: auto;
  }

  .heromiddle__content {
    position: relative;
    width: 100%;
    height: auto;
    padding: 3rem 1.5rem;
    order: 2;
    background-color: var(--background-alt);
  }

  .heromiddle__slider {
    position: relative;
    width: 100%;
    height: 350px;
    order: 1;
    left: auto !important;
    right: auto !important;
  }

  .heromiddle__overlay {
    display: none;
  }

  .products__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .section-header__title,
  .about__title {
    font-size: 2rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  /* Product Detail Mobile Stack */
  .product-detail-section {
    display: flex;
    flex-direction: column;
    padding: 40px 1.5rem;
    gap: 1.5rem;
  }

  .product-info {
    display: contents;
  }

  .product-info .section-header {
    order: 1;
    margin-bottom: 0 !important;
  }

  .product-images {
    order: 2;
  }

  .product-detail__description {
    order: 3;
    margin-bottom: 0 !important;
  }

  .product-card__price--large {
    order: 4;
    margin-bottom: 0 !important;
  }

  .product-detail__delivery {
    order: 5;
    margin-bottom: 0 !important;
  }

  .product-detail__form {
    order: 6;
    margin-top: 0 !important;
  }

  .reviews-section {
    padding: 0 1.5rem 60px !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__title {
    font-size: 3.5rem;
  }
}

/* ===== SHARED COMPONENTS & INTEGRATION ===== */

body {
    padding-top: 70px;
}

.admin-page {
    background: #fff;
}

.page-section {
    padding-top: 100px;
    margin-bottom: 100px;
}

.content-card {
    background: var(--card);
    padding: 3rem;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.content-card--login {
    max-width: 450px;
    margin: 0 auto;
}

.content-card__body {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.8;
    text-align: center;
}

.content-card__body--justified {
    text-align: justify;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.breadcrumb__link {
    color: var(--muted);
}

.breadcrumb__separator {
    color: var(--border);
    margin: 0 0.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group__label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    display: block;
    margin-bottom: 0.5rem;
}

input,
select,
textarea {
    background-color: #fff;
    color: var(--foreground);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 10px;
    font-family: var(--font-body);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.text-error {
    color: #b22222;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--foreground);
    color: var(--background);
    padding: 1rem 2rem;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--muted);
    padding: 1rem 2rem;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.3s;
    border: 1px solid var(--border);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--foreground);
    color: var(--foreground);
}

/* Tables */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.cart-table th, .cart-table td {
    border-bottom: 1px solid var(--border);
    padding: 12px;
    text-align: left;
}

.cart-table th {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
}

/* Product Detail Specifics */
.product-detail-section {
    display: flex;
    gap: 60px;
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.product-images {
    flex: 1;
}

.product-info {
    flex: 1;
}

.main-image-container {
    width: 100%;
    aspect-ratio: 1;
    background-color: var(--card);
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

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

.thumbnail-navigation {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    align-items: center;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid var(--border);
}

.thumbnail:hover {
    border-color: var(--primary);
}

/* Checkout Specifics */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.checkout-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
}

.summary-card {
    background: var(--card);
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--border);
}

/* Reviews */
.review-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.star-rating {
    font-size: 2rem;
    cursor: pointer;
    color: var(--border);
}

.star--active {
    color: var(--primary);
}

/* Admin Specifics */
.admin-main-container {
    width: 95%;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
}

.admin-nav {
    margin-bottom: 30px;
}

.admin-nav a {
    font-size: 0.8rem;
    margin-right: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.admin-nav a:hover {
    color: var(--primary);
}

/* Cookie Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background-color: var(--foreground);
    color: var(--background);
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: space-between;
}

.cookie-consent-banner a {
    color: var(--primary-light);
    text-decoration: underline;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cookie-btn.accept {
    background-color: var(--primary);
    color: #fff;
}

.cookie-btn.reject {
    background-color: #444;
    color: #fff;
}

.cookie-btn.customize {
    background-color: transparent;
    border: 1px solid #888;
    color: #fff;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

/* Man Collection Page Accent */
.man-collection-page {
    background-color: #f0f0f0; /* Slightly cooler background */
}

.section-header--man .section-header__title {
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #1a1a1a;
}

.category-section--man h3 {
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.product-card--man .product-card__name {
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.product-card--man .product-card__image {
    border: 1px solid #ddd;
}

/* Filter Buttons */
.filter-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-filter {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-filter:hover {
    border-color: var(--foreground);
    color: var(--foreground);
}

.btn-filter.active {
    background: var(--foreground);
    color: var(--background);
    border-color: var(--foreground);
}

.btn-filter--small {
    padding: 0.4rem 0.8rem;
    font-size: 0.65rem;
}
