.gjs-frame .nav-search a,
.gjs-frame .nav-account a,
.gjs-frame .nav-wishlist a,
.gjs-frame .nav-cart a {
  pointer-events: none !important;
}

.fx-font-caprasimo {
  font-family: "Caprasimo", serif;
}

.fx-slider {
  position: relative;
  width: 100%; /* ✅ NO vw */
  max-width: 100%;
  overflow: hidden;

  height: 680px; /* desktop height */
  background: #000;
}

/* ==============================
   Slides Container
============================== */
.fx-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ==============================
   Slide
============================== */
.fx-slide {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transition: opacity 0.8s ease;
}

.fx-slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* ==============================
   Background Image
============================== */
.fx-slide-img {
  position: absolute;
  inset: 0;

  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;

  object-fit: cover !important;

  object-position: center;

  z-index: 1;
}

/* ==============================
   Content
============================== */
/* ==============================
   HERO BASE (shared)
============================== */
.container-hero-1,
.container-hero-2,
.container-hero-3 {
  position: relative;
  z-index: 2;

  max-width: 1200px;
  padding: 0 16px;
  text-align: center;
}

/* ==============================
   TEXT (shared)
============================== */
.container-hero-1 h1,
.container-hero-2 h1,
.container-hero-3 h1 {
  font-size: clamp(42px, 9vw, 120px);
  margin-bottom: 24px;
  color: #fff;
  font-family: "Caprasimo", serif;
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.container-hero-1 h2,
.container-hero-2 h2,
.container-hero-3 h2 {
  font-size: clamp(20px, 5vw, 80px);
  margin-bottom: 48px;
  color: #fff;
  font-family: "Caprasimo", serif;
}

/* ==============================
   CTA
============================== */
.fx-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 28px;
  background: #fff;
  color: #000;

  text-decoration: none;
  font-family: "Caprasimo", serif;
  letter-spacing: 2px;
}

/* ==============================
   Dots
============================== */
.fx-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 10px;
  z-index: 5;
}

.fx-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
}

.fx-dot.is-active {
  background: #fff;
}

/* ==============================
   Mobile
============================== */
@media (max-width: 768px) {
  .fx-slider {
    height: 480px; /* ✅ mobile px height */
  }

  .fx-slide-img {
    height: 100%; /* ✅ reinforce for mobile */
  }

  .container-hero-1 h1,
  .container-hero-2 h1,
  .container-hero-3 h1 {
    font-size: 42px;
  }

  .container-hero-1 h2,
  .container-hero-2 h2,
  .container-hero-3 h2 {
    font-size: 26px;
  }
}

.fx-icon-section {
  padding: 60px 0;
}

.fx-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.fx-icon-card {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 16px;
  box-sizing: border-box;

  /* editor friendly */
  min-height: 80px;
}

/* .fx-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #eee;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;
} */
.fx-icon-1,
.fx-icon-2,
.fx-icon-3,
.fx-icon-4 {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid #eee;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;
}

.fx-icon-1 i,
.fx-icon-2 i,
.fx-icon-3 i,
.fx-icon-4 i {
  font-size: 24px;
}

.fx-content {
  flex: 0 0 auto; /* 🔑 critical */
}

.fx-title-1,
.fx-title-2,
.fx-title-3,
.fx-title-4 {
  font-family: "Caprasimo", serif;
  font-size: 18px;
  font-weight: 400;
}

.fx-text-1,
.fx-text-2,
.fx-text-3,
.fx-text-4 {
  font-size: 14px;
  opacity: 0.7;
}

/* ===============================
   Mobile Responsive Adjustments
   =============================== */

@media (max-width: 768px) {
  .fx-icon-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fx-icon-card {
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 20px;
  }

  .fx-icon-1,
  .fx-icon-2,
  .fx-icon-3,
  .fx-icon-4 {
    width: 64px;
    height: 64px;
  }

  .fx-icon-1 i,
  .fx-icon-2 i,
  .fx-icon-3 i,
  .fx-icon-4 i {
    font-size: 20px;
  }

  .fx-content {
    flex: 0 0 auto;
  }

  .fx-title-1,
  .fx-title-2,
  .fx-title-3,
  .fx-title-4 {
    font-size: 16px;
  }

  .fx-text-1,
  .fx-text-2,
  .fx-text-3,
  .fx-text-4 {
    font-size: 13px;
  }
}

