/*
Theme Name: Suxnix Child
Theme URI: https://suxnix.themegenix.com/
Author: ThemeGenix
Author URI: https://themeforest.net/user/themegenix/
Description: Child theme for Suxnix — customized for Elite Life (الیت لایف).
Template: suxnix
Version: 3.0.1
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: suxnix-child
*/

@font-face {
  font-family: Vazirmatn;
  src: url("fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Vazirmatn;
  src: url("fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --el-cream: #F5EFE6;
  --el-cream-dark: #EFE6D8;
  --el-cream-line: #E2D6C6;
  --el-white: #FFFFFF;
  --el-ink: #2F241D;
  --el-ink-soft: #5A4638;
  --el-accent: #6B4A32;
  --el-accent-hover: #553A28;
}

html, body,
button, input, select, textarea,
h1, h2, h3, h4, h5, h6,
.btn, .button, .wp-element-button,
.elementor-widget, .elementor-heading-title,
.elementor-button, .tg-btn, .nav, .menu,
.woocommerce, .woocommerce-page,
body .elementor-kit-21 {
  font-family: Vazirmatn, Tahoma, sans-serif !important;
}

body,
body.rtl,
.elementor-page {
  background: var(--el-cream) !important;
  color: var(--el-ink-soft);
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  color: var(--el-ink);
  font-weight: 700;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Buttons */
.btn, .button, button.button, .wp-element-button,
a.btn, .elementor-button, .tg-btn,
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce-page a.button, .added_to_cart,
.checkout-button, .single_add_to_cart_button {
  background: var(--el-accent) !important;
  border-color: var(--el-accent) !important;
  color: var(--el-white) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  text-transform: none !important;
}
.btn:hover, .button:hover, a.btn:hover, .elementor-button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover,
.single_add_to_cart_button:hover, .checkout-button:hover {
  background: var(--el-accent-hover) !important;
  border-color: var(--el-accent-hover) !important;
  color: var(--el-white) !important;
}

/* Header / footer chrome */
.tg-header, .tg-header-inner, header.elementor,
.elementor-location-header {
  background: var(--el-white) !important;
  border-bottom: 1px solid var(--el-cream-line);
}
.elementor-location-footer,
.tg-footer, footer.elementor {
  background: var(--el-ink) !important;
  color: var(--el-cream) !important;
}
.elementor-location-footer .elementor-heading-title,
.elementor-location-footer,
.elementor-location-footer a,
.elementor-location-footer p,
.elementor-location-footer li,
.elementor-location-footer .elementor-icon-list-text {
  color: var(--el-cream) !important;
}
.elementor-location-footer a:hover {
  color: #fff !important;
}

/* Hide demo payment-card image in footer if still present */
.elementor-location-footer img[src*="card_img"] {
  display: none !important;
}

/* Breadcrumb bar */
.elementor-location-single .breadcrumb-area,
.breadcrumb-area, .tg-breadcrumb {
  background: var(--el-ink) !important;
}

/* Shop / Woo */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.product-item, .suxnix-shop-item {
  background: var(--el-white);
  border: 1px solid var(--el-cream-line);
  border-radius: 20px;
  overflow: hidden;
}
.woocommerce div.product, .woocommerce-page div.product,
.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  background: transparent;
}
.woocommerce div.product .summary,
.woocommerce-cart-form, .cart-collaterals,
.woocommerce-checkout-review-order,
.woocommerce-info, .woocommerce-message, .woocommerce-error {
  background: var(--el-white);
  border-color: var(--el-cream-line) !important;
  border-radius: 16px;
}
.woocommerce .price, .woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--el-accent) !important;
}
.el-price-note {
  display: block;
  font-size: 0.85rem;
  color: var(--el-ink-soft);
  margin-top: 0.25rem;
}

