/* ZAYO — pagina de produs: galerie, sumar, add-to-cart, acordeon, recenzii */

.zy-product-top { padding-top: var(--zy-space-6); }
.zy-product-columns { align-items: flex-start; }

.zy-gallery .wc-block-product-gallery-large-image img {
	aspect-ratio: 4 / 5;
	object-fit: contain;
	background: var(--zy-surface-2);
	border-radius: var(--zy-radius-md);
	padding: var(--zy-space-6);
}
.zy-gallery .wc-block-product-gallery-thumbnails img {
	border-radius: var(--zy-radius-xs);
	border: 1px solid var(--zy-line);
	object-fit: contain;
	background: var(--zy-surface-2);
}

.zy-product-brand { text-transform: uppercase; font-size: var(--zy-fs-xs); font-weight: 600; color: var(--zy-muted); letter-spacing: 0.06em; }
.zy-product-brand a { color: var(--zy-muted); }
.zy-product-summary h1 { margin: 4px 0 0; }

.zy-product-price-row .price { font-weight: 700; }
.zy-product-price-row .price ins { text-decoration: none; color: var(--zy-orange-700); }
.zy-product-price-row .price del { color: var(--zy-muted); font-weight: 400; margin-right: 8px; }

.zy-product-stock { font-size: var(--zy-fs-sm); font-weight: 600; margin: var(--zy-space-2) 0; }

.zy-product-excerpt { color: var(--zy-slate); max-width: 60ch; margin: var(--zy-space-2) 0 var(--zy-space-5); }

/* Add to cart — lățime corectă pe toate viewporturile (bug clasic: butonul rămâne la ~30px) */
.zy-atc-row .wp-block-woocommerce-add-to-cart-with-options,
.zy-atc-row form.cart {
	display: flex;
	align-items: stretch;
	gap: var(--zy-space-3);
	flex-wrap: wrap;
}
.zy-atc-row .quantity { flex: 0 0 auto; }
.zy-atc-row .quantity input {
	width: 72px;
	height: var(--zy-tap);
	border: 1px solid var(--zy-line-strong);
	border-radius: var(--zy-radius-control);
	text-align: center;
	font-size: var(--zy-fs-md);
}
.zy-atc-row button.single_add_to_cart_button,
.zy-atc-row .wc-block-add-to-cart-with-options__button {
	flex: 1 1 auto !important;
	min-width: 200px;
	width: auto !important;
	min-height: var(--zy-tap);
	background: var(--zy-orange-700) !important;
	color: var(--zy-white) !important;
	border-radius: var(--zy-radius-pill) !important;
	font-weight: 600;
	font-size: var(--zy-fs-md);
	border: none;
}
.zy-atc-row button.single_add_to_cart_button:hover { background: var(--zy-orange-800) !important; }

/* Wishlist pe pagina de produs — link discret, nu buton flotant */
.zy-product-summary .tinvwl_add_to_wishlist_button:not(.tinvwl-loop) {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin-top: var(--zy-space-4);
	color: var(--zy-slate) !important;
	font-size: var(--zy-fs-sm);
	background: none !important;
}
.zy-product-summary .tinvwl_add_to_wishlist_button:not(.tinvwl-loop):hover { color: var(--zy-orange-700) !important; }

.zy-trust-chips { gap: var(--zy-space-2) !important; margin-top: var(--zy-space-5); }

/* Acordeon specificatii/descriere */
.zy-product-details .accordion-item__heading button { width: 100%; justify-content: space-between; display: flex; font-weight: 600; font-size: var(--zy-fs-md); color: var(--zy-ink); background: none; border: none; cursor: pointer; text-align: left; }
.zy-product-details .accordion-item__toggle-icon { color: var(--zy-orange-700); }
.zy-product-details table.woocommerce-product-attributes { width: 100%; border-collapse: collapse; font-size: var(--zy-fs-sm); }
.zy-product-details table.woocommerce-product-attributes th,
.zy-product-details table.woocommerce-product-attributes td {
	padding: var(--zy-space-2) 0;
	border-bottom: 1px solid var(--zy-line);
	text-align: left;
}
.zy-product-details table.woocommerce-product-attributes th { color: var(--zy-muted); font-weight: 500; width: 40%; }

.zy-product-meta { margin-top: var(--zy-space-6); color: var(--zy-muted); }
.zy-product-meta a { color: var(--zy-muted); }

.zy-related, .zy-reviews { padding-top: var(--zy-section-y-sm); }

.zy-reviews .woocommerce-review__author { font-weight: 600; }
.zy-reviews .comment-form input,
.zy-reviews .comment-form textarea {
	width: 100%;
	border: 1px solid var(--zy-line-strong);
	border-radius: var(--zy-radius-control);
	padding: var(--zy-space-3);
	font-size: var(--zy-fs-sm);
}
.zy-reviews .comment-form button,
.zy-reviews .comment-form input[type="submit"] {
	width: auto;
	background: var(--zy-orange-700);
	color: var(--zy-white);
	border-radius: var(--zy-radius-pill);
	padding: var(--zy-space-3) var(--zy-space-6);
	border: none;
	font-weight: 600;
	cursor: pointer;
}

@media (max-width: 781px) {
	.zy-product-columns { flex-wrap: wrap; }
	.zy-product-columns .wp-block-column { flex-basis: 100% !important; }
	.zy-atc-row button.single_add_to_cart_button { min-width: 0; width: 100% !important; }
}
