/* ============================================================
   Demaura ↔ WooCommerce — site-wide store styling
   Brand: cream #F6F0E6 · juniper #233F35 · copper #B8865B
   ============================================================ */
:root {
	--dmw-cream: #F6F0E6;
	--dmw-green: #233F35;
	--dmw-copper: #B8865B;
	--dmw-text: #1F2D27;
	--dmw-muted: #586A60;
	--dmw-line: rgba(31, 45, 39, .10);
	--dmw-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--dmw-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Homepage product grid ---------- */
.demaura-grid {
	display: grid;
	grid-template-columns: repeat(var(--dm-cols, 4), 1fr);
	gap: clamp(16px, 2vw, 30px);
	width: 100%;
	max-width: min(94vw, 1200px);
	margin: clamp(24px, 3vw, 44px) auto clamp(24px, 3vw, 40px);
	text-align: left;
}
.demaura-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--dmw-line);
	border-radius: 16px;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}
.demaura-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31, 45, 39, .12); }
.demaura-card-media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--dmw-cream); }
.demaura-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.demaura-card:hover .demaura-card-media img { transform: scale(1.04); }
.demaura-card-body { padding: clamp(14px, 1.4vw, 20px); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.demaura-card-title { font-family: var(--dmw-serif); font-size: clamp(20px, 1.6vw, 26px); line-height: 1.15; margin: 0; color: var(--dmw-green); }
.demaura-card-title a { color: inherit; text-decoration: none; }
.demaura-card-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	color: var(--dmw-green);
	font-weight: 600;
	font-size: 16px;
}
.demaura-card-price ins { order: 1; color: var(--dmw-green); text-decoration: none; font-weight: 600; }
.demaura-card-price del { order: 2; color: var(--dmw-copper); text-decoration: line-through; font-weight: 400; opacity: 1; }
.demaura-card-atc { margin-top: auto; padding-top: 6px; }

/* Demaura-styled add-to-cart buttons (WooCommerce loop buttons) */
.demaura-card-atc .button,
.demaura-card-atc a.button {
	display: inline-block;
	width: 100%;
	text-align: center;
	background: var(--dmw-green);
	color: var(--dmw-cream);
	border: none;
	border-radius: 999px;
	padding: 11px 18px;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .01em;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.demaura-card-atc .button:hover { background: #1b3129; transform: translateY(-1px); }
.demaura-card-atc .added_to_cart {
	display: inline-block;
	width: 100%;
	text-align: center;
	margin-top: 8px;
	color: var(--dmw-green);
	font-weight: 600;
	text-decoration: underline;
}
.demaura-products-all { margin-top: 0; }
.demaura-products-note { color: var(--dmw-muted); font-style: italic; margin: 24px 0; }

@media (max-width: 1100px) { .demaura-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .demaura-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .demaura-grid { grid-template-columns: 1fr; } }

/* ---------- Floating cart button (top-right) ---------- */
.demaura-cart-floating {
	position: fixed !important;
	top: 18px !important;
	right: 18px !important;
	left: auto !important;
	bottom: auto !important;
	z-index: 99999 !important;
}
.wp-admin.admin-bar .demaura-cart-floating,
.admin-bar .demaura-cart-floating { top: 46px; }
.demaura-cart-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--dmw-green);
	color: var(--dmw-cream);
	box-shadow: 0 8px 22px rgba(31, 45, 39, .22);
	text-decoration: none;
	transition: transform .2s ease, background .2s ease;
}
.demaura-cart-btn:hover { transform: scale(1.06); background: #1b3129; color: var(--dmw-cream); }
.demaura-cart-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.demaura-cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--dmw-copper);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
	box-shadow: 0 0 0 2px var(--dmw-cream);
	opacity: 0;
	transform: scale(.6);
	transition: opacity .2s ease, transform .2s ease;
}
.demaura-cart-count.is-filled { opacity: 1; transform: scale(1); }
/* Header [demaura_cart] uses the exact same circular design as the floating one */
.demaura-cart-inline { position: relative; }

/* ---------- Light Demaura touch on core Woo pages ---------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button {
	background: var(--dmw-green);
	color: var(--dmw-cream);
	border-radius: 999px;
	font-weight: 600;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .button:hover { background: #1b3129; color: var(--dmw-cream); }
.woocommerce .button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce-page .button.alt { background: var(--dmw-copper); }
.woocommerce .button.alt:hover { background: #a6774d; }
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--dmw-copper); }
.woocommerce div.product .product_title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 { font-family: var(--dmw-serif); color: var(--dmw-green); }

/* ============================================================
   PHASE 2 — Demaura theming for WooCommerce pages
   (conservative: colour / type / buttons / spacing — no layout surgery)
   ============================================================ */

