@import url("https://fonts.googleapis.com/css2?family=Courgette&family=Kaushan+Script&family=Lobster&family=Manrope:wght@200..800&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&family=Playwrite+IN:wght@100..400&display=swap");

/* 
font-family: "Lobster", sans-serif;
font-family: "Playwrite IN", cursive;
font-family: "Courgette", cursive;
font-family: "Kaushan Script", cursive;
font-family: "Philosopher", sans-serif;
font-family: "Manrope", sans-serif; 
*/

:root {
  --theme-green: #087147;
  --theme-black: #000000;
  --theme-white: #ffffff;
  --theme-gold: #8d6e2d;
  --font-manrope: "Manrope", sans-serif;
  --font-courgette: "Courgette", cursive;
  --font-philosopher: "Philosopher", sans-serif;
  --font-kaushan: "Kaushan Script", cursive;
  --font-lobster: "Lobster", sans-serif;
  --font-playwrite: "Playwrite IN", cursive;
}

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

body {
  background: var(--theme-white);
  font-family: var(--font-manrope);
}

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

/* =========================
       TOP HEADER TICKER
    ========================== */

.ema-topbar {
  width: 100%;
  background: var(--theme-gold);
  height: 42px;
  overflow: hidden;
  position: relative;
}

.ema-topbar-inner {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  align-items: center;
  height: 100%;
}

/* =========================
       LEFT CONTACT
    ========================== */

.ema-contact-left,
.ema-contact-right {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: var(--theme-white);
  font-size: 14px;
  font-weight: 500;
  gap: 10px;
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.ema-contact-left {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.ema-contact-right {
  justify-content: flex-end;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.ema-contact-left a,
.ema-contact-right a {
  color: var(--theme-white);
  text-decoration: none;
  transition: 0.3s;
}

.ema-contact-left a:hover,
.ema-contact-right a:hover {
  opacity: 0.8;
}

/* =========================
       SWIPER
    ========================== */

.ema-news-swiper {
  width: 100%;
  height: 100%;
}

.ema-news-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
  align-items: center;
}

.ema-news-swiper .swiper-slide {
  width: auto !important;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--theme-white);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  padding: 0 34px;
  position: relative;
}

/* Divider */
.ema-news-swiper .swiper-slide::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.15);
}

/* Icons */
.ticker-icon,
.contact-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
  flex-shrink: 0;
}

/* =========================
       EMA HEADER START
    ========================== */

.ema-header {
  width: 100%;
  background: #f5f2ed;
  padding: 24px 25px;
}

.ema-header-wrapper {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ema-header-logo img {
  width: 120px;
  height: auto;
  object-fit: contain;
  display: block;
}

.ema-header-menu {
  display: flex;
  align-items: center;
  gap: 90px;
}

.ema-header-menu a {
  text-decoration: none;
  color: #000000;
  font-size: 20px;
  font-weight: 600;
  position: relative;
  transition: 0.3s ease;
}

.ema-header-menu a:hover {
  color: #087147;
}

.ema-header-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #087147;
  transition: 0.3s ease;
}

.ema-header-menu a:hover::after {
  width: 100%;
}

/* =========================
   EMA HEADER RIGHT
========================= */

.ema-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
}

/* =========================
   ACCOUNT MENU
========================= */

.ema-accounts-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* =========================
   ACCOUNT ITEM
========================= */

.ema-account-item,
.ema-search-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  color: #111111;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s ease;
}

.ema-cart-item-btn {
  display: flex;
  gap: 10px;
  padding: 22px 0;
}

.ema-account-item i,
.ema-search-toggle i {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  transition: 0.3s ease;
}

.ema-account-item:hover,
.ema-search-toggle:hover {
  color: #087147;
}

.ema-account-item:hover i,
.ema-search-toggle:hover i {
  transform: translateY(-2px);
}

/* =========================
   SEARCH
========================= */

.ema-search-wrapper {
  position: relative;
}

.ema-search-box {
  position: absolute;
  top: 42px;
  right: 0;
  width: 320px;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 0;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 999;
}

