/*
  Table of Contents:
  1. Design Tokens
  2. Base & Utility Styles
  3. Header Layout (Desktop & Mobile)
  4. Search Overlay
  5. Mobile Navigation
  6. Hero Banner Slider
  7. About Us Summary Section
  8. New Arrival Product Section
  9. Process Section
  10. Instagram Feed Section
  11. Blog Section
  12. Contact Widget
  13. Footer Styles
  14. Responsive Media Queries
  15. Product Category Page
  16. Product Detail Page & Modals
  17. Related Products Section
  18. Custom Toast Notification
  19. Blog Page Styles
*/

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  --clr-main: #491517;
  --clr-secondary: #633739;
  --clr-white: #f8f8f8;
  --clr-black: #231f20;
  --clr-gray: #666666;
  --clr-gray-bright: #cecece;
  --clr-main-t70: rgba(73, 21, 23, 0.7);
  --font-family-base: "Roboto", sans-serif;
  --font-d-h1: 700 48px/1.2 var(--font-family-base);
  --font-d-h2: 700 40px/1.2 var(--font-family-base);
  --font-d-h3: 600 32px/1.2 var(--font-family-base);
  --font-d-h4: 600 24px/1.2 var(--font-family-base);
  --font-m-h1: 700 40px/1.2 var(--font-family-base);
  --font-m-h2: 700 32px/1.2 var(--font-family-base);
  --font-m-h3: 600 24px/1.2 var(--font-family-base);
  --font-m-h4: 600 20px/1.2 var(--font-family-base);
  --font-subtitle: 500 20px/1.5 var(--font-family-base);
  --font-label: 500 16px/1.5 var(--font-family-base);
  --font-body1: 400 20px/1.6 var(--font-family-base);
  --font-body2: 300 16px/1.6 var(--font-family-base);
  --font-caption: 300 13px/1.4 var(--font-family-base);
  --font-subtitle-italic: italic 500 16px/1.5 var(--font-family-base);
  --font-caption-semibold: 600 13px/1.4 var(--font-family-base);
  --font-caption-italic: italic 400 13px/1.4 var(--font-family-base);
  --transition-fast: 250ms ease-in-out;
  --transition-smooth: 400ms ease-in-out;
  --container-max-width: 1200px;
  --container-padding-x: 1rem;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;
}

/* ==========================================================================
   2. BASE & UTILITY STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Global Responsive Rules */
html,
body {
  overflow-x: hidden;
  width: 100%;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* Metaslider Responsive Fixes */
.metaslider,
.ml-slider,
.hero-slider,
.hero-slider-wrapper {
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
}

.metaslider .slides,
.ml-slider .slides {
  width: 100% !important;
}

.metaslider img,
.ml-slider img {
  max-width: 100% !important;
  height: auto !important;
  width: 100% !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--clr-black);
  background-color: var(--clr-white);
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font: var(--font-label);
  border-radius: 99px;
  transition: background-color var(--transition-fast),
    color var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--clr-secondary);
  color: var(--clr-white);
  border-color: var(--clr-secondary);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--clr-secondary);
}

/* ==========================================================================
   3. HEADER LAYOUT
   ========================================================================== */
.site-header {
  background-color: var(--clr-white);
}

.header-top-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100px;
  /* Increased from 80px */
  padding: 0 2rem;
  /* Added side padding */
}

.logo {
  grid-column: 2 / 3;
  justify-self: center;
  transition: height var(--transition-fast);
}

.logo img {
  height: auto;
  width: auto;
  max-height: 40px;
  /* mobile/tablet default */
  max-width: 100%;
  object-fit: contain;
  /* safety, prevents squash inside containers */
}

