/*
 * Rozer Modern Skin
 * Sleek visual refresh layered on top of theme.css (loaded after it, so
 * rules here win on equal specificity). Purely cosmetic: colors, spacing,
 * typography, shadows, radii and hover motion — no markup/JS dependency
 * beyond the class names theme.css / WooCommerce already define.
 *
 * Palette matches the site's existing custom single-product page (navy,
 * not black) so the shop, cart, checkout and account pages read as one
 * consistent "cool" look instead of clashing with it.
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
	--rm-cool: #1d3a6e;
	--rm-cool-light: #2c5aa0;
	--rm-cool-soft: #eef2f9;
	--rm-gold: #f5a623;
	--rm-green: #1a9c4a;
	--rm-ink: #1c1d21;
	--rm-muted: #767782;
	--rm-surface: #ffffff;
	--rm-surface-tint: #f6f7fb;
	--rm-border: #ececf1;
	--rm-radius: 14px;
	--rm-radius-sm: 8px;
	--rm-shadow: 0 6px 24px rgba(20, 20, 30, 0.06);
	--rm-shadow-hover: 0 16px 36px rgba(20, 20, 30, 0.12);
	--rm-ease: cubic-bezier(.22, 1, .36, 1);
}

body {
	font-family: 'Poppins', sans-serif;
	color: var(--rm-ink);
}

h1, h2, h3, h4, h5, h6,
.page-title, .product-title h6 {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
}

a { transition: color .25s var(--rm-ease); }

/* ---------- Topbar ---------- */

.topbar-header {
	background: linear-gradient(90deg, var(--rm-cool) 0%, var(--rm-cool-light) 100%);
	font-size: .8rem;
	letter-spacing: .02em;
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
	background: var(--rm-surface-tint);
	padding: 18px 0;
	font-size: .85rem;
	font-weight: 500;
}

.breadcrumb ul>li+li:before {
	color: #c7c8d1;
}

.breadcrumb a {
	color: var(--rm-muted);
}

.breadcrumb a:hover {
	color: var(--rm-cool);
}

/* ---------- Category / shop title banner ---------- */

.page-title-wrapper,
.page-title-section {
	position: relative;
	background: linear-gradient(120deg, var(--rm-cool) 0%, var(--rm-cool-light) 100%);
	border-radius: var(--rm-radius);
	padding: 46px 40px !important;
	margin: 24px 0 32px !important;
	overflow: hidden;
	box-shadow: var(--rm-shadow);
}

.page-title-wrapper:before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .12), transparent 55%);
	pointer-events: none;
}

.page-title-wrapper .page-title,
.page-title-section .page-title {
	color: #fff !important;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: 1.9rem;
	margin: 0 !important;
}

.page-title-wrapper .woocommerce-breadcrumb,
.page-title-wrapper .breadcrumb {
	background: transparent;
	padding: 0;
	margin-top: 10px;
}

/* ---------- Toolbar (view mode / result count / sorting) ---------- */

.toolbar {
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-sm);
	padding: 14px 18px;
	box-shadow: var(--rm-shadow);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

.toolbar .view-mode {
	float: none;
	display: flex;
	gap: 6px;
}

.toolbar .view-mode > button {
	width: 34px;
	height: 34px;
	border-radius: var(--rm-radius-sm);
	background: var(--rm-surface-tint);
	transition: background .2s var(--rm-ease), color .2s var(--rm-ease);
}

.toolbar .view-mode > button.active,
.toolbar .view-mode > button:hover {
	background: var(--rm-cool);
}

.toolbar .woocommerce-result-count {
	color: var(--rm-muted);
	font-size: .85rem;
	margin: 0 !important;
}

.toolbar .woocommerce-ordering {
	margin-left: auto !important;
}

.toolbar .orderby {
	border: 1px solid var(--rm-border) !important;
	border-radius: 999px !important;
	padding: 8px 34px 8px 16px !important;
	font-size: .82rem;
	font-weight: 500;
	background-color: var(--rm-surface-tint) !important;
	cursor: pointer;
}

