/* ===== صفحه محصول ===== */
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
.single-product div.product{display:grid;gap:28px;grid-template-columns:minmax(0,1fr);margin:0}
.single-product div.product>*{min-width:0}
@media(min-width:960px){.single-product div.product{grid-template-columns:minmax(0,5fr) minmax(0,6fr);align-items:start}}
.single-product div.product>.ls-pd-more,.single-product div.product>.related,.single-product div.product>.up-sells,.single-product div.product>.woocommerce-notices-wrapper{grid-column:1/-1}

/* گالری */
.ls-pd__chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.ls-chip{display:inline-block;padding:2px 12px;border-radius:999px;font-weight:700;font-size:.85rem;background:var(--ls-primary-tint,#eef3fe);color:var(--ls-navy,#16223c)}
.ls-chip--sale{background:var(--ls-accent-tint,#fff0f0);color:var(--ls-accent-dark,#b14746)}
.ls-chip--out{background:#f2f4f7;color:#475467}
.ls-pd__stage{position:relative;background:#fff;border:1px solid #e3e8f4;border-radius:20px;padding:14px;box-shadow:0 8px 30px rgba(87,135,242,.08)}
.single-product div.product .ls-pd__gallery div.images{width:100%!important;float:none!important;margin:0!important}
.ls-pd__stage .woocommerce-product-gallery__image img{width:100%;height:auto;border-radius:12px;display:block}
.ls-pd__stage .woocommerce-product-gallery__trigger{left:auto!important;right:12px!important;top:12px!important;z-index:6}
.ls-pd__tools{position:absolute;top:14px;left:14px;display:grid;gap:8px;z-index:6}
.ls-tool{width:40px;height:40px;border:0;border-radius:12px;background:#f1f4fb;color:#344054;display:grid;place-items:center;cursor:pointer;transition:background .15s,color .15s}
.ls-tool:hover{background:var(--ls-primary,#5787f2);color:#fff}
.ls-tool--wl a{color:inherit}
.ls-pd__stage .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:12px 0 0!important;padding:0;list-style:none}
.ls-pd__stage .flex-control-thumbs li{width:auto!important;float:none!important;margin:0!important}
.ls-pd__stage .flex-control-thumbs img{display:block;width:100%;height:auto;border:2px solid transparent;border-radius:10px;opacity:.65;cursor:pointer;transition:opacity .15s,border-color .15s}
.ls-pd__stage .flex-control-thumbs img.flex-active,.ls-pd__stage .flex-control-thumbs img:hover{opacity:1;border-color:var(--ls-primary,#5787f2)}

/* کارت مشخصات */
.single-product div.product div.summary{float:none!important;width:auto!important;margin:0!important;background:linear-gradient(180deg,var(--ls-primary-tint,#eef3fe) 0,#fff 150px);border:1px solid #dbe4fb;border-radius:20px;padding:24px;box-shadow:0 8px 30px rgba(87,135,242,.08)}
.ls-breadcrumb{font-size:.8rem;color:#667085;margin:0 0 10px}
.ls-breadcrumb a{color:#667085;text-decoration:none}
.ls-breadcrumb a:hover{color:var(--ls-primary-dark,#3d5ea9)}
.ls-bc-sep{margin:0 4px;opacity:.6}
.single-product .product_title{position:relative;font-size:1.45rem;line-height:1.8;margin:0 0 16px;padding-bottom:16px}
.single-product .product_title::after{content:"";position:absolute;inset-inline-start:0;bottom:0;width:52px;height:4px;border-radius:2px;background:var(--ls-accent,#fd6564)}
.single-product .woocommerce-product-rating{display:flex;align-items:center;gap:8px;margin:0 0 6px}
.single-product .star-rating{color:#f5a623;float:none;margin:0}
.single-product .woocommerce-review-link{font-size:.85rem;color:#667085;text-decoration:none}
.single-product .summary .price{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;font-size:1.7rem;font-weight:800;margin:6px 0 0;padding-bottom:14px;color:#101828}
.single-product .summary .price ins{text-decoration:none;color:var(--ls-accent-dark,#b14746);background:none}
.single-product .summary .price del{font-size:1rem;font-weight:400;color:#8a93a8}
.single-product .summary .price .woocommerce-Price-currencySymbol{font-size:.85rem;font-weight:600;color:#475467}
.ls-off{display:inline-block;margin:0 0 12px;padding:2px 12px;border-radius:999px;background:var(--ls-accent,#fd6564);color:var(--ls-on-accent,#1a1d29);font-weight:800;font-size:.85rem}
.ls-specs{margin:6px 0 16px;padding:8px 0 0;border-top:1px solid #e3e8f4}
.ls-specs>div{display:flex;gap:10px;padding:9px 0;border-bottom:1px dashed #dde3f0}
.ls-specs>div:last-child{border-bottom:0}
.ls-specs dt{flex:0 0 34%;color:#667085;font-size:.92rem}
.ls-specs dt::after{content:":"}
.ls-specs dd{margin:0;font-weight:600;color:#1a1d29;unicode-bidi:plaintext;min-width:0;overflow-wrap:anywhere}
.single-product .woocommerce-product-details__short-description{font-size:.9rem;color:#475467;margin:0 0 12px}

/* فرم خرید */
.single-product form.cart{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:14px 0}
.single-product form.variations_form.cart{display:block}
.single-product table.variations,.single-product table.variations tbody,.single-product table.variations tr,.single-product table.variations th,.single-product table.variations td{display:block;border:0;padding:0;width:100%}
.single-product table.variations{margin:0 0 12px}
.single-product table.variations th.label{font-weight:700;margin:8px 0 4px;text-align:start}
.single-product table.variations select{width:100%;padding:11px 12px;border:1px solid #d0d5dd;border-radius:10px;background:#fff;font-family:inherit}
.single-product .reset_variations{font-size:.8rem;color:var(--ls-primary-dark,#3d5ea9)}
.single-product .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.single-product .single_add_to_cart_button{flex:1;min-width:180px;padding:15px 22px!important;font-size:1rem!important;border-radius:12px!important;box-shadow:0 10px 20px rgba(253,101,100,.28)}
.single-product .quantity.ls-q{display:inline-flex;align-items:stretch;border:1px solid #d0d5dd;border-radius:12px;overflow:hidden;background:#fff}
.single-product .quantity.ls-q input.qty{width:52px;border:0;text-align:center;font-family:inherit;font-weight:700;padding:0;background:none;-moz-appearance:textfield}
.single-product .quantity.ls-q input.qty::-webkit-outer-spin-button,.single-product .quantity.ls-q input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.ls-qbtn{width:40px;border:0;background:#f4f6fb;font-size:1.2rem;cursor:pointer;color:#344054}
.ls-qbtn:hover{background:var(--ls-primary-tint,#eef3fe);color:var(--ls-primary-dark,#3d5ea9)}
.single-product .stock{font-size:.9rem;margin:0 0 8px}
.single-product .stock.out-of-stock{color:#b42318}
.single-product .stock.in-stock{color:#067647}
.ls-trust{list-style:none;margin:0 0 14px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ls-trust li{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;padding:10px 6px;border-radius:12px;background:var(--ls-primary-tint,#eef3fe);font-size:.72rem;line-height:1.6}
.ls-trust li span{font-size:1.2rem}
.ls-trust b{font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:479px){.ls-trust{grid-template-columns:1fr}.ls-trust li{flex-direction:row;justify-content:flex-start;text-align:start}}
.single-product .product_meta{display:grid;gap:4px;border-top:1px solid #e3e8f4;padding-top:12px;font-size:.85rem;color:#667085}
.single-product .product_meta>span{display:block}
.single-product .product_meta a{color:var(--ls-primary-dark,#3d5ea9);text-decoration:none}
.ls-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;font-size:.85rem;color:#667085}
.ls-share a,.ls-share button{width:38px;height:38px;border:1px solid #d0d5dd;border-radius:50%;background:#fff;color:#475467;display:grid;place-items:center;cursor:pointer;transition:all .15s}
.ls-share a:hover,.ls-share button:hover{background:var(--ls-primary,#5787f2);border-color:var(--ls-primary,#5787f2);color:#fff}

/* ناوبری کارتی بخش‌ها */
.ls-pd-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin:8px 0 32px}
.ls-pd-nav__item{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:140px;padding:18px 16px;border:1px solid #e3e8f4;border-radius:16px;background:#fff;color:#1a1d29;text-decoration:none;font-weight:600;transition:border-color .15s,box-shadow .15s,transform .15s}
.ls-pd-nav__item .ls-svg{color:var(--ls-primary-dark,#3d5ea9)}
.ls-pd-nav__item:hover{border-color:var(--ls-primary,#5787f2);box-shadow:0 8px 22px rgba(87,135,242,.15);transform:translateY(-2px)}
.ls-pd-nav__item.is-active{border-color:var(--ls-accent,#fd6564);box-shadow:inset 0 -3px 0 var(--ls-accent,#fd6564)}
@media(max-width:599px){.ls-pd-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ls-pd-nav__item{min-width:0;padding:14px 8px}}

/* بخش‌ها */
.ls-pd-sec{margin:0 0 36px;scroll-margin-top:120px}
.ls-pd-sec__head{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.ls-pd-sec__ico{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--ls-primary-tint,#eef3fe);color:var(--ls-primary-dark,#3d5ea9);flex:none}
.ls-pd-sec:nth-of-type(even) .ls-pd-sec__ico{background:var(--ls-accent-tint,#fff0f0);color:var(--ls-accent-dark,#b14746)}
.ls-pd-sec__head h2{margin:0;font-size:1.35rem;line-height:1.5}
.ls-pd-sec__head small{display:block;direction:ltr;text-align:right;color:#98a2b3;font-size:.75rem}
.ls-pd-sec__body{position:relative;background:#fff;border:1px solid #e3e8f4;border-radius:16px;padding:22px;overflow-wrap:anywhere}
.ls-pd-sec__body img{max-width:100%;height:auto}
.ls-pd-sec__body table{display:block;max-width:100%;overflow-x:auto}
.ls-pd-sec__body iframe,.ls-pd-sec__body video{max-width:100%}
.ls-pd-sec__body h2,.ls-pd-sec__body h3{margin:1.4em 0 .6em}
.ls-pd-sec__body.is-collapsed{max-height:380px;overflow:hidden}
.ls-pd-sec__body.is-collapsed::after{content:"";position:absolute;inset:auto 0 0 0;height:110px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 85%);pointer-events:none}
.ls-more-wrap{display:flex;justify-content:center;margin-top:-18px;position:relative;z-index:2}
.ls-more-btn{border:0;border-radius:999px;padding:8px 22px;background:var(--ls-primary-dark,#3d5ea9);color:#fff;font-family:inherit;font-weight:700;cursor:pointer;box-shadow:0 6px 16px rgba(87,135,242,.3)}
.ls-more-btn:hover{background:var(--ls-navy,#16223c)}

/* جدول مشخصات فنی */
.ls-pd-sec .woocommerce-product-attributes{display:table;width:100%;border-collapse:separate;border-spacing:0;border:0}
.ls-pd-sec .woocommerce-product-attributes tr:nth-child(odd) th,.ls-pd-sec .woocommerce-product-attributes tr:nth-child(odd) td{background:var(--ls-primary-tint,#eef3fe)}
.ls-pd-sec .woocommerce-product-attributes th{width:34%;text-align:start;color:#667085;font-weight:600;padding:12px 16px;border:0;vertical-align:top}
.ls-pd-sec .woocommerce-product-attributes td{padding:12px 16px;border:0;font-style:normal;unicode-bidi:plaintext}
.ls-pd-sec .woocommerce-product-attributes td p{margin:0;padding:0}
.ls-pd-sec .woocommerce-product-attributes tr:first-child th{border-start-start-radius:10px}.ls-pd-sec .woocommerce-product-attributes tr:first-child td{border-start-end-radius:10px}

/* دیدگاه‌ها */
.ls-pd-sec #reviews #comments ol.commentlist{padding:0;margin:0 0 20px;list-style:none}
.ls-pd-sec #reviews #comments ol.commentlist li{margin:0 0 14px;padding:0;list-style:none}
.ls-pd-sec #reviews .comment_container{display:flex;gap:12px;align-items:flex-start}
.ls-pd-sec #reviews img.avatar{position:static;width:48px;height:48px;border-radius:50%;padding:0;border:0;flex:none}
.ls-pd-sec #reviews .comment-text{flex:1;margin:0!important;padding:12px 16px!important;border:1px solid #e3e8f4!important;border-radius:12px}
.ls-pd-sec #reviews .comment-text p{margin:0 0 6px}
.ls-pd-sec #reviews #respond input[type=text],.ls-pd-sec #reviews #respond input[type=email],.ls-pd-sec #reviews #respond textarea{width:100%;padding:10px 12px;border:1px solid #d0d5dd;border-radius:10px;font-family:inherit}
.ls-pd-sec #reviews .comment-reply-title{display:block;font-weight:800;margin-bottom:8px}

/* محصولات مرتبط و پیشنهادی */
.single-product section.related>h2,.single-product section.up-sells>h2{font-size:1.35rem;margin:0 0 16px;border-inline-start:4px solid var(--ls-accent,#fd6564);padding-inline-start:10px}
.single-product section.related ul.products,.single-product section.up-sells ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:900px){.single-product section.related ul.products,.single-product section.up-sells ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}}