.header-actions {
  grid-column: 3 / 4;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-toggle,
.cart-icon {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.search-toggle img,
.cart-icon img {
  height: 28px;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -8px;
  background-color: var(--clr-main);
  color: var(--clr-white);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  line-height: 1;
}

.header-bottom {
  display: none;
  background-color: var(--clr-main);
}

.main-navigation-desktop ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.main-navigation-desktop .nav-link {
  display: block;
  padding: 1.25rem 1.5rem;
  font: var(--font-d-h3);
  color: var(--clr-white);
  text-decoration: none;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.main-navigation-desktop .nav-link:hover {
  color: var(--clr-gray);
}

.main-navigation-desktop .nav-link::after {
  content: "";
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--clr-white);
  transition: width var(--transition-fast);
}

.main-navigation-desktop .nav-link.active::after {
  width: 50%;
}

.main-navigation-desktop .nav-item {
  position: relative;
}

.main-navigation-desktop .nav-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 40%;
  background-color: var(--clr-main-t70);
  border-radius: 2px;
}

/* ==========================================================================
   4. SEARCH OVERLAY
   ========================================================================== */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.close-search {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--clr-white);
  background: none;
  border: none;
  cursor: pointer;
}

.close-search svg {
  width: 32px;
  height: 32px;
}

.search-overlay-form {
  width: 90%;
  max-width: 600px;
}

.search-overlay-form input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--clr-white);
  color: var(--clr-white);
  font: var(--font-d-h2);
  padding: 1rem 0;
  outline: none;
}

.search-overlay-form input::placeholder {
  color: var(--clr-gray);
}

.search-overlay-form button {
  display: none;
}

/* ==========================================================================
   5. MOBILE NAVIGATION
   ========================================================================== */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  grid-column: 1 / 2;
  justify-self: start;
  z-index: 1500;
  color: var(--clr-black);
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  position: relative;
  margin-left: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--clr-black);
  border-radius: 3px;
  transition: transform var(--transition-smooth),
    opacity var(--transition-smooth), background-color var(--transition-smooth);
  transform-origin: center;
}

.mobile-menu-toggle span:not(:last-child) {
  margin-bottom: 5px;
}

body.mobile-menu-open .mobile-menu-toggle span {
  background-color: var(--clr-white);
}

body.mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

body.mobile-menu-open .mobile-menu-toggle {
  visibility: visible;
  pointer-events: auto;
}

.mobile-navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 80%;
  height: 100%;
  background-color: var(--clr-main);
  z-index: 1400;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  padding: 5rem 1.5rem 2rem;
}

.mobile-navigation.is-open {
  transform: translateX(0);
}

.mobile-nav-links {
  padding-top: 0.5rem;
}

.mobile-nav-links a {
  display: block;
  font: var(--font-m-h3);
  color: var(--clr-white);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--clr-main-t70);
}

.mobile-nav-footer {
  text-align: center;
  padding-top: 1.5rem;
  flex-shrink: 0;
  margin-top: auto;
}

.mobile-nav-logo img {
  height: 30px;
  margin-bottom: 1.5rem;
}

.mobile-nav-socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1300;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth),
    visibility var(--transition-smooth);
}

body.mobile-menu-open .page-overlay {
  opacity: 1;
  visibility: visible;
}

body.mobile-menu-open {
  overflow: hidden;
}

/* Layout: list fills the drawer, footer sticks to bottom */
.mobile-navigation {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 5rem 1.25rem 1.25rem;
  /* more breathing room at top/edges */
}

/* Link list: separators and larger tap targets */
.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  flex: 1 1 auto;
  /* take the vertical space */
  overflow-y: auto;
}

.mobile-nav-links>li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.mobile-nav-links>li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.mobile-nav-links a {
  display: block;
  padding: 1rem 0;
  /* big tap target */
  color: var(--clr-white);
  font: var(--font-m-h3);
  text-decoration: none;
}

/* Footer area like your mock */
.mobile-nav-footer {
  flex: 0 0 auto;
  padding: 1rem 1rem 0.75rem;
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.mobile-brand img {
  height: 24px;
  /* small, mono/white logo works best */
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* makes dark logo appear white (optional) */
}

.mobile-socials {
  display: flex;
  gap: 1rem;
}

.mobile-socials a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}

