﻿/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  --blue:       #00A3E0;
  --blue-dark:  #0090c7;
  --blue-darker:#007aab;
  --blue-deep:  #003f59;
  --blue-light: #b3e4f8;
  --blue-xlight:#e6f6fd;
  --white:      #fff;
  --gray-bg:    #f0f0f1;
  --gray-border:#e0e0e2;
  --gray-text:  #424242;
  --dark:       #232933;
  --red:        #e53e3e;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 1px rgba(0,0,0,.14), 0 2px 4px rgba(0,0,0,.08);
  --shadow:     0 1px 1px rgba(0,0,0,.14), 0 4px 8px rgba(0,0,0,.18);
  --shimano-blue: #0099dc;
  --shimano-green: #6fbd16;
  --shimano-darkblue : #002891;
}

.p-20 {
    padding: 20px !important;
    @media (max-width: 576px) {
        padding: 5px !important
    }
}
.pb-30 {
    padding-bottom: 30px !important;

    @media (max-width: 576px) {
        padding-bottom: 10px !important
    }
}
.mt--5 {margin-top: -5px !important }
.mirror {
    transform: scaleX(-1)
}

@font-face {
    font-family: "Yekan";
    src: url("/assets/fonts/B_Yekan.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
}
.yekan {
    font-family: 'Yekan', serif;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("/assets/Fonts/Vazirmatn-Medium.ttf") format('truetype');
    font-weight: 500;
    font-style: normal;
}
.vazir {
    font-family: 'Vazirmatn', serif;
}

/* Taraz Styles */
.taraz-border {
    border: 3px solid #0099dc !important;
    box-shadow: 5px 5px 5px #008aff42 !important;
    border-radius: 20px !important;
}

.taraz-border-left {
    border: 3px solid #0099dc !important;
    box-shadow: -5px 5px 5px #008aff42 !important;
    border-radius: 20px !important;
}

.taraz-border-green {
    border: 3px solid #6fbd16 !important;
    box-shadow: 5px 5px 5px #00f3ff42 !important;
    border-radius: 20px !important;
}

.taraz-border-green-dull {
    border: 3px solid #799955 !important;
    box-shadow: 5px 5px 5px #8aa9ab42 !important;
    border-radius: 20px !important;
}

.taraz-border-green-dark {
    border: 3px solid #003e01 !important;
    box-shadow: 5px 5px 5px #144a0042 !important;
    border-radius: 20px !important;
}

.taraz-border-darkblue {
    border: 3px solid #002891 !important;
    box-shadow: 5px 5px 5px #a300ff42 !important;
    border-radius: 20px !important;
}

.taraz-background-old {
    background: white;
    background: linear-gradient(180deg,rgba(111, 189, 22, 0.2) 0%, rgba(0, 153, 220, 0.2) 50%, rgba(0, 40, 145, 0.2) 100%) !important;
}

.taraz-background {
    background: midnightblue;
    background: linear-gradient(180deg, rgb(0 20 53) 0%, rgb(0 48 70) 50%, rgb(0 23 84) 100%) !important;
}

.taraz-background-med {
    background: midnightblue;
    background: linear-gradient(180deg, rgba(0, 20, 53, 0.64) 0%, rgba(0, 48, 70, 0.57) 50%, rgba(0, 44, 160, 0.64) 100%) !important;
}

.taraz-background-light {
    background: midnightblue;
    background: linear-gradient(180deg, rgba(0, 20, 53, 0.03) 0%, rgba(0, 48, 70, 0.31) 50%, rgba(0, 44, 160, 0.27) 100%) !important;
}

/*  Shooting Star Effect  */ 
/*.taraz-border, .taraz-border-left, .taraz-border-green, .taraz-border-darkblue {
    position: relative;
}
    
    .taraz-border::after, .taraz-border-left::after, .taraz-border-green::after, .taraz-border-darkblue::after {
        content: "";
        position: absolute;
        width: 45px;
        height: 3px; 
        top: -3px;
        left: -3px;
        border-radius: 999px;
        background: linear-gradient( 90deg, transparent, #002891 15%, #0099dc 40%, #ffffff 50%, #6fbd16 65%, #0099dc 85%, transparent );
        box-shadow: 0 0 4px #0099dc, 0 0 8px #0099dc, 0 0 14px #6fbd16;
        pointer-events: none;
        z-index: 10; 
        offset-path: inset(0 round 20px);
        offset-distance: 0%;
        animation: taraz-shooting-star 4s linear infinite;
    }

@keyframes taraz-shooting-star {
    from {
        offset-distance: 0%;
    }

    to {
        offset-distance: 100%;
    }
}*/

/* ============================================================
   3. RESET & BASE  (Rayan: html font-size 10px, line-height 2)
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  direction: rtl;
  font-size: 10px;          /* 1rem = 10px — mirrors Rayan exactly */
  scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    direction: rtl;
    background-color: #5c738c29;
    color: var(--dark);
    overflow-x: hidden;
    padding-bottom: 54px; /* Rayan: show-bottom-nav adds 54px */
    font-size: 1.4rem; /* 14px */
    line-height: 2;
}

