/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #54433A;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 0; /* Remove padding to let sticky elements work properly */
  opacity: 0;
  transition: opacity 0.15s ease;
  background-color: #fdf1ed;
  overflow-x: hidden;
}

body.fade-in {
  opacity: 1;
}

body.fade-out {
  opacity: 0;
}

img {
  user-select: none; /* Prevent text selection */
}

.container {
  width: 100%; /* Ensure the container takes full width */
  max-width: 1200px; /* Maintain the max width */
  margin: 0 auto; /* Center the container */
  padding: 0 20px;
}

/* Header */
header {
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 45px; /* Position below the announcement banner */
  left: 0;
  z-index: 1000;
  margin-top: 0; /* Remove margin since we're using top positioning */
  display: block; /* Ensure header is always visible */
  width: 100%;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative; /* Add this */
}

header .container .logo_and_title {
  display: flex;
  justify-content: left;
  align-items: center;
  margin-left: -20px;
}

header .container .logo_and_title .logo {
  width: 250px;
  height: auto;
  margin: -10px 10px;
  margin-bottom: -20px;
}

header nav ul {
  list-style: none;
  display: flex;
  align-items: flex-end; /* Ensure items are aligned at the bottom */
  padding: 0; /* Remove default padding */
}

header nav ul li {
  margin-left: 20px; /* Space between items */
  margin-bottom: 10px; /* Ensure no extra space below */
}

header nav ul li a {
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  color: #54433A; /* Deep brown */
  font-weight: 500; /* Adjust font weight */
  transition: color 0.3s ease;
  padding: 10px 5px; /* Add padding for better click area */
}

header nav ul li a.active,
header nav ul li a:hover {
  color: #C4A484; /* Change color on hover */
}

/* Header social icon styling */
header .social-icon {
  color: #755031;
  font-size: 1.2em;
  transition: color 0.3s ease;
}

header .social-icon:hover {
  color: #C4A484;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1002;
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  header nav {
    position: fixed;
    top: 45px; /* Position below announcement banner */
    right: -100%;
    width: 70%;
    height: calc(100vh - 45px); /* Adjust height to account for announcement banner */
    background: white;
    padding: 80px 20px 20px;
    transition: right 0.3s ease-in-out;
    z-index: 1001;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  header nav.show {
    right: 0;
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
  }

  header nav ul li {
    margin: 0;
  }
}

/* Hero Section */
.hero {
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    margin-top: 140px; /* Account for fixed announcement banner (45px) + header (60px) + extra spacing */
    background-color: #f8f6f4;
    background-image: url('images/watercolor_background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.hero .container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.hero-content {
    flex: 0.8;
    max-width: 40%;
    color: #fff;
    text-align: left;
    padding: 0 20px;
}

.hero-video {
  flex: 1.2;
  max-width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  /* Optimize loading performance */
  will-change: transform;
  transform: translateZ(0);
  margin-top: 50px !important;
}

.hero-video video,
.hero-video iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  background: transparent;
  /* Optimize loading */
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
}

.hero-content h4 {
  font-size: 1.7em;
  font-family: 'Playfair Display', serif;
  color: #755031;
  margin-bottom: 10px;
  margin-top: 30px; /* Move down from top */
  line-height: 1.4;
  font-weight: 400;
}

.hero-content h2 {
  font-size: 3em;
  font-family: 'Playfair Display', serif;
  color: #755031;
  margin-bottom: 5px;
  margin-top: 20px; /* Move down from top */
  line-height: 1.2;
}

.hero-content h3 {
  font-size: 2.2em;
  font-family: 'Playfair Display', serif;
  color: #755031;
  margin-bottom: 10px;
  margin-top: 10px; /* Add some spacing from h2 */
  line-height: 1.2;
  font-weight: 400;
}

.hero-content p {
  font-family: 'Playfair Display', serif;
  color: #755031;
  font-size: 1.2em;
  margin-bottom: 20px;
}

.hero-video {
  width: 100%;
  max-width: 900px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
  background-color: #f5f5f5;
  left: 0;
  top: 0;
  object-fit: contain;
}

.hero-video > div {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}


@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding-top: 60px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-video {
    max-width: 100%;
  }
}

.hero-image {
    max-width: 40%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background-color: #C4A484;
}

.hero-image video{
    width: 60%;
    height: auto;
    transition: transform 0.5s ease-in;
}
.hero-image video:hover {
  transform: scale(1.05);
}

/* Featured Work */
.featured-work {
    padding: 50px 0;
    text-align: center;
    background-color: #C4A484 /* Warm white - changed here */
}

.featured-work h2 {
  font-size: 2em;
  font-family: 'Playfair Display', serif;
  margin-bottom: 30px;
  color: #fafafa;
}

.featured-cta {
  margin-top: 40px;
  text-align: center;
}

.featured-cta .btn {
  background-color: #fafafa;
  color: #C4A484;
  border: 2px solid #fafafa;
  transition: all 0.3s ease;
}

.featured-cta .btn:hover {
  background-color: transparent;
  color: #fafafa;
}

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.artwork {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.artwork:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.artwork img {
  width: 102%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.artwork h3 {
  padding: 15px;
  text-align: center;
  color: #54433A;
  font-family: 'Playfair Display', serif;
}

.artwork-grid:hover .artwork {
  opacity: 0.7;
  filter: grayscale(20%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.artwork-grid:hover .artwork:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-8px) scale(1.02);
}

.why-stand-out {
  background-image: url('images/artboard.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
  -webkit-background-size: cover; /* Add webkit prefix */
  -moz-background-size: cover; /* Add moz prefix */
  -o-background-size: cover; /* Add o prefix */
}

.why-stand-out::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.6); /* Adjust opacity here */
  z-index: 1; /* Ensure it stays behind the content */
}

.container {
  position: relative;
  z-index: 2; /* Ensure content is above the overlay */
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
}

.why-stand-out h2 {
  font-size: 2.5em;
  color: #800080;
  margin-bottom: 40px;
  font-weight: bold     ;
  font-family: 'Playfair Display', serif;
}


.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-items: center;
}

.feature {
  margin-bottom: 30px;
  text-align: left;
}

.feature h3 {
  font-family: 'Playfair Display', serif;
  color: #54433A;
  font-size: 1.5em;
  margin-bottom: 15px;
  text-align: left;
}

.feature p {
  color: #54433A;
  line-height: 1.6;
  text-align: left;
}