.mobile-socials img {
  width: 24px;
  height: 24px;
}

/* Give the top-left close icon some room (your hamburger turns into an X) */
.mobile-menu-toggle {
  margin-left: 0.75rem;
  margin-top: 0.75rem;
}

/* Ensure the overlay click closes comfortably and content doesn't scroll */
body.mobile-menu-open {
  overflow: hidden;
}

/* ==========================================================================
   6. HERO BANNER SLIDER
   ========================================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 800px;
  overflow: hidden;
  background-color: var(--clr-gray-bright);
}

.slides-container {
  height: 100%;
  display: flex;
}

.slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.hero-pagination {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.dot {
  width: 24px;
  height: 4px;
  border-radius: 99px;
  background-color: var(--clr-gray-bright);
  border: 1px solid var(--clr-gray);
  cursor: pointer;
  padding: 0;
  transition: background-color var(--transition-fast);
}

.dot.active {
  background-color: var(--clr-main);
  border-color: var(--clr-main);
}

/* ==========================================================================
   7. ABOUT US SUMMARY SECTION
   ========================================================================== */
/* FIX 4: Adjusted for mobile-first design */
.about-us-summary {
  padding: var(--spacing-xl) 16px;
  background-color: #f7f5f2;
}

.about-us-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}

.about-us-images {
  position: relative;
  width: 250px;
  height: 220px;
  margin-bottom: 1rem;
}

.about-us-images img {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  position: absolute;
}

.about-us-img-1 {
  width: 148px;
  height: 185px;
  top: 35px;
  left: 0;
  z-index: 2;
}

.about-us-img-2 {
  width: 148px;
  height: 185px;
  top: 0;
  right: 0;
  z-index: 1;
}

.about-us-content {
  text-align: center;
  max-width: 550px;
}

.about-us-content h2 {
  font: var(--font-m-h2);
  color: var(--clr-main);
  margin-bottom: 16px;
}

.about-us-content p {
  font: var(--font-body2);
  color: var(--clr-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-us-content .btn {
  margin-top: 16px;
}

/* ==========================================================================
   8. NEW ARRIVAL PRODUCT SECTION
   ========================================================================== */
/* FIX 1: Switched to drag-to-scroll styles */
.product-section {
  padding: var(--spacing-xl) 0;
}

.product-section .container {
  padding: 0;
}

/* Remove container padding for full-width scroll */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  padding: 0 16px;
}

.section-header h2 {
  font: var(--font-m-h2);
  color: var(--clr-black);
}

.view-all-link {
  font: var(--font-label);
  color: var(--clr-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.view-all-link:hover {
  color: var(--clr-main);
}

.product-container {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  /* Each card is 80% of the screen width */
  gap: var(--spacing-md);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0 16px;
  /* Start/end padding */
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}

.product-container.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.product-container::-webkit-scrollbar {
  display: none;
}

.product-card {
  scroll-snap-align: start;
  background-color: var(--clr-white);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  /* Ensure card fills its grid area */
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image-container {
  background-color: #f7f5f2;
}

.product-image-container img {
  width: 100%;
  height: auto;
  /* Let aspect-ratio control height */
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.product-info {
  padding: var(--spacing-sm) var(--spacing-md);
}

.product-name {
  font: var(--font-subtitle);
  color: var(--clr-black);
  margin-bottom: 0.5rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font: var(--font-body1);
  color: var(--clr-main);
  font-weight: 500;
}

.product-detail-link {
  font: var(--font-body2);
  color: var(--clr-gray);
}

/* ==========================================================================
   9. PROCESS SECTION
   ========================================================================== */
.process-section {
  padding: var(--spacing-lg) 16px;
  border-top: 1px solid var(--clr-gray-bright);
  border-bottom: 1px solid var(--clr-gray-bright);
  background-color: var(--clr-white);
}

.process-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}

.process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: var(--spacing-sm);
  text-align: center;
  color: var(--clr-black);
}

.process-item img {
  margin-bottom: 0.5rem;
  height: auto;
}

.icon-shipping {
  width: 143px;
}

.icon-bag {
  width: 86px;
}

.icon-shield {
  width: 72px;
}

.process-item p {
  font: var(--font-body2);
  color: var(--clr-black);
  font-weight: 500;
}

/* ==========================================================================
   10. INSTAGRAM FEED SECTION
   ========================================================================== */
.instagram-section {
  padding: var(--spacing-xl) 16px;
  background-color: var(--clr-white);
}

.instagram-section h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  font: var(--font-m-h2);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.instagram-post:nth-child(8) {
  grid-column: 3;
}

.instagram-post {
  display: block;
  overflow: hidden;
  border-radius: 8px;

}

.instagram-post img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.instagram-post:hover img {
  transform: scale(1.05);
}

.instagram-post:nth-child(7) {
  grid-column: 1 / 2;
}

.instagram-post:nth-child(8) {
  grid-column: 3 / 4;
}

.instagram-explore {
  text-align: center;
  margin-top: var(--spacing-lg);
}

.instagram-explore .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  display: inline-block;
  height: 1.2em;
  width: 1.2em;
  background-color: var(--clr-white);
  -webkit-mask-image: url("../images/icons/instagram-feed-section-icon.svg");
  mask-image: url("../images/icons/instagram-feed-section-icon.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: background-color 0.3s ease;
}

.btn-primary:hover .btn-icon {
  background-color: var(--clr-main);
}

/* ==========================================================================
   11. BLOG SECTION
   ========================================================================== */
.blog-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--clr-white);
  position: relative;
}

.blog-section .container {
  padding: 0 16px;
}

.blog-grid {
  overflow: hidden;
  position: relative;
}

.blog-slides-container {
  display: flex;
}

.blog-post-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
  width: 100%;
}

