/*
Theme Name: SHIVORA
Theme URI: https://shivora-elegant-styles.lovable.app
Author: SHIVORA
Description: Premium Indian ethnic-wear storefront for SHIVORA — kurtis, kurta sets, co-ord sets and festive wear with wishlist, shopping bag and WhatsApp ordering. No plugins required.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.8
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: shivora
*/

:root {
	--bg: #f8f3ec; --fg: #2a2725; --card: #fdfaf6; --primary: #1c3550; --primary-fg: #f8f3ec;
	--secondary: #ecdcc8; --muted: #f1e9df; --muted-fg: #6e665e; --accent: #c0954f; --border: #ddd0bf;
	--navy: #11253a; --gold-light: #d4ab64; --error: #c0392b;
	--display: "Cormorant Garamond", Georgia, serif; --sans: "Montserrat", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 15px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; color: var(--primary); margin: 0; line-height: 1.05; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.section { padding-top: 64px; padding-bottom: 64px; }
.section-sm { padding-top: 32px; padding-bottom: 72px; }
.bg-card { background: var(--card); }
.bg-secondary { background: var(--secondary); }
.center { text-align: center; }
.mt-lg { margin-top: 40px; }
.muted { color: var(--muted-fg); }
.small { font-size: 12px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 30px; background: var(--primary); color: var(--primary-fg); border: 1px solid var(--primary); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: background .25s, color .25s; }
.btn:hover { background: var(--navy); }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--primary-fg); }
.btn-gold { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); }
.btn-block { display: flex; width: 100%; margin-top: 12px; }
.link { display: inline-block; margin-top: 20px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* Header */
.topbar { height: 32px; display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--primary-fg); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; position: relative; z-index: 40; }
.topbar span { color: var(--accent); margin: 0 12px; }
.site-header { position: relative; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1300px; margin: 0 auto; height: 76px; padding: 0 32px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.brand { align-self: start; width: 104px; height: 104px; margin-bottom: -32px; border-radius: 50%; position: relative; z-index: 10; }
.brand img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,.15)); }
.main-nav { display: flex; justify-content: center; gap: 32px; }
.main-nav a { font-size: 11px; font-weight: 600; color: var(--primary); letter-spacing: .04em; }
.main-nav a:hover { color: var(--accent); }
.menu-toggle { display: none; justify-self: center; background: none; border: 0; font-size: 26px; color: var(--primary); }
.icons { display: flex; gap: 6px; justify-content: flex-end; }
.icons a { position: relative; width: 40px; height: 40px; display: grid; place-items: center; color: var(--primary); }
.icons svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.count { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--accent); color: var(--navy); font-size: 9px; line-height: 16px; text-align: center; }
.mobile-menu { display: flex; flex-direction: column; gap: 18px; padding: 48px 28px 28px; background: var(--bg); border-top: 1px solid var(--border); }
.mobile-menu a { font-size: 12px; font-weight: 600; color: var(--primary); }
.mm-title { font-family: var(--display); font-size: 30px; color: var(--primary); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--secondary); min-height: 42.6vw; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--secondary) 0%, rgba(236,220,200,.92) 38%, rgba(236,220,200,0) 70%); }
.hero-inner { position: relative; max-width: 1152px; margin: 0 auto; min-height: 42.6vw; padding: 64px 40px 56px; display: flex; align-items: center; }
.hero-copy { max-width: 560px; animation: reveal .7s ease-out both; }
.hero h1 { margin-top: 20px; font-size: 60px; line-height: .96; }
.hero .lead { margin-top: 24px; font-size: 14px; line-height: 1.9; color: rgba(42,39,37,.75); }
.hero .btn { margin-top: 32px; }
.hero-script { position: absolute; right: 32px; bottom: 56px; transform: rotate(-4deg); font-family: var(--display); font-size: 24px; font-style: italic; color: var(--accent); }
.dots { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 8px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(28,53,80,.35); }
.dots span.on { width: 24px; border-radius: 0; background: var(--primary); }
@keyframes reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Category strip */
.cat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 28px; padding-bottom: 28px; }
.cat-card { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 160px; overflow: hidden; background: var(--secondary); }
.cat-card > div { display: flex; flex-direction: column; justify-content: center; padding: 0 20px; }
.cat-card h3 { font-size: 24px; }
.cat-card span { margin-top: 8px; font-size: 9px; font-weight: 600; text-transform: uppercase; color: var(--primary); }
.cat-card img, .feat img, .card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.cat-card:hover img, .feat:hover img, .card:hover .card-media img { transform: scale(1.05); }