.ema-search-box-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ema-search-input {
  width: 100%;
  height: 48px;
  border: none;
  outline: none;
  background: #f5f5f5;
  border-radius: 0;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: #111111;
}

.ema-search-input::placeholder {
  color: #777777;
}

.ema-search-submit {
  width: 48px;
  min-width: 48px;
  height: 48px;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 0;
  background: #087147;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.ema-search-submit:hover {
  background: #065c3a;
}

.ema-search-submit i {
  width: 18px;
  height: 18px;
}

/* =========================
   CART COUNT
========================= */

.ema-cart-item {
  position: relative;
}

.ema-cart-count {
  position: absolute;
  top: 7px;
  right: -10px;
  width: 18px;
  height: 18px;
  border-radius: 0;
  background: #087147;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   EMA SPLIT SLIDER
========================= */

.ema-split-slider-section {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

/* =========================
   SLIDER AREA
========================= */

.ema-split-left,
.ema-split-right {
  width: 100%;
  overflow: hidden;
}

.ema-left-slider,
.ema-right-slider {
  width: 100%;
  height: 100%;
}

.ema-left-slider .swiper-slide,
.ema-right-slider .swiper-slide {
  height: auto;
}

/* =========================
   CARD
========================= */

.ema-split-card {
  position: relative;
  width: 100%;
  height: 950px;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.ema-split-image {
  width: 100%;
  height: 100%;
}

.ema-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 4s ease;
}

/* Overlay */

.ema-split-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  transition: 0.4s ease;
}

/* Content */

.ema-split-content {
  position: absolute;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  z-index: 2;
  padding: 0 20px;
}

.ema-split-content h2 {
  font-size: 70px;
  font-weight: 600;
  color: #ffffff;
  font-family: var(--font-playwrite);
  text-shadow: 0 0 0.5px rgba(0, 0, 0, 0.8);
}

/* Hover */

.ema-split-card:hover img {
  transform: scale(1.01);
}

.ema-split-card:hover .ema-split-overlay {
  background: rgba(0, 0, 0, 0.28);
}

/* =========================
   EMA CART BUTTON
========================= */

.ema-cart-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #111111;
}

.ema-cart-toggle i {
  width: 18px;
  height: 18px;
}

/* =========================
   OVERLAY
========================= */

.ema-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
  z-index: 9998;
}

.ema-cart-overlay-active {
  opacity: 1;
  visibility: visible;
}

/* =========================
   SIDEBAR
========================= */

.ema-cart-sidebar {
  position: fixed;
  top: 0;
  right: -430px;
  width: 430px;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  transition: 0.45s ease;
  display: flex;
  flex-direction: column;
}

.ema-cart-sidebar-active {
  right: 0;
}

/* =========================
   HEADER
========================= */

.ema-cart-header {
  padding: 18px 24px;
  border-bottom: 1px solid #ebebeb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ema-cart-header h3 {
  font-size: 24px;
  font-weight: 500;
  color: #111111;
  letter-spacing: -1px;
  font-family: var(--font-philosopher);
}

.ema-cart-close {
  width: 42px;
  height: 42px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
}

.ema-cart-close i {
  width: 24px;
  height: 24px;
}

/* =========================
   BACK TO TOP
========================= */

.ema-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9997;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: var(--theme-green);
  color: var(--theme-white);
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.2s ease;
}

.ema-back-to-top i {
  font-size: 18px;
}

.ema-back-to-top:hover {
  background: #065c3a;
}

.ema-back-to-top:focus-visible {
  outline: 3px solid rgba(8, 113, 71, 0.35);
  outline-offset: 3px;
}

.ema-back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .ema-back-to-top {
    transition: none;
  }
}

/* =========================
   BODY
========================= */

.ema-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 24px;
}

.ema-cart-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px dashed #dddddd;
}

.ema-cart-item-image {
  width: 78px;
  min-width: 78px;
  height: 95px;
  overflow: hidden;
}

