/*
Theme Name: Reative
Theme URI: https://reative.com
Author: Reative Labs
Author URI: https://reative.com
Description: A premium WooCommerce theme inspired by Creative Tim.
Version: 1.1.0
Text Domain: reative
Tags: e-commerce, woocommerce, modern, creative
*/

:root {
    /* Colors - Creative Tim Argon/Blue Inspired */
    /* Colors - ThemeForest/Envato Green Inspired */
    --primary-color: #79B34C;
    /* Green Main */
    --primary-gradient: linear-gradient(310deg, #79B34C, #95cc4b);
    --primary-gradient-hover: linear-gradient(310deg, #8bc45b, #a6d775);

    --secondary-color: #8392ab;
    --dark-color: #344767;
    /* Dark Blue for Headings */
    --info-color: #17c1e8;
    --success-color: #82d616;
    --warning-color: #fbcf33;
    --danger-color: #ea0606;

    --text-main: #67748e;
    --text-heading: #344767;
    --text-light: #8392ab;

    --bg-body: #f8f9fa;
    --bg-card: #ffffff;
    --border-color: #e9ecef;

    /* Typography */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-size-base: 16px;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    --container-width: 1320px;

    /* Shadows (Soft UI) */
    --shadow-xs: 0 2px 9px -5px rgba(0, 0, 0, 0.15);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 7px -1px rgba(0, 0, 0, 0.11), 0 2px 4px -1px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 20px 27px 0 rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 23px 45px -11px rgba(20, 20, 20, 0.12);
    --shadow-hover: 0 20px 27px 0 rgba(0, 0, 0, 0.1);

    /* Colored Shadows */
    --shadow-primary: 0 4px 20px 0 rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(121, 179, 76, 0.4);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --glass-blur: blur(12px);

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

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

body {
    font-family: var(--font-family-base);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-heading);
    font-weight: var(--font-weight-bold);
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.025em;
}

h1 {
    font-size: 3rem;
    font-weight: var(--font-weight-extrabold);
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
    text-transform: uppercase;
}

a {
    color: var(--text-heading);
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

/* Utility Classes */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-bold);
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-image: var(--primary-gradient);
    background-size: 150% auto;
    color: white;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-primary);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
    background-image: none;
}

.btn-outline:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-white {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.btn-outline-white {
    background: transparent;
    border: 1px solid white;
    color: white;
    box-shadow: none;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
    box-shadow: var(--shadow-md);
    border: none;
}

.btn-danger:hover {
    background: #c82333;
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-md);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



/* Header Styles */
/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: all 0.3s ease;
    background-color: #262626;
    color: #ffffff;
}

.page-header {
    background-color: #ffffff !important;
}

.site-main {
    background-color: #ffffff !important;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding__link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: var(--font-weight-bold);
    font-size: 1.75rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.site-branding__link:hover {
    color: #ffffff;
    opacity: 1;
}

.site-branding__logo {
    width: 30px;
    height: 30px;
    background: var(--primary-gradient);
    border-radius: 8px;
    display: inline-block;
}

.menu-toggle {
    display: none;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-md);
}

.main-navigation a {
    color: #ffffff;
    font-weight: var(--font-weight-medium);
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.main-navigation a:hover {
    background: transparent;
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-cart-btn {
    padding: 8px 16px;
    font-size: 0.75rem;
}

.header-cart-icon {
    margin-right: 5px;
}

.header-cta-btn {
    padding: 8px 16px;
}

/* Footer Styles */
.site-footer {
    background: #262626;
    padding: 1.5rem 0;
    margin-top: 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-brand__logo {
    width: 24px;
    height: 24px;
    background: var(--primary-gradient);
    border-radius: 6px;
    display: inline-block;
}

.footer-brand__desc {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social__link {
    width: 36px;
    height: 36px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.footer-social__link:hover {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-primary);
}

.footer-widget__title {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: var(--font-weight-bold);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu__item {
    margin-bottom: 0.75rem;
}

.footer-menu__link {
    color: #ffffff !important;
    font-weight: var(--font-weight-normal);
    font-size: 0.875rem;
}

.footer-menu__link:hover {
    color: var(--primary-color);
}

.footer-newsletter__text {
    font-size: 0.875rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-newsletter__form {
    display: flex;
    gap: 0.5rem;
}

.footer-newsletter__input {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #d2d6da;
    flex: 1;
}

.footer-newsletter__input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(203, 12, 159, 0.2);
}

.site-info-text {
    color: #ffffff;
    font-weight: var(--font-weight-bold);
    margin: 0;
}

.footer-newsletter__btn {
    padding: 8px 16px;
}

.site-info {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d2d6da;
    border-radius: var(--radius-md);
    font-family: var(--font-family-base);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background-color: #fff;
    color: #495057;
}

input:focus,
textarea:focus {
    border-color: #35d1f5;
    box-shadow: 0 0 0 2px #e8f8fc;
    outline: none;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* WooCommerce Styles */
.shop-header {
    margin-bottom: 3rem;
    text-align: center;
}

.shop-header__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft-sm);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    clear: both;
}

.product-card {
    list-style: none;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft-sm);
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft-xl);
}

.product-card__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card__image-wrapper {
    position: relative;
    margin: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 1;
}

.product-card__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__image-wrapper img {
    transform: scale(1.05);
}

.product-card__content {
    padding: 0 1.5rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card__title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
    font-weight: 600;
}

.product-card__meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    color: var(--text-heading);
    font-weight: 700;
}

.add_to_cart_button {
    padding: 8px 16px;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--primary-gradient);
    color: white;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.add_to_cart_button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

.product-summary-wrapper {
    position: sticky;
    top: 100px;
    align-self: start;
}

.product-summary-card {
    padding: 2rem;
}

.product_title {
    font-size: 2rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}



/* Product Actions */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.single_add_to_cart_button {
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
}

.single_add_to_cart_button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-primary);
}

