/*
Theme Name: Planorva
Theme URI: https://planorva.com
Author: Planorva
Description: Planorva child theme of Stratia Studio — same storefront engine, Planorva identity: deep teal, warm gold, cream. Plan beautifully.
Version: 1.0.0
Template: stratia-studio
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: planorva
Tags: e-commerce, custom-logo, custom-menu
*/

/* Planorva palette mapped onto the parent theme's variables.
   --sage is the parent's primary-action color (buttons, prices, links). */
:root{
  --ink:#1C1F24;
  --muted:#5C626B;
  --sage:#0F3F3F;
  --sage-dark:#0A2C2C;
  --ivory:#F5F2EB;
  --paper:#FBF9F4;
  --line:#E1DCCF;
}

/* Parent colors that are hardcoded in main.css, re-skinned here. */
body{background:#FBF9F4}
.announcement{background:#0F3F3F}
.site-header{background:#FBF8F1}
.site-search{background:#FBF8F1}
.primary-nav{background:#FBF8F1}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#C79A3A}
.hero{background:linear-gradient(90deg,#F5F2EB 0%,#F7F4ED 42%,#EAE1CE 100%)}
.hero::after{background:linear-gradient(90deg,#F5F2EB 0%,#F5F2EBF7 28%,#F5F2EBCE 39%,transparent 60%)}
.download-stamp{border-color:#C79A3A;background:#F5F2EBB3}
.benefit-strip{background:#F8F5ED}
.product-image{background:#EFEBDF}
.woocommerce ul.products li.product img{background:#EFEBDF}
.editorial-banner{background:#E4EBE7}
.editorial-ornament{color:#C79A3A}
.site-footer{background:#F3EFE5}
.footer-menu a,.subtle-link{color:#474C52}
.footer-bottom{border-top-color:#DCD6C6;color:#6E7278}
@media(max-width:600px){
  .hero::after{background:linear-gradient(180deg,#F5F2EB 0%,#F5F2EB 40%,#F5F2EBD9 48%,transparent 68%)}
}

/* ===== Carried over from the parent store's Customizer CSS (2026-10-21) =====
   These rules were bound to the parent theme's Additional CSS, which does not
   follow a theme switch — so they live in the child theme now. */

/* Related products grid - 3 bigger columns, equal-height cards */
.woocommerce section.related.products{display:block!important;}
section.related ul.products{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:24px!important;}
section.related ul.products li.product{width:auto!important;margin:0!important;float:none!important;display:flex!important;flex-direction:column!important;}
section.related ul.products li.product .woocommerce-loop-product__title{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:2.8em!important;}
section.related ul.products li.product .add_to_cart_button{margin-top:auto!important;}
@media (max-width:1024px){section.related ul.products{grid-template-columns:repeat(2,1fr)!important;}}
@media (max-width:600px){section.related ul.products{grid-template-columns:1fr!important;}}
/* Category card labels */
.category-card-text,.category-card-text a{color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.45);}
/* Hero art (relative path so it follows the site's own uploads on any domain) */
.hero-art{background-image:url('/wp-content/uploads/2026/10/hero-3d-duo-realapp-final-scaled.webp')!important;}
/* Footer payment trust badges */
.footer-payments{display:flex;align-items:center;justify-content:center;gap:.55rem;flex-wrap:wrap;padding:1rem 1rem .25rem;}
.fp-lock{width:.9rem;height:.9rem;color:#c9a86a;flex:none;}
.fp-label{color:#c9a86a;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600;}
.fp-badge{display:inline-flex;align-items:center;background:#ffffff;border-radius:.4rem;padding:.35rem .7rem;line-height:1;font-style:italic;font-weight:800;font-size:1rem;letter-spacing:-.01em;box-shadow:0 1px 2px rgba(0,0,0,.18);}
.fp-pay{color:#003087;}
.fp-pal{color:#009cde;}
/* Footer newsletter signup block (4th footer column) */
.footer-newsletter-block{max-width:560px;margin:0 auto;padding:1.25rem 1rem 0;text-align:center;}
.footer-newsletter-heading{font-size:1.05rem;font-weight:600;color:#2b2a26;margin:0 0 .65rem;letter-spacing:.01em;}
.footer-newsletter-block .screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}
.footer-newsletter-form{display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap;}
.footer-newsletter-form input[type=email]{flex:1 1 240px;max-width:340px;padding:.65rem .9rem;border:1px solid #c9a86a;border-radius:.35rem;background:#fffdf8;color:#2b2a26;font-size:.95rem;}
.footer-newsletter-form input[type=email]:focus{outline:2px solid #c9a86a;outline-offset:1px;}
.footer-newsletter-form button[type=submit]{padding:.65rem 1.4rem;border:0;border-radius:.35rem;background:#c9a86a;color:#2b2a26;font-size:.85rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;}
.footer-newsletter-form button[type=submit]:hover{background:#b8955a;}
@media (max-width:480px){.footer-newsletter-form input[type=email]{flex:1 1 100%;max-width:none;}}
.site-footer .footer-columns .footer-newsletter-block{max-width:none;margin:0;padding:0;text-align:left;}
.site-footer .footer-columns .footer-newsletter-form{flex-direction:column;align-items:stretch;justify-content:flex-start;}
.site-footer .footer-columns .footer-newsletter-form input[type=email]{flex:1 1 auto;width:100%;max-width:none;}
.site-footer .footer-columns .footer-newsletter-form button[type=submit]{width:100%;}
/* Accessibility fixes */
/* Footer payment badges: darker bronze keeps the gold look, passes AA contrast on cream */
.fp-lock{color:#7d5f28;}
.fp-label{color:#7d5f28;}
/* Copyright bar text: darker, passes AA */
.footer-bottom{color:#4c5149;}
/* Cookie-consent floating button: brand sage instead of the plugin's default blue */
.cky-btn-revisit-wrapper{background-color:#596654!important;}

/* Header logo: larger presence for the Planorva wordmark (parent caps it at 128px) */
.brand img{width:158px;max-height:64px;}
