/*
Theme Name: Kanchi Heritage Catalogue
Description: Traditional Kanchi Silk Sarees WhatsApp enquiry catalogue theme.
Version: 1.0.4
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: kanchi-heritage
*/

:root{--wine:#681c32;--deep:#431323;--gold:#bd944c;--pale:#e6ca8b;--ivory:#fbf6e9;--paper:#fffdf7;--ink:#382820;--muted:#756254;--green:#244b40;--line:#e6d9c1;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.65 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #d3a33c;outline-offset:4px}img{display:block;width:100%;height:100%;object-fit:cover}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.13}h2{font-size:clamp(31px,3.3vw,47px);color:var(--wine)}h3{font-size:25px}.wrap{width:min(1320px,calc(100% - 64px));margin:auto}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:.22em;font-weight:700;color:#886329}.small{font-size:12px;color:var(--muted)}.top{background:var(--deep);color:#f8e9c7;text-align:center;font-size:12px;letter-spacing:.07em;padding:8px 18px;display:flex;justify-content:center;gap:15px}.top a{text-decoration:underline;text-underline-offset:3px}.mast{background:var(--ivory);border-bottom:1px solid var(--line)}.mast-inner{display:grid;grid-template-columns:1fr 1.3fr 1fr;align-items:center;min-height:110px;gap:20px}.search{display:flex;border-bottom:1px solid #bda77e;max-width:240px;align-items:center;gap:10px}.search input{min-width:0;width:100%;border:0;background:transparent;padding:8px 0;color:var(--ink);outline:none}.search button,.plain{border:0;background:none;color:var(--wine);padding:8px;cursor:pointer}.ico{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.brand{text-align:center;display:flex;flex-direction:column;align-items:center;line-height:1}.brand svg{width:48px;height:31px;color:#a27a36;margin-bottom:5px}.brand-name{font-family:var(--serif);color:var(--wine);font-size:clamp(23px,3vw,38px);letter-spacing:.055em;white-space:nowrap}.brand-sub{font-size:9px;letter-spacing:.29em;color:#8b6b3d;margin-top:8px}.tools{display:flex;justify-content:flex-end;gap:23px;align-items:center}.tools a{display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--wine);font-size:10px}.nav{background:var(--paper);border-bottom:1px solid #d6be8e;position:relative;z-index:5}.nav-inner{display:flex;align-items:center;justify-content:center;gap:clamp(15px,2.5vw,36px);min-height:51px}.nav a,.nav summary{font-size:13px;font-weight:600;white-space:nowrap;color:var(--deep);cursor:pointer}.nav a:hover,.nav summary:hover{color:#987039}.nav details{position:relative}.nav summary{list-style:none}.nav summary::after{content:'⌄';margin-left:5px;color:#9b7637}.nav summary::-webkit-details-marker{display:none}.drop{position:absolute;left:0;top:34px;min-width:245px;background:var(--paper);padding:10px 0;border:1px solid var(--line);box-shadow:0 12px 24px #3d18151c}.drop a{display:block;padding:10px 17px}.mobile-menu{display:none}.zari{height:13px;background-color:#9f7134;background-image:linear-gradient(90deg,#f3d49122,#fff3c144,#52301222),repeating-linear-gradient(45deg,transparent 0 6px,#f8de9e99 6px 7px,transparent 7px 12px),repeating-linear-gradient(-45deg,transparent 0 6px,#f8de9e99 6px 7px,transparent 7px 12px);border-top:1px solid #e6c682;border-bottom:1px solid #795425}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:570px;background:var(--deep);color:#fff2da;overflow:hidden}.hero-copy{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:75px max(42px,calc((100vw - 1220px)/2));padding-right:45px;background:radial-gradient(ellipse at 0% 100%,#8d3f43 0,transparent 55%),linear-gradient(140deg,#521225,#6a2034)}.hero-copy:before{content:'';position:absolute;inset:21px;border:1px solid #d0a86255;pointer-events:none}.hero-copy:after{content:'';position:absolute;right:-110px;bottom:-145px;width:320px;height:320px;border:1px solid #e9c68144;border-radius:50%;box-shadow:0 0 0 21px #e9c6810d,0 0 0 42px #e9c68112,0 0 0 64px #e9c6810b;pointer-events:none}.hero .eyebrow{color:#e7c78b;position:relative;z-index:1}.hero h1{font-size:clamp(43px,5.25vw,82px);letter-spacing:-.035em;line-height:1.04;margin:19px 0;max-width:600px;position:relative;z-index:1}.hero h1 em{font-weight:400;color:#f1cd8b}.hero p{max-width:430px;font-size:16px;color:#f2dfd2;margin-bottom:27px;position:relative;z-index:1}.hero-art{position:relative;min-height:570px;background:linear-gradient(135deg,#4b241d,#965131);overflow:hidden}.hero-art img{position:absolute;inset:0;object-position:center 30%}.hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#42132355,transparent 25%);pointer-events:none}.hero-caption{position:absolute;right:20px;bottom:20px;background:#3f1924d9;color:#f6e3b3;padding:11px 16px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;z-index:1;border:1px solid #d3ab6e88}.btn{display:inline-flex;gap:12px;align-items:center;justify-content:center;padding:13px 23px;background:var(--wine);color:#fff7e8;border:1px solid var(--wine);font-weight:650;font-size:12px;letter-spacing:.07em;min-height:46px;text-transform:uppercase;cursor:pointer;transition:background .2s}.btn:hover{background:#8b2a43}.btn.gold{background:#e5c17c;color:#421323;border-color:#e5c17c}.btn.gold:hover{background:#f5dca8}.btn.outline{background:transparent;color:var(--wine);border-color:#b89a65}.btn.outline:hover{background:#f1e5cd}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;z-index:1}.hero .outline{color:#f3dfb5;border-color:#c5a063}.hero .outline:hover{background:#ffffff15}.values{background:#f2e9d6;border-bottom:1px solid var(--line)}.values .wrap{display:grid;grid-template-columns:repeat(4,1fr);padding:23px 0}.value{display:flex;align-items:center;justify-content:center;gap:12px;border-right:1px solid #d9c8a6}.value:last-child{border:0}.value svg{width:37px;height:37px;stroke:#a27a36;fill:none;stroke-width:1.3}.value strong{display:block;font-family:var(--serif);font-size:18px;color:var(--wine);font-weight:400}.value span{font-size:11px;color:var(--muted)}section.block{padding:68px 0}.section-head{text-align:center;max-width:640px;margin:0 auto 31px}.section-head h2{margin:7px 0 10px}.section-head p{color:var(--muted)}.ornament{display:flex;align-items:center;justify-content:center;gap:8px;margin:14px auto;color:#ac8546}.ornament:before,.ornament:after{content:'';width:60px;height:1px;background:#c9a96c}.ornament svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1}.collection-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.collection{display:block;text-align:center}.photo{position:relative;overflow:hidden;background:linear-gradient(145deg,#d5b271,#6e2235);isolation:isolate}.photo:before,.hero-art:before{content:'';position:absolute;inset:11px;border:1px solid #fff0c77a;z-index:-1}.photo img{transition:transform .45s;position:relative}.collection:hover img,.access:hover img{transform:scale(1.045)}.collection .photo{aspect-ratio: .8;border-radius:48% 48% 0 0/29% 29% 0 0;border:1px solid #c6a878;padding:5px;background:#f0dfbc}.collection img{border-radius:inherit}.collection h3{margin:15px 0 2px;color:var(--wine)}.collection p{font-size:13px;color:var(--muted)}.collection .arrow{display:inline-block;font-size:12px;font-weight:600;color:#916b2b;margin-top:7px}.catalogue{background:#f5eddd;border-block:1px solid var(--line)}.catalogue-layout{display:grid;grid-template-columns:1fr 1fr;gap:25px;max-width:1080px;margin:auto}.featured{display:grid;grid-template-columns:1fr .78fr;min-height:320px;border:1px solid #d8c39b;background:var(--paper)}.featured .photo{min-height:310px}.featured .photo img{object-position:center center}.feature-text{padding:30px 20px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.feature-text h3{color:var(--wine);margin:12px 0}.product-list{display:grid;gap:11px}.product{display:grid;grid-template-columns:76px 1fr auto;align-items:center;gap:15px;background:var(--paper);border:1px solid #e3d5ba;padding:10px 14px}.product .photo{height:76px}.product .photo img{object-fit:contain;background:#f5ebd7}.product h3{font-size:19px;color:var(--wine)}.product .go{color:#956a2b;font-size:21px}.product:hover{border-color:#b99b63}.center{text-align:center;margin-top:28px}.budget{background:var(--green);color:#f8efd9;padding:44px 0;position:relative;overflow:hidden}.budget h2{color:#f9e9c6;font-size:35px;margin:5px 0 19px}.budget .eyebrow{color:#e1c68a}.budget .wrap{text-align:center}.budget-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;max-width:1000px;margin:auto}.budget-grid a{border:1px solid #cdb47188;padding:18px 9px;background:#ffffff07;font-family:var(--serif);font-size:21px;transition:.2s}.budget-grid a:hover{background:#cdb47133}.budget-grid span{display:block;font-family:system-ui,sans-serif;font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:#efdba8;margin-top:3px}.story{display:grid;grid-template-columns:1fr 1fr;min-height:410px;background:#f7efdf;border:1px solid #e0cba4}.story .photo{min-height:410px}.story .photo img{object-position:center 38%}.story-copy{padding:42px 50px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.story-copy h2{margin:10px 0 15px}.story-copy p{color:var(--muted);margin-bottom:15px}.story-copy .btn{margin-top:8px}.access-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.access .photo{aspect-ratio:1.45}.access .photo img{object-position:center 33%}.access h3{color:var(--wine);margin:14px 0 4px}.access p{color:var(--muted);font-size:13px}.access .arrow{font-size:12px;font-weight:650;color:#976d31;display:inline-block;margin-top:8px}.journal{background:#fbf2e1;border-block:1px solid var(--line)}.journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.journal-card{padding:23px;border:1px solid #dfcba7;background:#fffaf0}.journal-card h3{color:var(--wine);font-size:23px;margin:12px 0}.journal-card p{font-size:13px;color:var(--muted)}.journal-card .arrow{font-size:12px;font-weight:650;color:#986f30;display:inline-block;margin-top:14px}.help{background:var(--wine);color:#f7e6c8;padding:34px 0}.help .wrap{display:flex;justify-content:space-between;align-items:center;gap:24px}.help h2{color:#fff1d1;font-size:35px;margin-bottom:6px}.help p{font-size:14px}.footer{background:var(--deep);color:#e8d4bc;padding:48px 0 20px}.footer-grid{display:grid;grid-template-columns:1.45fr 1fr 1fr 1.15fr;gap:35px}.footer h3{color:#f6dfab;font-size:21px;margin-bottom:15px}.footer .brand-name{color:#f6dfab;font-size:29px;white-space:normal}.footer p,.footer li,.footer a{font-size:13px;line-height:1.8}.footer ul{list-style:none;padding:0;margin:0}.footer a:hover{text-decoration:underline}.footer .bottom{border-top:1px solid #c59e5a44;margin-top:30px;padding-top:17px;display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#d3bfa9}.float{position:fixed;right:20px;bottom:18px;z-index:6;background:var(--green);color:white;padding:12px 17px;border-radius:40px;box-shadow:0 5px 20px #0003;font-size:12px;font-weight:650;display:flex;align-items:center;gap:8px}.float .ico{width:20px;height:20px}.img-failed{color:#fff6dd!important;font-size:13px;text-align:center;line-height:1.3}.photo:has(.img-failed),.hero-art:has(.img-failed){background:repeating-linear-gradient(45deg,#743048 0 17px,#7b394e 17px 18px,#743048 18px 35px);border:1px solid #c6a878}.photo:has(.img-failed):after,.hero-art:has(.img-failed):after{content:'Image from KanchiSilkSarees.com';position:absolute;inset:0;display:grid;place-items:center;background:none;color:#f1d7a2;text-align:center;padding:12px;font-family:var(--serif);font-size:20px;z-index:-1}.photo .img-failed,.hero-art .img-failed{opacity:0}.product .photo:has(.img-failed):after{font-size:10px}.sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.wrap{width:calc(100% - 40px)}.hero-copy{padding:55px 35px}.hero{min-height:490px}.hero-art{min-height:490px}.collection-grid{gap:13px}.collection h3{font-size:22px}.nav-inner{gap:15px}.nav a,.nav summary{font-size:12px}.value{gap:7px}.value strong{font-size:16px}.value span{font-size:10px}.catalogue-layout{gap:14px}.feature-text{padding:22px 15px}.story-copy{padding:35px}.tools{gap:15px}.footer-grid{gap:20px}}
@media(max-width:720px){.wrap{width:calc(100% - 32px)}.top{font-size:10px;gap:7px;flex-wrap:wrap;padding:6px}.mast-inner{grid-template-columns:32px 1fr 60px;gap:7px;min-height:88px}.mast .search{display:none}.mobile-menu{display:block}.brand svg{width:42px;height:25px;margin-bottom:3px}.brand-name{font-size:23px;letter-spacing:.015em}.brand-sub{font-size:7px;letter-spacing:.16em;margin-top:6px}.tools{gap:9px}.tools a{font-size:0}.tools a:first-child{display:none}.nav-inner{display:none;align-items:stretch;gap:0;padding:9px 0}.nav.open .nav-inner{display:flex;flex-direction:column}.nav a,.nav summary{display:block;padding:10px 7px;font-size:14px}.drop{position:static;box-shadow:none;border:0;border-left:1px solid var(--line);margin-left:12px;min-width:0}.hero{grid-template-columns:1fr}.hero-copy{order:2;padding:35px 25px 43px;text-align:center;align-items:center}.hero-copy:before{inset:12px}.hero h1{font-size:46px;margin:11px 0 12px}.hero p{font-size:14px;margin-bottom:20px}.hero-art{min-height:345px;max-height:390px}.hero-art img{object-position:center 24%}.hero-actions{justify-content:center}.hero-caption{right:10px;bottom:10px;font-size:9px;padding:7px 10px}.values .wrap{grid-template-columns:1fr 1fr;padding:5px 0}.value{padding:13px 0;justify-content:flex-start;padding-left:5px}.value:nth-child(2){border:0}.value:nth-child(-n+2){border-bottom:1px solid #d9c8a6}.value svg{width:27px;height:27px}.value strong{font-size:15px}.value span{font-size:10px}.section-head{margin-bottom:22px}.section-head p{font-size:13px}section.block{padding:43px 0}.collection-grid{grid-template-columns:1fr 1fr;gap:20px 12px}.collection h3{font-size:21px;margin-top:10px}.collection p{font-size:12px}.catalogue-layout{grid-template-columns:1fr}.featured{min-height:250px}.featured .photo{min-height:250px}.feature-text h3{font-size:23px}.product{grid-template-columns:65px 1fr auto;gap:10px;padding:9px}.product .photo{height:65px}.product h3{font-size:17px}.budget{padding:33px 0}.budget-grid{grid-template-columns:1fr 1fr;gap:9px}.budget-grid a{font-size:18px;padding:12px 5px}.budget h2{font-size:30px}.story{grid-template-columns:1fr}.story .photo{min-height:300px;aspect-ratio:1.1}.story-copy{padding:26px 23px}.access-grid{grid-template-columns:1fr 1fr;gap:20px 12px}.access:last-child{grid-column:1/-1}.access:last-child .photo{aspect-ratio:2.2}.access h3{font-size:21px}.journal-grid{grid-template-columns:1fr}.help .wrap{flex-direction:column;align-items:flex-start}.help h2{font-size:30px}.footer-grid{grid-template-columns:1fr 1fr;gap:25px}.footer-grid>div:first-child{grid-column:1/-1}.footer-grid>div:last-child{grid-column:1/-1}.footer .bottom{flex-direction:column}.float{right:10px;bottom:10px;padding:10px 13px}.btn{font-size:11px;padding:11px 16px;min-height:42px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:360px){.brand-name{font-size:20px}.featured{grid-template-columns:minmax(0,1fr);min-width:0}.featured .photo{height:260px;min-height:0}.feature-text{padding:17px}.hero h1{font-size:39px}.hero-actions{gap:8px}.collection-grid,.access-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.story{grid-template-columns:minmax(0,1fr)}.story .photo{min-width:0;max-width:100%;aspect-ratio:auto;height:300px}}

/* Enquiry-only storefront: retain heritage palette and original section styling. */
.tools a:first-child{display:flex}.tools .header-enquiry{color:var(--wine);font-weight:650;white-space:nowrap}.footer-grid{grid-template-columns:1.18fr .9fr .9fr 1.35fr;gap:32px}.footer-secondary{margin-top:22px}.footer-posts li{padding:0 0 11px;margin:0 0 11px;border-bottom:1px solid #c59e5a35}.footer-posts li:last-child{border:0;margin-bottom:0}.footer-enquire{display:inline-flex;align-items:center;gap:8px;border:1px solid #c59e5a;padding:9px 12px;margin-top:15px;color:#f6dfab}.footer-number{margin-top:6px}.enquiry-btn{background:#215845!important;color:#fff!important;border-color:#215845!important}.enquiry-btn:hover{background:#174433!important}.enquiry-btn .ico{flex:none}.whatsapp-note{color:#6b6055;font-size:13px;line-height:1.6}.tile-copy .enquiry-btn{width:100%;margin-top:8px;letter-spacing:.025em}.home-enquiry-caption{font-size:11px;margin-top:4px;color:#665244}.collection-grid{min-width:0}@media(max-width:800px){.footer-grid{grid-template-columns:1fr 1fr;gap:24px}.footer-grid>div:first-child,.footer-grid>div:last-child{grid-column:1/-1}.tools a:first-child{display:flex}.tools .header-enquiry{font-size:0}.tools .header-enquiry .ico{width:24px;height:24px}}@media(max-width:359px){.footer-grid{grid-template-columns:1fr}.footer-grid>div{grid-column:1/-1}}


/* Catalogue page styles are loaded separately. */
/* Theme-only floating WhatsApp contact. */
.kanchi-whatsapp-float{background:#168344;color:#fff;z-index:1000;max-width:calc(100vw - 20px);text-decoration:none}.kanchi-whatsapp-float:hover{background:#116c36;color:#fff}.kanchi-whatsapp-float .ico{flex:0 0 22px;width:22px;height:22px}

.keyword-body{max-width:900px;margin:auto;text-align:left;line-height:1.85}.keyword-body p+p{margin-top:15px}.keyword-body a{color:var(--wine);text-decoration:underline;text-underline-offset:3px;font-weight:600}.arrivals{background:var(--ivory);border-block:1px solid var(--line)}.arrival-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.arrival-card{min-width:0;background:var(--paper);border:1px solid var(--line);display:flex;flex-direction:column}.arrival-photo{display:block;aspect-ratio:1;overflow:hidden;background:#fff}.arrival-photo img{width:100%;height:100%;object-fit:contain}.arrival-copy{padding:15px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;flex:1}.arrival-copy h3{font-size:21px;color:var(--wine);overflow-wrap:anywhere}.arrival-detail{font-size:13px;color:var(--wine);text-decoration:underline}.arrival-copy .btn{margin-top:auto;width:100%;text-align:center}.arrival-copy .eyebrow{letter-spacing:.08em}@media(max-width:720px){.arrival-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.arrival-copy{padding:10px}.arrival-copy h3{font-size:17px}.arrival-copy .btn{padding:8px 4px;letter-spacing:0;font-size:10px}}
