/*
Theme Name: Lafé Coffee Child
Theme URI: https://lafecoffee.com
Description: Child theme for Lafé Coffee — White & Green Brand
Author: Lafé Coffee
Template: generatepress
Version: 1.0.0
Text Domain: lafe-child
*/

/* ══════════════════════════════════════
   LAFÉ COFFEE — BRAND VARIABLES
══════════════════════════════════════ */
:root {
  --lafe-green:       #2d5a3d;
  --lafe-green-2:     #3d7a54;
  --lafe-green-3:     #7aab89;
  --lafe-green-light: #eaf5ee;
  --lafe-green-muted: #c8e6d0;
  --lafe-white:       #ffffff;
  --lafe-kerem: #F8F6F2;
  --lafe-cream:       #faf9f6;
  --lafe-warm:        #f2efe8;
  --lafe-text:        #1a2e22;
  --lafe-muted:       #6b8f76;
  --lafe-border:      #d0e8d8;

  --lafe-font-en: 'Cormorant Garamond', Georgia, serif;
  --lafe-radius:  6px;
  --lafe-shadow:  0 2px 16px rgba(45,90,61,0.08);
}

/* ══════════════════════════════════════
   BASE
══════════════════════════════════════ */
body {
  background-color: var(--lafe-kerem);
  color: var(--lafe-text);
  font-family: 'Vazirmatn', 'Tahoma', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--lafe-green);
  transition: color 0.2s;
}
a:hover { color: var(--lafe-green-2); }

/* ══════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  color: var(--lafe-text);
  font-weight: 400;
  line-height: 1.3;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.3rem; }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */

.site-title a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 1.5rem;
  letter-spacing: 6px;
  color: var(--lafe-text) !important;
  text-decoration: none;
  text-transform: uppercase;
}

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.main-navigation,
.nav-primary {
  background: transparent !important;
}

.main-navigation .menu-item a,
.nav-primary .menu-item a {
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 400;
  padding: 20px 18px !important;
  transition: color 0.2s;
}

.main-navigation .menu-item a:hover,
.main-navigation .current-menu-item > a,
.nav-primary .menu-item a:hover,
.nav-primary .current-menu-item > a {
  color: var(--lafe-green) !important;
  background: transparent !important;
}

/* Active underline */
.main-navigation .current-menu-item > a,
.nav-primary .current-menu-item > a {
  border-bottom: 2px solid var(--lafe-green);
}

/* Dropdown */
.main-navigation .sub-menu,
.nav-primary .sub-menu {
  border: 0.5px solid var(--lafe-border) !important;
  border-top: 2px solid var(--lafe-green) !important;
  box-shadow: var(--lafe-shadow) !important;
  border-radius: 0 0 var(--lafe-radius) var(--lafe-radius);
}

.main-navigation .sub-menu .menu-item a,
.nav-primary .sub-menu .menu-item a {
  color: var(--lafe-text) !important;
  padding: 10px 20px !important;
}

/* Mobile Nav Toggle */
.menu-toggle {
  color: var(--lafe-green) !important;
  border: 1px solid var(--lafe-border) !important;
  border-radius: var(--lafe-radius) !important;
}

/* ══════════════════════════════════════
   BUTTONS — GLOBAL
══════════════════════════════════════ */
.wp-block-button__link,
button,
input[type="submit"],
input[type="button"],
.button {
  background: var(--lafe-green) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--lafe-radius) !important;
  font-size: 0.75rem !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  padding: 12px 28px !important;
  transition: background 0.2s, transform 0.15s !important;
  cursor: pointer;
}

.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
.button:hover {
  background: var(--lafe-green-2) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Outline button variant */
.button.outline,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  border: 1.5px solid var(--lafe-green) !important;
  color: var(--lafe-green) !important;
}

.button.outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--lafe-green-light) !important;
  color: var(--lafe-green) !important;
  transform: translateY(-1px);
}

/* ══════════════════════════════════════
   WOOCOMMERCE — SHOP PAGE
══════════════════════════════════════ */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 1px !important;
  background: var(--lafe-border);
  border: 1px solid var(--lafe-border);
}

/* Product Card */
.woocommerce ul.products li.product {
  background: var(--lafe-white) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
}

.woocommerce ul.products li.product:hover {
  background: var(--lafe-cream) !important;
}

