/*
Theme Name: PakPick
Theme URI: https://pakpick.com
Author: Glorix Digital
Author URI: https://glorixdigital.com
Description: Custom block theme for PakPick — a Pakistani COD e-commerce store. Reads brand identity (logo, colours, name, contacts) from the PakPick Core plugin so everything stays consistent. Built for WooCommerce. Developed by Glorix Digital (glorixdigital.com).
Version: 0.1.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pakpick
Tags: e-commerce, block-theme, full-site-editing, custom-colors, custom-logo
*/

/* Block theme styles live in theme.json. A few extras for plugin-driven markup: */

.pakpick-socials,
.pakpick-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.pakpick-contact { flex-direction: column; gap: 6px; }

.pakpick-socials a,
.pakpick-contact a {
	color: inherit;
	text-decoration: none;
}
.pakpick-socials a:hover,
.pakpick-contact a:hover { text-decoration: underline; }

/* Site logo sizing guard */
.wp-block-site-logo img { max-height: 44px; width: auto; }

/* Footer sits flush against the content above (removes the flow gap) */
footer.wp-block-group { margin-top: 0 !important; }
main.wp-block-group { margin-bottom: 0; }

/* Footer links (light on charcoal) */
footer.wp-block-group a { color: var(--wp--preset--color--mist); text-decoration: none; }
footer.wp-block-group a:hover { color: #fff; text-decoration: underline; }
footer.wp-block-group .wp-block-list { list-style: none; margin: 0; padding: 0; }
footer.wp-block-group .wp-block-list li { margin: 6px 0; }

/* Skip link, a11y */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100000; border-radius: 6px; }

/* ---------------------------------------------------------- WooCommerce */
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-weight: 700; font-size: 1rem; }
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--wp--preset--color--pine); font-weight: 700; }
.woocommerce div.product p.price { font-size: 1.5rem; }

.woocommerce span.onsale,
.wc-block-grid__product-onsale {
	background: var(--wp--preset--color--sale); color: #fff; border-radius: 6px;
	min-height: auto; min-width: auto; padding: 4px 10px; font-weight: 700; line-height: 1.3;
}

/* WooCommerce buttons follow the brand */
.woocommerce a.button, .woocommerce button.button, .woocommerce .button.alt,
.woocommerce #respond input#submit, .woocommerce input.button,
.wc-block-components-button, .wp-block-woocommerce-cart .wc-block-cart__submit-button {
	background: var(--wp--preset--color--pine) !important; color: #fff !important;
	border-radius: 6px !important; font-weight: 700;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce .button.alt:hover,
.woocommerce input.button:hover { background: var(--wp--preset--color--charcoal) !important; }

.woocommerce ul.products li.product img,
.woocommerce div.product .woocommerce-product-gallery img { border-radius: 10px; }
.woocommerce div.product .product_title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem) !important; line-height: 1.15; margin-bottom: .5rem; }
.woocommerce .woocommerce-breadcrumb { font-size: 0.85rem; color: #6a706a; }

/* (product trust badges styled in assets/pakpick.css) */
