/*
Theme Name: Rovena Lane India Store
Theme URI: https://rovenalane.shop
Author: Rovena Lane
Author URI: https://rovenalane.shop
Description: A chic rose gold, white and gold WooCommerce theme for Rovena Lane, an Indian online store. Includes a product-grid landing page, one-click WhatsApp ordering, INR pricing, Indian store policies and a full Customizer for store details and colours.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rovenalane
Tags: e-commerce, woocommerce, custom-colors, custom-logo, responsive-layout, one-column, translation-ready
*/

/* ==========================================================================
   Design tokens (colours are overridden live from Appearance > Customize)
   ========================================================================== */
:root {
	--rl-primary: #B76E79;
	--rl-soft: #FBEFF1;
	--rl-gold: #C9A24B;
	--rl-white: #FFFFFF;
	--rl-wa: #25D366;
	--rl-text: #3A2E30;
	--rl-primary-dark: color-mix(in srgb, var(--rl-primary) 82%, #000);
	--rl-wa-dark: color-mix(in srgb, var(--rl-wa) 78%, #000);
	--rl-muted: #7d6e71;
	--rl-border: #f0dde0;
	--rl-radius: 14px;
	--rl-shadow: 0 10px 30px rgba(183, 110, 121, 0.14);
	--rl-font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--rl-font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--rl-font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--rl-text);
	background: var(--rl-white);
}
body.rl-modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rl-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--rl-primary-dark); }
h1, h2, h3, h4 { font-family: var(--rl-font-head); font-weight: 600; line-height: 1.25; margin: 0 0 .5em; color: var(--rl-text); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--rl-gold); outline-offset: 2px; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 100000;
	background: var(--rl-white); padding: 10px 16px; top: 8px; left: 8px; color: var(--rl-text);
}
.rl-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.rl-icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; vertical-align: -0.2em; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.rl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 18px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--rl-font-body); font-size: 14px; font-weight: 500; line-height: 1.2;
	cursor: pointer; text-align: center; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.rl-btn:hover { transform: translateY(-1px); }