.ema-cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ema-cart-item-content flex-1 h4 {
  font-size: 17px;
  font-weight: 600;
  color: #111111;
  line-height: 1.4;
  margin-bottom: 3px;
  font-family: var(--font-philosopher);
}

.ema-cart-item-content flex-1 p {
  font-size: 15px;
  color: #666666;
  margin-bottom: 4px;
}

.ema-cart-item-content flex-1 span {
  font-size: 18px;
  font-weight: 500;
  color: #111111;
}

/* =========================
   FOOTER
========================= */

.ema-cart-footer {
  padding: 24px;
  border-top: 1px solid #ebebeb;
}

.ema-cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ema-cart-subtotal h5 {
  font-size: 22px;
  font-weight: 600;
  color: #111111;
  font-family: var(--font-philosopher);
}

.ema-cart-subtotal span {
  font-size: 24px;
  font-weight: 600;
  color: #111111;
}

/* Buttons */

.ema-cart-checkout-btn,
.ema-cart-view-btn {
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s ease;
}

.ema-cart-checkout-btn {
  background: #111111;
  color: #ffffff;
  margin-bottom: 14px;
}

.ema-cart-checkout-btn:hover {
  background: var(--theme-gold);
}

.ema-cart-view-btn {
  border: 1px solid #111111;
  color: #111111;
}

.ema-cart-view-btn:hover {
  background: #111111;
  color: #ffffff;
}

/* =========================
   EMA CATEGORY SECTION
========================= */

.ema-category-section {
  width: 100%;
  padding: 70px 30px;
  background: #fffefc;
  display: flex;
  align-items: flex-start;
  gap: 60px;
  overflow: hidden;
}

/* =========================
   LEFT CONTENT
========================= */

.ema-category-left {
  width: 34%;
  padding-left: 0px;
  flex-shrink: 0;
}

.ema-category-left h2 {
  font-size: 60px;
  line-height: 1;
  font-weight: 700;
  color: #000000;
  margin-bottom: 20px;
  letter-spacing: -3px;
}

.ema-category-left p {
  font-size: 20px;
  font-weight: 300;
  color: #222222;
  line-height: 1.3;
}

/* =========================
   RIGHT SLIDER
========================= */

.ema-category-right {
  width: 66%;
  overflow: hidden;
}

.ema-category-swiper {
  overflow: visible;
}

.ema-category-swiper .swiper-slide {
  width: 295px;
}

/* =========================
   CARD
========================= */

.ema-category-card {
  display: block;
  text-decoration: none;
}

.ema-category-image {
  width: 100%;
  height: 430px;
  overflow: hidden;
  background: #ddd;
  border: 1px solid var(--theme-gold);
}

.ema-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.5s ease;
}

.ema-category-card:hover img {
  transform: rotate(1.5deg) scale(1.05);
}

/* =========================
   CONTENT
========================= */

.ema-category-content {
  padding-top: 18px;
}

.ema-category-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 12px;
}

/* Link */

.ema-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #bda56b;
  border-bottom: 1px solid #bda56b;
  padding: 10px 0;
  transition: all 0.3s ease;
}

.ema-category-link span {
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 600;
}

.ema-category-link i {
  width: 16px;
  height: 16px;
  color: #666666;
  transition: 0.3s ease;
}

.ema-category-card:hover .ema-category-link i {
  transform: translateX(4px);
  color: #000000;
}

.ema-category-link:hover {
  background: var(--theme-gold);
  color: #ffffff;
  padding: 10px 10px;
}

/* =========================
   EMA STORY SECTION
========================= */

.ema-story-section {
  width: 100%;
  padding: 70px 30px;
  background: #fff2dc;
}

/* =========================
   HEADING
========================= */

.ema-story-heading {
  margin-bottom: 40px;
}

.ema-story-heading h2 {
  font-size: 60px;
  line-height: 1;
  font-weight: 700;
  color: #000000;
  letter-spacing: -3px;
}

/* =========================
   GRID
========================= */

.ema-story-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
}

/* =========================
   CARD
========================= */

