@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//kerno.shop/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=7.5.2") format("woff2");
}

:root {
	--wd-text-font: iranyekan;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: iranyekan;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: iranyekan;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: iranyekan;
	--wd-widget-title-font: iranyekan;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: iranyekan;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: FF4708;
	--wd-alternative-color: rgb(255,71,8);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(255,71,8);
	--btn-accented-bgcolor-hover: rgb(56,56,56);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 233px;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
.page-title-default {
	background-color: #e8e8e8;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.footer-container {
	background-color: #f4f4f4;
	background-image: none;
}
html .wd-product .price, html .wd-product .price > .amount, html .wd-product .price ins > .amount {
	font-weight: 600;
	font-size: 16px;
	color: rgb(0,0,0);
}
html .wd-product .price:hover, html .wd-product .price > .amount:hover, html .wd-product .price ins > .amount:hover {
	color: rgb(58,58,58);
}
html .main-page-wrapper .wd-product .product-wrapper .wd-entities-title {
	font-weight: 500;
	font-size: 20px;
	color: rgb(0,0,0);
}
html .main-page-wrapper .wd-product .product-wrapper .wd-entities-title a:hover {
	color: rgb(56,56,56);
}
.page .main-page-wrapper {
	background-color: rgb(255,255,255);
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1322px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
}


rs-slides :is([data-type=text],[data-type=button]) {
font-family: iranyekan !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: iranyekan !important;
}

@media (min-width: 1025px) {
	/* استایل کلی گالری */
.cg-gallery-container {
    display: grid !important;
    grid-template-columns: 180px 1fr !important; /* سمت راست ۱۸۰ پیکسل (تامبنیل)، سمت چپ مابقی (تصویر اصلی) */
    gap: 16px !important;
    direction: rtl !important;
    width: 100% !important;
    align-items: start !important;
}

/* ستون سمت چپ - تصویر اصلی */
.cg-main-column {
    grid-column: 2 !important;
    width: 100% !important;
}

.cg-main-stage {
    position: relative !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}

.cg-main-stage img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* آیکون ذره‌بین نارنجی با علامت + */
.cg-zoom-btn {
    position: absolute !important;
    left: 16px !important;
    bottom: 16px !important;
    z-index: 90 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #ff6a00 !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.4) !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.cg-zoom-btn:hover {
    transform: scale(1.08) !important;
    background: #e55f00 !important;
}

.cg-zoom-btn svg {
    width: 24px !important;
    height: 24px !important;
    fill: none !important;
}

/* ستون سمت راست - تامبنیل‌ها */
.cg-thumbs-column {
    grid-column: 1 !important;
    position: relative !important;
    width: 180px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* قفل دقیق ارتفاع برای نمایش حداکثر ۸ تصویر (۴ ردیف تایی) */
.cg-thumbs-viewport {
    width: 100% !important;
    height: 370px !important; /* ارتفاع قفل شده برای ۸ تامبنیل */
    overflow: hidden !important;
    position: relative !important;
}

.cg-thumbs-track {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    will-change: transform !important;
}

.cg-thumb-item {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border: 2px solid #eaeaea !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    padding: 0 !important;
    background: #fff !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease !important;
}

.cg-thumb-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.cg-thumb-item.is-active {
    border-color: #ff6a00 !important;
}

.cg-3d-label {
    position: absolute !important;
    right: 4px !important;
    bottom: 4px !important;
    background: #ff6a00 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: bold !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
}

/* دکمه‌های فلش بالا و پایین */
.cg-arrow {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #e2e2e2 !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 4px 0 !important;
    z-index: 10 !important;
    color: #333 !important;
}

.cg-arrow svg {
    width: 22px !important;
    height: 22px !important;
    fill: currentColor !important;
}

.cg-arrow:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
}

.cg-mobile-pagination {
    display: none !important;
}

/* استایل مودال‌ها (لایت‌باکس و 3D) */
.cg-lightbox-overlay[hidden] {
    display: none !important;
}

.cg-lightbox-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cg-lightbox-bg {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.85) !important;
}

.cg-lightbox-content, .cg-3d-content {
    position: relative !important;
    z-index: 2 !important;
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
}

.cg-lightbox-content img {
    max-width: 85vw !important;
    max-height: 85vh !important;
    display: block !important;
    margin: auto !important;
}

.cg-3d-content {
    width: min(90vw, 850px) !important;
    height: min(80vh, 650px) !important;
}

#cg-3d-viewer {
    width: 100% !important;
    height: 100% !important;
}

.cg-close-btn {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(0,0,0,0.6) !important;
    color: #fff !important;
    border: none !important;
    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

/* حالت موبایل */
@media (max-width: 767px) {
    .cg-gallery-container {
        grid-template-columns: 1fr !important;
    }
    .cg-main-column {
        grid-column: 1 !important;
    }
    .cg-thumbs-column {
        grid-column: 1 !important;
        width: 100% !important;
        margin-top: 12px !important;
    }
    .cg-thumbs-viewport {
        height: auto !important;
    }
    .cg-thumbs-track {
        grid-template-columns: repeat(8, minmax(40px, 1fr)) !important;
        gap: 6px !important;
    }
    .cg-arrow {
        display: none !important;
    }
    .cg-mobile-pagination {
        display: flex !important;
        gap: 6px !important;
        margin-top: 8px !important;
    }
    .cg-mobile-pagination button {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        border: none !important;
        background: #ccc !important;
        padding: 0 !important;
    }
    .cg-mobile-pagination button.active {
        background: #ff6a00 !important;
    }
}

}