/* ---------- Product grid cards (shop, related, upsells, cross-sells) ---------- */

.product-inner.product-grid {
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius);
	overflow: hidden;
	transition: transform .35s var(--rm-ease), box-shadow .35s var(--rm-ease);
}

.product-inner.product-grid:hover {
	transform: translateY(-6px);
	box-shadow: var(--rm-shadow-hover);
	border-color: transparent;
}

.product-inner .product-image {
	background: var(--rm-surface-tint);
	overflow: hidden;
}

.product-inner .product-image img {
	transition: transform .5s var(--rm-ease);
}

.product-inner.product-grid:hover .product-image img {
	transform: scale(1.06);
}

.product-labels span,
.onsale {
	border-radius: 999px !important;
	font-size: .68rem !important;
	font-weight: 600 !important;
	letter-spacing: .03em;
	text-transform: uppercase;
	padding: 5px 12px !important;
	background: var(--rm-cool) !important;
}

.action-links ul {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.action-links a {
	border-radius: 50% !important;
	background: #fff !important;
	box-shadow: 0 4px 14px rgba(20, 20, 30, .14);
	transition: background .25s var(--rm-ease), color .25s var(--rm-ease), transform .25s var(--rm-ease);
}

.action-links a:hover {
	background: var(--rm-cool) !important;
	color: #fff !important;
	transform: translateY(-2px);
}

.product-content {
	padding: 18px 16px 20px;
}

.product-category {
	color: var(--rm-muted);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.product-title h6 {
	font-size: .92rem;
	font-weight: 500;
	line-height: 1.4;
	margin: 0 0 8px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.product-title h6 a {
	color: var(--rm-ink);
}

.product-title h6 a:hover {
	color: var(--rm-cool);
}

.product-price .price {
	font-weight: 600;
}

.product-price .price ins {
	color: var(--rm-cool);
	text-decoration: none;
	font-weight: 700;
}

.product-price .price del {
	color: #bcbdc6;
	font-weight: 400;
	margin-right: 6px;
}

.product-cart {
	margin-top: 12px;
}

.product-cart a.button,
.product-cart a.add_to_cart_button {
	display: block;
	width: 100%;
	text-align: center;
	border-radius: 999px;
	padding: 10px 14px;
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	background: var(--rm-cool);
	color: #fff;
	border: 0;
	transition: background .25s var(--rm-ease), transform .2s var(--rm-ease);
}

.product-cart a.button:hover,
.product-cart a.add_to_cart_button:hover {
	background: var(--rm-cool-light);
	transform: translateY(-2px);
}

/* ---------- Pagination ---------- */

.woocommerce-pagination .page-numbers li .page-numbers,
.rozer-pagination .page-numbers li .page-numbers {
	height: 40px;
	width: 40px;
	line-height: 40px;
	border-radius: 50% !important;
	background: var(--rm-surface-tint);
	font-weight: 600;
	transition: background .25s var(--rm-ease), color .25s var(--rm-ease), transform .2s var(--rm-ease);
}

.woocommerce-pagination .page-numbers li .page-numbers.current,
.woocommerce-pagination .page-numbers li .page-numbers:hover,
.rozer-pagination .page-numbers li .page-numbers.current,
.rozer-pagination .page-numbers li .page-numbers:hover {
	background: var(--rm-cool);
	color: #fff;
	transform: translateY(-2px);
}

/* ---------- Single product: title, tabs, quantity input, gallery ---------- */

.summary .product_title,
.product_title.entry-title {
	display: inline-block;
	background: linear-gradient(120deg, var(--rm-cool) 0%, var(--rm-cool-light) 100%) !important;
	color: #fff !important;
	padding: 16px 22px !important;
	border-radius: var(--rm-radius-sm);
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: 1.5rem !important;
	box-shadow: var(--rm-shadow);
}

.summary .price ins {
	color: var(--rm-cool) !important;
}

.summary .price del {
	color: #bcbdc6 !important;
	font-weight: 400;
}

.woocommerce-tabs .tabs li a {
	font-weight: 600;
	color: var(--rm-muted) !important;
}

.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li a:hover {
	color: var(--rm-cool) !important;
}

.woocommerce-tabs .tabs li.active a:after {
	background: var(--rm-cool) !important;
}

.woocommerce-tabs .panel,
.woocommerce-Tabs-panel {
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius);
	padding: 28px;
}

.quantity .qty,
input.qty {
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius-sm) !important;
	text-align: center;
}

.single_add_to_cart_button,
button.single_add_to_cart_button {
	background: var(--rm-cool) !important;
	border-radius: 999px !important;
	font-weight: 600 !important;
	letter-spacing: .02em;
	transition: background .25s var(--rm-ease), transform .2s var(--rm-ease);
}

.single_add_to_cart_button:hover {
	background: var(--rm-cool-light) !important;
	transform: translateY(-2px);
}

/* ---------- Cart page ---------- */

table.shop_table {
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius);
	overflow: hidden;
	box-shadow: var(--rm-shadow);
}

