/* -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&family=Playfair+Display:wght@400;500;700&display=swap');

:root {
  --primary-color: #A0522D;
  --secondary-color: #8B4513;
  --tertiary-color: #F5E8D7;
  --background-dark: #201C1A;
  --background-light: #FFFFFF;
  --text-primary: #201C1A;
  --text-secondary: #5A5A5A;
  --text-on-dark: #FFFFFF;
  --btn-primary-bg: var(--primary-color);
  --btn-primary-text: var(--background-light);
  --btn-secondary-bg: transparent;
  --btn-secondary-text: var(--primary-color);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--background-light);
  background-image: url('/assets/backgrounds/body-bg4.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: -1;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.btn-primary {
  border: 8px solid var(--secondary-color);
  color: var(--tertiary-color);
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: var(--secondary-color);
}

.btn-secondary {
  border: 8px solid var(--secondary-color);
  color: var(--secondary-color);
}

.btn-secondary:hover {
  color: var(--background-dark);
  border: 8px solid var(--background-dark);
  transform: translateY(-2px);
}

.highlight-text {
  color: var(--primary-color);
}

.underline-header {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: capitalize;
  letter-spacing: 1px;
  line-height: 1.2;
  gap: 1rem;
}

/* -------------------------------------------------------------------------- */
header {
  background-color: var(--background-dark);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  transition: background-color 0.3s ease;
  border-bottom: 5px solid var(--primary-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
}

@media (max-width: 992px) {
  .header-container {
    padding: 1rem 1.5rem;
  }
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  order: 1;
}

.header-left .logo img {
  height: 60px;
}

@media (max-width: 992px) {
  .header-left .logo img {
    height: 55px;
  }
}

.desktop-menu {
  display: flex;
  justify-content: flex-start;
  flex-grow: 1;
}

.desktop-menu ul {
  display: flex;
  gap: 2rem;
}

.desktop-menu ul li a {
  color: var(--text-on-dark);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease;
}

.desktop-menu ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.desktop-menu ul li a:hover::after,
.desktop-menu ul li a.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.desktop-menu ul li a.active {
  color: var(--primary-color);
  font-weight: 700;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  order: 3;
}

.cart-icon {
  position: relative;
  font-size: 24px;
  color: var(--text-on-dark);
  cursor: pointer;
  transition: color 0.3s ease;
}

.cart-icon:hover {
  color: var(--primary-color);
}

#cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--primary-color);
  color: var(--text-on-dark);
  font-size: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-on-dark);
  cursor: pointer;
}

.mobile-menu-full {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: var(--background-dark);
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 3rem 2rem;
  transition: right 0.4s ease;
  z-index: 2000;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu-full.show {
  right: 0;
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  color: var(--text-on-dark);
  cursor: pointer;
}

.mobile-menu-full ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
}

.mobile-menu-full ul li a {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-on-dark);
  transition: color 0.3s;
}

.mobile-menu-full ul li a:hover,
.mobile-menu-full ul li a.active {
  color: var(--primary-color);
}

@media (max-width: 992px) {
  .desktop-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .header-left {
    order: 1;
  }

  .header-right {
    order: 2;
  }
}

@media (max-width: 400px) {
  .header-container {
    padding: 1rem;
  }

  .header-left .logo img {
    height: 45px;
  }

  .header-right {
    gap: 1.5rem;
  }

  .cart-icon,
  .menu-toggle {
    font-size: 22px;
  }
}

/* -------------------------------------------------------------------------- */
footer {
  background-color: var(--background-dark);
  color: var(--text-on-dark);
  padding: 5rem 2rem 2rem;
  font-family: var(--font-body);
  text-align: center;
  border-top: 5px solid var(--primary-color);
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: auto;
  gap: 2rem;
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo img {
  height: 70px;
  width: auto;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-on-dark);
}

.footer-links-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-column ul li a {
  position: relative;
  padding-right: 1.5rem;
  color: var(--text-on-dark);
}

.footer-column ul li:not(:last-child) a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0.75rem;
  width: 1px;
  height: 80%;
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%);
}

.footer-column ul li a:hover {
  color: var(--text-on-dark);
  opacity: 1;
}

.footer-column h4 {
  font-size: 1.4rem;
  border-bottom: 1px solid var(--primary-color);
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 2rem;
}

.social-link {
  font-size: 1.5rem;
  color: var(--text-on-dark);
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--primary-color);
}

