﻿/* Jest homepage — Corum-like full-bleed vertical Swiper */

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

:root {
  --gold: #a28758;
  --gold-2: #b99d6b;
  --dark: #14161c;
  --dark-2: #325461;
  --red: #e90000;
  --maroon: #940000;
  --text: #212529;
  --header-h: 50px;
  --notify-h: 28px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body.zhest-home {
  height: 100%;
  overflow: hidden;
}

body.zhest-home {
  background: #000;
  -webkit-font-smoothing: antialiased;
}

body.zhest-home .sliders-container,
body.zhest-home .sliders-container *:not(.site-footer):not(.site-footer *):not(.footer-whatsapp-fab) {
  margin: 0;
  padding: 0;
}

body.zhest-home .sliders-container a { color: inherit; text-decoration: none; }
body.zhest-home .sliders-container button,
body.zhest-home .sliders-container input { font-family: "IRANYekanX", Tahoma, sans-serif; }
body.zhest-home .sliders-container img { max-width: 100%; display: block; }
body.zhest-home .sliders-container button {     border: 0;
    cursor: pointer;
    background: #302f2f;
    color: #ffffff; }
body.zhest-home .sliders-container ul { list-style: none; }



/* —— notify + gold marquee —— */
.notify-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: var(--notify-h);
  background: var(--maroon);
  color: #fff;
  z-index: 80;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee-rtl 15s linear infinite;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold-2);
}

.marquee span {
  padding: 0 2.5rem;
}

@keyframes marquee-rtl {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* —— header 50px, transparent over hero —— */
.site-header {
  position: fixed;
  top: var(--notify-h);
  right: 0;
  left: 0;
  height: var(--header-h);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  gap: 18px;
  color: #fff;
  background: linear-gradient(to bottom, rgba(0,0,0,.38), rgba(0,0,0,0));
  transition: background .35s ease, color .35s ease, box-shadow .35s ease;
}

.site-header.is-solid {
  background: #fff;
  color: var(--dark);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

.header-start,
.header-end {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.header-start { flex: 1; }
.header-end { flex-shrink: 0; }

.logo {
  display: flex;
  align-items: center;
  height: 36px;
  flex-shrink: 0;
}

.logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.site-header.is-over-hero .logo img {
  mix-blend-mode: screen;
  filter: brightness(1.15);
}

.site-header.is-solid .logo img {
  mix-blend-mode: normal;
  filter: none;
}

.hamburger {
  width: 28px;
  height: 28px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 2px 0;
}

.hamburger span {
  display: block;
  height: 1.5px;
  width: 20px;
  background: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 400;
}

.nav-links a:hover { color: var(--gold); }

.header-end a,
.header-end button {
  font-size: 13px;
}

.search-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  gap: 4px;
}

.search-btn .search-label { line-height: 1; }
.search-btn .search-line {
  display: block;
  width: 88px;
  height: 1px;
  background: currentColor;
  opacity: .85;
}

@media (max-width: 900px) {
  .nav-links { display: none; }

  .search-btn .search-line { width: 56px; }
}

/* —— sidebar overlay RTL —— */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20,22,28,.45);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.sidebar-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100dvh;
  background: #fff;
  color: var(--dark);
  z-index: 130;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,.12);
}

.sidebar.is-open { transform: translateX(0); }

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 20px;
  border-bottom: 1px solid #eee;
  font-weight: 500;
}

.sidebar-close {
  width: 36px;
  height: 36px;
  font-size: 22px;
  line-height: 1;
}

.sidebar-body {
  padding: 12px 8px 32px;
  overflow-y: auto;
  flex: 1;
}

.sidebar-body a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid #f3f3f3;
}

.sidebar-body a:hover { color: var(--gold); }

.sidebar-body .group-title {
  padding: 18px 16px 8px;
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .08em;
}

/* —— search overlay —— */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,22,28,.72);
  z-index: 140;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.search-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.search-box {
  width: min(560px, 90vw);
  position: relative;
}

.search-box input {
  width: 100%;
  height: 52px;
  border: 0;
  border-bottom: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 16px;
  outline: none;
  text-align: right;
}

.search-box input::placeholder { color: rgba(255,255,255,.7); }

.search-close {
  position: absolute;
  left: 0;
  top: 10px;
  color: #fff;
  font-size: 22px;
}

/* —— vertical swiper shell —— */
.sliders-container,
.main-swiper,
.main-swiper .swiper-slide {
  width: 100%;
  height: 100dvh;
}

.main-swiper {
  overflow: hidden;
}