.view-demo-btn {
    width: 100%;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Meta Sidebar */
.product-meta-sidebar {
    margin-top: 1.5rem;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.meta-label {
    color: var(--text-light);
}

.meta-value {
    font-weight: 600;
    color: var(--text-heading);
}

.meta-value a {
    color: var(--primary-color);
}

/* WooCommerce Tabs */
.woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.woocommerce-tabs ul.tabs li {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 1rem 0;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.woocommerce-Tabs-panel {
    margin-bottom: 4rem;
}

/* Responsive WooCommerce */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .shop-controls {
        flex-direction: column;
        gap: 1rem;
    }
}


/* Premium Polish Styles */

/* Hero Section */
.hero-section {
    position: relative;
    padding: 5rem 0 6rem;
    overflow: hidden;
    background: #ffffff;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: -4rem;
}

.hero-bg-shape {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(121, 179, 76, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .ui-composition {
        transform: scale(0.8);
        transform-origin: center top;
        margin-top: 0;
    }
}

/* Product Page Layout */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-summary-wrapper {
    position: sticky;
    top: 100px;
    align-self: start;
}

.product-summary-card {
    padding: 2.5rem;
}

.product-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 1.5rem 0;
}

/* License Selector Styling */
.license-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.license-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.license-option:hover {
    border-color: var(--primary-color);
    background: rgba(33, 82, 255, 0.02);
}

.license-option.active {
    border-color: var(--primary-color);
    background: rgba(33, 82, 255, 0.05);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.license-option input {
    margin-right: 1rem;
}

.license-name {
    font-weight: 600;
    color: var(--text-heading);
    flex-grow: 1;
}

.license-price {
    font-weight: 700;
    color: var(--text-heading);
}

/* Product Meta Sidebar */
.product-meta-sidebar {
    margin-top: 1.5rem;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.meta-label {
    color: var(--text-light);
}

.meta-value {
    font-weight: 600;
    color: var(--text-heading);
}

.meta-value a {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-summary-wrapper {
        position: static;
    }
}

/* Product Gallery - Vertical Stack (Creative Tim Style) */
.woocommerce-product-gallery {
    opacity: 1 !important;
    /* Prevent initial hiding by JS */
}

.woocommerce-product-gallery__wrapper {
    display: flex !important;
    flex-direction: column;
    gap: 2rem;
    margin: 0 !important;
    width: 100% !important;
    transform: none !important;
    /* Disable slider transform */
}

.woocommerce-product-gallery__image {
    width: 100% !important;
    display: block !important;
    margin-bottom: 0 !important;
}

.woocommerce-product-gallery__image a {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.woocommerce-product-gallery__image a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hide Slider Controls & Thumbnails */
.flex-control-nav,
.flex-direction-nav {
    display: none !important;
}

/* Custom Magnify Icon Style - HIDDEN */
.woocommerce-product-gallery__trigger {
    display: none !important;
}

.woocommerce-product-gallery__trigger::before {
    font-size: 1.25rem !important;
    color: var(--text-heading) !important;
}

.woocommerce-product-gallery__trigger:hover {
    background: rgba(255, 255, 255, 0.5) !important;
}

/* Adjust Product Image Spacing */
.product-preview-card {
    margin-top: -2rem;
    /* Bring image up further */
}

.hero-content {
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -0.05em;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-actions .btn {
    background: white;
    color: #cb0c9f;
    box-shadow: 0 4px 7px -1px rgba(0, 0, 0, 0.11);
}

.hero-actions .btn-outline {
    border-color: white;
    color: white;
}

.hero-actions .btn-outline:hover {
    background: white;
    color: #cb0c9f;
}

/* Floating UI Kit Composition */
/* High-Fidelity Dashboard Styles */
.ui-composition {
    position: relative;
    width: 100%;
    height: 550px;
    perspective: 1000px;
    margin-top: -2rem;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

.ui-dashboard {
    width: 85%;
    height: 420px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotateY(-3deg) rotateX(3deg);
    border-radius: 16px;
    display: flex;
    overflow: hidden;
    position: absolute;
    transition: transform 0.5s ease;
}

/* ... (unchanged styles) ... */

/* Duplicate floating styles removed */

.ui-dashboard:hover {
    transform: translate(-50%, -50%) rotateY(0) rotateX(0);
}

/* Sidebar */
.ui-sidebar {
    width: 60px;
    background: #f8f9fa;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
}

.ui-logo-dot {
    width: 24px;
    height: 24px;
    background: var(--primary-gradient);
    border-radius: 6px;
    margin-bottom: 2rem;
}

.ui-nav-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    align-items: center;
}

.ui-nav-item {
    color: #a0aec0;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.ui-nav-item.active,
.ui-nav-item:hover {
    color: var(--primary-color);
    background: rgba(121, 179, 76, 0.1);
}

.ui-nav-item.bottom {
    margin-top: auto;
}

/* Main Content */
.ui-main-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Top Bar */
.ui-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.ui-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #a0aec0;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    width: 200px;
}

.ui-search-line {
    height: 4px;
    width: 40px;
    background: #e2e8f0;
    border-radius: 2px;
}

.ui-user-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ui-notif-dot {
    width: 8px;
    height: 8px;
    background: #ff5f57;
    border-radius: 50%;
}

.ui-avatar-mini {
    width: 32px;
    height: 32px;
    background: #e2e8f0;
    border-radius: 50%;
}

/* Metrics Row */
.ui-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ui-metric-card {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.ui-metric-label {
    font-size: 0.75rem;
    color: #718096;
    display: block;
    margin-bottom: 0.25rem;
}

.ui-metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.ui-metric-trend {
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
    margin-top: 0.25rem;
}

.ui-metric-trend.positive {
    color: #48bb78;
}

.ui-metric-trend.negative {
    color: #f56565;
}

/* Chart Area */
.ui-chart-container {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.ui-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ui-chart-title {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
}

.ui-chart-actions {
    display: flex;
    gap: 0.5rem;
}

.ui-pill {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    color: #718096;
    background: #f7fafc;
    cursor: pointer;
}

.ui-pill.active {
    background: var(--primary-color);
    color: white;
}

.ui-chart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Floating Elements Refined */
.floating-1 {
    position: absolute;
    top: auto;
    bottom: 15%;
    left: -5%;
    right: auto;
    width: 200px;
    padding: 1.25rem;
    border-radius: 16px;
    z-index: 15;
    animation: float 6s ease-in-out infinite;
    transform: rotate(-5deg);
}

.ui-profile-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ui-avatar-lg img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.ui-profile-text {
    display: flex;
    flex-direction: column;
}

.ui-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #2d3748;
}

.ui-role {
    font-size: 0.7rem;
    color: #718096;
}

.ui-profile-stats {
    display: flex;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 10px;
}

.ui-p-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ui-p-stat .val {
    font-weight: 700;
    font-size: 0.9rem;
    color: #2d3748;
}

.ui-p-stat .lbl {
    font-size: 0.65rem;
    color: #a0aec0;
}

.floating-2 {
    position: absolute;
    bottom: 10%;
    right: -5% !important;
    left: auto !important;
    width: 180px;
    padding: 1.5rem;
    border-radius: 16px;
    z-index: 10;
    animation: float 7s ease-in-out infinite 1s;
    transform: rotate(3deg);
}

.ui-login-header {
    text-align: center;
    margin-bottom: 1rem;
}

.ui-icon-circle {
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 0.5rem;
    font-size: 0.8rem;
}

.ui-login-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #2d3748;
}

.ui-input-group {
    margin-bottom: 0.75rem;
}

.ui-input-fake {
    background: #f1f5f9;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    color: #64748b;
}

.ui-btn-fake {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Glass Card Mockup */
.glass-card-mockup {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transform: rotateY(-10deg) rotateX(5deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.5s ease;
}

.glass-card-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red {
    background: #ff5f57;
}

.mockup-dot.yellow {
    background: #febc2e;
}

.mockup-dot.green {
    background: #28c840;
}

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-chart {
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    padding: 1rem;
    height: 100px;
    display: flex;
    align-items: flex-end;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.mockup-row {
    display: flex;
    gap: 1rem;
}

/* The original .ui-chart-svg and .ui-stats-row were moved to the new .ui-dashboard section */

/* Floating Elements */
/* The original floating-1, floating-2, floating-3 were replaced by the new ones above */

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft-lg);
    font-weight: 600;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--bg-body);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: -8rem;
    position: relative;
    z-index: 20;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
}

.feature-card .icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-soft-md);
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.feature-card p {
    color: var(--text-light);
}

/* Single Product Styles */
.product-summary-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft-md);
    position: sticky;
    top: 2rem;
}

.product-gallery-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft-sm);
    margin-bottom: 1rem;
    width: 100%;
    height: auto;
}

.product_title {
    font-size: 2rem;
    color: var(--text-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

.price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.single_add_to_cart_button {
    background: var(--primary-gradient) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* WooCommerce Alerts */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    background: var(--bg-card);
    border-top: none;
    border-left: 4px solid var(--info);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft-xs);
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.woocommerce-info::before,
.woocommerce-message::before {
    color: var(--info);
    margin-right: 1rem;
}

.woocommerce-message {
    border-left-color: var(--success);
}

.woocommerce-error {
    border-left-color: var(--danger);
}

.woocommerce-info .button {
    float: right;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
        /* Hide mockup on mobile for simplicity */
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .my-account-wrapper,
    .customer-login-wrapper {
        grid-template-columns: 1fr !important;
    }
}

/* Stats Section */
.stats-section {
    position: relative;
    z-index: 30;
    margin-top: -3rem;
    /* Overlap hero further */
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-primary);
    flex-shrink: 0;
}

.stat-content h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-heading);
}