/* page canvas */
.woocommerce, .woocommerce-page {
	color: var(--dmw-text);
}
.woocommerce .woocommerce-breadcrumb {
	color: var(--dmw-muted);
	font-size: 13px;
	letter-spacing: .02em;
}
.woocommerce .woocommerce-breadcrumb a { color: var(--dmw-copper); text-decoration: none; }

/* headings in serif */
.woocommerce .product_title,
.woocommerce h1.entry-title,
.woocommerce .cart_totals h2,
.woocommerce-checkout h3,
.woocommerce .related > h2,
.woocommerce .upsells > h2,
.woocommerce-cart-form + * h2 {
	font-family: var(--dmw-serif);
	color: var(--dmw-green);
	letter-spacing: -.01em;
}

/* ---- Single product ---- */
.woocommerce div.product { margin-top: 8px; }
.woocommerce div.product .product_title { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.05; margin-bottom: 10px; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--dmw-copper); font-size: clamp(20px, 2vw, 26px); font-weight: 600; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--dmw-muted); line-height: 1.8; }
.woocommerce div.product form.cart { margin-top: 20px; }
.woocommerce .quantity input.qty {
	border: 1px solid var(--dmw-line);
	border-radius: 999px;
	padding: 10px;
	background: #fff;
	color: var(--dmw-text);
}
.woocommerce div.product form.cart .button {
	padding: 13px 28px;
	font-size: 15px;
}
/* tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs { border: none; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-bottom: 1px solid var(--dmw-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: none;
	border-radius: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: transparent;
	border-bottom: 2px solid var(--dmw-copper);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--dmw-green); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--dmw-muted); font-weight: 600; }
.woocommerce #reviews #comments h2,
.woocommerce div.product .woocommerce-tabs .panel h2 { font-family: var(--dmw-serif); color: var(--dmw-green); }

/* related / upsell grids inherit our card feel */
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--dmw-serif); color: var(--dmw-green); }
.woocommerce ul.products li.product a img { border-radius: 12px; }