/* Product Image */
.woocommerce ul.products li.product .woocommerce-loop-product__link img {
  border-radius: 0 !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  transition: transform 0.4s ease;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.03);
}

/* Image Wrap — overflow hidden for zoom */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  overflow: hidden;
  display: block;
}

/* Product Body */
.woocommerce ul.products li.product .product-info-wrap,
.woocommerce ul.products li.product > *:not(a:first-child) {
  padding: 16px 18px;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  color: var(--lafe-text) !important;
  padding: 16px 18px 4px !important;
  margin: 0 !important;
  direction: rtl;
  text-align: right;
}

/* Product Price */
.woocommerce ul.products li.product .price {
  color: var(--lafe-green) !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  padding: 0 18px 8px !important;
  display: block;
  font-family: 'Cormorant Garamond', serif !important;
}

.woocommerce ul.products li.product .price del {
  color: var(--lafe-muted) !important;
  font-size: 0.85rem !important;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  margin: 0 18px 18px !important;
  width: calc(100% - 36px) !important;
  text-align: center !important;
  padding: 10px 16px !important;
}

/* Sale Badge */
.woocommerce span.onsale {
  background: var(--lafe-green) !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-size: 0.65rem !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  min-width: auto !important;
  min-height: auto !important;
  line-height: 1 !important;
  padding: 5px 10px !important;
}

/* WooCommerce Category Tabs / Filter */
.woocommerce-result-count {
  font-size: 0.8rem;
  color: var(--lafe-muted);
  letter-spacing: 1px;
}

.woocommerce-ordering select {
  border: 0.5px solid var(--lafe-border) !important;
  border-radius: var(--lafe-radius) !important;
  font-size: 0.8rem !important;
  color: var(--lafe-text) !important;
  padding: 6px 12px !important;
}

/* ══════════════════════════════════════
   WOOCOMMERCE — SINGLE PRODUCT
══════════════════════════════════════ */
.single-product .product_title {
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 1.8rem !important;
  font-weight: 400 !important;
  color: var(--lafe-text) !important;
  direction: rtl;
}

.single-product .price {
  color: var(--lafe-green) !important;
  font-size: 1.6rem !important;
  font-family: 'Cormorant Garamond', serif !important;
}

.single-product .woocommerce-product-details__short-description {
  font-size: 0.9rem;
  color: var(--lafe-muted);
  line-height: 1.8;
  direction: rtl;
  text-align: right;
}

/* Product Tabs */
.woocommerce-tabs ul.tabs {
  border-bottom: 2px solid var(--lafe-green) !important;
  padding: 0 !important;
  background: transparent !important;
}

.woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}

.woocommerce-tabs ul.tabs li a {
  font-size: 0.75rem !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--lafe-muted) !important;
  padding: 12px 20px !important;
}

.woocommerce-tabs ul.tabs li.active a {
  color: var(--lafe-green) !important;
  border-bottom: 2px solid var(--lafe-green);
  background: transparent !important;
}

/* ══════════════════════════════════════
   WOOCOMMERCE — CART & CHECKOUT
══════════════════════════════════════ */
.woocommerce-cart table.cart,
.woocommerce-checkout table {
  border: 0.5px solid var(--lafe-border) !important;
  border-radius: var(--lafe-radius) !important;
  overflow: hidden;
}

.woocommerce-cart table.cart th,
.woocommerce-checkout table th {
  background: var(--lafe-green-light) !important;
  color: var(--lafe-green) !important;
  font-size: 0.75rem !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  border: none !important;
}

.woocommerce-checkout #payment {
  background: var(--lafe-cream) !important;
  border-radius: var(--lafe-radius) !important;
  border: 0.5px solid var(--lafe-border) !important;
}

/* Checkout Fields */
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
  border: 0.5px solid var(--lafe-border) !important;
  border-radius: var(--lafe-radius) !important;
  padding: 10px 14px !important;
  font-size: 0.9rem !important;
  transition: border-color 0.2s;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: var(--lafe-green) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(45,90,61,0.1) !important;
}

/* Order Total */
.woocommerce .cart_totals h2,
.woocommerce .order-total .amount {
  color: var(--lafe-green) !important;
}

