/*
Theme Name: Bootcom Express
Theme URI: https://steveb27.com/product/bootcom-express-woocommerce-theme/
Author: SteveB27
Author URI: https://steveb27.com/
Description: Get your store online fast with Bootcom Express, a WooCommerce theme built for quick setup and effortless customization. Powered by Bootstrap 5, it provides a clean, responsive storefront and a set of ready‑made layouts you can launch with a single click. WooCommerce integration, flexible design options, and optimized performance make it easy to create a professional shop without complexity. Ideal for anyone who wants a smooth, streamlined path to selling online.
Version: 1.2.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bootstrap-commerce
Tags: e-commerce, woocommerce, bootstrap, online-store, shop, responsive, mobile-friendly, two-columns, custom-menu, featured-images, flexible-header, custom-logo
*/

/* ==========================================================================
   STYLE.CSS - Main Stylesheet
   ========================================================================== */

/* ==========================================================================
   Base Styles
   ========================================================================== */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Header Styles */
.site-header {
    padding: 1.5rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Account Menu Styles */
.account-menu-wrapper {
    position: relative;
}

.account-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-menu-toggle img.avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.account-menu-toggle .dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
}

.account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.account-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.account-dropdown ul li {
    margin: 0;
}

.account-dropdown ul li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-dropdown ul li a svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

.site-branding h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
}

.site-branding .custom-logo-link {
    display: inline-block;
    max-width: 100%;
}

.site-branding .custom-logo {
    height: auto;
    max-height: 80px;
    width: auto;
    max-width: 100%;
    display: block;
}

.site-description {
    margin: 0.25rem 0 0 0;
    font-size: 0.875rem;
    color: #666;
}

/* Navigation */
.navbar {
    padding: 0.5rem 0;
}