/* ---- Cart ---- */
.woocommerce table.shop_table {
	border: 1px solid var(--dmw-line);
	border-radius: 14px;
	overflow: hidden;
}
.woocommerce table.shop_table th { color: var(--dmw-green); }
.woocommerce a.remove {
	color: var(--dmw-green) !important;
	border: 1px solid var(--dmw-line);
}
.woocommerce a.remove:hover { background: var(--dmw-green) !important; color: #fff !important; }
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-cart .cart-collaterals .cart_totals { color: var(--dmw-text); }
.woocommerce .wc-proceed-to-checkout a.checkout-button { background: var(--dmw-copper); font-size: 16px; padding: 15px 24px; }
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover { background: #a6774d; }

/* ---- Checkout ---- */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-checkout select,
.select2-container .select2-selection {
	border: 1px solid var(--dmw-line);
	border-radius: 10px;
	padding: 12px;
	background: #fff;
}
.woocommerce-checkout #payment { background: var(--dmw-cream); border-radius: 14px; }
.woocommerce-checkout #payment div.payment_box { background: #fff; }
.woocommerce-checkout #place_order { background: var(--dmw-copper); width: 100%; padding: 15px; font-size: 16px; }
.woocommerce-checkout #place_order:hover { background: #a6774d; }
.woocommerce .woocommerce-order-details__title,
.woocommerce .woocommerce-column__title { font-family: var(--dmw-serif); color: var(--dmw-green); }

/* ---- Notices ---- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-noreviews,
.woocommerce-error {
	border-top-color: var(--dmw-copper);
	background: #fff;
	border-radius: 10px;
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--dmw-copper); }

/* ---- fonts on Woo pages (match Demaura) ---- */
.woocommerce, .woocommerce-page,
.woocommerce .product, .woocommerce-page .product,
.woocommerce p, .woocommerce li, .woocommerce td, .woocommerce label,
.woocommerce input, .woocommerce select, .woocommerce button {
	font-family: var(--dmw-sans);
}
.woocommerce .product_title,
.woocommerce h1, .woocommerce h2, .woocommerce h3,
.woocommerce .woocommerce-loop-product__title,
.woocommerce-page h1, .woocommerce-page h2 {
	font-family: var(--dmw-serif);
}

/* ---- "Sepete Ekle" button: perfectly centred text ---- */
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart button.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1.1;
}

/* ---- hide the iyzico "ile Öde" badge on the product page (keep it for checkout) ----
   Best-effort: covers common iyzico badge containers. If it persists, disable the
   product-page logo in the iyzico plugin settings, or send its CSS class. */
.single-product .summary [class*="iyzico"],
.single-product .summary [class*="iyzi-"],
.single-product .summary [id*="iyzico"],
.single-product .entry-summary [class*="iyzico"] {
	display: none !important;
}

/* ---- Reviews: put the "Yorum ekle" form ON TOP, existing reviews below ---- */
.woocommerce #reviews { display: flex; flex-direction: column; }
.woocommerce #reviews #review_form_wrapper { order: -1; margin-bottom: 34px; }
.woocommerce #reviews #comments { order: 1; }

/* ---- Brand closing section on every page (before the footer) ---- */
.demaura-closing--global {
	background: var(--dm-closing-bg, #233F35);
	color: var(--dm-closing-text, #F6F0E6);
	text-align: center;
	padding: var(--dm-closing-pad, 110px) 24px;
}
.demaura-closing--global .demaura-closing-mark {
	font-family: var(--dm-serif, var(--dmw-serif));
	font-style: italic;
	font-size: clamp(46px, 7vw, 92px);
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--dm-closing-text, #F6F0E6);
}
.demaura-closing--global .demaura-closing-line {
	margin: 22px 0 0;
	font-size: 13px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--dm-closing-text, #F6F0E6);
	opacity: .72;
}

/* ---- Hide the iyzico floating / express widget (bottom-left) site-wide.
   iyzico stays available as a payment method at checkout — this only removes the
   floating badge/button. If it persists, disable it in the iyzico plugin settings
   or send its exact CSS class. ---- */
[class*="iyzico-pwi"], [id*="iyzico-pwi"],
[class*="iyzipwi"], [id*="iyzipwi"],
[class*="iyzico-widget"], [id*="iyzico-widget"],
[class*="iyzico-express"], [id*="iyzico-express"],
[class*="iyzico-floating"], .iyzico-checkout-form-popup {
	display: none !important;
}

/* ============================================================
   Overrides for Kadence theme blue → Demaura
   ============================================================ */

/* Single product "Sepete Ekle" button (beat the theme's blue) */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart button.single_add_to_cart_button,
.woocommerce div.product .single_add_to_cart_button.button,
.single-product .single_add_to_cart_button {
	background-color: var(--dmw-green) !important;
	background-image: none !important;
	color: var(--dmw-cream) !important;
	border: 1px solid var(--dmw-green) !important;
	border-radius: 999px !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.single-product .single_add_to_cart_button:hover {
	background-color: #1b3129 !important;
	color: var(--dmw-cream) !important;
}
/* grid add-to-cart too */
.demaura-card-atc .button,
.demaura-card-atc a.button {
	background: var(--dmw-green) !important;
	color: var(--dmw-cream) !important;
	border-radius: 999px !important;
}

/* Review link + star rating → copper (was theme blue) */
.woocommerce .woocommerce-product-rating a.woocommerce-review-link,
.woocommerce .woocommerce-review-link {
	color: var(--dmw-copper) !important;
	text-decoration: none;
}
.woocommerce .woocommerce-review-link:hover { color: #a6774d !important; }
.woocommerce .star-rating span::before,
.woocommerce p.stars a::before,
.woocommerce .comment-form-rating p.stars a::before,
.woocommerce #reviews .star-rating span::before {
	color: var(--dmw-copper) !important;
}
.woocommerce .star-rating::before { color: rgba(184, 134, 91, .32) !important; }

/* ============================================================
   Header — nudge toward Demaura (fonts + colours)
   Fine-tune layout in Kadence's Header Builder (see notes).
   ============================================================ */
.site-header .header-navigation .menu > li > a,
.site-header .primary-menu-container a,
.site-header .header-menu-container a,
.header-navigation a {
	font-family: var(--dmw-sans);
	color: var(--dmw-green);
}
.site-header .header-navigation .menu > li > a:hover,
.header-navigation a:hover { color: var(--dmw-copper); }
.site-branding .site-title,
.site-header .site-title a { font-family: var(--dmw-serif); color: var(--dmw-green); }

/* ============================================================
   Batch: price colours · unified buttons · gallery arrows · mobile drawer
   ============================================================ */

/* --- Price: paid price on the LEFT in closing-green; on sale, old price on the
       RIGHT in copper, struck through --- */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	display: flex;
	align-items: baseline;
	gap: 12px;
	color: var(--dmw-green) !important;
}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
	order: 1;
	color: var(--dmw-green) !important;
	text-decoration: none;
	font-weight: 600;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
	order: 2;
	color: var(--dmw-copper) !important;
	text-decoration: line-through;
	opacity: 1;
	font-weight: 400;
}

/* --- "Gönder" (review submit) identical to "Sepete Ekle" --- */
.woocommerce #review_form #respond input#submit,
.woocommerce #reviews #respond input#submit,
.comment-form input#submit {
	background: var(--dmw-green) !important;
	background-image: none !important;
	color: var(--dmw-cream) !important;
	border: 1px solid var(--dmw-green) !important;
	border-radius: 999px !important;
	padding: 13px 28px !important;
	font-family: var(--dmw-sans) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.1 !important;
	text-transform: none !important;
}
.woocommerce #review_form #respond input#submit:hover,
.comment-form input#submit:hover { background: #1b3129 !important; }

/* --- Product gallery arrows (Demaura circular) --- */
.woocommerce div.product .woocommerce-product-gallery { position: relative; }
.woocommerce div.product .flex-direction-nav { list-style: none; margin: 0; padding: 0; }
.woocommerce div.product .flex-direction-nav a {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: transparent;
	color: var(--dmw-green);
	opacity: 1 !important;
	overflow: hidden;
	text-indent: -9999px;
	z-index: 5;
	display: block;
}
.woocommerce div.product .flex-direction-nav a::before {
	position: absolute;
	inset: 0;
	text-indent: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	line-height: 1;
	color: var(--dmw-green);
	text-shadow: 0 1px 6px rgba(246, 240, 230, .9), 0 0 2px rgba(246, 240, 230, .9);
}
.woocommerce div.product .flex-direction-nav a.flex-prev { left: 12px; }
.woocommerce div.product .flex-direction-nav a.flex-next { right: 12px; }
.woocommerce div.product .flex-direction-nav a.flex-prev::before { content: "\2039"; }
.woocommerce div.product .flex-direction-nav a.flex-next::before { content: "\203A"; }

/* --- Mobile menu drawer → Demaura (cream, serif green, narrower) ---
   Set the drawer to slide from LEFT + reduce width in Kadence customizer;
   this restyles its look to match the brand. */
#mobile-drawer .drawer-inner {
	background: var(--dmw-cream) !important;
	max-width: 340px !important;
	box-shadow: 0 20px 60px rgba(31, 45, 39, .25);
}
#mobile-drawer .drawer-header .toggle-close-bar { background: var(--dmw-green) !important; }
#mobile-drawer .mobile-navigation a,
#mobile-drawer #mobile-menu a,
#mobile-drawer .menu-item a {
	font-family: var(--dmw-serif) !important;
	color: var(--dmw-green) !important;
	font-size: 22px !important;
	border-color: rgba(31, 45, 39, .08) !important;
}
#mobile-drawer .drawer-overlay { background: rgba(20, 32, 27, .45) !important; }