/* ══════════════════════════════════════
   WOOCOMMERCE — PRODUCT CATEGORIES
══════════════════════════════════════ */
.product-category a {
  display: block;
  position: relative;
  overflow: hidden;
  border: 0.5px solid var(--lafe-border);
}

.product-category img {
  transition: transform 0.4s ease;
}

.product-category:hover img {
  transform: scale(1.04);
}

.product-category h2 {
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 1rem !important;
  background: var(--lafe-white);
  color: var(--lafe-text) !important;
  padding: 12px 16px !important;
  margin: 0 !important;
  border-top: 2px solid var(--lafe-green);
}

/* ══════════════════════════════════════
   INPUTS — GLOBAL
══════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
textarea,
select {
  border: 0.5px solid var(--lafe-border) !important;
  border-radius: var(--lafe-radius) !important;
  padding: 10px 14px !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 0.9rem !important;
  color: var(--lafe-text) !important;
  background: var(--lafe-white) !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--lafe-green) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(45,90,61,0.1) !important;
}

/* ══════════════════════════════════════
   CONTENT AREA
══════════════════════════════════════ */
.site-content {
  background: var(--lafe-white);
}

.entry-content {
  color: var(--lafe-text);
  line-height: 1.85;
  font-size: 0.95rem;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--lafe-kerem) !important;
  color: rgba(255,255,255,0.7) !important;
  border-top: none !important;
  padding: 50px 40px 30px !important;
}

.site-footer a {
  color: rgba(255,255,255,0.6) !important;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #fff !important;
}

.site-footer .widget-title {
  font-size: 0.7rem !important;
  letter-spacing: 4px !important;
  text-transform: uppercase !important;
  margin-bottom: 1.2rem !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(255,255,255,0.15) !important;
}

.copyright-bar {
  background: rgba(0,0,0,0.2);
  padding: 14px 40px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-align: center;
}

/* ══════════════════════════════════════
   BLOCKS
══════════════════════════════════════ */
.wp-block-separator {
  border-color: var(--lafe-border) !important;
}

.wp-block-quote {
  border-right: 3px solid var(--lafe-green) !important;
  border-left: none !important;
  padding: 12px 20px !important;
  background: var(--lafe-green-light);
  border-radius: 0 var(--lafe-radius) var(--lafe-radius) 0;
}

/* ══════════════════════════════════════
   UTILITY CLASSES
══════════════════════════════════════ */
.lafe-green { color: var(--lafe-green) !important; }
.lafe-bg-green { background: var(--lafe-green) !important; color: #fff !important; }
.lafe-bg-light { background: var(--lafe-green-light) !important; }
.lafe-border { border: 0.5px solid var(--lafe-border) !important; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
  .site-header .inside-header { padding: 12px 20px; }
  .site-footer { padding: 40px 20px 20px !important; }
  .copyright-bar { padding: 12px 20px; }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1px !important;
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
}
/* ══════════════════════════════════════
   LAFÉ — BLOG ARCHIVE
   Responsive / Editorial
══════════════════════════════════════ */

/* ─────────────────────────────────────
   ARCHIVE
───────────────────────────────────── */

.blog .site-main,
.archive .site-main {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}


/* Archive title */
.blog .site-main > .page-header,
.archive .site-main > .page-header {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}


/* ─────────────────────────────────────
   CARD
───────────────────────────────────── */

.lafe-blog-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;

  margin: 0 !important;
  padding: 0 !important;

  background: var(--lafe-white);

  border: 1px solid rgba(45, 90, 61, 0.12);
  border-radius: 4px;

  overflow: hidden;

  box-shadow: 0 2px 12px rgba(45, 90, 61, 0.045);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.lafe-blog-card:hover {
  transform: translateY(-3px);

  border-color: rgba(45, 90, 61, 0.22);

  box-shadow: 0 10px 28px rgba(45, 90, 61, 0.09);
}


/* ─────────────────────────────────────
   IMAGE
───────────────────────────────────── */

.lafe-blog-card-image {
  position: relative;

  display: block;

  width: 100%;
  aspect-ratio: 16 / 10;

  overflow: hidden;

  background: var(--lafe-warm);
}

.lafe-blog-card-image img {
  display: block;

  width: 100%;
  height: 100%;

  margin: 0 !important;

  object-fit: cover;

  transition: transform 0.45s ease;
}

.lafe-blog-card:hover .lafe-blog-card-image img {
  transform: scale(1.035);
}


/* ─────────────────────────────────────
   CONTENT
───────────────────────────────────── */

.lafe-blog-card-content {
  display: flex;
  flex-direction: column;

  flex: 1;

  padding: 22px 23px 21px;

  direction: rtl;
  text-align: right;
}


/* ─────────────────────────────────────
   META
───────────────────────────────────── */

.lafe-blog-card-meta {
  display: flex;
  align-items: center;

  gap: 9px;

  margin-bottom: 12px;

  min-height: 18px;

  font-size: 0.68rem;
  line-height: 1.5;

  color: var(--lafe-muted);
}

.lafe-blog-category {
  color: var(--lafe-green) !important;

  font-weight: 500;

  text-decoration: none !important;
}

.lafe-blog-date {
  color: var(--lafe-muted);
  font-weight: 300;
}

.lafe-blog-date::before {
  content: "·";
  margin-left: 9px;
  color: var(--lafe-green-3);
}


/* ─────────────────────────────────────
   TITLE
───────────────────────────────────── */

.lafe-blog-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  overflow: hidden;

  margin: 0 0 10px !important;
  padding: 0 !important;

  font-family: 'Vazirmatn', sans-serif !important;

  font-size: 1.05rem !important;
  font-weight: 500 !important;

  line-height: 1.75 !important;

  letter-spacing: -0.1px;
}