header .navbar-nav {
    margin: 0 auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

/* Cart Icon */
.header-cart {
    position: relative;
    margin-right: 1rem;
}

.cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-icon svg {
    width: 24px;
    height: 24px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* Header Layouts */
.site-header.layout-2 .site-branding {
    text-align: center;
    margin-bottom: 1rem;
}

.site-header.layout-2 .navbar {
    width: 100%;
}

.site-header.layout-2 .navbar-nav {
    margin: 0 auto;
}

.site-header.layout-3 .navbar-nav {
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Fix z-index layering for Layout 3 */

/* The header needs to be above the navigation container that follows it */
.site-header.layout-3 {
    position: relative;
    z-index: 1050;
}

/* Ensure header actions stay on top */
.site-header.layout-3 .header-actions {
    position: relative;
    z-index: 1051;
}

/* Account menu wrapper */
.site-header.layout-3 .account-menu-wrapper {
    position: relative;
    z-index: 1052;
}

/* Account dropdown must be highest */
.site-header.layout-3 .account-dropdown {
    position: absolute;
    z-index: 1053 !important;
}

/* The navigation container that comes after the header should be lower */
.site-header.layout-3 + .container {
    position: relative;
    z-index: 1040;
}

/* Navigation and search within that container stay lower */
.site-header.layout-3 + .container .navbar {
    position: relative;
    z-index: 1041;
}

.site-header.layout-3 + .container .navbar-collapse {
    position: relative;
    z-index: 1042;
}

.site-header.layout-3 + .container .search-form {
    position: relative;
    z-index: 1043;
}

/* Bootstrap dropdown menus in navigation */
.site-header.layout-3 + .container .dropdown-menu {
    z-index: 1044;
}

/* Cart icon also needs proper z-index */
.site-header.layout-3 .header-cart {
    position: relative;
    z-index: 1051;
}

/* Content Area */
.site-content {
    min-height: 400px;
}

/* Post/Article Styles */
article {
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.entry-meta {
    font-size: 0.875rem;
    font-weight: 500;
}

.entry-meta span {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    display: inline-block;
    margin: 0.25rem;
}

.post-thumbnail img {
    border-radius: 0.5rem;
}

/* Buttons */
.btn-primary {
    border-radius: 0.375rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
}

/* Pagination */
.pagination {
    margin-top: 2rem;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 0.875rem;
    margin: 0 0.25rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    transform: translateY(-2px);
}

/* Sidebar Widgets */
.widget {
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.widget:hover {
    transform: translateY(-2px);
}

.widget-title {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    padding: 0.5rem 0;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    transition: all 0.2s ease;
}

/* ==========================================================================
   Footer Styles - Simplified Single Background
   ========================================================================== */

.site-footer {
    padding: 3rem 0 0 0;
    margin-top: 4rem;
}

.footer-widgets {
    padding-bottom: 3rem;
}

/* Remove all widget backgrounds - use footer background */
.footer-widget {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

.footer-widget-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
}

/* All footer text uses footer text color */
.footer-widget,
.footer-widget p,
.footer-widget h1,
.footer-widget h2,
.footer-widget h3,
.footer-widget h4,
.footer-widget h5,
.footer-widget h6,
.footer-widget li,
.footer-widget strong,
.footer-widget span {
    color: inherit;
}

/* Footer links use footer text color with hover effect */
.footer-widget a {
    color: inherit !important;
    text-decoration: none;
    transition: opacity 0.2s ease, padding-left 0.2s ease;
    opacity: 0.9;
}

.footer-widget a:hover {
    opacity: 1;
    color: inherit !important;
    padding-left: 0.25rem;
}

/* Footer lists */
.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    padding: 0.5rem 0;
}

.footer-widget ul li:last-child {
    border-bottom: none;
}

/* Footer logo */
.footer-logo {
    display: block;
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.site-tagline {
    opacity: 0.9;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Social links in footer */
.footer-widget .social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-widget .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: inherit;
    transition: all 0.2s ease;
    padding: 0;
    opacity: 1;
}

.footer-widget .social-links a:hover {
    transform: translateY(-2px);
    padding-left: 0;
}

/* Footer bottom section */
.footer-bottom {
    padding: 1.5rem 0;
}

.footer-bottom .copyright {
    color: inherit;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-navigation {
    display: inline-block;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-menu li {
    display: inline-block;
}

.footer-menu a {
    color: inherit;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
    opacity: 0.9;
}

.footer-menu a:hover {
    opacity: 1;
}

/* Footer responsive adjustments */
@media (max-width: 991px) {
    .footer-widget {
        margin-bottom: 2rem;
    }

    .footer-widget:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .footer-menu {
        justify-content: center;
        margin-top: 1rem;
    }

    .footer-bottom .col-md-6 {
        text-align: center !important;
    }
}

/* ==========================================================================
   WooCommerce Support
   ========================================================================== */

.woocommerce-page .site-content {
    padding: 3rem 0;
}

/* WooCommerce Product Cards */
.woocommerce ul.products li.product {
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
}

.woocommerce ul.products li.product img {
    border-radius: 0.375rem;
}

.woocommerce ul.products li.product .price {
    font-weight: 600;
}

.woocommerce ul.products li.product .button {
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

/* WooCommerce Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error{
    border-radius: 0.375rem;
    padding-left: 3rem;
}

.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img,
.woocommerce-product-gallery__thumbnails img {
    display: block;
    width: 100%;
    height: auto;
}

.woocommerce-product-gallery__thumbnails .product-gallery-thumb {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.woocommerce-product-gallery__thumbnails .product-gallery-thumb:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.woocommerce-product-gallery {
    margin-bottom: 1.5rem;
}

.woocommerce-product-gallery__wrapper {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: .375rem;
    overflow: hidden;
    background-color: #f8f9fa;
}

.woocommerce-product-gallery__image a,
.woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: auto;
}

.flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.flex-control-thumbs li {
    width: calc(25% - .375rem);
}

.flex-control-thumbs img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: .375rem;
    background: #fff;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
}

.flex-control-thumbs img:hover {
    opacity: .85;
    transform: translateY(-2px);
    border-color: var(--bs-primary, #0d6efd);
}

.flex-active {
    border-color: var(--bs-primary, #0d6efd) !important;
}

/* Ensure modal doesn't get squashed */
.modal-xl { max-width: 90% !important; }

/* Pointer for zoom-in effect */
[data-bs-toggle="modal"] { cursor: zoom-in !important; }

/* Style the thumbnail buttons */
.product-thumb-btn {
    width: 70px;
    height: 70px;
    border: 2px solid transparent;
}
.product-thumb-btn.active {
    border-color: var(--bs-primary);
}

/* ==========================================================================
   Homepage Sections
   ========================================================================== */

.homepage-hero-section {
    color: #fff;
    padding: 5rem 0;
}

.homepage-template .hero-content h1 {
    color: #fff;
}

.hero-image img {
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn {
    min-width: 150px;
}

/* Category Cards */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.category-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}

.category-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.category-count {
    font-size: 0.875rem;
    opacity: 0.9;
}

.category-card:hover .category-name,
.category-card:hover .category-count {
    color: #ffffff;
}

/* Promo Banner */
.promo-banner {
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.promo-banner:hover {
    transform: translateY(-2px);
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    color: #ffffff;
    font-weight: 600;
}

.promo-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

/* Testimonials */
.testimonial-card {
    padding: 2rem;
    border-radius: 0.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-rating .star {
    font-size: 1.25rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin: 1rem 0;
}

.testimonial-author {
    padding-top: 1rem;
}

mark.count {
    border-radius:4px;
}

/* Blog Cards */
.blog-card {
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card:hover .blog-title a,
.blog-card:hover .blog-meta,
.blog-card:hover .blog-excerpt {
    color: inherit;
}

.blog-image {
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-meta {
    font-size: 0.875rem;
}

.blog-title a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-excerpt {
    margin: 0.5rem 0;
}

.blog-link {
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.blog-link:hover {
    padding-left: 5px;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
}

/* ==========================================================================
   Additional Color Enhancements
   ========================================================================== */

/* Add colorful accents to form elements */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea,
select {
    border: 2px solid #e2e8f0;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
}

/* Colorful tags and categories */
.post-categories,
.tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.post-categories li,
.tagcloud a {
    list-style: none;
}

.post-categories a,
.tagcloud a {
    display: inline-block;
    color: #ffffff !important;
    padding: 0.375rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-categories a:hover,
.tagcloud a:hover {
    transform: translateY(-2px);
}

/* Blockquote styling */
blockquote {
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
}

/* Comment section */
.comment-list .comment {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

.comment-reply-link {
    color: #ffffff !important;
    padding: 0.375rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.comment-reply-link:hover {
    transform: translateY(-1px);
}

/* Search form */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input[type="search"] {
    flex: 1;
    border-radius: 2rem 0 0 2rem;
}

.search-form button {
    color: #ffffff;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0 2rem 2rem 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-form button:hover {
    transform: translateY(-1px);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.min-vh-50 {
    min-height: 50vh;
}

.homepage-categories-section,
.homepage-products-section,
.homepage-testimonials-section,
.homepage-blog-section {
    position: relative;
}

/* Social Links Widget */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    transition: all 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #e2e8f0;
}

.mobile-nav a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav a:hover {
    padding-left: 1.5rem;
}

/* Full Width Page Template */
body.page-template-default.full-width .site-content .container {
    max-width: 100%;
    padding: 0;
}

body.page-template-default.full-width article {
    box-shadow: none;
    padding: 0;
}

/* ==========================================================================
   Full Width Page Styles
   ========================================================================== */

/* Full-width content styling */
.full-width-content {
    max-width: 100%;
}

.full-width-content .entry-content {
    max-width: 1400px;
    margin: 0 auto;
}

/* Remove article padding on full-width for edge-to-edge content */
.site-main.col-12 article.full-width-content {
    padding: 0;
    box-shadow: none;
    background: transparent;
}

/* Keep some padding for text content */
.site-main.col-12 article.full-width-content .entry-header,
.site-main.col-12 article.full-width-content .entry-content > p,
.site-main.col-12 article.full-width-content .entry-content > h1,
.site-main.col-12 article.full-width-content .entry-content > h2,
.site-main.col-12 article.full-width-content .entry-content > h3,
.site-main.col-12 article.full-width-content .entry-content > h4,
.site-main.col-12 article.full-width-content .entry-content > h5,
.site-main.col-12 article.full-width-content .entry-content > h6,
.site-main.col-12 article.full-width-content .entry-content > ul,
.site-main.col-12 article.full-width-content .entry-content > ol {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Allow full-width for specific elements */
.site-main.col-12 article.full-width-content .entry-content > .alignfull,
.site-main.col-12 article.full-width-content .entry-content > .wp-block-cover,
.site-main.col-12 article.full-width-content .entry-content > .wp-block-group.alignfull,
.site-main.col-12 article.full-width-content .entry-content > figure.alignfull {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
    width: 100%;
}

/* Images in full-width */
.site-main.col-12 article.full-width-content .entry-content img {
    max-width: 100%;
    height: auto;
}

/* Post thumbnail in full-width */
.site-main.col-12 article.full-width-content .post-thumbnail {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 3rem;
}

.site-main.col-12 article.full-width-content .post-thumbnail img {
    width: 100%;
    border-radius: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-main.col-12 article.full-width-content .entry-header,
    .site-main.col-12 article.full-width-content .entry-content > * {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */

/* Hide elements before animation */
[data-animate] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Fade Up Animation */
[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="fade-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In Animation */
[data-animate="fade-in"] {
    opacity: 0;
}

[data-animate="fade-in"].animated {
    opacity: 1;
}

/* Fade Left Animation */
[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="fade-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

/* Fade Right Animation */
[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

/* Scale Up Animation */
[data-animate="scale-up"] {
    transform: scale(0.9);
}

[data-animate="scale-up"].animated {
    opacity: 1;
    transform: scale(1);
}

/* Stagger container children */
[data-animate-stagger] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate-stagger] > *.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Header load animation */
.site-header {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.site-header.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    [data-animate],
    [data-animate-stagger] > *,
    .site-header {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   Phase 1 additions - append to the end of style.css
   ========================================================================== */

/* ==========================================================================
   Product card hover - lift shadow + image zoom
   Applies across: shop archive, homepage featured products,
   related products, upsells, cross-sells, and category archive.
   ========================================================================== */

.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-card .product-card-img img {
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

/* ==========================================================================
   Button micro-interactions
   Subtle scale-down on :active for all primary and outline-primary buttons.
   ========================================================================== */

.btn-primary:active,
.btn-outline-primary:active,
.wp-block-button__link:active,
.single_add_to_cart_button:active,
.woocommerce-form-login__submit:active,
.woocommerce-form-register__submit:active,
.checkout-button:active,
#place_order:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
}

/* ==========================================================================
   Focus visible styles
   Themed ring using --color-primary.
   :focus-visible means mouse clicks don't trigger the ring, only keyboard.
   ========================================================================== */

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

:focus:not(:focus-visible) {
    outline: none;
}

.btn:focus-visible,
.btn-primary:focus-visible,
.btn-outline-primary:focus-visible,
.btn-outline-secondary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    box-shadow: none;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb), 0.25);
}

.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb), 0.25);
}

.nav-link:focus-visible,
.navbar-toggler:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    box-shadow: none;
}

/* ==========================================================================
   New scroll animation types added in Phase 1 scroll-animations.js
   ========================================================================== */

[data-animate="fade-down"] {
    transform: translateY(-30px);
}

[data-animate="fade-down"].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="scale-in"] {
    transform: scale(0.95);
}

[data-animate="scale-in"].animated {
    opacity: 1;
    transform: scale(1);
}

[data-animate="slide-left"] {
    transform: translateX(60px);
}

[data-animate="slide-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="slide-right"] {
    transform: translateX(-60px);
}

[data-animate="slide-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Homepage video hero (Layout 3)
   ========================================================================== */

.bc-video-hero {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

.bc-video-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.bc-video-hero > *:not(.bc-video-hero__overlay):not(video):not(iframe) {
    position: relative;
    z-index: 2;
}

@keyframes bc-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}

/* ==========================================================================
   Smooth scroll
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Extend prefers-reduced-motion to all Phase 1 animations
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    [data-animate="fade-down"],
    [data-animate="scale-in"],
    [data-animate="slide-left"],
    [data-animate="slide-right"] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .product-card,
    .product-card:hover {
        transform: none;
        transition: none;
    }

    .product-card .product-card-img img,
    .product-card:hover .product-card-img img {
        transform: none;
        transition: none;
    }
}