/* single-product.css — σελίδα προϊόντος Διάκοσμος Decor */
/* Scoped στο body.single-product ώστε να μην επηρεάζει cart/checkout */
body.single-product{--dd-bone:#F1ECE3;--dd-white:#FBF8F2;--dd-ink:#1F1A15;--dd-soft:#6E6356;--dd-line:#E2D8C8;--dd-accent:#8C5E3B}
body.single-product .site-content,body.single-product #primary,body.single-product #main{background:var(--dd-bone)}
body.single-product .product_title{font-weight:300;font-size:clamp(30px,3.6vw,50px);line-height:1.06;letter-spacing:-.025em;text-transform:lowercase;color:var(--dd-ink);margin:0 0 18px}
body.single-product .summary .price,body.single-product .summary .price .woocommerce-Price-amount{font-size:26px;font-weight:400;color:var(--dd-ink);letter-spacing:-.01em}
body.single-product .summary .price{margin:0 0 24px}
body.single-product .summary .price del{color:var(--dd-soft);opacity:.7;font-weight:300;margin-right:10px}
body.single-product .summary .price ins{text-decoration:none;color:var(--dd-accent);font-weight:500}
body.single-product .woocommerce-product-details__short-description{color:var(--dd-soft);font-size:16px;line-height:1.6;max-width:46ch;margin-bottom:26px}
body.single-product .woocommerce-product-details__short-description p{margin-bottom:12px}
body.single-product .product_meta{margin-top:26px;font-size:13px;color:var(--dd-soft);letter-spacing:.02em;line-height:1.9}
body.single-product .product_meta a{color:var(--dd-soft)}
body.single-product .product_meta a:hover{color:var(--dd-ink)}
body.single-product .product_meta .posted_in{display:block}
body.single-product form.cart{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:28px 0 0}
body.single-product form.cart .quantity{display:flex;align-items:center;border:1px solid var(--dd-line);border-radius:999px;background:var(--dd-white);height:52px;overflow:hidden}
body.single-product form.cart .quantity input.qty{width:56px;height:100%;text-align:center;border:none;background:transparent;font-family:inherit;font-size:16px;color:var(--dd-ink);-moz-appearance:textfield}
body.single-product form.cart .quantity input.qty::-webkit-outer-spin-button,body.single-product form.cart .quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
body.single-product form.cart .single_add_to_cart_button{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 30px;border-radius:999px;background:var(--dd-ink);color:var(--dd-white);border:none;cursor:pointer;font-family:inherit;font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;transition:background .3s,transform .3s}
body.single-product form.cart .single_add_to_cart_button:hover{background:#000;transform:translateY(-2px)}
/* ---- Βήμα 2: split layout (εικόνα αριστερά full-bleed, info δεξιά) ---- */
body.single-product{--dd-edge:max(26px,calc((100vw - 1220px)/2));--dd-maxw:1220px}
body.single-product .site-content{overflow-x:hidden}
body.single-product div.product{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);display:grid;grid-template-columns:50vw minmax(0,1fr);align-items:stretch;position:relative}
body.single-product div.product::before,body.single-product div.product::after{display:none}
body.single-product .woocommerce-product-gallery{grid-column:1;width:auto!important;float:none!important;margin:0!important;min-height:clamp(500px,80vh,820px);position:relative;overflow:hidden}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,body.single-product .woocommerce-product-gallery .flex-viewport{height:100%;margin:0}
body.single-product .woocommerce-product-gallery img{width:100%;height:100%;object-fit:cover;object-position:center}
body.single-product .summary.entry-summary{grid-column:2;width:auto!important;float:none!important;margin:0!important;align-self:center;padding:clamp(30px,4vw,60px) clamp(28px,4vw,88px) clamp(30px,4vw,60px) clamp(24px,3vw,52px);max-width:720px}
body.single-product div.product>.woocommerce-tabs,body.single-product div.product>.related,body.single-product div.product>.up-sells{grid-column:1/-1;width:100%;max-width:var(--dd-maxw);justify-self:center;padding:0 26px;box-sizing:border-box}
@media(max-width:1000px){body.single-product div.product{grid-template-columns:1fr}body.single-product .woocommerce-product-gallery{min-height:0;aspect-ratio:4/5;max-height:62vh}body.single-product .summary.entry-summary{padding:32px 26px 8px;max-width:none}}
/* ---- Βήμα 3: πλαγιο caption με τιτλο πανω στην εικονα ---- */
body.single-product .dd-pd-vcap{position:absolute;left:20px;top:28px;z-index:3;writing-mode:vertical-rl;font-size:11px;font-weight:500;letter-spacing:.24em;text-transform:uppercase;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.45);pointer-events:none}
@media(max-width:1000px){body.single-product .dd-pd-vcap{left:16px;top:18px}}
/* ---- Βημα 4: ενοτητα περιγραφης ---- */
body.single-product .woocommerce-tabs{margin-top:clamp(56px,9vh,104px)}
body.single-product .woocommerce-tabs ul.tabs{margin:0 0 34px;padding:0;list-style:none;border:none!important;max-width:760px}
body.single-product .woocommerce-tabs ul.tabs::before,body.single-product .woocommerce-tabs ul.tabs::after{display:none!important}
body.single-product .woocommerce-tabs ul.tabs li{background:transparent!important;border:none!important;padding:0;margin:0 24px 0 0;border-radius:0;display:inline-block}
body.single-product .woocommerce-tabs ul.tabs li::before,body.single-product .woocommerce-tabs ul.tabs li::after{display:none!important}
body.single-product .woocommerce-tabs ul.tabs li a{display:inline-block;padding:0 0 14px;font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--dd-ink)!important;border-bottom:1px solid var(--dd-ink)}
body.single-product .woocommerce-tabs ul.tabs li.active a,body.single-product .woocommerce-tabs ul.tabs li a:hover{color:var(--dd-ink)!important}
body.single-product .woocommerce-tabs .panel{max-width:760px;margin:0}
body.single-product .woocommerce-tabs .panel h2{font-weight:300;font-size:clamp(24px,3vw,34px);text-transform:lowercase;letter-spacing:-.02em;color:var(--dd-ink);margin:0 0 20px}
body.single-product .woocommerce-tabs .panel p{color:#5c5347;margin:0 0 22px;max-width:70ch;line-height:1.65}
body.single-product .woocommerce-tabs .panel p:first-of-type{font-size:20px;color:var(--dd-ink);font-weight:300;line-height:1.5}
body.single-product .woocommerce-tabs .panel strong,body.single-product .woocommerce-tabs .panel b{color:var(--dd-ink);font-weight:500}
body.single-product .woocommerce-tabs .panel ul{list-style:none;margin:8px 0 26px;padding:0}
body.single-product .woocommerce-tabs .panel ul li{position:relative;padding-left:26px;margin-bottom:14px;color:#5c5347}
body.single-product .woocommerce-tabs .panel ul li::before{content:"";position:absolute;left:0;top:12px;width:12px;height:1px;background:var(--dd-accent)}
/* ---- Βημα 5: σχετικα προϊοντα, οριζοντια κυλιση ---- */
body.single-product .related.products,body.single-product .up-sells.products{margin-top:clamp(64px,10vh,120px);border-top:1px solid var(--dd-line);padding-top:clamp(48px,7vh,80px)}
body.single-product .related.products>h2,body.single-product .up-sells.products>h2{font-weight:300;font-size:clamp(26px,3.6vw,42px);text-transform:lowercase;letter-spacing:-.025em;color:var(--dd-ink);margin:0 0 34px}
body.single-product .related ul.products,body.single-product .up-sells ul.products{display:flex;flex-wrap:nowrap;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0;padding:4px 0 20px;list-style:none;scrollbar-width:none}
body.single-product .related ul.products::-webkit-scrollbar,body.single-product .up-sells ul.products::-webkit-scrollbar{display:none}
body.single-product .related ul.products li.product,body.single-product .up-sells ul.products li.product{flex:0 0 auto;width:clamp(240px,28vw,320px)!important;margin:0!important;scroll-snap-align:start;float:none!important}
body.single-product .related ul.products li.product img{width:100%;aspect-ratio:4/5;object-fit:cover;margin:0 0 14px;border-radius:2px}
body.single-product .related ul.products li.product .woocommerce-loop-product__title{font-size:15px;font-weight:500;color:var(--dd-ink);margin:0 0 2px;padding:0;text-transform:none}
body.single-product .related ul.products li.product .price{font-size:14px;color:var(--dd-soft);font-weight:400}
body.single-product .related ul.products li.product .button,body.single-product .related ul.products li.product .ast-on-card-button{display:none!important}
/* ---- Διορθωση: breadcrumb σαν μικρα κεφαλαια ---- */
body.single-product .woocommerce-breadcrumb,body.single-product nav.woocommerce-breadcrumb,body.single-product .ast-breadcrumbs .trail-items{font-size:11px!important;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--dd-soft);line-height:1.7;margin:0 0 20px}
body.single-product .woocommerce-breadcrumb a,body.single-product .ast-breadcrumbs a{color:var(--dd-soft)}
body.single-product .woocommerce-breadcrumb a:hover,body.single-product .ast-breadcrumbs a:hover{color:var(--dd-ink)}
/* ---- Διορθωση: κρυψιμο διπλης κατηγοριας πανω απο τον τιτλο ---- */
body.single-product .single-product-category{display:none!important}
/* ---- Διορθωση: Commissioner σε ολα τα στοιχεια του προϊοντος ---- */
body.single-product .product_title,body.single-product .summary .price,body.single-product .woocommerce-product-details__short-description,body.single-product .product_meta,body.single-product .woocommerce-breadcrumb,body.single-product form.cart,body.single-product .single_add_to_cart_button,body.single-product input.qty,body.single-product .woocommerce-tabs,body.single-product .related{font-family:var(--sans)!important}
body.single-product .product_title{font-weight:300!important}
/* ---- Διορθωση: κουμπι zoom (φακος) λευκο με σκουρο icon ---- */
body.single-product .woocommerce-product-gallery__trigger{top:18px!important;right:18px!important;left:auto!important;background:rgba(251,248,242,.92)!important;box-shadow:0 2px 10px rgba(0,0,0,.1);transition:transform .3s}
body.single-product .woocommerce-product-gallery__trigger:hover{transform:scale(1.07)}
body.single-product .woocommerce-product-gallery__trigger::before{border-color:var(--dd-ink)!important;left:auto!important}
body.single-product .woocommerce-product-gallery__trigger::after{background:var(--dd-ink)!important;left:auto!important}
/* ---- Διορθωση 2: zoom icon κεντραρισμενο ---- */
body.single-product .woocommerce-product-gallery__trigger::before,body.single-product .woocommerce-product-gallery__trigger::after{display:none!important}
body.single-product .woocommerce-product-gallery__trigger{width:42px!important;height:42px!important;background:rgba(251,248,242,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F1A15' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.4-3.4M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center/20px no-repeat!important}

/* ---- Stepper ποσοτητας: διακριτικα + και - ---- */
body.single-product form.cart .quantity{overflow:visible;padding:0 4px}
body.single-product form.cart .quantity input.qty{width:44px}
body.single-product form.cart .quantity .dd-qty-btn{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:40px;height:44px;padding:0;margin:0;border:none;border-radius:999px;background:transparent;color:var(--dd-soft);font-family:inherit;font-size:19px;font-weight:300;line-height:1;cursor:pointer;transition:color .25s,opacity .25s}
body.single-product form.cart .quantity .dd-qty-btn span{display:block;margin-top:-2px}
body.single-product form.cart .quantity .dd-qty-btn:hover{color:var(--dd-ink);background:transparent}
body.single-product form.cart .quantity .dd-qty-btn:disabled{opacity:.3;cursor:default}
body.single-product form.cart .quantity .dd-qty-btn:disabled:hover{color:var(--dd-soft)}
/* ---- Κολλητα κατω απο το header ---- */
body.single-product .site-content>.ast-container{padding-top:0!important}
body.single-product #primary{margin-top:0!important;padding-top:0!important}
body.single-product .entry-content>.product,body.single-product #primary>.product{margin-top:0!important}
/* ---- Ασφαλεια: το vcap δεν ξεπερναει ποτε το υψος της εικονας ---- */
body.single-product .dd-pd-vcap{max-height:calc(100% - 56px);overflow:hidden;white-space:nowrap}