.fx-shop-title {
  width: 100%;
  max-width: 900px; /* control width */
  margin-left: auto;
  margin-right: auto;
}

.fx-footer {
  width: 100%;
  background: #fff;
  box-sizing: border-box;
}

/* ===== Main ===== */
.fx-footer-main {
  padding: 80px 24px 60px;
}

.fx-footer-grid {
  max-width: 1400px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

/* ===== Columns ===== */
.fx-footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fx-footer-col h6 {
  font-size: 18px !important;
  margin-bottom: 10px !important;
  font-weight: 500 !important;
  font-family: "Caprasimo", serif;
}

.fx-footer-col p,
.fx-footer-col a,
.fx-footer-col li {
  font-size: 14px;
  line-height: 1.7;
}

.fx-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ===== Brand ===== */
.fx-footer-logo {
  width: 140px;
  margin-bottom: 16px;
}

.fx-footer-link {
  margin-top: 8px;
  display: inline-block;
  border-bottom: 1px solid #000;
  width: fit-content;
}

/* ===== Social ===== */
.fx-footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.fx-footer-socials li a {
  width: 36px;
  height: 36px;
  border: 1px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Newsletter ===== */
.fx-footer-newsletter {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.fx-footer-newsletter input {
  flex: 1;
  padding: 12px;
}

.fx-footer-newsletter button {
  padding: 12px 20px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
}

/* ===== Selects ===== */
.fx-footer-selects {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

/* ===== Bottom ===== */
.fx-footer-bottom {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid #eee;
  padding: 20px 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  font-size: 14px;
}

.fx-footer-payments img {
  height: 26px;
  margin-left: 10px;
}

/* ================================
   Footer – Mobile Responsive
================================ */

/* Tablet & below */
@media (max-width: 900px) {
  .fx-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  /* Main padding */
  .fx-footer-main {
    padding: 56px 16px 40px;
  }

  /* Grid becomes single column */
  .fx-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Store info width fix */
  .fx-store-inner {
    max-width: 100%;
  }

  /* Footer columns */
  .fx-footer-col {
    gap: 10px;
  }

  .fx-footer-col h6 {
    font-size: 15px !important;
    margin-bottom: 6px !important;
  }

  .fx-footer-col p,
  .fx-footer-col a,
  .fx-footer-col li {
    font-size: 14px;
  }

  /* Newsletter */
  .fx-footer-newsletter {
    flex-direction: column;
    gap: 12px;
  }

  .fx-footer-newsletter button {
    width: 100%;
  }

  /* Selects */
  .fx-footer-selects {
    flex-direction: column;
    gap: 10px;
  }

  /* Social icons */
  .fx-footer-socials {
    gap: 10px;
  }

  /* Bottom bar */
  .fx-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;

    padding: 16px;
    text-align: left;
  }

  .fx-footer-payments img {
    height: 22px;
    margin-left: 0;
    margin-right: 8px;
  }
}

/* ===============================
   Hero Section
   =============================== */

.fx-hero {
  position: relative;
  width: 100%;
  min-height: 700px;
  /* background-color: #eee; */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  overflow: hidden;
}
.fx-hero-bg {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;

  z-index: 1;
}

.fx-hero-inner {
  /* position: relative; */
  width: 100%;
  padding: 80px 24px;
  background-color: #fff;
  max-width: 680px;
  margin-left: 50px;
  z-index: 1;
}

.fx-hero-content {
  max-width: 560px;
  color: #000000;
  margin-left: 30px;
}

.fx-hero-text {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 28px;
}

.fx-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 28px;
  background: #000;
  color: #fff;

  font-size: 13px;
  font-family: "Caprasimo", serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;

  border-radius: 4px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .fx-hero {
    min-height: 380px; /* slightly taller for balance */
    justify-content: center; /* center card horizontally */
  }

  .fx-hero-inner {
    padding: 56px 24px;
    margin: 0 auto; /* center card */
    max-width: 90%;
    background-color: #fff;
  }

  .fx-hero-content {
    max-width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .fx-hero-title {
    font-size: 30px;
  }

  .fx-hero-text {
    font-size: 14px;
  }
}

/* EXISTING STYLES (unchanged) */
.fx-testimonial {
  position: relative;
  overflow: hidden;
}

.fx-testimonial-bg {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  z-index: 1;
}

.fx-testimonial-inner {
  position: relative;
  z-index: 5;
}

/* UNIQUE CLASSES — NO VISUAL CHANGE */
/* These exist ONLY to break GrapesJS component linking */

.testimonial-1 {
}
.testimonial-2 {
}
.testimonial-3 {
}
.testimonial-4 {
}

.rating-1 {
}
.rating-2 {
}
.rating-3 {
}
.rating-4 {
}

.heading-1 {
}
.heading-2 {
}
.heading-3 {
}
.heading-4 {
}

.text-11 {
}
.text-2 {
}
.text-3 {
}
.text-4 {
}

.author-1 {
}
.author-2 {
}
.author-3 {
}
.author-4 {
}

/* Section */
/* Section */
.fx-shop-gram-static {
  position: relative;
}

/* Grid layout */
.fx-gram-grid {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 50px;
  margin: 0;
  flex-wrap: nowrap;
}

/* each card should share equal width */
.fx-gram-item {
  flex: 1;
  min-width: 0;
  z-index: 10;
}

.fx-gram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none !important;
}

.fx-gram-card {
  position: relative;
  overflow: visible;
}

/* CTA button — NO full overlay */
.fx-gram-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);

  padding: 10px 16px;
  border-radius: 999px;

  background: rgba(0, 0, 0, 0.75);
  color: #fff;

  font-family: "Caprasimo", serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;

  opacity: 0;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Hover effect */
.fx-gram-card:hover .fx-gram-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* ===== Individual margin control ===== */
.fx-hero-1 {
  margin-top: 0px;
}
.fx-hero-2 {
  margin-top: 0px;
}
.fx-hero-3 {
  margin-top: 0px;
}
.fx-hero-4 {
  margin-top: 0px;
}
.fx-hero-5 {
  margin-top: 0px;
}
.fx-hero-6 {
  margin-top: 0px;
}
.fx-hero-7 {
  margin-top: 0px;
}
.fx-hero-8 {
  margin-top: 0px;
}

/* SECTION */
.fx-categories {
  padding: 80px 0;
}

/* GRID */
.fx-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 20px;
}