.lafe-blog-card-title a {
  color: var(--lafe-text) !important;
  text-decoration: none !important;
}


/* ─────────────────────────────────────
   EXCERPT
───────────────────────────────────── */

.lafe-blog-card-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;

  overflow: hidden;

  margin: 0 0 20px;

  color: #718177;

  font-size: 0.81rem;
  font-weight: 300;

  line-height: 1.95;
}

.lafe-blog-card-excerpt p {
  margin: 0;
}


/* ─────────────────────────────────────
   READ MORE
───────────────────────────────────── */

.lafe-blog-read-more {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: auto;
  padding-top: 14px;

  border-top: 1px solid rgba(45, 90, 61, 0.10);

  color: var(--lafe-green) !important;

  font-size: 0.72rem;
  font-weight: 400;

  text-decoration: none !important;
}

.lafe-blog-read-more span:last-child {
  direction: ltr;
  font-size: 1rem;

  transition: transform 0.2s ease;
}

.lafe-blog-read-more:hover span:last-child {
  transform: translateX(-4px);
}


/* ══════════════════════════════════════
   TABLET
══════════════════════════════════════ */

@media (max-width: 1024px) {

  .blog .site-main,
  .archive .site-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

}


/* ══════════════════════════════════════
   MOBILE
══════════════════════════════════════ */

@media (max-width: 768px) {

  /*
   * ایجاد فاصله از چپ و راست صفحه
   */
  .blog .site-main,
  .archive .site-main {
    width: auto;

    margin-left: 16px;
    margin-right: 16px;

    grid-template-columns: 1fr;

    gap: 20px;
  }


  /* عنوان آرشیو */
  .blog .site-main > .page-header,
  .archive .site-main > .page-header {
    margin-bottom: 4px;
  }


  /* کارت */
  .lafe-blog-card {
    width: 100%;
  }


  /* محتوای کارت */
  .lafe-blog-card-content {
    padding: 19px 19px 18px;
  }


  /* عنوان */
  .lafe-blog-card-title {
    font-size: 1rem !important;
    line-height: 1.8 !important;
  }


  /* توضیحات */
  .lafe-blog-card-excerpt {
    font-size: 0.81rem;
    line-height: 1.9;
  }

}


/* ══════════════════════════════════════
   SMALL MOBILE
══════════════════════════════════════ */

@media (max-width: 480px) {

  .blog .site-main,
  .archive .site-main {
    margin-left: 14px;
    margin-right: 14px;

    gap: 18px;
  }


  .lafe-blog-card-content {
    padding: 17px 17px 18px;
  }


  .lafe-blog-card-meta {
    font-size: 0.65rem;
  }


  .lafe-blog-card-title {
    font-size: 0.98rem !important;
  }


  .lafe-blog-card-excerpt {
    font-size: 0.79rem;
  }

}


