.ym-single-product {
    padding: 24px 0 70px;
    background: #fff;
    color: var(--ym-ink);
}
.ym-single-product a { text-decoration: none; }
.ym-product-breadcrumb { min-height: 24px; margin-bottom: 18px; color: #8a949e; font-size: 11.5px; }
.ym-product-breadcrumb .woocommerce-breadcrumb { margin: 0; color: inherit; font-size: inherit; }
.ym-product-breadcrumb .woocommerce-breadcrumb > span { margin: 0 7px; opacity: .45; }

.ym-product-hero {
    display: grid;
    grid-template-columns: minmax(250px, .8fr) minmax(360px, 1.38fr) minmax(300px, .92fr);
    gap: 24px;
    align-items: start;
    direction: ltr;
}
.ym-product-gallery,
.ym-product-summary,
.ym-product-inquiry { direction: rtl; }
.ym-product-gallery { grid-column: 3; grid-row: 1; min-width: 0; }
.ym-product-summary { grid-column: 2; grid-row: 1; min-width: 0; padding: 8px 2px; }
.ym-product-inquiry { grid-column: 1; grid-row: 1; }

.ym-product-gallery__stage {
    position: relative;
    aspect-ratio: 1 / .92;
    min-height: 350px;
    border: 1px solid var(--ym-line);
    border-radius: var(--ym-radius-lg);
    background: #fff;
    overflow: hidden;
    isolation: isolate;
}
.ym-product-gallery__slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    border: 0;
    border-radius: inherit;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    cursor: zoom-in;
}
.ym-product-gallery__slide.is-active { opacity: 1; visibility: visible; }
.ym-product-gallery__slide img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.ym-product-gallery__placeholder { width: 100%; height: 100%; display: grid; place-items: center; padding: 34px; }
.ym-product-gallery__placeholder img { max-height: 260px; object-fit: contain; }
.ym-product-gallery__zoom {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: var(--ym-radius-sm);
    background: rgba(255,255,255,.9);
    color: var(--ym-secondary);
    box-shadow: 0 5px 18px rgba(21,35,50,.08);
    pointer-events: none;
}
.ym-product-gallery__zoom svg { width: 19px; height: 19px; }
.ym-product-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.ym-product-gallery__thumb {
    width: 64px;
    height: 58px;
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    padding: 6px;
    border: 1px solid var(--ym-line);
    border-radius: var(--ym-radius-sm);
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.ym-product-gallery__thumb.is-active { border-color: var(--ym-primary); box-shadow: 0 0 0 2px rgba(var(--ym-primary-rgb), .12); }
.ym-product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }

