/*
Theme Name: Hema's Cake House
Theme URI: https://hemascakehouse.in/
Author: Hema's Cake House
Description: WordPress theme conversion for the Hema's Cake House website. Includes the existing React storefront and WordPress-powered cake guides.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hemas-cake-house
*/

/* WordPress blog pages reuse the site's warm cream and chocolate palette. */
.hch-blog { --hch-cream:#fbf2eb; --hch-paper:#fffaf6; --hch-brown:#4e342e; --hch-muted:#876f63; --hch-gold:#d4af37; background:var(--hch-cream); color:var(--hch-brown); min-height:100vh; font:16px/1.75 Arial,sans-serif; }
.hch-blog * { box-sizing:border-box; }
.hch-blog a { color:#8d6b28; text-decoration:none; }
.hch-blog a:hover { text-decoration:underline; }
.hch-blog .wrap { max-width:900px; margin:auto; padding:28px 20px 70px; }
.hch-blog .brand { font:25px Georgia,serif; margin-bottom:40px; }
.hch-blog .hero { background:var(--hch-paper); border:1px solid #ead7b1; border-radius:24px; padding:34px; margin-bottom:30px; }
.hch-blog .eyebrow { text-transform:uppercase; letter-spacing:.2em; font-size:12px; color:#a17b2e; }
.hch-blog h1 { font:clamp(34px,6vw,58px)/1.1 Georgia,serif; margin:10px 0 15px; }
.hch-blog h2 { font:29px Georgia,serif; margin:35px 0 12px; }
.hch-blog h3 { font:22px Georgia,serif; }
.hch-blog .meta,.hch-blog .footer { color:var(--hch-muted); font-size:14px; }
.hch-blog .article { background:#fff; border:1px solid #eadfd6; border-radius:20px; padding:30px; }
.hch-blog .article-card { padding:22px 0; border-bottom:1px solid #eadfd6; }
.hch-blog .article-card:last-child { border:0; }
.hch-blog .article-card h2 { margin:0 0 8px; }
.hch-blog .cta { display:inline-block; background:var(--hch-gold); color:var(--hch-brown); font-weight:700; padding:13px 20px; border-radius:999px; margin-top:10px; }
.hch-blog .back { display:inline-block; margin-top:35px; }
.hch-blog .note { background:var(--hch-cream); border-left:3px solid var(--hch-gold); padding:15px 18px; margin:25px 0; }
.hch-blog ul { padding-left:24px; }
@media(max-width:600px) { .hch-blog .hero,.hch-blog .article { padding:22px; } }

/* Individual cake pages use the storefront palette while keeping cake details editable in WordPress. */
.hch-product-page { --hch-cream:#fbf2eb; --hch-paper:#fffaf6; --hch-brown:#4e342e; --hch-muted:#876f63; --hch-gold:#d4af37; background:var(--hch-cream); color:var(--hch-brown); min-height:100vh; padding:110px 20px 70px; font:16px/1.7 Arial,sans-serif; }
.hch-product-page * { box-sizing:border-box; }
.hch-product-wrap { max-width:1100px; margin:0 auto; }
.hch-product-back { display:inline-block; color:#755b39; margin:0 0 18px; text-decoration:none; }
.hch-product-back:hover { text-decoration:underline; }
.hch-product-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); overflow:hidden; background:var(--hch-paper); border:1px solid #eadfd6; border-radius:24px; box-shadow:0 16px 50px rgba(78,52,46,.08); }
.hch-product-image { min-height:420px; background:#f3e5d8; }
.hch-product-image img { width:100%; height:100%; min-height:420px; display:block; object-fit:cover; }
.hch-product-image-caption { position:absolute; left:0; right:0; bottom:0; margin:0; padding:28px 18px 14px; color:#fff; font-size:12px; line-height:1.45; background:linear-gradient(transparent,rgba(42,29,25,.78)); }
.hch-product-image { position:relative; }
.hch-product-no-image { min-height:420px; display:grid; place-items:center; color:var(--hch-muted); }
.hch-product-info { padding:clamp(25px,5vw,58px); align-self:center; }
.hch-product-category { color:#99762e; text-transform:uppercase; letter-spacing:.12em; font-size:12px; margin:0 0 8px; }
.hch-product-info h1 { font:clamp(34px,5vw,52px)/1.1 Georgia,serif; margin:0 0 14px; }
.hch-product-price { font-size:19px; margin:0 0 14px; }
.hch-product-price strong { font-size:25px; }
.hch-product-summary { color:#6f5a50; font-size:17px; }
.hch-product-details { margin:24px 0; border-top:1px solid #eadfd6; }
.hch-product-details div { display:grid; grid-template-columns:150px 1fr; gap:14px; padding:12px 0; border-bottom:1px solid #eadfd6; }
.hch-product-details dt { font-weight:700; }
.hch-product-details dd { margin:0; color:#6f5a50; }
.hch-product-order { display:inline-block; margin-top:18px; padding:14px 22px; border-radius:999px; background:#25a55b; color:#fff!important; text-decoration:none; font-weight:700; text-align:center; }
.hch-product-order:hover { background:#188647; }
.hch-product-note { color:var(--hch-muted); font-size:13px; margin:10px 0 0; }
.hch-cake-link { color:#8d6b28!important; font-weight:700; text-decoration:underline!important; text-decoration-color:rgba(212,175,55,.7)!important; text-underline-offset:4px; }
.hch-cake-link:hover { color:#4e342e!important; text-decoration-color:#d4af37!important; }
@media(max-width:760px) { .hch-product-page { padding:92px 15px 45px; } .hch-product-card { grid-template-columns:1fr; } .hch-product-image,.hch-product-image img,.hch-product-no-image { min-height:280px; max-height:420px; } .hch-product-details div { grid-template-columns:1fr; gap:3px; } .hch-product-order { width:100%; } }