.blog-post-card a {
  text-decoration: none;
  color: var(--clr-white);
  display: block;
  width: 100%;
  height: 100%;
}

.blog-post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  aspect-ratio: 4 / 5;
}

.blog-post-card:hover img {
  transform: scale(1.05);
}

.post-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0) 100%);
  z-index: 2;
}


.post-content h3 {
  font: var(--font-m-h3);
  margin-bottom: 0.5rem;
}

.post-meta {
  font: var(--font-caption);
  color: var(--clr-gray-bright);
}

.blog-pagination {
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   12. TALK WITH MAROON SECTION
   ========================================================================== */
.talk-with-maroon-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--clr-white);
}

.talk-with-maroon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 columns on mobile */
  gap: var(--spacing-sm);
  /* Smaller gap on mobile */
  margin-top: var(--spacing-md);
}

@media (min-width: 768px) {
  .talk-with-maroon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
}

@media (min-width: 1024px) {
  .talk-with-maroon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background-color: transparent;
  transition: transform var(--transition-fast);
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-image-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 1rem;
}

.blog-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.blog-card:hover .blog-image-container img {
  transform: scale(1.05);
}

.blog-info {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-title {
  font: var(--font-subtitle);
  color: var(--clr-black);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-excerpt {
  font: var(--font-body2);
  color: var(--clr-gray);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.read-more {
  font: var(--font-label);
  color: var(--clr-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   13. CONTACT WIDGET
   ========================================================================== */
.contact-widget-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-toggle-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-toggle-button:hover {
  transform: scale(1.1);
}

.contact-toggle-button img {
  width: 56px;
  height: 56px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.contact-options.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.contact-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--clr-white);
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.contact-option:hover {
  transform: scale(1.1);
}

.contact-option img {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   13. FOOTER STYLES
   ========================================================================== */
.site-footer {
  background-color: var(--clr-white);
  padding: var(--spacing-xl) 16px;
  border-top: 1px solid var(--clr-gray-bright);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo img {
  height: 40px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a img {
  width: 24px;
  height: 24px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font: var(--font-body2);
  color: var(--clr-black);
  text-decoration: none;
}

.footer-contact h4 {
  font: var(--font-subtitle);
  color: var(--clr-main);
  margin-bottom: 0.5rem;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 0.25rem;
}

.footer-contact a {
  height: 40px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #cecece;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-contact {
  text-align: center;
  color: #cecece;
}

.footer-contact h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: #cecece;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
}

/* ==========================================================================
   14. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (min-width: 768px) {
  :root {
    --container-padding-x: 2rem;
  }

  .header-top-container {
    padding: 0 2rem;
  }

  .product-container {
    grid-auto-columns: 45%;
  }

  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .instagram-post:nth-child(7),
  .instagram-post:nth-child(8) {
    grid-column: auto;
  }

  .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {

  /* Header */
  .mobile-menu-toggle {
    display: none;
  }

  .header-bottom {
    display: block;
  }

  .logo {
    grid-column: 1 / 2;
    justify-self: start;
  }

  /* Hero */
  .hero-slider {
    height: 80vh;
  }

  /* About Us */
  .about-us-container {
    flex-direction: row;
    justify-content: center;
    gap: var(--spacing-xl);
  }

  .about-us-images {
    width: 400px;
    height: 350px;
  }

  .about-us-img-1 {
    width: 240px;
    height: 300px;
    top: 50px;
  }

  .about-us-img-2 {
    width: 240px;
    height: 300px;
  }

  .about-us-content {
    text-align: left;
    max-width: 500px;
    display: flex;
    flex-direction: column;
  }

  .about-us-content .btn {
    margin-top: 24px;
    align-self: center;
  }

  /* Products */
  .product-container {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .product-card {
    width: auto;
  }

  /* Process */
  .process-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Instagram */
  .instagram-section h2 {
    font: var(--font-d-h2);
  }

  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .instagram-post:nth-child(8) {
    grid-column: auto;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

/* ==========================================================================
   15. PRODUCT CATEGORY PAGE
   ========================================================================== */
.product-category-page {
  padding: var(--spacing-lg) 0;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.category-title {
  font: var(--font-m-h2);
  color: var(--clr-black);
}

.filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--clr-gray-bright);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  cursor: pointer;
  font: var(--font-label);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
}

/* Filter Modal/Sidebar */
.filter-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background-color: var(--clr-white);
  z-index: 1500;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  padding: 2rem;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.filter-sidebar.is-open {
  transform: translateX(0);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group h4 {
  font: var(--font-subtitle);
  margin-bottom: 0.5rem;
}

.filter-options label {
  display: block;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

/* Desktop Category */
@media (min-width: 1024px) {
  .product-category-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--spacing-lg);
  }

  .filter-sidebar {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    box-shadow: none;
    padding: 0;
    z-index: 1;
  }

  .filter-toggle-btn,
  .filter-header .close-filter {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }
}

/* ==========================================================================
   16. PRODUCT DETAIL PAGE & MODALS
   ========================================================================== */
.single-product-container {
  padding: var(--spacing-lg) 16px;
}

.product-gallery {
  margin-bottom: var(--spacing-md);
}

.main-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.thumbnail-list {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  overflow-x: auto;
}

.thumbnail-list img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.thumbnail-list img.active {
  opacity: 1;
  border: 2px solid var(--clr-main);
}

.product-details h1 {
  font: var(--font-m-h2);
  margin-bottom: 0.5rem;
}

.product-price-large {
  font: var(--font-m-h3);
  color: var(--clr-main);
  margin-bottom: 1rem;
  display: block;
}

.product-description {
  margin-bottom: 1.5rem;
  color: var(--clr-gray);
}

.add-to-cart-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quantity-input {
  width: 60px;
  padding: 0.5rem;
  border: 1px solid var(--clr-gray-bright);
  border-radius: 4px;
}

/* Modals (Customer Info, Payment Success) */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--clr-white);
  padding: 2rem;
  border-radius: 12px;
  z-index: 2000;
  width: 90%;
  max-width: 500px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1024px) {
  .single-product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
  }
}

/* ==========================================================================
   17. RELATED PRODUCTS SECTION
   ========================================================================== */
.related-products {
  padding: var(--spacing-lg) 16px;
  background-color: #f7f5f2;
}

.related-products h2 {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

/* Reuse .product-container styles */

/* ==========================================================================
   18. CUSTOM TOAST NOTIFICATION
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--clr-black);
  color: var(--clr-white);
  padding: 1rem 2rem;
  border-radius: 99px;
  z-index: 3000;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   19. BLOG PAGE STYLES
   ========================================================================== */
/* --- Blog Category Page --- */
.blog-category-page {
  padding: var(--spacing-lg) 0;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.category-title {
  font: var(--font-m-h2);
  color: var(--clr-black);
}

.filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--clr-gray-bright);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  cursor: pointer;
  font: var(--font-label);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
}

/* Filter Modal/Sidebar */
.filter-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background-color: var(--clr-white);
  z-index: 1500;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  padding: 2rem;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.filter-sidebar.is-open {
  transform: translateX(0);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group h4 {
  font: var(--font-subtitle);
  margin-bottom: 0.5rem;
}

.filter-options label {
  display: block;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

/* Desktop Category */
@media (min-width: 1024px) {
  .product-category-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--spacing-lg);
  }

  .filter-sidebar {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    box-shadow: none;
    padding: 0;
    z-index: 1;
  }

  .filter-toggle-btn,
  .filter-header .close-filter {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }
}

/* ==========================================================================
   16. PRODUCT DETAIL PAGE & MODALS
   ========================================================================== */
.single-product-container {
  padding: var(--spacing-lg) 16px;
}

.product-gallery {
  margin-bottom: var(--spacing-md);
}

.main-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.thumbnail-list {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  overflow-x: auto;
}

.thumbnail-list img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.thumbnail-list img.active {
  opacity: 1;
  border: 2px solid var(--clr-main);
}

.product-details h1 {
  font: var(--font-m-h2);
  margin-bottom: 0.5rem;
}

.product-price-large {
  font: var(--font-m-h3);
  color: var(--clr-main);
  margin-bottom: 1rem;
  display: block;
}

.product-description {
  margin-bottom: 1.5rem;
  color: var(--clr-gray);
}

.add-to-cart-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quantity-input {
  width: 60px;
  padding: 0.5rem;
  border: 1px solid var(--clr-gray-bright);
  border-radius: 4px;
}

/* Modals (Customer Info, Payment Success) */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--clr-white);
  padding: 2rem;
  border-radius: 12px;
  z-index: 2000;
  width: 90%;
  max-width: 500px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1024px) {
  .single-product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
  }
}

/* ==========================================================================
   17. RELATED PRODUCTS SECTION
   ========================================================================== */
.related-products {
  padding: var(--spacing-lg) 16px;
  background-color: #f7f5f2;
}

.related-products h2 {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

/* Reuse .product-container styles */

/* ==========================================================================
   18. CUSTOM TOAST NOTIFICATION
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--clr-black);
  color: var(--clr-white);
  padding: 1rem 2rem;
  border-radius: 99px;
  z-index: 3000;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   19. BLOG PAGE STYLES
   ========================================================================== */
/* --- Blog Category Page --- */
.blog-category-page {
  padding: var(--spacing-lg) 0;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.category-title {
  font: var(--font-m-h2);
  color: var(--clr-black);
}

.filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--clr-gray-bright);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  cursor: pointer;
  font: var(--font-label);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
}

/* Filter Modal/Sidebar */
.filter-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background-color: var(--clr-white);
  z-index: 1500;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  padding: 2rem;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.filter-sidebar.is-open {
  transform: translateX(0);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group h4 {
  font: var(--font-subtitle);
  margin-bottom: 0.5rem;
}

.filter-options label {
  display: block;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

/* Desktop Category */
@media (min-width: 1024px) {
  .product-category-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--spacing-lg);
  }

  .filter-sidebar {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    box-shadow: none;
    padding: 0;
    z-index: 1;
  }

  .filter-toggle-btn,
  .filter-header .close-filter {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }
}

/* ==========================================================================
   21. BLOG POST (SINGLE) PAGE
   ========================================================================== */

.blog-post-container {
  max-width: 800px;
  /* Constrain width for readability on desktop */
  margin: 0 auto var(--spacing-xl) auto;
  /* Center the content */
}

.blog-post-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.blog-post-header h1 {
  font: var(--font-m-h2);
  margin-bottom: 1rem;
}

.blog-post-header .post-meta {
  font: var(--font-body2);
  color: var(--clr-gray);
}

.blog-post-body p {
  font: var(--font-body1);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.blog-post-body strong {
  font-weight: 500;
}

.blog-post-body figure {
  margin: var(--spacing-lg) 0;
}

.blog-post-body img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .blog-post-header h1 {
    font: var(--font-d-h2);
  }
}

/* ==========================================================================
   ABOUT US PAGE STYLES
   ========================================================================== */

/* --- Hero Section --- */
.about-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  max-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--clr-white);
  padding: 0 var(--container-padding-x);
}

