/* Yaddak Dokan Suite — public vendor storefront */
body .dokan-store-wrap {
    direction: rtl;
    width: 100%;
    gap: 22px;
    color: var(--yd-ink);
    font-family: "IRANSans", "IRANSansWeb", Tahoma, Arial, sans-serif;
}

body .dokan-store-wrap *,
body .dokan-store-wrap *::before,
body .dokan-store-wrap *::after { box-sizing: border-box; }

body .dokan-store-wrap .dokan-store-sidebar,
body .dokan-store-wrap .dokan-single-store { min-width: 0; }

body .dokan-store-wrap .dokan-store-sidebar {
    width: 280px !important;
}

body .dokan-store-wrap .dokan-single-store {
    width: calc(100% - 302px) !important;
}

body .dokan-store-wrap .dokan-widget-area .widget {
    overflow: hidden;
    margin: 0 0 14px !important;
    padding: 16px !important;
    border: 1px solid var(--yd-border) !important;
    border-radius: var(--yd-radius) !important;
    background: var(--yd-surface) !important;
    box-shadow: 0 7px 22px rgba(17,17,17,.04);
}

body .dokan-store-wrap .dokan-widget-area .widget-title {
    margin: 0 0 13px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid var(--yd-border) !important;
    color: var(--yd-ink) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.6;
}

body .dokan-store-wrap .dokan-store-contact ul,
body .dokan-store-wrap .dokan-store-contact li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
body .dokan-store-wrap .dokan-store-contact li + li { margin-top: 8px !important; }

body .dokan-store-wrap .dokan-form-control,
body .dokan-store-wrap input[type="text"],
body .dokan-store-wrap input[type="email"],
body .dokan-store-wrap textarea,
body .dokan-store-wrap select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #dcdcd8 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--yd-ink) !important;
    font-family: inherit !important;
    font-size: 12px !important;
    box-shadow: none !important;
}

body .dokan-store-wrap textarea { min-height: 105px; resize: vertical; }
body .dokan-store-wrap .dokan-form-control:focus,
body .dokan-store-wrap input:focus,
body .dokan-store-wrap textarea:focus,
body .dokan-store-wrap select:focus {
    border-color: #b99b00 !important;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(246,201,0,.16) !important;
}

body .dokan-store-wrap .dokan-btn,
body .dokan-store-wrap .dokan-btn-theme,
body .dokan-store-wrap input[type="submit"] {
    min-height: 41px;
    padding: 8px 15px !important;
    border: 1px solid var(--yd-ink) !important;
    border-radius: 10px !important;
    background: var(--yd-ink) !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
    cursor: pointer;
}

body .dokan-store-wrap .dokan-btn:hover,
body .dokan-store-wrap .dokan-btn-theme:hover,
body .dokan-store-wrap input[type="submit"]:hover { background: #272727 !important; }

/* Store hero */
body .dokan-store-wrap .dokan-profile-frame-wrapper {
    margin-bottom: 15px;
}

body .dokan-store-wrap .profile-frame {
    overflow: hidden;
    border: 1px solid var(--yd-border);
    border-radius: 20px;
    background: var(--yd-ink);
    box-shadow: 0 10px 30px rgba(17,17,17,.07);
}

body .dokan-store-wrap .profile-info-box {
    position: relative;
    min-height: var(--yd-store-banner);
    overflow: hidden;
}

body .dokan-store-wrap .profile-info-img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.92) contrast(1.02);
}

body .dokan-store-wrap .profile-info-box::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(17,17,17,.18) 0%, rgba(17,17,17,.46) 52%, rgba(17,17,17,.88) 100%);
    pointer-events: none;
}

body .dokan-store-wrap .profile-info-summery-wrapper {
    position: relative !important;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    min-height: var(--yd-store-banner);
    padding: 26px !important;
    background: transparent !important;
}

body .dokan-store-wrap .profile-info-summery {
    width: min(100%, 600px) !important;
    padding: 0 !important;
    background: transparent !important;
}

body .dokan-store-wrap .profile-info-head {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 13px;
}

