@font-face {
    font-family: JahanYekan;
    src: local("IRANYekan"), local("IRANYekanX");
    font-display: swap;
}

:root {
    --j-red: #d70744;
    --j-red-dark: #b90636;
    --j-text: #242424;
    --j-muted: #777;
    --j-border: #e9e9e9;
    --j-soft: #f7f7f8;
    --j-radius: 18px;
    --j-shadow: 0 14px 38px rgba(22, 22, 22, .09);
}

html { scroll-behavior: smooth; }
body.jahan-clean-site {
    margin: 0;
    color: var(--j-text);
    background: #fff;
    font-family: JahanYekan, IRANYekanX, Tahoma, Arial, sans-serif;
    direction: rtl;
}
body.jahan-clean-site * { box-sizing: border-box; }
body.jahan-clean-site a { text-decoration: none; }
body.jahan-clean-site img { max-width: 100%; }
body.jahan-clean-site button,
body.jahan-clean-site input,
body.jahan-clean-site select { font-family: inherit; }
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.jahan-container { width: min(1540px, calc(100% - 40px)); margin-inline: auto; }
.jahan-main-page-wrapper { padding-top: 0 !important; }
.jahan-page-shell,
.jahan-site-content { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.jahan-home { overflow: clip; }

/* Header */
.jahan-header {
    position: relative;
    z-index: 500;
    width: 100%;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
.jahan-topbar {
    padding: 8px 0;
    color: #fff;
    background: var(--j-red);
    text-align: center;
    font-size: 13px;
}
.jahan-topbar strong { color: #fff0a8; }
.jahan-head-main { border-bottom: 1px solid var(--j-border); }
.jahan-head-row {
    min-height: 94px;
    display: grid;
    grid-template-columns: 205px minmax(360px, 1fr) auto;
    grid-template-areas: "logo search tools";
    align-items: center;
    gap: 30px;
}
.jahan-logo { grid-area: logo; display: flex; align-items: center; }
.jahan-logo img { display: block; width: 190px; max-height: 66px; object-fit: contain; }
.jahan-mobile-toggle { display: none !important; }

.jahan-search {
    grid-area: search;
    direction: rtl;
    min-width: 0;
    height: 52px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 13px;
    background: #f8f8f9;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.jahan-search:focus-within {
    border-color: rgba(215, 7, 68, .45);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(215, 7, 68, .07);
}
.jahan-search-category { flex: 0 0 190px; min-width: 0; }
.jahan-search select {
    width: 100%;
    height: 100%;
    padding: 0 16px 0 34px;
    border: 0;
    border-left: 1px solid #ddd;
    outline: 0;
    color: #555;
    background: transparent;
    direction: rtl;
    text-align: right;
    cursor: pointer;
}
.jahan-search input[type="search"] {
    min-width: 0;
    flex: 1 1 auto;
    height: 100%;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
    direction: rtl;
    text-align: right;
    color: #222;
}
.jahan-search input::placeholder { color: #999; opacity: 1; }
.jahan-search button {
    flex: 0 0 56px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: var(--j-red);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease;
}
.jahan-search button:hover { background: var(--j-red-dark); }

.jahan-search svg,
.jahan-tool svg,
.jahan-cat-toggle svg,
.jahan-store svg,
.jahan-mobile-toggle svg,
.jahan-product-button svg {
    width: 23px;
    height: 23px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.jahan-tools {
    grid-area: tools;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.jahan-tool {
    color: #303030;
    transition: color .2s ease, background .2s ease;
}
.jahan-tool:hover { color: var(--j-red); }
.jahan-account-tool {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-left: 14px;
    border-left: 1px solid var(--j-border);
}
.jahan-account-tool > span { display: flex; flex-direction: column; gap: 2px; }
.jahan-account-tool small { color: #999; font-size: 10px; }
.jahan-account-tool strong { font-size: 12px; font-weight: 700; }
.jahan-icon-tool {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f6f6f7;
}
.jahan-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 14px;
    border-right: 1px solid var(--j-border);
}
.jahan-cart-icon { position: relative; display: grid; place-items: center; }
.jahan-cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 20px;
    color: #fff;
    background: var(--j-red);
    font-size: 10px;
    line-height: 1;
}
.jahan-cart-meta { display: flex; flex-direction: column; gap: 2px; }
.jahan-cart-meta b { font-size: 12px; }
.jahan-cart-total { color: #777; font-size: 10px; }

.jahan-navbar {
    border-bottom: 1px solid var(--j-border);
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .025);
}
.jahan-nav-row { min-height: 58px; display: flex; align-items: stretch; }
.jahan-cat-menu { position: relative; flex: 0 0 260px; }
.jahan-cat-toggle {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    color: #fff;
    background: var(--j-red);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.jahan-cat-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    max-height: 72vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    border: 1px solid var(--j-border);
    border-radius: 0 0 15px 15px;
    background: #fff;
    box-shadow: var(--j-shadow);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.jahan-cat-menu:hover .jahan-cat-dropdown,
.jahan-cat-menu:focus-within .jahan-cat-dropdown { opacity: 1; visibility: visible; transform: none; }
.jahan-cat-dropdown a {
    display: grid;
    grid-template-columns: 36px 1fr 18px;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-bottom: 1px solid #f1f1f1;
    color: #333;
    font-size: 12px;
}
.jahan-cat-dropdown a:hover { color: var(--j-red); background: #fff7fa; }
.jahan-cat-dropdown img { width: 33px; height: 33px; object-fit: contain; }
.jahan-cat-dropdown svg { width: 15px; height: 15px; fill: none; stroke: currentColor; }
.jahan-main-nav { flex: 1; min-width: 0; }
.jahan-menu,
.jahan-main-nav > ul {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 0 27px;
    margin: 0;
    list-style: none;
}
.jahan-menu li { position: relative; }
.jahan-menu > li > a { display: flex; align-items: center; min-height: 58px; }
.jahan-menu a { color: #333; font-size: 13px; font-weight: 700; }
.jahan-menu a:hover { color: var(--j-red); }
.jahan-menu .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    display: none;
    padding: 12px;
    margin: 0;
    list-style: none;
    border: 1px solid var(--j-border);
    border-radius: 0 0 13px 13px;
    background: #fff;
    box-shadow: var(--j-shadow);
}
.jahan-menu li:hover > .sub-menu { display: block; }
.jahan-menu .sub-menu a { display: block; padding: 9px 10px; }

.jahan-mobile-panel,
.jahan-overlay { display: none; }

/* Hero */
.jahan-hero { position: relative; background: #f7f7f7; overflow: hidden; }
.jahan-hero-track { position: relative; height: clamp(230px, 29vw, 470px); }
.jahan-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .65s ease, visibility .65s ease;
}
.jahan-hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.jahan-hero-slide img { width: 100%; height: 100%; display: block; object-fit: cover; }
.jahan-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 50%;
    color: #292929;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
    cursor: pointer;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.jahan-slider-arrow:hover { color: #fff; background: var(--j-red); transform: translateY(-50%) scale(1.06); }
.jahan-slider-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.jahan-slider-next { left: 26px; }
.jahan-slider-next svg { transform: rotate(180deg); }
.jahan-slider-prev { right: 26px; }
.jahan-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 19px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    transform: translateX(-50%);
    border-radius: 30px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 7px 18px rgba(0, 0, 0, .08);
    backdrop-filter: blur(8px);
}
.jahan-slider-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #aaa;
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}
.jahan-slider-dots button.is-active { width: 27px; background: var(--j-red); }

/* Shared sections */
.jahan-section { width: min(1480px, calc(100% - 40px)); margin: 58px auto; }
.jahan-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}
.jahan-section-head.centered { display: block; text-align: center; }
.jahan-section-head h2,
.jahan-tabs-head h2 { margin: 0; font-size: 24px; line-height: 1.5; font-weight: 900; }
.jahan-section-head h2::after,
.jahan-tabs-head h2::after {
    content: "";
    width: 54px;
    height: 3px;
    display: block;
    margin-top: 9px;
    border-radius: 10px;
    background: var(--j-red);
}
.jahan-section-head.centered h2::after { margin-inline: auto; }
.jahan-section-head p { margin: 7px 0 0; color: var(--j-muted); }
.jahan-view-all,
.jahan-readmore {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--j-red);
    font-size: 13px;
    font-weight: 700;
}
.jahan-view-all svg,
.jahan-readmore svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transform: rotate(180deg);
}

/* Professional carousels */
.jahan-carousel { position: relative; min-width: 0; padding-inline: 48px; }
.jahan-carousel-viewport {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    direction: rtl;
    scrollbar-width: none;
    scroll-behavior: auto;
    overscroll-behavior-inline: contain;
    touch-action: pan-y;
    cursor: grab;
    outline: none;
}
.jahan-carousel-viewport::-webkit-scrollbar { display: none; }
.jahan-carousel-viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}
.jahan-carousel-track {
    width: max-content;
    min-width: 100%;
    display: flex;
    align-items: stretch;
    gap: 16px;
    direction: rtl;
    padding: 4px 2px 18px;
}
.jahan-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid var(--j-border);
    border-radius: 50%;
    color: #333;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .09);
    cursor: pointer;
    transition: opacity .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.jahan-carousel-arrow:hover { color: #fff; background: var(--j-red); transform: translateY(-50%) scale(1.06); }
.jahan-carousel-arrow:disabled { opacity: .25; cursor: default; transform: translateY(-50%); }
.jahan-carousel-arrow svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.jahan-carousel-next { left: 0; }
.jahan-carousel-next svg { transform: rotate(180deg); }
.jahan-carousel-prev { right: 0; }

/* Product cards */
.jahan-product-card.product {
    position: relative;
    flex: 0 0 clamp(215px, 18vw, 255px);
    width: auto !important;
    min-width: 0;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid var(--j-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .035);
    scroll-snap-align: start;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.jahan-product-card.product:hover { transform: translateY(-5px); border-color: #f0b3c5; box-shadow: var(--j-shadow); }
.jahan-product-media {
    position: relative;
    height: 220px;
    display: grid;
    place-items: center;
    padding: 16px;
    overflow: hidden;
    background: #fff;
}
.jahan-product-media img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain;
    transition: transform .3s ease;
}
.jahan-product-card:hover .jahan-product-media img { transform: scale(1.045); }
.jahan-sale-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 20px;
    color: #fff;
    background: var(--j-red);
    font-size: 10px;
    font-weight: 800;
}
.jahan-product-content { display: flex; flex-direction: column; min-height: 182px; padding: 15px; border-top: 1px solid #f2f2f2; }
.jahan-product-category { min-height: 20px; color: #999; font-size: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.jahan-product-category a { color: inherit; }
.jahan-product-title { min-height: 50px; margin: 5px 0 8px !important; font-size: 13px !important; line-height: 1.9 !important; font-weight: 700 !important; }
.jahan-product-title a { color: #2b2b2b; }
.jahan-product-title a:hover { color: var(--j-red); }
.jahan-product-rating {
    position: relative;
    width: 74px;
    height: 13px;
    margin-bottom: 8px;
    overflow: hidden;
    direction: ltr;
}
.jahan-product-rating::before,
.jahan-product-rating span::before { content: "★★★★★"; position: absolute; inset: 0; letter-spacing: 1px; font-size: 11px; line-height: 13px; }
.jahan-product-rating::before { color: #ddd; }
.jahan-product-rating span { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.jahan-product-rating span::before { color: #f8b400; }
.jahan-product-bottom { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.jahan-product-price { min-width: 0; color: var(--j-red); font-size: 13px; font-weight: 900; }
.jahan-product-price del { display: block; color: #aaa; font-size: 10px; font-weight: 500; }
.jahan-product-price ins { text-decoration: none; }
.jahan-product-button.button {
    width: 38px;
    height: 38px;
    min-height: 38px;
    flex: 0 0 38px;
    display: grid !important;
    place-items: center;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #fff !important;
    background: var(--j-red) !important;
    box-shadow: none !important;
    line-height: 1 !important;
}
.jahan-product-button:hover { background: var(--j-red-dark) !important; }
.jahan-product-button svg { width: 18px; height: 18px; }
.jahan-product-button span { display: none; }
.jahan-empty-products {
    min-height: 250px;
    display: grid;
    place-items: center;
    padding: 30px;
    border: 1px dashed rgba(255, 255, 255, .55);
    border-radius: 16px;
    color: inherit;
    text-align: center;
}
.jahan-specials .jahan-empty-products { border-color: #ddd; color: #777; }

/* Amazing */
.jahan-amazing {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 16px;
    padding: 25px 18px 25px 25px;
    border-radius: 24px;
    background: linear-gradient(135deg, #d70744, #b40636);
    box-shadow: 0 18px 50px rgba(180, 6, 54, .18);
}
.jahan-amazing-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.jahan-amazing-side img { width: 138px; max-height: 115px; object-fit: contain; filter: brightness(0) invert(1); }
.jahan-amazing-side p { margin: 11px 0 18px; color: #fff; font-size: 12px; }
.jahan-amazing-side .jahan-view-all { color: #fff; }
.jahan-amazing-products { min-width: 0; }
.jahan-amazing .jahan-carousel { padding-inline: 43px; }
.jahan-amazing .jahan-carousel-arrow { border-color: transparent; }
.jahan-amazing .jahan-product-card { flex-basis: clamp(210px, 17vw, 245px); }

/* Brand and category cards */
.jahan-logo-card {
    flex: 0 0 164px;
    min-height: 122px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 17px;
    border: 1px solid var(--j-border);
    border-radius: 16px;
    color: #333;
    background: #fff;
    scroll-snap-align: start;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.jahan-logo-card:hover { transform: translateY(-4px); border-color: #efb0c3; box-shadow: var(--j-shadow); }
.jahan-logo-card img { width: 112px; height: 55px; object-fit: contain; }
.jahan-logo-card span { font-size: 12px; }
.jahan-category-card { flex: 0 0 145px; color: #333; text-align: center; scroll-snap-align: start; }
.jahan-category-image {
    width: 130px;
    height: 130px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border: 1px solid transparent;
    border-radius: 50%;
    background: #f5f5f6;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.jahan-category-card:hover .jahan-category-image { transform: translateY(-4px); border-color: #ffd1df; background: #fff; box-shadow: var(--j-shadow); }
.jahan-category-image img { width: 94px; height: 94px; object-fit: contain; }
.jahan-category-card strong { font-size: 12px; }

/* Duca */
.jahan-duca {
    position: relative;
    min-height: 420px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    padding: 52px 7%;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(120deg, #111 0%, #252525 58%, #080808 100%);
}
.jahan-duca-copy { position: relative; z-index: 2; }
.jahan-badge { display: inline-block; padding: 5px 14px; border-radius: 20px; color: #151515; background: #f8bf00; font-size: 11px; font-weight: 900; }
.jahan-duca h2 { margin: 18px 0; font-size: 56px; line-height: 1.05; }
.jahan-duca p { color: #ddd; font-size: 17px; }
.jahan-duca ul { padding: 0; margin: 22px 0; list-style: none; }
.jahan-duca li { margin: 9px 0; color: #f8bf00; }
.jahan-duca li::before { content: "✓"; margin-left: 8px; }
.jahan-button { display: inline-block; padding: 13px 24px; border-radius: 10px; color: #fff; background: var(--j-red); font-weight: 800; }
.jahan-duca-visual { position: relative; display: grid; place-items: center; }
.jahan-duca-visual img { position: relative; z-index: 2; max-width: 75%; max-height: 310px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); animation: jahanFloat 4s ease-in-out infinite; }
.jahan-duca-glow { position: absolute; width: 350px; height: 350px; border-radius: 50%; background: radial-gradient(circle, rgba(215, 7, 68, .48), transparent 66%); filter: blur(15px); }
@keyframes jahanFloat { 50% { transform: translateY(-12px); } }

/* Tabs */
.jahan-tabs-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    margin-bottom: 24px;
    direction: rtl;
    text-align: right;
}
.jahan-tabs {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    border-bottom: 1px solid var(--j-border);
    direction: rtl;
}
.jahan-tabs button {
    position: relative;
    padding: 11px 18px 13px;
    border: 0;
    color: #777;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.jahan-tabs button::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: -1px;
    left: 18px;
    height: 2px;
    opacity: 0;
    background: var(--j-red);
    transition: opacity .2s ease;
}
.jahan-tabs button.is-active { color: var(--j-red); }
.jahan-tabs button.is-active::after { opacity: 1; }
.jahan-tab-panel { display: none; }
.jahan-tab-panel.is-active { display: block; }

/* Benefits and posts */
.jahan-benefits {
    width: min(1480px, calc(100% - 40px));
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    margin: 55px auto;
    padding: 26px 0;
    border-top: 1px solid var(--j-border);
    border-bottom: 1px solid var(--j-border);
}
.jahan-benefit { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px; border-left: 1px solid var(--j-border); }
.jahan-benefit:last-child { border-left: 0; }
.jahan-benefit img { width: 42px; height: 42px; object-fit: contain; }
.jahan-benefit span { font-size: 12px; font-weight: 700; }
.jahan-post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.jahan-post-card { overflow: hidden; border: 1px solid var(--j-border); border-radius: 18px; background: #fff; transition: transform .22s ease, box-shadow .22s ease; }
.jahan-post-card:hover { transform: translateY(-5px); box-shadow: var(--j-shadow); }
.jahan-post-image { height: 210px; display: block; background: #f2f2f2; }
.jahan-post-image img { width: 100%; height: 100%; object-fit: cover; }
.jahan-post-body { padding: 18px; }
.jahan-post-body time { color: #999; font-size: 10px; }
.jahan-post-body h3 { margin: 8px 0; font-size: 16px; line-height: 1.8; }
.jahan-post-body h3 a { color: #252525; }
.jahan-post-body p { color: #777; font-size: 12px; line-height: 1.9; }
.jahan-bitron-card {
    position: relative;
    width: min(1480px, calc(100% - 40px));
    min-height: 190px;
    display: flex;
    align-items: center;
    gap: 25px;
    overflow: hidden;
    margin: 0 auto 60px;
    padding: 35px 8%;
    border-radius: 23px;
    color: #fff;
    background: linear-gradient(120deg, #161616, #303030);
}
.jahan-bitron-card span { font-size: 31px; font-weight: 900; }
.jahan-bitron-card strong { color: #ddd; font-size: 17px; }
.jahan-bitron-card img { position: absolute; left: 8%; height: 150px; max-width: 280px; object-fit: contain; }

/* Footer */
.jahan-footer { border-top: 1px solid #e8e8e8; background: #f7f7f7; }
.jahan-stores { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #ddd; }
.jahan-store { display: flex; align-items: flex-start; gap: 12px; padding: 28px; border-left: 1px solid #ddd; }
.jahan-store:last-child { border-left: 0; }
.jahan-store svg { flex: 0 0 24px; color: var(--j-red); }
.jahan-store div { display: flex; flex-direction: column; }
.jahan-store span { margin-top: 5px; color: #777; font-size: 12px; }
.jahan-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding: 45px 0; }
.jahan-footer-grid h4 { margin: 0 0 18px; font-size: 16px; }
.jahan-footer-grid ul { padding: 0; margin: 0; list-style: none; }
.jahan-footer-grid li { margin: 11px 0; }
.jahan-footer-grid a { color: #555; }
.jahan-footer-grid a:hover { color: var(--j-red); }
.jahan-footer-about img { width: 180px; }
.jahan-footer-about p { max-width: 470px; color: #666; line-height: 2; }
.jahan-footer-phone { color: var(--j-red) !important; font-size: 20px; font-weight: 900; }
.jahan-copyright { padding: 16px; color: #666; background: #eee; text-align: center; font-size: 11px; }

@media (max-width: 1280px) {
    .jahan-head-row { grid-template-columns: 190px minmax(300px, 1fr) auto; gap: 20px; }
    .jahan-account-tool { display: none; }
    .jahan-menu, .jahan-main-nav > ul { gap: 19px; padding-inline: 20px; }
    .jahan-benefits { grid-template-columns: repeat(3, 1fr); }
    .jahan-benefit:nth-child(3) { border-left: 0; }
    .jahan-post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .jahan-head-row {
        grid-template-columns: 180px minmax(0, 1fr);
        grid-template-areas: "logo search";
        min-height: 82px;
    }
    .jahan-tools { display: none; }
    .jahan-cat-menu { flex-basis: 225px; }
    .jahan-menu, .jahan-main-nav > ul { gap: 15px; padding-inline: 16px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
    .jahan-menu::-webkit-scrollbar, .jahan-main-nav > ul::-webkit-scrollbar { display: none; }
    .jahan-amazing { grid-template-columns: 155px minmax(0, 1fr); }
    .jahan-product-card.product { flex-basis: 225px; }
    .jahan-duca { grid-template-columns: 1fr 1fr; padding-inline: 5%; }
    .jahan-duca h2 { font-size: 46px; }
}

@media (max-width: 767px) {
    .jahan-container,
    .jahan-section,
    .jahan-benefits,
    .jahan-bitron-card { width: min(100% - 24px, 1480px); }
    .jahan-topbar { padding: 7px 0; font-size: 11px; }
    .jahan-head-row {
        min-height: 72px;
        grid-template-columns: 42px 124px minmax(0, 1fr);
        grid-template-areas: "toggle logo search";
        gap: 9px;
    }
    .jahan-mobile-toggle {
        grid-area: toggle;
        width: 40px;
        height: 40px;
        display: grid !important;
        place-items: center;
        padding: 0;
        border: 1px solid var(--j-border);
        border-radius: 11px;
        color: #262626;
        background: #fff;
        cursor: pointer;
    }
    .jahan-mobile-toggle-icon,
    .jahan-mobile-toggle-icon svg { width: 24px; height: 24px; display: block; }
    .jahan-logo img { width: 120px; max-height: 50px; }
    .jahan-search { height: 43px; border-radius: 11px; }
    .jahan-search-category { display: none; }
    .jahan-search input[type="search"] { padding: 0 10px; font-size: 11px; }
    .jahan-search button { flex-basis: 43px; }
    .jahan-search button svg { width: 20px; height: 20px; }
    .jahan-navbar { display: none; }
    .jahan-mobile-panel {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 1201;
        width: min(340px, 88vw);
        display: block;
        overflow-y: auto;
        padding: 20px;
        visibility: hidden;
        transform: translateX(105%);
        background: #fff;
        box-shadow: -15px 0 35px rgba(0, 0, 0, .18);
        transition: transform .25s ease, visibility .25s ease;
    }
    .jahan-mobile-panel.is-open { visibility: visible; transform: none; }
    .jahan-overlay {
        position: fixed;
        inset: 0;
        z-index: 1200;
        display: block;
        opacity: 0;
        visibility: hidden;
        background: rgba(0, 0, 0, .55);
        transition: opacity .25s ease, visibility .25s ease;
    }
    .jahan-overlay.is-open { opacity: 1; visibility: visible; }
    .jahan-mobile-panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid var(--j-border); }
    .jahan-mobile-panel-head img { width: 145px; }
    .jahan-mobile-close { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #333; background: #f3f3f4; font-size: 27px; cursor: pointer; }
    .jahan-mobile-menu { padding: 14px 0; margin: 0; list-style: none; }
    .jahan-mobile-menu li { border-bottom: 1px solid #eee; }
    .jahan-mobile-menu a { display: block; padding: 13px 4px; color: #333; font-size: 13px; }
    .jahan-mobile-menu .sub-menu { padding-right: 15px; list-style: none; }

    .jahan-hero-track { height: clamp(190px, 46vw, 285px); }
    .jahan-slider-arrow { width: 38px; height: 38px; }
    .jahan-slider-next { left: 10px; }
    .jahan-slider-prev { right: 10px; }
    .jahan-slider-dots { bottom: 10px; padding: 6px 8px; }

    .jahan-section { margin-block: 40px; }
    .jahan-carousel { padding-inline: 0; }
    .jahan-carousel-arrow { display: none; }
    .jahan-carousel-track { gap: 12px; padding-bottom: 14px; }
    .jahan-product-card.product { flex-basis: min(76vw, 230px); }
    .jahan-product-media { height: 205px; }

    .jahan-amazing { grid-template-columns: 1fr; padding: 15px; border-radius: 17px; }
    .jahan-amazing-side { min-height: 80px; flex-direction: row; justify-content: space-between; gap: 12px; text-align: right; }
    .jahan-amazing-side img { width: 108px; }
    .jahan-amazing-side p { display: none; }
    .jahan-amazing-products { width: 100%; }

    .jahan-logo-card { flex-basis: 140px; }
    .jahan-category-card { flex-basis: 118px; }
    .jahan-category-image { width: 105px; height: 105px; }
    .jahan-category-image img { width: 78px; height: 78px; }

    .jahan-duca { grid-template-columns: 1fr; min-height: auto; padding: 36px 25px; }
    .jahan-duca h2 { font-size: 39px; }
    .jahan-duca-visual { min-height: 255px; }

    .jahan-tabs { overflow-x: auto; scrollbar-width: none; }
    .jahan-tabs::-webkit-scrollbar { display: none; }
    .jahan-tabs button { flex: 0 0 auto; white-space: nowrap; padding-inline: 12px; }
    .jahan-benefits { grid-template-columns: repeat(2, 1fr); }
    .jahan-benefit { justify-content: flex-start; border-left: 0; }
    .jahan-post-grid { grid-template-columns: 1fr; }
    .jahan-stores { grid-template-columns: 1fr; }
    .jahan-store { border-left: 0; border-bottom: 1px solid #ddd; }
    .jahan-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .jahan-bitron-card { display: block; padding: 30px; }
    .jahan-bitron-card span,
    .jahan-bitron-card strong { display: block; }
    .jahan-bitron-card img { left: 0; bottom: 0; opacity: .35; }
}

@media (max-width: 480px) {
    .jahan-head-row { grid-template-columns: 40px 108px minmax(0, 1fr); gap: 7px; }
    .jahan-logo img { width: 104px; }
    .jahan-search input[type="search"] { font-size: 10px; }
    .jahan-slider-arrow { display: none; }
    .jahan-section-head { align-items: flex-start; }
    .jahan-section-head h2, .jahan-tabs-head h2 { font-size: 20px; }
    .jahan-benefit span { font-size: 11px; }
}


/* =========================================================
   Internal pages, sidebar, cart, checkout, reviews – v1.2.0
   ========================================================= */

/* Editable and dismissible topbar */
.jahan-topbar { position: relative; transition: opacity .2s ease, height .2s ease, padding .2s ease; }
.jahan-topbar.is-dismissed { display: none !important; }
.jahan-topbar-inner { position: relative; min-height: 26px; display: flex; align-items: center; justify-content: center; }
.jahan-topbar-text { padding-inline: 42px; line-height: 1.8; }
.jahan-topbar-text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.jahan-topbar-close {
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}
.jahan-topbar-close:hover { background: rgba(255, 255, 255, .25); transform: scale(1.06); }

/* Keep the custom header below WordPress admin bar without a double gap */
body.admin-bar .jahan-header { margin-top: var(--j-admin-bar-gap, 0px); }

/* Page width and right sidebar */
body:not(.home) .jahan-page-shell {
    width: min(1480px, calc(100% - 40px)) !important;
    max-width: 1480px !important;
    margin-inline: auto !important;
    padding: 34px 0 64px !important;
}
body.home .jahan-page-shell,
body.front-page .jahan-page-shell {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}
.jahan-content-layout {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    direction: rtl;
    align-items: start;
}
.jahan-page-has-sidebar .jahan-content-layout {
    grid-template-columns: 286px minmax(0, 1fr);
}
.jahan-site-content { min-width: 0; }
.jahan-sidebar { min-width: 0; grid-column: 1; }
.jahan-page-has-sidebar .jahan-site-content { grid-column: 2; }
.jahan-sidebar-inner {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
body.admin-bar .jahan-sidebar-inner { top: 58px; }
.jahan-sidebar-widget,
.jahan-sidebar .widget {
    margin: 0 !important;
    padding: 18px;
    border: 1px solid var(--j-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(25, 25, 25, .045);
}
.jahan-sidebar-widget + .jahan-sidebar-widget,
.jahan-sidebar .widget + .widget { margin-top: 18px !important; }
.jahan-sidebar-title,
.jahan-sidebar .widget-title {
    position: relative;
    margin: 0 0 15px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid #eee;
    color: #242424;
    font-size: 15px !important;
    line-height: 1.7 !important;
    font-weight: 800 !important;
}
.jahan-sidebar-title::after,
.jahan-sidebar .widget-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 44px;
    height: 2px;
    border-radius: 3px;
    background: var(--j-red);
}
.jahan-sidebar ul { padding: 0; margin: 0; list-style: none; }
.jahan-sidebar li { margin: 0; border-bottom: 1px solid #f0f0f0; }
.jahan-sidebar li:last-child { border-bottom: 0; }
.jahan-sidebar li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 2px;
    color: #444;
    font-size: 12px;
    line-height: 1.8;
}
.jahan-sidebar li > a:hover { color: var(--j-red); }
.jahan-sidebar-categories small {
    min-width: 26px;
    padding: 2px 7px;
    border-radius: 20px;
    color: #888;
    background: #f3f3f4;
    text-align: center;
    font-size: 10px;
}

/* Remove Woodmart's inner empty/duplicate sidebar and let our layout control width */
.jahan-site-content > .container,
.jahan-site-content > .container-fluid {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 0 !important;
}
.jahan-site-content .content-layout-wrapper {
    width: 100% !important;
    margin-inline: 0 !important;
}
.jahan-site-content .content-layout-wrapper > .site-content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-inline: 0 !important;
}
.jahan-site-content .content-layout-wrapper > .sidebar-container { display: none !important; }

/* General content cards */
body:not(.home) .jahan-site-content .entry-content,
body:not(.home) .jahan-site-content > article,
body:not(.home) .jahan-site-content .page-content {
    min-width: 0;
}
body:not(.home) .jahan-site-content .page-title,
body:not(.home) .jahan-site-content h1.entry-title {
    margin-top: 0 !important;
}

/* Compact comments and WooCommerce reviews */
.comments-area,
.woocommerce-Reviews {
    margin-top: 28px !important;
    padding: 18px !important;
    border: 1px solid var(--j-border);
    border-radius: 16px;
    background: #fff;
}
.comments-area .comments-title,
.comments-area .comment-reply-title,
.woocommerce-Reviews-title,
.woocommerce-Reviews #reply-title {
    margin: 0 0 14px !important;
    color: #242424;
    font-size: 16px !important;
    line-height: 1.8 !important;
    font-weight: 800 !important;
}
.comment-list,
.woocommerce-Reviews .commentlist { padding: 0 !important; margin: 0 !important; list-style: none !important; }
.comment-list .comment,
.woocommerce-Reviews .commentlist > li {
    margin: 0 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #eee;
}
.comment-list .comment:last-child,
.woocommerce-Reviews .commentlist > li:last-child { border-bottom: 0; }
.comment-list .comment-body,
.woocommerce-Reviews .comment_container {
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
.comment-list .avatar,
.woocommerce-Reviews .comment_container > img.avatar {
    width: 36px !important;
    height: 36px !important;
    margin: 0 0 0 10px !important;
    border-radius: 50% !important;
}
.comment-list .comment-meta,
.woocommerce-Reviews .comment-text { margin: 0 !important; padding: 0 !important; }
.comment-list .comment-author,
.woocommerce-Reviews .meta { margin-bottom: 4px !important; font-size: 11px !important; }
.comment-list .comment-content,
.woocommerce-Reviews .description { color: #555; font-size: 12px; line-height: 1.9; }
.comment-list .comment-content p,
.woocommerce-Reviews .description p { margin: 5px 0 0 !important; }
.comment-list .reply { margin-top: 6px; font-size: 10px; }
.comment-respond,
.woocommerce-Reviews #review_form_wrapper {
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px solid #eee;
}
.comment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.comment-form > p { margin: 0 !important; }
.comment-form-comment,
.comment-form-rating,
.comment-form-cookies-consent,
.comment-form .form-submit,
.comment-notes,
.logged-in-as { grid-column: 1 / -1; }
.comment-form textarea { min-height: 92px !important; resize: vertical; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 12px !important;
    border: 1px solid #dedede !important;
    border-radius: 10px !important;
    background: #fafafa !important;
    font-size: 12px !important;
}
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: rgba(215, 7, 68, .48) !important;
    outline: 0;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(215, 7, 68, .07);
}
.comment-form .submit {
    min-height: 40px !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #fff !important;
    background: var(--j-red) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

/* React-like add-to-cart buttons */
body.jahan-clean-site .jahan-product-button,
body.jahan-clean-site .products .product-grid-item .jahan-wd-add-btn > a,
body.jahan-clean-site .products .product-grid-item .wd-add-btn > a,
body.jahan-clean-site a.button.add_to_cart_button,
body.jahan-clean-site button.single_add_to_cart_button {
    position: relative !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 17px !important;
    border: 1px solid var(--j-red) !important;
    border-radius: 11px !important;
    color: #fff !important;
    background: var(--j-red) !important;
    box-shadow: 0 8px 18px rgba(215, 7, 68, .18) !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-transform: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}
body.jahan-clean-site .products .product-grid-item .jahan-wd-add-btn > a,
body.jahan-clean-site .products .product-grid-item .wd-add-btn > a { width: 100% !important; }
body.jahan-clean-site .jahan-product-button:hover,
body.jahan-clean-site .products .product-grid-item .wd-add-btn > a:hover,
body.jahan-clean-site a.button.add_to_cart_button:hover,
body.jahan-clean-site button.single_add_to_cart_button:hover {
    color: #fff !important;
    background: var(--j-red-dark) !important;
    box-shadow: 0 11px 24px rgba(215, 7, 68, .25) !important;
    transform: translateY(-1px) !important;
}
body.jahan-clean-site .products .product-grid-item .wd-add-btn > a::before,
body.jahan-clean-site .products .product-grid-item .wd-add-btn > a::after { display: none !important; }
body.jahan-clean-site .products .product-grid-item .wd-add-btn > a span { display: inline !important; opacity: 1 !important; transform: none !important; }
body.jahan-clean-site .product-grid-item .product-wrapper { height: 100%; display: flex; flex-direction: column; }
body.jahan-clean-site .product-grid-item .product-element-bottom { flex: 1; display: flex; flex-direction: column; }
body.jahan-clean-site .product-grid-item .product-element-bottom .wd-add-btn {
    position: static !important;
    width: 100% !important;
    display: block !important;
    margin: auto 0 0 !important;
    padding-top: 13px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
body.jahan-clean-site .product-grid-item .wd-buttons:empty { display: none !important; }
body.jahan-clean-site .single_add_to_cart_button { min-width: 210px; }
body.jahan-clean-site .single_add_to_cart_button.disabled,
body.jahan-clean-site .single_add_to_cart_button:disabled { opacity: .5 !important; cursor: not-allowed !important; transform: none !important; }

/* Full-width cart and checkout */
body.jahan-cart-page .jahan-page-shell,
body.jahan-checkout-page .jahan-page-shell {
    width: min(1480px, calc(100% - 40px)) !important;
    max-width: 1480px !important;
}
body.jahan-cart-page .jahan-content-layout,
body.jahan-checkout-page .jahan-content-layout { grid-template-columns: minmax(0, 1fr) !important; }
body.jahan-cart-page .jahan-site-content,
body.jahan-checkout-page .jahan-site-content { grid-column: 1 !important; }
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce { min-width: 0; }
.woocommerce-cart .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
    gap: 26px;
    align-items: start;
}
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .cart-empty,
.woocommerce-cart .return-to-shop { grid-column: 1 / -1; }
.woocommerce-cart-form {
    grid-column: 1;
    overflow: hidden;
    padding: 18px;
    border: 1px solid var(--j-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20, 20, 20, .05);
}
.woocommerce-cart .cart-collaterals {
    grid-column: 2;
    width: 100% !important;
    margin: 0 !important;
}
.woocommerce-cart .cart_totals {
    width: 100% !important;
    padding: 22px;
    border: 1px solid var(--j-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20, 20, 20, .055);
}
.woocommerce-cart .cart_totals h2,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3 {
    margin: 0 0 18px !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}
.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse !important;
    border-radius: 0 !important;
}
.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td,
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
    padding: 13px 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #eee !important;
    text-align: right !important;
}
.woocommerce-cart table.shop_table thead th { color: #777; background: #fafafa; font-size: 11px; }
.woocommerce-cart .product-thumbnail img { width: 74px !important; border-radius: 11px; }
.woocommerce-cart .product-name a { color: #262626; font-size: 12px; font-weight: 700; line-height: 1.8; }
.woocommerce-cart .product-remove a {
    width: 30px !important;
    height: 30px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    color: #888 !important;
    background: #f4f4f5 !important;
    font-size: 17px !important;
}
.woocommerce-cart .product-remove a:hover { color: #fff !important; background: var(--j-red) !important; }
.woocommerce .quantity {
    display: inline-flex !important;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 10px;
    background: #fff;
}
.woocommerce .quantity input.qty {
    width: 54px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
}
.woocommerce-cart .coupon { display: flex; align-items: center; gap: 8px; }
.woocommerce-cart .coupon input.input-text {
    min-width: 190px;
    height: 42px;
    padding: 0 13px !important;
    border: 1px solid #dedede !important;
    border-radius: 10px !important;
    background: #fafafa;
}
.woocommerce-cart .actions .button,
.woocommerce-cart .checkout-button,
.woocommerce-checkout #place_order,
.woocommerce-checkout .button {
    min-height: 44px !important;
    padding: 0 20px !important;
    border: 1px solid var(--j-red) !important;
    border-radius: 11px !important;
    color: #fff !important;
    background: var(--j-red) !important;
    box-shadow: 0 8px 18px rgba(215, 7, 68, .16) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}
.woocommerce-cart .checkout-button,
.woocommerce-checkout #place_order { width: 100%; display: flex !important; align-items: center; justify-content: center; }
.woocommerce-cart .actions .button:hover,
.woocommerce-cart .checkout-button:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce-checkout .button:hover { background: var(--j-red-dark) !important; }

.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, .75fr);
    gap: 26px;
    align-items: start;
}
.woocommerce-checkout #customer_details {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0 !important;
    padding: 22px;
    border: 1px solid var(--j-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20, 20, 20, .05);
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { width: 100% !important; float: none !important; }
.woocommerce-checkout #order_review_heading {
    grid-column: 2;
    grid-row: 1;
    margin: 0 !important;
    padding: 0 2px;
}
.woocommerce-checkout #order_review {
    grid-column: 2;
    grid-row: 2;
    padding: 22px;
    border: 1px solid var(--j-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20, 20, 20, .055);
}
.woocommerce-checkout .form-row { margin: 0 0 13px !important; }
.woocommerce-checkout .form-row label { margin-bottom: 6px; color: #555; font-size: 11px; font-weight: 700; }
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout .select2-selection {
    min-height: 44px !important;
    padding: 0 13px !important;
    border: 1px solid #dedede !important;
    border-radius: 10px !important;
    background: #fafafa !important;
    box-shadow: none !important;
    font-size: 12px !important;
}
.woocommerce-checkout textarea.input-text { min-height: 100px !important; padding-block: 11px !important; }
.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus {
    border-color: rgba(215, 7, 68, .48) !important;
    outline: 0;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(215, 7, 68, .07) !important;
}
.woocommerce-checkout #payment {
    border: 0 !important;
    border-radius: 13px !important;
    background: #f7f7f8 !important;
}
.woocommerce-checkout #payment ul.payment_methods { padding: 14px !important; border-bottom: 1px solid #e6e6e6 !important; }
.woocommerce-checkout #payment .place-order { padding: 14px !important; margin: 0 !important; }

/* WooCommerce Blocks compatibility */
.wc-block-cart,
.wc-block-checkout { max-width: none !important; }
.wc-block-components-sidebar-layout { gap: 26px !important; }
.wc-block-components-main,
.wc-block-components-sidebar {
    padding: 20px !important;
    border: 1px solid var(--j-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20, 20, 20, .05);
}
.wc-block-components-button:not(.is-link) {
    min-height: 46px !important;
    border-radius: 11px !important;
    color: #fff !important;
    background: var(--j-red) !important;
    font-weight: 800 !important;
}

@media (max-width: 1024px) {
    .jahan-page-has-sidebar .jahan-content-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 22px; }
    .woocommerce-cart .woocommerce,
    .woocommerce-checkout form.checkout { grid-template-columns: minmax(0, 1fr); }
    .woocommerce-cart .cart-collaterals,
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 767px) {
    body:not(.home) .jahan-page-shell { width: calc(100% - 24px) !important; padding: 22px 0 44px !important; }
    .jahan-page-has-sidebar .jahan-content-layout { grid-template-columns: minmax(0, 1fr); }
    .jahan-sidebar,
    .jahan-page-has-sidebar .jahan-site-content { grid-column: 1; }
    .jahan-sidebar-inner { position: static; }
    .jahan-sidebar { order: 2; margin-top: 16px; }
    .jahan-site-content { order: 1; }
    .jahan-topbar-text { padding-inline: 34px; }
    .jahan-topbar-close { left: 2px; }
    .comment-form { grid-template-columns: minmax(0, 1fr); }
    .comment-form > p { grid-column: 1; }
    .comments-area,
    .woocommerce-Reviews { padding: 14px !important; }
    .woocommerce-cart-form,
    .woocommerce-cart .cart_totals,
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review { padding: 15px; border-radius: 14px; }
    .woocommerce-cart-form { overflow-x: auto; }
    .woocommerce-cart table.shop_table { min-width: 690px; }
    .woocommerce-cart .coupon { width: 100%; flex-wrap: wrap; }
    .woocommerce-cart .coupon input.input-text { min-width: 0; flex: 1 1 160px; }
    .woocommerce-cart .actions { white-space: normal !important; }
    body.jahan-clean-site .single_add_to_cart_button { min-width: 0; width: 100%; }
}


/* ===== Jahan Clean 1.3: category arrows + amazing carousel ===== */
.jahan-cat-dropdown a > svg {
    transform: rotate(180deg) !important;
    transform-origin: center;
}

.jahan-amazing-title {
    display: none;
    margin: 0;
    color: #fff;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.5;
}

.jahan-carousel-viewport {
    scroll-snap-type: inline proximity;
    -webkit-overflow-scrolling: touch;
}
.jahan-carousel-track > * {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}
.jahan-carousel-viewport.is-dragging {
    scroll-snap-type: none !important;
}

body.jahan-clean-site .jahan-amazing .jahan-product-carousel {
    padding-inline: 58px;
}
body.jahan-clean-site .jahan-amazing .jahan-carousel-viewport {
    border-radius: 17px;
}
body.jahan-clean-site .jahan-amazing .jahan-carousel-arrow {
    top: 50%;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0 !important;
    margin: 0 !important;
    appearance: none;
    -webkit-appearance: none;
    transform: translateY(-50%);
    border: 0 !important;
    border-radius: 14px !important;
    color: var(--j-red) !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 12px 30px rgba(56, 0, 17, .24) !important;
    opacity: 1;
    overflow: visible;
}
body.jahan-clean-site .jahan-amazing .jahan-carousel-arrow:hover {
    color: #fff !important;
    background: #242424 !important;
    transform: translateY(-50%) scale(1.05);
}
body.jahan-clean-site .jahan-amazing .jahan-carousel-arrow:active {
    transform: translateY(-50%) scale(.96);
}
body.jahan-clean-site .jahan-amazing .jahan-carousel-arrow:disabled {
    opacity: .32;
    color: #999 !important;
    background: rgba(255, 255, 255, .88) !important;
    box-shadow: none !important;
    cursor: default;
    transform: translateY(-50%);
}
body.jahan-clean-site .jahan-amazing .jahan-carousel-arrow svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.35 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body.jahan-clean-site .jahan-amazing .jahan-carousel-arrow svg path {
    fill: none !important;
    stroke: currentColor !important;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body.jahan-clean-site .jahan-amazing .jahan-carousel-next {
    left: 4px !important;
    right: auto !important;
}
body.jahan-clean-site .jahan-amazing .jahan-carousel-prev {
    right: 4px !important;
    left: auto !important;
}
body.jahan-clean-site .jahan-amazing .jahan-carousel-next svg {
    transform: rotate(180deg) !important;
}
body.jahan-clean-site .jahan-amazing .jahan-carousel-prev svg {
    transform: none !important;
}

@media (max-width: 767px) {
    .jahan-amazing {
        gap: 8px;
    }
    .jahan-amazing-side {
        width: 100%;
        min-height: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 1px 2px 9px;
        text-align: right;
    }
    .jahan-amazing-title {
        display: block;
        flex: 1 1 auto;
        text-align: right;
    }
    .jahan-amazing-side > img,
    .jahan-amazing-side > p {
        display: none !important;
    }
    .jahan-amazing-side .jahan-view-all {
        flex: 0 0 auto;
        color: #fff !important;
        white-space: nowrap;
        font-size: 12px;
    }
    body.jahan-clean-site .jahan-amazing .jahan-product-carousel {
        padding-inline: 0;
    }
    body.jahan-clean-site .jahan-amazing .jahan-carousel-arrow {
        display: none !important;
    }
    .jahan-amazing .jahan-carousel-track {
        padding-top: 2px;
    }
}


/* ===== Jahan Clean 1.4: correct RTL drag, clickable cards, stable shop sidebar ===== */
.jahan-carousel-viewport {
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    -webkit-user-drag: none;
}
.jahan-carousel-viewport a,
.jahan-carousel-viewport img {
    -webkit-user-drag: none;
}
.jahan-carousel-viewport.is-dragging,
.jahan-carousel-viewport.is-dragging * {
    cursor: grabbing !important;
    user-select: none !important;
}
.jahan-carousel-viewport.is-dragging * {
    pointer-events: auto !important;
}

@media (min-width: 1025px) {
    body.jahan-shop-archive .jahan-page-shell,
    body.jahan-force-shop-sidebar .jahan-page-shell {
        width: min(1440px, calc(100% - 40px)) !important;
        max-width: 1440px !important;
    }
    body.jahan-shop-archive .jahan-content-layout,
    body.jahan-force-shop-sidebar .jahan-content-layout {
        display: grid !important;
        grid-template-columns: 280px minmax(0, 1fr) !important;
        gap: 28px !important;
        align-items: start !important;
    }
    body.jahan-shop-archive .jahan-sidebar,
    body.jahan-force-shop-sidebar .jahan-sidebar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        inset: auto !important;
        width: auto !important;
        max-width: none !important;
        transform: none !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    body.jahan-shop-archive .jahan-site-content,
    body.jahan-force-shop-sidebar .jahan-site-content {
        min-width: 0 !important;
        width: auto !important;
        max-width: none !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
}

/* =========================================================
   Jahan Clean 1.5: polished search, archive top carousel,
   two-stage smart sticky header
   ========================================================= */

/* Sticky header: top/main area stays, navigation row reacts to scroll direction */
body.jahan-clean-site {
    overflow-x: clip;
}
.jahan-website-wrapper {
    overflow: visible !important;
}
.jahan-header {
    position: sticky !important;
    top: 0;
    z-index: 1100;
    isolation: isolate;
    transition: box-shadow .24s ease;
    will-change: transform;
}
body.admin-bar .jahan-header {
    top: var(--j-admin-bar-height, 32px) !important;
    margin-top: 0 !important;
}
.jahan-header.is-stuck {
    box-shadow: 0 10px 34px rgba(20, 20, 20, .095);
}
.jahan-header .jahan-navbar {
    max-height: 60px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transform-origin: top;
    transition:
        max-height .34s cubic-bezier(.22, 1, .36, 1),
        opacity .22s ease,
        transform .34s cubic-bezier(.22, 1, .36, 1),
        border-color .22s ease,
        box-shadow .22s ease;
}
.jahan-header.is-nav-hidden .jahan-navbar {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-14px);
    border-bottom-color: transparent;
    box-shadow: none;
    transition:
        max-height .32s cubic-bezier(.55, 0, 1, .45),
        opacity .18s ease,
        transform .3s cubic-bezier(.55, 0, 1, .45),
        visibility 0s linear .32s,
        border-color .18s ease,
        box-shadow .18s ease;
}
.jahan-header.is-nav-hidden .jahan-cat-dropdown {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Shop/category carousel owns a full row above both content and sidebar */
.jahan-archive-top-slot:empty {
    display: none;
}
.jahan-archive-top-slot:not(:empty) {
    position: relative;
    width: 100%;
    min-width: 0;
    margin: 0 0 28px;
    padding: 18px 18px 14px;
    overflow: hidden;
    border: 1px solid var(--j-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(20, 20, 20, .055);
}
.jahan-archive-top-slot .jahan-archive-category-carousel,
.jahan-archive-top-slot .wd-carousel-container,
.jahan-archive-top-slot .products.categories,
.jahan-archive-top-slot ul.products.categories {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}
.jahan-archive-top-slot [class*="wd-stretch-cont"] {
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    transform: none !important;
}
.jahan-archive-top-slot .product-category,
.jahan-archive-top-slot [class*="category-grid-item"] {
    min-width: 0;
}
.jahan-archive-top-slot .product-category .product-wrapper,
.jahan-archive-top-slot [class*="category-grid-item"] .category-image-wrapp {
    border-radius: 15px;
}

/* Product search page */
body.jahan-product-search-page .jahan-main-page-wrapper {
    background: #f7f7f8;
}
body.jahan-product-search-page .jahan-page-shell {
    padding-top: 28px !important;
}
body.jahan-product-search-page .jahan-site-content {
    min-width: 0;
}
body.jahan-product-search-page .jahan-site-content > .container,
body.jahan-product-search-page .jahan-site-content > .container-fluid,
body.jahan-product-search-page .jahan-site-content .content-layout-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.jahan-product-search-page .page-title,
body.jahan-product-search-page .wd-page-title,
body.jahan-product-search-page .search-results-title,
body.jahan-product-search-page .jahan-site-content > h1 {
    margin: 0 0 20px !important;
    padding: 20px 22px !important;
    border: 1px solid var(--j-border) !important;
    border-radius: 18px !important;
    color: #242424 !important;
    background: #fff !important;
    box-shadow: 0 8px 26px rgba(20, 20, 20, .045) !important;
    font-size: clamp(18px, 2vw, 25px) !important;
    font-weight: 900 !important;
    line-height: 1.7 !important;
    text-align: right !important;
}
body.jahan-product-search-page .page-title .title,
body.jahan-product-search-page .wd-page-title .title {
    margin: 0 !important;
    color: inherit !important;
    font: inherit !important;
    text-align: inherit !important;
}
body.jahan-product-search-page .shop-loop-head,
body.jahan-product-search-page .wd-shop-tools,
body.jahan-product-search-page .woocommerce-ordering,
body.jahan-product-search-page .woocommerce-result-count {
    min-width: 0;
}
body.jahan-product-search-page .shop-loop-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin: 0 0 20px !important;
    padding: 12px 15px !important;
    border: 1px solid var(--j-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(20, 20, 20, .04);
}
body.jahan-product-search-page .woocommerce-result-count {
    margin: 0 !important;
    color: #777 !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
}
body.jahan-product-search-page .woocommerce-ordering {
    margin: 0 !important;
}
body.jahan-product-search-page .woocommerce-ordering select,
body.jahan-product-search-page .orderby {
    min-width: 190px;
    height: 42px !important;
    padding: 0 13px 0 36px !important;
    border: 1px solid #e1e1e1 !important;
    border-radius: 11px !important;
    outline: 0 !important;
    color: #444 !important;
    background-color: #fafafa !important;
    font-size: 11px !important;
    direction: rtl;
}
body.jahan-product-search-page .wd-shop-view,
body.jahan-product-search-page .shop-view {
    min-height: 40px;
    padding: 5px 8px;
    border: 1px solid #ececec;
    border-radius: 10px;
    background: #fafafa;
}
body.jahan-product-search-page .products {
    min-width: 0;
}
body.jahan-product-search-page .product-grid-item {
    margin-bottom: 22px !important;
}
body.jahan-product-search-page .product-grid-item > .product-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 11px !important;
    overflow: hidden;
    border: 1px solid #e8e8e8 !important;
    border-radius: 17px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(20, 20, 20, .045) !important;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
body.jahan-product-search-page .product-grid-item:hover > .product-wrapper {
    transform: translateY(-3px);
    border-color: rgba(215, 7, 68, .22) !important;
    box-shadow: 0 15px 34px rgba(20, 20, 20, .085) !important;
}
body.jahan-product-search-page .product-element-top {
    overflow: hidden;
    border-radius: 13px !important;
    background: #f8f8f9;
}
body.jahan-product-search-page .product-element-top img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    transition: transform .35s ease;
}
body.jahan-product-search-page .product-grid-item:hover .product-element-top img {
    transform: scale(1.025);
}
body.jahan-product-search-page .product-element-bottom {
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 13px 3px 2px !important;
}
body.jahan-product-search-page .wd-entities-title,
body.jahan-product-search-page .wd-entities-title a {
    color: #2c2c2c !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.9 !important;
}
body.jahan-product-search-page .wd-entities-title {
    min-height: 46px;
    margin: 0 0 8px !important;
}
body.jahan-product-search-page .product-grid-item .price {
    margin-top: auto !important;
    color: var(--j-red) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}
body.jahan-product-search-page .product-grid-item .price del {
    color: #aaa !important;
    font-size: 10px !important;
    font-weight: 500 !important;
}
body.jahan-product-search-page .product-grid-item .wd-add-btn,
body.jahan-product-search-page .product-grid-item .jahan-wd-add-btn {
    width: 100%;
    margin: 12px 0 0 !important;
}
body.jahan-product-search-page .product-grid-item .wd-add-btn > a,
body.jahan-product-search-page .product-grid-item .jahan-wd-add-btn > a {
    width: 100% !important;
    min-height: 43px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 11px !important;
    color: #fff !important;
    background: var(--j-red) !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}
body.jahan-product-search-page .product-grid-item .wd-add-btn > a:hover,
body.jahan-product-search-page .product-grid-item .jahan-wd-add-btn > a:hover {
    background: var(--j-red-dark) !important;
}
body.jahan-product-search-page .woocommerce-pagination,
body.jahan-product-search-page .wd-pagination {
    margin-top: 12px !important;
    padding: 14px !important;
    border: 1px solid var(--j-border);
    border-radius: 14px;
    background: #fff;
}
body.jahan-product-search-page .woocommerce-pagination ul,
body.jahan-product-search-page .wd-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
body.jahan-product-search-page .woocommerce-pagination a,
body.jahan-product-search-page .woocommerce-pagination span,
body.jahan-product-search-page .wd-pagination a,
body.jahan-product-search-page .wd-pagination .current {
    min-width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    padding: 0 10px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    color: #444;
    background: #fff;
}
body.jahan-product-search-page .woocommerce-pagination .current,
body.jahan-product-search-page .wd-pagination .current {
    border-color: var(--j-red);
    color: #fff;
    background: var(--j-red);
}
body.jahan-product-search-page .woocommerce-info,
body.jahan-product-search-page .woocommerce-message,
body.jahan-product-search-page .woocommerce-error,
body.jahan-product-search-page .no-results,
body.jahan-product-search-page .not-found {
    padding: 22px !important;
    border: 1px solid var(--j-border) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(20, 20, 20, .045);
}
body.jahan-product-search-page .no-results .searchform,
body.jahan-product-search-page .not-found .searchform {
    max-width: 640px;
    margin-top: 16px;
}

@media (max-width: 1024px) {
    .jahan-archive-top-slot:not(:empty) {
        margin-bottom: 22px;
        padding: 14px 14px 10px;
        border-radius: 17px;
    }
    body.jahan-product-search-page .shop-loop-head {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .jahan-header {
        top: 0;
    }
    body.admin-bar .jahan-header {
        top: var(--j-admin-bar-height, 46px) !important;
    }
    .jahan-header .jahan-navbar,
    .jahan-header.is-nav-hidden .jahan-navbar {
        display: none !important;
    }
    .jahan-archive-top-slot:not(:empty) {
        width: 100%;
        margin-bottom: 18px;
        padding: 12px 10px 8px;
        border-radius: 15px;
    }
    body.jahan-product-search-page .jahan-page-shell {
        padding-top: 18px !important;
    }
    body.jahan-product-search-page .page-title,
    body.jahan-product-search-page .wd-page-title,
    body.jahan-product-search-page .search-results-title,
    body.jahan-product-search-page .jahan-site-content > h1 {
        margin-bottom: 14px !important;
        padding: 15px 16px !important;
        border-radius: 14px !important;
        font-size: 17px !important;
    }
    body.jahan-product-search-page .shop-loop-head {
        align-items: stretch !important;
        padding: 10px !important;
        border-radius: 13px;
    }
    body.jahan-product-search-page .woocommerce-result-count {
        flex: 1 1 100%;
    }
    body.jahan-product-search-page .woocommerce-ordering,
    body.jahan-product-search-page .woocommerce-ordering select,
    body.jahan-product-search-page .orderby {
        width: 100% !important;
        min-width: 0;
    }
    body.jahan-product-search-page .product-grid-item > .product-wrapper {
        padding: 8px !important;
        border-radius: 14px !important;
    }
    body.jahan-product-search-page .wd-entities-title,
    body.jahan-product-search-page .wd-entities-title a {
        font-size: 11px !important;
    }
    body.jahan-product-search-page .wd-entities-title {
        min-height: 42px;
    }
}


/* =========================================================
   Jahan Clean 1.6: icon-only cart buttons, true archive top
   category row, and sidebar-free single product
   ========================================================= */

/* Loop add-to-cart buttons: icon only. The accessible label remains on the link. */
body.jahan-clean-site .products .product-grid-item .wd-add-btn,
body.jahan-clean-site .products .product-grid-item .jahan-wd-add-btn {
    width: auto !important;
    align-self: flex-end;
    margin-right: auto !important;
}
body.jahan-clean-site .products .product-grid-item .wd-add-btn > a,
body.jahan-clean-site .products .product-grid-item .jahan-wd-add-btn > a,
body.jahan-clean-site .products a.button.add_to_cart_button:not(.jahan-product-button) {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    flex: 0 0 42px !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 11px !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
}
body.jahan-clean-site .products .product-grid-item .wd-add-btn > a span,
body.jahan-clean-site .products .product-grid-item .jahan-wd-add-btn > a span,
body.jahan-clean-site .products a.button.add_to_cart_button:not(.jahan-product-button) span {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
}
body.jahan-clean-site .products .product-grid-item .wd-add-btn > a::before,
body.jahan-clean-site .products .product-grid-item .jahan-wd-add-btn > a::before,
body.jahan-clean-site .products a.button.add_to_cart_button:not(.jahan-product-button)::before {
    content: "" !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    background-color: currentColor !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' d='M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 2-1.6L21 8H7M10 20h.01M18 20h.01'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' d='M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 2-1.6L21 8H7M10 20h.01M18 20h.01'/%3E%3C/svg%3E") center / contain no-repeat !important;
}
body.jahan-clean-site .products .product-grid-item .wd-add-btn > a::after,
body.jahan-clean-site .products .product-grid-item .jahan-wd-add-btn > a::after,
body.jahan-clean-site .products a.button.add_to_cart_button:not(.jahan-product-button)::after {
    display: none !important;
}

/* Custom archive category carousel is rendered before the two-column layout. */
.jahan-archive-top-slot {
    clear: both;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
}
.jahan-archive-top-slot:not(:empty) {
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.jahan-archive-categories {
    position: relative;
    width: 100%;
    min-width: 0;
    padding: 18px 18px 16px;
    overflow: hidden;
    border: 1px solid var(--j-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(20, 20, 20, .055);
}
.jahan-archive-categories-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.jahan-archive-categories-head h2 {
    margin: 0 !important;
    color: #222;
    font-size: 17px !important;
    line-height: 1.6 !important;
    font-weight: 900 !important;
}
.jahan-archive-categories-head > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--j-red);
    font-size: 12px;
    font-weight: 800;
}
.jahan-archive-categories-head > a svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transform: rotate(180deg);
}
.jahan-archive-category-carousel {
    width: 100%;
    min-width: 0;
    padding-inline: 42px;
}
.jahan-archive-category-carousel .jahan-carousel-track {
    gap: 14px;
}
.jahan-archive-category-card {
    flex: 0 0 142px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding: 13px 10px 11px;
    border: 1px solid #ededee;
    border-radius: 15px;
    color: #333;
    background: #fff;
    text-align: center;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.jahan-archive-category-card:hover {
    color: var(--j-red);
    border-color: #efb0c3;
    box-shadow: 0 9px 24px rgba(20, 20, 20, .07);
    transform: translateY(-3px);
}
.jahan-archive-category-image {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #f6f6f7;
}
.jahan-archive-category-image img {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain;
}
.jahan-archive-category-image svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: #aaa;
    stroke-width: 1.5;
}
.jahan-archive-category-name {
    width: 100%;
    overflow: hidden;
    color: inherit;
    font-size: 12px;
    line-height: 1.65;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.jahan-archive-category-card small {
    color: #999;
    font-size: 9px;
}
.jahan-legacy-archive-categories,
.jahan-legacy-archive-categories[hidden] {
    display: none !important;
}

/* Single product: never create or display a sidebar, regardless of Woodmart/global widget settings. */
body.single-product .jahan-page-shell,
body.jahan-single-product-full .jahan-page-shell {
    width: min(1480px, calc(100% - 40px)) !important;
    max-width: 1480px !important;
}
body.single-product .jahan-content-layout,
body.jahan-single-product-full .jahan-content-layout {
    display: block !important;
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
}
body.single-product .jahan-sidebar,
body.jahan-single-product-full .jahan-sidebar,
body.single-product .sidebar-container,
body.single-product aside.sidebar-container,
body.single-product .wd-sidebar,
body.single-product .sidebar-product-single,
body.single-product .area-sidebar-product-single {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    flex: 0 0 0 !important;
    visibility: hidden !important;
}
body.single-product .jahan-site-content,
body.jahan-single-product-full .jahan-site-content,
body.single-product .content-layout-wrapper > .site-content,
body.single-product .content-layout-wrapper > .content-area {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding-inline: 0 !important;
}
body.single-product .content-layout-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
}

/* Full-width strips under the single-product area must stay inside the product content width. */
body.single-product .jahan-site-content .jahan-benefits,
body.single-product .jahan-site-content .wd-stretch-cont,
body.single-product .jahan-site-content [class*="wd-stretch-cont"],
body.single-product .jahan-site-content .elementor-section-stretched,
body.single-product .jahan-site-content [data-element_type="container"].e-con-full {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    inset-inline: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    transform: none !important;
}
body.single-product .jahan-site-content .jahan-benefits,
body.single-product .jahan-site-content .wd-product-extra-content,
body.single-product .jahan-site-content .product-extra-content {
    clear: both;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .jahan-archive-categories {
        padding: 14px 12px 13px;
        border-radius: 16px;
    }
    .jahan-archive-category-carousel {
        padding-inline: 0;
    }
    .jahan-archive-category-carousel .jahan-carousel-arrow {
        display: none !important;
    }
    .jahan-archive-category-card {
        flex-basis: 118px;
        padding-inline: 7px;
    }
    .jahan-archive-category-image {
        width: 76px;
        height: 76px;
    }
    .jahan-archive-category-image img {
        width: 62px !important;
        height: 62px !important;
    }
    body.single-product .jahan-page-shell,
    body.jahan-single-product-full .jahan-page-shell {
        width: min(100% - 20px, 1480px) !important;
    }
}

/* =========================================================
   Jahan Clean 1.7: equal navigation height, AJAX search,
   deliberate smart-header reveal threshold
   ========================================================= */

/* The red category trigger and the main navigation now share one exact row height. */
.jahan-nav-row,
.jahan-cat-menu,
.jahan-main-nav,
.jahan-menu,
.jahan-main-nav > ul {
    height: 58px;
    min-height: 58px;
    max-height: 58px;
}
.jahan-nav-row {
    align-items: stretch;
}
.jahan-cat-toggle {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    padding: 0 20px !important;
    margin: 0 !important;
    line-height: 1 !important;
    border-radius: 0 !important;
}
.jahan-cat-toggle > span {
    display: inline-flex;
    align-items: center;
    height: 58px;
    line-height: 1;
}
.jahan-cat-toggle > svg {
    flex: 0 0 23px;
}
.jahan-menu,
.jahan-main-nav > ul {
    align-items: stretch;
}
.jahan-menu > li,
.jahan-main-nav > ul > li {
    height: 58px;
    display: flex;
    align-items: stretch;
}
.jahan-menu > li > a,
.jahan-main-nav > ul > li > a {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    display: flex;
    align-items: center;
    padding-block: 0 !important;
    line-height: 1.4;
}

/* AJAX search dropdown */
.jahan-head-main {
    position: relative;
    z-index: 4;
    overflow: visible;
    background: #fff;
}
.jahan-navbar {
    position: relative;
    z-index: 3;
}
.jahan-search,
.jahan-ajax-search-form {
    position: relative;
    z-index: 8;
    overflow: visible;
}
.jahan-search select {
    border-radius: 0 13px 13px 0;
}
.jahan-search button[type="submit"] {
    border-radius: 13px 0 0 13px;
}
.jahan-ajax-search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 1400;
    max-height: min(520px, 68vh);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(7px) scale(.992);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(18, 18, 18, .18);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    scrollbar-width: thin;
    scrollbar-color: #d8d8d8 transparent;
}
.jahan-search.is-search-open .jahan-ajax-search-results,
.jahan-ajax-search-form.is-search-open .jahan-ajax-search-results {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}
.jahan-ajax-search-list {
    display: flex;
    flex-direction: column;
    padding: 7px;
}
.jahan-ajax-search-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 12px;
    padding: 9px;
    border-bottom: 1px solid #f0f0f1;
    border-radius: 11px;
    color: #292929;
    text-align: right;
    transition: color .16s ease, background .16s ease;
}
.jahan-ajax-search-item:last-child {
    border-bottom: 0;
}
.jahan-ajax-search-item:hover,
.jahan-ajax-search-item:focus-visible {
    color: var(--j-red);
    background: #fff5f8;
    outline: 0;
}
.jahan-ajax-search-image {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #eeeeef;
    border-radius: 10px;
    background: #fff;
}
.jahan-ajax-search-image img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain;
}
.jahan-ajax-search-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.jahan-ajax-search-copy strong {
    overflow: hidden;
    color: inherit;
    font-size: 12px;
    line-height: 1.8;
    font-weight: 750;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.jahan-ajax-search-copy small {
    color: var(--j-red);
    font-size: 11px;
    line-height: 1.6;
    font-weight: 800;
}
.jahan-ajax-search-copy small del {
    margin-left: 6px;
    color: #999;
    font-size: 9px;
    font-weight: 500;
}
.jahan-ajax-search-copy small ins {
    text-decoration: none;
}
.jahan-ajax-search-arrow {
    display: grid;
    place-items: center;
    color: #aaa;
}
.jahan-ajax-search-arrow svg,
.jahan-ajax-search-all svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transform: rotate(180deg);
}
.jahan-ajax-search-all {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 16px;
    border-top: 1px solid #ececee;
    color: var(--j-red);
    background: #fffafb;
    font-size: 12px;
    font-weight: 850;
}
.jahan-ajax-search-all:hover {
    color: #fff;
    background: var(--j-red);
}
.jahan-ajax-search-status,
.jahan-ajax-search-empty {
    min-height: 92px;
    display: grid;
    place-items: center;
    padding: 18px;
    color: #777;
    font-size: 12px;
    text-align: center;
}
.jahan-ajax-search-status.is-loading::before {
    content: "";
    width: 22px;
    height: 22px;
    margin-left: 9px;
    display: inline-block;
    vertical-align: middle;
    border: 2px solid #eee;
    border-top-color: var(--j-red);
    border-radius: 50%;
    animation: jahanSearchSpin .65s linear infinite;
}
.jahan-ajax-search-status.is-error {
    color: #a32424;
}
@keyframes jahanSearchSpin {
    to { transform: rotate(360deg); }
}


@media (max-width: 767px) {
    .jahan-search select {
        border-radius: 0;
    }
    .jahan-search button[type="submit"] {
        border-radius: 11px 0 0 11px;
    }
    .jahan-ajax-search-results {
        z-index: 2200;
        max-height: min(500px, calc(100vh - 125px));
        border-radius: 14px;
    }
    .jahan-ajax-search-item {
        grid-template-columns: 54px minmax(0, 1fr) 18px;
        gap: 9px;
        padding: 8px;
    }
    .jahan-ajax-search-image {
        width: 54px;
        height: 54px;
    }
    .jahan-ajax-search-copy strong {
        font-size: 11px;
    }
    .jahan-ajax-search-copy small {
        font-size: 10px;
    }
}


/* =========================================================
   Jahan Clean 1.8: real icon-only cart buttons and a toolbar
   that survives Woodmart AJAX refreshes
   ========================================================= */

/* All loop buttons use a real inline SVG, never text or a font icon. */
body.jahan-clean-site .products .jahan-icon-only-cart,
body.jahan-clean-site .products .jahan-product-button,
body.jahan-clean-site .products .wd-add-btn > a,
body.jahan-clean-site .products .jahan-wd-add-btn > a {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    flex: 0 0 42px !important;
    display: inline-grid !important;
    place-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--j-red) !important;
    border-radius: 11px !important;
    color: #fff !important;
    background: var(--j-red) !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
}
body.jahan-clean-site .products .jahan-icon-only-cart > :not(.jahan-loop-cart-icon),
body.jahan-clean-site .products .jahan-product-button > :not(.jahan-loop-cart-icon),
body.jahan-clean-site .products .wd-add-btn > a > :not(.jahan-loop-cart-icon),
body.jahan-clean-site .products .jahan-wd-add-btn > a > :not(.jahan-loop-cart-icon) {
    display: none !important;
}
body.jahan-clean-site .products .jahan-loop-cart-icon {
    width: 21px !important;
    height: 21px !important;
    display: grid !important;
    place-items: center !important;
    flex: 0 0 21px !important;
    color: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
}
body.jahan-clean-site .products .jahan-loop-cart-icon svg {
    width: 21px !important;
    height: 21px !important;
    display: block !important;
    overflow: visible !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}
body.jahan-clean-site .products .jahan-icon-only-cart::before,
body.jahan-clean-site .products .jahan-icon-only-cart::after,
body.jahan-clean-site .products .wd-add-btn > a::before,
body.jahan-clean-site .products .wd-add-btn > a::after,
body.jahan-clean-site .products .jahan-wd-add-btn > a::before,
body.jahan-clean-site .products .jahan-wd-add-btn > a::after {
    display: none !important;
    content: none !important;
}
body.jahan-clean-site .products .wd-add-btn,
body.jahan-clean-site .products .jahan-wd-add-btn {
    width: 42px !important;
    min-width: 42px !important;
    margin-inline-start: auto !important;
    align-self: flex-end !important;
}

/* The shop controls sit outside the AJAX-replaced product area. */
.jahan-archive-toolbar-slot {
    clear: both;
    width: 100%;
    min-width: 0;
    margin: 0 0 20px;
}
.jahan-archive-toolbar-slot:empty {
    display: none;
}
.jahan-archive-toolbar-slot.has-toolbar {
    display: block;
}
.jahan-archive-toolbar-slot .jahan-persistent-shop-toolbar,
.jahan-archive-toolbar-slot .shop-loop-head,
.jahan-archive-toolbar-slot .wd-shop-tools,
.jahan-archive-toolbar-slot .wd-shop-tools-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 12px 15px !important;
    border: 1px solid var(--j-border) !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: 0 7px 22px rgba(20, 20, 20, .04) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.jahan-archive-toolbar-slot .wd-products-per-page,
.jahan-archive-toolbar-slot .wd-shop-view,
.jahan-archive-toolbar-slot .shop-view,
.jahan-archive-toolbar-slot .wd-show-sidebar-btn {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.jahan-archive-toolbar-slot .wd-products-per-page a,
.jahan-archive-toolbar-slot .wd-show-sidebar-btn,
.jahan-archive-toolbar-slot .wd-shop-view a,
.jahan-archive-toolbar-slot .shop-view a {
    min-height: 38px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .jahan-archive-toolbar-slot {
        margin-bottom: 14px;
    }
    .jahan-archive-toolbar-slot .jahan-persistent-shop-toolbar,
    .jahan-archive-toolbar-slot .shop-loop-head,
    .jahan-archive-toolbar-slot .wd-shop-tools,
    .jahan-archive-toolbar-slot .wd-shop-tools-wrapper {
        gap: 9px !important;
        padding: 10px 11px !important;
        border-radius: 13px !important;
    }
}

/* =========================================================
   Jahan Clean 1.9: article footer placement and guaranteed
   visible white cart icons on every product-card implementation
   ========================================================= */

/* Keep all article cards equal-height and pin "ادامه مطلب" to bottom-left. */
.jahan-post-grid {
    align-items: stretch;
}
.jahan-post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.jahan-post-card .jahan-post-image {
    flex: 0 0 auto;
}
.jahan-post-card .jahan-post-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}
.jahan-post-card .jahan-post-body p {
    margin-bottom: 16px;
}
.jahan-post-card .jahan-readmore {
    width: max-content;
    margin-top: auto;
    margin-right: auto;
    margin-left: 0;
    align-self: flex-end;
}

/* Custom homepage/tab cards are not always descendants of .products.
   Force the real inline SVG to stay visible and white everywhere. */
body.jahan-clean-site .jahan-product-button,
body.jahan-clean-site a.jahan-product-button.button {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    flex: 0 0 46px !important;
    display: inline-grid !important;
    place-items: center !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #fff !important;
    background: var(--j-red) !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: visible !important;
}
body.jahan-clean-site .jahan-product-button:hover,
body.jahan-clean-site a.jahan-product-button.button:hover {
    color: #fff !important;
    background: var(--j-red-dark) !important;
}
body.jahan-clean-site .jahan-product-button > .jahan-loop-cart-icon,
body.jahan-clean-site a.jahan-product-button.button > .jahan-loop-cart-icon {
    width: 23px !important;
    height: 23px !important;
    display: grid !important;
    place-items: center !important;
    flex: 0 0 23px !important;
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
}
body.jahan-clean-site .jahan-product-button > .jahan-loop-cart-icon svg,
body.jahan-clean-site a.jahan-product-button.button > .jahan-loop-cart-icon svg {
    width: 23px !important;
    height: 23px !important;
    display: block !important;
    fill: none !important;
    stroke: #fff !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    opacity: 1 !important;
    visibility: visible !important;
}
body.jahan-clean-site .jahan-product-button > .jahan-loop-cart-icon svg path,
body.jahan-clean-site .jahan-product-button > .jahan-loop-cart-icon svg circle {
    fill: none !important;
    stroke: #fff !important;
}

/* Woodmart loop cards: same visible dimensions and white icon. */
body.jahan-clean-site .products .jahan-icon-only-cart,
body.jahan-clean-site .products .wd-add-btn > a,
body.jahan-clean-site .products .jahan-wd-add-btn > a {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    flex-basis: 46px !important;
    color: #fff !important;
    background: var(--j-red) !important;
    border-color: var(--j-red) !important;
    overflow: visible !important;
}
body.jahan-clean-site .products .jahan-loop-cart-icon,
body.jahan-clean-site .products .jahan-loop-cart-icon svg {
    color: #fff !important;
    stroke: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
}
body.jahan-clean-site .products .jahan-loop-cart-icon {
    width: 23px !important;
    height: 23px !important;
    display: grid !important;
}
body.jahan-clean-site .products .jahan-loop-cart-icon svg {
    width: 23px !important;
    height: 23px !important;
    fill: none !important;
}
body.jahan-clean-site .products .jahan-loop-cart-icon svg path,
body.jahan-clean-site .products .jahan-loop-cart-icon svg circle {
    fill: none !important;
    stroke: #fff !important;
}


/* =========================================================
   Jahan Clean 1.10: single-product gallery tools + compact reviews
   ========================================================= */

/* Wishlist / compare live next to the main product image, not in the summary. */
body.single-product .woocommerce-product-gallery,
body.single-product .product-images,
body.single-product .wd-product-gallery {
    position: relative !important;
}

body.single-product .jahan-gallery-actions {
    position: absolute;
    z-index: 12;
    inset-block-start: 14px;
    inset-inline-start: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

body.single-product .jahan-gallery-actions > * {
    pointer-events: auto;
    margin: 0 !important;
}

body.single-product .jahan-gallery-actions .wd-action-btn,
body.single-product .jahan-gallery-actions .yith-wcwl-add-to-wishlist,
body.single-product .jahan-gallery-actions .compare-btn,
body.single-product .jahan-gallery-actions > a.compare {
    position: relative !important;
    inset: auto !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid rgba(0, 0, 0, .08) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .09) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background-color .2s ease !important;
}

body.single-product .jahan-gallery-actions .wd-action-btn > a,
body.single-product .jahan-gallery-actions .yith-wcwl-add-to-wishlist a,
body.single-product .jahan-gallery-actions .compare-btn > a,
body.single-product .jahan-gallery-actions > a.compare {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: inherit !important;
    background: transparent !important;
    color: #303030 !important;
    font-size: 0 !important;
    line-height: 1 !important;
}

body.single-product .jahan-gallery-actions .wd-action-btn:hover,
body.single-product .jahan-gallery-actions .yith-wcwl-add-to-wishlist:hover,
body.single-product .jahan-gallery-actions .compare-btn:hover,
body.single-product .jahan-gallery-actions > a.compare:hover {
    transform: translateY(-2px);
    color: #fff !important;
    background: var(--j-red) !important;
    box-shadow: 0 10px 26px rgba(215, 7, 68, .22) !important;
}

body.single-product .jahan-gallery-actions .wd-action-btn:hover > a,
body.single-product .jahan-gallery-actions .yith-wcwl-add-to-wishlist:hover a,
body.single-product .jahan-gallery-actions .compare-btn:hover > a,
body.single-product .jahan-gallery-actions > a.compare:hover {
    color: #fff !important;
}

/* Remove the empty space left behind in the product summary after moving tools. */
body.single-product .summary .wd-wishlist-btn:empty,
body.single-product .summary .wd-compare-btn:empty,
body.single-product .summary .product-share:empty,
body.single-product .summary .wd-product-tools:empty {
    display: none !important;
    margin: 0 !important;
}

/* Reviews: genuinely compact, two columns on desktop, one column on mobile. */
body.single-product .woocommerce-Reviews {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr) !important;
    align-items: start !important;
    gap: 16px !important;
    margin-top: 18px !important;
    padding: 14px !important;
    border-radius: 14px !important;
}

body.single-product .woocommerce-Reviews #comments,
body.single-product .woocommerce-Reviews #review_form_wrapper {
    width: auto !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product .woocommerce-Reviews #review_form_wrapper {
    padding-inline-start: 16px !important;
    border-inline-start: 1px solid #eee !important;
    border-top: 0 !important;
}

body.single-product .woocommerce-Reviews-title,
body.single-product .woocommerce-Reviews #reply-title {
    margin: 0 0 9px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

body.single-product .woocommerce-Reviews .commentlist {
    max-height: 330px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-inline-end: 6px !important;
    scrollbar-width: thin;
}

body.single-product .woocommerce-Reviews .commentlist > li {
    padding: 9px 0 !important;
}

body.single-product .woocommerce-Reviews .comment_container {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: start !important;
}

body.single-product .woocommerce-Reviews .comment_container > img.avatar {
    position: static !important;
    width: 30px !important;
    height: 30px !important;
    margin: 0 !important;
}

body.single-product .woocommerce-Reviews .comment-text {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.single-product .woocommerce-Reviews .star-rating {
    margin-bottom: 3px !important;
    font-size: 11px !important;
}

body.single-product .woocommerce-Reviews .meta {
    margin: 0 0 2px !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
}

body.single-product .woocommerce-Reviews .description,
body.single-product .woocommerce-Reviews .description p {
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.75 !important;
}

body.single-product .woocommerce-Reviews .comment-form {
    gap: 7px 9px !important;
}

body.single-product .woocommerce-Reviews .comment-form > p,
body.single-product .woocommerce-Reviews .comment-notes,
body.single-product .woocommerce-Reviews .logged-in-as {
    margin: 0 !important;
}

body.single-product .woocommerce-Reviews .comment-form label {
    display: inline-block;
    margin-bottom: 3px !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
}

body.single-product .woocommerce-Reviews .comment-form input[type="text"],
body.single-product .woocommerce-Reviews .comment-form input[type="email"],
body.single-product .woocommerce-Reviews .comment-form input[type="url"] {
    min-height: 36px !important;
    height: 36px !important;
    padding: 7px 10px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
}

body.single-product .woocommerce-Reviews .comment-form textarea {
    min-height: 68px !important;
    max-height: 130px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    line-height: 1.7 !important;
}

body.single-product .woocommerce-Reviews .comment-form-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

body.single-product .woocommerce-Reviews .comment-form-rating label {
    margin: 0 !important;
}

body.single-product .woocommerce-Reviews .comment-form-rating .stars {
    margin: 0 !important;
    line-height: 1 !important;
}

body.single-product .woocommerce-Reviews .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 9px !important;
    line-height: 1.6 !important;
}

body.single-product .woocommerce-Reviews .comment-form-cookies-consent input {
    flex: 0 0 auto;
    margin-top: 2px !important;
}

body.single-product .woocommerce-Reviews .form-submit {
    margin-top: 2px !important;
}

body.single-product .woocommerce-Reviews .submit {
    min-height: 36px !important;
    height: 36px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
}

body.single-product .woocommerce-Reviews .woocommerce-noreviews,
body.single-product .woocommerce-Reviews .woocommerce-verification-required {
    margin: 0 !important;
    padding: 9px 10px !important;
    border-radius: 8px;
    font-size: 11px !important;
}

@media (max-width: 900px) {
    body.single-product .woocommerce-Reviews {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    body.single-product .woocommerce-Reviews #review_form_wrapper {
        padding: 13px 0 0 !important;
        border-inline-start: 0 !important;
        border-top: 1px solid #eee !important;
    }
}

@media (max-width: 767px) {
    body.single-product .jahan-gallery-actions {
        inset-block-start: 10px;
        inset-inline-start: 10px;
        gap: 6px;
    }
    body.single-product .jahan-gallery-actions .wd-action-btn,
    body.single-product .jahan-gallery-actions .yith-wcwl-add-to-wishlist,
    body.single-product .jahan-gallery-actions .compare-btn,
    body.single-product .jahan-gallery-actions > a.compare {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }
    body.single-product .woocommerce-Reviews {
        margin-top: 14px !important;
        padding: 11px !important;
        gap: 12px !important;
    }
    body.single-product .woocommerce-Reviews .commentlist {
        max-height: 280px;
    }
}


/* =========================================================
   Jahan Clean 1.11: one unified archive bar from first render
   ========================================================= */
body.jahan-shop-archive .jahan-archive-toolbar-slot {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 20px !important;
    padding: 11px 15px !important;
    border: 1px solid var(--j-border) !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: 0 7px 22px rgba(20, 20, 20, .04) !important;
}
body.jahan-shop-archive .jahan-archive-toolbar-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 18px !important;
    width: 100% !important;
    min-width: 0 !important;
}
body.jahan-shop-archive .jahan-archive-breadcrumb-slot {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
}
body.jahan-shop-archive .jahan-archive-breadcrumb,
body.jahan-shop-archive .jahan-archive-breadcrumb-slot .woocommerce-breadcrumb {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #777 !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
body.jahan-shop-archive .jahan-archive-breadcrumb a {
    color: #555 !important;
    font-weight: 700 !important;
    transition: color .2s ease !important;
}
body.jahan-shop-archive .jahan-archive-breadcrumb a:hover {
    color: var(--j-red) !important;
}
body.jahan-shop-archive .jahan-archive-breadcrumb > span,
body.jahan-shop-archive .jahan-archive-breadcrumb > a {
    flex: 0 0 auto !important;
}
body.jahan-shop-archive .jahan-breadcrumb-separator {
    color: #c3c3c3 !important;
    font-size: 11px !important;
}
body.jahan-shop-archive .jahan-archive-controls-slot {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    margin-inline-start: auto !important;
}
body.jahan-shop-archive .jahan-archive-controls-slot:empty {
    display: block !important;
    min-width: 1px !important;
    min-height: 38px !important;
}
body.jahan-shop-archive .jahan-archive-controls-slot .jahan-persistent-shop-toolbar,
body.jahan-shop-archive .jahan-archive-controls-slot .shop-loop-head,
body.jahan-shop-archive .jahan-archive-controls-slot .wd-shop-tools,
body.jahan-shop-archive .jahan-archive-controls-slot .wd-shop-tools-wrapper {
    width: auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
body.jahan-shop-archive .jahan-archive-controls-slot .woocommerce-result-count,
body.jahan-shop-archive .jahan-archive-controls-slot .woocommerce-ordering {
    margin: 0 !important;
}
/* The server-rendered archive breadcrumb is authoritative; remove Woodmart's duplicate. */
body.jahan-shop-archive .jahan-site-content .woocommerce-breadcrumb,
body.jahan-shop-archive .jahan-site-content .wd-breadcrumbs,
body.jahan-shop-archive .jahan-site-content .breadcrumbs {
    display: none !important;
}
@media (max-width: 767px) {
    body.jahan-shop-archive .jahan-archive-toolbar-slot {
        padding: 9px 10px !important;
        border-radius: 13px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }
    body.jahan-shop-archive .jahan-archive-toolbar-slot::-webkit-scrollbar {
        display: none !important;
    }
    body.jahan-shop-archive .jahan-archive-toolbar-row {
        width: max-content !important;
        min-width: 100% !important;
        gap: 14px !important;
    }
    body.jahan-shop-archive .jahan-archive-breadcrumb-slot {
        min-width: max-content !important;
        overflow: visible !important;
    }
    body.jahan-shop-archive .jahan-archive-breadcrumb,
    body.jahan-shop-archive .jahan-archive-breadcrumb-slot .woocommerce-breadcrumb {
        overflow: visible !important;
        font-size: 11px !important;
    }
}


/* =========================================================
   WooCommerce My Account — clean full-width dashboard
   ========================================================= */
body.woocommerce-account .jahan-page-shell {
    width: min(1280px, calc(100% - 40px)) !important;
    margin-inline: auto !important;
    padding: 30px 0 64px !important;
}

body.woocommerce-account .jahan-content-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
}

body.woocommerce-account .jahan-sidebar,
body.woocommerce-account .sidebar-container,
body.woocommerce-account .wd-sidebar,
body.woocommerce-account aside[class*="sidebar"],
body.woocommerce-account .area-sidebar-shop {
    display: none !important;
}

body.woocommerce-account .jahan-site-content,
body.woocommerce-account .site-content,
body.woocommerce-account .content-layout-wrapper,
body.woocommerce-account .wd-content-layout,
body.woocommerce-account [class*="col-lg-"] {
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
}

body.woocommerce-account .page-title,
body.woocommerce-account .title-wrapper,
body.woocommerce-account .wd-page-title {
    margin-bottom: 20px !important;
}

body.logged-in.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 276px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

body.logged-in.woocommerce-account .woocommerce > .woocommerce-notices-wrapper,
body.logged-in.woocommerce-account .woocommerce > .woocommerce-message,
body.logged-in.woocommerce-account .woocommerce > .woocommerce-error,
body.logged-in.woocommerce-account .woocommerce > .woocommerce-info {
    grid-column: 1 / -1;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid #ececef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(25, 25, 25, .055);
    position: sticky;
    top: calc(var(--jahan-admin-offset, 0px) + 118px);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
    min-height: 48px;
    display: flex !important;
    align-items: center;
    padding: 0 16px !important;
    border-radius: 12px;
    color: #4d4d54 !important;
    font-size: 14px;
    font-weight: 700;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-left: 11px;
    border: 2px solid #a6a6ad;
    border-radius: 50%;
    transition: border-color .18s ease, background .18s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li:hover a {
    color: var(--j-red) !important;
    background: #fff5f8;
    transform: translateX(-2px);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    color: var(--j-red) !important;
    background: #fff1f5;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before {
    border-color: var(--j-red);
    background: var(--j-red);
    box-shadow: 0 0 0 4px rgba(215, 7, 68, .10);
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid #eeeeef !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 24px !important;
    border: 1px solid #ececef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(25, 25, 25, .055);
}

body.jahan-account-dashboard .woocommerce-MyAccount-content > p:nth-of-type(-n+2) {
    display: none !important;
}

.jahan-account-overview {
    display: grid;
    gap: 20px;
}

.jahan-account-profile-card {
    min-height: 126px;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border: 1px solid #eeeeef;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #fff7f9 100%);
}

.jahan-account-avatar,
.jahan-account-avatar img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
}

.jahan-account-avatar {
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 5px 18px rgba(32, 32, 32, .12);
}

.jahan-account-profile-copy { min-width: 0; }
.jahan-account-profile-copy > span {
    display: block;
    margin-bottom: 4px;
    color: #888891;
    font-size: 12px;
}
.jahan-account-profile-copy h2 {
    margin: 0 0 8px !important;
    color: #24242a;
    font-size: 20px !important;
    line-height: 1.5;
}
.jahan-account-profile-copy p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 !important;
    color: #73737b;
    font-size: 12px;
}
.jahan-account-profile-copy p b { color: #4d4d55; font-weight: 600; }
.jahan-account-profile-copy p i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c6c6cb;
}
.jahan-account-edit-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid rgba(215, 7, 68, .28);
    border-radius: 10px;
    color: var(--j-red) !important;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.jahan-account-edit-link:hover { background: var(--j-red); color: #fff !important; }

.jahan-account-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.jahan-account-stat {
    min-height: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 15px;
    border: 1px solid #eeeeef;
    border-radius: 14px;
    background: #fff;
    color: #55555e !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.jahan-account-stat:hover {
    transform: translateY(-2px);
    border-color: rgba(215, 7, 68, .25);
    box-shadow: 0 9px 22px rgba(25, 25, 25, .065);
}
.jahan-account-stat strong {
    color: #29292f;
    font-size: 26px;
    line-height: 1;
}
.jahan-account-stat span { color: #777780; font-size: 12px; font-weight: 700; }
.jahan-account-stat::before {
    content: "";
    width: 28px;
    height: 4px;
    border-radius: 999px;
    background: #f0b400;
}
.jahan-account-stat.is-completed-orders::before { background: #19a86b; }
.jahan-account-stat.is-closed-orders::before { background: #b6b6bd; }

.jahan-account-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid #eeeeef;
    border-radius: 15px;
    overflow: hidden;
}
.jahan-account-shortcuts a {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 18px;
    color: #303037 !important;
    background: #fff;
    border-left: 1px solid #eeeeef;
}
.jahan-account-shortcuts a:last-child { border-left: 0; }
.jahan-account-shortcuts a:hover { background: #fff7f9; }
.jahan-account-shortcuts span { font-size: 14px; font-weight: 800; }
.jahan-account-shortcuts small { color: #8a8a91; font-size: 11px; line-height: 1.8; }

/* Account content: headings, notices and empty states */
body.woocommerce-account .woocommerce-MyAccount-content > h2,
body.woocommerce-account .woocommerce-MyAccount-content > h3,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-order-details__title,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title {
    margin: 0 0 18px !important;
    color: #29292f;
    font-size: 18px !important;
    line-height: 1.6;
}
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-error {
    margin: 0 0 18px !important;
    padding: 14px 16px !important;
    border: 0 !important;
    border-radius: 12px;
    background: #f7f7f8;
    color: #55555d;
    font-size: 13px;
}

/* Forms */
body.woocommerce-account form .form-row { margin-bottom: 15px !important; }
body.woocommerce-account form label {
    display: block;
    margin-bottom: 7px;
    color: #55555d;
    font-size: 12px;
    font-weight: 700;
}
body.woocommerce-account form input[type="text"],
body.woocommerce-account form input[type="email"],
body.woocommerce-account form input[type="tel"],
body.woocommerce-account form input[type="password"],
body.woocommerce-account form select,
body.woocommerce-account form textarea,
body.woocommerce-account .select2-selection {
    min-height: 46px !important;
    padding: 0 13px !important;
    border: 1px solid #dedee2 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 13px !important;
}
body.woocommerce-account form textarea { min-height: 96px !important; padding-block: 11px !important; }
body.woocommerce-account form input:focus,
body.woocommerce-account form select:focus,
body.woocommerce-account form textarea:focus {
    border-color: rgba(215, 7, 68, .48) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(215, 7, 68, .07) !important;
}
body.woocommerce-account form fieldset {
    margin: 22px 0 0 !important;
    padding: 18px !important;
    border: 1px solid #ececef !important;
    border-radius: 13px;
}
body.woocommerce-account form legend {
    padding: 0 8px;
    color: #33333a;
    font-size: 13px;
    font-weight: 800;
}
body.woocommerce-account .button,
body.woocommerce-account button.button,
body.woocommerce-account input.button {
    min-height: 44px;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--j-red) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}
body.woocommerce-account .button:hover,
body.woocommerce-account button.button:hover,
body.woocommerce-account input.button:hover { background: var(--j-red-dark) !important; }

/* Orders */
body.woocommerce-account table.shop_table,
body.woocommerce-account .woocommerce-orders-table {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
    background: transparent !important;
}
body.woocommerce-account table.shop_table thead th {
    padding: 8px 13px !important;
    border: 0 !important;
    color: #8a8a92;
    background: transparent !important;
    font-size: 11px;
    font-weight: 700;
}
body.woocommerce-account table.shop_table tbody tr {
    border-radius: 12px;
    background: #fafafa;
}
body.woocommerce-account table.shop_table tbody td {
    padding: 14px 13px !important;
    border: 0 !important;
    border-top: 1px solid #eeeeef !important;
    border-bottom: 1px solid #eeeeef !important;
    color: #55555d;
    background: #fff !important;
    font-size: 12px;
}
body.woocommerce-account table.shop_table tbody td:first-child {
    border-right: 1px solid #eeeeef !important;
    border-radius: 0 12px 12px 0;
}
body.woocommerce-account table.shop_table tbody td:last-child {
    border-left: 1px solid #eeeeef !important;
    border-radius: 12px 0 0 12px;
}
body.woocommerce-account table.shop_table .button {
    min-height: 34px;
    padding: 0 12px !important;
    font-size: 11px !important;
}

/* Addresses */
body.woocommerce-account .u-columns.woocommerce-Addresses,
body.woocommerce-account .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
body.woocommerce-account .woocommerce-Address {
    float: none !important;
    width: auto !important;
    padding: 18px !important;
    border: 1px solid #ececef;
    border-radius: 14px;
    background: #fff;
}
body.woocommerce-account .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
body.woocommerce-account .woocommerce-Address-title h2 {
    margin: 0 !important;
    font-size: 15px !important;
}
body.woocommerce-account .woocommerce-Address-title a {
    color: var(--j-red) !important;
    font-size: 11px;
    font-weight: 800;
}
body.woocommerce-account address {
    color: #707078;
    font-size: 12px;
    font-style: normal;
    line-height: 2;
}

/* Logged-out account forms */
body:not(.logged-in).woocommerce-account .woocommerce {
    max-width: 940px;
    margin-inline: auto;
}
body:not(.logged-in).woocommerce-account .woocommerce-form-login,
body:not(.logged-in).woocommerce-account .woocommerce-form-register {
    padding: 24px !important;
    border: 1px solid #ececef !important;
    border-radius: 16px !important;
    background: #fff;
    box-shadow: 0 10px 30px rgba(25, 25, 25, .055);
}

@media (max-width: 900px) {
    body.woocommerce-account .jahan-page-shell {
        width: min(100% - 24px, 1280px) !important;
        padding: 20px 0 44px !important;
    }
    body.logged-in.woocommerce-account .woocommerce {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation {
        position: static;
        padding: 8px !important;
        overflow: hidden;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation ul {
        flex-direction: row;
        gap: 7px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        padding-bottom: 1px !important;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
    body.woocommerce-account .woocommerce-MyAccount-navigation li { flex: 0 0 auto; }
    body.woocommerce-account .woocommerce-MyAccount-navigation li a {
        min-height: 40px;
        padding: 0 13px !important;
        white-space: nowrap;
        font-size: 12px;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation li a::before { display: none; }
    body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: 0 !important;
    }
    body.woocommerce-account .woocommerce-MyAccount-content { padding: 17px !important; }
    .jahan-account-profile-card {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 13px;
        padding: 16px;
    }
    .jahan-account-avatar,
    .jahan-account-avatar img { width: 62px; height: 62px; }
    .jahan-account-edit-link {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 620px) {
    .jahan-account-profile-copy h2 { font-size: 17px !important; }
    .jahan-account-profile-copy p { align-items: flex-start; flex-direction: column; gap: 3px; }
    .jahan-account-profile-copy p i { display: none; }
    .jahan-account-stats { gap: 7px; }
    .jahan-account-stat { min-height: 88px; padding: 10px 6px; }
    .jahan-account-stat strong { font-size: 22px; }
    .jahan-account-stat span { font-size: 10px; text-align: center; }
    .jahan-account-shortcuts { grid-template-columns: minmax(0, 1fr); }
    .jahan-account-shortcuts a {
        border-left: 0;
        border-bottom: 1px solid #eeeeef;
        padding: 15px;
    }
    .jahan-account-shortcuts a:last-child { border-bottom: 0; }
    body.woocommerce-account .u-columns.woocommerce-Addresses,
    body.woocommerce-account .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); }

    body.woocommerce-account table.shop_table thead { display: none; }
    body.woocommerce-account table.shop_table,
    body.woocommerce-account table.shop_table tbody,
    body.woocommerce-account table.shop_table tr,
    body.woocommerce-account table.shop_table td { display: block; width: 100%; }
    body.woocommerce-account table.shop_table tbody tr {
        margin-bottom: 12px;
        padding: 8px 13px;
        border: 1px solid #ececef;
        border-radius: 13px;
        background: #fff;
    }
    body.woocommerce-account table.shop_table tbody td,
    body.woocommerce-account table.shop_table tbody td:first-child,
    body.woocommerce-account table.shop_table tbody td:last-child {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 9px 0 !important;
        border: 0 !important;
        border-bottom: 1px dashed #eeeeef !important;
        border-radius: 0;
        text-align: left !important;
    }
    body.woocommerce-account table.shop_table tbody td:last-child { border-bottom: 0 !important; }
    body.woocommerce-account table.shop_table tbody td::before {
        color: #8b8b92;
        font-size: 10px;
        font-weight: 700;
    }
}

/* =========================================================
   Jahan Clean 1.13: product reviews live only inside a compact tab
   ========================================================= */
body.single-product .woocommerce-tabs,
body.single-product .woocommerce-Tabs,
body.single-product .wd-tabs {
    width: 100% !important;
    max-width: var(--j-container) !important;
    margin: 24px auto 0 !important;
    padding-inline: var(--j-gap) !important;
}

body.single-product .woocommerce-tabs > ul.tabs,
body.single-product .woocommerce-Tabs > ul.tabs,
body.single-product .woocommerce-Tabs > ul.wc-tabs,
body.single-product .wd-tabs > .wd-nav-tabs {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 22px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 1px solid #ececec !important;
    border-radius: 14px 14px 0 0 !important;
    background: #fff !important;
    overflow-x: auto !important;
    scrollbar-width: none;
}

body.single-product .woocommerce-tabs > ul.tabs::-webkit-scrollbar,
body.single-product .woocommerce-Tabs > ul.tabs::-webkit-scrollbar,
body.single-product .woocommerce-Tabs > ul.wc-tabs::-webkit-scrollbar,
body.single-product .wd-tabs > .wd-nav-tabs::-webkit-scrollbar {
    display: none;
}

body.single-product .woocommerce-tabs > ul.tabs > li,
body.single-product .woocommerce-Tabs > ul.tabs > li,
body.single-product .woocommerce-Tabs > ul.wc-tabs > li,
body.single-product .wd-tabs > .wd-nav-tabs > li {
    position: relative !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.single-product .woocommerce-tabs > ul.tabs > li::before,
body.single-product .woocommerce-tabs > ul.tabs > li::after,
body.single-product .woocommerce-Tabs > ul.tabs > li::before,
body.single-product .woocommerce-Tabs > ul.tabs > li::after {
    display: none !important;
}

body.single-product .woocommerce-tabs > ul.tabs > li > a,
body.single-product .woocommerce-Tabs > ul.tabs > li > a,
body.single-product .woocommerce-Tabs > ul.wc-tabs > li > a,
body.single-product .wd-tabs > .wd-nav-tabs > li > a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 46px !important;
    padding: 0 2px !important;
    color: #686868 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    background: transparent !important;
}

body.single-product .woocommerce-tabs > ul.tabs > li > a::after,
body.single-product .woocommerce-Tabs > ul.tabs > li > a::after,
body.single-product .woocommerce-Tabs > ul.wc-tabs > li > a::after,
body.single-product .wd-tabs > .wd-nav-tabs > li > a::after {
    content: "" !important;
    position: absolute !important;
    inset-inline: 0 !important;
    inset-block-end: -1px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: var(--j-red) !important;
    opacity: 0 !important;
    transform: scaleX(.45) !important;
    transition: opacity .2s ease, transform .2s ease !important;
}

body.single-product .woocommerce-tabs > ul.tabs > li.active > a,
body.single-product .woocommerce-tabs > ul.tabs > li.is-active > a,
body.single-product .woocommerce-Tabs > ul.tabs > li.active > a,
body.single-product .woocommerce-Tabs > ul.tabs > li.is-active > a,
body.single-product .woocommerce-Tabs > ul.wc-tabs > li.active > a,
body.single-product .woocommerce-Tabs > ul.wc-tabs > li.is-active > a,
body.single-product .wd-tabs > .wd-nav-tabs > li.active > a,
body.single-product .wd-tabs > .wd-nav-tabs > li.is-active > a {
    color: #1f1f1f !important;
}

body.single-product .woocommerce-tabs > ul.tabs > li.active > a::after,
body.single-product .woocommerce-tabs > ul.tabs > li.is-active > a::after,
body.single-product .woocommerce-Tabs > ul.tabs > li.active > a::after,
body.single-product .woocommerce-Tabs > ul.tabs > li.is-active > a::after,
body.single-product .woocommerce-Tabs > ul.wc-tabs > li.active > a::after,
body.single-product .woocommerce-Tabs > ul.wc-tabs > li.is-active > a::after,
body.single-product .wd-tabs > .wd-nav-tabs > li.active > a::after,
body.single-product .wd-tabs > .wd-nav-tabs > li.is-active > a::after {
    opacity: 1 !important;
    transform: scaleX(1) !important;
}

body.single-product .woocommerce-Tabs-panel,
body.single-product .woocommerce-tabs .panel,
body.single-product .wd-tab-content {
    width: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
    border: 1px solid #ececec !important;
    border-top: 0 !important;
    border-radius: 0 0 14px 14px !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.single-product .wd-accordion-title,
body.single-product .wc-tab-title,
body.single-product .woocommerce-Tabs-panel > h2:first-child:not(.woocommerce-Reviews-title) {
    display: none !important;
}

/* Any Woodmart review summary is replaced by the tiny custom row. */
body.single-product #tab-reviews .wd-rating-summary,
body.single-product #tab-reviews .reviews-summary,
body.single-product #tab-reviews .rating-summary,
body.single-product #tab-reviews .woocommerce-review-link,
body.single-product #tab-reviews .wd-review-likes,
body.single-product #tab-reviews .review-summary {
    display: none !important;
}

body.single-product .jahan-review-mini-summary {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 7px 10px !important;
    min-height: 38px !important;
    margin: 0 0 12px !important;
    padding: 7px 10px !important;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    background: #fafafa !important;
}

body.single-product .jahan-review-mini-score {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 3px !important;
    white-space: nowrap !important;
}

body.single-product .jahan-review-mini-score strong {
    color: #222 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

body.single-product .jahan-review-mini-score span,
body.single-product .jahan-review-mini-count {
    color: #777 !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
}

body.single-product .jahan-review-mini-stars {
    position: relative !important;
    width: 64px !important;
    height: 12px !important;
    overflow: hidden !important;
    direction: ltr !important;
}

body.single-product .jahan-review-mini-stars::before,
body.single-product .jahan-review-mini-stars > span::before {
    content: "★★★★★" !important;
    position: absolute !important;
    inset: 0 !important;
    letter-spacing: 1px !important;
    font-size: 11px !important;
    line-height: 12px !important;
    white-space: nowrap !important;
}

body.single-product .jahan-review-mini-stars::before { color: #d9d9d9 !important; }
body.single-product .jahan-review-mini-stars > span {
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    overflow: hidden !important;
}
body.single-product .jahan-review-mini-stars > span::before { color: #f7a900 !important; }

body.single-product .jahan-review-form-toggle {
    min-height: 28px !important;
    margin-inline-start: auto !important;
    padding: 0 11px !important;
    border: 1px solid rgba(215, 7, 68, .22) !important;
    border-radius: 8px !important;
    color: var(--j-red) !important;
    background: #fff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}
body.single-product .jahan-review-form-toggle:hover,
body.single-product .jahan-review-form-toggle.is-active {
    color: #fff !important;
    border-color: var(--j-red) !important;
    background: var(--j-red) !important;
}

body.single-product #tab-reviews .woocommerce-Reviews {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.single-product #tab-reviews .woocommerce-Reviews #comments,
body.single-product #tab-reviews .woocommerce-Reviews #review_form_wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.single-product #tab-reviews .woocommerce-Reviews-title {
    margin: 0 0 8px !important;
    color: #333 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    font-weight: 800 !important;
}

body.single-product #tab-reviews .commentlist {
    max-height: 285px !important;
    margin: 0 !important;
    padding: 0 0 0 5px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

body.single-product #tab-reviews .commentlist > li {
    margin: 0 !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

body.single-product #tab-reviews #review_form_wrapper[hidden] {
    display: none !important;
}

body.single-product #tab-reviews #review_form_wrapper.is-open {
    display: block !important;
    margin-top: 12px !important;
    padding-top: 12px !important;
    border-top: 1px solid #eee !important;
}

body.single-product #tab-reviews #reply-title {
    margin: 0 0 8px !important;
    font-size: 12px !important;
}

body.single-product #tab-reviews .comment-form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px 9px !important;
}

body.single-product #tab-reviews .comment-form textarea {
    min-height: 64px !important;
    max-height: 110px !important;
}

@media (max-width: 767px) {
    body.single-product .woocommerce-tabs,
    body.single-product .woocommerce-Tabs,
    body.single-product .wd-tabs {
        margin-top: 16px !important;
        padding-inline: 10px !important;
    }

    body.single-product .woocommerce-tabs > ul.tabs,
    body.single-product .woocommerce-Tabs > ul.tabs,
    body.single-product .woocommerce-Tabs > ul.wc-tabs,
    body.single-product .wd-tabs > .wd-nav-tabs {
        gap: 18px !important;
        min-height: 44px !important;
        padding: 0 12px !important;
    }

    body.single-product .woocommerce-tabs > ul.tabs > li > a,
    body.single-product .woocommerce-Tabs > ul.tabs > li > a,
    body.single-product .woocommerce-Tabs > ul.wc-tabs > li > a,
    body.single-product .wd-tabs > .wd-nav-tabs > li > a {
        min-height: 42px !important;
        font-size: 12px !important;
    }

    body.single-product .woocommerce-Tabs-panel,
    body.single-product .woocommerce-tabs .panel,
    body.single-product .wd-tab-content {
        padding: 13px !important;
    }

    body.single-product .jahan-review-mini-summary {
        gap: 6px 8px !important;
        padding: 7px 8px !important;
    }

    body.single-product .jahan-review-form-toggle {
        margin-inline-start: 0 !important;
    }

    body.single-product #tab-reviews .commentlist {
        max-height: 245px !important;
    }

    body.single-product #tab-reviews .comment-form {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* =========================================================
   Jahan Clean 1.14 — Fully independent My Account UI
   No Woodmart dashboard look, no inherited layout assumptions
   ========================================================= */
body.logged-in.woocommerce-account {
    --ja-bg: #f6f6f7;
    --ja-surface: #ffffff;
    --ja-text: #23232a;
    --ja-muted: #777781;
    --ja-line: #e9e9ed;
    --ja-soft: #f4f4f6;
    --ja-red: #d70744;
    --ja-red-soft: #fff1f5;
    --ja-green: #149862;
    --ja-green-soft: #ecfaf4;
    --ja-amber: #b87908;
    --ja-amber-soft: #fff8e9;
    background: var(--ja-bg) !important;
}

body.logged-in.woocommerce-account .jahan-page-shell {
    width: min(100% - 32px, 1320px) !important;
    max-width: 1320px !important;
    margin-inline: auto !important;
    padding: 30px 0 64px !important;
}

body.logged-in.woocommerce-account .jahan-content-layout,
body.logged-in.woocommerce-account .jahan-site-content,
body.logged-in.woocommerce-account .site-content,
body.logged-in.woocommerce-account .content-layout-wrapper,
body.logged-in.woocommerce-account .wd-content-layout,
body.logged-in.woocommerce-account .woocommerce {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.logged-in.woocommerce-account .jahan-sidebar,
body.logged-in.woocommerce-account .sidebar-container,
body.logged-in.woocommerce-account .wd-sidebar,
body.logged-in.woocommerce-account aside[class*="sidebar"],
body.logged-in.woocommerce-account .area-sidebar-shop,
body.logged-in.woocommerce-account .page-title,
body.logged-in.woocommerce-account .wd-page-title,
body.logged-in.woocommerce-account .title-wrapper {
    display: none !important;
}

.jahan-account-app,
.jahan-account-app * {
    box-sizing: border-box;
}

.jahan-account-app {
    direction: rtl;
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    align-items: start;
    gap: 22px;
    width: 100%;
    color: var(--ja-text);
    font-family: inherit;
}

/* Right rail */
.jahan-account-rail {
    position: sticky;
    top: calc(var(--jahan-sticky-top, 0px) + 18px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.jahan-account-userbox {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 11px;
    min-height: 90px;
    padding: 15px;
    border: 1px solid var(--ja-line);
    border-radius: 18px;
    background: var(--ja-surface);
    box-shadow: 0 10px 32px rgba(22, 22, 29, .045);
}

.jahan-account-userbox__avatar,
.jahan-account-userbox__avatar img {
    width: 58px;
    height: 58px;
    border-radius: 18px;
}

.jahan-account-userbox__avatar {
    overflow: hidden;
    border: 3px solid #fff;
    background: #f0f0f2;
    box-shadow: 0 0 0 1px var(--ja-line);
}

.jahan-account-userbox__avatar img {
    display: block;
    object-fit: cover;
}

.jahan-account-userbox__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.65;
}

.jahan-account-userbox__copy > span {
    color: #9898a0;
    font-size: 10px;
    font-weight: 700;
}

.jahan-account-userbox__copy strong {
    overflow: hidden;
    color: var(--ja-text);
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jahan-account-userbox__copy small {
    overflow: hidden;
    color: var(--ja-muted);
    font-size: 10px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jahan-account-userbox__edit {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    color: var(--ja-red) !important;
    background: var(--ja-red-soft);
    transition: transform .2s ease, background .2s ease;
}

.jahan-account-userbox__edit:hover {
    color: #fff !important;
    background: var(--ja-red);
    transform: translateX(-2px);
}

.jahan-account-userbox__edit svg,
.jahan-account-nav svg,
.jahan-account-support svg,
.jahan-account-mainhead svg,
.jahan-dashboard svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.jahan-account-userbox__edit svg,
.jahan-account-nav__arrow svg,
.jahan-account-support > i svg,
.jahan-account-shoplink svg,
.jahan-dashboard a > i svg,
.jahan-dashboard-recent header > a svg {
    transform: rotate(180deg);
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation.jahan-account-nav {
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px !important;
    border: 1px solid var(--ja-line) !important;
    border-radius: 18px !important;
    background: var(--ja-surface) !important;
    box-shadow: 0 10px 32px rgba(22, 22, 29, .045) !important;
}

body.logged-in.woocommerce-account .jahan-account-nav ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.logged-in.woocommerce-account .jahan-account-nav li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.logged-in.woocommerce-account .jahan-account-nav li::before,
body.logged-in.woocommerce-account .jahan-account-nav li::after,
body.logged-in.woocommerce-account .jahan-account-nav a::before,
body.logged-in.woocommerce-account .jahan-account-nav a::after {
    display: none !important;
    content: none !important;
}

body.logged-in.woocommerce-account .jahan-account-nav a {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) 20px !important;
    align-items: center !important;
    gap: 9px !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 7px 9px !important;
    border: 0 !important;
    border-radius: 13px !important;
    color: #54545d !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    text-align: right !important;
    box-shadow: none !important;
    transition: color .2s ease, background .2s ease, transform .2s ease !important;
}

body.logged-in.woocommerce-account .jahan-account-nav a:hover {
    color: var(--ja-text) !important;
    background: #f7f7f8 !important;
    transform: translateX(-2px);
}

body.logged-in.woocommerce-account .jahan-account-nav li.is-active a {
    color: var(--ja-red) !important;
    background: var(--ja-red-soft) !important;
}

.jahan-account-nav__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    color: #767680;
    background: #f4f4f6;
}

.jahan-account-nav li.is-active .jahan-account-nav__icon {
    color: #fff;
    background: var(--ja-red);
    box-shadow: 0 7px 18px rgba(215, 7, 68, .2);
}

.jahan-account-nav__label {
    min-width: 0;
}

.jahan-account-nav__arrow {
    display: grid;
    place-items: center;
    color: #b1b1b8;
}

.jahan-account-nav__arrow svg {
    width: 15px;
    height: 15px;
}

.jahan-account-nav li.is-active .jahan-account-nav__arrow {
    color: var(--ja-red);
}

body.logged-in.woocommerce-account .jahan-account-nav .woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 5px !important;
    padding-top: 7px !important;
    border-top: 1px solid var(--ja-line) !important;
}

body.logged-in.woocommerce-account .jahan-account-nav .woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #c43c4f !important;
}

.jahan-account-support {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    min-height: 70px;
    padding: 12px 13px;
    border: 1px solid #f0dfe5;
    border-radius: 16px;
    color: var(--ja-text) !important;
    background: linear-gradient(135deg, #fff 0%, #fff5f8 100%);
}

.jahan-account-support:hover {
    border-color: #e6bdc9;
    color: var(--ja-text) !important;
}

.jahan-account-support__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    background: var(--ja-red);
}

.jahan-account-support > span:nth-child(2) {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.jahan-account-support strong {
    font-size: 11px;
    font-weight: 900;
}

.jahan-account-support small {
    color: var(--ja-muted);
    font-size: 9px;
    line-height: 1.7;
}

.jahan-account-support > i {
    display: grid;
    place-items: center;
    color: var(--ja-red);
}

/* Main panel */
.jahan-account-main {
    min-width: 0;
}

.jahan-account-mainhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 92px;
    margin-bottom: 14px;
    padding: 18px 22px;
    border: 1px solid var(--ja-line);
    border-radius: 20px;
    background: var(--ja-surface);
    box-shadow: 0 10px 34px rgba(22, 22, 29, .04);
}

.jahan-account-mainhead > div {
    min-width: 0;
}

.jahan-account-mainhead__eyebrow {
    display: block;
    margin-bottom: 2px;
    color: var(--ja-red);
    font-size: 10px;
    font-weight: 900;
}

.jahan-account-mainhead h1 {
    margin: 0 0 3px !important;
    color: var(--ja-text) !important;
    font-size: clamp(20px, 2vw, 26px) !important;
    font-weight: 950 !important;
    line-height: 1.4 !important;
}

.jahan-account-mainhead p {
    margin: 0 !important;
    color: var(--ja-muted);
    font-size: 11px;
    font-weight: 600;
}

.jahan-account-shoplink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid var(--ja-line);
    border-radius: 13px;
    color: #4f4f58 !important;
    background: #fff;
    font-size: 11px;
    font-weight: 900;
}

.jahan-account-shoplink:hover {
    border-color: var(--ja-red);
    color: var(--ja-red) !important;
}

.jahan-account-shoplink svg {
    width: 16px;
    height: 16px;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content,
.jahan-account-stage {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Dashboard */
.jahan-dashboard {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.jahan-dashboard-welcome {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 150px;
    padding: 26px 28px;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 13% 10%, rgba(255,255,255,.17), transparent 24%),
        linear-gradient(135deg, #b90038 0%, #d70744 52%, #ef376d 100%);
    box-shadow: 0 16px 36px rgba(191, 4, 57, .18);
}

.jahan-dashboard-welcome::after {
    position: absolute;
    left: -40px;
    bottom: -70px;
    width: 220px;
    height: 220px;
    border: 34px solid rgba(255,255,255,.07);
    border-radius: 50%;
    content: "";
}

.jahan-dashboard-welcome > div,
.jahan-dashboard-welcome > a {
    position: relative;
    z-index: 1;
}

.jahan-dashboard-welcome span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255,255,255,.8);
    font-size: 11px;
    font-weight: 700;
}

.jahan-dashboard-welcome h2 {
    margin: 0 0 5px !important;
    color: #fff !important;
    font-size: clamp(22px, 2.6vw, 31px) !important;
    font-weight: 950 !important;
}

.jahan-dashboard-welcome p {
    margin: 0 !important;
    color: rgba(255,255,255,.84);
    font-size: 11px;
    font-weight: 600;
}

.jahan-dashboard-welcome > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 13px;
    color: #fff !important;
    background: rgba(255,255,255,.13);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 900;
}

.jahan-dashboard-welcome > a:hover {
    background: rgba(255,255,255,.22);
}

.jahan-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.jahan-dashboard-stat {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 12px;
    min-height: 88px;
    padding: 14px 16px;
    border: 1px solid var(--ja-line);
    border-radius: 17px;
    color: var(--ja-text) !important;
    background: var(--ja-surface);
    box-shadow: 0 8px 24px rgba(22, 22, 29, .035);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.jahan-dashboard-stat:hover {
    border-color: #dadade;
    color: var(--ja-text) !important;
    box-shadow: 0 12px 28px rgba(22, 22, 29, .065);
    transform: translateY(-2px);
}

.jahan-dashboard-stat__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
}

.jahan-dashboard-stat.is-current .jahan-dashboard-stat__icon {
    color: var(--ja-amber);
    background: var(--ja-amber-soft);
}

.jahan-dashboard-stat.is-done .jahan-dashboard-stat__icon {
    color: var(--ja-green);
    background: var(--ja-green-soft);
}

.jahan-dashboard-stat.is-closed .jahan-dashboard-stat__icon {
    color: #7a7a83;
    background: #f0f0f2;
}

.jahan-dashboard-stat > span:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.jahan-dashboard-stat strong {
    color: var(--ja-text);
    font-size: 23px;
    font-weight: 950;
    line-height: 1.1;
}

.jahan-dashboard-stat small {
    margin-top: 3px;
    color: var(--ja-muted);
    font-size: 10px;
    font-weight: 700;
}

.jahan-dashboard-stat > i {
    display: grid;
    place-items: center;
    color: #b7b7bd;
}

.jahan-dashboard-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.jahan-dashboard-actions > a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 13px 15px;
    border: 1px solid var(--ja-line);
    border-radius: 17px;
    color: var(--ja-text) !important;
    background: var(--ja-surface);
    transition: border-color .2s ease, background .2s ease;
}

.jahan-dashboard-actions > a:hover {
    border-color: #e5c4cf;
    color: var(--ja-text) !important;
    background: #fffafb;
}

.jahan-dashboard-actions__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--ja-red);
    background: var(--ja-red-soft);
}

.jahan-dashboard-actions > a > span:nth-child(2) {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.jahan-dashboard-actions strong {
    color: var(--ja-text);
    font-size: 12px;
    font-weight: 900;
}

.jahan-dashboard-actions small {
    margin-top: 2px;
    color: var(--ja-muted);
    font-size: 9px;
    font-weight: 600;
}

.jahan-dashboard-actions > a > i {
    display: grid;
    place-items: center;
    color: #b8b8bf;
}

.jahan-dashboard-recent {
    padding: 20px;
    border: 1px solid var(--ja-line);
    border-radius: 20px;
    background: var(--ja-surface);
    box-shadow: 0 10px 32px rgba(22, 22, 29, .035);
}

.jahan-dashboard-recent > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.jahan-dashboard-recent header > div > span {
    display: block;
    color: var(--ja-red);
    font-size: 9px;
    font-weight: 900;
}

.jahan-dashboard-recent h3 {
    margin: 1px 0 0 !important;
    color: var(--ja-text) !important;
    font-size: 16px !important;
    font-weight: 950 !important;
}

.jahan-dashboard-recent header > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--ja-red) !important;
    font-size: 10px;
    font-weight: 900;
}

.jahan-dashboard-recent header > a svg {
    width: 14px;
    height: 14px;
}

.jahan-dashboard-orderlist {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.jahan-dashboard-order {
    display: grid;
    grid-template-columns: 9px minmax(155px, 1fr) auto auto 18px;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--ja-text) !important;
    background: #f8f8f9;
}

.jahan-dashboard-order:hover {
    border-color: var(--ja-line);
    color: var(--ja-text) !important;
    background: #fff;
}

.jahan-dashboard-order__mark {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ja-red);
    box-shadow: 0 0 0 4px var(--ja-red-soft);
}

.jahan-dashboard-order__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.jahan-dashboard-order__main strong {
    color: var(--ja-text);
    font-size: 11px;
    font-weight: 900;
}

.jahan-dashboard-order__main small {
    color: var(--ja-muted);
    font-size: 9px;
    font-weight: 600;
}

.jahan-dashboard-order__status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 9px;
    color: #62626b;
    background: #ececef;
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
}

.jahan-dashboard-order__status.status-processing,
.jahan-dashboard-order__status.status-on-hold,
.jahan-dashboard-order__status.status-pending {
    color: var(--ja-amber);
    background: var(--ja-amber-soft);
}

.jahan-dashboard-order__status.status-completed {
    color: var(--ja-green);
    background: var(--ja-green-soft);
}

.jahan-dashboard-order__status.status-cancelled,
.jahan-dashboard-order__status.status-refunded,
.jahan-dashboard-order__status.status-failed {
    color: #b34053;
    background: #fff0f2;
}

.jahan-dashboard-order__total {
    color: var(--ja-text);
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.jahan-dashboard-order > i {
    display: grid;
    place-items: center;
    color: #b4b4bb;
}

.jahan-dashboard-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    padding: 26px;
    text-align: center;
}

.jahan-dashboard-empty > span {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 12px;
    border-radius: 20px;
    color: var(--ja-red);
    background: var(--ja-red-soft);
}

.jahan-dashboard-empty > span svg {
    width: 28px;
    height: 28px;
}

.jahan-dashboard-empty h3 {
    margin: 0 0 5px !important;
    font-size: 15px !important;
    font-weight: 950 !important;
}

.jahan-dashboard-empty p {
    margin: 0 0 14px !important;
    color: var(--ja-muted);
    font-size: 10px;
}

.jahan-dashboard-empty a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 12px;
    color: #fff !important;
    background: var(--ja-red);
    font-size: 10px;
    font-weight: 900;
}

/* Endpoint surfaces — forms, tables, notices, addresses */
body.logged-in.woocommerce-account .jahan-account-stage > :not(.jahan-dashboard):not(.woocommerce-notices-wrapper),
body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-notices-wrapper + form,
body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-notices-wrapper + .woocommerce-Addresses {
    max-width: 100%;
}

body.logged-in.woocommerce-account .jahan-account-stage > form,
body.logged-in.woocommerce-account .jahan-account-stage > .woocommerce-Addresses,
body.logged-in.woocommerce-account .jahan-account-stage > .woocommerce-order-details,
body.logged-in.woocommerce-account .jahan-account-stage > .woocommerce-customer-details,
body.logged-in.woocommerce-account .jahan-account-stage > .woocommerce-Payment,
body.logged-in.woocommerce-account .jahan-account-stage > .woocommerce-MyAccount-paymentMethods,
body.logged-in.woocommerce-account .jahan-account-stage > .woocommerce-table,
body.logged-in.woocommerce-account .jahan-account-stage > .woocommerce-orders-table,
body.logged-in.woocommerce-account .jahan-account-stage > .woocommerce-info,
body.logged-in.woocommerce-account .jahan-account-stage > p:not(.order-again) {
    margin-top: 0;
}

body.logged-in.woocommerce-account .jahan-account-stage form,
body.logged-in.woocommerce-account .jahan-account-stage fieldset,
body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-Address,
body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-order-details,
body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-customer-details,
body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-Payment,
body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-MyAccount-paymentMethods,
body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-table,
body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-orders-table {
    border-color: var(--ja-line) !important;
    border-radius: 18px !important;
    background: var(--ja-surface) !important;
    box-shadow: 0 10px 32px rgba(22, 22, 29, .035) !important;
}

body.logged-in.woocommerce-account .jahan-account-stage form {
    padding: 22px !important;
}

body.logged-in.woocommerce-account .jahan-account-stage fieldset {
    margin: 22px 0 0 !important;
    padding: 18px !important;
    border: 1px solid var(--ja-line) !important;
    box-shadow: none !important;
}

body.logged-in.woocommerce-account .jahan-account-stage legend {
    padding: 0 8px !important;
    color: var(--ja-text) !important;
    font-size: 12px !important;
    font-weight: 950 !important;
}

body.logged-in.woocommerce-account .jahan-account-stage .form-row {
    margin: 0 0 14px !important;
}

body.logged-in.woocommerce-account .jahan-account-stage label {
    display: block !important;
    margin: 0 0 6px !important;
    color: #55555e !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    line-height: 1.6 !important;
}

body.logged-in.woocommerce-account .jahan-account-stage input[type="text"],
body.logged-in.woocommerce-account .jahan-account-stage input[type="email"],
body.logged-in.woocommerce-account .jahan-account-stage input[type="tel"],
body.logged-in.woocommerce-account .jahan-account-stage input[type="password"],
body.logged-in.woocommerce-account .jahan-account-stage input[type="number"],
body.logged-in.woocommerce-account .jahan-account-stage select,
body.logged-in.woocommerce-account .jahan-account-stage textarea,
body.logged-in.woocommerce-account .jahan-account-stage .select2-selection {
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 1px solid #dedee3 !important;
    border-radius: 13px !important;
    color: var(--ja-text) !important;
    background: #fbfbfc !important;
    font-family: inherit !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    outline: 0 !important;
    box-shadow: none !important;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease !important;
}

body.logged-in.woocommerce-account .jahan-account-stage textarea {
    min-height: 105px !important;
    padding-block: 12px !important;
    resize: vertical;
}

body.logged-in.woocommerce-account .jahan-account-stage input:focus,
body.logged-in.woocommerce-account .jahan-account-stage select:focus,
body.logged-in.woocommerce-account .jahan-account-stage textarea:focus,
body.logged-in.woocommerce-account .jahan-account-stage .select2-container--open .select2-selection {
    border-color: rgba(215, 7, 68, .45) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(215, 7, 68, .07) !important;
}

body.logged-in.woocommerce-account .jahan-account-stage .select2-selection__rendered {
    line-height: 44px !important;
}

body.logged-in.woocommerce-account .jahan-account-stage .select2-selection__arrow {
    height: 44px !important;
}

body.logged-in.woocommerce-account .jahan-account-stage button,
body.logged-in.woocommerce-account .jahan-account-stage .button,
body.logged-in.woocommerce-account .jahan-account-stage a.button,
body.logged-in.woocommerce-account .jahan-account-stage input[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #fff !important;
    background: var(--ja-red) !important;
    font-family: inherit !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-transform: none !important;
    box-shadow: none !important;
}

body.logged-in.woocommerce-account .jahan-account-stage button:hover,
body.logged-in.woocommerce-account .jahan-account-stage .button:hover,
body.logged-in.woocommerce-account .jahan-account-stage a.button:hover,
body.logged-in.woocommerce-account .jahan-account-stage input[type="submit"]:hover {
    color: #fff !important;
    background: #b90038 !important;
    transform: none !important;
}

body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-button--next,
body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-button--previous,
body.logged-in.woocommerce-account .jahan-account-stage .order-again .button {
    color: #4f4f58 !important;
    background: #eeeeF1 !important;
}

body.logged-in.woocommerce-account .jahan-account-stage h2,
body.logged-in.woocommerce-account .jahan-account-stage h3,
body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-order-details__title,
body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-column__title {
    margin: 0 0 13px !important;
    color: var(--ja-text) !important;
    font-size: 15px !important;
    font-weight: 950 !important;
}

body.logged-in.woocommerce-account .jahan-account-stage p {
    color: #66666f;
    font-size: 11px;
    line-height: 2;
}

body.logged-in.woocommerce-account .woocommerce-message,
body.logged-in.woocommerce-account .woocommerce-info,
body.logged-in.woocommerce-account .woocommerce-error {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 52px !important;
    margin: 0 0 13px !important;
    padding: 11px 14px !important;
    border: 1px solid var(--ja-line) !important;
    border-right: 4px solid var(--ja-red) !important;
    border-radius: 14px !important;
    color: #56565f !important;
    background: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 25px rgba(22,22,29,.035) !important;
}

body.logged-in.woocommerce-account .woocommerce-message::before,
body.logged-in.woocommerce-account .woocommerce-info::before,
body.logged-in.woocommerce-account .woocommerce-error::before {
    display: none !important;
}

/* Orders and details */
body.logged-in.woocommerce-account .jahan-account-stage table,
body.logged-in.woocommerce-account .jahan-account-stage table.shop_table,
body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-orders-table {
    width: 100% !important;
    margin: 0 !important;
    border: 1px solid var(--ja-line) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
}

body.logged-in.woocommerce-account .jahan-account-stage table thead th {
    height: 46px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ja-line) !important;
    color: #81818a !important;
    background: #f7f7f8 !important;
    font-size: 9px !important;
    font-weight: 850 !important;
    text-align: right !important;
}

body.logged-in.woocommerce-account .jahan-account-stage table tbody td,
body.logged-in.woocommerce-account .jahan-account-stage table tfoot th,
body.logged-in.woocommerce-account .jahan-account-stage table tfoot td {
    min-height: 54px !important;
    padding: 13px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #f0f0f2 !important;
    color: #54545d !important;
    background: #fff !important;
    font-size: 10px !important;
    font-weight: 650 !important;
    text-align: right !important;
    vertical-align: middle !important;
}

body.logged-in.woocommerce-account .jahan-account-stage table tbody tr:last-child td,
body.logged-in.woocommerce-account .jahan-account-stage table tfoot tr:last-child th,
body.logged-in.woocommerce-account .jahan-account-stage table tfoot tr:last-child td {
    border-bottom: 0 !important;
}

body.logged-in.woocommerce-account .jahan-account-stage table tbody tr:hover td {
    background: #fffafb !important;
}

body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-orders-table__cell-order-number a {
    color: var(--ja-red) !important;
    font-weight: 900 !important;
}

body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-orders-table__cell-order-actions {
    white-space: nowrap;
}

body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-orders-table__cell-order-actions .button {
    min-height: 34px !important;
    padding: 0 11px !important;
    border: 1px solid #ead7dd !important;
    color: var(--ja-red) !important;
    background: var(--ja-red-soft) !important;
}

body.logged-in.woocommerce-account .jahan-account-stage mark {
    padding: 3px 7px;
    border-radius: 7px;
    color: var(--ja-amber);
    background: var(--ja-amber-soft);
}

/* Address cards */
body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-Addresses,
body.logged-in.woocommerce-account .jahan-account-stage .u-columns.woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 !important;
}

body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-Address {
    float: none !important;
    width: 100% !important;
    min-height: 190px;
    margin: 0 !important;
    padding: 19px !important;
    border: 1px solid var(--ja-line) !important;
}

body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-Address-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 0 13px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ja-line);
}

body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-Address-title h2 {
    margin: 0 !important;
}

body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-Address-title a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 9px;
    color: var(--ja-red) !important;
    background: var(--ja-red-soft);
    font-size: 9px;
    font-weight: 900;
}

body.logged-in.woocommerce-account .jahan-account-stage address {
    margin: 0 !important;
    color: #686871 !important;
    font-size: 10px !important;
    font-style: normal !important;
    line-height: 2.15 !important;
}

/* Order detail columns */
body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-column {
    width: 100% !important;
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid var(--ja-line) !important;
    border-radius: 18px !important;
    background: #fff !important;
}

/* Pagination */
body.logged-in.woocommerce-account .woocommerce-pagination {
    margin-top: 13px !important;
}

body.logged-in.woocommerce-account .woocommerce-pagination .button {
    margin-left: 6px !important;
}

/* Mobile / tablet */
@media (max-width: 980px) {
    body.logged-in.woocommerce-account .jahan-page-shell {
        width: min(100% - 24px, 1320px) !important;
        padding-top: 20px !important;
    }

    .jahan-account-app {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
    }

    .jahan-account-rail {
        position: static;
        gap: 9px;
    }

    .jahan-account-userbox {
        min-height: 76px;
        grid-template-columns: 48px minmax(0, 1fr) 30px;
        border-radius: 16px;
    }

    .jahan-account-userbox__avatar,
    .jahan-account-userbox__avatar img {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation.jahan-account-nav {
        overflow: hidden !important;
        padding: 7px !important;
        border-radius: 16px !important;
    }

    body.logged-in.woocommerce-account .jahan-account-nav ul {
        flex-direction: row !important;
        gap: 6px !important;
        overflow-x: auto !important;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }

    body.logged-in.woocommerce-account .jahan-account-nav ul::-webkit-scrollbar {
        display: none;
    }

    body.logged-in.woocommerce-account .jahan-account-nav li {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    body.logged-in.woocommerce-account .jahan-account-nav a {
        grid-template-columns: 28px auto !important;
        min-height: 40px !important;
        padding: 6px 10px !important;
        white-space: nowrap !important;
    }

    .jahan-account-nav__icon {
        width: 28px;
        height: 28px;
        border-radius: 9px;
    }

    .jahan-account-nav__icon svg {
        width: 15px;
        height: 15px;
    }

    .jahan-account-nav__arrow {
        display: none;
    }

    body.logged-in.woocommerce-account .jahan-account-nav .woocommerce-MyAccount-navigation-link--customer-logout {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: 0 !important;
    }

    .jahan-account-support {
        display: none;
    }

    .jahan-account-mainhead {
        min-height: 82px;
        border-radius: 17px;
    }
}

@media (max-width: 720px) {
    body.logged-in.woocommerce-account .jahan-page-shell {
        width: min(100% - 16px, 1320px) !important;
        padding: 12px 0 42px !important;
    }

    .jahan-account-mainhead {
        align-items: flex-start;
        min-height: 0;
        padding: 15px;
    }

    .jahan-account-mainhead h1 {
        font-size: 19px !important;
    }

    .jahan-account-mainhead p {
        font-size: 9px;
        line-height: 1.8;
    }

    .jahan-account-shoplink {
        min-height: 36px;
        padding: 0 10px;
        font-size: 9px;
    }

    .jahan-dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
        min-height: 180px;
        padding: 21px;
    }

    .jahan-dashboard-welcome h2 {
        font-size: 24px !important;
    }

    .jahan-dashboard-welcome > a {
        min-height: 38px;
    }

    .jahan-dashboard-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .jahan-dashboard-stat {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 7px;
        min-height: 116px;
        padding: 11px 5px;
        text-align: center;
    }

    .jahan-dashboard-stat__icon {
        width: 39px;
        height: 39px;
        border-radius: 13px;
    }

    .jahan-dashboard-stat__icon svg {
        width: 17px;
        height: 17px;
    }

    .jahan-dashboard-stat strong {
        font-size: 20px;
    }

    .jahan-dashboard-stat small {
        font-size: 8px;
    }

    .jahan-dashboard-stat > i {
        display: none;
    }

    .jahan-dashboard-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .jahan-dashboard-recent {
        padding: 15px;
        border-radius: 17px;
    }

    .jahan-dashboard-order {
        grid-template-columns: 8px minmax(0, 1fr) 18px;
        gap: 9px;
        padding: 11px;
    }

    .jahan-dashboard-order__status,
    .jahan-dashboard-order__total {
        grid-column: 2;
        justify-self: start;
    }

    .jahan-dashboard-order > i {
        grid-column: 3;
        grid-row: 1 / span 3;
    }

    body.logged-in.woocommerce-account .jahan-account-stage form {
        padding: 16px !important;
    }

    body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-Addresses,
    body.logged-in.woocommerce-account .jahan-account-stage .u-columns.woocommerce-Addresses,
    body.logged-in.woocommerce-account .jahan-account-stage .woocommerce-columns {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.logged-in.woocommerce-account .jahan-account-stage table thead {
        display: none !important;
    }

    body.logged-in.woocommerce-account .jahan-account-stage table,
    body.logged-in.woocommerce-account .jahan-account-stage table tbody,
    body.logged-in.woocommerce-account .jahan-account-stage table tr,
    body.logged-in.woocommerce-account .jahan-account-stage table td {
        display: block !important;
        width: 100% !important;
    }

    body.logged-in.woocommerce-account .jahan-account-stage table {
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.logged-in.woocommerce-account .jahan-account-stage table tbody {
        display: flex !important;
        flex-direction: column;
        gap: 9px;
    }

    body.logged-in.woocommerce-account .jahan-account-stage table tbody tr {
        display: block !important;
        padding: 8px 12px !important;
        border: 1px solid var(--ja-line) !important;
        border-radius: 15px !important;
        background: #fff !important;
        box-shadow: 0 8px 24px rgba(22,22,29,.035);
    }

    body.logged-in.woocommerce-account .jahan-account-stage table tbody td {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 14px !important;
        min-height: 38px !important;
        padding: 8px 0 !important;
        border: 0 !important;
        border-bottom: 1px dashed #ececef !important;
        background: transparent !important;
        text-align: left !important;
    }

    body.logged-in.woocommerce-account .jahan-account-stage table tbody td:last-child {
        border-bottom: 0 !important;
    }

    body.logged-in.woocommerce-account .jahan-account-stage table tbody td::before {
        color: #8a8a92 !important;
        font-size: 8px !important;
        font-weight: 800 !important;
    }
}