.ema-story-card {
  display: block;
  text-decoration: none;
}

/* Image */

.ema-story-image {
  width: 100%;
  height: 440px;
  overflow: hidden;
  background: #dddddd;
  border: 1px solid var(--theme-gold);
}

.ema-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.5s ease;
}

.ema-story-card:hover img {
  transform: rotate(1.5deg) scale(1.05);
}

/* =========================
   CONTENT
========================= */

.ema-story-content {
  padding-top: 18px;
}

.ema-story-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 16px;
  line-height: 1.3;
}

/* Link */

.ema-story-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid #b89b53;
  border-bottom: 1px solid #b89b53;
  transition: all 0.3s ease;
}

.ema-story-link span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
}

.ema-story-link i {
  width: 18px;
  height: 18px;
  color: #414141;
  transition: 0.3s ease;
}

.ema-story-card:hover .ema-story-link i {
  transform: translateX(5px);
  color: #000000;
}

.ema-story-link:hover {
  background: var(--theme-gold);
  color: #ffffff;
  padding: 12px 10px;
}

/* =========================
   EMA BRAND SECTION
========================= */

.ema-brand-section {
  width: 100%;
  padding: 70px 30px;
  background: #ffffff;
  overflow: hidden;
}

/* =========================
   SWIPER
========================= */

.ema-brand-swiper {
  overflow: visible;
}

.ema-brand-swiper .swiper-wrapper {
  align-items: center;
  transition-timing-function: linear !important;
}

.ema-brand-swiper .swiper-slide {
  width: auto;
}

/* =========================
   BRAND ITEM
========================= */

.ema-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: 0.3s ease;
}

.ema-brand-item img {
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: 0.3s ease;
}

.ema-brand-item:hover {
  opacity: 1;
}

.ema-brand-item:hover img {
  filter: grayscale(0%);
}

/* =========================
   EMA ABOUT SECTION
========================= */

.ema-about-section {
  width: 100%;
  padding: 70px 30px;
  background: #f5f2ed;
}

/* =========================
   WRAPPER
========================= */

.ema-about-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
}

/* =========================
   CONTENT
========================= */

.ema-about-content h2 {
  font-size: 58px;
  line-height: 1.15;
  font-weight: 700;
  color: #000000;
  margin-bottom: 34px;
  letter-spacing: -2px;
  font-family: var(--font-philosopher);
}

.ema-about-content p {
  font-size: 18px;
  line-height: 1.9;
  font-weight: 400;
  color: #111111;
  text-align: justify;
}

/* =========================
   IMAGE
========================= */

.ema-about-image {
  width: 100%;
  overflow: hidden;
}

.ema-about-image img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   EMA PRODUCT SECTION
========================= */

.ema-product-section {
  width: 100%;
  padding: 70px 30px;
  background: #ffffff;
  overflow: hidden;
}

/* =========================
   TOP AREA
========================= */

.ema-product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.ema-product-top h2 {
  font-size: 60px;
  line-height: 1;
  font-weight: 700;
  color: #000000;
  letter-spacing: -3px;
}

/* View All */

.ema-product-view-all {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #111111;
  font-size: 17px;
  font-weight: 600;
  transition: 0.2s ease;
	flex-wrap: nowrap;
  white-space: nowrap;
}

.ema-product-view-all:hover {
  letter-spacing: 2px;
}

.ema-product-view-all i {
  width: 18px;
  height: 18px;
}

/* =========================
   SWIPER
========================= */

.ema-product-swiper {
  overflow: visible;
}

/* =========================
   CARD
========================= */

.ema-product-card {
  width: 100%;
}

/* Image */

.ema-product-image {
  width: 100%;
  height: 520px;
  display: block;
  overflow: hidden;
  background: #dddddd;
  border: 1px solid var(--theme-gold);
}

.ema-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.5s ease;
}

.ema-product-card:hover .ema-product-image img {
  transform: rotate(1.5deg) scale(1.05);
}

/* Content */

.ema-product-content {
  padding-top: 14px;
}