body .dokan-store-wrap .profile-img,
body .dokan-store-wrap .profile-img-circle {
    width: 72px !important;
    height: 72px !important;
    flex: 0 0 72px;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,.92) !important;
    border-radius: 18px !important;
    background: #fff;
    box-shadow: 0 7px 20px rgba(0,0,0,.18);
}

body .dokan-store-wrap .profile-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

body .dokan-store-wrap h1.store-name {
    margin: 0 !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: clamp(23px, 2.5vw, 34px) !important;
    font-weight: 900 !important;
    line-height: 1.45 !important;
    text-shadow: 0 1px 12px rgba(0,0,0,.26);
}

body .dokan-store-wrap .profile-info,
body .dokan-store-wrap .dokan-store-info,
body .dokan-store-wrap .dokan-store-info li,
body .dokan-store-wrap .dokan-store-info a {
    color: rgba(255,255,255,.9) !important;
}

body .dokan-store-wrap .dokan-store-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

body .dokan-store-wrap .dokan-store-info li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.7;
}

body .dokan-store-wrap .dokan-store-info li i { color: var(--yd-primary) !important; }

/* Tabs */
body .dokan-store-wrap .dokan-store-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 15px !important;
    padding: 8px 10px !important;
    border: 1px solid var(--yd-border) !important;
    border-radius: 14px !important;
    background: var(--yd-surface) !important;
    box-shadow: 0 5px 16px rgba(17,17,17,.035);
}

body .dokan-store-wrap .dokan-store-tabs ul {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body .dokan-store-wrap .dokan-store-tabs li { margin: 0 !important; border: 0 !important; }
body .dokan-store-wrap .dokan-store-tabs li a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 12px !important;
    border: 0 !important;
    border-radius: 9px;
    color: #424242 !important;
    font-size: 11px !important;
    font-weight: 700;
    text-decoration: none !important;
}
body .dokan-store-wrap .dokan-store-tabs li.active a,
body .dokan-store-wrap .dokan-store-tabs li a:hover {
    background: #fff7cb !important;
    color: var(--yd-ink) !important;
}

/* Search/filter */
body .dokan-store-wrap .dokan-store-products-filter-area {
    margin: 0 0 16px !important;
    padding: 12px !important;
    border: 1px solid var(--yd-border);
    border-radius: 14px;
    background: #fbfbf9;
}

body .dokan-store-wrap .dokan-store-products-ordeby {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(160px,220px);
    gap: 8px;
    align-items: center;
}

body .dokan-store-wrap .dokan-store-products-filter-search { margin: 0 !important; }
body .dokan-store-wrap .search-store-products { min-width: 74px; }
body .dokan-store-wrap .orderby-search { margin: 0 !important; }

body .dokan-store-wrap .dokan-info {
    margin: 14px 0 !important;
    padding: 18px !important;
    border: 1px dashed #d8d8d2 !important;
    border-radius: 14px !important;
    background: #fbfbf8 !important;
    color: var(--yd-muted) !important;
    font-size: 12px !important;
    text-align: center;
}

@media (max-width: 1024px) {
    body .dokan-store-wrap .dokan-store-sidebar { width: 250px !important; }
    body .dokan-store-wrap .dokan-single-store { width: calc(100% - 272px) !important; }
}

