/**
 * Twenty Twenty-Five Sunshine - WooCommerce customisations
 */

/* Product cards (classic templates) */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	background: #fff;
	border-radius: 16px;
	padding: 16px;
	box-shadow: 0 4px 16px rgba(38, 30, 6, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(38, 30, 6, 0.12);
}

.woocommerce ul.products li.product img {
	border-radius: 12px;
}

/* Product cards (block-based catalogs, WooCommerce Blocks) */
.wc-block-grid__product {
	background: #fff;
	border-radius: 16px;
	padding: 16px;
	box-shadow: 0 4px 16px rgba(38, 30, 6, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wc-block-grid__product:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(38, 30, 6, 0.12);
}

.wc-block-grid__product-image img {
	border-radius: 12px;
}

/* Sale badge */
.woocommerce span.onsale,
.wc-block-grid__product-onsale {
	background: #ffc400;
	color: #261e06;
	border-radius: 999px;
	font-weight: 700;
	line-height: 2.2;
	min-height: 2.2em;
	padding: 0 0.9em;
	box-shadow: 0 4px 12px rgba(255, 196, 0, 0.4);
}

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce a.added_to_cart,
.woocommerce #place_order,
.woocommerce .wc-block-cart__submit-button,
.woocommerce .wc-block-components-button,
.woocommerce .wp-block-button__link,
.wc-block-components-button:not(.is-link) {
	background: #ffc400;
	color: #261e06;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 600;
	box-shadow: 0 6px 18px rgba(255, 196, 0, 0.35);
	transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.added_to_cart:hover,
.woocommerce #place_order:hover,
.woocommerce .wc-block-cart__submit-button:hover,
.woocommerce .wc-block-components-button:hover,
.wc-block-components-button:not(.is-link):hover {
	background: #ff9100;
	color: #fffdf5;
	border-color: transparent;
	box-shadow: 0 8px 24px rgba(255, 145, 0, 0.45);
}

/* Secondary / plain buttons */
.woocommerce a.button.wc-backward,
.woocommerce button.button.wc-backward {
	background: #fff3c4;
	color: #261e06;
	box-shadow: none;
}

/* Prices */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.wc-block-grid__product-price {
	color: #8a6d12;
	font-weight: 600;
}

.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins {
	background: none;
	color: #ff9100;
}

/* Product page */
.woocommerce div.product .product_title {
	font-weight: 800;
	letter-spacing: -0.02em;
}

.woocommerce div.product .woocommerce-product-gallery__wrapper img {
	border-radius: 16px;
}

.woocommerce div.product form.cart .qty {
	border: 1px solid #ffe38a;
	border-radius: 999px;
	padding: 0.55em 0.9em;
}

.woocommerce div.product div.summary .price {
	font-size: 1.6em;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	background: transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: #fffdf5;
	border: 1px solid #ffe38a;
	border-radius: 999px 999px 0 0;
	margin-right: 4px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: #ffc400;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: #261e06;
	font-weight: 600;
}

/* Cart + checkout panels */
.woocommerce-cart .cart_totals,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce table.shop_table,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
	border-radius: 12px;
	border-color: #ffe38a;
	background: #fff;
}

.woocommerce table.shop_table {
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(38, 30, 6, 0.06);
	overflow: hidden;
}

.woocommerce table.shop_table th {
	background: #fff3c4;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: 12px;
	border-top-color: #ffc400;
	box-shadow: 0 4px 16px rgba(38, 30, 6, 0.06);
}

.woocommerce-message,
.woocommerce-info {
	background: #fff3c4;
	color: #261e06;
}

.woocommerce-error {
	background: #fff5f0;
}

.woocommerce-message a,
.woocommerce-info a {
	color: #8a6d12;
}

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
	color: #8a6d12;
}

.woocommerce .woocommerce-breadcrumb a {
	color: #261e06;
}

/* Cart item thumbnails */
.woocommerce table.shop_table img {
	border-radius: 8px;
}