@media (max-width: 768px) {
  .feature {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .why-stand-out h2 {
    font-size: 2em;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature {
    width: 100%;
    max-width: 100%;
    padding: 20px 10px;
    text-align: center;
  }

  .container {
    width: 95%;
  }
}

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

  .feature:nth-child(3) {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* About Section */
.about-section {
    padding: 20px 0 50px 0;
    margin-top: 190px; /* Account for fixed announcement banner (45px) + header (60px) + extra spacing */
    background-color: #fdf1ed;
}

.about-section .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  padding: 40px 20px;
}

.about-content {
  width: 100%;
  max-width: 800px;
}

.about-content h2 {
  font-size: 2.5em;
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
  color: #C4A484;
}
.about-content p {
  margin-bottom: 20px;
}

.about-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    margin: 10px 0;
}

@media (max-width: 768px) {
  .about-video {
    max-height: 300px;
    margin: 20px 0;
  }

  .about-video-player {
    max-height: 300px;
  }

  .about-content {
    padding: 1rem;
    width: 90%;
  }
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #452020;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: block;
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  background-color: #f5f5f5;
}

.image-container img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container img.loaded {
  opacity: 1;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.about-video-section {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  position: relative;
}

.about-video-section video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: block;
}

@media (max-width: 768px) {
  .about-section .container {
    flex-direction: column;
  }

  .about-content,
  .about-video-section {
    max-width: 100%;
  }
}

/* Shop Section */
.shop-section {
    padding: 30px 0;
    margin-top: 235px; /* Account for fixed announcement banner (45px) + header (60px) + extra spacing */
   background-color: #fdf1ed; /* Warm white - changed here */
}
.shop-section h2{
  font-size: 3em;
  text-align: center;
  margin-bottom: 20px;
  color: #755031;
  font-family: 'Playfair Display', serif;

}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  padding: 0.75rem;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  justify-items: center;
}

.product {
  background: #f9f7f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 320px;
  max-width: 100%;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Card orientation styles */
.vertical-card .image-container {
  position: relative;
  width: 100%;
  padding-top: 150%; /* 2:3 aspect ratio for vertical images */
  overflow: hidden;
}

.horizontal-card .image-container {
  position: relative;
  width: 100%;
  padding-top: 66.67%; /* 3:2 aspect ratio for horizontal images */
  overflow: hidden;
}

.square-card .image-container {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 aspect ratio for square images */
  overflow: hidden;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fill the container */
  margin: 0;
  padding: 0;
  display: block;
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #C4A484;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
  }
}