@media (max-width: 820px) {
    body .dokan-store-wrap { display: flex !important; flex-direction: column; gap: 14px; }
    body .dokan-store-wrap .dokan-store-sidebar,
    body .dokan-store-wrap .dokan-single-store { width: 100% !important; float: none !important; }
    body .dokan-store-wrap .dokan-single-store { order: 1; }
    body .dokan-store-wrap .dokan-store-sidebar { order: 2; }
    body .dokan-store-wrap .profile-info-summery-wrapper { min-height: 230px; padding: 18px !important; }
    body .dokan-store-wrap .profile-info-box { min-height: 230px; }
    body .dokan-store-wrap .dokan-store-products-ordeby { grid-template-columns: 1fr auto; }
    body .dokan-store-wrap .orderby-search { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
    body .dokan-store-wrap .profile-frame { border-radius: 15px; }
    body .dokan-store-wrap .profile-info-summery-wrapper { min-height: 210px; padding: 15px !important; }
    body .dokan-store-wrap .profile-info-box { min-height: 210px; }
    body .dokan-store-wrap .profile-img,
    body .dokan-store-wrap .profile-img-circle { width: 58px !important; height: 58px !important; flex-basis: 58px; border-radius: 14px !important; }
    body .dokan-store-wrap h1.store-name { font-size: 23px !important; }
    body .dokan-store-wrap .dokan-store-tabs { overflow-x: auto; scrollbar-width: none; }
    body .dokan-store-wrap .dokan-store-tabs::-webkit-scrollbar { display:none; }
    body .dokan-store-wrap .dokan-store-tabs ul { flex-shrink: 0; }
    body .dokan-store-wrap .dokan-store-products-ordeby { grid-template-columns: 1fr; }
    body .dokan-store-wrap .search-store-products,
    body .dokan-store-wrap .orderby-search { width: 100% !important; grid-column: auto; }
}

/* =========================================================
   Yaddak vendor directory — Dokan store listing
========================================================= */
body.yaddak-dokan-store-listing-page {
    background: #f6f6f3;
    color: var(--yd-ink);
    font-family: var(--yd-font) !important;
}

body.yaddak-dokan-store-listing-page :where(
    #dokan-store-listing-filter-wrap,
    #dokan-store-listing-filter-form-wrap,
    #dokan-seller-listing-wrap,
    button,input,select,label,a,p,span,div,li,h1,h2,h3
) {
    font-family: var(--yd-font) !important;
    box-sizing: border-box;
}

/* Remove the blog sidebar from the Dokan vendor directory. */
body.yaddak-dokan-store-listing-page .wd-content-layout.content-layout-wrapper {
    display: block !important;
    width: min(1320px, calc(100% - 34px)) !important;
    max-width: 1320px !important;
    margin-inline: auto !important;
    padding-top: 28px;
    padding-bottom: 48px;
}

body.yaddak-dokan-store-listing-page .wd-content-area.site-content {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    --wd-col-lg: 12 !important;
}

body.yaddak-dokan-store-listing-page .wd-sidebar.sidebar-container {
    display: none !important;
}

body.yaddak-dokan-store-listing-page article.entry-content {
    width: 100%;
    max-width: none;
}

.yd-store-directory-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    margin: 0 0 16px;
    padding: 27px 30px;
    border: 1px solid #242424;
    border-radius: 20px;
    background: #111;
    color: #fff;
    box-shadow: 0 12px 32px rgba(17,17,17,.08);
    direction: rtl;
}

.yd-store-directory-hero::before {
    content: "";
    position: absolute;
    inset-inline-end: -44px;
    top: -65px;
    width: 190px;
    height: 190px;
    border: 28px solid rgba(246,201,0,.09);
    border-radius: 50%;
    pointer-events: none;
}

.yd-store-directory-hero > div:first-child {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.yd-store-directory-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    margin-bottom: 10px;
    padding: 4px 9px;
    border: 1px solid rgba(246,201,0,.26);
    border-radius: 8px;
    background: rgba(246,201,0,.08);
    color: #ffe05a;
    font-size: 10px;
    font-weight: 800;
}

.yd-store-directory-hero h1 {
    margin: 0 0 7px !important;
    color: #fff !important;
    font-family: var(--yd-title-font) !important;
    font-size: clamp(25px, 3vw, 38px) !important;
    font-weight: 950 !important;
    line-height: 1.45 !important;
    letter-spacing: -.5px;
}

.yd-store-directory-hero p {
    max-width: 690px;
    margin: 0 !important;
    color: #bdbdb8 !important;
    font-size: 12px !important;
    line-height: 1.9 !important;
}

.yd-store-directory-hero__mark {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 18px;
    background: var(--yd-primary);
    color: #111;
}

.yd-store-directory-hero__mark b {
    font-size: 28px;
    font-weight: 950;
}

body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin: 0 0 14px !important;
    padding: 14px 16px !important;
    border: 1px solid var(--yd-border) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 7px 22px rgba(17,17,17,.035) !important;
    direction: rtl;
}

