/*
Theme Name:  Flextribe
Description: Flextribe Child Theme — Premium Packaging UI for Elementor Pro + WooCommerce
Author:      Flextribe
Template:    hello-elementor
Version:     1.0.0
Tags:        elementor, woocommerce, ecommerce
Text Domain: flextribe
*/

/* ============================================================
   BRAND CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    --flex-orange:    #F3924D;
    --flex-orange-dk: #e08442;
    --flex-charcoal:  #414042;
    --flex-charcoal-dk: #2a2a2b;
    --flex-light:     #D1D3D4;
    --flex-white:     #FFFFFF;
    --flex-offwhite:  #F8F9FA;

    --flex-font-heading: 'Poppins', sans-serif;
    --flex-font-body:    'Roboto', sans-serif;
    --flex-font-mono:    'JetBrains Mono', monospace;

    --flex-radius-card:  2rem;
    --flex-radius-card-lg: 2.5rem;
    --flex-radius-btn:   0.75rem;
    --flex-shadow-card:  0 1px 3px 0 rgba(0,0,0,0.06), 0 1px 2px 0 rgba(0,0,0,0.04);
    --flex-shadow-lift:  0 20px 25px -5px rgba(0,0,0,0.10), 0 10px 10px -5px rgba(0,0,0,0.04);
    --flex-shadow-orange: 0 10px 15px -3px rgba(243,146,77,0.3);
}

/* ============================================================
   BASE RESETS
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--flex-font-body);
    background-color: var(--flex-offwhite);
    color: var(--flex-charcoal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--flex-font-heading);
}

/* ============================================================
   HOVER LIFT — used on product cards, feature cards
   ============================================================ */
.flex-hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.3s ease !important;
    cursor: pointer;
}
.flex-hover-lift:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.10),
                0 10px 10px -5px rgba(0,0,0,0.04) !important;
}

/* ============================================================
   DIAGONAL BACKGROUND — wholesale/CTA dark section
   ============================================================ */
.flex-diagonal-bg {
    background: linear-gradient(135deg, var(--flex-charcoal) 0%, var(--flex-charcoal-dk) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

/* ============================================================
   IMAGE MASK — hero image asymmetric border-radius
   ============================================================ */
.flex-image-mask {
    border-radius: 40px 0px 40px 0px;
}

/* ============================================================
   MARQUEE ANIMATION — ticker keyframes (defined here so custom
   CSS cannot accidentally override them)
   ============================================================ */
@keyframes fxt-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}
@keyframes fxt-marquee-fb {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* Legacy alias */
@keyframes flex-marquee {
    0%   { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* Ticker container — protected from generic CSS resets */
.fxt-ticker-wrap {
    overflow: hidden !important;
    padding: 16px 0 !important;
    display: block !important;
    position: relative;
}
.fxt-ticker-track {
    white-space: nowrap !important;
    display: flex !important;
    animation: fxt-marquee 30s linear infinite !important;
}
.fxt-ticker-item {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 12px !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.fxt-ticker-dot {
    display: inline !important;
    visibility: visible !important;
}

/* ============================================================
   SECTION LABEL — orange dot + mono uppercase text
   ============================================================ */
.flex-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--flex-orange);
}
.flex-section-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--flex-orange);
    flex-shrink: 0;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.flex-breadcrumb {
    font-family: var(--flex-font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.flex-breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.flex-breadcrumb a:hover {
    color: var(--flex-charcoal);
}
.flex-breadcrumb-sep {
    color: var(--flex-light);
}
.flex-breadcrumb-current {
    color: var(--flex-charcoal);
    font-weight: 600;
}

/* ============================================================
   BUTTONS
   ============================================================ */

/* Primary — Orange */
.flex-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--flex-orange);
    color: var(--flex-white);
    border: none;
    border-radius: var(--flex-radius-btn);
    padding: 0.875rem 1.75rem;
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: var(--flex-shadow-orange);
}
.flex-btn-primary:hover {
    background-color: var(--flex-orange-dk);
    color: var(--flex-white);
}

/* Dark — Charcoal */
.flex-btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--flex-charcoal);
    color: var(--flex-white);
    border: none;
    border-radius: var(--flex-radius-btn);
    padding: 0.875rem 1.75rem;
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 10px 15px -3px rgba(65,64,66,0.2);
}
.flex-btn-dark:hover {
    background-color: #000;
    color: var(--flex-white);
    transform: translateY(-2px);
}