.footer-bottom-bar {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--primary-color);
}

.footer-copyright {
  font-size: 0.9rem;
  color: var(--text-on-dark);
  opacity: 0.7;
}

@media (max-width: 768px) {
  footer {
    padding: 3rem 1rem;
  }

  .footer-content {
    gap: 1.5rem;
  }

  .footer-links-section {
    gap: 1rem;
  }

  .footer-column ul {
    gap: 1rem;
    flex-direction: column;
    padding-right: 0;
  }


  .footer-column ul li a {
    padding-right: 0rem;
  }

  .footer-column ul li:not(:last-child) a::after {
    display: none;
  }

  .social-links {
    gap: 1.5rem;
  }

  .footer-logo img {
    height: 60px;
  }
}

/* -------------------------------------------------------------------------- */
#cookie-popup,
#add-to-cart-popup,
#warning-popup {
  position: fixed;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  background-color: var(--background-light);
  color: var(--text-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  border: 3px solid var(--primary-color);
}

#cookie-popup {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  max-width: 550px;
}

#add-to-cart-popup,
#warning-popup {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  max-width: 350px;
  padding: 2rem;
}

#cookie-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

#add-to-cart-popup.show,
#warning-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

#cookie-popup p {
  font-size: 1rem;
  line-height: 1.6;
}

#cookie-popup .btn-primary {
  background-color: transparent;
  color: var(--primary-color);
}

#add-to-cart-popup i,
#warning-popup i {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

#add-to-cart-popup i {
  color: #60c978;
}

#warning-popup i {
  color: #ffc107;
}

#add-to-cart-popup strong,
#warning-popup strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

#add-to-cart-popup .popup-content,
#warning-popup .popup-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#add-to-cart-popup span,
#warning-popup span {
  font-size: 1.15rem;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.4;
}

@media (max-width: 768px) {

  #cookie-popup,
  #add-to-cart-popup,
  #warning-popup {
    width: 90%;
    max-width: 90%;
    padding: 1.5rem;
  }
}

/* -------------------------------------------------------------------------- */
.hero-showcase {
  position: relative;
  width: 100%;
  padding: 10rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(32, 28, 26, 0.8);
  z-index: -1;
}

.hero-showcase-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--text-on-dark);
  padding: 0 1rem;
}

.hero-showcase-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-showcase-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  margin-bottom: 3rem;
  line-height: 1.6;
  opacity: 0.9;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-showcase-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .hero-showcase {
    padding: 6rem 0;
  }

  .hero-showcase-actions {
    flex-direction: column;
    align-items: center;
  }
}

.image-gallery-section {
  padding: 6rem 20px 3rem 20px;
  color: var(--text-primary);
  text-align: center;
}

