/* 3D PICS — WooCommerce product draft design */
body.single-product { background:#0b1011; color:#f7f2e9; --theme-text-color:#f7f2e9; --theme-link-initial-color:#dfb56a; }
body.single-product #main, body.single-product .ct-container-full { background:#0b1011; color:#f7f2e9; }
body.single-product #header [data-row="middle"] { background:#101719; box-shadow:0 1px 0 rgba(227,186,112,.22); }
body.single-product #header .site-title a { color:#f5eee2; font-weight:800; letter-spacing:.035em; }
body.single-product #header a, body.single-product #header button { color:#f5eee2; }
body.single-product #header a:hover { color:#e4b96f; }
body.single-product .hero-section { background:#0b1011; }
body.single-product .ct-breadcrumbs { color:#aaadb0; font-size:13px; }
body.single-product .ct-breadcrumbs a { color:#d9b06b; }
body.single-product .product-entry-wrapper { max-width:1180px; padding-top:18px; padding-bottom:52px; gap:clamp(25px,5vw,76px); align-items:start; }
body.single-product .woocommerce-product-gallery { padding:12px; background:#151d1e; border:1px solid rgba(225,185,112,.28); border-radius:17px; box-shadow:0 22px 70px rgba(0,0,0,.32); }
body.single-product .woocommerce-product-gallery .ct-media-container { background:#101617; border-radius:10px; overflow:hidden; }
body.single-product .woocommerce-product-gallery img { object-fit:contain !important; max-height:650px; width:100%; height:auto; }
body.single-product .out-of-stock-badge { display:none; }
body.single-product .summary { background:linear-gradient(145deg,#182123,#111718); border:1px solid rgba(225,185,112,.22); border-radius:18px; padding:clamp(24px,3vw,45px); box-shadow:0 18px 50px rgba(0,0,0,.22); }
body.single-product .summary .product_title { color:#f4ddaf; font-size:clamp(29px,3.5vw,46px); line-height:1.14; margin-bottom:23px; }
body.single-product .woocommerce-product-details__short-description { color:#f0eee9; font-size:clamp(17px,1.6vw,20px); line-height:1.75; }
body.single-product .summary .price, body.single-product .summary .ct-product-add-to-cart, body.single-product .summary .ct-product-divider { display:none; }
body.single-product .product_meta { margin-top:30px; padding-top:21px; border-top:1px solid rgba(225,185,112,.22); color:#b7bdbd; font-size:14px; line-height:2; }
body.single-product .product_meta a { color:#dfb56a; }
body.single-product .woocommerce-tabs { max-width:1180px; margin:0 auto 75px; padding:0 28px; color:#f7f2e9; }
body.single-product .woocommerce-tabs .tabs { border-bottom:1px solid rgba(225,185,112,.32); }
body.single-product .woocommerce-tabs .tabs a, body.single-product .woocommerce-tabs .tabs .active a { color:#e9c587; }
body.single-product .woocommerce-tabs article { padding:23px 27px; background:#151d1e; border:1px solid rgba(225,185,112,.2); border-radius:14px; }
body.single-product .woocommerce-product-attributes { color:#f1eee8; }
body.single-product .woocommerce-product-attributes th, body.single-product .woocommerce-product-attributes td { border-color:rgba(225,185,112,.18); background:transparent; color:#f1eee8; }
body.single-product .woocommerce-tabs::after { content:"הדגמת אפקט התלת־ממד והווריו תתווסף כאן לאחר צילום מקורי של התמונה מזוויות שונות."; display:block; margin-top:28px; padding:35px 30px; min-height:145px; border:1px dashed rgba(225,185,112,.55); border-radius:15px; background:linear-gradient(135deg,#1d2020,#111819); color:#f2d6a1; font-size:18px; text-align:center; line-height:1.6; }
body.single-product #footer { background:#0a0e0f; color:#a9adae; border-top:1px solid rgba(225,185,112,.2); }
body.single-product .ct-panel { background:#11191a; color:#f8efe0; }
@media(max-width:767px){ body.single-product .hero-section { padding:22px 18px 5px; } body.single-product .product-entry-wrapper { padding:10px 17px 32px; gap:22px; } body.single-product .woocommerce-product-gallery { padding:7px; border-radius:12px; } body.single-product .summary { padding:23px 20px; border-radius:13px; } body.single-product .woocommerce-tabs { padding:0 17px; margin-bottom:48px; } body.single-product .woocommerce-tabs article { padding:18px; } body.single-product .woocommerce-tabs::after { padding:27px 21px; font-size:16px; } }
/* 3D PICS — catalog archive */
body.tax-product_cat, body.post-type-archive-product { background:#0b1011; color:#f7f2e9; --theme-text-color:#f7f2e9; --theme-link-initial-color:#dfb56a; }
body.tax-product_cat #main, body.post-type-archive-product #main { background:#0b1011; color:#f7f2e9; }
body.tax-product_cat #header [data-row="middle"], body.post-type-archive-product #header [data-row="middle"] { background:#101719; box-shadow:0 1px 0 rgba(227,186,112,.22); }
body.tax-product_cat #header a, body.tax-product_cat #header button, body.post-type-archive-product #header a, body.post-type-archive-product #header button { color:#f5eee2; }
body.tax-product_cat #header .site-title a, body.post-type-archive-product #header .site-title a { color:#f5eee2; font-weight:800; }
body.tax-product_cat .hero-section, body.post-type-archive-product .hero-section { background:linear-gradient(130deg,#192022,#0b1011); color:#f2d7a5; border-bottom:1px solid rgba(225,185,112,.2); }
body.tax-product_cat .hero-section h1, body.post-type-archive-product .hero-section h1 { color:#f2d7a5; font-size:clamp(32px,4.5vw,55px); }
body.tax-product_cat .woocommerce-info, body.post-type-archive-product .woocommerce-info { background:#172022; border:1px solid rgba(225,185,112,.24); color:#e9e5dc; border-radius:12px; }
body.tax-product_cat #footer, body.post-type-archive-product #footer { background:#0a0e0f; color:#a9adae; border-top:1px solid rgba(225,185,112,.2); }
body.tax-product_cat .ct-panel, body.post-type-archive-product .ct-panel { background:#11191a; color:#f8efe0; }

body.tax-product_cat .hero-section, body.post-type-archive-product .hero-section { background:#152021 !important; background-image:none !important; }

/* 3D PICS — single product finishing, 2026-10-14 */
body.single-product {overflow-x:clip; direction:rtl;}
body.single-product .product-entry-wrapper {width:min(100% - 48px,1220px); margin-inline:auto; padding-block:28px 46px; gap:clamp(22px,4vw,58px);}
body.single-product .woocommerce-product-gallery {display:grid; place-items:center; padding:clamp(12px,2vw,22px); background:radial-gradient(circle at 55% 35%,#25302f,#111818 74%); border-color:rgba(229,188,114,.42);}
body.single-product .woocommerce-product-gallery .ct-media-container {width:100%; display:grid; place-items:center; background:transparent; overflow:visible; aspect-ratio:auto !important;}
body.single-product .woocommerce-product-gallery img {display:block; width:auto !important; max-width:100% !important; height:auto !important; max-height:650px; object-fit:contain !important; margin-inline:auto; box-shadow:0 16px 35px rgba(0,0,0,.28);}
body.single-product .summary {min-width:0; align-self:stretch; display:flex; flex-direction:column; justify-content:center; text-align:right; background:linear-gradient(145deg,#1c2626,#111718 75%);}
body.single-product .summary .product_title {font-size:clamp(30px,3.4vw,44px); line-height:1.22; overflow-wrap:anywhere; margin-bottom:20px;}
body.single-product .woocommerce-product-details__short-description {font-size:clamp(17px,1.5vw,20px); line-height:1.8;}
body.single-product .product_meta {font-size:15px; overflow-wrap:anywhere;}
body.single-product .summary .ct-product-add-to-cart,body.single-product .summary .price,body.single-product .summary .ct-product-divider {display:none !important;}
body.single-product .woocommerce-tabs {max-width:1220px; padding-inline:24px; margin-bottom:64px;}
body.single-product .woocommerce-tabs .tabs {display:flex; gap:20px; flex-wrap:wrap; justify-content:flex-start; padding:0; border-color:rgba(225,185,112,.3);}
body.single-product .woocommerce-tabs .tabs a {font-size:17px; padding:15px 18px; color:#f0d6a3;}
body.single-product .woocommerce-tabs article {padding:clamp(20px,3vw,40px);}
body.single-product .woocommerce-product-attributes th,body.single-product .woocommerce-product-attributes td {font-size:16px; padding:16px 18px; text-align:right;}
body.single-product .pics-product-detail {color:#f1eee7; line-height:1.75;}
body.single-product .pics-product-detail h2 {color:#f1d39b; font-size:clamp(23px,2.35vw,32px); line-height:1.25; margin:0 0 14px;}
body.single-product .pics-product-detail p {font-size:clamp(16px,1.35vw,18px); margin:0; color:#e1e0d9;}
body.single-product .pics-kicker {display:block; color:#d1a65e; font-size:13px; font-weight:700; letter-spacing:.04em; margin-bottom:12px;}
body.single-product .pics-detail-intro {padding-bottom:28px; border-bottom:1px solid rgba(225,185,112,.22);}
body.single-product .pics-detail-video {display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); align-items:center; gap:clamp(22px,4vw,52px); margin-block:34px; padding:clamp(18px,2.6vw,32px); border-radius:16px; background:linear-gradient(135deg,#24211e,#12191a); border:1px solid rgba(225,185,112,.3);}
body.single-product .pics-video-frame {min-height:260px; aspect-ratio:16/9; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; text-align:center; padding:20px; border:1px dashed rgba(235,194,121,.6); border-radius:12px; background:radial-gradient(circle at center,#2b312e,#111718 70%); color:#e7c990; font-size:17px; font-weight:600;}
body.single-product .pics-play {display:grid; place-items:center; width:68px; height:68px; border:1px solid #d9b475; border-radius:50%; font-size:35px; line-height:1; padding-inline-start:4px;}
body.single-product .pics-detail-grid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-block:26px;}
body.single-product .pics-detail-grid section {min-width:0; padding:clamp(18px,2vw,27px); border:1px solid rgba(225,185,112,.2); border-radius:14px; background:#101819;}
body.single-product .pics-detail-grid h2 {font-size:22px;}
body.single-product .pics-detail-related {padding-top:28px; border-top:1px solid rgba(225,185,112,.22);}
body.single-product:has(.pics-product-detail) .woocommerce-tabs::after {display:none;}
body.single-product .related.products {max-width:1220px; margin:0 auto 70px; padding-inline:24px;}
body.single-product .related.products h2 {color:#f1d39b; font-size:clamp(25px,2.6vw,34px);}
body.single-product .related.products .product {background:#141c1d; border:1px solid rgba(225,185,112,.23); border-radius:13px; overflow:hidden;}
body.single-product .related.products img {object-fit:contain; background:#0d1314;}
@media(max-width:767px){body.single-product .product-entry-wrapper {width:calc(100% - 28px); padding-block:16px 28px; gap:18px;}body.single-product .woocommerce-product-gallery {padding:10px;}body.single-product .woocommerce-product-gallery img {max-height:480px;}body.single-product .summary {padding:24px 20px;}body.single-product .summary .product_title {font-size:clamp(28px,7vw,38px);}body.single-product .woocommerce-tabs {padding-inline:14px; margin-bottom:42px;}body.single-product .woocommerce-tabs article {padding:20px 16px;}body.single-product .pics-detail-video {grid-template-columns:1fr; gap:22px; padding:17px;}body.single-product .pics-video-frame {min-height:190px;}body.single-product .pics-detail-grid {grid-template-columns:1fr; gap:13px;}body.single-product .pics-detail-grid section {padding:20px;}body.single-product .related.products {padding-inline:14px;}}

/* Product accessibility and narrow-screen refinements */
body.single-product {--theme-palette-color-1:#d9b475;--theme-palette-color-2:#f0d29c;}
body.single-product .woocommerce-tabs .tabs li.active a {border-bottom-color:#d9b475 !important;color:#f2d9a8 !important;}
body.single-product .woocommerce-product-gallery__trigger {background:#d9b475 !important;color:#101719 !important;}
body.single-product .woocommerce-product-gallery__trigger:hover,body.single-product .woocommerce-product-gallery__trigger:focus-visible {background:#f1d69e !important;outline:2px solid #f1d69e;outline-offset:3px;}
body.single-product .pics-detail-video>*,body.single-product .pics-detail-grid>* {min-width:0;}
@media(max-width:767px){body.single-product .pics-video-frame {width:100%;min-height:190px;aspect-ratio:auto;}body.single-product .pics-detail-video {min-width:0;}body.single-product .woocommerce-tabs .tabs a {font-size:16px;padding:13px 15px;}}

/* Preview state: no confirmed price, stock or ordering */
body.single-product .pics-purchase-preview {display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:26px;padding:18px 20px;border:1px solid rgba(225,185,112,.32);border-radius:13px;background:rgba(5,9,9,.32);}
body.single-product .pics-price-placeholder {display:flex;flex-direction:column;gap:3px;min-width:0;}
body.single-product .pics-price-placeholder span {font-size:13px;font-weight:700;color:#d4ac69;}
body.single-product .pics-price-placeholder strong {font-size:clamp(15px,1.35vw,18px);font-weight:600;color:#f4ece0;line-height:1.4;}
body.single-product .pics-purchase-preview p {margin:0;}
body.single-product .pics-disabled-buy {display:inline-flex;align-items:center;justify-content:center;min-height:46px;min-width:135px;padding:10px 18px;border:1px solid #d2ad72;border-radius:9px;color:#f3dcaf;font-size:15px;font-weight:700;white-space:nowrap;cursor:default;}
@media(max-width:767px){body.single-product .pics-purchase-preview {flex-direction:column;align-items:stretch;gap:14px;padding:17px;}body.single-product .pics-disabled-buy {width:100%;}}

/* Controls appear only after a product is deliberately published, priced and available */
body.single-product .product.status-publish.instock .summary .price {display:block !important;color:#f0d19a;font-size:clamp(25px,2.5vw,34px);font-weight:700;margin-block:20px;}
body.single-product .product.status-publish.instock .summary .ct-product-add-to-cart {display:block !important;margin-block:18px;}
body.single-product .product.status-publish.instock .summary button.single_add_to_cart_button {background:#d9b475;color:#101719;border-radius:9px;min-height:52px;padding-inline:25px;font-size:17px;font-weight:700;}
body.single-product .product.status-publish.instock .summary button.single_add_to_cart_button:hover {background:#f1d69e;}
body.single-product .product.status-publish.instock .summary .variations {width:100%;margin-block:18px;color:#f3ebdc;}
body.single-product .product.status-publish.instock .summary .variations select {min-height:48px;border:1px solid #caa86d;background:#172021;color:#f6efe3;border-radius:8px;padding-inline:13px;}

/* Replace the draft note with WooCommerce related products when they exist */
body.single-product:has(.related.products) .pics-detail-related {display:none;}