/* --- Reviews heading identical in size to the "Açıklama" heading --- */
.woocommerce div.product .woocommerce-tabs .panel > h2,
.woocommerce div.product .woocommerce-Tabs-panel--description > h2,
.woocommerce #reviews .woocommerce-Reviews-title,
.woocommerce #reviews #comments > h2 {
	font-family: var(--dmw-serif) !important;
	color: var(--dmw-green) !important;
	font-size: clamp(24px, 2.4vw, 32px) !important;
	line-height: 1.12 !important;
	margin: 0 0 20px !important;
	font-weight: 600 !important;
}

/* --- Category tabs (styled like the hero "Ritüeli İzle" secondary button) --- */
.demaura-cattabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: clamp(18px, 3vw, 32px) auto clamp(6px, 2vw, 18px);
	max-width: 900px;
}
.demaura-cattab {
	min-height: 44px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1px solid rgba(35, 63, 53, .18);
	background: rgba(246, 240, 230, .5);
	color: var(--dmw-text);
	font-family: var(--dmw-sans);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .02em;
	cursor: pointer;
	transition: background .25s ease, color .25s ease, transform .25s ease;
}
.demaura-cattab:hover { transform: translateY(-2px); }
.demaura-cattab.is-on { background: var(--dmw-green); color: var(--dmw-cream); border-color: var(--dmw-green); }

/* card title = product-page title font */
.demaura-card-title { font-family: var(--dmw-serif) !important; color: var(--dmw-green) !important; }