/* Ghost — Outlined charcoal */
.flex-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--flex-charcoal);
    border: 2px solid var(--flex-charcoal);
    border-radius: var(--flex-radius-btn);
    padding: 0.875rem 1.75rem;
    font-family: var(--flex-font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}
.flex-btn-ghost:hover {
    background-color: var(--flex-charcoal);
    color: var(--flex-white);
}

/* ============================================================
   CARDS
   ============================================================ */
.flex-card {
    background-color: var(--flex-white);
    border: 1px solid rgba(209, 211, 212, 0.4);
    border-radius: var(--flex-radius-card);
    box-shadow: var(--flex-shadow-card);
    overflow: hidden;
}

.flex-card-lg {
    background-color: var(--flex-white);
    border: 1px solid rgba(209, 211, 212, 0.4);
    border-radius: var(--flex-radius-card-lg);
    box-shadow: var(--flex-shadow-card);
    overflow: hidden;
}

/* ============================================================
   INPUTS & FORMS
   ============================================================ */
.flex-input {
    width: 100%;
    background-color: var(--flex-offwhite);
    border: 1px solid rgba(209, 211, 212, 0.4);
    border-radius: var(--flex-radius-btn);
    padding: 0.875rem 1rem;
    font-family: var(--flex-font-body);
    font-size: 0.875rem;
    color: var(--flex-charcoal);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.flex-input::placeholder {
    color: #9ca3af;
}
.flex-input:focus {
    border-color: var(--flex-orange);
    box-shadow: 0 0 0 4px rgba(243, 146, 77, 0.1);
}

.flex-input-dark {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 0;
    font-family: var(--flex-font-body);
    font-size: 0.875rem;
    color: var(--flex-white);
    outline: none;
    transition: border-color 0.2s;
}
.flex-input-dark::placeholder {
    color: #9ca3af;
}
.flex-input-dark:focus {
    border-bottom-color: var(--flex-orange);
}

/* ============================================================
   BADGE / TAG
   ============================================================ */
.flex-badge-orange {
    display: inline-block;
    background-color: var(--flex-orange);
    color: var(--flex-white);
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}
.flex-badge-dark {
    display: inline-block;
    background-color: var(--flex-charcoal);
    color: var(--flex-white);
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}

/* ============================================================
   SKU / MONO LABEL
   ============================================================ */
.flex-sku {
    font-family: var(--flex-font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
}

/* ============================================================
   ACCORDION (product page tabs)
   ============================================================ */
.flex-accordion details {
    border-bottom: 1px solid rgba(209, 211, 212, 0.3);
}
.flex-accordion details > summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--flex-font-heading);
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--flex-charcoal);
    cursor: pointer;
    padding: 1.25rem 0;
    outline: none;
}
.flex-accordion details > summary::-webkit-details-marker {
    display: none;
}
.flex-accordion details > summary .flex-accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--flex-light);
    transition: transform 0.3s ease;
    line-height: 1;
}
.flex-accordion details[open] > summary .flex-accordion-icon {
    transform: rotate(45deg);
}
.flex-accordion details > div {
    color: #6b7280;
    font-family: var(--flex-font-body);
    font-size: 0.875rem;
    line-height: 1.7;
    padding-bottom: 1.5rem;
    padding-right: 1rem;
}

/* ============================================================
   RADIO CARD (shipping & billing selection)
   ============================================================ */