.gallery-container-flex {
  display: block;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-header-content {
  text-align: center;
  margin-bottom: 4rem;
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: capitalize;
  letter-spacing: 1px;
  line-height: 1.2;
}

.gallery-description {
  font-size: 1.1rem;
  margin: 0 auto;
  opacity: 0.8;
  max-width: 600px;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: 250px;
  grid-gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0.75rem 0;
  border-top: 3px solid var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}

.gallery-item:nth-child(3n+1) {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .gallery-header-content {
    padding: 0 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    grid-gap: 1rem;
  }

  .gallery-item:nth-child(3n+1) {
    grid-row: unset;
  }
}

/* -------------------------------------------------------------------------- */
.all-products {
  padding: 6rem 0;
  color: var(--text-primary);
  text-align: center;
}

.featured-products {
  padding: 4rem 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  aspect-ratio: 1 / 1.25;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image-container {
  overflow: hidden;
  height: 100%;
  width: 100%;
  position: relative;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-container img {
  transform: scale(1.05);
}

.product-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  text-align: center;
}

.product-card:hover .product-card-content {
  transform: translateY(0);
  border: 2px solid var(--primary-color);
}

.product-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.product-price {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.btn-add-to-cart {
  width: 100%;
  background-color: transparent;
  color: var(--primary-color);
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}



@media (max-width: 992px) {
  .product-card {
    position: relative;
    overflow: visible;
    transition: none;
    aspect-ratio: auto;
    border: 2px solid var(--primary-color);
    padding: 0;
  }

  .product-card:hover {
    transform: none;
  }

  .product-image-container {
    width: initial;
    height: initial;
  }

  .product-image-container img {
    width: 100%;
    height: 100%;
    transition: none;
  }

  .product-card:hover .product-image-container img {
    transform: none;
  }

  .product-card-content {
    position: relative;
    transform: none;
    transition: none;
    border: none;
    border-top: 2px solid var(--primary-color);
  }
  
  .product-card:hover .product-card-content {
    transform: none;
    border: none;
    border-top: 2px solid var(--primary-color);
  }

  .all-products .underline-header,
  .featured-products .underline-header {
    margin-bottom: 2rem;
  }

  .product-card .btn{
    clip-path: none;
    border: 2px solid var(--primary-color);
  }

}



/* -------------------------------------------------------------------------- */
.testimonial-section {
  padding: 6rem 0;
  color: var(--text-primary);
  text-align: center;
}

.testimonial-section.border-top {
  border-top: 5px solid var(--primary-color);
}

.testimonial-header {
  margin-bottom: 4rem;
}

.testimonial-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.testimonial-header p {
  font-size: 1.1rem;
  opacity: 0.8;
  line-height: 1.6;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.testimonial-card {
  background-color: var(--background-light);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 5px solid var(--primary-color);
  border-bottom: 0;
  border-right: 0;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card:nth-child(2n) {
  grid-row: span 2;
}

.testimonial-image {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-rating {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.testimonial-rating i {
  font-size: 1.2rem;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  padding: 0;
}

.testimonial-card p::before,
.testimonial-card p::after {
  content: none;
}

.testimonial-author-info {
  border-top: 1px solid var(--text-secondary);
  padding-top: 1rem;
  margin-top: auto;
}

.testimonial-author-info h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--primary-color);
}

.testimonial-author-info p {
  font-size: 0.9rem;
  margin: 0;
  font-style: normal;
  opacity: 0.7;
}

@media (max-width: 992px) {
  .testimonial-grid {
    grid-auto-rows: minmax(250px, auto);
    gap: 2rem;
  }

  .testimonial-card:nth-child(2n) {
    grid-row: unset;
  }
}

@media (max-width: 768px) {
  .testimonial-header h2 {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }
}

/* -------------------------------------------------------------------------- */
.newsletter-section {
  padding: 3rem 1rem;
}

.newsletter-card-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.newsletter-card {
  background-image: url('/assets/images/image4.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-on-dark);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.newsletter-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.newsletter-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--text-on-dark);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-on-dark);
  font-size: 1rem;
  min-width: 250px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.2);
}

.newsletter-button {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  white-space: nowrap;
  background-color: transparent;
}

@media (max-width: 768px) {
  .newsletter-card {
    padding: 3rem 1rem;
  }

  .newsletter-content h2 {
    font-size: 2rem;
  }

  .newsletter-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .newsletter-input,
  .newsletter-button {
    width: 100%;
    min-width: unset;
  }

  .newsletter-button {
    clip-path: none;
    border: 2px solid var(--primary-color);
  }
}

/* -------------------------------------------------------------------------- */
.blog-section {
  padding: 6rem 1rem;
  background-color: transparent;
  color: var(--text-primary);
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-header {
  text-align: center;
  margin-bottom: 4rem;
}

.blog-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.blog-header p {
  font-size: 1.1rem;
  opacity: 0.8;
  line-height: 1.6;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin: 0 auto;
}

.blog-card {
  background-color: var(--background-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border: 2px solid var(--primary-color);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.blog-image-wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.5rem;
  color: var(--text-primary);
}

.blog-category {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  line-height: 1.3;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.blog-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-title a:hover {
  color: var(--secondary-color);
}

.blog-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
  margin-top: auto;
}

.blog-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.blog-link:hover {
  transform: translateX(5px);
  color: var(--secondary-color);
}

.blog-link:hover i {
  transform: translateX(3px);
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .blog-section {
    padding: 4rem 1rem;
  }

  .blog-header h2 {
    font-size: 2rem;
  }
}

/* -------------------------------------------------------------------------- */
.blog-post-content {
  background-color: var(--background-light);
  color: var(--text-primary);
  padding: clamp(2rem, 5vw, 4rem) 1rem;
  font-family: var(--font-body);
  line-height: 1.7;
  max-width: 1100px;
  margin: 4rem auto;
  padding: 2rem;
  border: 3px solid var(--primary-color);
}

@media (max-width: 1200px) {
  .blog-post-content {
    margin: 4rem 20px;
  }
}

.post-header {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.post-category {
  display: inline-block;
  font-size: clamp(0.75rem, 0.8vw, 0.9rem);
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.post-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--text-primary);
}

.post-meta {
  font-size: clamp(0.8rem, 0.9vw, 0.95rem);
  opacity: 0.7;
  margin-top: 0.75rem;
}

.post-featured-image {
  width: 100%;
  max-width: 1000px;
  max-height: 450px;
  object-fit: cover;
  height: auto;
  margin: 2rem auto;
  display: block;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--primary-color);
}

.blog-post-content p {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.85;
  margin: 0 auto 1.6rem;
  max-width: 850px;
  opacity: 0.95;
}

.blog-post-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  margin: 2.5rem auto 1.25rem;
  max-width: 850px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 0.5rem;
}

.blog-post-content ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto;
  max-width: 850px;
}

.blog-post-content ul li {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.8;
  margin-bottom: 0.9rem;
  position: relative;
  padding-left: 1.75rem;
  opacity: 0.95;
}

.blog-post-content ul li::before {
  content: '✔';
  color: var(--secondary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1rem;
}

.blog-post-content strong {
  font-weight: 600;
  color: var(--secondary-color);
}

.blog-post-content blockquote {
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  font-style: italic;
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.25rem 1.5rem;
  border-left: 5px solid var(--secondary-color);
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .blog-post-content {
    padding: 2rem 1.25rem;
  }

  .post-title {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }

  .post-featured-image {
    margin: 1.5rem 0;
  }
}

/* -------------------------------------------------------------------------- */
.auth-page-main {
  padding-top: 4rem;
}

.auth-container {
  background-color: var(--background-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
  margin: 0 auto 3rem auto;
  max-width: 750px;
  text-align: center;
  font-family: var(--font-body);
  border: 3px solid var(--primary-color);
  color: var(--text-on-dark);
}

.auth-header {
  margin-bottom: 2.5rem;
}

.auth-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.auth-tabs {
  display: flex;
  flex: 1;
  justify-content: center;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.auth-tab {
  width: 100%;
  background-color: transparent;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  position: relative;
  top: 2px;
}

.auth-tab.active {
  color: var(--text-on-dark);
  border-bottom: 2px solid var(--text-on-dark);
}

.auth-tab:not(.active):hover {
  color: var(--text-on-dark);
}

.form-panels {
  margin-bottom: 2rem;
}

.form-panel {
  display: none;
}

.form-panel.active {
  display: block;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.checkout-section .form-group label {
  display: block;
  font-size: 0.95rem;
  color: var(--background-dark) !important;
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--primary-color);
  font-size: 1rem;
  color: var(--text-on-dark);
  background-color: transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  opacity: 0.8;
}

.form-submit-btn {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  background-color: var(--primary-color);
  color: var(--background-dark);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  clip-path: none;
}

.form-submit-btn:hover {
  background-color: var(--secondary-color);
  color: var(--background-dark);
  transform: translateY(-2px);
}

.auth-footer-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2rem;
}

.auth-footer-text a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.auth-footer-text a:hover {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .auth-page-main {
    padding-top: 4rem;
  }

  .auth-container {
    margin: 0 20px 4rem 20px;
    padding: 2.5rem 1.5rem;
  }

  .auth-title {
    font-size: 2rem;
  }

  .auth-tab {
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }

  .form-submit-btn {
    padding: 0.8rem;
    font-size: 1rem;
  }
}

/* -------------------------------------------------------------------------- */
.contact-section {
  padding: 0;
  background-color: var(--background-light);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  max-width: 1200px;
  width: 90%;
  margin: 4rem auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-container {
  background-color: var(--background-dark);
  padding: 4rem;
  color: var(--text-on-dark);
}

.contact-form-container .form-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.contact-form-container .form-header p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-on-dark) !important;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 0;
  border: none;
  border: 1px solid var(--primary-color);
  font-size: 1rem;
  background-color: transparent;
  color: var(--text-on-dark);
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  clip-path: none;
  border: 1px solid var(--primary-color);
  background-color: transparent;
}

.contact-info-container {
  background-color: var(--primary-color);
  color: var(--background-dark);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-start;
}

.contact-info-container .contact-info {
  width: 100%;
}

.contact-info-container .contact-info h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 2rem;
}

.contact-info-container .info-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-info-container .info-item i {
  font-size: 1.5rem;
  color: var(--text-on-dark);
  flex-shrink: 0;
}

.contact-info-container .info-item p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-on-dark);
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
    width: 100%;
    margin: 2rem 20px;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 768px) {

  .contact-form-container,
  .contact-info-container {
    padding: 3rem 1.5rem;
  }
}

/* -------------------------------------------------------------------------- */
.cart-section {
  padding: 4rem 0;
}

.cart-section h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  padding-bottom: 0.5rem;
  width: 100%;
}

@media (max-width: 768px) {
  .cart-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
}

.cart-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .cart-grid {
    flex-direction: row;
  }

  .cart-grid>div,
  .cart-grid>aside {
    flex: 1;
  }
}

#cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--background-light);
  border: 3px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 568px) {
  .cart-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

  }
}


.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 0.5rem;
}

.cart-item-details {
  flex-grow: 1;
}

@media (max-width: 568px) {
  .cart-item-details {
    text-align: center;
  }
}



.cart-item-details h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.cart-item-details p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-on-dark);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-quantity {
  width: 60px;
  text-align: center;
  padding: 0.5rem;
  border: 1px solid var(--text-primary);
  border-radius: 0.25rem;
}

.btn-remove-item {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #e74c3c;
  cursor: pointer;
  padding: 0.25rem;
}

.cart-summary {
  background-color: var(--background-light);
  border: 3px solid var(--primary-color);
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-summary h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  border-bottom: 1px solid var(--text-primary);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  border-top: 1px solid var(--text-primary);
  padding-top: 1rem;
  margin-top: 1rem;
}

.btn-checkout {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  background-color: transparent;
  color: var(--primary-color);
  text-decoration: none;
  margin-top: 1.5rem;
  transition: background-color 0.3s ease;
  border: 2px solid var(--primary-color);
  clip-path: none;
}

.empty-cart-message {
  text-align: start;
  padding: 2rem;
  background-color: var(--background-light);
  border: 1px solid var(--primary-color);
  border-radius: 0.75rem;
}