.rl-btn--primary { background: var(--rl-primary); color: var(--rl-white); }
.rl-btn--primary:hover { background: var(--rl-primary-dark); color: var(--rl-white); }
.rl-btn--outline { background: transparent; color: var(--rl-primary); border-color: var(--rl-primary); }
.rl-btn--outline:hover { background: var(--rl-primary); color: var(--rl-white); }
.rl-btn--wa { background: var(--rl-wa); color: var(--rl-white); }
.rl-btn--wa:hover { background: var(--rl-wa-dark); color: var(--rl-white); }
.rl-btn--wa .rl-icon .h { fill: var(--rl-wa); }
.rl-btn--wa:hover .rl-icon .h { fill: var(--rl-wa-dark); }
.rl-btn--light { background: var(--rl-white); color: var(--rl-primary-dark); border-color: var(--rl-white); }
.rl-btn--disabled { background: #eee; color: #999; cursor: not-allowed; }
.rl-btn--lg { padding: 14px 26px; font-size: 15px; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.rl-topbar { background: var(--rl-primary-dark); color: var(--rl-white); font-size: 13px; }
.rl-topbar a { color: var(--rl-white); }
.rl-topbar a:hover { color: #fff3d6; }
.rl-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.rl-topbar__contact { display: flex; gap: 22px; flex-wrap: wrap; }
.rl-topbar__contact a { display: inline-flex; align-items: center; gap: 6px; }
.rl-topbar__msg { color: #fff3d6; }

/* ==========================================================================
   Header and navigation
   ========================================================================== */
.rl-header { background: var(--rl-white); border-bottom: 1px solid var(--rl-border); position: sticky; top: 0; z-index: 900; }
.admin-bar .rl-header { top: 32px; }
.rl-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.rl-brand { display: flex; align-items: center; gap: 12px; color: var(--rl-text); }
.rl-brand:hover { color: var(--rl-text); }
.rl-brand .custom-logo-link { display: block; }
.rl-brand .custom-logo { max-height: 56px; width: auto; }
.rl-brand-name { font-family: var(--rl-font-head); font-size: 28px; font-weight: 700; letter-spacing: .5px; color: var(--rl-primary); line-height: 1; }
.rl-brand-tag { display: block; font-size: 12px; color: var(--rl-gold); margin-top: 5px; letter-spacing: .4px; }
.rl-nav .rl-menu, .rl-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.rl-nav li { position: relative; }
.rl-nav a { display: block; padding: 10px 14px; color: var(--rl-text); font-size: 15px; font-weight: 500; border-radius: 999px; }
.rl-nav a:hover, .rl-nav .current-menu-item > a { color: var(--rl-primary); background: var(--rl-soft); }
.rl-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--rl-white); border: 1px solid var(--rl-border); border-radius: var(--rl-radius); box-shadow: var(--rl-shadow); padding: 8px; flex-direction: column; align-items: stretch; }
.rl-nav li:hover > .sub-menu, .rl-nav li:focus-within > .sub-menu { display: flex; }
.rl-header__actions { display: flex; align-items: center; gap: 10px; }
.rl-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rl-soft); color: var(--rl-primary); }
.rl-cart .rl-icon { width: 22px; height: 22px; }
.rl-cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--rl-gold); color: var(--rl-white); font-size: 11px; font-weight: 600; line-height: 20px; text-align: center; }
.rl-nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--rl-soft); cursor: pointer; padding: 0; position: relative; }
.rl-nav-toggle span, .rl-nav-toggle span::before, .rl-nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--rl-primary); position: absolute; left: 12px; transition: transform .2s ease, opacity .2s ease; }
.rl-nav-toggle span { top: 21px; }
.rl-nav-toggle span::before { top: -6px; left: 0; }
.rl-nav-toggle span::after { top: 6px; left: 0; }
.rl-nav-open .rl-nav-toggle span { background: transparent; }
.rl-nav-open .rl-nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.rl-nav-open .rl-nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.rl-hero {
	background:
		radial-gradient(circle at 12% 20%, rgba(201, 162, 75, .16), transparent 42%),
		radial-gradient(circle at 90% 85%, rgba(183, 110, 121, .22), transparent 45%),
		var(--rl-soft);
	padding: 84px 0 76px;
	text-align: center;
	border-bottom: 1px solid var(--rl-border);
}
.rl-hero__title { font-size: clamp(34px, 5.6vw, 62px); max-width: 860px; margin: 0 auto 18px; color: var(--rl-primary-dark); }
.rl-hero__subtitle { max-width: 640px; margin: 0 auto 30px; font-size: 18px; color: var(--rl-muted); }
.rl-hero__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.rl-hero__rule { width: 84px; height: 3px; background: var(--rl-gold); margin: 0 auto 24px; border-radius: 3px; }

/* Trust strip */
.rl-trust { background: var(--rl-white); border-bottom: 1px solid var(--rl-border); }
.rl-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.rl-trust__item { padding: 20px 14px; text-align: center; font-size: 14px; color: var(--rl-muted); border-right: 1px solid var(--rl-border); }
.rl-trust__item:last-child { border-right: 0; }
.rl-trust__item strong { display: block; color: var(--rl-primary-dark); font-family: var(--rl-font-head); font-size: 17px; }

/* ==========================================================================
   Product section and cards
   ========================================================================== */