body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .left,
body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .right {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
}

body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .right {
    flex-wrap: wrap;
}

body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .store-count {
    margin: 0 !important;
    color: #62625d !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .sort-by {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 !important;
}

body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .sort-by label {
    color: #5f5f5a !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap select,
body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-form-wrap input[type="search"] {
    min-height: 42px !important;
    padding: 8px 11px !important;
    border: 1px solid #deded9 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #222 !important;
    font-size: 11px !important;
    box-shadow: none !important;
}

body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap select:focus,
body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-form-wrap input[type="search"]:focus {
    border-color: #b99b00 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(246,201,0,.16) !important;
}

body.yaddak-dokan-store-listing-page .dokan-store-list-filter-button,
body.yaddak-dokan-store-listing-page #apply-filter-btn,
body.yaddak-dokan-store-listing-page #cancel-filter-btn {
    min-height: 42px !important;
    padding: 8px 14px !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}

body.yaddak-dokan-store-listing-page .dokan-store-list-filter-button:hover,
body.yaddak-dokan-store-listing-page #apply-filter-btn:hover {
    border-color: var(--yd-primary) !important;
    background: var(--yd-primary) !important;
    color: #111 !important;
}

body.yaddak-dokan-store-listing-page #cancel-filter-btn {
    border-color: #deded9 !important;
    background: #fff !important;
    color: #333 !important;
}

body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .toggle-view {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .toggle-view span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 9px !important;
    color: #777 !important;
    cursor: pointer;
}

body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .toggle-view span.active {
    background: #fff4ae !important;
    color: #111 !important;
}

body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-form-wrap {
    margin: 0 0 16px !important;
    padding: 15px !important;
    border: 1px solid var(--yd-border) !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(17,17,17,.03) !important;
    direction: rtl;
}

body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-form-wrap .store-search {
    width: 100%;
    margin-bottom: 12px !important;
}

body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-form-wrap .store-search-input {
    width: 100% !important;
}

body.yaddak-dokan-store-listing-page .store-lists-other-filter-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    flex-wrap: wrap;
}

body.yaddak-dokan-store-listing-page .store-lists-other-filter-wrap .item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    color: #343434;
    font-size: 11px;
    font-weight: 700;
}