/* Different grid layouts for different orientations */
.product-grid.vertical-group {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-grid.square-group {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.product-grid.horizontal-group {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Loading indicator for batch loading */
.gallery-loading {
  text-align: center;
  padding: 40px 0;
  margin-bottom: 60px;
}

.gallery-loading .loading-spinner {
  margin: 0 auto;
  width: 50px;
  height: 50px;
}

.product-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #54433A;
  font-family: 'Playfair Display', serif;
}

.product .blurb {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product .size,
.product .price {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.modal-details .size {
  font-size: 0.9em;
  margin-bottom: 8px;
  color: #755031;
  font-weight: bold;
}

.product .stock,
.modal-details .stock {
  font-size: 0.9em;
  font-weight: bold;
  margin-bottom: 15px;
  display: inline-block;
  padding: 5px 8px;
  border-radius: 4px;
}

.stock.in-stock {
  background-color: #e6ffe6;
  color: #3f9c3f;
}

.stock.out-of-stock {
  background-color: #ffe6e6;
  color: #9c3f3f;
}

/* Hide product blurb */
.product .blurb {
  display: none !important;
}

/* Contact Section */
.contact-section {
  padding: 50px 0;
  margin-top: 155px; /* Account for fixed announcement banner (45px) + header (60px) */
  background-color: #fdf1ed; /* Warm white - changed here */
  text-align: center;
}

.contact-section h2 {
  font-size: 3em;
  text-align: center;
  margin-bottom: 30px;
  color: #755031;
  font-family: 'Playfair Display', serif;
}
.contact-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;

}
.contact-form {
  width: 60%;
  margin: 0 auto 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-group {
  width: 100%;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input:focus:invalid {
  border: 2px solid red;
}

input {
  font-family: 'Inter', sans-serif;
}

textarea {
  font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.form-group textarea {
  resize: vertical; /* Allows vertical resizing */
}
.contact-info {
  width: 60%;
   text-align: left;
   margin-bottom: 30px;
}
.contact-info h3{
   margin-bottom: 20px;
    color:#54433A;
      font-family: 'Playfair Display', serif;
}
.contact-info p{
  margin-bottom: 10px;
}
.contact-info a {
  color: #C4A484;
  text-decoration: none;
  transition: color 0.3s ease;

}
.contact-info a:hover {
  color: #8a683d;
}

/* Buttons */
.btn {
  display: inline-block; /* Keep as inline-block */
  background: #C4A484;
  color: #fff;
  /* Removed explicit padding and height */
  border-radius: 8px;
  border: none;
  text-decoration: none;
  transition: background 0.3s ease;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  margin-bottom: 15px;
  margin-top: auto;
  padding: 0.7em 1em; /* Add padding to increase the size of the button without changing the size of the text */
}

.btn:hover {
  background: #8a683d;
}

.btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.btn:disabled:hover{
    background: #ccc;
}
/* Footer */
footer {
  background-color: #54433A;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer p {
  margin: 0;
}

.social-links {
  display: flex;
}

.social-links a {
  margin-left: 15px;
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #C4A484;
}

/* Hide Facebook and Pinterest icons */
.social-links a[href*="facebook"],
.social-links a[href*="pinterest"] {
  display: none;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 15px;
  }

  .social-links {
    justify-content: center;
  }

  .social-links a {
    margin: 0 10px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    width: 95%;
  }
  header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  header .container .logo_and_title {
    margin: 0;
  }
  header .container .logo_and_title .logo {
    width: 180px;
    margin-bottom: 10px;
  }
  header nav ul {
    flex-direction: column;
    padding: 0;
  }
  header nav ul li {
    margin: 10px 0;
  }
  .hero .container {
     flex-direction: column;
      text-align: center;
      padding-bottom: 40px;
      align-items: center;
      padding-top: 60px;
  }
  .hero-content{
     max-width: 100%;
      margin-bottom: 30px;
  }
   .hero-image{
     max-width: 80%;

   }
  .about-section .container,
  .contact-section .container {
    flex-direction: column;
       align-items: center;
       text-align: center;
  }
    .about-content,
     .contact-form,
      .contact-info {
      max-width: 100%;

  }
}
/* Social Icons */
.social-links{
  display: flex;

}
.social-links a{
  margin-left: 15px;
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  transition: color 0.3s ease;
}
.social-links a:hover{
  color: #C4A484;
}
/* Dropdown Styles */
.dropdown-container {
    margin-bottom: 20px;
}

.dropdown-btn {
     background-color: #fff;
     color: #54433A;
     padding: 15px 20px;
     border: none;
     border-radius: 8px;
     text-align: left;
     width: 100%;
     cursor: pointer;
     font-size: 1.2em;
     font-weight: bold;
     display: flex;
     justify-content: space-between;
     align-items: center;
     transition: background-color 0.3s ease;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Increased shadow */
}

.dropdown-btn:hover {
   background-color: #f0f0f0;
}

.dropdown-content {
    max-height: 0; /* Initially hidden */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    background-color: #fff;
    border-radius: 8px;
    padding: 0 20px; /* Reduced initial padding */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Increased shadow */
    margin-top: 5px;
}

.dropdown-content p {
  padding: 15px 0; /*Added padding to p tags within dropdown-content */
  margin-bottom: 0;  /* Remove the margin-bottom property*/
  margin-top: 0; /*Added margin-top to 0 */
}

.dropdown-content.show {
    max-height: 500px; /*Adjust as needed, or use "auto" for dynamic content */

}
.dropdown-title {
  font-family: 'Playfair Display', serif;
}

img.shop_image {
  width: auto;
  height: 230px;
}

/* Modal Styles */
.product-modal {
  position: fixed;
  top: 75px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 900;
  padding: 20px;
}

.product-modal .modal-content {
  background: white;
  border-radius: 8px;
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.fullscreen-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.fullscreen-modal.show {
  opacity: 1;
}

.fullscreen-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.fullscreen-image-container {
  position: relative;
  width: 100%;
  height: calc(100% - 120px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  padding: 20px;
}

.fullscreen-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fullscreen-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  z-index: 1001;
}

.fullscreen-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.fullscreen-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
}

.fullscreen-prev {
  left: 20px;
}

.fullscreen-next {
  right: 20px;
}

.fullscreen-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.fullscreen-gallery {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

.gallery-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.gallery-thumbnail:hover {
  opacity: 1;
}

.gallery-thumbnail.active {
  border-color: #C4A484;
  opacity: 1;
}

/* Reduce custom piece text size */
.custom-order-btn .content p {
  font-size: 0.9em;
  margin: 0;
}

/* Navigation styles */
.navbar-collapse {
  background-color: #FFF8F5;
}

.cart-tab, .favorites-tab {
  background-color: #FFF8F5;
}

/* Fix background images and shadows for older devices */
.product {
  background-color: #FFF8F5;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product img {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  transform: translateZ(0);
}

.product p {

position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  z-index: 10;
}

/* Hide cart and favorites while maintaining functionality */
.cart-tab, .favorites-tab {
  display: none;
}

/* Ensure proper image rendering on all devices */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}

/* Fix background image loading */
[style*="background-image"] {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  transform: translateZ(0);
}

.product-modal .modal-content {
  position: relative;
  background: #FFF8F5;
  width: 90%;
  max-width: 1200px;
  margin: 120px auto 40px auto;
  border-radius: 10px;
  padding: 20px;
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.product-modal .modal-content.show {
  transform: scale(1);
  opacity: 1;
}

.product-modal .modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.product-modal .modal-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background: #FFF8F5;
  overflow: hidden;
}

.product-modal .modal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.5s ease;
  display: block !important;
  opacity: 1 !important;
  border-radius: 12px;
}

.product-modal .modal-image p {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  z-index: 10;
}

.product-modal .modal-image:hover p {
  opacity: 1;
  pointer-events: all;
}

.product-modal .modal-image p.vimeo-fullscreen-text {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: all;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
  z-index: 30;
  transition: opacity 0.3s ease;
}

.product-modal .modal-image:hover p.vimeo-fullscreen-text {
  opacity: 1;
}

.product-modal .modal-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  overflow-x: auto;
  padding: 10px 0;
  justify-content: center;
}

.product-modal .modal-thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.product-modal .modal-thumbnail.active {
  opacity: 1;
  border: 2px solid #54433A;
}

.modal-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: none;
  background: #f9f7f5;
}

.modal-video.active {
  display: block;
}

.video-thumbnail {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #C4A484;
  border: 2px solid transparent;
}

.video-thumbnail i {
  font-size: 20px;
  color: white;
}

.video-thumbnail:hover {
  opacity: 1;
}

.video-thumbnail.active {
  border-color: #C4A484;
  opacity: 1;
  background: #8a683d;
}

@media (max-width: 768px) {
  .product-modal .modal-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .product-modal .modal-image {
    min-height: 450px;
    height: 450px;
    margin-bottom: 0;
  }

  .product-modal .modal-details {
    padding: 10px 15px;
  }

  .product-modal .modal-details h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .product-modal .modal-details .extended-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .product-modal .modal-content {
    width: 85%;
    margin: 100px auto 25px auto;
    padding: 15px;
    max-height: 80vh;
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .product-modal .modal-image {
    min-height: 380px;
    height: 380px;
  }

  .product-modal .modal-details h2 {
    font-size: 1.5em;
    margin-bottom: 12px;
  }

  .product-modal .modal-details .extended-description {
    font-size: 0.9em;
    margin-bottom: 15px;
  }

  .product-modal .modal-content {
    width: 80%;
    margin: 80px auto 20px auto;
    padding: 10px;
  }
}

.close-modal {
  position: fixed;
  right: 20px;
  top: 20px;
  font-size: 30px;
  font-weight: bold;
  color: #54433A;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  color: #C4A484;
  background: white;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  height: 100%;
}

.modal-image {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #FFF8F5;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 12px !important;
  box-shadow: none;
  display: block !important;
  opacity: 1 !important;
}

.modal-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.modal-image > div {
  width: 100%;
  height: 100%;
  position: relative;
}

@media (max-width: 768px) {
  .modal-image video {
    object-fit: contain !important;
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .modal-image video {
    object-fit: contain !important;
    max-height: 250px;
  }
}

/* Vimeo embed styling */
.fullscreen-vimeo {
  width: 100%;
  height: 100%;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 160px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullscreen-vimeo iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: none;
}

.modal-image > div {
  border-radius: 12px !important;
  overflow: hidden;
}

.modal-image iframe {
  border-radius: 12px !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.modal-image > div > iframe {
  border-radius: 12px !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

/* Video overlay controls */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 12px;
}

.video-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.video-controls {
  display: flex;
  gap: 20px;
  align-items: center;
}

.video-control-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 20px;
  color: #54433A;
}

.video-control-btn:hover {
  background: white;
  transform: scale(1.1);
}

/* Loading spinner for modals */
.modal-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
}

.fullscreen-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1002;
}

@media (max-width: 768px) {
  .fullscreen-vimeo {
    width: 95% !important;
    height: 60% !important;
    background: transparent !important;
  }
  
  .video-control-btn {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .fullscreen-vimeo {
    width: 98% !important;
    height: 50% !important;
    background: transparent !important;
  }
  
  .video-control-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
  
  .video-controls {
    gap: 15px;
  }
}

.modal-nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border: none !important;
  width: 45px !important;
  height: 45px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  z-index: 25 !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
  color: #54433A !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.modal-nav:hover {
  background: white !important;
  color: #755031 !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.modal-prev {
  left: 10px !important;
}

.modal-next {
  right: 10px !important;
}

.modal-image p {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  margin: 0;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  white-space: nowrap;
}

/* Remove thumbnails styles */
.modal-thumbnails {
  display: none;
}

.modal-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.modal-details h2 {
  font-size: 2.5em;
  color: #755031;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.modal-details .extended-description {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #54433A;
}

.modal-details .size {
  font-size: 1.1em;
  color: #755031;
  margin-bottom: 15px;
}

.modal-details .price {
  font-size: 1.3em;
  font-weight: bold;
  color: #4CAF50;
  margin-bottom: 15px;
}

.modal-details .stock {
  margin-bottom: 20px;
}

.modal-details .btn {
  align-self: flex-start;
  margin-top: 10px;
}

/* Responsive modal */
@media (max-width: 768px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-image {
    height: 400px;
  }
  
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }
}

/* Hide price on product cards */
.product .price {
  display: none;
}

/* Featured Work hover effect */
.artwork-grid:hover .artwork {
  opacity: 0.5; /* Dim all cards when grid is hovered */
}

.artwork-grid:hover .artwork:hover {
  opacity: 1; /* Restore opacity for hovered card */
  transform: translateY(-5px); /* Keep the lift effect */
}

/* Meet the Creators Section */
.meet-creators {
  padding: 20px 0 60px 0;
  background-color: #fdf1ed;
}

.meet-creators h2 {
  font-size: 2em;
  font-family: 'Playfair Display', serif;
  text-align: center;
  margin-bottom: 30px;
  color: #54433A;
}

.creators-cta {
  margin-top: 40px;
  text-align: center;
}

.creators-cta .btn {
  background-color: #C4A484;
  color: #fff;
  border: 2px solid #C4A484;
  transition: all 0.3s ease;
}

.creators-cta .btn:hover {
  background-color: transparent;
  color: #C4A484;
}

.creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  justify-items: center;
}

