/*
Theme Name: Bluehost Blueprint
Theme URI: https://github.com/newfold-labs/wp-theme-bluehost-blueprint/
Author: Bluehost
Author URI: https://bluehost.com
Description: Bluehost Blueprint is a block-based, multi-purpose, WordPress theme. Compose your pages to fit any design you like with the power of Full Site Editing (FSE) and the included wide range of Block Patterns. The pre-built pages will help you populate and transform your website into a wonderful website. Customize colors and font pairings to create your own unique look and feel.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bluehost-blueprint
Tags: blog, e-commerce, portfolio, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, block-patterns, wide-blocks, full-site-editing, template-editing
 */


:root {
	--wp--preset--font-size--huge: clamp(6rem, 10vw, 10rem);
}

h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

select {
	min-height: 2.25em;
}

textarea, select, input[type=color], input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=month], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=submit], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], .select2-container .select2-selection--single {
	border-radius: 2px;
	border: 1px solid;
	border-color: rgba(0,0,0,0.2);
	line-height: 1.7;
	padding: 0.3rem 1rem;
	display: block;
}

input[type="submit"] {
	background-color: var(--wp--preset--color--accent-1);
	border-width: 0;
	border-radius: 2px;
	color: var(--wp--preset--color--base);
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	padding: calc(0.667em + 2px) calc(1.333em + 2px);
	text-decoration: none;
	cursor: pointer;
}

[class*="is-style-block-overlap"] + *:not([style*="margin-top"]) {
	margin-top: 0;
}

[class*="is-style-text-wrap-balance"],
[class*="is-style-text-wrap-balance"] p {
	text-wrap-style: balance;
}

div[class*="wp-block-"] figcaption {
	color: var(--wp--preset--color--contrast-midtone);
	font-size: var(--wp--preset--font-size--small);
	margin-bottom: 0;
	margin-top: 8px;
	text-align: center;
}

div[class*="wp-block-"] .wp-block-image figcaption a {
	width: auto;
}

.woocommerce-account .wp-block-post-title, .woocommerce-account main .woocommerce, .woocommerce-cart .wp-block-post-title, .woocommerce-cart main .woocommerce, .woocommerce-checkout .wp-block-post-title, .woocommerce-checkout main .woocommerce {
	max-width: var(--wp--style--global--content-size);
}

/* Sticky Footer */
.wp-site-blocks {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.admin-bar .wp-site-blocks {
    min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
}

.wp-site-blocks > main,
.wp-site-blocks > .entry-content {
    flex: 1;
}
}

/* Product Image Display - Full images with consistent card sizing */
.wc-block-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background-color: #f5f5f5;
    overflow: hidden;
}

.wc-block-product-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    max-height: 300px !important;
}

.wc-block-components-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background-color: #f5f5f5;
    overflow: hidden;
}

.wc-block-components-product-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    max-height: 300px !important;
}

.wc-block-product {
    display: flex;
    flex-direction: column;
}

.wc-block-product-image {
    flex-shrink: 0;
}

/* Mobile-Friendly Shop Page - Added by Claude */
@media (max-width: 768px) {
    .woocommerce-products-header .woocommerce-products-header__description,
    .woocommerce .term-description,
    .archive-description,
    .page-description,
    .woocommerce-products-header__description {
        display: none !important;
    }
    .woocommerce ul.products li.product {
        width: 48% !important;
        margin: 0 1% 2.5em 1% !important;
    }
}

@media (min-width: 769px) {
    .woocommerce-products-header .woocommerce-products-header__description,
    .woocommerce .term-description,
    .page-description {
        max-height: 100px !important;
        overflow: hidden !important;
        margin-bottom: 20px;
    }
}

/* Modern shop archive */
.bh-shop-hero {
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 45%), radial-gradient(circle at 80% 10%, rgba(255,255,255,0.06), transparent 40%), linear-gradient(135deg, #16425B 0%, #2F6690 100%);
}
.bh-shop-hero .wp-block-cover__inner-container {
    max-width: 1100px;
    width: calc(100% - 48px);
    margin: 0 auto;
}
.bh-shop-hero .wp-block-query-title,
.bh-shop-hero p {
    color: #f7fbff;
}
.bh-shop-breadcrumb {
    opacity: 0.9;
}
.bh-shop-toolbar {
    box-shadow: 0 15px 45px rgba(22, 66, 91, 0.12);
    backdrop-filter: blur(8px);
}
.bh-shop-toolbar .wp-block-search__input {
    min-height: 44px;
    padding-left: 40px;
    background: #f5f7fb;
    border: 1px solid #e5e8ee;
    color: #0f172a;
}
.bh-shop-toolbar .wp-block-search__button {
    background: linear-gradient(135deg, #16425B 0%, #30A2C5 100%);
    border: none;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
}
.bh-shop-toolbar .bh-shop-sort select {
    border: 1px solid #e5e8ee;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
}
.bh-shop-grid {
    gap: var(--wp--preset--spacing--40) !important;
}
.bh-shop-card {
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(22, 66, 91, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bh-shop-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(22, 66, 91, 0.18);
}
.bh-shop-card__media {
    position: relative;
    background: #f6f8fb;
    overflow: hidden;
}
.bh-shop-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bh-shop-card__body h3 {
    font-size: 18px;
}
.bh-shop-card__body .wp-block-woocommerce-product-price {
    font-weight: 700;
}
.bh-shop-card__body .wp-block-button__link,
.bh-shop-card__body .add_to_cart_button,
.bh-shop-card__body .product_type_simple {
    background: #0f172a;
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .bh-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .bh-shop-hero .wp-block-cover__inner-container {
        width: calc(100% - 32px);
    }
}
@media (max-width: 768px) {
    .bh-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .bh-shop-toolbar {
        gap: 12px;
    }
}
@media (max-width: 600px) {
    .bh-shop-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    .bh-shop-hero {
        min-height: 280px !important;
    }
    .bh-shop-card__body {
        padding: 16px !important;
    }
    .bh-shop-toolbar {
        flex-direction: column;
        align-items: stretch !important;
    }
    .bh-shop-toolbar .wp-block-search__input {
        width: 100% !important;
    }
}