/* Pages */
.el-page {
  background: var(--el-cream);
  color: var(--el-ink-soft);
  overflow: hidden;
}
.el-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}
.el-hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(1200px 400px at 100% 0%, #fff 0%, transparent 55%),
    var(--el-cream);
  text-align: center;
}
.el-kicker {
  color: var(--el-accent);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.el-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.35;
  margin: 0 0 18px;
  color: var(--el-ink);
}
.el-lead {
  font-size: 1.15rem;
  line-height: 2;
  max-width: 46rem;
  margin: 0 auto 28px;
}
.el-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.el-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .2s, color .2s, border-color .2s;
}
.el-btn-solid {
  background: var(--el-accent);
  color: #fff !important;
}
.el-btn-solid:hover { background: var(--el-accent-hover); color: #fff !important; }
.el-btn-ghost {
  background: transparent;
  color: var(--el-ink) !important;
  border: 1px solid var(--el-cream-line);
}
.el-btn-ghost:hover { background: var(--el-white); }

.el-section { padding: 72px 0; }
.el-section-white { background: var(--el-white); }
.el-section-cream { background: var(--el-cream); }
.el-section-alt { background: var(--el-cream-dark); }
.el-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 12px;
  text-align: center;
}
.el-section .el-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 40px;
  line-height: 2;
}

.el-grid-2, .el-grid-3, .el-grid-products {
  display: grid;
  gap: 24px;
}
.el-grid-2 { grid-template-columns: repeat(2, 1fr); }
.el-grid-3 { grid-template-columns: repeat(3, 1fr); }
.el-grid-products { grid-template-columns: repeat(3, 1fr); }

.el-card {
  background: var(--el-white);
  border: 1px solid var(--el-cream-line);
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.el-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(47,36,29,.08); }
.el-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.el-card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.el-card h3 { margin: 0; font-size: 1.35rem; }
.el-card p { margin: 0; line-height: 1.9; }
.el-card .el-btn { margin-top: auto; align-self: flex-start; }

.el-field-card {
  padding: 36px;
  border-radius: 24px;
  background: var(--el-white);
  border: 1px solid var(--el-cream-line);
}
.el-field-card h3 { margin: 0 0 12px; font-size: 1.4rem; }
.el-field-card p { margin: 0; line-height: 2; }

.el-prose { max-width: 46rem; margin: 0 auto; }
.el-prose p { line-height: 2.1; margin: 0 0 1.1em; font-size: 1.05rem; }
.el-prose h2 { text-align: right; margin: 1.6em 0 .6em; }

.el-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}
.el-contact-info {
  background: var(--el-white);
  border: 1px solid var(--el-cream-line);
  border-radius: 24px;
  padding: 28px;
}
.el-contact-info dt { color: var(--el-accent); font-weight: 600; margin-top: 16px; }
.el-contact-info dd { margin: 4px 0 0; line-height: 1.9; }
.el-form-box {
  background: var(--el-white);
  border: 1px solid var(--el-cream-line);
  border-radius: 24px;
  padding: 28px;
}
.el-form-box label { font-weight: 600; color: var(--el-ink); }
.el-form-box input[type=text],
.el-form-box input[type=email],
.el-form-box input[type=tel],
.el-form-box select,
.el-form-box textarea {
  width: 100%;
  border: 1px solid var(--el-cream-line);
  background: var(--el-cream);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--el-ink);
}
.el-note {
  font-size: .9rem;
  color: var(--el-ink-soft);
  background: var(--el-cream);
  border-radius: 12px;
  padding: 10px 14px;
}

.el-product-card { text-align: center; }
.el-product-card img { height: 260px; object-fit: cover; }
.el-product-card .price { color: var(--el-accent); font-weight: 700; }

@media (max-width: 900px) {
  .el-grid-3, .el-grid-products, .el-grid-2, .el-contact-grid {
    grid-template-columns: 1fr;
  }
  .el-hero { padding: 48px 0 36px; }
  .el-section { padding: 48px 0; }
  .el-card img { height: 200px; }
}

/* Reduce leftover English skip-link visibility is fine (sr-only) */

/* Checkout fields */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
  background: var(--el-white);
  border: 1px solid var(--el-cream-line);
  border-radius: 10px;
}

/* Hide empty demo blog widgets if they appear on shop sidebar after cleanup */
.widget_media_image img[src*="banner-1"] { opacity: .9; }