.creator {
  max-width: 400px;
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  -webkit-transition: -webkit-transform 0.3s ease;
  -moz-transition: -moz-transform 0.3s ease;
}

.creator:hover {
  transform: translateY(-5px);
}

.creator-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
}

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

.creator-info h3 {
  font-size: 1.5em;
  color: #800080;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.creator-info p {
  color: #54433A;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .creators-grid {
    grid-template-columns: 1fr;
  }
  
  .creator {
    max-width: 100%;
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }

  header .container .logo_and_title {
    margin: 0 auto 20px;
    justify-content: center;
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
  }

  header nav ul li {
    margin: 10px 0;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
    padding: 20px 0 20px 0;
    align-items: center;
    padding-top: 60px;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .hero-content h2 {
    font-size: 2em;
  }

  .hero-content h3 {
    font-size: 1.6em;
  }

  .hero-image {
    max-width: 90%;
    margin: 0 auto;
  }

  .product-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    padding: 10px;
  }

  .product {
    min-height: 400px;
  }

  .product img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
  }

  .contact-section .container {
    flex-direction: column;
  }

  .contact-form {
    width: 100%;
    margin-bottom: 30px;
  }

  .contact-info {
    width: 100%;
    text-align: center;
  }

  .modal-content {
    width: 95%;
    margin: 20px auto;
    padding: 15px;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-image {
    height: auto;
  }

  .modal-details {
    padding: 15px;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    width: 90%;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hero-content h2 {
    font-size: 2.5em;
  }

  .hero-image {
    max-width: 45%;
  }
}

/* General Responsive Improvements */
.container {
  width: 90%;
  padding: 0 15px;
}

img {
  max-width: 100%;
  height: 150px;
}

button {
  touch-action: manipulation;
}

input, textarea, button {
  font-size: 16px; /* Prevents zoom on mobile */
}

/* Improved touch targets for mobile */
.btn, 
.nav-link,
.social-icon {
  min-height: 44px;
  min-width: 44px;
  padding: 12px 20px;
}

/* Fix for modal scrolling on mobile */
.product-modal {
  -webkit-overflow-scrolling: touch;
}

.modal-content {
  max-height: 90vh;
  overflow-y: auto;
}

/* Cart Styles */
.cart-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-bottom: -5px;
  position: relative;
  color: #54433A;
}

.cart-btn i {
  font-size: 1.2em;
}

#cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ff6b6b;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
}

#cart-count:not(:empty) {
  display: flex; /* Show only when not empty */
}

.cart-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.cart-modal-content {
  position: fixed;
  right: 0;
  top: 0;
  width: 400px;
  height: 100%;
  background-color: #fdf1ed;
  padding: 20px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.cart-modal-content h2 {
  font-family: 'Playfair Display', serif;
  color: #54433A;
  margin-top: 45px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.8em;
}

.cart-modal.show .cart-modal-content {
  transform: translateX(0);
}

.close-cart {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #54433A;
}

#cart-items {
  margin-top: 60px;
  max-height: calc(100vh - 250px);
  overflow-y: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.cart-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item-details h3 {
  margin: 0;
  font-size: 1em;
}

.cart-item-price {
  color: #54433A;
  font-weight: 500;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.quantity-btn {
  background: #f8f9fa; /* Light gray background */
  color: #54433A; /* Theme text color */
  border: none; /* No border */
  cursor: pointer; /* Pointer cursor on hover */
  font-size: 1.2em; /* Adjust size for better fit */
  padding: 5px 10px; /* Reduced padding for shorter buttons */
  border-radius: 4px; /* Optional: add border radius for rounded corners */
  transition: background 0.2s, color 0.2s; /* Smooth transition for background and color */
}

.quantity-btn:hover {
  background: #e9ecef; /* Light gray on hover */
}

.cart-summary {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: #fdf1ed;
  border-top: 1px solid #eee;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-weight: 500;
}

#checkout-btn {
  width: 100%;
  margin-top: 10px;
}

.cart-feedback {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #C4A484;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.cart-feedback.show {
  opacity: 1;
  transform: translateY(0);
}

.remove-item {
  background: none; /* No background */
  border: none; /* No border */
  color: #54433A; /* Theme text color */
  font-size: 1.5em; /* Adjust size as needed */
  cursor: pointer; /* Pointer cursor on hover */
  transition: color 0.2s ease; /* Smooth color transition */
  margin-right: 10px;
}

.remove-item:hover {
  color: #ff4d4d; /* Change color on hover */
}

@media (max-width: 768px) {
  .cart-modal-content {
    width: 100%;
  }
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures space between elements */
    height: 100%; /* Ensures all cards have the same height */
}

.stock-status {
    margin: 0; /* Remove default margin */
}

.add-to-cart {
    margin-bottom: 0px; /* Pushes the button to the bottom */
}

/* Testimonials Section */
.testimonials {
  padding: 60px 0;
  background-color: #C4A484;
  overflow: hidden;
  position: relative;
  margin-bottom: 60px;
}

.testimonials h2 {
  font-size: 2.5em;
  font-family: 'Playfair Display', serif;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
}

.testimonials-grid {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  height: auto;
  min-height: 200px;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff1eb;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  height: auto;
}

.testimonial.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.testimonial.previous {
  opacity: 0;
  transform: translateX(-100%);
}

.testimonial-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid #C4A484;
}

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