.ema-product-content h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: #111111;
  margin-bottom: 10px;
}

.ema-product-content p {
  font-size: 14px;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 16px;
}

/* Bottom */

.ema-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid #b89b53;
  border-bottom: 1px solid #b89b53;
}

/* Cart */

.ema-product-cart-btn {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: #087147;
}

/* Price */

.ema-product-price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ema-product-price span {
  font-size: 15px;
  font-weight: 700;
  color: #087147;
}

.ema-product-price button {
  width: 20px;
  height: 20px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ema-product-price button i {
  width: 15px;
  height: 15px;
}

.font-philosopher {
  font-family: var(--font-philosopher);
}

/* =========================
   EMA GALLERY (FANCYBOX)
========================= */

.ema-gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.ema-gallery-item img {
  transition: transform 0.35s ease;
}

.ema-gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 113, 71, 0);
  transition: background 0.35s ease;
}

.ema-gallery-item::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) scale(0.8);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--theme-green);
  font-size: 16px;
  opacity: 0;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.ema-gallery-item:hover img {
  transform: scale(1.05);
}

.ema-gallery-item:hover::before {
  background: rgba(8, 113, 71, 0.28);
}

.ema-gallery-item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.fancybox__caption {
  font-family: var(--font-manrope);
  font-size: 14px;
}

/* Collection page design =====================================*/

.product-img {
  border: 1px solid var(--theme-gold);
  overflow: hidden;
}

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

.product-card:hover .product-img img {
  transform: scale(1.04) rotate(2deg);
}

.badge-fit {
  background: rgba(0, 0, 0, 0.72);
}

.swatch {
  width: 22px;
  height: 22px;
  border-radius: 0;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.swatch.active,
.swatch:hover {
  border-color: #087147;
}

.sidebar-link {
  transition:
    color 0.15s,
    padding-left 0.15s;
}

.sidebar-link:hover {
  color: #087147;
  padding-left: 4px;
}

.filter-chip {
  transition:
    background 0.2s,
    color 0.2s;
}

.filter-chip:hover {
  background: #087147;
  color: #fff;
  border-color: #087147;
}

.filter-chip.active {
  background: #087147;
  color: #fff;
  border-color: #087147;
}

/* Collapsible submenu */
.cat-submenu {
  overflow: hidden;
  max-height: 0;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
}

.cat-submenu.open {
  max-height: 300px;
  opacity: 1;
}

/* Chevron rotation */
.cat-chevron {
  transition: transform 0.3s ease;
}

.cat-chevron.open {
  transform: rotate(180deg);
}

/* Mobile drawer */
#filter-drawer {
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#filter-drawer.open {
  transform: translateY(0);
}

#drawer-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Collection page design end==================================*/
/* Product details page design start==================================*/
.scrollbar-thin::-webkit-scrollbar {
  height: 4px;
}

.scrollbar-thin::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 0;
}

.thumb-btn {
  transition:
    border-color 0.15s,
    transform 0.15s;
}



/* Product details page design end==================================*/
/* Additional custom styles matching theme variables */
.btn-primary {
  background-color: var(--theme-green);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #065c3a;
}

.btn-secondary {
  background-color: var(--theme-gold);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #725822;
}

.text-green {
  color: var(--theme-green);
}

.text-gold {
  color: var(--theme-gold);
}

.border-green {
  border-color: var(--theme-green);
}

.border-gold {
  border-color: var(--theme-gold);
}

/* Search Suggestions Container */
#searchSuggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  z-index: 50;
  max-height: 320px;
  overflow-y: auto;
}

.suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s ease;
}

.suggestion-item:hover {
  background-color: #f5f2ed;
}

/* Custom Slider Styles */
.price-slider-track {
  height: 6px;
  background: #e5e7eb;
  border-radius: 0;
  position: relative;
}

.price-slider-range {
  height: 100%;
  background: var(--theme-green);
  position: absolute;
  border-radius: 0;
}

.slider-thumb-custom {
  width: 18px;
  height: 18px;
  border-radius: 0;
  background: #ffffff;
  border: 2px solid var(--theme-green);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.1s ease;
}

