/* ============ Prabha Jewels design system ============
   White canvas · gold accents · deep navy chrome
   Display: Cormorant Garamond · Body: Inter          */
:root {
	--pj-white: #ffffff;
	--pj-gold: #d4af37;
	--pj-gold-dark: #8a6d1f;
	--pj-navy: #2f3b52;
	--pj-cream: #f2e9d0;
	--pj-green: #bfe3c4;
	--pj-rose: #e8b4b4;
	--pj-ink: #23262b;
	--pj-radius: 12px;
	--pj-shadow: 0 4px 18px rgba(47, 59, 82, 0.10);
	--pj-shadow-lg: 0 12px 34px rgba(47, 59, 82, 0.16);
	--pj-font-display: "Cormorant Garamond", Georgia, serif;
	--pj-font-body: "Inter", -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--pj-font-body); color: var(--pj-ink); background: var(--pj-white); line-height: 1.6; }
h1, h2, h3, h4, .pj-page-title, .pj-post-title { font-family: var(--pj-font-display); color: var(--pj-navy); line-height: 1.2; letter-spacing: 0.01em; }
a { color: var(--pj-gold-dark); text-decoration: none; }
a:hover { color: var(--pj-navy); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--pj-gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.pj-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.pj-section { padding: 48px 0; }

/* Announcement */
.pj-announce { background: var(--pj-navy); color: var(--pj-cream); text-align: center; font-size: 0.82rem; letter-spacing: 0.08em; padding: 7px 12px; }

/* Header */
.pj-header { background: var(--pj-white); border-bottom: 1px solid var(--pj-cream); position: sticky; top: 0; z-index: 90; }
.pj-header-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.pj-logo-text { font-family: var(--pj-font-display); font-weight: 700; font-size: 1.5rem; color: var(--pj-navy); }
.pj-logo img { max-height: 56px; width: auto; }
.pj-nav { margin-left: auto; }
.pj-menu { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.pj-menu a { color: var(--pj-navy); font-weight: 500; font-size: 0.93rem; }
.pj-menu a:hover { color: var(--pj-gold-dark); }
.pj-header-actions { display: flex; align-items: center; gap: 12px; }
.pj-icon-link { position: relative; font-size: 1.15rem; color: var(--pj-navy); }
.pj-badge { position: absolute; top: -7px; right: -10px; background: var(--pj-gold); color: #fff; font-size: 0.62rem; font-weight: 600; border-radius: 999px; padding: 1px 5px; }

/* Buttons */
.pj-btn, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-block; background: var(--pj-gold); color: #fff; border: 0; border-radius: 999px;
	padding: 11px 26px; font-family: var(--pj-font-body); font-weight: 600; font-size: 0.92rem;
	cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.pj-btn:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--pj-navy); color: #fff; transform: translateY(-1px); box-shadow: var(--pj-shadow); }
.woocommerce button.button.alt, .woocommerce a.button.alt { background: var(--pj-navy); }
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: var(--pj-gold); }
.pj-btn-ghost { background: transparent; color: var(--pj-navy); border: 1.5px solid var(--pj-gold); }
.pj-btn-ghost:hover { background: var(--pj-gold); color: #fff; }

/* Product cards */
.woocommerce ul.products li.product { text-align: left; position: relative; border-radius: var(--pj-radius); overflow: hidden; background: #fff; box-shadow: var(--pj-shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; padding-bottom: 14px; }
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--pj-shadow-lg); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--pj-font-display); font-size: 1.06rem; color: var(--pj-navy); padding: 10px 14px 0; }
.woocommerce ul.products li.product .price { color: var(--pj-gold-dark); font-weight: 600; padding: 0 14px; }
.woocommerce ul.products li.product .price del { color: #9aa0a8; font-weight: 400; }
.woocommerce ul.products li.product .button { margin: 10px 14px 0; }
.woocommerce span.onsale { background: var(--pj-gold); border-radius: 999px; min-height: auto; line-height: 1; padding: 7px 12px; font-weight: 600; }

/* Wishlist heart */
.pj-wish { position: absolute; top: 10px; right: 10px; z-index: 5; background: rgba(255, 255, 255, 0.92); border: 0; border-radius: 50%; width: 38px; height: 38px; font-size: 1.15rem; color: var(--pj-navy); cursor: pointer; box-shadow: var(--pj-shadow); }
.pj-wish.is-active { color: #c0392b; }
.single-product .pj-wish { position: static; width: auto; height: auto; background: none; box-shadow: none; font-size: 1.35rem; }
.pj-wishlist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pj-wishlist-item { border-radius: var(--pj-radius); overflow: hidden; box-shadow: var(--pj-shadow); padding-bottom: 12px; background: #fff; }
.pj-wl-title { display: block; padding: 8px 12px 0; font-family: var(--pj-font-display); color: var(--pj-navy); }
.pj-wl-price { display: block; padding: 0 12px; color: var(--pj-gold-dark); font-weight: 600; }

/* PDP */
.pj-specs { list-style: none; margin: 12px 0; padding: 12px 16px; background: var(--pj-cream); border-radius: var(--pj-radius); font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pj-specs li { margin: 0; }
.woocommerce div.product p.price { color: var(--pj-gold-dark); font-weight: 700; font-size: 1.4rem; }
.woocommerce div.product p.price del { color: #9aa0a8; font-weight: 400; font-size: 1rem; }

/* Swatches */
.pj-swatch-group select { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pj-swatch-group { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.pj-swatch-btn { border: 1.5px solid #d8d3c4; background: #fff; border-radius: 999px; padding: 7px 16px; font-size: 0.86rem; cursor: pointer; transition: all 0.15s ease; }
.pj-swatch-btn:hover { border-color: var(--pj-gold); }
.pj-swatch.is-selected { border-color: var(--pj-gold); background: var(--pj-gold); color: #fff; }
.pj-swatch-dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #d8d3c4; background: var(--dot); cursor: pointer; padding: 0; }
.pj-swatch-dot.is-selected { border-color: var(--pj-navy); box-shadow: 0 0 0 2px var(--pj-gold); }
.pj-size-guide { font-size: 0.85rem; }

/* Gallery extras */
.pj-media-extra { margin: 14px 0; display: flex; gap: 10px; flex-wrap: wrap; }
.pj-media-stage { flex-basis: 100%; }
.pj-media-stage img { border-radius: var(--pj-radius); cursor: ew-resize; }
.pj-media-stage iframe, .pj-media-stage video { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--pj-radius); }
.pj-zoom-lens { transition: transform 0.1s linear; }

/* Order tracking stepper */
.pj-stepper { display: flex; gap: 4px; margin: 18px 0 10px; flex-wrap: wrap; }
.pj-step { flex: 1; min-width: 100px; text-align: center; position: relative; padding-top: 22px; }
.pj-step-dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: #ddd; }
.pj-step-done .pj-step-dot { background: var(--pj-gold); box-shadow: 0 0 0 3px var(--pj-cream); }
.pj-step-label { font-size: 0.78rem; color: #777; }
.pj-step-done .pj-step-label { color: var(--pj-navy); font-weight: 600; }
.pj-awb { background: var(--pj-cream); border-radius: var(--pj-radius); padding: 10px 14px; font-size: 0.9rem; }

/* Returns */
.pj-return-note { background: var(--pj-rose); border-radius: var(--pj-radius); padding: 10px 14px; font-size: 0.88rem; }
.pj-return-form label { font-weight: 600; font-size: 0.9rem; }
.pj-return-form select, .pj-return-form textarea, .pj-return-form input[type="file"] { width: 100%; max-width: 420px; padding: 9px 12px; border: 1.5px solid #d8d3c4; border-radius: 8px; font-family: inherit; }
.pj-return-status { background: var(--pj-cream); border-radius: var(--pj-radius); padding: 12px 18px; list-style: none; }

/* OTP box */
.pj-otp-box { background: var(--pj-cream); border-radius: var(--pj-radius); padding: 20px 22px; margin-bottom: 26px; }
.pj-otp-box h3 { margin-top: 0; }
.pj-otp-box input { padding: 10px 14px; border: 1.5px solid #d8d3c4; border-radius: 999px; font-size: 1rem; letter-spacing: 0.06em; }
.pj-otp-msg { font-size: 0.86rem; min-height: 1.2em; }

/* Forms (checkout etc.) */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { padding: 10px 14px; border: 1.5px solid #d8d3c4; border-radius: 8px; }

/* Footer */
.pj-footer { background: var(--pj-navy); color: var(--pj-cream); margin-top: 60px; }
.pj-footer a { color: var(--pj-cream); }
.pj-footer a:hover { color: var(--pj-gold); }
.pj-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; padding: 44px 20px 24px; }
.pj-footer-brand { font-family: var(--pj-font-display); font-size: 1.35rem; margin: 0 0 6px; color: #fff; }
.pj-footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pj-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 14px 20px; font-size: 0.8rem; }

/* ---- Inline Edit Mode (loads for admin only) ---- */
.pj-editmode-toggle { background: var(--pj-navy); color: #fff; border: 0; border-radius: 999px; padding: 8px 16px; font-size: 0.82rem; cursor: pointer; }
body.pj-editing .pj-editmode-toggle { background: var(--pj-gold); }
.pj-editrow { display: none; }
body.pj-editing .pj-editrow { display: flex; gap: 8px; flex-wrap: wrap; background: var(--pj-cream); border-radius: var(--pj-radius); padding: 8px 12px; margin-bottom: 10px; }
body.pj-editing [data-pj-edit] { position: relative; outline: 1.5px dashed var(--pj-gold); outline-offset: 3px; cursor: pointer; border-radius: 4px; }
body.pj-editing [data-pj-edit]::after { content: "✏️"; font-size: 0.8rem; position: absolute; top: -12px; right: -12px; background: #fff; border-radius: 50%; box-shadow: var(--pj-shadow); padding: 2px; }
.pj-edit-popover { position: fixed; z-index: 999; background: #fff; border-radius: var(--pj-radius); box-shadow: var(--pj-shadow-lg); padding: 14px; display: grid; gap: 8px; min-width: 260px; }
.pj-edit-popover input, .pj-edit-popover textarea { padding: 8px 10px; border: 1.5px solid #d8d3c4; border-radius: 8px; font-family: inherit; }
.pj-edit-popover .pj-row { display: flex; gap: 8px; }
.pj-edit-toast { position: fixed; bottom: 20px; right: 20px; z-index: 999; background: var(--pj-navy); color: #fff; border-radius: 999px; padding: 10px 20px; font-size: 0.85rem; box-shadow: var(--pj-shadow-lg); }
.pj-edit-toast button { background: var(--pj-gold); color: #fff; border: 0; border-radius: 999px; padding: 4px 12px; margin-left: 10px; cursor: pointer; }

/* Responsive */
@media (max-width: 860px) {
	.pj-header-row { flex-wrap: wrap; gap: 10px; padding: 8px 0; }
	.pj-nav { order: 3; flex-basis: 100%; margin-left: 0; }
	.pj-menu { flex-wrap: wrap; gap: 12px; }
	.pj-footer-grid, .pj-wishlist-grid { grid-template-columns: 1fr; }
	.pj-step { min-width: 72px; }
}

/* ---- Built-in homepage ---- */
.pj-hero { background: linear-gradient(135deg, var(--pj-navy) 0%, #3d4c6b 60%, #4a5a7d 100%); color: #fff; overflow: hidden; }
.pj-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 30px; min-height: 440px; padding-top: 40px; padding-bottom: 40px; }
.pj-hero-eyebrow { color: var(--pj-gold); letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.78rem; margin: 0 0 10px; }
.pj-hero-title { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin: 0 0 14px; }
.pj-hero-sub { color: var(--pj-cream); max-width: 46ch; margin: 0 0 22px; }
.pj-hero-art { position: relative; height: 320px; }
.pj-hero-ring { position: absolute; inset: 10% 15%; border: 3px solid var(--pj-gold); border-radius: 50%; opacity: 0.85; }
.pj-hero-ring-2 { inset: 22% 27%; border-width: 1.5px; opacity: 0.5; }
.pj-hero-gem { position: absolute; top: 4%; left: 50%; transform: translateX(-50%); color: var(--pj-gold); font-size: 2rem; }
.pj-home-heading { text-align: center; font-size: 1.9rem; margin: 0 0 26px; }
.pj-usp { background: var(--pj-cream); }
.pj-usp-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; padding: 14px 20px; font-size: 0.88rem; color: var(--pj-navy); font-weight: 500; }
.pj-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.pj-cat-card { position: relative; display: block; border-radius: var(--pj-radius); overflow: hidden; box-shadow: var(--pj-shadow); transition: transform 0.2s ease; }
.pj-cat-card:hover { transform: translateY(-4px); }
.pj-cat-card img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.pj-cat-card > span { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(47,59,82,0.85)); color: #fff; font-family: var(--pj-font-display); font-size: 1.15rem; padding: 26px 14px 12px; }
.pj-offer-banner { background: var(--pj-gold); color: #fff; text-align: center; font-weight: 600; letter-spacing: 0.04em; }
.pj-offer-banner .pj-container { padding-top: 12px; padding-bottom: 12px; }
.pj-home-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.pj-hp-card { background: #fff; border-radius: var(--pj-radius); overflow: hidden; box-shadow: var(--pj-shadow); padding-bottom: 12px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pj-hp-card:hover { transform: translateY(-5px); box-shadow: var(--pj-shadow-lg); }
.pj-hp-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.pj-hp-title { display: block; padding: 10px 14px 0; font-family: var(--pj-font-display); color: var(--pj-navy); font-size: 1.05rem; }
.pj-hp-price { display: block; padding: 2px 14px 0; color: var(--pj-gold-dark); font-weight: 600; }
.pj-home-note { text-align: center; background: var(--pj-cream); border-radius: var(--pj-radius); padding: 14px 18px; }
.pj-testi-wrap { background: #faf7ef; }
.pj-testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pj-testi { margin: 0; background: #fff; border-radius: var(--pj-radius); box-shadow: var(--pj-shadow); padding: 22px 22px 18px; font-style: italic; }
.pj-testi cite { display: block; margin-top: 12px; font-style: normal; font-weight: 600; color: var(--pj-navy); font-size: 0.85rem; }
.pj-cta-whats { background: var(--pj-navy); color: #fff; text-align: center; padding: 44px 0; }
.pj-cta-whats h2 { color: #fff; margin: 0 0 16px; }
@media (max-width: 860px) {
	.pj-hero-grid { grid-template-columns: 1fr; min-height: auto; }
	.pj-hero-art { display: none; }
}