.rating {
  color: #C4A484;
  font-size: 1.5em;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.6;
  color: #54433A;
  margin-bottom: 20px;
}

.client-name {
  font-weight: 600;
  color: #755031;
  font-size: 1.2em;
  font-family: 'Playfair Display', serif;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  color: #ffffff;
  transition: all 0.3s ease;
  z-index: 2;
  padding: 0;
}

.testimonial-arrow:hover {
  color: rgba(255, 255, 255, 0.8);
}

.testimonial-arrow.prev {
  left: -100px;
}

.testimonial-arrow.next {
  right: -100px;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    max-width: 90%;
  }

  .testimonial-arrow.prev {
    left: -60px;
  }

  .testimonial-arrow.next {
    right: -60px;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 20px;
  }

  .testimonials-grid {
    max-width: 85%;
  }

  .testimonial {
    padding: 30px 20px;
  }

  .testimonial-image {
    width: 150px;
    height: 150px;
  }

  .testimonial-text {
    font-size: 1em;
  }

  .testimonial-arrow {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }

  .testimonial-arrow.prev {
    left: -45px;
  }

  .testimonial-arrow.next {
    right: -45px;
  }
}

@media (max-width: 480px) {
  .testimonials {
    padding: 60px 15px;
  }

  .testimonials-grid {
    max-width: 80%;
  }

  .testimonial-arrow.prev {
    left: -35px;
  }

  .testimonial-arrow.next {
    right: -35px;
  }
}

/* Chat Popup Styles */
.chat-popup {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background: #fdf1ed;
  border-radius: 15px;
  margin-bottom: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: visibility 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.chat-popup.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.chat-header {
  background: #796652;
  color: white;
  padding: 15px;
  border-radius: 15px 15px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  margin-bottom: -10px;
  font-size: 1.1em;

}

.chat-header p {
  margin: 0;
  font-size: 0.8em;
}

.close-chat {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.2em;
}

.chat-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.chat-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.chat-form input,
.chat-form textarea {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 10px;
}

.chat-form textarea {
  resize: vertical;
  min-height: 80px;
  resize: none;
}

.chat-form label {
  font-size: 0.8em;
  font-weight: 500;
}

.chat-trigger {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #796652;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: none;
  font-size: 24px;
  z-index: 999;
  transition: transform 0.3s ease;
}

.chat-trigger:hover {
  transform: scale(1.2);
}

/* WhatsApp Button Styles */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  margin-top: 15px;
  justify-content: center;
}

.whatsapp-btn:hover {
  background: #128C7E;
  transition: background-color 0.3s ease;
}

.whatsapp-btn i {
  font-size: 1.2em;
}

/* Responsive adjustments for chat popup */
@media (max-width: 768px) {
  .chat-popup {
    width: 90%;
    height: 50vh;
    bottom: 80px;
    right: 5%;
    border-radius: 15px;
    margin-bottom: 10px;
  }

  .chat-popup.show {
    transform: translateY(0);
  }

  .chat-trigger {
    z-index: 1001;
  }

  .chat-body {
    max-height: calc(50vh - 120px);
    overflow-y: auto;
  }
}

.chat-form button { /* Assuming this is the button for sending messages */
  background-color: #796652; /* Set the background color */
  color: white; /* Ensure text is visible */
}

.invalid {
  border-color: red; /* Red border for invalid inputs */
}

.confirmation {
  position: absolute; /* Position it absolutely within the chat popup */
  top: 0; /* Align to the top */
  left: 0; /* Align to the left */
  right: 0; /* Align to the right */
  bottom: 0; /* Align to the bottom */
  background-color: #796652; /* Background color */
  color: white; /* Text color */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  opacity: 0; /* Start with opacity 0 for transition */
  transform: translateY(20px); /* Start slightly below */
  transition: all 0.5s ease; /* Smooth transition for opacity and transform */
  z-index: 10; /* Ensure it appears above other elements */
}

.confirmation.show {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-btn i, .whatsapp-btn span {
  color: white;
}

.chat-trigger i {
  transition: transform 0.4s ease; /* Transition for the transform property */
}

.chat-trigger i.rotate {
  transform: rotate(180deg); /* Rotate the icon when the chat is open */
}

.favorites-feedback {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #C4A484;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.favorites-feedback.show {
  opacity: 1;
  transform: translateY(0);
}

.favorites-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.favorites-modal-content {
  position: fixed;
  right: 0;
  top: 0;
  width: 400px;
  height: 100%;
  background-color: #fff1eb;
  padding: 20px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.favorites-modal-content h2 {
  font-family: 'Playfair Display', serif;
  color: #54433A;
  margin-top: 45px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.8em;
}

.favorites-modal.show .favorites-modal-content {
  transform: translateX(0);
}

.close-favorites {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #54433A;
}

#favorites-items {
  margin-top: 60px;
  max-height: calc(100vh - 250px);
  overflow-y: auto;
}

.favorite-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.favorite-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.favorite-item-details h3 {
  margin: 0;
  font-size: 1em;
}

.favorite-item-price {
  color: #54433A;
  font-weight: 500;
}

.favorites-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: #54433A;
  margin-bottom: -4px;
}

.favorites-feedback {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #C4A484;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.favorites-feedback.show {
  opacity: 1;
  transform: translateY(0);
}

.favorites-btn i {
  font-size: 1.2em;
}

.product .favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
  transition: all 0.2s ease;
  opacity: 0; /* Initially hidden */
  margin-right: 0px;
}

/* Add new styles for favorited state */
.product .favorite-btn.favorited {
  opacity: 1; /* Always visible when favorited */
  background: rgba(255, 255, 255, 1); /* Solid white background */
}

.product:hover .favorite-btn {
  opacity: 1; /* Show on hover */
}

.product:hover p {
  opacity: 1; /* Show on hover */
}

