.bewo-shop-page,
.bewo-product-single,
.bewo-shop-page *,
.bewo-product-single * {
    box-sizing: border-box;
}

.bewo-shop-page,
.bewo-product-single {
    direction: rtl;
    color: #130b07;
    background:
        radial-gradient(circle at 10% 5%, rgba(216,181,141,.45), transparent 28%),
        linear-gradient(180deg, #fffaf4 0%, #fff4e8 100%);
}

.bewo-shop-hero,
.bewo-product-hero {
    min-height: 72vh;
    padding: 150px 7vw 90px;
    display: grid;
    align-content: center;
}

.bewo-product-hero {
    grid-template-columns: 1fr .85fr;
    gap: 54px;
    align-items: center;
}

.bewo-shop-hero span,
.bewo-product-hero span,
.bewo-product-story span {
    display: inline-block;
    margin-bottom: 24px;
    color: #7a6656;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.bewo-shop-hero h1,
.bewo-product-hero h1 {
    max-width: 1100px;
    margin: 0 0 28px;
    font-size: clamp(64px, 10vw, 154px);
    line-height: .94;
    letter-spacing: -5px;
    font-weight: 950;
}

.bewo-shop-hero p,
.bewo-product-hero p,
.bewo-product-story p {
    max-width: 760px;
    color: #7a6656;
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 2.12;
}

.bewo-shop-grid {
    padding: 0 7vw 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.bewo-product-card {
    min-height: 480px;
    padding: 24px;
    border-radius: 46px;
    background: rgba(255,250,244,.82);
    border: 1px solid rgba(74,44,29,.16);
    transition: transform .28s ease, box-shadow .28s ease;
}

.bewo-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 120px rgba(74,44,29,.16);
}

.bewo-product-card a {
    color: inherit;
    text-decoration: none;
}

.bewo-product-visual {
    height: 240px;
    border-radius: 34px;
    margin-bottom: 26px;
    display: grid;
    place-items: end start;
    padding: 24px;
    background:
        radial-gradient(circle at 60% 40%, #5a3b2d 0 18%, transparent 19%),
        radial-gradient(circle at 48% 43%, #fffaf4 0 28%, transparent 29%),
        linear-gradient(135deg, #f3dfc6, #b87945);
}

.bewo-product-visual span {
    padding: 8px 14px;
    border-radius: 999px;
    color: #fffaf4;
    background: rgba(28,16,11,.8);
    font-size: 12px;
}

.bewo-product-card small {
    color: #7a6656;
}

.bewo-product-card h2 {
    margin: 16px 0 12px;
    font-size: 34px;
    letter-spacing: -1.5px;
}

.bewo-product-card p {
    color: #7a6656;
    line-height: 2;
}

.bewo-product-card strong {
    display: inline-flex;
    margin-top: 14px;
    font-size: 20px;
}

.bewo-product-art {
    min-height: 520px;
    border-radius: 68px;
    display: grid;
    place-items: end start;
    padding: 40px;
    box-shadow: 0 40px 120px rgba(74,44,29,.18);
    background:
        radial-gradient(circle at 48% 42%, #4a2c1d 0 18%, transparent 19%),
        radial-gradient(circle at 50% 42%, #fffaf4 0 30%, transparent 31%),
        linear-gradient(135deg, #f3dfc6, #b87945);
}

.bewo-product-art span {
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,250,244,.8);
    color: #4a2c1d;
    letter-spacing: 1px;
}

.bewo-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.bewo-order-btn,
.bewo-ghost-btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 30px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid #130b07;
}

.bewo-order-btn {
    background: #130b07;
    color: #fff !important;
}

.bewo-ghost-btn {
    color: #130b07 !important;
}

.bewo-product-specs {
    padding: 0 7vw 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.bewo-product-specs div {
    padding: 26px;
    border-radius: 30px;
    background: #fffaf4;
    border: 1px solid rgba(74,44,29,.16);
}

.bewo-product-specs span {
    display: block;
    color: #7a6656;
    margin-bottom: 8px;
}

.bewo-product-specs strong {
    font-size: 20px;
}

.bewo-product-story {
    padding: 70px 7vw;
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 24px;
}

.bewo-product-story > div,
.bewo-taste-panel,
.bewo-product-faq {
    padding: 44px;
    border-radius: 46px;
    background: #fff;
    border: 1px solid rgba(74,44,29,.16);
}

.bewo-product-story h2,
.bewo-product-faq h2 {
    margin: 0 0 22px;
    font-size: clamp(42px, 6vw, 88px);
    line-height: 1.08;
    letter-spacing: -3px;
}

.bewo-taste-panel h3 {
    margin-top: 0;
    font-size: 34px;
}

.bewo-taste-panel p {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(74,44,29,.16);
}

.bewo-taste-panel b {
    color: #b87945;
    letter-spacing: 4px;
}

.bewo-product-faq {
    margin: 0 7vw 100px;
}

.bewo-product-faq > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.bewo-product-faq article {
    padding: 26px;
    border-radius: 30px;
    background: #fff4e8;
}

@media (max-width: 1000px) {
    .bewo-shop-grid,
    .bewo-product-hero,
    .bewo-product-story,
    .bewo-product-faq > div {
        grid-template-columns: 1fr;
    }

    .bewo-product-specs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .bewo-shop-hero,
    .bewo-product-hero {
        padding: 120px 22px 60px;
    }

    .bewo-shop-grid,
    .bewo-product-specs,
    .bewo-product-story {
        padding-inline: 22px;
    }

    .bewo-product-specs {
        grid-template-columns: 1fr;
    }

    .bewo-product-faq {
        margin-inline: 22px;
        padding: 30px;
    }

    .bewo-shop-hero h1,
    .bewo-product-hero h1 {
        font-size: 62px;
        letter-spacing: -2px;
    }

    .bewo-product-art {
        min-height: 360px;
        border-radius: 38px;
    }
}


.bewo-product-specifications,
.bewo-product-specs {
    direction: rtl !important;
    text-align: right !important;
}

.bewo-product-specs > div {
    direction: rtl !important;
    text-align: right !important;
    justify-self: stretch;
}

.bewo-product-specs > div > span,
.bewo-product-specs > div > strong {
    display: block !important;
    width: 100% !important;
    direction: rtl !important;
    text-align: right !important;
 
}

/* =========================================
   BEWO Product Image
========================================= */

.bewo-product-visual {
    width: 100%;
    height: 340px;
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px;
    box-sizing: border-box;

    border-radius: 18px;
    background:
        radial-gradient(
            circle at center,
            rgba(190, 126, 70, 0.12),
            rgba(10, 8, 7, 0.96) 70%
        );
}

.bewo-product-visual .bewo-product-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
    object-position: center;

    margin: 0;
    padding: 0;

    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}

.bewo-product-card:hover .bewo-product-image {
    transform: scale(1.035);
    filter: brightness(1.05);
}

.bewo-product-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(202, 143, 82, 0.2);
    border-radius: 14px;

    color: #d7a66d;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* تبلت */
@media (max-width: 900px) {
    .bewo-product-visual {
        height: 300px;
        padding: 14px;
    }
}

/* موبایل */
@media (max-width: 600px) {
    .bewo-product-visual {
        height: 260px;
        padding: 12px;
        border-radius: 15px;
    }
}

/* =========================================
   FIX: نمایش کامل عکس محصول
   حتماً در انتهای bewo-shop.css قرار بگیرد
========================================= */

.bewo-shop-grid .bewo-product-card {
    overflow: visible !important;
}

.bewo-shop-grid .bewo-product-card > a {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: visible !important;
}

.bewo-shop-grid .bewo-product-visual {
    position: relative !important;

    width: 100% !important;
    height: 360px !important;
    min-height: 360px !important;
    max-height: none !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;
    padding: 18px !important;

    box-sizing: border-box !important;
}

.bewo-shop-grid .bewo-product-visual img,
.bewo-shop-grid img.bewo-product-image,
.bewo-shop-grid .bewo-product-card img {
    position: static !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center center !important;

    transform: none;
    clip-path: none !important;
}

/* جلوگیری از تبدیل عکس به نوار باریک */
.bewo-product-visual picture,
.bewo-product-visual picture img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* موبایل */
@media (max-width: 700px) {
    .bewo-shop-grid .bewo-product-visual {
        height: 300px !important;
        min-height: 300px !important;
        padding: 12px !important;
    }
}