/* ══════════════════════════════════════
   VERY SMALL MOBILE
══════════════════════════════════════ */

@media (max-width: 360px) {

  .blog .site-main,
  .archive .site-main {
    margin-left: 12px;
    margin-right: 12px;
  }

  .lafe-blog-card-content {
    padding: 16px;
  }

}
/* =========================================================
   LAFÉ SHOP
========================================================= */

.lafe-shop-wrapper {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	box-sizing: border-box;
}


/* =========================================================
   PRODUCT MENU
========================================================= */

.lafe-shop-wrapper .lafe-product-menu {

	width: 100% !important;
	max-width: 1450px !important;

	margin: 0 auto !important;

	padding: 35px 30px 80px !important;

	box-sizing: border-box;

	direction: rtl;

	background: transparent !important;
}


/* =========================================================
   CATEGORY
========================================================= */

.lafe-shop-wrapper .lafe-category {

	width: 100%;

	margin: 0 0 75px;
	padding: 0;
}

.lafe-shop-wrapper .lafe-category:last-child {
	margin-bottom: 0;
}


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

.lafe-shop-wrapper .lafe-category-heading {

	display: flex;

	align-items: center;

	gap: 18px;

	width: 100%;

	margin: 0 0 30px;
	padding: 0;
}

.lafe-shop-wrapper .lafe-category-heading h2 {

	flex: 0 0 auto;

	margin: 0 !important;
	padding: 0 !important;

	color: var(--lafe-text) !important;

	font-family: 'Vazirmatn', sans-serif !important;

	font-size: 1.35rem !important;

	font-weight: 500 !important;

	line-height: 1.5 !important;
}

.lafe-shop-wrapper .lafe-category-line {

	flex: 1;

	height: 1px;

	background: rgba(45, 90, 61, 0.14);
}


/* =========================================================
   PRODUCT GRID
========================================================= */
.lafe-shop-wrapper .lafe-products-grid {

	display: grid;

	grid-template-columns:
		repeat(5, minmax(0, 1fr));

	gap: 22px;

	width: 100%;

	margin: 0;

	padding: 0;
}

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

.lafe-shop-wrapper .lafe-product-card {

	display: block;

	width: 100%;

	min-width: 0;

	margin: 0 !important;
	padding: 0 !important;

	background: #fff !important;

	border: 1px solid rgba(45, 90, 61, 0.09);

	border-radius: 5px;

	overflow: hidden;

	color: inherit !important;

	text-decoration: none !important;

	box-shadow:
		0 2px 12px rgba(45, 90, 61, 0.035);

	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}


.lafe-shop-wrapper .lafe-product-card:hover {

	transform: translateY(-3px);

	color: inherit !important;

	text-decoration: none !important;

	border-color: rgba(45, 90, 61, 0.16);

	box-shadow:
		0 10px 26px rgba(45, 90, 61, 0.08);
}


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

/* ==================/* =========================================================
   PRODUCT IMAGE — SHOW FULL IMAGE
========================================================= */

.lafe-shop-wrapper .lafe-product-image,
.lafe-shop-page .lafe-product-image {

	width: 100%;

	aspect-ratio: 1 / 1;

	display: flex;

	align-items: center;

	justify-content: center;

	overflow: hidden;

	background: #ffffff;

	padding: 0;

	box-sizing: border-box;
}


.lafe-shop-wrapper .lafe-product-image img,
.lafe-shop-page .lafe-product-image img {

	display: block;

	width: 100% !important;

	height: 100% !important;

	max-width: 100% !important;

	max-height: 100% !important;

	margin: 0 !important;

	padding: 18px !important;

	box-sizing: border-box;

	object-fit: contain !important;

	object-position: center center !important;

	transition:
		transform 0.4s ease;
}


.lafe-shop-wrapper
.lafe-product-card:hover
.lafe-product-image img,
.lafe-shop-page
.lafe-product-card:hover
.lafe-product-image img {

	transform: scale(1.02);
}=======================================
   PRODUCT INFO
========================================================= */

.lafe-shop-wrapper .lafe-product-info {

	padding: 17px 18px 19px;

	text-align: center;

	direction: rtl;
}