.product .favorite-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 1);
}

.action-buttons {
  display: flex; /* Use flexbox for action buttons */
  justify-content: flex-start; /* Align buttons to the left */
  gap: 10px; /* Optional: space between buttons */
}

.favorite-item .add-to-cart {
  background: #C4A484; /* Theme color */
  color: white;

}

.favorite-item .add-to-cart:hover {
  background: #8a683d; /* Darker shade on hover */
}

.favorite-item .remove-favorite {
  background: #f8f9fa; /* Light gray */
  color: #54433A; /* Theme text color */
}

.favorite-item .remove-favorite:hover {
  background: #e9ecef; /* Light gray on hover */
}

/* Favorites modal button styles */
.favorite-item .action-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Add All to Cart button styles */
.add-all-container {
    position: sticky;
    bottom: 0;
    background: #fdf1ed;
    padding: 15px;
    border-top: 1px solid #eee;
    margin-top: 20px;
    text-align: center;
}

.add-all-to-cart {
    width: 100%;
    max-width: 300px;
}

/* Enhanced Mobile and Tablet Responsive Styles */
@media (max-width: 768px) {
  /* Container adjustments */
  .container {
    width: 95%;
    padding: 0 10px;
  }

  /* Header adjustments */
  header .container .logo_and_title {
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 10px 0;
  }

  header .container .logo_and_title .logo {
    width: 180px;
    margin: 0;
    margin-bottom: 10px;
  }

  header .container .logo_and_title h1 {
    font-size: 2em;
    margin: 5px 0;
  }

  /* Hero section adjustments */
  .hero {
    min-height: auto;
    padding: 30px 0;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    padding: 0 15px;
    margin-top: 100px;
  }

  .hero-content h2 {
    font-size: 2em;
  }

  .hero-content h4 {
    font-size: 1.4em;
  }

  .hero-image {
    max-width: 90%;
    margin: 30px auto 0;
  }

  /* Product grid adjustments */
  .product-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    padding: 10px;
  }

  .product {
    min-height: 400px;
  }

  .product img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
  }

  /* Cart modal adjustments */
  .cart-modal-content {
    width: 100%;
    max-width: none;
  }

  .cart-item {
    grid-template-columns: 60px 1fr auto;
    gap: 10px;
    padding: 10px 0;
  }

  .cart-item img {
    width: 60px;
    height: 60px;
  }

  /* Favorites modal adjustments */
  .favorites-modal-content {
    width: 100%;
    max-width: none;
  }

  /* Form adjustments */
  .contact-form,
  .contact-info {
    width: 100%;
    padding: 0 15px;
  }

  /* Button adjustments */
  .btn {
    padding: 12px 20px;
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
  }
}

/* Tablet specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    width: 90%;
  }

  header .container .logo_and_title .logo {
    width: 200px;
  }

  .hero-content h2 {
    font-size: 2.5em;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .product {
    width: 100%;
    max-width: 250px;
  }

  .cart-modal-content,
  .favorites-modal-content {
    width: 50%;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .btn,
  .nav-link,
  .social-icon,
  .product,
  .artwork {
    cursor: default;
  }

  .product:hover,
  .artwork:hover {
    transform: none;
  }

  .btn:active,
  .nav-link:active,
  .social-icon:active {
    opacity: 0.7;
  }

  /* Increase touch targets */
  .quantity-btn,
  .remove-item,
  .favorite-btn {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Landscape mode adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 20px 0;
  }

  .hero .container {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .hero-content,
  .hero-image {
    max-width: 48%;
  }

  .product img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
  }

  .modal-content {
    max-height: 85vh;
    margin: 2% auto;
  }

  .cart-modal-content,
  .favorites-modal-content {
    height: 100vh;
    overflow-y: auto;
  }
}

/* High-DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Safe area insets for modern mobile devices */
@supports (padding: max(0px)) {
  .container {
    padding-left: max(15px, env(safe-area-inset-left));
    padding-right: max(15px, env(safe-area-inset-right));
  }

  .cart-modal-content,
  .favorites-modal-content {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
}

/* Prevent text size adjustment on orientation change */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Improve scrolling on iOS devices */
.cart-items,
.favorites-items,
.modal-content {
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 0;
  padding: 0;
}

/* Full Screen Image Modal */
.fullscreen-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 1);
  display: none;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1000;
}

.fullscreen-modal.show {
  opacity: 1;
  transform: scale(1);
}

.fullscreen-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: black;
}

.fullscreen-image-container {
  position: relative;
  width: 100%;
  height: calc(100% - 120px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  padding: 20px;
}

.fullscreen-image {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: opacity 0.5s ease;
}

.fullscreen-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  z-index: 1001;
}

.fullscreen-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.fullscreen-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
}

.fullscreen-prev {
  left: 20px;
}

.fullscreen-next {
  right: 20px;
}

.fullscreen-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.fullscreen-gallery {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

.gallery-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.gallery-thumbnail:hover {
  opacity: 1;
}

.gallery-thumbnail.active {
  border-color: #C4A484;
  opacity: 1;
}

/* Mobile Navigation Styles */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1002;
  transition: top 0.3s ease;
}

