/* Ania Flower Boutique V9.3 - Unified typography */
:root{
  --ania-font-heading:"Playfair Display",Georgia,"Times New Roman",serif;
  --ania-font-body:"DM Sans",Arial,Helvetica,sans-serif;
}
html,body{font-family:var(--ania-font-body);font-optical-sizing:auto}
body,button,input,select,textarea,option,label,small,time,table,th,td{font-family:var(--ania-font-body)}

/* Main editorial headings */
h1,h2,h3,h4,h5,h6,
.page-hero h1,.section-heading h2,.home-section-heading h2,
.home-story-copy h2,.home-cta-inner h2,.story-copy h2,
.product-summary h1,.product-info h3,.home-product-info h3,
.shop-editorial-header h1,.shop-cta-strip-inner h2,
.order-summary h2,.form-card-title h2,.success-card h1,
.about-copy h2,.contact-info h2,.auth-card>h2,.auth-heading h2,
.account-heading h2,.ticket-thread-head h2,
.footer-column h3,.footer-help-column h3{
  font-family:var(--ania-font-heading)!important;
  font-optical-sizing:auto;
  letter-spacing:-.015em;
}

/* Header follows homepage typography on every page */
.site-header,.site-header a,.main-nav,.classic-header-nav,
.header-actions,.announcement-bar{font-family:var(--ania-font-body)!important}
.main-nav a,.classic-header-nav a{
  font-family:var(--ania-font-body)!important;
  font-weight:600;
  letter-spacing:.10em;
}
.brand-copy strong,.classic-wordmark strong{
  font-family:var(--ania-font-heading)!important;
  font-weight:500;
  letter-spacing:.04em;
}
.brand-copy small,.classic-wordmark small{
  font-family:var(--ania-font-body)!important;
  font-weight:500;
}

/* Product, shop and editorial typography */
.product-meta,.home-product-category,.eyebrow,.home-kicker,
.home-section-heading>span,.shop-breadcrumbs,
.product-badge,.home-product-badge,.admin-badge{
  font-family:var(--ania-font-body)!important;
}
.product-info h3,.home-product-info h3{
  font-weight:500!important;
  line-height:1.3;
}
.price,.home-product-price,.product-price-large,
.variant-option,.home-variant-option,.product-meta,
.shop-toolbar-sort,.shop-side-menu,.shop-side-links{
  font-family:var(--ania-font-body)!important;
}
.home-testimonial-card p{
  font-family:var(--ania-font-heading)!important;
  font-weight:500;
}
.home-care-item h3{
  font-family:var(--ania-font-body)!important;
  font-weight:600;
  letter-spacing:0;
}

/* Buttons, forms, account and transactional pages */
.button,.home-button,.home-add-button,.admin-button,
button,input,select,textarea,
.field,.payment-option,.account-menu,.account-order-card,
.tracking-event,.ticket-message,.notice-box,.admin-badge{
  font-family:var(--ania-font-body)!important;
}
.button,.home-button,.home-add-button{
  font-weight:600;
  letter-spacing:.035em;
}

/* Footer uses the same typography hierarchy */
.site-footer,.site-footer a,.site-footer p,.site-footer small,
.footer-links,.footer-contact,.footer-newsletter{
  font-family:var(--ania-font-body)!important;
}
.footer-column h3,.footer-help-column h3{
  font-weight:500!important;
}
.footer-brand .brand-copy strong,.footer-brand .classic-wordmark strong{
  font-family:var(--ania-font-heading)!important;
}

/* Keep type readable and proportional on smaller screens */
@media(max-width:820px){
  .main-nav a,.classic-header-nav a{letter-spacing:.06em}
  .page-hero h1,.shop-editorial-header h1{letter-spacing:-.02em}
}
@media(max-width:560px){
  body{font-size:15px}
  .button,.home-button{letter-spacing:.02em}
}


