/*
Theme Name: Hazara Organics
Theme URI: https://hazaraorganics.com
Description: Block child theme for the Hazara Organics store: raw honey, shilajit, dry fruits and oils from the Hazara region of Pakistan. Built on Twenty Twenty-Five and WooCommerce blocks.
Author: Hazara Organics
Template: twentytwentyfive
Version: 1.0.2
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hazara-organics
*/

/* Arch motif: tall rounded top on hero and category images. */
.hz-arch img,
.hz-arch .wp-block-cover,
.hz-arch .wc-block-featured-category {
  border-radius: 999px 999px 14px 14px;
}
.hz-arch .wp-block-cover {
  overflow: hidden;
  padding-bottom: var(--wp--preset--spacing--40);
}
.hz-arch .wp-block-cover__background,
.hz-arch .wp-block-cover img {
  border-radius: inherit;
}
.hz-arch .wp-block-cover .wp-block-heading {
  margin-bottom: var(--wp--preset--spacing--20);
}

/* Header */
.hz-header .wp-block-site-title a {
  text-decoration: none;
  letter-spacing: -0.01em;
}
.hz-header .wp-block-navigation a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.hz-header .wc-block-mini-cart__button {
  color: var(--wp--preset--color--ink);
}

/* Featured category tiles */
.hz-cats .wc-block-featured-category {
  min-height: 300px;
}
.hz-cats .wc-block-featured-category .wc-block-featured-category__title,
.hz-cats .wc-block-featured-category .wc-block-featured-category__description {
  color: var(--wp--preset--color--chalk);
}
.hz-cats .wc-block-featured-category__link .wp-block-button__link {
  background: var(--wp--preset--color--honey);
  color: var(--wp--preset--color--ink);
}
.hz-cats .wc-block-featured-category .wc-block-featured-category__overlay {
  border-radius: 999px 999px 14px 14px;
}

/* Product grids */
.wc-block-product-template .wc-block-components-product-image img,
.wp-block-woocommerce-product-image img {
  border-radius: 14px;
  background: var(--wp--preset--color--moss);
}
.wc-block-components-product-price,
.woocommerce-Price-amount {
  font-family: var(--wp--preset--font-family--manrope);
  font-weight: 600;
}
.wp-block-woocommerce-product-collection .wp-block-post-title a {
  text-decoration: none;
}
.wp-block-woocommerce-product-collection .wp-block-post-title a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Buttons everywhere (WooCommerce and core) share one look. */
.wp-element-button,
.wp-block-button__link,
.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.single_add_to_cart_button,
.wc-block-components-product-button__button {
  font-family: var(--wp--preset--font-family--manrope);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 8px;
}
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-components-product-button__button,
.single_add_to_cart_button {
  background-color: var(--wp--preset--color--honey);
  color: var(--wp--preset--color--ink);
  border: none;
}
.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-product-button__button:hover,
.single_add_to_cart_button:hover {
  background-color: var(--wp--preset--color--pine);
  color: var(--wp--preset--color--chalk);
}

/* Trust strip and step list stay plain text: no icons, no cards. */
.hz-trust p {
  margin: 0;
}
.hz-steps .wp-block-column {
  border-top: 2px solid var(--wp--preset--color--honey);
  padding-top: var(--wp--preset--spacing--30);
}

/* Footer */
.hz-footer a {
  color: var(--wp--preset--color--chalk);
  text-decoration: none;
}
.hz-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.hz-footer .wp-block-navigation {
  --navigation-layout-direction: column;
}

/* WooCommerce coming-soon notice and admin bar should not fight the layout. */
.woocommerce-store-notice {
  background: var(--wp--preset--color--pine);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