.mobile-nav-toggle.active {
  top: 30px; /* Move up when active */
  transform: translateY(-50%);
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #54433A;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  header nav {
    position: fixed;
    top: 45px; /* Position below announcement banner */
    right: -100%;
    width: 70%;
    height: calc(100vh - 45px); /* Adjust height to account for announcement banner */
    background: white;
    padding: 60px 20px 20px;
    transition: right 0.3s ease-in-out;
    z-index: 1001;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
  }

  header nav.show {
    right: 0;
  }

  header nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  header nav ul li {
    margin: 5px 0;
    text-align: center;
    width: 100%;
  }

  header nav ul li a {
    font-size: 1.2em;
    display: block;
    padding: 8px;
    color: #54433A;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  header nav ul li.cart-container,
  header nav ul li:last-child {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  .cart-btn,
  .favorites-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: #54433A;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .cart-btn i,
  .favorites-btn i {
    font-size: 1.2em;
  }
}

/* Shop page card styles */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.product {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 300px;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.image-container {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Square aspect ratio */
  overflow: hidden;
  margin: 0;
  background: #fff;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fill the container */
  margin: 0;
  padding: 0;
  display: block;
}

.product-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #54433A;
  font-family: 'Playfair Display', serif;
}

.product .blurb {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product .size,
.product .price {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.modal-details .size {
  font-size: 0.9em;
  margin-bottom: 8px;
  color: #755031;
  font-weight: bold;
}

.product .stock,
.modal-details .stock {
  font-size: 0.9em;
  font-weight: bold;
  margin-bottom: 15px;
  display: inline-block;
  padding: 5px 8px;
  border-radius: 4px;
}

.stock.in-stock {
  background-color: #e6ffe6;
  color: #3f9c3f;
}

.stock.out-of-stock {
  background-color: #ffe6e6;
  color: #9c3f3f;
}

.product button {
  margin-left: 3em;
  margin-right: 3em;
  margin-bottom: 1.5em;
}

/* Custom Order Button */
.custom-order-btn {
  grid-column: 1 / -1;
  background: #452020;
  border-radius: 12px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  margin: 20px 0 50px;
  box-shadow: 0 4px 12px rgba(98, 53, 53, 0.2);
}

.custom-order-btn:hover {
  background: #734141;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(98, 53, 53, 0.3);
}

.custom-order-btn i {
  font-size: 3em;
  color: #ffffff;
  margin-right: 20px;
}

.custom-order-btn .content {
  text-align: left;
}

.custom-order-btn h3 {
  font-size: 1.7em;
  color: #ffffff;
  margin-bottom: 5px;
  font-family: 'Playfair Display', serif;
}

.custom-order-btn p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1em;
}

/* Custom Order Modal */
.custom-order-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  overflow-y: auto;
}

.custom-order-modal-content {
  background: #f8f6f4;
  width: 90%;
  max-width: 900px;
  margin: 20px auto;
  padding: 12px;
  border-radius: 12px;
  position: relative;
  transform: scale(0.7);
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.custom-order-modal.show .custom-order-modal-content {
  transform: scale(1);
  opacity: 1;
}

.custom-order-modal h2 {
  font-size: 2.2em;
  color: #796652;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  text-align: center;
}

.custom-order-form {
  display: grid;
  gap: 8px;
  background: #f8f6f4;
  padding: 8px;
  border-radius: 8px;
}

.form-section {
  background: transparent;
  padding: 4px 0;
  border: none;
}

.form-section h3 {
  color: #796652;
  font-family: 'Playfair Display', serif;
  font-size: 1.3em;
  margin-bottom: 8px;
  margin-top: 0;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  align-items: flex-start;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9em;
  cursor: pointer;
  padding: 2px 0;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.checkbox-group label:hover {
  background-color: rgba(196, 164, 132, 0.05);
}

.checkbox-group input[type="checkbox"],
.checkbox-group input[type="radio"] {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #C4A484;
  flex-shrink: 0;
  outline: none;
  border: none;
}

.checkbox-group input[type="radio"]:focus {
  outline: none;
  box-shadow: none;
}

.other-input {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.other-input input[type="text"] {
  flex: 1;
  min-width: 120px;
  margin-left: 5px;
  padding: 5px 0;
  border: none;
  border-bottom: 2px solid #C4A484;
  border-radius: 0;
  font-size: 0.8em;
  background: transparent;
  transition: all 0.3s ease;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
}

.other-input input[type="text"].show {
  opacity: 1;
  max-width: 200px;
}

.other-input input[type="text"]:focus {
  outline: none;
  border-bottom-color: #8a683d;
}

@media (min-width: 769px) {
  .custom-order-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .custom-order-form button[type="submit"] {
    justify-self: center;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .custom-order-form {
    grid-template-columns: 1fr;
    padding: 6px;
  }
  
  .form-section {
    padding: 3px 0;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.form-group label {
  margin-bottom: 3px;
  color: #54433A;
  font-weight: 500;
  font-size: 0.85em;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  background: #fff;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #C4A484;
}

.form-group input:invalid,
.form-group textarea:invalid {
  border-color: #d4751a;
}

.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

/* Custom order modal specific text sizing */
.custom-order-modal .form-group input,
.custom-order-modal .form-group textarea {
  font-size: 0.85em;
}

.custom-order-modal .form-group textarea {
  min-height: 70px;
}

.close-custom-order {
  position: absolute;
  top: 30px;
  right: 25px;
  font-size: 28px;
  color: #54433A;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.close-custom-order:hover {
  color: #C4A484;
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .custom-order-modal-content {
    width: 95%;
    margin: 20px auto;
  padding: 20px;
  }
}

/* Update announcement banner styles */
.announcement-banner {
  width: 100%;
  background-color: #623535;
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001; /* Higher z-index than header */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure banner is always visible */
}

.announcement-content {
  white-space: nowrap;
  display: inline-block;
  animation: scroll linear infinite;
  animation-duration: calc(var(--content-width) * 0.01s);
}

@keyframes scroll {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    padding: 10px;
  }

  .product {
    min-height: 200px;
  }

  .product img {
    width: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
  }
}

/* Hide Add to Cart button on initial cards */
.product .btn.add-to-cart {
  display: none;
}

.modal-gallery {
  position: absolute;
  bottom: 0;
  left: 0;
    width: 100%;
  background: rgba(0, 0, 0, 0.8);
  padding: 15px 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.modal-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.modal-thumbnail:hover {
  opacity: 1;
}

.modal-thumbnail.active {
  border-color: #C4A484;
  opacity: 1;
}

.message {
  padding: 15px;
  border-radius: 4px;
  margin-top: 20px;
  text-align: center;
}

.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1002;
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.95);
}

.nav-arrow.prev {
  left: 20px;
}

.nav-arrow.next {
  right: 20px;
}

.modal-content img {
  transition: opacity 0.3s ease;
}



/* Prevent image/video copying */
img, video {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-touch-callout: none;
}

/* Exception for clickable product images */
.product img, .artwork img {
  pointer-events: auto;
}

/* Mobile improvements */
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
  }

  footer p {
    margin: 0;
    white-space: nowrap;
  }

  .social-links {
    justify-content: center;
  }

  .social-links a {
    margin: 0 10px;
  }

  .social-links a:not([href*="instagram"]) {
    display: none;
  }

  body.chat-open {
    overflow: hidden;
  }

  .product {
    min-height: unset;
    height: auto;
  }

  .product .product-info {
    padding: 15px;
  }

  .product .blurb {
    margin-bottom: 10px;
  }

  .product button {
    margin: 10px 15px 15px;
  }
}

/* Image protection */
img:not(.product img, .artwork img) {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-touch-callout: none;
}

/* Allow video interaction */
video {
  pointer-events: auto;
  user-select: auto;
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  -webkit-touch-callout: auto;
}

/* Hide volume/mute controls and download button on video elements */
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-download-button {
  display: none !important;
}

video::-moz-media-controls-volume-slider,
video::-moz-media-controls-mute-button,
video::-moz-media-controls-download-button {
  display: none !important;
}

/* For browsers that support the newer controls */
video::-webkit-media-controls-panel {
  display: flex !important;
}

video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-download-button {
  display: none !important;
}

/* Additional Safari-specific controls hiding */
video::-webkit-media-controls-fullscreen-button,
video::-webkit-media-controls-picture-in-picture-button {
  display: none !important;
}

/* Cross-browser video compatibility */
video {
  -webkit-playsinline: true;
  -moz-playsinline: true;
  -ms-playsinline: true;
  playsinline: true;
  object-fit: cover;
  background: #000;
}

/* Ensure videos work on all mobile browsers */
video[webkit-playsinline] {
  -webkit-playsinline: true;
}

video[playsinline] {
  playsinline: true;
}

/* Fix for older browsers */
video::-webkit-media-controls {
  overflow: visible !important;
}

video::-webkit-media-controls-enclosure {
  overflow: visible !important;
}

/* Ensure proper video rendering on all devices */
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.product-modal .modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  z-index: 2;
}

.product-modal .modal-prev {
  left: 10px;
}

.product-modal .modal-next {
  right: 10px;
}

.product-modal .modal-image:hover .modal-nav {
  opacity: 1;
}

.product-modal .modal-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.product-modal .modal-nav.disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* Ensure the modal image container has proper positioning */
.product-modal .modal-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: #FFF8F5;
  overflow: hidden;
}

/* Add smooth transitions for image changes - styles merged above */

.product-modal .fullscreen-btn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-image:hover .fullscreen-btn {
  opacity: 1;
}



/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 15px;
  }

  .product-modal .modal-content {
    width: 95%;
    margin: 80px auto 20px auto;
    max-height: 90vh;
  }

  .product-modal .modal-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .product-modal .modal-image {
    height: auto;
    max-height: 60vh;
  }

  .product-modal .modal-image iframe,
  .product-modal .modal-image > div,
  .product-modal .modal-image > div > iframe {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    background: transparent !important;
    min-height: 350px !important;
    z-index: 15 !important;
    border: none !important;
    pointer-events: auto !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }

  .product-modal .modal-details {
    padding: 15px;
  }

  .product-modal .modal-details h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
  }

  .fullscreen-btn {
    padding: 6px 12px;
    font-size: 0.9em;
  }

  .modal-nav {
    width: 35px;
    height: 35px;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
  }
}

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

  .product-modal .modal-content {
    width: 100%;
    margin: 60px auto 10px auto;
    border-radius: 0;
  }

  .product-modal .modal-image {
    max-height: 50vh;
  }

  .product-modal .modal-image iframe,
  .product-modal .modal-image > div,
  .product-modal .modal-image > div > iframe {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    background: transparent !important;
    min-height: 280px !important;
    z-index: 15 !important;
    border: none !important;
    pointer-events: auto !important;
    border-radius: 12px !important;
  }

  .product-modal .modal-details {
    padding: 10px;
  }

  .product-modal .modal-details h2 {
    font-size: 1.3em;
  }

  .fullscreen-btn {
    padding: 5px 10px;
    font-size: 0.8em;
  }

  .modal-nav {
    width: 30px;
    height: 30px;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
  }

  .product .blurb {
    font-size: 0.85em;
  }
}

