/*
Theme Name: TAQWA MEAT
Theme URI: https://example.com/taqwameat
Author: TAQWA MEAT Studio
Author URI: https://example.com
Description: TAQWA MEAT — Premium Halal meat eCommerce WordPress theme. Deep green & gold brand identity. Fully compatible with Elementor and WooCommerce. Farm-fresh, vacuum-sealed, halal-certified products from Bangladesh.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meatmart
Tags: e-commerce, woocommerce, elementor, food, halal, responsive, custom-menu, custom-logo, featured-images
*/

/* =========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================= */
:root {
    /* ── TAQWA MEAT brand colors ── */
    --color-primary: #1B4332;        /* Deep forest green — main brand */
    --color-primary-dark: #0f2b20;
    --color-primary-light: #2D6A4F;
    --color-accent: #D4AF37;         /* Metallic gold — premium accent */
    --color-accent-light: #F8E27A;
    --color-accent-dark: #A87B2F;

    --color-dark: #1a1a1a;
    --color-dark-2: #2d2d2d;
    --color-dark-3: #444444;
    --color-white: #ffffff;
    --color-gray-light: #FAFAF5;     /* Warm cream — not cold gray */
    --color-gray: #e0e0e0;
    --color-gray-mid: #999999;
    --color-text: #1a1a1a;
    --color-text-light: #666666;

    /* ── Legacy red kept for sale badges only ── */
    --color-red: #C8102E;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-round: 50px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-hover: 0 12px 40px rgba(200, 16, 46, 0.2);

    --transition: 0.3s ease;
    --transition-fast: 0.15s ease;

    --header-height: 80px;
    --container-max: 1280px;
    --container-pad: 24px;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

/* 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;
}

/* =========================================
   FULL-WIDTH LAYOUT FOUNDATION
   (Overrides WordPress & Elementor boxed defaults)
   ========================================= */

/* Core WordPress page wrappers — must be full width */
#page,
.site,
.site-content,
#content,
.site-main,
.wp-site-blocks {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* WordPress admin-bar compensation */
.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar #site-header { top: 46px; }
}
@media screen and (max-width: 600px) {
    .admin-bar #site-header { top: 0; }
}

/* =========================================
   CONTAINER
   (Content wrapper — centered, max 1280px)
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

/* Wide container variant for very large screens */
@media (min-width: 1600px) {
    .container { max-width: 1440px; }
}

/* =========================================
   ELEMENTOR FULL-WIDTH OVERRIDES
   ========================================= */

/* Every Elementor section stretches edge-to-edge */
.elementor-section,
.elementor-top-section {
    width: 100% !important;
    max-width: 100% !important;
}

/* Boxed section inner container cap */
.elementor-section-boxed > .elementor-container {
    max-width: 1280px !important;
    width: 100% !important;
}

/* Full-width / stretched sections */
.elementor-section-full_width > .elementor-container,
.elementor-section-stretched > .elementor-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Elementor stretched section position fix */
.elementor-section.elementor-section-stretched {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
}

/* Elementor inner section / new Flexbox container */
.e-con,
.e-con-inner {
    max-width: 1280px !important;
}
.e-con.e-full,
.elementor-section-full_width .e-con-inner {
    max-width: 100% !important;
}

/* =========================================
   WORDPRESS ALIGNMENT CLASSES
   ========================================= */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter { display: block; margin: 0 auto 20px; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--color-text-light); }