table.shop_table thead th {
	background: var(--rm-cool-soft);
	color: var(--rm-cool);
	font-weight: 600;
	text-transform: uppercase;
	font-size: .75rem;
	letter-spacing: .04em;
	border: 0 !important;
}

table.shop_table td {
	border-color: var(--rm-border) !important;
}

table.shop_table .product-thumbnail img {
	border-radius: var(--rm-radius-sm);
}

table.shop_table .remove {
	color: var(--rm-muted) !important;
	border-radius: 50% !important;
	transition: background .2s var(--rm-ease), color .2s var(--rm-ease);
}

table.shop_table .remove:hover {
	background: #fdeaea !important;
	color: #c0392b !important;
}

.coupon .input-text {
	border: 1px solid var(--rm-border);
	border-radius: 999px;
	padding: 10px 18px;
}

.cart-collaterals .cart_totals {
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius);
	padding: 24px;
	box-shadow: var(--rm-shadow);
}

.cart_totals h2 {
	font-size: 1.1rem;
}

.cart_totals .order-total .amount {
	color: var(--rm-cool);
	font-weight: 700;
}

.wc-proceed-to-checkout a.checkout-button,
a.checkout-button {
	background: var(--rm-cool) !important;
	border-radius: 999px !important;
	font-weight: 600 !important;
	letter-spacing: .02em;
	transition: background .25s var(--rm-ease), transform .2s var(--rm-ease);
}

.wc-proceed-to-checkout a.checkout-button:hover,
a.checkout-button:hover {
	background: var(--rm-cool-light) !important;
	transform: translateY(-2px);
}

.button,
button.button,
input.button {
	border-radius: 999px;
	transition: background .25s var(--rm-ease), transform .2s var(--rm-ease);
}

/* ---------- Checkout page ---------- */

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_review {
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius);
	padding: 24px;
	box-shadow: var(--rm-shadow);
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius-sm) !important;
	padding: 10px 14px !important;
}

.woocommerce-checkout table.shop_table thead {
	display: table-header-group;
}

#payment {
	background: var(--rm-cool-soft) !important;
	border-radius: var(--rm-radius) !important;
}

#payment .payment_methods li {
	border-color: var(--rm-border) !important;
}

#place_order {
	background: var(--rm-cool) !important;
	border-radius: 999px !important;
	font-weight: 600 !important;
	letter-spacing: .02em;
	padding: 14px 24px !important;
	transition: background .25s var(--rm-ease), transform .2s var(--rm-ease);
}

#place_order:hover {
	background: var(--rm-cool-light) !important;
	transform: translateY(-2px);
}

