/*
Theme Name: Batik Cantikuu
Description: Tema katalog Batik Cantikuu dengan palet cream dan aksen emas.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: batik-cantikuu
*/

.menu-toggle { display: none; }
.header { top: var(--wp-admin--admin-bar--height, 0px); }
section[id], footer[id] { scroll-margin-top: 110px; }
.hero-video { width: 100%; max-height: 440px; display: block; border-radius: 4px; background: #f2e5ca; }
.hero-media { flex: 1; min-width: 0; }
.hero-inner.has-media { gap: 5%; }
.hero-inner.has-media .hero-copy { flex: 1; }
.hero-inner.has-media .hero-note { display: none; }
.hero-poster, .banner-media { width: 100%; height: auto; display: block; }
.banner-media { position: relative; z-index: 1; }
.banner-inner { gap: 25px; }
.product-art img { width: 100%; height: 100%; object-fit: cover; }
.product-art.has-photo::before, .product-art::after { content: none; }
.product-art.has-photo { background: #f4ead5; }
.product-name a:hover, .single-content a:hover { text-decoration: underline; }
.catalog-empty, .section-intro, .footer p, .social-panel .contact-numbers a { font-size: 0.9rem; }
.catalog-pagination { margin-top: 28px; }
.catalog-pagination .page-numbers { display: inline-block; padding: 8px 11px; }
.catalog-pagination .current { background: #f4ead5; }
.single-product { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(42px, 7vw, 108px); align-items: start; }
.single-product > div:last-child { padding-top: clamp(10px, 3vw, 42px); }
.single-product h1, .single-content h1 { max-width: 680px; font: 400 clamp(2.15rem, 4.7vw, 3.65rem)/1.06 var(--serif); letter-spacing: -.025em; margin: 0 0 28px; }
.single-content { font-size: 1rem; line-height: 1.7; }
.single-content > p:first-child { margin: 0 0 32px; font-size: .78rem; letter-spacing: .08em; color: #766b59; }
.single-content > p:first-child a { display: inline-flex; align-items: center; gap: 8px; }
.single-content > p:first-child a::before { content: '←'; color: #a77c25; font-size: 1rem; }
.single-content img, .product-gallery img { max-width: 100%; height: auto; display: block; }
.product-gallery { display: grid; gap: 16px; }
.product-gallery img { width: 100%; border-radius: 2px; }
.product-gallery .product-art { min-height: 280px; }
.order-form { display: grid; gap: 12px; margin-top: 30px; max-width: 420px; }
.order-form label { display: grid; gap: 6px; }
.order-form select { font: inherit; padding: 10px; background: #fffdf8; border: 1px solid #ab9a78; }
.order-form .gold-btn { width: 100%; min-height: 52px; padding: 16px 22px; letter-spacing: .14em; box-shadow: 0 8px 20px rgba(103, 75, 22, .14); }
.order-form .gold-btn:hover { box-shadow: 0 11px 24px rgba(103, 75, 22, .2); }
.price-display { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-old { color: #9a8f7e; font-size: .82em; text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: #b99a6a; }
.price-current { color: #8b651c; }
.product-price .price-display { font-size: .78rem; }
.product-price .price-current { font-weight: 600; }
.product-detail-price { margin: 0 0 30px; font: 400 1.45rem/1.2 var(--serif); letter-spacing: .01em; }
.product-detail-price .price-display { gap: 12px; }
.product-detail-price .price-old { font-size: .72em; }
.product-detail-price .price-current { color: #8b651c; font-size: 1.15em; }
.product-attribute { padding: 13px 0; border-top: 1px solid rgba(171, 154, 120, .35); }
.product-attribute:last-of-type { border-bottom: 1px solid rgba(171, 154, 120, .35); }
.product-price, .product-cat, .wa-btn, .filter { font-size: .78rem; }
.product-cat { color: #65563d; }
.section .kicker, .collection .kicker, .banner .kicker { color: #795716; }
.footer-brand .footer-logo { width: 150px; height: auto; }
.footer { padding-bottom: 76px; }
.wa-float { width: 58px; height: 58px; padding: 0; border-radius: 50%; overflow: hidden; display: block; font-size: 0; background: transparent; color: #fff; }
.wa-float img { width: 58px; height: 58px; display: block; object-fit: cover; border-radius: 50%; }

.wa-float { transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.wa-float:hover { transform: scale(1.12); background: transparent; box-shadow: 0 8px 18px rgba(37, 211, 102, .35); }
.wa-float:focus-visible { outline: 3px solid rgba(37, 211, 102, .45); outline-offset: 4px; }
.social-icons a:focus-visible, .contact-numbers a:focus-visible { outline: 2px solid #795716; outline-offset: 3px; }

/* Sembunyikan bagian Cerita Batik Cantikuu dari beranda. */
#cerita { display: none !important; }

@media(max-width:640px) {
    .menu-toggle { display: block; }
    .menu[hidden] { display: none; }
    .menu:not([hidden]) { display: grid; gap: 18px; position: absolute; top: 100%; left: 0; right: 0; padding: 22px; background: #fffdf8; border-bottom: 1px solid #ded8cb; }
    .hero-inner.has-media { display: flex; flex-direction: column; align-items: stretch; gap: 26px; padding-bottom: 40px; }
    .hero-inner.has-media .hero-copy { flex: auto; }
    .hero-inner.has-media .hero-media { flex: auto; }
    .hero h1 { font-size: clamp(2.65rem, 12vw, 3.5rem); }
    .single-product { grid-template-columns: 1fr; gap: 34px; }
    .single-product > div:last-child { padding-top: 0; }
    .single-product h1, .single-content h1 { font-size: clamp(2rem, 10vw, 3rem); margin-bottom: 22px; }
    .single-content > p:first-child { margin-bottom: 24px; }
    .order-form { max-width: none; }
    .product-detail-price { font-size: 1.3rem; margin-bottom: 22px; }
}
@media(min-width:641px) { .menu[hidden] { display: flex; } }