/*
Theme Name: Aviva Cohen Shop
Template: twentytwentyfive
Description: ערכת עיצוב לחנות של אביבה כהן קוסמטיקה (מבוססת Twenty Twenty-Five): הצבעים, הגופנים והלוגו של האתר.
Version: 1.0.8
Text Domain: aviva-shop
*/

/* Same look as the clinic site (pearl-rose palette): pearl background, plum ink, dusty-rose accent,
   Bellefair headings, Assistant body. Colours come from theme.json (--wp--preset--color--*). */
:root {
	--aviva-rose: var(--wp--preset--color--accent);
	--aviva-rose-hover: #7d4650;
	--aviva-ink: var(--wp--preset--color--contrast);
	--aviva-radius: 18px;
	--aviva-shadow: 0 18px 44px -24px rgb(110 60 70 / .35);
}

body { -webkit-font-smoothing: antialiased; }

/* Header: monogram on the right (RTL start), menu, account + cart */
.aviva-header { background: rgb(253 247 245 / .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--wp--preset--color--line); position: sticky; top: 0; z-index: 50; }
.aviva-mark { display: block; width: 84px; height: 58px; background: var(--aviva-ink);
	-webkit-mask: url(assets/img/logo-monogram.svg) center / contain no-repeat; mask: url(assets/img/logo-monogram.svg) center / contain no-repeat; }
.aviva-header .wp-block-navigation a { color: var(--wp--preset--color--muted); text-decoration: none; }
.aviva-header .wp-block-navigation a:hover { color: var(--aviva-rose); }
.aviva-header .aviva-book a { background: var(--aviva-rose); color: #fff !important; padding: 8px 18px; border-radius: 999px; font-weight: 600; }

/* Intro band at the top of the shop */
.aviva-intro { background: linear-gradient(160deg, #f8e7e4 0%, #fdf6f3 55%, #f3e3e6 100%); border-bottom: 1px solid var(--wp--preset--color--line); }
.aviva-intro h1 { font-family: var(--wp--preset--font-family--display); }

/* Product cards */
.wc-block-product, .wp-block-woocommerce-product-template > li { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--aviva-radius); padding: 14px; transition: box-shadow .25s, transform .25s; }
.wc-block-product:hover, .wp-block-woocommerce-product-template > li:hover { box-shadow: var(--aviva-shadow); transform: translateY(-3px); }
.wc-block-components-product-image img, .wp-block-woocommerce-product-image img { border-radius: 12px; }
.wc-block-components-product-price, .wp-block-woocommerce-product-price { color: var(--aviva-rose); font-weight: 600; }

/* Buttons: pill, rose */
.wp-element-button, .wp-block-button__link, .wc-block-components-button, .single_add_to_cart_button {
	border-radius: 999px !important; }
.wp-element-button:hover, .wp-block-button__link:hover, .wc-block-components-button:hover { background: var(--aviva-rose-hover); }

/* Facts under "add to cart" */
.aviva-buy-points { list-style: none; padding: 16px 18px; margin: 18px 0 0; display: grid; gap: 8px;
	background: var(--wp--preset--color--surface-2); border-radius: 14px; font-size: .95rem; }
.aviva-buy-points li { display: flex; gap: 8px; align-items: baseline; }
.aviva-buy-points li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--aviva-rose); transform: translateY(-2px); }
.aviva-buy-points a { color: var(--aviva-rose); }

/* Footer */
.aviva-footer { background: var(--wp--preset--color--surface-2); border-top: 1px solid var(--wp--preset--color--line); }
.aviva-footer a { color: var(--wp--preset--color--muted); text-decoration: none; }
.aviva-footer a:hover { color: var(--aviva-rose); }

/* Sort menu in the site style */
.woocommerce-ordering select, .wc-block-catalog-sorting select { font: inherit; color: var(--aviva-ink); background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line); border-radius: 999px; padding: 8px 16px; }

/* SKU / category / tags line: technical, and its labels are not translated; the breadcrumbs already show the category */
.wp-block-woocommerce-product-meta { display: none; }

/* Related products: one row */
[data-collection="woocommerce/product-collection/related"] .wc-block-product-template { grid-template-columns: repeat(4, minmax(0, 1fr)); }
[data-collection="woocommerce/product-collection/related"] .wc-block-product:nth-child(n+5) { display: none; }

/* Phones: two products per row, like a shop shelf */
@media (max-width: 600px) {
	.wc-block-product-template__responsive { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
	.wc-block-product, .wp-block-woocommerce-product-template > li { padding: 8px; }
	.wc-block-product .wp-block-post-title { font-size: .92rem !important; }
	.wc-block-product .wp-element-button { padding: 8px 14px !important; font-size: .85rem !important; }
}

:focus-visible { outline: 2px solid var(--aviva-rose); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .wc-block-product, .wp-block-woocommerce-product-template > li { transition: none; } }