.lafe-shop-wrapper .lafe-product-info h3 {

	margin: 0 0 6px !important;
	padding: 0 !important;

	color: var(--lafe-text) !important;

	font-family: 'Vazirmatn', sans-serif !important;

	font-size: 1rem !important;

	font-weight: 500 !important;

	line-height: 1.7 !important;
}


.lafe-shop-wrapper .lafe-product-info p {

	margin: 0 0 12px !important;
	padding: 0 !important;

	color: var(--lafe-muted) !important;

	font-size: 0.78rem !important;

	font-weight: 300 !important;

	line-height: 1.85 !important;
}


.lafe-shop-wrapper .lafe-product-price {

	display: block;

	color: var(--lafe-green) !important;

	font-size: 0.78rem;

	font-weight: 500;

	text-align: center;
}


/* =========================================================
   REMOVE DEFAULT WOOCOMMERCE SHOP LOOP
========================================================= */

.woocommerce-shop .lafe-shop-wrapper
.woocommerce ul.products,
.woocommerce-shop .lafe-shop-wrapper
.woocommerce .products {

	display: none !important;
}


/* =========================================================
   GENERATEPRESS — SHOP FULL WIDTH
========================================================= */

body.woocommerce-shop .site.grid-container {

	width: 100% !important;

	max-width: none !important;

	margin: 0 !important;

	padding: 0 !important;

	display: block !important;
}


body.woocommerce-shop .site-content {

	width: 100% !important;

	max-width: none !important;

	margin: 0 !important;

	padding: 0 !important;

	display: block !important;
}


body.woocommerce-shop .content-area {

	width: 100% !important;

	max-width: none !important;

	margin: 0 !important;

	padding: 0 !important;

	float: none !important;
}


body.woocommerce-shop .site-main {

	width: 100% !important;

	max-width: none !important;

	margin: 0 !important;

	padding: 0 !important;

	float: none !important;
}


body.woocommerce-shop .inside-article {

	width: 100% !important;

	max-width: none !important;

	margin: 0 !important;

	padding: 0 !important;
}


/* =========================================================
   DESKTOP LARGE
========================================================= */

@media (min-width: 1600px) {

	.lafe-shop-wrapper .lafe-product-menu {
		max-width: 1550px !important;
	}
}
@media (max-width: 1200px) {

	.lafe-shop-wrapper .lafe-products-grid {

		grid-template-columns:
			repeat(4, minmax(0, 1fr));

		gap: 20px;
	}
}


@media (max-width: 900px) {

	.lafe-shop-wrapper .lafe-product-menu {

		padding-left: 22px !important;
		padding-right: 22px !important;
	}


	.lafe-shop-wrapper .lafe-products-grid {

		grid-template-columns:
			repeat(3, minmax(0, 1fr));

		gap: 18px;
	}
}


@media (max-width: 600px) {

	.lafe-shop-wrapper .lafe-product-menu {

		padding:
			20px 16px 55px !important;
	}


	.lafe-shop-wrapper .lafe-category {

		margin-bottom: 52px;
	}


	.lafe-shop-wrapper .lafe-category-heading {

		gap: 12px;

		margin-bottom: 21px;
	}


	.lafe-shop-wrapper
	.lafe-category-heading h2 {

		font-size: 1.12rem !important;
	}


	.lafe-shop-wrapper .lafe-products-grid {

		grid-template-columns:
			repeat(2, minmax(0, 1fr));

		column-gap: 14px;

		row-gap: 22px;
	}


	.lafe-shop-wrapper .lafe-product-image img {

		padding: 12px !important;
	}


	.lafe-shop-wrapper .lafe-product-info {

		padding: 13px 13px 15px;
	}


	.lafe-shop-wrapper
	.lafe-product-info h3 {

		font-size: 0.88rem !important;
	}


	.lafe-shop-wrapper
	.lafe-product-info p {

		font-size: 0.69rem !important;

		line-height: 1.8 !important;

		margin-bottom: 9px !important;
	}


	.lafe-shop-wrapper
	.lafe-product-price {

		font-size: 0.7rem;
	}
}