.flex-radio-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    border: 2px solid transparent;
    background-color: var(--flex-white);
    cursor: pointer;
    transition: all 0.2s ease;
}
.flex-radio-card:hover {
    border-color: rgba(65, 64, 66, 0.3);
}
.flex-radio-card.active {
    border-color: var(--flex-charcoal);
    background-color: var(--flex-offwhite);
}
.flex-radio-dot {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    border: 2px solid var(--flex-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s;
}
.flex-radio-card.active .flex-radio-dot {
    border-color: var(--flex-charcoal);
}
.flex-radio-dot-inner {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background-color: var(--flex-charcoal);
    display: none;
}
.flex-radio-card.active .flex-radio-dot-inner {
    display: block;
}

/* ============================================================
   FREE SHIPPING PROGRESS BAR
   ============================================================ */
.flex-progress-track {
    width: 100%;
    height: 6px;
    background-color: rgba(209, 211, 212, 0.4);
    border-radius: 999px;
    overflow: hidden;
}
.flex-progress-fill {
    height: 100%;
    background-color: var(--flex-orange);
    border-radius: 999px;
    transition: width 0.5s ease-out;
}

/* ============================================================
   CHECKOUT STEPPER
   ============================================================ */
.flex-stepper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.flex-step {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
}
.flex-step-done {
    background-color: var(--flex-charcoal);
    color: var(--flex-white);
}
.flex-step-active {
    background-color: var(--flex-orange);
    color: var(--flex-white);
    box-shadow: 0 4px 6px -1px rgba(243,146,77,0.3);
}
.flex-step-pending {
    border: 2px solid var(--flex-charcoal);
    color: var(--flex-charcoal);
    opacity: 0.4;
}
.flex-step-line {
    width: 2rem;
    height: 1px;
    background-color: var(--flex-light);
}

/* ============================================================
   QTY ADJUSTER (+/-)
   ============================================================ */
.flex-qty-adjuster {
    display: flex;
    align-items: center;
    border: 1px solid rgba(209, 211, 212, 0.8);
    border-radius: var(--flex-radius-btn);
    background-color: var(--flex-white);
    height: 3rem;
    overflow: hidden;
}
.flex-qty-btn {
    width: 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--flex-font-mono);
    font-size: 1.125rem;
    color: var(--flex-charcoal);
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s;
}
.flex-qty-btn:hover {
    background-color: var(--flex-offwhite);
}
.flex-qty-val {
    width: 2.5rem;
    text-align: center;
    font-family: var(--flex-font-mono);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--flex-charcoal);
}

/* ============================================================
   SIZE SELECTOR BUTTONS (product page)
   ============================================================ */
.flex-size-btn {
    padding: 0.75rem 0.5rem;
    border: 1px solid rgba(209, 211, 212, 0.5);
    border-radius: var(--flex-radius-btn);
    text-align: center;
    background-color: var(--flex-white);
    color: var(--flex-charcoal);
    cursor: pointer;
    transition: all 0.2s;
}
.flex-size-btn:hover {
    border-color: var(--flex-charcoal);
}
.flex-size-btn.active {
    background-color: var(--flex-charcoal);
    border-color: var(--flex-charcoal);
    color: var(--flex-white);
    box-shadow: 0 4px 6px -1px rgba(65,64,66,0.2);
}

/* ============================================================
   FILTER TABS (products page)
   ============================================================ */
.flex-filter-tab {
    padding: 0.625rem 1.25rem;
    border-radius: 999px;
    font-family: var(--flex-font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--flex-light);
    background-color: transparent;
    color: var(--flex-charcoal);
    cursor: pointer;
    transition: all 0.2s;
}
.flex-filter-tab:hover {
    border-color: var(--flex-charcoal);
}
.flex-filter-tab.active {
    background-color: var(--flex-charcoal);
    border-color: var(--flex-charcoal);
    color: var(--flex-white);
}

/* ============================================================
   PAYMENT TAB BUTTONS (checkout)
   ============================================================ */
.flex-pay-tab {
    padding: 1rem 0.5rem;
    border: 2px solid transparent;
    border-radius: var(--flex-radius-btn);
    background-color: var(--flex-offwhite);
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    cursor: pointer;
    transition: all 0.2s;
}
.flex-pay-tab:hover {
    color: var(--flex-charcoal);
    background-color: #f0f0f0;
}
.flex-pay-tab.active {
    border-color: var(--flex-charcoal);
    color: var(--flex-charcoal);
}

/* ============================================================
   STATS BLOCK (hero dark card)
   ============================================================ */
.flex-stats-block {
    background-color: var(--flex-charcoal);
    border-radius: 1.5rem;
    padding: 2rem;
    color: var(--flex-white);
    position: relative;
    overflow: hidden;
}
.flex-stats-block::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background-color: rgba(243, 146, 77, 0.2);
    border-radius: 50%;
    filter: blur(2rem);
    pointer-events: none;
}

/* ============================================================
   TRUST LOGOS RAIL
   ============================================================ */
