/* Product page. Ported from design/עמוד מוצר.dc.html */

@keyframes imgIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
[data-main-img] { animation: imgIn .9s cubic-bezier(.2,.7,.25,1) both; }
[data-mobbar] { display: none; }
[data-thumbs]::-webkit-scrollbar { display: none; }

.pdp-thumb { position: relative; width: 84px; aspect-ratio: 4/5; padding: 0; border: 0; cursor: pointer; background: #F4EFE7; overflow: hidden; outline: 1px solid transparent; outline-offset: 3px; opacity: .62; transition: opacity .35s ease, outline-color .35s ease; }
.pdp-thumb[aria-pressed="true"] { outline-color: #0E0E0E; opacity: 1; }
.pdp-thumb:focus-visible { outline: 2px solid #85672E; opacity: 1; }
.pdp-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.pdp-desc { margin: 22px 0 0; font-size: 15.5px; line-height: 1.95; color: #4A453E; }
.pdp-desc p { margin: 0 0 10px; }
.pdp-desc p:last-child { margin-bottom: 0; }

.pdp-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.pdp-set legend { padding: 0; }

.pdp-color { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.pdp-dot { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .3s ease; display: block; }
.pdp-color input:checked + .pdp-dot, .pdp-dot.is-on { outline-color: #0E0E0E; }
.pdp-color input:focus-visible + .pdp-dot { outline: 2px solid #85672E; }

.pdp-opt { display: block; cursor: pointer; position: relative; }
.pdp-opt-box { box-sizing: border-box; padding: 8px 10px; background: #FFFFFF; color: #0E0E0E; border: 1px solid #DCD4C7; transition: background .35s ease, color .35s ease, border-color .35s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; height: 100%; }
.pdp-opt input:checked + .pdp-opt-box { background: #0E0E0E; color: #F6F2EB; border-color: #0E0E0E; }
.pdp-opt input:focus-visible + .pdp-opt-box { outline: 2px solid #85672E; outline-offset: 3px; }
.pdp-set.is-nudge .pdp-opt-box { border-color: #B8935A; }
.pdp-set.is-nudge [data-hint] { color: #9A6A1F !important; }

.pdp-qty { width: 56px; height: 100%; border: 0; text-align: center; font-size: 15px; background: transparent; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.pdp-qty::-webkit-outer-spin-button, .pdp-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-cta { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 16px; height: 58px; background: #0E0E0E; color: #F6F2EB; border: 0; cursor: pointer; font-size: 13px; letter-spacing: .18em; transition: background .45s ease, gap .45s ease; }
.pdp-cta.is-wait { background: #5E584F; }
.pdp-cta.is-added { background: #3E5A3A; }
.pdp-cta[aria-busy="true"] { opacity: .75; cursor: progress; }

.pdp-acc { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 0; background: transparent; border: 0; cursor: pointer; font-size: 15px; color: #0E0E0E; text-align: right; }
.pdp-plus { font-size: 16px; color: #85672E; transition: transform .35s ease; }
.pdp-acc[aria-expanded="true"] .pdp-plus { transform: rotate(45deg); }

/* WooCommerce notices (default Woo styles are not loaded on this template) */
[data-notices]:empty { display: none; }
[data-notices] ul, [data-notices] .woocommerce-message, [data-notices] .woocommerce-info, [data-notices] .wc-block-components-notice-banner { list-style: none; margin: 0 0 20px; padding: 14px 16px; font-size: 13.5px; line-height: 1.7; background: #F4EFE7; border: 1px solid #E7E0D4; color: #3E5A3A; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
[data-notices] .woocommerce-error, [data-notices] .is-error { color: #9A3B2E; background: #FBF1EE; border-color: #EBCFC8; }
[data-notices] svg { display: none; }
[data-notices] a { text-decoration: underline; text-underline-offset: 3px; order: 2; }
[data-notices] .js-msg { margin: 0 0 20px; padding: 14px 16px; font-size: 13.5px; line-height: 1.7; color: #9A3B2E; background: #FBF1EE; border: 1px solid #EBCFC8; }

@media (prefers-reduced-motion: reduce) {
	[data-main-img], [data-pdp-info] { animation: none !important; }
}
@media (max-width: 1000px) {
	[data-pdp] { grid-template-columns: minmax(0,1fr) !important; }
	[data-pdp-info] { position: static !important; max-width: none !important; }
	[data-gallery] { grid-template-columns: minmax(0,1fr) !important; }
	[data-thumbs] { order: 2; flex-direction: row !important; overflow-x: auto; scrollbar-width: none; padding-block: 5px; }
	.pdp-thumb { flex: 0 0 72px; width: 72px; }
	[data-story] { grid-template-columns: minmax(0,1fr) !important; }
	[data-story-media] { min-height: 380px !important; }
	[data-related] { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
	[data-related] > :nth-child(3) { display: none !important; }
}
@media (max-width: 760px) {
	[data-pdp-wrap] { padding: 12px 0 56px !important; }
	[data-gallery] { gap: 10px !important; }
	[data-thumbs] { padding-inline: 16px; }
	[data-pdp-info] { padding: 0 20px; }
	[data-pdp-info] h1 { font-size: 32px !important; }
	[data-price-row] { justify-content: center; }
	[data-crumbs] { display: none !important; }
	[data-mobbar] { display: flex !important; }
	[data-desk-cta] .pdp-cta { display: none !important; }
	[data-desk-cta] { justify-content: center; }
	[data-page] { padding-bottom: 84px; }
	[data-trust] { grid-template-columns: minmax(0,1fr) !important; }
}