.stat-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Trusted By Section */
.trusted-by-section {
    padding: 2rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.trusted-label {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.5;
}

.trusted-logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-heading);
    letter-spacing: -0.5px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background: var(--bg-body);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-content {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-heading);
}

.author-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Responsive Adjustments */
@media (max-width: 992px) {

    .stats-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .trusted-logos {
        gap: 2rem;
    }
}

/* Soft UI Product Card Styles - Refined */
.card {
    box-shadow: none;
    background-color: transparent;
}

.card-header {
    padding: 0;
    margin: 0 !important;
    position: relative;
    z-index: 1;
    background: transparent;
    border: none;
}

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

.border-radius-lg {
    border-radius: 0.75rem !important;
}

.shadow-sm {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.card-body {
    padding: 1.5rem 0;
    flex: 1 1 auto;
}

/* Typography Refinements */
.font-weight-bold {
    font-weight: 700 !important;
}

.text-dark {
    color: #344767 !important;
}

.text-secondary {
    color: #7b809a !important;
}

.text-sm {
    font-size: 0.875rem !important;
    line-height: 1.5;
}

.h4,
h4 {
    font-size: 1.25rem;
    line-height: 1.375;
}

.h5,
h5 {
    font-size: 1.125rem;
    line-height: 1.375;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

/* Badge Overlay */
.card-badges-overlay {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 2;
    width: max-content;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5em 1em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    color: #344767;
    background-color: #fff;
    border-radius: 50rem;
    /* Pill shape */
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

/* Meta Overlay (Stars/Rating) */
.card-meta-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Utilities */
.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-start {
    align-items: flex-start !important;
}

.position-relative {
    position: relative !important;
}

.z-index-1 {
    z-index: 1 !important;
}

.pt-3 {
    padding-top: 1rem !important;
}

/* Hover Effect */
.card-header a {
    transition: transform 0.3s ease;
    display: block;
}

.card:hover .card-header a {
    transform: translateY(-5px);
}

.card:hover .img-fluid {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Product Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Enforce Image Aspect Ratio */
.product-card .img-fluid {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* Soft UI Utilities & Components */
.bg-gradient-primary {
    background-image: linear-gradient(310deg, #7928CA, #FF0080);
}

.bg-gradient-info {
    background-image: linear-gradient(310deg, #2152ff, #21d4fd);
}

.bg-gradient-success {
    background-image: linear-gradient(310deg, #17ad37, #98ec2d);
}

.shadow-soft {
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, 0.05) !important;
}

.border-radius-md {
    border-radius: 0.5rem;
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.author-avatar {
    font-size: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hero-actions .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    border-radius: 0.5rem;
}

.btn-outline-dark {
    color: #344767;
    border: 1px solid #344767;
    background: transparent;
}

.btn-outline-dark:hover {
    background: #344767;
    color: #fff;
}

.text-sm {
    font-size: 0.875rem !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Global Card Styles for Shop & Homepage */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0 solid rgba(0, 0, 0, 0.125);
    border-radius: 1rem;
}

.blur-shadow-image {
    position: relative;
    display: block;
    border-radius: 1rem;
    overflow: hidden;
    transform: translateZ(0);
}

.blur-shadow-image img {
    transition: transform 0.3s ease;
}

.blur-shadow-image:hover img {
    transform: scale(1.05);
}

.card-badges-overlay {
    position: absolute;
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.card-badges-overlay.bottom-center {
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.card-meta-overlay {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card-meta-overlay.top-right {
    top: 1rem;
    right: 1rem;
}

/* Ensure Badge Colors are Green/Neutral, not Pink */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.bg-gradient-primary {
    background-image: linear-gradient(310deg, #79B34C, #95cc4b);
}

.floating-badge {
    background: white !important;
    color: #333 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- Aggressive Overrides for Persistent Bugs --- */

/* 1. Home Hero Pink Fix */
.hero-section .btn-primary,
.hero-section .bg-gradient-primary {
    background-image: linear-gradient(310deg, #79B34C, #95cc4b) !important;
    background-color: #79B34C !important;
    border-color: #79B34C !important;
    color: white !important;
}

.hero-section .text-gradient.text-primary {
    background-image: linear-gradient(310deg, #79B34C, #95cc4b) !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
}

/* 2. Cart/Checkout Hero Fix */
.woocommerce-page .entry-header,
.woocommerce-page .page-header {
    background-color: #ffffff !important;
    background-image: none !important;
    padding-top: 8rem !important;
    padding-bottom: 2rem !important;
    margin-bottom: 0 !important;
}

.woocommerce-page .entry-title,
.woocommerce-page .page-title {
    color: #344767 !important;
}

/* =========================================
   Simple Footer Styles
   ========================================= */
.simple-footer {
    display: flex;
    justify-content: center;
    /* Center content */
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brand-column {
    align-items: flex-start;
}

.links-column {
    align-items: center;
    /* Center items */
}

.footer-brand__title {
    font-size: 1.25rem;
    /* Match header size */
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-transform: uppercase;
    /* Match header caps */
    font-weight: 700;
    /* Match header bold */
    letter-spacing: 1px;
    /* Match header spacing */
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social__link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social__link:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.horizontal-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.horizontal-menu .footer-menu__link {
    color: #8392ab;
    font-weight: 500;
    transition: color 0.2s ease;
}

.horizontal-menu .footer-menu__link:hover {
    color: var(--primary-color);
}

.site-info-text {
    color: #8392ab;
    font-size: 0.875rem;
    margin: 0;
}

/* Mobile Footer Adjustments */
@media (max-width: 768px) {
    .simple-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .brand-column,
    .links-column {
        align-items: center;
    }

    .horizontal-menu {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* =========================================
   Cart & Checkout Polish
   ========================================= */
.woocommerce-cart .entry-header,
.woocommerce-cart .page-header,
.woocommerce-checkout .entry-header,
.woocommerce-checkout .page-header {
    display: none !important;
}

.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
    padding-top: 2rem !important;
    /* Reduced from default */
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    margin-top: 0 !important;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    margin-top: 0 !important;
}

/* =========================================
   Product Page Polish
   ========================================= */
.product-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.single_add_to_cart_button {
    width: auto !important;
    /* Allow it to shrink/grow as needed */
    flex: 1;
}

.view-demo-btn {
    width: auto !important;
    flex: 1;
    text-align: center;
}

/* Ensure the cart form (which wraps the button) plays nicely */
form.cart {
    display: flex;
    gap: 1rem;
    width: 100%;
}

/* =========================================
   Product Page Layout (Parity)
   ========================================= */
.product-page-container {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.product-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .product-grid-layout {
        grid-template-columns: 2fr 1fr;
        /* 66% / 33% split */
        gap: 3rem;
    }
}

/* Left Column */
.product-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-gallery-card,
.product-description-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border: none;
}

/* Right Sidebar Column */
.product-sidebar-content {
    position: relative;
}

.sticky-wrapper {
    position: sticky;
    top: 100px;
    /* Adjust based on header height */
    z-index: 10;
}

.product-purchase-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border: none;
}

.product_title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #344767;
    margin-bottom: 0.5rem;
}

.woocommerce-product-rating {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #344767;
    display: block;
    margin-bottom: 1.5rem;
}

/* License Selector */
.license-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.license-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.license-option:hover {
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.01);
}

.license-option.active {
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.license-option input[type="radio"] {
    margin-right: 1rem;
    accent-color: var(--primary-color);
}

.license-name {
    font-weight: 600;
    color: #344767;
    flex: 1;
}

.license-price {
    font-weight: 700;
    color: #344767;
}

.product-divider {
    margin: 2rem 0;
    border-top: 1px solid #e9ecef;
}

.product-meta-sidebar {
    font-size: 0.875rem;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.meta-label {
    color: #8392ab;
}

.meta-value {
    font-weight: 600;
    color: #344767;
}

/* =========================================
   Mobile Menu & Header Styles
   ========================================= */

@media (max-width: 768px) {

    /* Single Row Layout */
    .site-header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    /* Header Actions */
    .header-actions {
        margin-left: auto;
        margin-right: 1rem;
        gap: 0.5rem;
    }

    .header-cta-btn {
        display: inline-flex;
        /* Show on mobile */
        padding: 8px 16px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .header-cart-btn {
        padding: 8px;
        font-size: 0;
        /* Hide text */
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .header-cart-btn .header-cart-icon {
        font-size: 1.5rem;
        margin: 0;
        color: #ffffff;
    }

    .header-cart-btn:hover {
        background: transparent;
        transform: none;
        box-shadow: none;
    }

    .header-cart-btn:hover .header-cart-icon {
        color: var(--primary-color);
    }

    /* Hamburger Menu Toggle - HIDDEN per user request */
    .menu-toggle {
        display: none;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #ffffff;
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    .menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Off-Canvas Navigation */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #262626;
        padding: 80px 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .main-navigation a {
        font-size: 1.1rem;
        display: block;
        width: 100%;
        color: #fff;
    }

    /* Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* =========================================
   Product Page Redesign (Soft UI)
   ========================================= */

/* 1. Soft Hero Section */
.soft-hero-section {
    position: relative;
    background: #f8f9fa;
    /* Light grey background */
    padding: 3rem 0 4rem;
    /* Reduced padding for compactness */
    overflow: hidden;
}

.hero-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    /* Reduced gap */
    align-items: center;
    /* max-width removed for full width */
    /* margin: 0 auto; removed */
}

/* Hero Text Column */
.hero-text-content {
    text-align: left;
    padding-right: 1rem;
}

.soft-hero-section h1 {
    color: #344767;
    /* Dark Blue Heading */
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.soft-hero-section .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.soft-hero-section .star-rating {
    color: #fbcf33;
}

.soft-hero-section .woocommerce-product-details__short-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #67748e;
    /* Muted Body Text */
    margin-bottom: 2rem;
}

/* Hero Actions */
.hero-actions-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.btn-soft-primary {
    background: #f44336;
    /* Red Primary */
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 12px 24px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.btn-soft-primary:hover {
    background: #d32f2f;
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
    color: #fff;
}

.btn-soft-light {
    background: #fff;
    color: #344767;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-soft-light:hover {
    background: #f8f9fa;
    color: #344767;
    transform: translateY(-1px);
}

.hero-price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: #344767;
    margin-top: 0.5rem;
}

/* Hero Image Column */
.hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, 0.05);
    /* Soft Shadow */
    background: #fff;
    padding: 0.75rem;
}

.hero-image-wrapper img {
    border-radius: 0.5rem;
    width: 100%;
    height: auto;
    display: block;
}

/* 2. Features Section */
.soft-features-section {
    padding: 6rem 0;
    background: #fff;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #344767;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #67748e;
}

.features-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.bg-gradient-primary {
    background: linear-gradient(310deg, #f53939, #fbcf33);
}

.bg-gradient-info {
    background: linear-gradient(310deg, #2152ff, #21d4fd);
}

.bg-gradient-success {
    background: linear-gradient(310deg, #17ad37, #98ec2d);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #344767;
    margin-bottom: 1rem;
}

.feature-desc {
    color: #67748e;
    line-height: 1.6;
}

/* 3. Preview Section */
.soft-preview-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.preview-cta-box {
    background: linear-gradient(310deg, #141727, #3a416f);
    border-radius: 1rem;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, 0.05);
}

/* About Us Stack Grid */
.stack-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.stack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.stack-item:hover {
    color: var(--primary-color);
}

.stack-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.preview-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.preview-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.btn-white {
    background: #fff;
    color: #344767;
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
    color: #344767;
}

/* 2. Content Section (Consolidated) */
.soft-content-section {
    padding: 4rem 0;
    background: #fff;
}

/* .content-single-column max-width removed for full width */

/* Soft Cards */
.soft-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    border: none;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Product Details (Horizontal) */
.details-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #344767;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f0f2f5;
    padding-bottom: 1rem;
}

.product-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.meta-item-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item-inline .label {
    font-weight: 600;
    color: #344767;
}

.meta-item-inline .value {
    color: #67748e;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Hide Description Heading */
#tab-description h2 {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-actions-group {
        justify-content: center;
    }

    .soft-hero-section h1 {
        font-size: 2.5rem;
    }

    .product-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Hide duplicate price in Cart Block */
td.wc-block-cart-item__total .wc-block-cart-item__total-price-and-sale-badge-wrapper {
    display: none;
}

/* Hide duplicate price in Checkout Block */
.wc-block-components-order-summary-item__total-price {
    display: none;
}

/* Hide WooCommerce success messages (e.g. Added to cart) on Shop page */
.woocommerce-shop .woocommerce-message,
.post-type-archive-product .woocommerce-message {
    display: none;
}

/* Card Hover Effect */
.card-hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, 0.1) !important;
}

.icon-lg {
    width: 64px;
    height: 64px;
}

.icon-lg i {
    font-size: 1.5rem;
}

/* =========================================
   New Page Utilities (Soft UI)
   ========================================= */

/* Shadows */
.shadow-lg {
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, 0.05) !important;
}

.shadow-sm {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05) !important;
}

/* Gradients */
.bg-gradient-dark {
    background-image: linear-gradient(195deg, #42424a 0%, #191919 100%);
}

/* Icons */
.icon-shape {
    width: 48px;
    height: 48px;
    background-position: center;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.icon-shape i {
    font-size: 1.25rem;
}

/* Buttons */
.btn-icon-only {
    width: 2.375rem;
    height: 2.375rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-rounded {
    border-radius: 50% !important;
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    background: transparent;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

/* Forms */
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group-outline {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid #d2d6da;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.input-group-outline:focus-within {
    border-color: #cb0c9f;
    box-shadow: 0 0 0 2px rgba(203, 12, 159, 0.2);
}

.input-group-outline .form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4rem;
    color: #495057;
    background-color: transparent;
    background-clip: padding-box;
    border: none;
    appearance: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.input-group-outline .form-control:focus {
    box-shadow: none;
    outline: none;
}

.form-label {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #344767;
}

/* Accordion */
.accordion .card-header button {
    color: #344767;
    font-size: 1rem;
    padding: 0;
}

.accordion .card-header button:hover,
.accordion .card-header button:focus {
    text-decoration: none;
    box-shadow: none;
}

.accordion .card-body {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Typography Utilities */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.text-gradient.text-primary {
    background-image: linear-gradient(310deg, #7928CA 0%, #FF0080 100%);
}

.opacity-8 {
    opacity: 0.8 !important;
}

/* ThemeForest Product Page Styles */
.reative-theme-forest-product .product-header-section {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.reative-theme-forest-product .breadcrumbs-wrapper {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.reative-theme-forest-product .breadcrumbs-wrapper a {
    color: var(--text-light);
}

.reative-theme-forest-product .breadcrumbs-wrapper a:hover {
    color: var(--primary-color);
}

.soft-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.soft-card:hover {
    box-shadow: var(--shadow-md);
}

.purchase-card .price {
    color: var(--primary-color);
}

.purchase-card .license-features li {
    display: flex;
    align-items: center;
}

.purchase-card .license-features i {
    width: 20px;
}

.item-info-card .table td {
    padding: 0.5rem 0;
    border: none;
}

.product-content-tabs .nav-tabs {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.product-content-tabs .nav-link {
    border: none;
    color: var(--text-light);
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid transparent;
}

.product-content-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Fix for sticky sidebar overlapping header if header is sticky */
.sticky-sidebar {
    top: 120px !important;
    /* Adjust based on header height */
}

/* Typography adjustments */
.display-5 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.opacity-7 {
    opacity: 0.7;
}

/* Button Shadows */
.shadow-primary {
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-outline-dark {
    color: #344767;
    border-color: #344767;
}

.btn-outline-dark:hover {
    background: #344767;
    color: #fff;
}

/* Mobile Optimization for Product Page */
@media (max-width: 991px) {
    .reative-theme-forest-product .row {
        flex-direction: column;
    }

    .reative-theme-forest-product .col-lg-8,
    .reative-theme-forest-product .col-lg-4 {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

    /* Disable sticky sidebar on mobile */
    .sticky-sidebar {
        position: static !important;
        margin-top: 2rem;
    }

    /* Adjust Purchase Card for Mobile */
    .purchase-card {
        padding: 1.5rem !important;
    }

    .purchase-card .d-grid {
        grid-template-columns: 1fr;
        /* Stack buttons */
    }

    /* Typography Scaling */
    .display-5 {
        font-size: 1.75rem;
        /* Smaller title on mobile */
    }

    .product-header-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    /* Tabs on Mobile */
    .product-content-tabs .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
        /* Scrollbar spacing */
    }

    .product-content-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    /* Ensure images are responsive */
    .product-image-wrapper img {
        height: auto;
        max-width: 100%;
    }

    /* Move Sidebar to Top (Optional - if user wants Buy button first) 
       For now, standard stacking (Content then Sidebar) is safer unless requested otherwise.
       However, for conversion, having the price visible is key. 
       Let's keep standard stacking but ensure spacing is good.
    */
}

/* Envato/ThemeForest Specific Button Styles */
.btn-envato {
    background: #82b440;
    /* Envato Green */
    color: #fff;
    border: none;
    box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
}

.btn-envato:hover {
    background: #6f9a37;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
}

.btn-preview {
    background: #262626;
    color: #fff;
    border: none;
}

.btn-preview:hover {
    background: #404040;
    color: #fff;
}

/* Ensure Bootstrap Grid works with custom container */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Refine Sidebar Typography */
.purchase-card .price {
    color: #333;
    /* Darker price like ThemeForest */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.license-type {
    color: #757575;
    font-weight: 400;
}

/* ThemeForest Cart Page Styles */
.envato-cart-header {
    background: #262626;
    color: #fff;
}

.envato-cart-header .btn-outline-light {
    color: #fff;
    border-color: #444;
}

.envato-cart-header .btn-outline-light:hover {
    background: #444;
    border-color: #555;
}

.cart-items-wrapper .shop_table {
    border: none;
}

.cart-items-wrapper .shop_table td {
    border: none;
    vertical-align: middle;
}

.cart-items-wrapper .woocommerce-cart-form__cart-item {
    border: 1px solid #eee;
    margin-bottom: 1rem;
}

.cart-items-wrapper .product-name a {
    color: #0073aa;
    font-size: 1rem;
}

.cart-items-wrapper .product-name a:hover {
    color: #005177;
    text-decoration: underline !important;
}

.cart-items-wrapper .product-subtotal .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.cart-items-wrapper .product-remove .remove {
    color: #999 !important;
    font-weight: 300;
    font-size: 1.5rem;
}

.cart-items-wrapper .product-remove .remove:hover {
    color: #d9534f !important;
    background: none;
}

/* Cart Totals Sidebar */
.cart-totals-card {
    background: #fff;
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cart-totals-card h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    text-align: center;
}

.cart-totals-card .cart-subtotal,
.cart-totals-card .order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cart-totals-card .order-total .amount {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.cart-totals-card .wc-proceed-to-checkout .checkout-button {
    background: #82b440;
    /* Envato Green */
    color: #fff;
    width: 100%;
    display: block;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 1rem;
    text-transform: none;
}

.cart-totals-card .wc-proceed-to-checkout .checkout-button:hover {
    background: #6f9a37;
    transform: none;
    box-shadow: none;
}

/* Checkout Page Styles */
.checkout-review-card {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.checkout-review-card h3 {
    font-size: 1.25rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

#place_order {
    background: #82b440;
    color: #fff;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: none;
}

#place_order:hover {
    background: #6f9a37;
}

/* WooCommerce Order Received (Thank You) Page */
.woocommerce-order-overview {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.woocommerce-order-overview li {
    text-align: center;
    border-right: 1px solid var(--border-color);
    padding-right: 3rem;
}

.woocommerce-order-overview li:last-child {
    border-right: none;
    padding-right: 0;
}

.woocommerce-order-overview li strong {
    display: block;
    font-size: 1.25rem;
    color: var(--text-heading);
    margin-top: 0.5rem;
}

/* Order Details Table */
.woocommerce-table--order-details,
.shop_table.order_details {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td,
.shop_table.order_details th,
.shop_table.order_details td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.woocommerce-table--order-details th,
.shop_table.order_details th {
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.woocommerce-table--order-details td.product-name a,
.shop_table.order_details td.product-name a {
    color: var(--text-heading);
    font-weight: 600;
}

.woocommerce-table--order-details td.product-total,
.shop_table.order_details td.product-total {
    font-weight: 600;
    color: var(--text-heading);
}

.woocommerce-customer-details {
    margin-top: 3rem;
}

.woocommerce-customer-details h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.woocommerce-column__title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.woocommerce-customer-details address {
    font-style: normal;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: #fff;
}

/* Responsive adjustments for Order Received */
@media (max-width: 768px) {
    .woocommerce-order-overview {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .woocommerce-order-overview li {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1.5rem;
        width: 100%;
    }

    .woocommerce-order-overview li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Address Styling */
address {
    font-style: normal !important;
}

/* Responsive Tables for Order Details */
@media (max-width: 768px) {

    .woocommerce-table--order-details,
    .shop_table.order_details {
        display: block;
        width: 100%;
    }

    .woocommerce-table--order-details thead,
    .shop_table.order_details thead {
        display: none;
    }

    .woocommerce-table--order-details tbody,
    .woocommerce-table--order-details tr,
    .woocommerce-table--order-details td,
    .shop_table.order_details tbody,
    .shop_table.order_details tr,
    .shop_table.order_details td {
        display: block;
        width: 100%;
        text-align: right;
    }

    .woocommerce-table--order-details td,
    .shop_table.order_details td {
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border-color);
        position: relative;
        padding-left: 50%;
    }

    .woocommerce-table--order-details td::before,
    .shop_table.order_details td::before {
        content: attr(data-title);
        position: absolute;
        left: 0;
        top: 0.5rem;
        font-weight: 600;
        color: var(--text-light);
        text-transform: uppercase;
        font-size: 0.75rem;
    }

    .woocommerce-table--order-details td.product-name,
    .shop_table.order_details td.product-name {
        text-align: left;
        padding-left: 0;
    }

    .woocommerce-table--order-details td.product-name::before,
    .shop_table.order_details td.product-name::before {
        display: none;
    }
}

/* =========================================
   Global Button Standardization (Envato UX)
   ========================================= */

/* Primary Action Buttons -> Envato Green (#82b440) */
.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce .checkout-button,
.woocommerce .single_add_to_cart_button,
.woocommerce .place-order .button,
.woocommerce-page .button.alt,
.woocommerce-page button.button.alt,
.woocommerce-page input.button.alt,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.woocommerce-EditAccountForm .button,
.woocommerce-address-fields .button,
.woocommerce-save-button,
.add_to_cart_button,
.button.pay,
.btn-primary,
.btn-success,
.btn-envato {
    background: #82b440 !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08) !important;
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 0.75rem !important;
    /* Match var(--radius-md) */
    transition: all 0.3s ease;
    background-image: none !important;
    /* Remove gradients */
    font-size: 0.75rem !important;
    letter-spacing: 0.5px !important;
    line-height: 1.5;
}

.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce .checkout-button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .place-order .button:hover,
.woocommerce-page .button.alt:hover,
.woocommerce-page button.button.alt:hover,
.woocommerce-page input.button.alt:hover,
.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover,
.woocommerce-EditAccountForm .button:hover,
.woocommerce-address-fields .button:hover,
.woocommerce-save-button:hover,
.add_to_cart_button:hover,
.button.pay:hover,
.btn-primary:hover,
.btn-success:hover,
.btn-envato:hover {
    background: #6f9a37 !important;
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08) !important;
    color: #fff !important;
}

/* Secondary Action Buttons -> Preview Dark (#262626) */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page .button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.btn-dark,
.btn-preview {
    background: #262626 !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 0.75rem !important;
    transition: all 0.3s ease;
    background-image: none !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.5px !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page .button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover,
.btn-dark:hover,
.btn-preview:hover {
    background: #404040 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Ensure Primary overrides Secondary (due to specificity, the above might conflict if not careful) */
/* Re-assert Primary styles for .alt and specific classes to be safe */
.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .checkout-button,
.woocommerce .single_add_to_cart_button,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.add_to_cart_button,
.button.pay {
    background: #82b440 !important;
}

.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce .checkout-button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover,
.add_to_cart_button:hover,
.button.pay:hover {
    background: #6f9a37 !important;
}

/* Cart Page Specifics */
.envato-cart-header .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
}

.envato-cart-header .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #fff !important;
}

/* =========================================
   ThemeForest Parity - Product Page
   ========================================= */

/* Limit Product Image Height - Crop height slightly more (16:9) */
.product-preview-card .product-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    box-shadow: var(--shadow-lg);
    /* Add shadow for better pop */
}

.product-preview-card .product-image-wrapper img {
    width: 100%;
    aspect-ratio: 16/9;
    /* Crop top/bottom more for widescreen look */
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: var(--radius-md);
}

/* Hide Icon Overlay on Single Product Page */
.single-product .card-meta-overlay {
    display: none !important;
}

/* Reduce size of any other icons in the image wrapper (e.g. placeholders) */
.product-preview-card .product-image-wrapper i {
    font-size: 1.5rem !important;
    /* Smaller than default */
    padding: 0.5rem !important;
}

/* Live Preview Button Styling */
.product-preview-card .btn-preview {
    width: auto !important;
    /* Not full width */
    display: inline-block !important;
    min-width: 200px;
    /* Minimum width for balance */
}

/* Mobile Account Navigation */
@media (max-width: 768px) {
    .account-nav-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        gap: 1rem;
        justify-content: center;
        /* Optional: center if they fit */
    }

    .account-nav-list li {
        flex: 0 0 auto;
        width: auto !important;
        margin-bottom: 0 !important;
    }
}