/*
Theme Name: Cinter
Theme URI: https://nouthemes.com/
Author: nouthemes
Author URI: https://nouthemes.com/
Description: Cinter is a modern WordPress block theme purpose-built for online pharmacies, healthcare stores, and supplement shops. Features pharmacy-ready homepage patterns (Pharmaceuticals, Health Care, Personal Care), OTC product templates, and a wellness blog layout with full WooCommerce integration.
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 7.2
WC requires at least: 8.0
WC tested up to: 9.4.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cinter
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, e-commerce, blog, portfolio
*/
/**
 * Rules shared by the editor canvas and the front end.
 *
 * This file is loaded both ways: as `cinter-main-style` on the front end and via
 * add_editor_style() in the editor, so anything here must be safe in both. Keep it
 * to markup that the Site Editor actually renders, so the editor stays WYSIWYG.
 *
 * Overrides that target WooCommerce markup which only exists at runtime (cart
 * table, classic product tabs, the injected Buy Now button) live in
 * assets/css/frontend.css instead — loading those in the editor would style
 * placeholders that are not there and hide content the user needs to edit.
 */

/* The header uses its own account icon, so hide the WooCommerce block's. */
.nav-bar__nav .wp-block-woocommerce-customer-account,
.nav-bar .wp-block-woocommerce-customer-account,
.wp-block-woocommerce-customer-account a svg {
    display: none !important;
}

/* Align WooCommerce's star glyph height with the card typography. */
.wc-block-grid__product-rating .star-rating,
.wc-block-grid__product-rating .wc-block-grid__product-rating__stars,
.wc-block-grid__product-rating .wc-block-product-review-rating__stars,
.wp-block-woocommerce-product-review-rating .star-rating,
.wp-block-woocommerce-product-review-rating .wc-block-grid__product-rating__stars,
.wp-block-woocommerce-product-review-rating .wc-block-product-review-rating__stars {
    height: 1.18em !important;
}

/* The footer menu is a flat list by design; drop the submenu affordances. */
footer .wp-block-navigation .has-child .wp-block-navigation-submenu,
footer .wp-block-navigation .has-child button {
    display: none !important;
}

/**
 * Pages whose design comes entirely from their template (front page, About,
 * Contact, FAQ) ship with empty content. The post-content block still outputs its
 * wrapper, which would otherwise pick up one blockGap and leave a phantom gap
 * above the footer. It stays in those templates so the page is editable in the
 * Site Editor and so anything an author adds is actually rendered.
 */
.wp-block-post-content:empty {
    display: none;
}