/* Section heading */
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 { font-size: 48px; text-transform: uppercase; }
.flourish { width: 144px; margin: 8px auto 0; display: flex; align-items: center; gap: 12px; }
.flourish span { flex: 1; height: 1px; background: var(--accent); }
.flourish em { font-style: normal; font-family: var(--display); font-size: 18px; color: var(--accent); }
.sec-head p { margin-top: 8px; font-size: 12px; color: rgba(42,39,37,.75); }

/* Product cards */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.card-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--muted); }
.card-media a:first-child { display: block; height: 100%; }
.card-media img.contain, .product-media img.contain, .cart-item img.contain { object-fit: contain; }
.wish-btn { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(253,250,246,.9); color: var(--primary); font-size: 18px; line-height: 1; }
.wish-btn.on, .wish-big.on { color: #b03a48; }
.badge { position: absolute; top: 12px; left: 12px; padding: 3px 10px; background: var(--accent); color: var(--navy); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.card-cta { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 40px; display: grid; place-items: center; border: 0; background: var(--primary); color: var(--primary-fg); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: .3s; }
.card:hover .card-cta { opacity: 1; transform: none; }
.card-cat { margin-top: 14px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.card-title { margin-top: 4px; font-size: 22px; line-height: 1.15; }
.card-price { margin-top: 6px; font-size: 14px; }
.card-price strong { color: var(--primary); }
.card-price s { margin-left: 8px; color: var(--muted-fg); }
.card-rating { margin-top: 4px; font-size: 12px; color: var(--muted-fg); }
.stars { color: var(--accent); letter-spacing: 2px; }

/* Featured */
.featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: block; }
.feat > div { position: absolute; left: 0; right: 0; bottom: 0; padding: 96px 28px 28px; background: linear-gradient(to top, rgba(28,53,80,.8), transparent); }
.feat h3 { font-size: 36px; color: var(--primary-fg); }
.feat span { display: inline-block; margin-top: 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split-img { min-height: 430px; overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.split-copy { display: flex; align-items: center; padding: 64px 80px; }
.split-copy h1, .split-copy h2 { margin-top: 16px; font-size: 60px; }
.split-copy p:not(.eyebrow) { margin-top: 24px; max-width: 520px; line-height: 2; color: rgba(42,39,37,.75); }
.split-copy .btn { margin-top: 32px; }
.about .split-img { min-height: 520px; }

/* Story */
.story { max-width: 900px; margin: 0 auto; padding: 100px 24px; text-align: center; }
.story .eyebrow { font-size: 10px; letter-spacing: .3em; }
.story h2 { margin-top: 12px; font-size: 48px; }
.rule { width: 80px; height: 1px; margin: 24px auto; background: var(--accent); }
.story-text { font-family: var(--display); font-size: 26px; line-height: 1.6; color: rgba(42,39,37,.75); }

/* Page heads & shop */
.page-head { padding: 64px 16px 8px; text-align: center; }
.page-head h1 { margin-top: 12px; font-size: 56px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { padding: 8px 18px; border: 1px solid var(--border); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.chip.active, .chip:hover { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }
.count-line { margin: 22px 0; font-size: 12px; text-align: center; }
.search-form { max-width: 620px; margin: 28px auto 0; display: flex; gap: 10px; }
.search-form input, .contact-form input, .contact-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--border); background: var(--card); font: inherit; color: var(--fg); }
.contact-form textarea { min-height: 150px; resize: vertical; }

/* Product */
.product { padding-top: 56px; padding-bottom: 72px; }
.product-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; }
.product-media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--muted); }
.product-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.product-info { padding-top: 24px; }
.product-info h1 { margin-top: 12px; font-size: 48px; line-height: 1; }
.product-info .card-rating { margin-top: 16px; font-size: 14px; color: var(--fg); }
.price { margin-top: 24px; display: flex; align-items: baseline; gap: 12px; }
.price span { font-size: 24px; font-weight: 600; color: var(--primary); }
.price s { color: var(--muted-fg); }
.price em { font-style: normal; font-size: 12px; color: var(--accent); }
.desc { margin-top: 24px; line-height: 1.9; color: rgba(42,39,37,.7); }
.label { margin-top: 32px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.sizes { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--primary); background: transparent; color: var(--primary); font-size: 13px; font-weight: 600; }
.size.active, .size:hover { background: var(--primary); color: var(--primary-fg); }
.error { margin-top: 8px; font-size: 14px; color: var(--error); }
.qty { margin-top: 28px; display: inline-flex; align-items: center; height: 48px; border: 1px solid var(--border); }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 18px; color: var(--primary); }
.qty span { min-width: 40px; text-align: center; }
.actions { margin-top: 20px; display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.wish-big { width: 56px; padding: 0; font-size: 20px; }
.added { margin-top: 12px; font-size: 13px; color: var(--primary); }
.added a { text-decoration: underline; }
.details-box { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.details-box h2 { font-size: 26px; }
.details-box ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: rgba(42,39,37,.7); }

/* Cart */
.page-title { font-size: 48px; }
.cart-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
.cart-item { display: grid; grid-template-columns: 130px 1fr auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.cart-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: var(--muted); }
.ci-name { font-family: var(--display); font-size: 24px; color: var(--primary); line-height: 1.1; }
.ci-price { margin-top: 10px; font-weight: 600; }
.cart-item .qty { margin-top: 16px; height: 38px; }
.remove { align-self: start; width: 36px; height: 36px; border: 0; background: none; color: var(--muted-fg); font-size: 16px; }
.summary { height: fit-content; padding: 28px; background: var(--secondary); }
.summary h2 { font-size: 30px; margin-bottom: 20px; }
.row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.row.total { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 18px; font-weight: 600; }
.summary .small { margin-top: 16px; }

/* Empty / contact / account */
.empty { min-height: 50vh; padding: 80px 16px; text-align: center; }
.empty h1 { font-size: 48px; }
.empty p { margin-top: 16px; }
.empty .btn { margin-top: 32px; }
.contact { max-width: 1024px; padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact h1, .account h1 { margin-top: 12px; font-size: 60px; }
.contact .muted { margin-top: 24px; line-height: 1.9; }
.contact-form { display: grid; gap: 16px; }
.account { padding-top: 80px; padding-bottom: 80px; }
.account-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.acc-card { padding: 32px; background: var(--card); border: 1px solid var(--border); transition: border-color .25s; }
.acc-card:hover { border-color: var(--accent); }
.acc-card h3 { font-size: 28px; }
.acc-card p { margin-top: 8px; }
.prose { max-width: 820px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--primary-fg); }
.footer-grid { max-width: 1280px; margin: 0 auto; padding: 64px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.site-footer h2 { font-size: 36px; color: var(--primary-fg); }
.site-footer h3 { font-size: 20px; color: var(--gold-light); }
.site-footer ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.site-footer li a, .muted-light { font-size: 14px; color: rgba(248,243,236,.7); }
.site-footer li a:hover { color: var(--gold-light); }
.small-caps { margin-top: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.gold { color: var(--gold-light); }
.footer-grid .muted-light { margin-top: 16px; line-height: 1.9; }
.social { margin: 20px 0 28px; display: flex; gap: 12px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; font-weight: 700; color: var(--primary-fg); }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.copyright { padding: 20px; text-align: center; border-top: 1px solid rgba(248,243,236,.15); font-size: 10px; letter-spacing: .14em; color: rgba(248,243,236,.55); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--navy); font-weight: 700; box-shadow: 0 8px 20px rgba(0,0,0,.2); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }

/* WordPress core */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.wp-caption, .gallery-caption, .sticky, .bypostauthor { max-width: 100%; }

/* Responsive */
@media (max-width: 1279px) {
	.main-nav { display: none; }
	.menu-toggle { display: block; }
}
@media (max-width: 1023px) {
	.cat-strip, .grid-products { grid-template-columns: repeat(2, 1fr); }
	.featured, .split, .product-grid, .cart-grid, .contact, .account-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
	.hero-script { display: none; }
	.split-copy { padding: 56px 32px; }
}
@media (max-width: 767px) {
	.header-inner { height: 70px; padding: 0 16px; }
	.brand { width: 86px; height: 86px; }
	.hide-sm { display: none !important; }
	.hero, .hero-inner { min-height: 500px; }
	.hero-inner { padding: 64px 24px 56px; }
	.hero > img { object-position: 72% center; }
	.hero-fade { background: linear-gradient(90deg, var(--secondary) 0%, rgba(236,220,200,.85) 55%, rgba(236,220,200,.2) 100%); }
	.hero h1 { font-size: 44px; }
	.hero h1 br { display: none; }
	.cat-strip { gap: 10px; }
	.cat-card { min-height: 128px; }
	.cat-card > div { padding: 0 12px; }
	.cat-card h3 { font-size: 19px; }
	.grid-products { gap: 36px 12px; }
	.card-title { font-size: 18px; }
	.card-cta { opacity: 1; transform: none; height: 34px; font-size: 10px; left: 8px; right: 8px; bottom: 8px; }
	.sec-head h2, .story h2 { font-size: 36px; }
	.split-copy h1, .split-copy h2, .contact h1, .account h1, .page-head h1 { font-size: 42px; }
	.product-info h1, .page-title, .empty h1 { font-size: 38px; }
	.footer-grid { grid-template-columns: 1fr; padding: 56px 24px; }
	.cart-item { grid-template-columns: 96px 1fr auto; gap: 14px; }
	.search-form { flex-direction: column; }
	.story-text { font-size: 22px; }
}