/* Navigation button transitions */
.modal-nav.disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Fullscreen modal improvements */
.fullscreen-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fullscreen-modal.show {
  opacity: 1;
}

.fullscreen-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.fullscreen-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

@media (hover: none) {
  .fullscreen-btn {
    opacity: 1;
  }
}

/* Loading Spinner */
.loading-spinner {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #C4A484;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.product img, .gallery-thumbnail img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product img.loaded, .gallery-thumbnail img.loaded {
  opacity: 1;
}

.product, .gallery-thumbnail {
  position: relative;
  background-color: #f5f5f5;
}

.video-toggle-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  z-index: 2;
}

.video-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.video-toggle-btn i {
  font-size: 18px;
}

.about-video {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16/9;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  margin: 1rem auto;
}

.about-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  background: transparent;
}

.about-video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: none;
  background: transparent;
}

.fullscreen-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.image-container {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.image-container img.loaded {
  opacity: 1;
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #C4A484;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
  }

  .product {
    margin-bottom: 0;
  }

  .product .product-info {
    padding: 0.75rem;
  }

  .product h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .product .blurb {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .product .size,
  .product .price {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
  }

  .favorite-btn {
    padding: 0.25rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
  }
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 0.5rem;
  width: 100%;
  max-width: 100%;
  justify-items: center;
}

.product {
  background: #f9f7f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.image-container {
  position: relative;
  padding-top: 75%; /* 4:3 aspect ratio */
  overflow: hidden;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
  opacity: 0;
  background: #f9f7f5;
}

.image-container img.loaded {
  opacity: 1;
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #C4A484;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    padding: 0.5rem;
    justify-items: center;
  }

  .image-container {
    padding-top: 75%;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
  }
}

/* Vimeo embed styling in product modal specifically */
.product-modal .modal-image iframe {
  border-radius: 12px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 10 !important;
  background: transparent !important;
  min-height: 300px !important;
  object-fit: contain !important;
  border: none !important;
}

.product-modal .modal-image > div {
  border-radius: 12px !important;
  overflow: hidden !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  min-height: 300px !important;
  background: transparent !important;
}

.product-modal .modal-image > div > iframe {
  border-radius: 12px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 10 !important;
  background: transparent !important;
  min-height: 300px !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Center product titles and sizes on first cards */
.product:first-child .product-info h3 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.product:first-child .product-info .size {
  text-align: center;
  margin-bottom: 0.3rem;
}

/* Ensure first product card styling is applied */
.product-grid .product:first-child .product-info h3 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.product-grid .product:first-child .product-info .size {
  text-align: center;
  margin-bottom: 0.3rem;
}

/* Fix fullscreen video positioning */
.fullscreen-image-container {
  position: relative;
  width: 100%;
  height: calc(100% - 120px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  padding: 20px;
}

.fullscreen-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 160px);
}

.fullscreen-vimeo {
  width: 100%;
  height: 100%;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 160px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullscreen-vimeo iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: none;
}

.product-grid .product .product-info h3 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.product-grid .product .product-info .size {
  text-align: center;
  margin-bottom: 0.3rem;
}

/* Adjust fullscreen modal video centering */
.fullscreen-image-container {
  position: relative;
  width: 100%;
  height: calc(100% - 40px); /* Reduce top/bottom margin for better centering */
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  padding: 10px 20px 10px 20px;
}

.fullscreen-video,
.fullscreen-vimeo {
  max-height: calc(100vh - 60px);
}

.fullscreen-video,
.fullscreen-vimeo,
.fullscreen-vimeo iframe {
  width: 90vh !important;
  height: 90vh !important;
  max-width: 90vw !important;
  max-height: 90vh !important;
  object-fit: contain !important;
  display: block;
  margin: auto;
}