/*
Theme Name: Bw Zagg Child
Theme URI: https://zagg.bzotech.com/intro/
Template: bw-zagg
Author: phoneshop.digitalexpert.lk
Description: Child theme for Bw Zagg. Adds conditional asset loading (performance), synced WooCommerce 11.1.1 templates, and AJAX/security hardening without modifying the parent theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bw-zagg-child
*/

/*
 * Custom font: AF Sigiri
 *
 * Uploaded to wp-content/uploads/fonts/AF Sigiri.ttf. The url() below is
 * relative to this file's own location (wp-content/themes/bw-zagg-child/),
 * not an absolute https://phoneshop.digitalexpert.lk/... URL — so it keeps
 * resolving correctly after a domain change, and even after moving the
 * whole WordPress install to a different path, as long as the standard
 * wp-content/themes/... and wp-content/uploads/... layout is kept.
 *
 * Use it anywhere with: font-family: 'AF Sigiri', sans-serif;
 */
@font-face {
	font-family: 'AF Sigiri';
	src: url('../../uploads/fonts/AF%20Sigiri.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/*
 * Product page tabs shown as stacked vertical sections instead of
 * click-to-switch tabs (see bzotech-templates/woocommerce/single-product/tabs.php
 * and inc/product-tabs.php). The parent theme's CSS styles .tab-pane
 * assuming only one is ever visible (.active) at a time; since our override
 * marks every .tab-pane "active" so they all render, this just adds
 * separation and heading spacing between the stacked sections.
 */
.tab-product-stacked .tab-pane {
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid #eee;
}
.tab-product-stacked .tab-pane:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}
.tab-product-stacked .title-tab-product-stacked {
	margin: 0 0 20px;
}