body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-form-wrap .apply-filter {
    display: flex;
    align-items: center;
    gap: 7px;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap {
    width: 100%;
    min-width: 0;
    direction: rtl;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .seller-listing-content {
    width: 100%;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap ul.dokan-seller-wrap {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap ul.dokan-seller-wrap::before,
body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap ul.dokan-seller-wrap::after,
body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .dokan-clearfix {
    display: none !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap ul.dokan-seller-wrap > li.dokan-single-seller {
    width: auto !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.yaddak-dokan-store-listing-page .yd-store-directory-card,
body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e1e1dc !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 9px 28px rgba(17,17,17,.055) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.yaddak-dokan-store-listing-page .yd-store-directory-card:hover,
body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-wrapper:hover {
    transform: translateY(-3px);
    border-color: #d5c35f !important;
    box-shadow: 0 14px 34px rgba(17,17,17,.085) !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-header,
body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-banner {
    aspect-ratio: 16 / 8.7;
    background: #ecece8;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17,17,17,.02) 35%, rgba(17,17,17,.58) 100%);
    pointer-events: none;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-banner a,
body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-banner img {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-banner img {
    object-fit: cover !important;
    transition: transform .35s ease;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-wrapper:hover .store-banner img {
    transform: scale(1.025);
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-content {
    min-height: 128px;
    padding: 44px 18px 12px !important;
    background: #fff !important;
    text-align: right !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-data-container,
body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-data {
    padding: 0 !important;
    background: transparent !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .featured-favourite {
    padding: 0 !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-data h2 {
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-family: var(--yd-title-font) !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.55 !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-data h2 a {
    color: #111 !important;
    text-shadow: none !important;
    text-decoration: none !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-data p,
body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-data p a {
    margin: 0 !important;
    color: #666660 !important;
    font-size: 11px !important;
    line-height: 1.8 !important;
    text-shadow: none !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-data p i {
    margin-inline-end: 5px;
    color: #a48a00 !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-footer {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-height: 58px;
    padding: 10px 18px 16px !important;
    border: 0 !important;
    background: #fff !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .seller-avatar {
    position: absolute !important;
    top: calc((100% * 0) + 183px) !important;
    right: 18px !important;
    z-index: 3;
    width: 66px !important;
    height: 66px !important;
    padding: 4px !important;
    border: 1px solid #e4e4df !important;
    border-radius: 17px !important;
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(17,17,17,.12) !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .seller-avatar a,
body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .seller-avatar img {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .seller-avatar img {
    border-radius: 13px !important;
    object-fit: cover !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-footer > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px;
    min-height: 40px;
    padding: 7px 12px !important;
    border: 1px solid #111 !important;
    border-radius: 10px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-footer > a:hover {
    border-color: var(--yd-primary) !important;
    background: var(--yd-primary) !important;
    color: #111 !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-footer > a .dashicons {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 17px !important;
    height: 17px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: 16px !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap.list-view ul.dokan-seller-wrap {
    grid-template-columns: 1fr !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap.list-view .store-wrapper {
    display: grid;
    grid-template-columns: minmax(260px, 34%) minmax(0, 1fr);
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap.list-view .store-header {
    grid-row: 1 / span 2;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap.list-view .store-content {
    padding-top: 24px !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap.list-view .seller-avatar {
    top: 18px !important;
    right: calc(34% + 18px) !important;
}

@media (max-width: 980px) {
    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap ul.dokan-seller-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yd-store-directory-hero {
        padding: 23px 24px;
    }
}

@media (max-width: 700px) {
    body.yaddak-dokan-store-listing-page .wd-content-layout.content-layout-wrapper {
        width: calc(100% - 20px) !important;
        padding-top: 14px;
        padding-bottom: 28px;
    }

    .yd-store-directory-hero {
        align-items: flex-start;
        padding: 19px;
        border-radius: 16px;
    }

    .yd-store-directory-hero__mark {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 13px;
    }

    .yd-store-directory-hero__mark b { font-size: 22px; }
    .yd-store-directory-hero h1 { font-size: 25px !important; }
    .yd-store-directory-hero p { font-size: 11px !important; }

    body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap {
        align-items: stretch !important;
        flex-direction: column !important;
        padding: 12px !important;
        border-radius: 14px !important;
    }

    body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .left,
    body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .right {
        width: 100%;
    }

    body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .right {
        display: grid !important;
        grid-template-columns: auto minmax(0,1fr) auto;
    }

    body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .sort-by {
        min-width: 0;
    }

    body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .sort-by label {
        display: none !important;
    }

    body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap select {
        width: 100% !important;
    }

    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap ul.dokan-seller-wrap {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-wrapper,
    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap.list-view .store-wrapper {
        display: block !important;
        border-radius: 16px !important;
    }

    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-banner {
        aspect-ratio: 16 / 8.5;
    }

    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .seller-avatar,
    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap.list-view .seller-avatar {
        top: auto !important;
        right: 16px !important;
        bottom: 82px !important;
        width: 60px !important;
        height: 60px !important;
    }

    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-content {
        min-height: 118px;
        padding: 20px 16px 10px !important;
    }

    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-footer {
        padding: 9px 16px 14px !important;
    }
}

@media (max-width: 430px) {
    .yd-store-directory-hero__mark { display: none; }
    .yd-store-directory-hero { padding: 17px; }
    .yd-store-directory-hero h1 { font-size: 22px !important; }

    body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .right {
        grid-template-columns: 1fr auto;
    }

    body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .right > .item:first-child {
        grid-column: 1 / -1;
    }

    body.yaddak-dokan-store-listing-page #dokan-store-listing-filter-wrap .dokan-store-list-filter-button {
        width: 100% !important;
    }
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-header .seller-avatar.yd-avatar-in-header {
    top: auto !important;
    right: 18px !important;
    bottom: -33px !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap.list-view .store-header .seller-avatar.yd-avatar-in-header {
    top: auto !important;
    right: 18px !important;
    bottom: 18px !important;
}

@media (max-width: 700px) {
    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-header .seller-avatar.yd-avatar-in-header,
    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap.list-view .store-header .seller-avatar.yd-avatar-in-header {
        top: auto !important;
        right: 16px !important;
        bottom: -30px !important;
    }

    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-content {
        padding-top: 42px !important;
    }
}

/* =========================================================
   Yaddak Dokan Suite 1.4 — vendor directory media fix
========================================================= */
body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-wrapper {
    --yd-directory-banner-height: 190px;
    overflow: visible !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-header.yd-store-card-media,
body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-header {
    position: relative !important;
    width: 100% !important;
    min-height: var(--yd-directory-banner-height) !important;
    height: var(--yd-directory-banner-height) !important;
    overflow: visible !important;
    border-radius: 17px 17px 0 0 !important;
    background: #e9e9e5;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-banner.yd-store-card-banner,
body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-banner {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    border-radius: inherit !important;
    background-color: #e9e9e5 !important;
    background-image: var(--yd-store-card-banner, none) !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-banner > a {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-banner img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-wrapper.yd-banner-failed .store-banner {
    background:
        radial-gradient(circle at 18% 22%, rgba(246,201,0,.28), transparent 32%),
        linear-gradient(135deg, #242424, #111) !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .seller-avatar.yd-store-card-avatar,
body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .seller-avatar {
    position: absolute !important;
    top: calc(var(--yd-directory-banner-height) - 34px) !important;
    right: 18px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 8 !important;
    display: block !important;
    width: 68px !important;
    height: 68px !important;
    margin: 0 !important;
    padding: 4px !important;
    overflow: hidden !important;
    border: 1px solid #deded9 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 9px 24px rgba(17,17,17,.16) !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .seller-avatar a,
body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .seller-avatar img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .seller-avatar img {
    border-radius: 13px !important;
    object-fit: cover !important;
    object-position: center !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .seller-avatar.yd-image-failed::after {
    content: "ی";
    position: absolute;
    inset: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--yd-primary);
    color: #111;
    font-size: 24px;
    font-weight: 950;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-content {
    min-height: 122px !important;
    padding: 46px 18px 12px !important;
}

/* Old JS versions may have left the avatar inside store-header; neutralize those selectors. */
body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-header .seller-avatar.yd-avatar-in-header {
    top: calc(var(--yd-directory-banner-height) - 34px) !important;
    right: 18px !important;
    bottom: auto !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap.list-view .store-wrapper {
    --yd-directory-banner-height: 178px;
    overflow: visible !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap.list-view .store-header {
    min-height: var(--yd-directory-banner-height) !important;
    height: 100% !important;
}

body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap.list-view .seller-avatar {
    top: 20px !important;
    right: calc(34% + 18px) !important;
}

@media (max-width: 700px) {
    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-wrapper,
    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap.list-view .store-wrapper {
        --yd-directory-banner-height: 158px;
    }

    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .seller-avatar,
    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap.list-view .seller-avatar,
    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-header .seller-avatar.yd-avatar-in-header {
        top: calc(var(--yd-directory-banner-height) - 30px) !important;
        right: 14px !important;
        bottom: auto !important;
        width: 60px !important;
        height: 60px !important;
    }

    body.yaddak-dokan-store-listing-page #dokan-seller-listing-wrap .store-content {
        padding-top: 40px !important;
    }
}

/* Yaddak Iran-first social networks */
.dokan-store-wrap .store-social .fa-eitaa::before,
.dokan-store-wrap .store-social .fa-bale::before,
.dokan-store-wrap .store-social .fa-rubika::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    font-family: "IRANSans", "IRANSansWeb", Tahoma, Arial, sans-serif !important;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}
.dokan-store-wrap .store-social .fa-eitaa::before { content: "ا"; }
.dokan-store-wrap .store-social .fa-bale::before { content: "ب"; }
.dokan-store-wrap .store-social .fa-rubika::before { content: "ر"; }
