/*
Theme Name: Vitro Scientific International - Industrial & Cosmetic PET Packaging
Theme URI: https://vitroscientific.com
Author: Vitro Scientific International Pvt Ltd
Author URI: https://vitroscientific.com
Description: High-performance enterprise WordPress theme for PET container manufacturers, cosmetics, pharmaceutical, and beverage packaging. Fully integrated with Elementor, Custom Post Types, dynamic RFQ cart, theme options, and 100% faithful responsive UI.
Version: 1.7.17
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: petcontainers
Tags: e-commerce, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

/* WordPress Core Alignment & Layout Rules */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
}
.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}
.alignwide {
    margin-left: -5vw;
    margin-right: -5vw;
    max-width: 100vw;
    width: auto;
}
.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

/* Screen reader text for accessibility */
.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: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/*
 * Final WordPress overrides — keep theme header matching the static HTML UI
 * even when Elementor/global styles load late.
 */
body .top-bar {
    background-color: #000000 !important;
    color: #94A3B8 !important;
}

body .site-header {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 2px solid #E2E8F0 !important;
    position: sticky !important;
    z-index: 1020 !important;
}

body .site-header .navbar-brand-logo .brand-title {
    color: #0A0D14 !important;
}

body .site-header .navbar-brand-logo .brand-red {
    color: #DC2626 !important;
}

body .site-header .btn-brand-primary,
body .site-header .btn-nav-quote {
    background-color: #DC2626 !important;
    border-color: #DC2626 !important;
    color: #ffffff !important;
}

body .site-header .btn-brand-primary:hover,
body .site-header .btn-nav-quote:hover {
    background-color: #B91C1C !important;
    border-color: #B91C1C !important;
    color: #ffffff !important;
}

/*
 * Elementor wrapper reset — VSI custom widgets must look identical to html/*.html.
 * Page widgets render full HTML main content; do not let Elementor add gutters/gaps.
 */
body .elementor-section:has([class*="elementor-widget-petcontainers_"]),
body .elementor-top-section:has([class*="elementor-widget-petcontainers_"]),
body .e-con:has([class*="elementor-widget-petcontainers_"]) {
    overflow: visible !important;
    background-color: transparent !important;
    background-image: none !important;
}

body .elementor-widget[class*="elementor-widget-petcontainers_"],
body .elementor-widget[class*="elementor-widget-petcontainers_"] > .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Full-page HTML canvas — no Elementor chrome around html/*.html sections */
body .vsi-elementor-page-canvas {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

/* Dedicated stats section widget only (not full home page HTML) */
body .elementor-section:has(.elementor-widget-petcontainers_stats_counter),
body .elementor-top-section:has(.elementor-widget-petcontainers_stats_counter),
body .e-con:has(.elementor-widget-petcontainers_stats_counter) {
    position: relative !important;
    z-index: 20 !important;
    margin-top: -3rem !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

body .elementor-widget-petcontainers_stats_counter .stats-strip {
    margin-top: 0;
}

/* Full HTML page canvases keep native .stats-strip overlap from assets/css/style.css */
body .elementor-widget-petcontainers_home_page .stats-strip,
body .vsi-elementor-page-canvas .stats-strip {
    margin-top: -3rem;
}

@media (max-width: 991.98px) {
    body .elementor-section:has(.elementor-widget-petcontainers_stats_counter),
    body .elementor-top-section:has(.elementor-widget-petcontainers_stats_counter),
    body .e-con:has(.elementor-widget-petcontainers_stats_counter) {
        margin-top: 1rem !important;
    }

    body .elementor-widget-petcontainers_home_page .stats-strip,
    body .vsi-elementor-page-canvas .stats-strip {
        margin-top: 1rem;
    }
}