a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transition: all .2s ease-in-out;
}

a:hover, a:focus, a:active {
  outline: none;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ============================================================
   3. CONTAINER  (Rayan breakpoints: 768 / 992 / 1070 / 1281px)
   ============================================================ */
.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

@media (min-width: 576px)  { .container { max-width: 768px; } }
@media (min-width: 768px)  { .container { max-width: 992px; } }
@media (min-width: 992px)  { .container { max-width: 1070px; } }
@media (min-width: 1200px) { .container { max-width: 1281px; } }

/* ============================================================
   4. SCROLLBAR HIDE UTILITY
   ============================================================ */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ============================================================
   9. MAIN CONTAINER  (Rayan: margin-top/bottom 20px)
   ============================================================ */
.main-container {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Rayan mobile: widgets not in amazing/special are transparent bg */
@media (max-width: 991px) {
  .main-container .widget:not(.ads-widget):not(.promo-banner) {
    background: transparent;
  }
  /* banner widgets go edge-to-edge */
  .main-container .ads-widget,
  .main-container .promo-banner {
    border-radius: 0;
    margin-left: -15px;
    margin-right: -15px;
  }
}

/* ============================================================
   PRIVACY / ERROR pages
   ============================================================ */
.simple-page { padding: 24px 0 40px; }
.simple-page h1 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.simple-page p { font-size: 1.4rem; color: var(--gray-text); line-height: 2; margin-bottom: 12px; }

/* ============================================================
   GENERAL POLISH
   ============================================================ */

/* Smooth page transitions */
main { animation: fadeInPage .25s ease both; }
@keyframes fadeInPage { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Focus ring — accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Selection colour */
::selection { background: var(--blue-light); color: var(--dark); }

/* Prevent double tap zoom on buttons */
button, a { touch-action: manipulation; }

/* Horizontal scroll snap on sliders */
.products-slider {
  scroll-snap-type: x mandatory;
}
.products-slider .slider-item {
  scroll-snap-align: start;
}

.hrimg {
    margin-right: 2.5%;
    width: 95%;
}

/* ============================================================
   16. BRANDS SCROLL
   ============================================================ */
.brands-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 0px 16px;
    margin-top: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* fade hint on left edge */
    -webkit-mask-image: linear-gradient(to right, transparent 2px, #000 40px);
    mask-image: linear-gradient(to right, transparent 2px, #000 40px);

    @media (max-width: 768px) {
        -ms-overflow-style: none;
        scrollbar-width: none;
        margin-right: -8px;
        margin-left: -8px;
        gap: 8px;
    }
}

    .brands-scroll::-webkit-scrollbar {
        height: 6px;
    }

    .brands-scroll::-webkit-scrollbar-track {
        background: transparent;
    }

    .brands-scroll::-webkit-scrollbar-thumb {
        background: var(--blue);
        border-radius: 4px;
    }

.brand-item {
    flex-shrink: 0;
    scroll-snap-align: start;
}

/* Brands */
.brand-logo {
    min-width: 100px;
    height: 64px;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    transition: all .2s;
}

    .brand-logo strong {
        font-size: 1.3rem;
        font-weight: 800;
        white-space: nowrap;
    }

.brand-item:hover .brand-logo {
    border-color: var(--blue);
    box-shadow: 0 1px 5px rgba(0,0,0,.1);
}

.brand-link {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    text-decoration: none;
    border-width: 2px;
    border-radius: 16px;
    gap: 8px;
    min-width: 100px;
    scroll-snap-align: start;
    transition: transform .2s,box-shadow .2s;
}

.brand-i {
    font-size: 2.4rem;
    color: var(--blue);
}

.brand-name-1 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

.no-padding-no-overflow{
    padding: 0 !important;
    overflow: hidden;
}

/* Price Stuff */

.price {
    padding: 6px 8px 10px;
    font-size: 1.2rem;
    font-family: 'Yekan', serif;
}

    .price .discount {
        background: #c61919;
        color: var(--white);
        font-size: 15px;
        font-weight: bold;
        padding: 0px 4px;
        border-radius: var(--radius);
        display: inline-block;
    }

    .price del {
        color: #000;
        font-size: 1rem;
        display: block;
        margin-bottom: 2px;
    }

    .price ins {
        text-decoration: none;
        display: block;
        text-align: center;
    }

    .price .amount {
        font-size: 16px;
        font-weight: bold;
        color: #040082;

        @media (min-width: 768px) {
            font-size: 18px;
        }
    }

    .price ins .amount {
        /*        font-size: 17px;*/
        color: #040082;
    }

.amount-old {
    font-size: 16px;
    color: #525252 !important;
/*    text-decoration: line-through darkred;*/
    font-weight: bold;
    display: inline-block;
    position: relative;

    @media (max-width: 992px) {
        font-size: 15px;
    }

    @media (max-width: 768px) {
        font-size: 14px;
    }

    @media (max-width: 576px) {
        font-size: 13px;
    }

    @media (max-width: 375px) {
        font-size: 12px;
    }
}

    .amount-old::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        margin-top: 1px;
        height: 1.5px;
        background: darkred;
        opacity: 0.65;
        pointer-events: none;

        @media (max-width: 768px) {
            margin-top: 0px;
        }

        @media (max-width: 576px) {
            margin-top: -1px;
        }

        @media (max-width: 375px) {
            margin-top: -3px;
        }
    }


.amount-old-2 {
    font-size: 14px !important;
    color: #525252 !important;
    text-decoration: line-through darkred;
}

.product-badge-right {
    position: absolute;
    top: 4px;
    right: 10px;
    z-index: 3;
    text-align: center;
}

    .product-badge-right span {
        background-color: orangered;
        color: var(--white);
        font-size: 1.05rem;
        font-weight: 700;
        padding: 2px 7px;
        border-radius: 5px;
        z-index: 2;
    }

.expensive-price {
    display: flex !important;
    justify-content: space-evenly;
}

.toman {
    height: 1em;
    display: inline;
    margin-right: 2px;
    margin-left: 2px;
    vertical-align: middle;
}

.nodiscount {
    margin-top: 1em;
    text-align: center;
}


/* contact use page */
.contact-box {
    background: #f0f0f1;
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
}
    .contact-box i {
        font-size: 2rem;
        color: var(--blue);
        margin-bottom: 8px;
        display: block;
    }
    .contact-box span {
        font-size: 1.2rem;
        color: var(--gray-text);
    }
.contact-p {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}
    .contact-p a {
        color: var(--dark);
        text-decoration: none;
    }

    /* scroll bar blue PLS DO NOT DELETE :( */

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #0099dc;
    border-radius: 8px;
    border: 2px solid #f1f5f9;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #007bb5;
    }

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #0099dc #f1f5f9;
}

.hide-on-phone{
    @media (max-width: 575px)
    {
        display: none;
    }
}
.hide-on-pc {
    @media (min-width: 574.999px) {
        display: none;
    }
}
.h2-user-areas {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}
.no-brdr-rad{
    border-radius: 0px !important;
}
.no-brdr-rad-mob {
    @media (max-width: 1080px) {
        border-radius: 0px !important;
    }
}
.no-brdr-x-mob {
    @media (max-width: 1080px) {
        border-left: none;
        border-right: none;
    }
}
/*About Sarokhan*/
.taraz-about-card {
    background: #fff;
    padding: 40px;
    text-align: center;
    margin-top: 15px;
}

.about-hero-image {
    margin-bottom: 35px;
}

    .about-hero-image img {
        width: 100%;
        max-width: 850px;
        border-radius: 18px;
        display: block;
        margin: auto;
    }

.about-content {
    max-width: 900px;
    margin: auto;
}

    .about-content h2 {
        font-size: 2.2rem;
        color: #002891;
        margin-bottom: 30px;
        font-weight: 700;
    }

    .about-content p {
        font-size: 1.5rem;
        line-height: 2.2;
        color: #333;
        margin-bottom: 20px;
        text-align: center;
    }

.about-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 25px;
}

    .about-gallery figure {
        margin: 0;
        background: #fff;
        overflow: hidden;
        transition: .25s;
    }

        .about-gallery figure:hover {
            transform: translateY(-6px);
        }

    .about-gallery img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        display: block;
    }

    .about-gallery figcaption {
        padding: 15px;
        text-align: center;
        font-weight: 600;
        color: #555;
    }