/* V9.4 shop typography matched to homepage */
.shop-editorial-layout,
.shop-editorial-layout button,
.shop-editorial-layout input,
.shop-editorial-layout select,
.shop-editorial-layout textarea,
.shop-editorial-layout label,
.shop-editorial-layout a,
.shop-editorial-layout p,
.shop-editorial-layout span,
.shop-editorial-layout small{
  font-family:var(--ania-font-body)!important;
}

.shop-editorial-header h1{
  font-family:var(--ania-font-heading)!important;
  font-size:clamp(34px,4vw,52px)!important;
  line-height:1.08!important;
  font-weight:500!important;
  letter-spacing:-.02em!important;
  color:#34453e!important;
}
.shop-breadcrumbs{
  font-size:10px!important;
  font-weight:600!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}
.shop-side-menu a,.shop-side-links a{
  font-size:13px!important;
  line-height:1.5!important;
  font-weight:500!important;
  letter-spacing:0!important;
}
.shop-side-menu a.active,.shop-side-links a.active{
  font-weight:700!important;
}
.shop-side-menu small,.shop-side-links small{
  font-size:10px!important;
}
.shop-side-title{
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
.shop-toolbar-search input,
.shop-toolbar-sort label,
.shop-toolbar-sort select,
.shop-editorial-meta{
  font-size:12px!important;
  letter-spacing:0!important;
}
.shop-editorial-meta strong{
  font-size:13px!important;
  font-weight:700!important;
}

/* Match homepage product card typography exactly */
.shop-editorial-grid .product-meta{
  font-family:var(--ania-font-body)!important;
  font-size:8px!important;
  font-weight:500!important;
  line-height:1.2!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
  min-height:24px!important;
  padding:0 12px!important;
}
.shop-editorial-grid .product-info h3{
  font-family:var(--ania-font-heading)!important;
  font-size:19px!important;
  line-height:1.25!important;
  font-weight:500!important;
  letter-spacing:0!important;
  margin:8px 0 5px!important;
}
.shop-editorial-grid .product-price-large,
.shop-editorial-grid .product-price-large strong{
  font-family:var(--ania-font-body)!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:500!important;
  color:#405048!important;
}
.shop-editorial-grid .variant-cart-form{
  margin-top:12px!important;
  gap:9px!important;
}
.shop-editorial-grid .variant-options{
  gap:13px!important;
}
.shop-editorial-grid .variant-thumb{
  width:30px!important;
  height:30px!important;
  padding:1px!important;
  border-width:1px!important;
}
.shop-editorial-grid .variant-option{
  gap:4px!important;
}
.shop-editorial-grid .variant-option>span:last-child{
  font-family:var(--ania-font-body)!important;
  font-size:8px!important;
  line-height:1.2!important;
  letter-spacing:0!important;
}
.shop-editorial-grid .product-badge{
  font-family:var(--ania-font-body)!important;
  font-size:8px!important;
  letter-spacing:.08em!important;
  padding:5px 9px!important;
}

.shop-cta-strip-inner h2{
  font-family:var(--ania-font-heading)!important;
  font-size:31px!important;
  line-height:1.1!important;
  font-weight:500!important;
  letter-spacing:0!important;
}
.shop-cta-strip-inner p{
  font-size:11px!important;
  line-height:1.7!important;
}
.shop-cta-actions .button{
  font-size:9px!important;
  font-weight:600!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  min-height:36px!important;
  padding-inline:15px!important;
}

@media(max-width:820px){
  .shop-editorial-header h1{font-size:38px!important}
  .shop-editorial-grid .product-info h3{font-size:18px!important}
}
@media(max-width:560px){
  .shop-editorial-header h1{font-size:32px!important}
  .shop-editorial-grid .product-info h3{font-size:19px!important}
  .shop-editorial-grid .product-price-large,
  .shop-editorial-grid .product-price-large strong{font-size:13px!important}
}