@media (max-width: 380px) {

	.lafe-shop-wrapper .lafe-product-menu {

		padding-left: 12px !important;
		padding-right: 12px !important;
	}


	.lafe-shop-wrapper .lafe-products-grid {

		column-gap: 11px;

		row-gap: 19px;
	}


	.lafe-shop-wrapper .lafe-product-info {

		padding: 12px;
	}


	.lafe-shop-wrapper .lafe-product-image img {

		padding: 9px !important;
	}
}
/* =========================================================
   LAFÉ — LUXURY CATEGORY NAV
========================================================= */

.lafe-category-nav {
	position: sticky;
	top: 0;
	z-index: 100;

	width: 100%;

	background: rgba(248, 246, 242, 0.97);

	border-top: 1px solid rgba(45, 90, 61, 0.08);
	border-bottom: 1px solid rgba(45, 90, 61, 0.12);

	box-shadow:
		0 4px 18px rgba(30, 45, 35, 0.035);

	direction: rtl;

	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}


/* =========================================================
   NAV INNER
========================================================= */

.lafe-category-nav-inner {

	width: 100%;
	max-width: 1450px;

	margin: 0 auto;

	padding: 16px 30px;

	box-sizing: border-box;

	display: flex;

	align-items: center;

	justify-content: center;

	flex-wrap: wrap;

	gap: 6px 4px;
}


/* =========================================================
   CATEGORY ITEM
========================================================= */

.lafe-category-nav-link {

	position: relative;

	display: inline-flex;

	align-items: center;

	justify-content: center;

	padding: 8px 18px;

	background: transparent;

	border: 1px solid transparent;

	color: #536158 !important;

	font-family: 'Vazirmatn', sans-serif;

	font-size: 0.76rem;

	font-weight: 400;

	letter-spacing: 0;

	line-height: 1.5;

	white-space: nowrap;

	text-decoration: none !important;

	transition:
		color 0.3s ease,
		background 0.3s ease,
		border-color 0.3s ease;
}


/* =========================================================
   SUBTLE SEPARATION
========================================================= */

.lafe-category-nav-link:not(:last-child)::after {

	content: "";

	position: absolute;

	top: 50%;

	right: -2px;

	width: 1px;

	height: 17px;

	transform: translateY(-50%);

	background: rgba(45, 90, 61, 0.12);
}


/* =========================================================
   HOVER
========================================================= */

.lafe-category-nav-link:hover {

	color: var(--lafe-green) !important;

	background: rgba(255, 255, 255, 0.55);

	border-color: rgba(45, 90, 61, 0.10);

	text-decoration: none !important;
}


/* =========================================================
   LUXURY UNDERLINE
========================================================= */

.lafe-category-nav-link::before {

	content: "";

	position: absolute;

	bottom: 2px;

	left: 18px;

	right: 18px;

	height: 1px;

	background: var(--lafe-green);

	transform: scaleX(0);

	transform-origin: center;

	transition:
		transform 0.3s ease;
}


.lafe-category-nav-link:hover::before {

	transform: scaleX(1);
}


/* =========================================================
   CATEGORY SCROLL OFFSET
========================================================= */

.lafe-category {

	scroll-margin-top: 88px;
}


/* =========================================================
   PRODUCT TEXT — CENTER
========================================================= */

.lafe-product-card {

	text-align: center !important;
}


.lafe-product-info {

	width: 100%;

	box-sizing: border-box;

	text-align: center !important;
}


.lafe-product-info h3 {

	width: 100%;

	margin-left: auto !important;
	margin-right: auto !important;

	text-align: center !important;
}


.lafe-product-info p {

	width: 100%;

	margin-left: auto !important;
	margin-right: auto !important;

	text-align: center !important;
}


.lafe-product-price {

	display: block;

	width: 100%;

	text-align: center !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

	.lafe-category-nav-inner {

		justify-content: flex-start;

		flex-wrap: nowrap;

		overflow-x: auto;

		padding: 11px 15px;

		gap: 2px;

		scrollbar-width: none;

		-webkit-overflow-scrolling: touch;
	}


	.lafe-category-nav-inner::-webkit-scrollbar {
		display: none;
	}


	.lafe-category-nav-link {

		flex: 0 0 auto;

		padding: 7px 14px;

		font-size: 0.71rem;
	}


	.lafe-category-nav-link::after {

		display: none;
	}


	.lafe-category-nav-link::before {

		bottom: 1px;

		left: 14px;

		right: 14px;
	}


	.lafe-category {

		scroll-margin-top: 62px;
	}
}