.rl-section { padding: 64px 0; }
.rl-section__head { text-align: center; margin-bottom: 30px; }
.rl-section__head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.rl-section__head p { color: var(--rl-muted); margin: 0; }
.rl-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 34px; }
.rl-chip { border: 1px solid var(--rl-border); background: var(--rl-white); color: var(--rl-text); border-radius: 999px; padding: 8px 18px; font-family: var(--rl-font-body); font-size: 14px; cursor: pointer; transition: all .2s ease; }
.rl-chip:hover { border-color: var(--rl-primary); color: var(--rl-primary); }
.rl-chip[aria-pressed="true"] { background: var(--rl-primary); border-color: var(--rl-primary); color: var(--rl-white); }
.rl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.rl-card { background: var(--rl-white); border: 1px solid var(--rl-border); border-radius: var(--rl-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; position: relative; }
.rl-card:hover { box-shadow: var(--rl-shadow); transform: translateY(-3px); }
.rl-card[hidden] { display: none; }
.rl-card__media { display: block; background: var(--rl-soft); aspect-ratio: 1 / 1; overflow: hidden; }
.rl-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rl-card:hover .rl-card__media img { transform: scale(1.04); }
.rl-badge { position: absolute; top: 12px; left: 12px; background: var(--rl-gold); color: var(--rl-white); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; z-index: 2; }
.rl-badge--out { background: #8a8a8a; }
.rl-card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.rl-card__title { font-size: 19px; margin-bottom: 6px; }
.rl-card__title a { color: var(--rl-text); }
.rl-card__title a:hover { color: var(--rl-primary); }
.rl-card__price { font-size: 18px; font-weight: 600; color: var(--rl-primary-dark); margin-bottom: 8px; }
.rl-card__price del { color: var(--rl-muted); font-weight: 400; font-size: 14px; margin-right: 6px; }
.rl-card__price ins { text-decoration: none; }
.rl-card__desc { font-size: 14px; color: var(--rl-muted); margin-bottom: 16px; flex: 1; }
.rl-card__actions { display: grid; gap: 10px; }
.rl-card .added_to_cart { display: block; text-align: center; font-size: 13px; margin-top: 4px; color: var(--rl-gold); font-weight: 500; }
.rl-card .add_to_cart_button.loading { opacity: .6; }
.rl-card .add_to_cart_button.added::after { content: " \2713"; }
.rl-empty { text-align: center; padding: 40px 20px; background: var(--rl-soft); border-radius: var(--rl-radius); color: var(--rl-muted); }

/* ==========================================================================
   Generic content (pages, posts, WooCommerce)
   ========================================================================== */
.rl-main { padding: 48px 0 70px; min-height: 50vh; }
.rl-page-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 24px; }
.rl-entry { margin-bottom: 40px; }
.rl-entry__title a { color: var(--rl-text); }
.rl-entry__content { max-width: 900px; }
.rl-pagination { text-align: center; margin-top: 30px; }
.rl-pagination .page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid var(--rl-border); border-radius: 999px; margin: 0 3px; }
.rl-pagination .current { background: var(--rl-primary); color: var(--rl-white); border-color: var(--rl-primary); }

.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 {
	background: var(--rl-primary); color: var(--rl-white); border-radius: 999px; font-family: var(--rl-font-body); font-weight: 500; padding: 12px 22px; border: 0;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: var(--rl-primary-dark); color: var(--rl-white); }