.flex-trust-item {
    font-family: var(--flex-font-heading);
    font-weight: 500;
    font-size: 1.125rem;
    color: #9ca3af;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.flex-trust-item:hover {
    opacity: 1;
}

/* ============================================================
   NEWSLETTER FORM (footer)
   ============================================================ */
.flex-newsletter-form {
    display: flex;
    width: 100%;
    background-color: rgba(255,255,255,0.1);
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    transition: border-color 0.2s;
}
.flex-newsletter-form:focus-within {
    border-color: var(--flex-orange);
}
.flex-newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--flex-white);
    outline: none;
}
.flex-newsletter-input::placeholder {
    color: #6b7280;
}
.flex-newsletter-btn {
    background-color: var(--flex-orange);
    color: var(--flex-white);
    border: none;
    padding: 0 1.5rem;
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.flex-newsletter-btn:hover {
    background-color: var(--flex-orange-dk);
}

/* ============================================================
   WOOCOMMERCE GLOBAL RESETS
   ============================================================ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--flex-orange);
    color: var(--flex-white);
    font-family: var(--flex-font-heading);
    font-weight: 700;
    border-radius: var(--flex-radius-btn);
    transition: background-color 0.2s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: var(--flex-orange-dk);
    color: var(--flex-white);
}

/* ============================================================
   ELEMENTOR OVERRIDES
   ============================================================ */
.elementor-page {
    overflow-x: hidden;
}

/* ============================================================
   ELEMENTOR HEADER — Theme Builder fixes
   ============================================================ */

/* Header container: fixed, full width, white, shadow */
.elementor-location-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(209,211,212,0.2);
}

/* Remove default elementor container max-width in header */
.elementor-location-header .e-con-inner {
    max-width: 100% !important;
}

/* Header logo F icon hover */
.elementor-location-header a:hover > div:first-child {
    background-color: var(--flex-orange) !important;
}

/* Nav menu styling overrides */
.elementor-location-header .elementor-nav-menu a.elementor-item {
    font-family: var(--flex-font-heading) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--flex-charcoal) !important;
    text-decoration: none !important;
    padding: 8px 0 !important;
}
.elementor-location-header .elementor-nav-menu a.elementor-item:hover,
.elementor-location-header .elementor-nav-menu a.elementor-item.elementor-item-active {
    color: var(--flex-orange) !important;
}
.elementor-location-header .elementor-nav-menu--main .elementor-item-anchor {
    display: none;
}