.about-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/about-us-mobile-version.png");
  /* Mobile-first image */
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.about-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  /* Dark overlay */
  z-index: 2;
}

.about-hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.about-hero h1 {
  font: var(--font-m-h1);
  margin-bottom: var(--spacing-sm);
}

.about-hero p {
  font: var(--font-body2);
  line-height: 1.7;
}

/* --- General Section Styling --- */
.about-section {
  padding: var(--spacing-xl) 0;
}

.about-section .container {
  max-width: 900px;
  /* Constrain content width for readability */
}

.about-section h2 {
  font: var(--font-m-h2);
  color: var(--clr-main);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.about-section p {
  font: var(--font-body1);
  color: var(--clr-gray);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* --- "Your Look, Your Story" Section --- */
.your-look-section .about-section-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.your-look-images {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
}

.your-look-images img {
  width: 100%;
  max-width: 350px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* --- "Our Story" & "Maroon 5" Sections --- */
.our-story-section,
.maroon5-section {
  text-align: justify;
}


/* ==========================================================================
   DESKTOP STYLES (min-width: 1024px)
   ========================================================================== */
@media (min-width: 1024px) {

  /* --- Hero Section --- */
  .about-hero-image {
    background-image: url("../images/about-us-desktop-version.png");
  }

  .about-hero h1 {
    font: var(--font-d-h1);
  }

  .about-hero p {
    font: var(--font-subtitle);
  }

  /* --- General Section Styling --- */
  .about-section {
    padding: 100px 0;
  }

  .about-section h2 {
    font: var(--font-d-h2);
    margin-bottom: var(--spacing-lg);
    text-align: center;
  }

  /* --- "Your Look, Your Story" Section --- */
  .your-look-section .about-section-container {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-xl);
  }

  .your-look-section .about-text-content {
    flex: 1;
    text-align: left;
  }

  .your-look-section .about-text-content h2 {
    text-align: center;
  }

  .your-look-section .about-image-content {
    flex: 1;
  }

  /* --- "Our Story" & "Maroon 5" Sections --- */
  .our-story-section,
  .maroon5-section {
    text-align: left;
  }

  /* --- Image Grid Section --- */
  .image-grid-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }
}

/* ==========================================================================
   PRODUCT SECTION REFINEMENT
   ========================================================================== */
.product-container {
  padding: 0 16px;
  scroll-padding-left: 16px;
  /* Ensure snap points align correctly */
}

/* ==========================================================================
   FOOTER STYLES (Dark Theme)
   ========================================================================== */
.site-footer {
  background-color: #231f20;
  /* Dark background */
  color: #f8f8f8;
  /* Light text */
  padding: 64px 0 32px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  /* Make logo white if it's black */
  height: 40px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #cecece;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-contact {
  text-align: center;
  color: #cecece;
}

.footer-contact h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: #cecece;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
}