/* --- Grid add-to-cart: quantity on the left, compact Sepete Ekle on the right --- */
.demaura-card-cart {
	display: flex;
	align-items: stretch;
	gap: 8px;
	margin: 0;
}
.demaura-card-cart .quantity { flex: 0 0 auto; }
.demaura-card-cart .quantity input.qty {
	width: 58px;
	height: 100%;
	min-height: 42px;
	text-align: center;
	border: 1px solid var(--dmw-line);
	border-radius: 10px;
	background: #fff;
	color: var(--dmw-text);
	font-weight: 600;
	padding: 6px;
}
.demaura-card-atc-btn {
	flex: 1;
	background: var(--dmw-green);
	color: var(--dmw-cream);
	border: none;
	border-radius: 999px;
	padding: 11px 16px;
	font-family: var(--dmw-sans);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
	white-space: nowrap;
}
.demaura-card-atc-btn:hover { background: #1b3129; transform: translateY(-1px); }
.demaura-card-atc-btn[disabled] { opacity: .8; cursor: default; }

/* --- Category tabs: copper hover + active --- */
.demaura-cattab:hover { border-color: var(--dmw-copper); color: var(--dmw-copper); background: rgba(184, 134, 91, .08); }
.demaura-cattab.is-on { background: var(--dmw-copper); color: #fff; border-color: var(--dmw-copper); }
.demaura-cattab.is-on:hover { color: #fff; background: #a6774d; }

/* --- Products button: outward arrow icon (top-right, slightly overflowing) --- */
.demaura-products-all { position: relative; overflow: visible; gap: 8px; }
.demaura-btn-arrow {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transform: translateY(-1px);
	transition: transform .2s ease;
}
.demaura-products-all:hover .demaura-btn-arrow { transform: translate(2px, -3px); }

/* ============================================================
   Shop archive (Mağaza) — catalog + Demaura product cards
   ============================================================ */

/* Standalone catalog on the shop page */
.demaura-catalog-standalone {
	--dm-bg: #F6F0E6;
	--dm-text: #1F2D27;
	--dm-green: #233F35;
	--dm-accent: #B8865B;
	--dm-muted: #586A60;
	--dm-serif: "Cormorant Garamond", Georgia, serif;
	--dm-sans: "Inter", system-ui, sans-serif;
	--dm-accent-font: "Inter", system-ui, sans-serif;
	--dm-journey-bg: #E6DCCC;
	margin: clamp(8px, 2vw, 24px) auto clamp(20px, 3vw, 40px);
}

/* Hide leftover empty "no products" notice on the shop archive */
.woocommerce-shop .woocommerce-info:empty,
.post-type-archive-product .woocommerce-info:empty { display: none !important; }

/* Product cards → homepage look (image, serif name, rating under name, price, qty form) */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	background: #fff;
	border: 1px solid var(--dmw-line);
	border-radius: 16px;
	overflow: hidden;
	text-align: left;
	padding: 0 0 16px;
	transition: transform .25s ease, box-shadow .25s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31, 45, 39, .12); }
.woocommerce ul.products li.product a img { margin: 0; border-radius: 0; width: 100%; display: block; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
	font-family: var(--dmw-serif) !important;
	color: var(--dmw-green) !important;
	font-size: clamp(18px, 1.5vw, 23px) !important;
	line-height: 1.15;
	padding: 14px 16px 0;
	margin: 0;
}
/* rating: under the name, above the price */
.woocommerce ul.products li.product .star-rating {
	margin: 8px 16px 0;
	font-size: .9em;
	color: var(--dmw-copper);
}
.woocommerce ul.products li.product .price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 8px 16px 0;
	color: var(--dmw-green) !important;
	font-weight: 600;
}
.woocommerce ul.products li.product .price ins { order: 1; color: var(--dmw-green) !important; text-decoration: none; font-weight: 600; }
.woocommerce ul.products li.product .price del { order: 2; color: var(--dmw-copper) !important; text-decoration: line-through; opacity: 1; font-weight: 400; }
.woocommerce ul.products li.product .demaura-card-cart { padding: 12px 16px 0; margin: 0; }

/* List view: name → rating → price → short description → qty form */
.woocommerce ul.products.products-list-view li.product,
.woocommerce ul.products li.product.product-list-view {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 24px;
	align-items: start;
}
.woocommerce ul.products li.product .woocommerce-product-details__short-description {
	padding: 8px 16px 0;
	color: var(--dmw-muted);
	line-height: 1.7;
}

/* Ratings are collected (admin-only) but never shown on the site.
   Hide all rating DISPLAYS; keep the "Puanla" input (p.stars) in the review form. */
.woocommerce .star-rating,
.woocommerce-page .star-rating,
.woocommerce .woocommerce-product-rating { display: none !important; }
.woocommerce #review_form .comment-form-rating,
.woocommerce #review_form p.stars,
.woocommerce #review_form .stars { display: block !important; }