/* ---------- Checkout page (WooCommerce Checkout block) ----------
   Newer WooCommerce stores render checkout via the block editor
   (wp-block-woocommerce-checkout), which uses wc-block-* classes
   instead of the classic #order_review / .woocommerce-checkout
   markup styled above. Both rulesets are kept since either could be
   in use, but only one will ever match on a given install. */

.wp-block-woocommerce-checkout .wc-block-components-checkout-step {
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius);
	padding: 22px 24px;
	margin-bottom: 18px;
	box-shadow: var(--rm-shadow);
}

.wc-block-components-checkout-step__title {
	font-weight: 600;
	font-size: 1.05rem;
}

.wc-block-components-checkout-step__heading-icon {
	color: var(--rm-cool);
}

.wc-block-components-text-input input,
.wc-block-components-textarea textarea,
.wc-block-components-combobox input,
.wc-block-components-select select {
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius-sm) !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox input:focus {
	border-color: var(--rm-cool) !important;
	box-shadow: 0 0 0 3px var(--rm-cool-soft) !important;
}

.wc-block-components-address-card {
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius-sm) !important;
	padding: 14px 16px !important;
}

.wc-block-components-address-card__edit {
	color: var(--rm-cool) !important;
}

.wc-block-components-radio-control__option {
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius-sm) !important;
	transition: border-color .2s var(--rm-ease), background .2s var(--rm-ease);
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option:has(input:checked),
.wc-block-components-radio-control__option-checked {
	border-color: var(--rm-cool) !important;
	background: var(--rm-cool-soft) !important;
}

.wc-block-components-radio-control__input:checked {
	accent-color: var(--rm-cool);
}

.wc-block-components-checkbox__input:checked + .wc-block-components-checkbox__mark {
	color: var(--rm-cool);
}

.wc-block-components-panel__button {
	color: var(--rm-cool) !important;
	font-weight: 600;
}

.wc-block-components-order-summary,
.wc-block-checkout__sidebar .wc-block-components-panel,
.wc-block-components-totals-wrapper {
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius);
	box-shadow: var(--rm-shadow);
}

.wc-block-components-product-badge {
	background: var(--rm-cool) !important;
	color: #fff !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
	color: var(--rm-cool);
	font-weight: 700;
}

