/*!
Theme Name:        AmSouviner
Theme URI:         https://amsouviner.com
Author:            AmSouviner Team
Author URI:        https://amsouviner.com
Description:       A production-ready WooCommerce theme built with Bootstrap 5.3. Mobile-first, accessible, and performance-optimized for souvenir and gift shops.
Version:           1.0.0
Requires at least: 6.4
Tested up to:      6.7
Requires PHP:      8.2
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       amsouviner
Domain Path:       /languages
Tags:              e-commerce, woocommerce, bootstrap, responsive, accessibility-ready, translation-ready, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, threaded-comments, custom-background, custom-header, editor-style

WooCommerce:       true
WC tested up to:   9.4
*/

/* ==========================================================================
   Theme Base — Bootstrap handles all utility/layout CSS.
   This file intentionally holds only theme-specific overrides and
   the WordPress theme header above.
   ========================================================================== */

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 99999;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    font-size: 0.875rem;
    text-decoration: none;
    transition: top 0.15s ease;
}

.skip-link:focus {
    top: 0;
}

/* Screen-reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    clip: auto !important;
    clip-path: none;
    display: block;
    height: auto;
    left: 5px;
    top: 5px;
    width: auto;
    z-index: 100000;
    background: #fff;
    color: #000;
    padding: 8px 16px;
    font-size: 0.875rem;
    text-decoration: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.6);
}

/* Alignments — WordPress core */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.alignwide {
    margin-left: -5vw;
    margin-right: -5vw;
    max-width: calc(100% + 10vw);
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

/* WordPress generated classes */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.8125rem;
    color: #6c757d;
    text-align: center;
    padding-top: 0.5rem;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gallery-item {
    flex: 1 0 150px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sticky post */
.sticky {
    border-left: 4px solid var(--bs-primary);
    padding-left: 1rem;
}

/* Infinite scroll */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

.infinity-end.neverending .site-footer {
    display: block;
}