.fx-heading-shopbycategories {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 80px;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  max-width: 900px; /* control width */
  margin-left: auto;
  margin-right: auto;
}

.fx-heading-shopbycategories h2 {
  font-size: 42px;
  line-height: 26.4px;
  font-family: "Caprasimo", serif;
}

/* CARD */
.fx-category-card {
  position: relative;
  display: block;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

/* IMAGE */
.fx-category-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.6s ease;
}

/* HOVER IMAGE ZOOM */
.fx-category-card:hover img {
  transform: scale(1.06);
}

/* LABEL */
.fx-category-label-1,
.fx-category-label-2,
.fx-category-label-3 {
  position: absolute;
  left: 0;
  top: 0;
  background: #ffffff;
  padding: 14px 26px;
  font-family: "Caprasimo", serif;
  font-size: 14px;
  letter-spacing: 1.2px;
  color: #000;
  border: 1px dashed #000;
  z-index: 2;
  transition: all 0.3s ease;
}

@media (max-width: 1300px) {
  .fx-category-label-1,
  .fx-category-label-2,
  .fx-category-label-3 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, 50%);
  }
}

/* LABEL HOVER */
.fx-category-card:hover .fx-category-label-1 {
  background: #000;
  color: #fff;
  border-color: #000;
}
.fx-category-card:hover .fx-category-label-2 {
  background: #000;
  color: #fff;
  border-color: #000;
}
.fx-category-card:hover .fx-category-label-3 {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .fx-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .fx-categories-grid {
    grid-template-columns: 1fr;
  }

  .fx-category-card {
    height: 420px;
  }
}

.fx-featuredProducts {
  font-size: 42px;
  line-height: 26.4px;
  font-family: "Caprasimo", serif;
}
.fx-trendingProduct {
  font-size: 42px;
  line-height: 26.4px;
  font-family: "Caprasimo", serif;
}
.fx-hearfromHappyCustomer {
  font-size: 42px;
  line-height: 46.4px;
  font-family: "Caprasimo", serif;
  color: white;
}
.fx-morethan1368 {
  color: white;
}

@media (max-width: 768px) {
  .fx-featuredProducts {
    font-size: 30px;
  }
  .fx-trendingProduct {
    font-size: 30px;
  }
  .fx-heading-shopbycategories h2 {
    font-size: 30px;
  }
  .fx-hearfromHappyCustomer {
    font-size: 30px;
    line-height: 26.4px;
  }
}
