/*
Theme Name: Station Mart
Author: Station Mart
Description: Fast, block-based WooCommerce theme for Station Mart - Shop with Ease.
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Version: 0.1.0
License: GPL-2.0-or-later
Text Domain: stationmart
WC requires at least: 9.0
*/

/* ---------- Header ---------- */
.sm-topbar p { margin: 0; }
.sm-header-main .wp-block-search { flex: 1 1 320px; max-width: 560px; }
.sm-header-main .wp-block-search__input { border-radius: 999px 0 0 999px; border-color: var(--wp--preset--color--line); padding-left: 1rem; }
.sm-header-main .wp-block-search__button { border-radius: 0 999px 999px 0; margin-left: 0; }
.sm-navbar { border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); }
.sm-navbar .wp-block-navigation-item.current-menu-item > a { color: var(--wp--preset--color--accent); }
.sm-navbar .sm-nav-deals > a { color: var(--wp--preset--color--accent); }

/* ---------- Hero ---------- */
.sm-hero { border-radius: 0 0 28px 28px; overflow: hidden; }
.sm-hero h1 { max-width: 16ch; }

/* ---------- Products ---------- */
.wc-block-components-product-sale-badge { background: var(--wp--preset--color--accent); color: #fff; border: 0; }
.woocommerce span.onsale { background: var(--wp--preset--color--accent); color: #fff; min-width: 3em; min-height: 3em; line-height: 3em; font-weight: 800; }
.wp-block-woocommerce-product-template .wc-block-components-product-image img { border-radius: 12px; background: var(--wp--preset--color--surface); }

/* ---------- Footer ---------- */
.sm-footer a { color: inherit; }
.sm-footer a:hover { color: var(--wp--preset--color--primary-light); }