.slider-thumb-custom:active {
  transform: translate(-50%, -50%) scale(1.2);
}

/* =========================
       WISHLIST BUTTON
   ========================== */

.ema-wl-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease,
    box-shadow 0.2s ease;
  /* Hidden on desktop until hover */
  opacity: 0;
  transform: scale(0.82);
}

/* Always visible on mobile (no hover) */
@media (hover: none) {
  .ema-wl-btn {
    opacity: 1;
    transform: scale(1);
  }
}

/* Reveal on card hover */
.product-card:hover .ema-wl-btn {
  opacity: 1;
  transform: scale(1);
}

/* Keep visible when already in wishlist */
.ema-wl-btn.ema-wl-active {
  opacity: 1;
  transform: scale(1);
  background: #fff0f2;
  border-color: #e05b6a22;
  box-shadow: 0 2px 12px rgba(224, 91, 106, 0.2);
}

.ema-wl-btn svg {
  width: 15px;
  height: 15px;
  stroke: #aaa;
  fill: none;
  transition: stroke 0.2s ease, fill 0.2s ease, transform 0.15s ease;
  pointer-events: none;
}

.ema-wl-btn:hover svg {
  stroke: #e05b6a;
}

/* Filled heart when in wishlist */
.ema-wl-btn.ema-wl-active svg {
  stroke: #e05b6a;
  fill: #e05b6a;
}

/* Pop animation on toggle */
@keyframes wl-pop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.38);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

.ema-wl-pop svg {
  animation: wl-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================
       WISHLIST TOAST
   ========================== */

#ema-wl-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1a1a;
  color: #ffffff;
  padding: 11px 20px;
  border-radius: 0;
  font-size: 13.5px;
  font-weight: 500;
  font-family: var(--font-manrope);
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 99999;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

#ema-wl-toast.ema-wl-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#ema-wl-toast svg {
  flex-shrink: 0;
}

/* ─── Wishlist page–specific styles ─────────────────────────────────── */

/* Grid */
.wl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .wl-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .wl-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .wl-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 14px;
  }
}

/* Card */
.wl-card {
  background: #ffffff;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}



/* View button */
.wl-view-btn {
  background: var(--theme-gold);
}

.wl-view-btn:hover {
  background: #121212;
}

/* Hero banner */
.wl-hero {
  background: linear-gradient(135deg, #f5f2ed 0%, #eee9e1 100%);
  border-bottom: 1px solid #e8e2d9;
}

/* Toolbar */
.wl-toolbar {
  background: #ffffff;
  border: 1px solid #f0ede8;
  padding: 14px 20px;
}

/* Subtotal box */
.wl-subtotal-box {
  background: linear-gradient(135deg, #087147 0%, #065c39 100%);
  color: #ffffff;
  padding: 20px 24px;
}

/* Remove toast */
.wl-remove-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1a1a;
  color: #ffffff;
  padding: 11px 20px;
  border-radius: 0;
  font-size: 13.5px;
  font-weight: 500;
  font-family: var(--font-manrope);
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 99999;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.wl-remove-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Empty State */
.wl-empty-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #fff0f2 0%, #ffeef0 100%);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  animation: wl-pulse 2.5s ease-in-out infinite;
}

@keyframes wl-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(224, 91, 106, 0.2);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 14px rgba(224, 91, 106, 0);
  }
}

/* Count badge */
.wl-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 0;
  background: var(--theme-green);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-manrope);
  line-height: 1;
}

/* Clear button */
.wl-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #e05b6a;
  background: #fff0f2;
  border: 1px solid #ffd6da;
  padding: 7px 16px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.wl-clear-btn:hover {
  background: #ffe0e4;
  border-color: #e05b6a;
}

/* Continue shopping */
.wl-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--theme-green);
  border: 1.5px solid var(--theme-green);
  padding: 7px 18px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.wl-shop-btn:hover {
  background: var(--theme-green);
  color: #ffffff;
}

/* line-clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}