.woocommerce .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--rl-primary-dark); font-weight: 600; }
.woocommerce span.onsale { background: var(--rl-gold); color: var(--rl-white); border-radius: 999px; min-height: 0; min-width: 0; line-height: 1; padding: 8px 14px; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--rl-primary); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--rl-primary); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--rl-font-head); }
.woocommerce div.product .product_title { font-size: clamp(26px, 3.4vw, 38px); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.woocommerce div.product form.cart .button { float: none; }
.woocommerce table.shop_table { border-radius: var(--rl-radius); border-color: var(--rl-border); }
.rl-single-wa { display: flex; width: 100%; }
.rl-cart-wa { display: flex; width: 100%; margin-top: 12px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 1px solid var(--rl-border); border-radius: 10px; padding: 10px 12px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.rl-footer { background: #2f2326; color: #e9dcde; margin-top: 0; }
.rl-footer a { color: #f3d9de; }
.rl-footer a:hover { color: var(--rl-gold); }
.rl-footer__grid { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr 1fr; gap: 36px; padding: 60px 0 40px; }
.rl-footer h3 { color: var(--rl-white); font-size: 19px; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.rl-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--rl-gold); }
.rl-footer ul { list-style: none; margin: 0; padding: 0; }
.rl-footer li { margin-bottom: 9px; }
.rl-footer__about p { font-size: 14px; color: #cdbcbf; }
.rl-footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.rl-footer__contact .rl-icon { color: var(--rl-gold); margin-top: 4px; }
.rl-footer__gst { display: inline-block; margin-top: 8px; padding: 6px 12px; border: 1px dashed var(--rl-gold); border-radius: 8px; font-size: 13px; color: #f1e2b8; }
.rl-social { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.rl-social a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .09); font-size: 14px; font-weight: 600; color: var(--rl-white); }
.rl-social a:hover { background: var(--rl-gold); color: var(--rl-white); }
.rl-social a.rl-social--wa { background: var(--rl-wa); }
.rl-policy-link { background: none; border: 0; padding: 0; color: #f3d9de; font: inherit; cursor: pointer; text-align: left; }
.rl-policy-link:hover { color: var(--rl-gold); }
.rl-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: 13px; color: #b9a6a9; }
.rl-footer__bottom-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* Floating WhatsApp chat button */
.rl-float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 950; width: 58px; height: 58px; border-radius: 50%; background: var(--rl-wa); color: var(--rl-white); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.rl-float-wa:hover { background: var(--rl-wa-dark); color: var(--rl-white); }
.rl-float-wa .rl-icon { width: 32px; height: 32px; }
.rl-float-wa .rl-icon .h { fill: var(--rl-wa); }
.rl-float-wa:hover .rl-icon .h { fill: var(--rl-wa-dark); }

/* ==========================================================================
   Policy modals
   ========================================================================== */
.rl-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 18px; }
.rl-modal[hidden] { display: none; }
.rl-modal__backdrop { position: absolute; inset: 0; background: rgba(47, 35, 38, .72); }
.rl-modal__box { position: relative; background: var(--rl-white); width: 100%; max-width: 820px; max-height: 88vh; border-radius: var(--rl-radius); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); display: flex; flex-direction: column; overflow: hidden; }
.rl-modal__head { padding: 20px 64px 16px 26px; border-bottom: 3px solid var(--rl-gold); background: var(--rl-soft); }
.rl-modal__head h2 { margin: 0; font-size: 26px; color: var(--rl-primary-dark); }
.rl-modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--rl-white); color: var(--rl-primary-dark); font-size: 26px; line-height: 1; cursor: pointer; }
.rl-modal__close:hover { background: var(--rl-primary); color: var(--rl-white); }
.rl-modal__body { padding: 22px 26px 28px; overflow-y: auto; font-size: 15px; }
.rl-modal__body h3 { font-size: 18px; margin: 22px 0 8px; color: var(--rl-primary-dark); }
.rl-modal__body table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14px; }
.rl-modal__body th, .rl-modal__body td { border: 1px solid var(--rl-border); padding: 10px 12px; text-align: left; }
.rl-modal__body th { background: var(--rl-soft); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.rl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rl-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.rl-nav-toggle { display: inline-block; }
	.rl-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--rl-white); border-bottom: 1px solid var(--rl-border); box-shadow: var(--rl-shadow); padding: 10px 20px 18px; }
	.rl-nav-open .rl-nav { display: block; }
	.rl-nav .rl-menu, .rl-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.rl-nav .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 14px; }
	.rl-trust__grid { grid-template-columns: repeat(2, 1fr); }
	.rl-trust__item:nth-child(2) { border-right: 0; }
	.rl-trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--rl-border); }
	.rl-topbar__msg { display: none; }
	.admin-bar .rl-header { top: 46px; }
}
@media (max-width: 680px) {
	.rl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.rl-card__body { padding: 12px 12px 14px; }
	.rl-card__title { font-size: 16px; }
	.rl-card__desc { display: none; }
	.rl-btn { padding: 10px 12px; font-size: 13px; }
	.rl-hero { padding: 56px 0 50px; }
	.rl-section { padding: 44px 0; }
	.rl-footer__grid { grid-template-columns: 1fr; padding: 44px 0 26px; }
	.rl-modal { padding: 0; }
	.rl-modal__box { max-height: 100vh; height: 100%; border-radius: 0; }
}
@media (max-width: 380px) {
	.rl-grid { grid-template-columns: 1fr; }
	.rl-card__desc { display: block; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
