body {
    font-family: 'IranYekan', 'Vazirmatn', sans-serif !important;
}

hr{
    color: #c4c4c4;
}

h1{
    font-size: 20px;
}

h3{
    font-size: 16px;
}

span{
    font-size: 14px;
}

a{
  font-size: 14px;
}

p{
    font-size: 14px;
}

h6{
  font-size: 0.67em
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 8%;
  border-bottom-right-radius: 8%;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-icon {
    position: absolute;
    top: 10px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    background-color: rgba(82, 82, 82, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}


.icon-right {
  right: 10px;
}

.icon-left {
  left: 10px;
}

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.slider-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.slider-dots .active {
  background-color: #ffffff;
}

.fixed-flex-box {
    position: fixed;
    bottom: calc(75px + env(safe-area-inset-bottom, 0px)); /* بالای navigation bar + safe area */
    left: 16px;
    right: 16px;
    z-index: 1060; /* بالاتر از navigation bar */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(72, 72, 72, 0.97);
    backdrop-filter: blur(15px) saturate(180%); /* مات و اشباع رنگ بیشتر */
    -webkit-backdrop-filter: blur(15px) saturate(180%); /* برای Safari */
    border-radius: 16px; /* گوشه‌های گردتر و مدرن‌تر */
    color: #ffffff;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset; /* سایه عمیق‌تر و برجسته‌تر */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* انیمیشن نرم */
    max-width: calc(100% - 32px); /* جلوگیری از لبه‌های خیلی نزدیک */
}

/* برای گوشی‌های کوچک‌تر */
@media (max-width: 360px) {
    .fixed-flex-box {
        left: 12px;
        right: 12px;
        max-width: calc(100% - 24px);
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* انیمیشن hover (اگر نیاز بود) */
.fixed-flex-box:active {
    transform: scale(0.98);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* بخش قیمت و تخفیف */
.fixed-flex-box-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.fixed-flex-box-badge {
    display: inline-block;
    background: #c62828;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.fixed-flex-box-price-line {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
}

.fixed-flex-box-price-prefix,
.fixed-flex-box-price-suffix {
    color: rgba(255, 255, 255, 0.92);
}

.fixed-flex-box-price-amount {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #ffffff;
}

/* دکمه رزرو */
.fixed-flex-box-btn {
    flex-shrink: 0;
    min-width: 0;
    max-width: 52%;
    padding: 12px 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0;
    line-height: 1.3;
    color: #1a1a1a !important;
    background: #f5c518 !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    transition: transform 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.fixed-flex-box-btn:active {
    transform: scale(0.97);
    background: #e6b800 !important;
}


.black-outline-border{
  color: #343434;
  padding: 3px;
  border: 1px solid #343434;
  border-radius: 6px;
  font-size: 14px;
  background-color: transparent;
  transition: all 0.2s ease;
  display: inline-block;
}

/* Search Box Styles */
.search-container {
    z-index: 100 !important;
    width: 100% !important;
}

.search-form {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    max-width: 100% !important;
}

.search-input-wrapper {
    flex: 1 !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    border: 2px solid #e0e0e0 !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    height: 40px !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
}

.search-input-wrapper:focus-within {
    border-color: #D39D1A !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(211, 157, 26, 0.2) !important;
}

.search-input {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    color: #333 !important;
    outline: none !important;
    font-family: inherit !important;
    height: 100% !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.search-input::placeholder {
    color: #999 !important;
    font-size: 14px !important;
}

.search-button {
    background: #D39D1A !important;
    border: none !important;
    color: white !important;
    padding: 0 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 4px rgba(211, 157, 26, 0.3) !important;
}

.search-button:hover {
    background: #B8860B !important;
    box-shadow: 0 3px 6px rgba(211, 157, 26, 0.4) !important;
    transform: translateY(-1px) !important;
}

.search-button:active {
    background: #996f0a !important;
    transform: translateY(0) !important;
    box-shadow: 0 1px 2px rgba(211, 157, 26, 0.3) !important;
}

.search-button i {
    font-size: 16px !important;
    line-height: 1 !important;
    color: white !important;
}

/* Mobile responsive improvements */
@media (max-width: 576px) {
    .search-container {
        padding: 10px 12px !important;
    }
    
    .search-form {
        gap: 8px !important;
    }
    
    .search-input-wrapper {
        height: 38px !important;
        border-radius: 8px !important;
        border-width: 1.5px !important;
    }
    
    .search-input {
        padding: 0 12px !important;
        font-size: 13px !important;
    }
    
    .search-input::placeholder {
        font-size: 12px !important;
    }
    
    .search-button {
        min-width: 38px !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 8px !important;
    }
    
    .search-button i {
        font-size: 14px !important;
    }
}