/* WooCommerce on a dark theme: the shop content sits in a light "paper" panel so that
   WooCommerce's own styles (forms, notices, order tables) stay readable without fighting them. */

.shop-panel {
	background: #f6f8fc;
	color: #1b2235;
	border-radius: var(--radius);
	padding: clamp(20px, 4vw, 36px);
	box-shadow: var(--shadow);
}
.shop-panel a {
	color: #0a7a52;
}
.shop-panel h1,
.shop-panel h2,
.shop-panel h3,
.shop-panel h4 {
	color: #0f172a;
}
.shop-panel .button,
.shop-panel .wc-block-components-button,
.shop-panel button.wp-element-button {
	background: #0a7a52 !important;
	color: #fff !important;
	border-radius: 999px;
	font-weight: 800;
	border: 0;
}
.shop-panel .button:hover {
	background: #065c3d !important;
}
.shop-panel .button.mrrobot-request {
	background: var(--sun) !important;
	color: #2d1500 !important;
}
.shop-panel input[type="text"],
.shop-panel input[type="email"],
.shop-panel input[type="tel"],
.shop-panel input[type="number"],
.shop-panel input[type="password"],
.shop-panel select,
.shop-panel textarea,
.shop-panel .select2-container .select2-selection--single {
	background: #fff;
	color: #1b2235;
	border: 1px solid #c8d0e0;
}
.shop-panel input:focus,
.shop-panel textarea:focus,
.shop-panel select:focus {
	border-color: #0a7a52;
	box-shadow: 0 0 0 3px rgba(10, 122, 82, 0.15);
}
.shop-panel .woocommerce-notices-wrapper .woocommerce-message,
.shop-panel .woocommerce-info,
.shop-panel .woocommerce-error {
	border-top-color: #0a7a52;
	background: #fff;
	color: #1b2235;
}
.shop-panel .woocommerce-error {
	border-top-color: #d64545;
}

/* product grid */
.shop-panel ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.shop-panel ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	background: #fff;
	border: 1px solid #e3e8f2;
	border-radius: var(--radius);
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.shop-panel ul.products li.product:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}
.shop-panel ul.products li.product img {
	border-radius: var(--radius-sm);
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}
.shop-panel ul.products li.product .woocommerce-loop-product__title {
	font-size: 1.05rem;
	font-weight: 800;
	padding: 0;
	margin: 0;
}
.shop-panel ul.products li.product .price {
	font-family: var(--font-mono);
	font-weight: 700;
	color: #0a7a52 !important;
	font-size: 1.1rem;
}
.shop-panel ul.products li.product .price .price-period {
	color: #5b6478;
}
.shop-panel ul.products li.product .button {
	margin-top: auto;
	align-self: flex-start;
}
.shop-panel .woocommerce-result-count,
.shop-panel .woocommerce-ordering {
	margin-bottom: 16px;
	font-size: 0.9rem;
}
@media (max-width: 900px) {
	.shop-panel ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 540px) {
	.shop-panel ul.products {
		grid-template-columns: 1fr;
	}
}

/* single product */
.shop-panel div.product .product_title {
	font-size: 1.8rem;
}
.shop-panel div.product p.price,
.shop-panel div.product span.price {
	font-family: var(--font-mono);
	color: #0a7a52;
	font-size: 1.4rem;
}
.shop-panel div.product .woocommerce-product-details__short-description {
	font-size: 1.05rem;
}
.shop-panel .woocommerce-tabs ul.tabs li {
	background: #e9eef7;
	border-color: #d7deea;
}
.shop-panel .woocommerce-tabs ul.tabs li.active {
	background: #fff;
}
.shop-panel .woocommerce-tabs .panel {
	background: #fff;
	padding: 20px;
	border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
}
.shop-panel .related.products,
.shop-panel .upsells.products {
	margin-top: 40px;
}
.shop-panel .mrrobot-request-wrap small {
	color: #5b6478;
}

/* cart / checkout (blocks + classic) */
.shop-panel .wc-block-components-sidebar-layout,
.shop-panel .wc-block-cart {
	color: #1b2235;
}
.shop-panel .wc-block-components-totals-footer-item,
.shop-panel .wc-block-components-order-summary {
	color: #1b2235;
}
.shop-panel table.shop_table {
	border: 1px solid #e3e8f2;
	border-radius: var(--radius-sm);
	background: #fff;
}
.shop-panel table.shop_table th,
.shop-panel table.shop_table td {
	border-color: #e3e8f2;
}
.shop-panel .cart_totals,
.shop-panel .woocommerce-checkout-review-order {
	background: #fff;
	border-radius: var(--radius-sm);
	padding: 16px;
}
.shop-panel #payment {
	background: #eef2f9;
	border-radius: var(--radius-sm);
}
.shop-panel #payment div.payment_box {
	background: #fff;
}
.shop-panel #payment div.payment_box::before {
	border-bottom-color: #fff;
}

/* my account */
.shop-panel .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
}
.shop-panel .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
}
.shop-panel .woocommerce-MyAccount-navigation li.is-active a {
	background: #e3efe9;
	color: #065c3d;
}

/* store notice */
.woocommerce-store-notice {
	background: var(--sun);
	color: #2d1500;
}
.woocommerce-store-notice__dismiss-link {
	color: #2d1500;
}