/* Shop Now button in header */
.elementor-location-header .elementor-button {
    background-color: var(--flex-orange) !important;
    color: #fff !important;
    border-radius: 12px !important;
    font-family: var(--flex-font-heading) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 24px !important;
    border: none !important;
    box-shadow: 0 4px 6px -1px rgba(243,146,77,0.3) !important;
    transition: background-color 0.2s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.elementor-location-header .elementor-button:hover {
    background-color: var(--flex-orange-dk) !important;
    color: #fff !important;
}

/* WooCommerce cart in header */
.elementor-location-header .elementor-menu-cart__toggle .elementor-button {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    color: var(--flex-charcoal) !important;
    padding: 8px !important;
    transition: color 0.2s !important;
}
.elementor-location-header .elementor-menu-cart__toggle .elementor-button:hover {
    color: var(--flex-orange) !important;
    background: none !important;
}
.elementor-location-header .elementor-menu-cart__toggle_button .elementor-button-icon {
    font-size: 22px !important;
}

/* Page top padding to account for fixed header */
body:not(.elementor-editor-active) {
    padding-top: 96px;
}

/* ============================================================
   ELEMENTOR FOOTER — Theme Builder fixes
   ============================================================ */
.elementor-location-footer {
    margin-top: auto;
}

/* Footer inner container: use CSS grid for 4 cols */
.elementor-location-footer .e-con-inner {
    max-width: 100% !important;
}

/* Footer links hover */
.elementor-location-footer a:hover {
    color: var(--flex-orange) !important;
}

/* Newsletter input focus */
.elementor-location-footer input[type="email"]:focus {
    outline: none;
    border-color: var(--flex-orange) !important;
}

/* Footer grid responsive */
@media (max-width: 768px) {
    .elementor-location-footer .e-con[data-id="ftr-grid"] {
        flex-direction: column !important;
    }
    .elementor-location-footer .e-con[data-id="ftr-brand-col"],
    .elementor-location-footer .e-con[data-id="ftr-shop-col"],
    .elementor-location-footer .e-con[data-id="ftr-co-col"],
    .elementor-location-footer .e-con[data-id="ftr-nl-col"] {
        width: 100% !important;
    }
}

/* ============================================================
   HOMEPAGE — WHY US STICKY LEFT COLUMN
   ============================================================ */
.fxt-sticky {
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

/* ============================================================
   HOMEPAGE — WHOLESALE CTA GRADIENT BACKGROUND
   ============================================================ */
.fxt-ws-bg {
    background: linear-gradient(135deg, #414042 0%, #2a2a2b 100%) !important;
}

/* ============================================================
   HOMEPAGE — PRODUCT CARDS equal height image area
   ============================================================ */
/* Ensure Why Us cards stretch to fill column height */
.elementor-element[data-id="why-cards"] > .e-con {
    flex: 1 1 auto;
}

/* Ensure product card images cover properly */
.elementor-element[data-id="p1-img"],
.elementor-element[data-id="p2-img"],
.elementor-element[data-id="hero-big"],
.elementor-element[data-id="hero-small"],
.elementor-element[data-id="story-img"] {
    background-size: cover !important;
    background-position: center center !important;
}

/* ============================================================
   HOMEPAGE — SECTION MAX-WIDTH CONSTRAINT
   ============================================================ */
.elementor-element[data-id="hero-grid"],
.elementor-element[data-id="ph"],
.elementor-element[data-id="pg"],
.elementor-element[data-id="story-grid"],
.elementor-element[data-id="why-grid"],
.elementor-element[data-id="trust-i"],
.elementor-element[data-id="ws-outer"] > .e-con {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* ============================================================
   HOMEPAGE — HERO HEADING em italic
   ============================================================ */
.elementor-element[data-id="hero-h1"] em,
.elementor-element[data-id="ph-h2"] em,
.elementor-element[data-id="story-h2"] em,
.elementor-element[data-id="why-h2"] em,
.elementor-element[data-id="ws-h2"] em {
    font-style: italic;
    color: #F3924D;
}

/* ============================================================
   ELEMENTOR — Suppress default widget separator lines inside cards
   (the blue/gray lines visible in admin view are Elementor edit handles
    and vanish for logged-out visitors — but this removes any real CSS borders)
   ============================================================ */
.elementor-element[data-id^="wc"] .elementor-widget:not(:last-child) {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}
.elementor-element[data-id^="wc"] .elementor-widget-container {
    padding: 0 !important;
}
/* Remove widget separator lines inside product cards too */
.elementor-element[data-id="p1"] .elementor-widget:not(:last-child),
.elementor-element[data-id="p2"] .elementor-widget:not(:last-child) {
    border-bottom: none !important;
}

/* ============================================================
   HOMEPAGE — CARD BOX SHADOWS (ensure on product & feature cards)
   ============================================================ */
.elementor-element[data-id="p1"],
.elementor-element[data-id="p2"] {
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.06), 0 1px 2px 0 rgba(0,0,0,0.04);
    transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.3s ease;
}
.elementor-element[data-id="p1"]:hover,
.elementor-element[data-id="p2"]:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.10), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* Why Us feature cards */
.elementor-element[data-id^="wc"] {
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.06);
    transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.3s ease;
}
.elementor-element[data-id^="wc"]:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.10);
}

/* ============================================================
   RESPONSIVE — stack hero columns on tablet/mobile
   ============================================================ */
@media (max-width: 1024px) {
    .elementor-element[data-id="hero-grid"],
    .elementor-element[data-id="story-grid"],
    .elementor-element[data-id="why-grid"] {
        flex-wrap: wrap !important;
    }
    .elementor-element[data-id="hero-left"],
    .elementor-element[data-id="hero-right"],
    .elementor-element[data-id="story-img"],
    .elementor-element[data-id="story-text"],
    .elementor-element[data-id="why-left"],
    .elementor-element[data-id="why-cards"] {
        width: 100% !important;
    }
    .fxt-sticky {
        position: relative;
        top: auto;
    }
    .elementor-element[data-id="p1"],
    .elementor-element[data-id="p2"] {
        width: 100% !important;
    }
}