.empty-cart-message p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--background-dark);
}

.empty-cart-message a {
  display: block;
  width: fit-content;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--background-light);
  background-color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.empty-cart-message a:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------------------- */
.checkout-section {
  padding: 4rem 0;
}

.checkout-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 992px) {
  .checkout-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
  }
}

.checkout-form {
  padding: 1.5rem;
  background-color: var(--background-light);
  border: 3px solid var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-section {
  margin-bottom: 2rem;
}

.form-section h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group-half {
  display: flex;
  gap: 1rem;
}

.form-group-half>div {
  flex: 1;
}

.checkout-form .form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.checkout-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  background-color: var(--background-light);
  border: 1px solid var(--primary-color);
  border-radius: 0;
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.checkout-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.3);
}

.order-summary {
  padding: 1.5rem;
  background-color: var(--background-light);
  border: 3px solid var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.order-summary h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  border-bottom: 1px solid var(--text-primary);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

#summary-items-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  border-top: 1px solid var(--text-primary);
  padding-top: 1rem;
  margin-top: 1rem;
}

.btn-place-order {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.3rem;
  cursor: pointer;
  background-color: transparent;
  color: var(--primary-color);
  clip-path: none;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: background-color 0.3s ease;
  border: 2px solid var(--primary-color);
}


/* -------------------------------------------------------------------------- */
.legal-page {
  padding: 2rem 0;
}

.legal-page .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem;
}

.legal-page .terms-content,
.legal-page .cookie-policy-content,
.legal-page .policy-content {
  background-color: var(--background-light);
  border: 3px solid var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.legal-page h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.legal-page h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.legal-page p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.legal-page p strong {
  color: var(--text-primary);
}

.legal-page a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  word-break: break-all;
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-page ul {
  font-family: var(--font-body);
  color: var(--text-secondary);
  list-style-type: none;
  padding: 0;
  margin-bottom: 1rem;
}

.legal-page ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.legal-page ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

@media (max-width: 767px) {
  .legal-page h2 {
    font-size: 2rem;
  }

  .legal-page h3 {
    font-size: 1.25rem;
  }

  .legal-page h4 {
    font-size: 1.1rem;
  }

  .legal-page p {
    font-size: 0.95rem;
  }

  .legal-page .terms-content,
  .legal-page .cookie-policy-content,
  .legal-page .policy-content {
    padding: 1.5rem;
  }
}