/*
Theme Name: VebsesBlank
Theme URI: https://vebses.com
Author: Vebses
Author URI: https://vebses.com
Description: An ultra-minimal blank WordPress theme designed for Elementor. Zero opinionated styles, full WooCommerce support, accessibility-ready, and child-theme compatible. The nuclear option for custom Elementor widget development.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vebses-blank
Tags: custom-menu, custom-logo, elementor, featured-images, full-width-template, theme-options, translation-ready, accessibility-ready

VebsesBlank — A blank canvas. Your widgets, your rules.
*/

/* ============================================
   TARGETED RESET — normalize without destroying
   plugin/WooCommerce default spacing
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   FALLBACK TYPOGRAPHY
   Only applies when Elementor is NOT rendering
   the page — scoped to .vebses-blank-fallback
   ============================================ */

.vebses-blank-fallback h1,
.vebses-blank-fallback h2,
.vebses-blank-fallback h3,
.vebses-blank-fallback h4,
.vebses-blank-fallback h5,
.vebses-blank-fallback h6 {
    line-height: 1.3;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.vebses-blank-fallback p {
    margin-bottom: 1em;
}

.vebses-blank-fallback a {
    color: inherit;
    text-decoration: underline;
}

.vebses-blank-fallback .site-main {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 8px 16px;
    z-index: 100000;
    text-decoration: none;
    font-size: 14px;
    border-radius: 0 0 4px 4px;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Focus outlines — visible keyboard focus */
:focus-visible {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

/* 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 !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ============================================
   WOOCOMMERCE — minimal structural styles
   Only layout, no colors or opinionated design
   ============================================ */

.woocommerce .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    list-style: none;
}

.woocommerce .product {
    list-style: none;
}

.woocommerce img {
    max-width: 100%;
    height: auto;
}

.woocommerce table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce table th,
.woocommerce table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info {
    padding: 12px 16px;
    margin-bottom: 16px;
}
