/*
Theme Name: Onkarappa Handlooms
Theme URI: https://onkarappahandlooms.store/
Author: OpenAI
Description: Premium navy and blue luxury storefront theme for Onkarappa Handlooms. Includes WooCommerce support and demo catalogue importer.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: onkarappa-handlooms
*/
:root{
 --navy:#071b38;--navy-2:#0b2c55;--blue:#145da8;--royal:#2676c9;
 --sky:#dceeff;--ice:#f3f8ff;--white:#fff;--ink:#10233d;
 --muted:#65758b;--line:#dce6f2;--silver:#edf3fa;
 --shadow:0 16px 42px rgba(7,27,56,.10);--shadow-hover:0 24px 55px rgba(7,27,56,.17)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:#fff;font-family:Inter,"Segoe UI",Arial,sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none;transition:color .25s ease,background .25s ease,transform .25s ease}
img{max-width:100%;height:auto;display:block}
.topbar{background:linear-gradient(100deg,#06152e,#0c376b 55%,#145da8);color:#eaf4ff;padding:9px 5.2%;font-size:11px;letter-spacing:.55px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.site-header{position:relative;z-index:10;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid rgba(191,211,234,.7);display:flex;align-items:center;justify-content:space-between;padding:18px 5.2%;gap:24px;box-shadow:0 7px 24px rgba(10,38,74,.045)}
.brand{color:var(--navy);font-family:Georgia,"Times New Roman",serif;font-size:29px;font-weight:700;letter-spacing:2px;line-height:1.02;white-space:nowrap}
.brand small{display:block;text-align:center;font-family:Arial,sans-serif;font-size:10px;letter-spacing:7px;color:var(--blue);margin-top:6px}
.main-nav{display:flex;align-items:center;gap:clamp(12px,1.65vw,25px);flex-wrap:wrap;font-size:12px;font-weight:650;letter-spacing:.25px;color:#243d5d}
.main-nav a{position:relative;padding:9px 0}
.main-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:3px;height:2px;background:linear-gradient(90deg,var(--blue),#70b7f6);transition:right .25s ease}
.main-nav a:hover{color:var(--blue)}
.main-nav a:hover:after{right:0}
.menu-toggle{display:none;border:1px solid var(--line);background:var(--ice);color:var(--navy);padding:9px 13px;border-radius:7px;font-weight:700}
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:520px;background:#09274b url('assets/images/hero.jpg') center/cover no-repeat;display:flex;align-items:center;padding:76px 8.2%;color:white}
.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(4,19,43,.94) 0%,rgba(7,34,68,.82) 43%,rgba(9,42,80,.24) 100%)}
.hero:after{content:"";position:absolute;z-index:-1;width:520px;height:520px;border:1px solid rgba(211,234,255,.2);border-radius:50%;right:7%;top:50%;transform:translateY(-50%);box-shadow:0 0 0 35px rgba(211,234,255,.035),0 0 0 75px rgba(211,234,255,.025)}
.hero-copy{position:relative;max-width:610px;animation:riseIn .85s ease both}
.eyebrow{letter-spacing:3px;text-transform:uppercase;font-size:10px;color:#a9d7ff;font-weight:800}
.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(44px,5.3vw,76px);font-weight:500;letter-spacing:-1.5px;line-height:1.02;margin:18px 0;color:#fff}
.hero p{font-size:17px;max-width:440px;color:#e1efff;letter-spacing:.25px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(110deg,#1764ad,#3a91e4);color:white;padding:14px 28px;border:1px solid rgba(255,255,255,.22);border-radius:3px;font-weight:750;font-size:11px;letter-spacing:1.4px;margin-top:17px;box-shadow:0 10px 25px rgba(13,91,164,.28);transition:transform .25s,box-shadow .25s,background .25s}
.btn:hover{background:linear-gradient(110deg,#0d4c8b,#2676c9);color:white;transform:translateY(-3px);box-shadow:0 16px 32px rgba(13,91,164,.38)}
.benefits{display:grid;grid-template-columns:repeat(5,1fr);gap:0;background:linear-gradient(120deg,#f3f8ff,#eaf3fc);padding:25px 4.5%;border-bottom:1px solid var(--line)}
.benefit{text-align:center;border-right:1px solid #d3e1f0;font-size:11px;color:var(--muted);padding:4px 10px;letter-spacing:.2px}
.benefit:last-child{border:0}
.benefit strong{display:block;color:var(--navy);font-size:12px;letter-spacing:.35px;margin:4px 0}
.section{padding:70px 5.2% 76px}
.section-heading{text-align:center;margin:0 0 34px}
.section-heading .eyebrow{color:var(--royal);font-size:10px}
.section-heading h2{font:500 clamp(28px,3vw,39px) Georgia,"Times New Roman",serif;color:var(--navy);letter-spacing:.3px;margin:8px 0 7px}
.section-heading p{margin:0;color:var(--muted);font-size:13px}
.categories{background:linear-gradient(145deg,#f5f9ff 0%,#eaf3fd 52%,#f8fbff 100%);position:relative;overflow:hidden}
.categories:before{content:"";position:absolute;width:450px;height:450px;border:1px solid rgba(38,118,201,.09);border-radius:50%;top:-260px;right:-100px;pointer-events:none}
.category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;position:relative}
.category-card{background:#fff;border:1px solid rgba(194,214,237,.8);border-radius:5px;overflow:hidden;box-shadow:0 7px 22px rgba(10,42,79,.055);transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease}
.category-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-hover);border-color:#8bbce9}
.category-card img{width:100%;aspect-ratio:1.15;object-fit:cover;transition:transform .65s ease}
.category-card:hover img{transform:scale(1.055)}
.category-card-body{padding:15px 14px 17px}
.category-card h3{font-size:13px;color:var(--navy);margin:0 0 5px;font-weight:750}
.category-card span{font-size:10px;color:var(--blue);font-weight:750;letter-spacing:.6px;text-transform:uppercase}
.product-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.product-card{border:1px solid #e0e9f3;border-radius:5px;overflow:hidden;background:white;box-shadow:0 5px 18px rgba(10,42,79,.045);transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.product-card:hover{transform:translateY(-7px);box-shadow:var(--shadow);border-color:#9dc5eb}
.product-card img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#f2f7fc;transition:transform .5s ease}
.product-card:hover img{transform:scale(1.035)}
.product-info{padding:14px 13px 16px}
.product-info h3{font-size:12px;font-weight:600;margin:0 0 7px;color:#233c5b;line-height:1.45}
.price{font-weight:800;color:var(--blue);font-size:13px}
.section-action{text-align:center;margin-top:34px}
.site-footer{background:linear-gradient(120deg,#06172f,#0a2a50 60%,#0d3d70);color:#d9e9fa;padding:58px 5.2% 48px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:55px;position:relative;overflow:hidden}
.site-footer:before{content:"";position:absolute;width:390px;height:390px;border:1px solid rgba(181,216,249,.12);border-radius:50%;right:-120px;top:-240px;box-shadow:0 0 0 35px rgba(181,216,249,.025),0 0 0 70px rgba(181,216,249,.02)}
.site-footer>div{position:relative}
.site-footer h3{font-family:Georgia,"Times New Roman",serif;font-size:19px;font-weight:500;color:white;margin:0 0 17px;letter-spacing:.3px}
.site-footer p{max-width:410px;color:#b7cce3;font-size:13px;line-height:1.9}
.footer-links{display:grid;gap:10px;font-size:12px;color:#c3d6ea}
.footer-links a:hover{color:#8fc9ff;transform:translateX(3px)}
.copyright{background:#041126;color:#91a9c5;text-align:center;padding:15px;font-size:10px;letter-spacing:.5px}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;list-style:none;padding:0}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;border:1px solid #e0e9f3;border-radius:5px;padding:14px!important;background:#fff;box-shadow:0 5px 18px rgba(10,42,79,.045);transition:transform .3s,box-shadow .3s}
.woocommerce ul.products li.product:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.woocommerce ul.products li.product img{border-radius:3px;background:#f2f7fc}
.woocommerce ul.products li.product .woocommerce-loop-product__title{color:var(--navy);font-size:14px}
.woocommerce div.product .product_title{color:var(--navy);font-family:Georgia,serif}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--blue);font-weight:800}
.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{background:linear-gradient(110deg,#1764ad,#3a91e4);color:#fff;border-radius:3px;padding:12px 20px;font-size:11px;letter-spacing:.5px}
.woocommerce button.button:hover,.woocommerce a.button:hover,.woocommerce input.button:hover{background:var(--navy);color:#fff}
.woocommerce span.onsale{background:var(--blue);border-radius:2px;min-height:0;min-width:0;padding:7px 10px;line-height:1.2}
.woocommerce div.product div.images img{border-radius:5px}
.woocommerce .quantity .qty{border:1px solid var(--line);padding:9px;border-radius:3px}
.woocommerce-message,.woocommerce-info{border-top-color:var(--blue)}
.woocommerce-message:before,.woocommerce-info:before{color:var(--blue)}
.page-content{padding:55px 5.2%;min-height:340px}
.page-content h1,.page-content h2{font-family:Georgia,"Times New Roman",serif;color:var(--navy)}
input,select,textarea{max-width:100%;border:1px solid #cfdeed;border-radius:3px;padding:11px 13px}
:focus-visible{outline:2px solid #4596dc;outline-offset:3px}
@keyframes riseIn{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1200px){.category-grid,.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.main-nav{gap:13px}.benefits{grid-template-columns:repeat(3,1fr);row-gap:16px}.benefit:nth-child(3){border-right:0}}
@media(max-width:760px){
 .topbar{justify-content:center;text-align:center;padding:9px 4%;font-size:10px}
 .site-header{padding:15px 4%;flex-wrap:wrap}
 .brand{font-size:24px}
 .menu-toggle{display:block}
 .main-nav{display:none;width:100%;flex-direction:column;align-items:flex-start;gap:5px;padding:12px 0 5px;border-top:1px solid var(--line)}
 .main-nav.open{display:flex}
 .main-nav a{padding:7px 0}
 .hero{min-height:440px;padding:48px 6%;background-position:60% center}
 .hero:before{background:linear-gradient(90deg,rgba(4,19,43,.91),rgba(7,34,68,.66) 72%,rgba(9,42,80,.35))}
 .hero:after{width:270px;height:270px;right:-100px}
 .hero h1{font-size:43px}
 .hero p{font-size:15px}
 .benefits{grid-template-columns:repeat(2,1fr);padding:19px 4%;row-gap:13px}
 .benefit{padding:7px;border:0;border-right:1px solid #d3e1f0}
 .benefit:nth-child(2n){border-right:0}
 .category-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .category-card h3{font-size:12px}
 .category-card-body{padding:11px}
 .section{padding:48px 4% 52px}
 .section-heading{margin-bottom:25px}
 .section-heading h2{font-size:27px}
 .site-footer{grid-template-columns:1fr;gap:27px;padding:43px 6%}
 .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .page-content{padding:35px 5%}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