.slide-item {
  position: relative;
  overflow: hidden;
  background: #000;
}

.bleed-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-title-box {
    position: absolute;
    right: 0;
    width: 100%;
    text-align: center;
    bottom: 10px;
    z-index: 3;
    pointer-events: none;
}

.slide-title-box span {
  display: inline-block;
  color: #0a0a0a;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .04em;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}

.hero-more {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  letter-spacing: .06em;
  pointer-events: none;
}

.hero-more i {
  width: 10px;
  height: 10px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
  animation: bounce 1.4s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0,0); opacity: .9; }
  50% { transform: rotate(45deg) translate(3px, 3px); opacity: .4; }
}

.main-swiper > .swiper-scrollbar {
  left: 8px;
  right: auto;
  width: 3px;
  background: rgba(255,255,255,.2);
}

.main-swiper > .swiper-scrollbar .swiper-scrollbar-drag {
  background: var(--gold);
}

/* —— category banners (nested horizontal) —— */
.cat-banners-swiper {
  height: 100%;
  width: 100%;
}

.cat-banners-swiper .swiper-slide {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.cat-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-titles {
    position: absolute;
        padding: 10px !important;
    right: 0;
    text-align: center;
    width: 100%;
    bottom: 0;
    background: #c9c3b7;
    left: 0;
    color: #1c1c1c;
    /* text-shadow: 0 2px 12px rgba(0, 0, 0, .45); */
    z-index: 2;
}

.cat-titles h3 {
  font-weight: 400;
  line-height: 1.25;
}

.cat-titles .en {
     font-size: 15px;
    letter-spacing: 0.08em;
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: 300;
}

.cat-titles .fa {
font-size: 15px;
    margin-top: 4px;
    border-bottom: 1px solid black;
    font-weight: 300;
}

.cat-banners-swiper .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45), transparent 45%);
  pointer-events: none;
}

.category-grid-wrap {
  height: 100%;
  width: 100%;
  background: #f4f4f4;
  padding: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    height: 100%;
    margin-left: 25% !important;
    width: 50%;
    padding: 30px !important;
    gap: 2px;
}

.category-tile {
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.category-tile:hover img { transform: scale(1.05); }

.category-tile h2 {
position: absolute;
    right: 0;
    bottom: 0px;
    width: 100%;
    padding: 10px !important;
    text-align: center;
    /* height: 33px; */
    background: #c9c3b7;
    color: #191919;
    font-size: 16px;
    font-weight: 500;
    z-index: 2;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.4), transparent 50%);
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
        width: 100%;
            margin-left: 0 !important;
    padding: 0px !important;
  }
  
    body.zhest-home #main {
    margin-top: -85px !important;
    
}
}

/* —— store slide —— */
.store-slide .slide-title-box span {
  background: rgba(20,22,28,.45);
  padding: 8px 18px;
  font-size: 18px;
}

/* —— rest of page (white, inner scroll) —— */
.rest-of-page {
  background: #fff !important;
}

.scrollable {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  color: var(--text);
  overscroll-behavior: contain;
}

/* Homepage: footer fills the whole slide like Corum */
body.zhest-home .rest-of-page {
  background: #eeeeee !important;
}

body.zhest-home .rest-of-page .scrollable {
  background: #eeeeee;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

body.zhest-home .rest-of-page .site-footer {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  height: 100%;
}

body.zhest-home .rest-of-page .site-footer .footer-main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  width: 100%;
  padding: calc(var(--notify-h) + var(--header-h) + 28px) 0px 36px;
}

body.zhest-home .rest-of-page .site-footer .footer-main > .container {
  width: 100%;
}

body.zhest-home .rest-of-page .site-footer .footer-copy-bar {
  flex: 0 0 auto;
  margin-top: auto;
}

@media (max-width: 575px) {
  body.zhest-home .rest-of-page .site-footer .footer-main {
    align-items: flex-start;
    padding: calc(var(--notify-h) + var(--header-h) + 20px) 18px 28px;
  }
}

.about {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--notify-h) + var(--header-h) + 48px) 28px 56px;
}

.about h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
}

.about p {
  font-size: 14px;
  margin-bottom: 14px;
  color: #333;
}

.about .lead {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-2);
}

/* —— footer (Corum-like) —— */
.site-footer,
.site-footer * {
  font-family: "IRANYekanX", Tahoma, sans-serif;
  box-sizing: border-box;
}

.site-footer {
  background: #eeeeee;
  color: #333;
  direction: rtl;
  text-align: right;
  width: 100%;
  margin: 0;
  padding: 0;
}