.ym-product-summary__eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 30px; margin-bottom: 8px; }
.ym-product-brand,
.ym-product-original { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 4px 9px; border-radius: var(--ym-radius-sm); font-size: 11.5px; font-weight: 700; }
.ym-product-brand { background: #f5f7f9; color: #5d6975; }
.ym-product-brand img { width: 20px; height: 20px; object-fit: contain; }
.ym-product-original { background: rgba(var(--ym-primary-rgb), .1); color: var(--ym-primary); }
.ym-product-original svg { width: 17px; height: 17px; }
.ym-product-title { margin: 0 0 11px; font-size: clamp(22px, 2vw, 28px); line-height: 1.5; font-weight: 850; letter-spacing: -.2px; }
.ym-product-meta-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 18px; color: #7b8792; font-size: 11.5px; }
.ym-product-meta-line b { color: #5a6671; font-weight: 700; }
.ym-product-meta-line a { color: var(--ym-primary); }

.ym-product-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 17px; }
.ym-product-feature { min-height: 62px; display: flex; align-items: center; gap: 10px; padding: 10px 11px; border: 1px solid #e4eaf0; border-radius: var(--ym-radius); background: #fff; }
.ym-product-feature__icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: var(--ym-radius-sm); background: rgba(var(--ym-primary-rgb), .1); color: var(--ym-primary); }
.ym-product-feature__icon svg { width: 18px; height: 18px; }
.ym-product-feature strong,
.ym-product-feature small { display: block; }
.ym-product-feature strong { color: var(--ym-ink); font-size: 12px; line-height: 1.55; font-weight: 800; }
.ym-product-feature small { margin-top: 1px; color: #929ca5; font-size: 10px; line-height: 1.55; }
.ym-product-short-description { max-width: 680px; color: #67737e; font-size: 13px; line-height: 1.95; }
.ym-product-short-description p { margin: 0 0 8px; }
.ym-product-short-description ul { margin: 8px 0 0; padding-right: 18px; }
.ym-product-extra-text { margin: 8px 0 0; color: var(--ym-primary); font-size: 12px; font-weight: 700; }
.ym-product-share { display: flex; align-items: center; gap: 7px; margin-top: 15px; color: #8c97a1; font-size: 11px; }
.ym-product-share > a,
.ym-product-share > button { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 1px solid #e1e7eb; border-radius: 9px; background: #fff; color: #71808d; font: 700 9px/1 var(--ym-font); transition: .18s ease; }
.ym-product-share > a:hover,
.ym-product-share > button:hover { border-color: var(--ym-primary); color: var(--ym-primary); background: rgba(var(--ym-primary-rgb), .06); }
.ym-product-share svg { width: 15px; height: 15px; }

.ym-product-inquiry {
    align-self: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    padding: 24px 22px;
    border: 1px solid rgba(var(--ym-primary-rgb), .34);
    border-radius: var(--ym-radius-lg);
    background: linear-gradient(180deg, #fff, rgba(var(--ym-primary-rgb), .035));
    box-shadow: 0 8px 24px rgba(31,48,64,.04);
}
.ym-product-inquiry__icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 13px; border-radius: var(--ym-radius); background: var(--ym-secondary); color: #fff; }
.ym-product-inquiry__icon svg { width: 21px; height: 21px; }
.ym-product-inquiry h2 { margin: 0 0 8px; font-size: 16px; line-height: 1.65; font-weight: 850; }
.ym-product-inquiry > p { margin: 0 0 14px; color: #73808b; font-size: 12px; line-height: 1.9; }
.ym-product-inquiry ul { display: grid; gap: 7px; margin: 0 0 16px; padding: 0; list-style: none; }
.ym-product-inquiry li { display: flex; align-items: center; gap: 7px; color: #5f6b76; font-size: 11.5px; }
.ym-product-inquiry li svg { width: 16px; height: 16px; color: var(--ym-primary); }
.ym-product-inquiry__phone { display: block; margin-bottom: 8px; color: var(--ym-secondary); font-size: 12px; font-weight: 800; text-align: center; }
.ym-product-inquiry__button { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border-radius: var(--ym-radius-sm); background: var(--ym-primary); color: #fff; font-size: 12.5px; font-weight: 800; transition: transform .18s ease, filter .18s ease; }
.ym-product-inquiry__button:hover { color: #fff; filter: brightness(.94); transform: translateY(-1px); }
.ym-product-inquiry__button svg { width: 18px; height: 18px; }

.ym-product-details { margin-top: 42px; border-top: 1px solid var(--ym-line); }
.ym-product-tabs { display: flex; align-items: flex-end; gap: 4px; min-height: 48px; margin-top: -1px; border-bottom: 1px solid var(--ym-line); }
.ym-product-tabs button { position: relative; min-height: 48px; padding: 0 17px; border: 0; border-radius: var(--ym-radius-sm) var(--ym-radius-sm) 0 0; background: transparent; color: #73808b; font-size: 12.5px; font-weight: 750; }
.ym-product-tabs button::after { content: ''; position: absolute; right: 14px; left: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.ym-product-tabs button.is-active { color: var(--ym-secondary); background: rgba(var(--ym-primary-rgb), .055); }
.ym-product-tabs button.is-active::after { background: var(--ym-primary); }
.ym-product-tabs button span { opacity: .55; font-size: 10px; }
.ym-product-tab-panel { padding: 28px 4px 10px; }
.ym-product-tab-panel[hidden] { display: none !important; }
.ym-product-description { max-width: none; color: #303942; font-size: 13.5px; line-height: 2.05; }
.ym-product-description h2 { margin: 30px 0 10px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.65; }
.ym-product-description h3 { margin: 25px 0 8px; font-size: 17px; line-height: 1.7; }
.ym-product-description p { margin: 0 0 13px; }
.ym-product-description ul,
.ym-product-description ol { margin: 0 0 15px; padding-right: 20px; }
.ym-product-description img { border-radius: var(--ym-radius); }
.ym-product-description table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ym-product-description th,
.ym-product-description td { padding: 11px 12px; border: 1px solid var(--ym-line); text-align: right; }
.ym-product-empty { margin: 0; color: #8b959e; }

.ym-product-specs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 22px; margin: 0; }
.ym-product-specs > div { display: grid; grid-template-columns: minmax(120px, .65fr) minmax(0, 1.35fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid #edf0f2; }
.ym-product-specs dt { color: #77838e; font-size: 12px; font-weight: 650; }
.ym-product-specs dd { margin: 0; color: #27313a; font-size: 12.5px; font-weight: 650; }
.ym-product-reviews #reviews { max-width: 900px; }
.ym-product-reviews .woocommerce-Reviews-title { font-size: 18px; }
.ym-product-reviews .comment-reply-title { font-size: 16px; font-weight: 800; }
.ym-product-reviews textarea { width: 100%; border: 1px solid var(--ym-line); padding: 12px; }

.ym-related-products { margin-top: 60px; }
.ym-related-products__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.ym-related-products__head span { color: var(--ym-primary); font-size: 10px; font-weight: 800; }
.ym-related-products__head h2 { margin: 2px 0 0; font-size: 19px; line-height: 1.5; font-weight: 850; }
.ym-related-products__arrows { display: flex; gap: 6px; direction: ltr; }
.ym-related-products__arrows button { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid var(--ym-line); border-radius: var(--ym-radius-sm); background: #fff; color: var(--ym-secondary); }
.ym-related-products__arrows button:hover { border-color: var(--ym-primary); color: var(--ym-primary); }
.ym-related-products__arrows button svg { width: 17px; height: 17px; }
.ym-related-products__arrows button:first-child svg { transform: rotate(180deg); }
.ym-related-products__viewport { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-behavior: smooth; }
.ym-related-products__viewport::-webkit-scrollbar { display: none; }
.ym-related-products__track { display: flex; gap: 12px; direction: rtl; }
.ym-related-products--columns-2 .ym-product-card { flex: 0 0 calc((100% - 12px) / 2); }
.ym-related-products--columns-3 .ym-product-card { flex: 0 0 calc((100% - 24px) / 3); }
.ym-related-products--columns-4 .ym-product-card { flex: 0 0 calc((100% - 36px) / 4); }
.ym-related-products--columns-5 .ym-product-card { flex: 0 0 calc((100% - 48px) / 5); }
.ym-related-products--columns-6 .ym-product-card { flex: 0 0 calc((100% - 60px) / 6); }

.ym-product-lightbox { position: fixed; inset: 0; z-index: 999999; display: grid; place-items: center; padding: 36px; background: rgba(10,16,23,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ym-product-lightbox[hidden] { display: none !important; }
.ym-product-lightbox img { max-width: min(92vw, 1200px); max-height: 88vh; object-fit: contain; border-radius: var(--ym-radius); background: #fff; }
.ym-product-lightbox__close { position: fixed; top: 20px; left: 20px; width: 42px; height: 42px; border: 0; border-radius: var(--ym-radius-sm); background: #fff; color: #111; font-size: 25px; line-height: 1; }
.ym-product-toast { position: fixed; right: 50%; bottom: 24px; z-index: 1000000; transform: translate(50%, 18px); padding: 9px 14px; border-radius: var(--ym-radius-sm); background: var(--ym-secondary); color: #fff; font-size: 11px; opacity: 0; visibility: hidden; transition: .2s ease; }
.ym-product-toast.is-visible { transform: translate(50%, 0); opacity: 1; visibility: visible; }
body.ym-lightbox-open { overflow: hidden; }

@media (max-width: 1120px) {
    .ym-product-hero { grid-template-columns: minmax(300px, .95fr) minmax(0, 1.25fr); }
    .ym-product-gallery { grid-column: 2; grid-row: 1; }
    .ym-product-summary { grid-column: 1; grid-row: 1; }
    .ym-product-inquiry { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px 18px; padding: 18px 20px; }
    .ym-product-inquiry__icon { grid-row: 1 / span 2; margin: 0; }
    .ym-product-inquiry h2 { margin: 0; }
    .ym-product-inquiry > p { margin: 0; }
    .ym-product-inquiry ul { display: none; }
    .ym-product-inquiry__phone { grid-column: 3; grid-row: 1; margin: 0; }
    .ym-product-inquiry__button { grid-column: 3; grid-row: 2; min-width: 180px; }
}

@media (max-width: 780px) {
    .ym-single-product { padding-top: 16px; padding-bottom: 54px; }
    .ym-product-breadcrumb { margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ym-product-hero { grid-template-columns: 1fr; gap: 18px; }
    .ym-product-gallery,
    .ym-product-summary,
    .ym-product-inquiry { grid-column: 1; }
    .ym-product-gallery { grid-row: 1; }
    .ym-product-summary { grid-row: 2; padding: 0; }
    .ym-product-inquiry { grid-row: 3; display: flex; align-items: stretch; padding: 19px; }
    .ym-product-inquiry__icon { margin-bottom: 10px; }
    .ym-product-inquiry > p { margin-bottom: 12px; }
    .ym-product-inquiry ul { display: grid; }
    .ym-product-inquiry__phone,
    .ym-product-inquiry__button { margin: 0; min-width: 0; }
    .ym-product-gallery__stage { min-height: 0; aspect-ratio: 1 / .88; }
    .ym-product-gallery__slide { padding: 22px; }
    .ym-product-title { font-size: clamp(21px, 6vw, 26px); }
    .ym-product-details { margin-top: 34px; }
    .ym-product-tabs { overflow-x: auto; justify-content: flex-start; }
    .ym-product-tabs button { flex: 0 0 auto; padding-inline: 14px; }
    .ym-product-tab-panel { padding-top: 22px; }
    .ym-product-description { font-size: 13px; line-height: 2; }
    .ym-product-specs { grid-template-columns: 1fr; }
    .ym-related-products { margin-top: 46px; }
    .ym-related-products .ym-product-card { flex-basis: calc((100% - 12px) / 2); }
}

@media (max-width: 520px) {
    .ym-product-features { grid-template-columns: 1fr 1fr; gap: 7px; }
    .ym-product-feature { min-height: 58px; padding: 8px; gap: 8px; }
    .ym-product-feature__icon { width: 30px; height: 30px; flex-basis: 30px; }
    .ym-product-feature strong { font-size: 11px; }
    .ym-product-feature small { font-size: 9px; }
    .ym-product-meta-line { display: grid; gap: 5px; }
    .ym-product-share { flex-wrap: wrap; }
    .ym-related-products__head { align-items: center; }
    .ym-related-products .ym-product-card { flex-basis: 82%; }
    .ym-product-lightbox { padding: 18px; }
    .ym-product-lightbox__close { top: 12px; left: 12px; }
}


/* v0.9.0 — consistent share icons and compact inquiry card. */
.ym-product-share__item--whatsapp{color:#168c46!important}.ym-product-share__item--telegram{color:#168dcc!important}.ym-product-share__item--x{color:#111827!important}.ym-product-share__item--linkedin{color:#0a66c2!important}.ym-product-share__item--whatsapp:hover{border-color:#25d366!important;background:rgba(37,211,102,.08)!important}.ym-product-share__item--telegram:hover{border-color:#229ed9!important;background:rgba(34,158,217,.08)!important}.ym-product-share__item--x:hover{border-color:#111827!important;background:rgba(17,24,39,.06)!important}.ym-product-share__item--linkedin:hover{border-color:#0a66c2!important;background:rgba(10,102,194,.07)!important}.ym-product-inquiry{height:auto!important}