@media (max-width:768px) {

    .taraz-about-card {
        padding: 20px;
    }

    .about-content h2 {
        font-size: 1.7rem;
    }

    .about-content p {
        font-size: 1rem;
        line-height: 2;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }
}
/*Search stuff*/
.taraz-search-card {
    background: #fff;
    padding: 30px;
}

.taraz-search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 22px;
}

.taraz-field {
    display: flex;
    flex-direction: column;
}

    .taraz-field label {
        font-weight: 700;
        color: #002891;
        margin-bottom: 8px;
    }

.taraz-input {
    width: 100%;
    height: 48px;
    border: 2px solid #0099dc;
    border-radius: 14px;
    background: #fff;
    color: #222;
    padding: 0 14px;
    transition: .2s;
}

    .taraz-input:focus {
        border-color: #6fbd16;
        box-shadow: 0 0 0 4px rgba(111,189,22,.15);
        outline: none;
    }

.taraz-search-submit {
    grid-column: 1/-1;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

    .taraz-search-submit .auth-btn-primary {
        min-width: 260px;
    }

@media(max-width:768px) {

    .taraz-search-card {
        padding: 18px;
    }

    .taraz-search-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .taraz-search-submit .auth-btn-primary {
        width: 100%;
    }
}

.nostock {
    margin-top: 1em;
    text-align: center;
    color: dimgray !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.brands-scroll.auto-scroll {
    overflow: hidden !important;
    scrollbar-width: none;
}

    .brands-scroll.auto-scroll::-webkit-scrollbar {
        display: none;
    }

    .brands-scroll.auto-scroll .brand-track {
        display: flex;
        gap: 18px;
        width: max-content;
        animation: brandsScroll 25s linear infinite;
        will-change: transform;
    }

    .brands-scroll.auto-scroll:hover .brand-track {
        animation-play-state: paused;
    }

@keyframes brandsScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}
.about-video-wrap video {
    width: 100%;
    display: block;
    border-radius: var(--radius);
}

.about-founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.about-founder-card {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}

    .about-founder-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0,0,0,.1);
    }

.founder-role {
    font-size: 1.6rem;
    font-weight: 700;
    color: #002891;
    margin-bottom: 8px;
}

.founder-desc {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .about-founders-grid {
        grid-template-columns: 1fr;
    }

    .founder-role {
        font-size: 1.4rem;
    }

    .founder-desc {
        font-size: 1.1rem;
    }
}

.about-gallery-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .about-gallery-large {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .about-gallery-large {
        grid-template-columns: 1fr;
    }
}