.site-footer .footer-main {
  padding: 52px 24px 40px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 40px;
  max-width: 1260px;
  margin: 0 auto;
  align-items: start;
}

.site-footer .footer-heading {
  color: #222;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 18px;
  padding: 0 0 10px;
  position: relative;
  display: inline-block;
  letter-spacing: 0;
}

.site-footer .footer-heading::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42px;
  height: 1px;
  background: #555;
}

.site-footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .footer-links li {
  margin: 0 0 10px;
  padding: 0;
  line-height: 1.7;
}

.site-footer .footer-links a {
  color: #444;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer .footer-links a:hover {
  color: #111;
}

.site-footer .footer-col-newsletter {
  text-align: right;
}

.site-footer .footer-col-newsletter .footer-heading {
  display: inline-block;
}

.site-footer .footer-newsletter-desc {
  color: #555;
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 22px;
  padding: 0;
}

.site-footer .footer-newsletter-form {
  max-width: 230px;
  margin: 0;
}

.site-footer .footer-newsletter-input {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #333;
  background: transparent;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  padding: 8px 4px 10px;
  margin: 0 0 16px;
  font-size: 13px;
  color: #333;
  text-align: right;
}

.site-footer .footer-newsletter-input::placeholder {
  color: #888;
  font-size: 12px;
}

.site-footer .footer-newsletter-btn {
  display: block;
  width: 100%;
  background: #3a3a3a;
  color: #fff;
  border: 0;
  border-radius: 0;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease;
}

.site-footer .footer-newsletter-btn:hover {
  background: #222;
}

.site-footer .footer-col-brand {
  text-align: center;
}

.site-footer .footer-logo {
  display: inline-block;
  margin: 0 0 18px;
  padding: 0;
  text-decoration: none;
  color: inherit;
}

.site-footer .footer-logo img {
  max-width: 160px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.site-footer .footer-logo-text {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #222;
}

.site-footer .footer-namads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding: 0;
}

.site-footer .footer-namads img,
.site-footer .footer-namads a img,
.site-footer #namads img {
  max-height: 90px;
  width: auto;
  max-width: 110px;
  display: inline-block;
}

.site-footer .footer-social-title {
  color: #555;
  font-size: 12px;
  margin: 0 0 12px;
  padding: 0;
  line-height: 1.7;
}

.site-footer .footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-footer .footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9a9a9a;
  background: #f7f7f7;
  font-size: 14px;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}

.site-footer .footer-social a:hover {
  color: #444;
  border-color: #999;
}

.site-footer .footer-social-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: grayscale(1) opacity(.7);
}

.site-footer .footer-copy-bar {
  background: #bdbdbd;
  padding: 14px 16px;
  margin: 0;
}

.site-footer .footer-copy {
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 12px;
  color: #333;
  line-height: 1.6;
}

.footer-whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  text-decoration: none;
}

.footer-whatsapp-fab:hover {
  color: #fff;
  background: #1ebe57;
}

@media (max-width: 991px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}
@media (min-width: 975px) {
.fix-botm-menu{
    display: none !important;
  }
}
@media (max-width: 575px) {
  .site-footer .footer-main {
    padding: 36px 18px 28px;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer .footer-col-menu,
  .site-footer .footer-col-newsletter,
  .site-footer .footer-col-brand {
    text-align: center;
  }

  .site-footer .footer-heading {
    display: block;
  }

  .site-footer .footer-heading::after {
    right: 50%;
    transform: translateX(50%);
  }

  .site-footer .footer-newsletter-form {
    margin: 0 auto;
  }

  .site-footer .footer-newsletter-input {
    text-align: center;
  }

  .footer-whatsapp-fab {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}

body.is-locked { overflow: hidden; }

.store-slide picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.main-swiper .swiper-slide-shadow,
.main-swiper .swiper-slide-shadow-top,
.main-swiper .swiper-slide-shadow-bottom {
  background: rgba(0,0,0,.35);
}

.cat-banners-swiper a.swiper-slide {
  display: block;
}

html {
  scroll-behavior: smooth;
}

/* Laravel layout shell on homepage */
body.zhest-home #main {
  margin-top: -70px ;
  padding: 0;
  min-height: 100dvh;
}

/* Keep internal-page header look; do not override dreamit nav here */
body.zhest-home .dreamit_nav_manu,
body.zhest-home .header-responsive {
  background: transparent !important;
  margin-bottom: 0 !important;
  z-index: 200;
  position: relative;
}