.wc-block-components-checkout-place-order-button,
.wc-block-components-button.wp-element-button {
	background: var(--rm-cool) !important;
	border-radius: 999px !important;
	font-weight: 600 !important;
	letter-spacing: .02em;
	transition: background .25s var(--rm-ease), transform .2s var(--rm-ease);
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button.wp-element-button:hover {
	background: var(--rm-cool-light) !important;
	transform: translateY(-2px);
}

/* ---------- My account ---------- */

.woocommerce-account .woocommerce-MyAccount-navigation > ul {
	border: 1px solid var(--rm-border) !important;
	border-radius: var(--rm-radius);
	overflow: hidden;
	box-shadow: var(--rm-shadow);
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul > li {
	border-color: var(--rm-border) !important;
	transition: background .2s var(--rm-ease);
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul > li.is-active,
.woocommerce-account .woocommerce-MyAccount-navigation > ul > li:hover {
	background: var(--rm-cool-soft);
}

.woocommerce-account .woocommerce-MyAccount-navigation > ul > li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation > ul > li:hover a {
	color: var(--rm-cool);
	font-weight: 600;
}

.woocommerce-form-login .input-text,
.woocommerce-form-register .input-text,
.woocommerce-ResetPassword .input-text {
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius-sm);
	padding: 10px 14px;
}

.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.woocommerce-Button {
	background: var(--rm-cool) !important;
	border-radius: 999px !important;
	font-weight: 600 !important;
	transition: background .25s var(--rm-ease), transform .2s var(--rm-ease);
}

.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover,
.woocommerce-Button:hover {
	background: var(--rm-cool-light) !important;
	transform: translateY(-2px);
}

table.my_account_orders,
table.woocommerce-orders-table {
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius);
	overflow: hidden;
	box-shadow: var(--rm-shadow);
}

table.my_account_orders thead th,
table.woocommerce-orders-table thead th {
	background: var(--rm-cool-soft);
	color: var(--rm-cool);
	text-transform: uppercase;
	font-size: .75rem;
	letter-spacing: .04em;
}

.woocommerce-orders-table__cell-order-status mark.order-status {
	background: var(--rm-cool-soft);
	color: var(--rm-cool);
	border-radius: 999px;
	padding: 4px 12px;
	font-weight: 600;
}

/* ---------- Upsells / cross-sells / related products heading ---------- */

.upsells > h2,
.related > h2,
.cross-sells > h2 {
	border-bottom: 2px solid var(--rm-cool) !important;
	font-weight: 600;
	padding-bottom: 12px;
	display: inline-block;
}

/* ---------- Footer ---------- */

.site-footer,
.footer-widgets {
	background: var(--rm-surface-tint);
}

.site-footer h4,
.site-footer .widget-title {
	font-weight: 600;
	letter-spacing: .02em;
}

.site-footer a:hover {
	color: var(--rm-cool);
}

/* ---------- Homepage product carousels (Unlimited Elements "Woo Product
   Carousel" widget -- uc_/ue_ prefixed classes, used for "Baby Care
   Product" / "Adult Care Product" sections) ---------- */

.uc_image_carousel_container_holder {
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: var(--rm-radius);
	overflow: hidden;
	transition: transform .3s var(--rm-ease), box-shadow .3s var(--rm-ease);
}

.uc_image_carousel_container_holder:hover {
	transform: translateY(-4px);
	box-shadow: var(--rm-shadow-hover);
	border-color: transparent;
}

.uc_image_carousel_placeholder {
	background: var(--rm-surface-tint);
}

.ue_woocommerce_product_label {
	border-radius: 999px !important;
	font-size: .68rem !important;
	font-weight: 600 !important;
	letter-spacing: .02em;
	text-transform: uppercase;
	padding: 4px 10px !important;
	line-height: 1.4;
}

.ue_woocommerce_product_carousel_sale_label {
	background: var(--rm-cool) !important;
	color: #fff !important;
}

.ue_woocommerce_product_grid_out_of_stock_label {
	background: #9aa1ac !important;
	color: #fff !important;
}

.uc_image_carousel_content_inside {
	padding: 14px 14px 16px;
}

.ue_cat_name {
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--rm-muted);
}

.ue_cat_name a {
	color: inherit;
}

.uc_post_title {
	font-size: .92rem !important;
	font-weight: 600 !important;
	line-height: 1.4;
	margin: 4px 0 6px !important;
}

.uc_post_title a {
	color: var(--rm-ink);
}

.uc_prices {
	margin-bottom: 10px;
}

.uc_prices .uc_price .woocommerce-Price-amount {
	color: var(--rm-cool);
	font-weight: 700;
}

.uc_prices .uc_regular_price .woocommerce-Price-amount {
	color: #bcbdc6;
	font-weight: 400;
}

/* The "Buy Now" link duplicated what clicking the image/title already
   does, which is what made these cards feel crowded -- drop it and let
   Add To Cart be the one clear action. */
.uc_post_grid_style_one_button .uc_more_btn {
	display: none !important;
}

.uc_post_grid_style_one_button .uc-button-addcart {
	border-radius: 999px !important;
	background: var(--rm-cool) !important;
	color: #fff !important;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	font-size: .78rem;
	padding: 10px 14px !important;
	border: 0 !important;
	transition: background .25s var(--rm-ease), transform .2s var(--rm-ease);
}

.uc_post_grid_style_one_button .uc-button-addcart:hover {
	background: var(--rm-cool-light) !important;
	transform: translateY(-2px);
}
