/*
Theme Name: JayJayComplex
Theme URI: https://jayjaycomplex.com
Author: JayJayComplex Team
Author URI: https://jayjaycomplex.com
Description: Professional WordPress theme for JayJayComplex printing business in Douala, Cameroon. Features WooCommerce integration, mobile money payment support, and optimized for the Cameroon market.
Version: 51.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jayjaycomplex
Tags: e-commerce, printing, business, responsive, woocommerce, cameroon
*/

/* ========================================
   TABLE OF CONTENTS
   ========================================
   1. CSS Variables & Reset
   2. Base Styles
   3. Header & Navigation
   4. Hero Section
   5. Services Section
   6. Products Section
   7. About Section
   8. Contact Section
   9. Footer
   10. WooCommerce Styles
   11. Responsive Design
   12. Utility Classes
   ======================================== */

/* ========================================
   1. CSS VARIABLES & RESET
   ======================================== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f97316;
    --secondary-dark: #ea580c;
    --accent-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --primary-color: #3b82f6;
    --primary-dark: #60a5fa;
    --secondary-color: #f97316;
    --secondary-dark: #fb923c;
    --text-dark: #f9fafb;
    --text-light: #d1d5db;
    --bg-light: #1f2937;
    --bg-white: #111827;
    --border-color: #374151;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

/* Smooth Scrolling & Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.stagger-delay-1 {
    transition-delay: 0.1s;
}

.stagger-delay-2 {
    transition-delay: 0.2s;
}

.stagger-delay-3 {
    transition-delay: 0.3s;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

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

ul,
ol {
    list-style: none;
}

/* ========================================
   2. BASE STYLES
   ======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-blue {
    background: var(--primary-color);
    color: white;
}

.btn-blue:hover {
    background: var(--primary-dark);
}

/* ========================================
   3. HEADER & NAVIGATION
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
    /* Increased padding for better look */
    background: transparent;
    /* Explicitly transparent */
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
    /* Slightly larger scrolled padding */
}

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

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-left: 0.5rem;
}

.site-header.scrolled .site-logo .logo-text {
    color: var(--text-dark);
}

.main-navigation {
    display: none;
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: white;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.site-header.scrolled .main-navigation a {
    color: var(--text-dark);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.main-navigation a:hover::after {
    width: 100%;
}

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

.cart-icon {
    position: relative;
    color: white;
    font-size: 1.25rem;
}

.site-header.scrolled .cart-icon {
    color: var(--text-dark);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Polylang Switcher */
.language-switcher ul {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.language-switcher li {
    display: flex;
    align-items: center;
}

.language-switcher a {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 5px;
    transition: var(--transition);
}

.site-header.scrolled .language-switcher a {
    color: var(--text-dark);
}

.language-switcher img {
    height: 14px;
    width: auto;
    margin-right: 5px;
}

/* Fallback Links */
.pll-placeholder a {
    opacity: 0.7;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: var(--transition);
}

.site-header.scrolled .mobile-menu-toggle span {
    background: var(--text-dark);
}

/* ========================================
   4. HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.92) 0%, rgba(249, 115, 22, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 8rem 1rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: #fed7aa;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* ========================================
   5. SERVICES SECTION
   ======================================== */
.services-section {
    background: var(--bg-light);
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.service-icon.blue {
    background: #dbeafe;
    color: var(--primary-color);
}

.service-icon.orange {
    background: #ffedd5;
    color: var(--secondary-color);
}

.service-icon.green {
    background: #d1fae5;
    color: var(--accent-color);
}

.service-icon.purple {
    background: #f3e8ff;
    color: #9333ea;
}

.service-icon.pink {
    background: #fce7f3;
    color: #db2777;
}

.service-icon.teal {
    background: #ccfbf1;
    color: #0d9488;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-features {
    font-size: 0.875rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.service-features i {
    color: var(--accent-color);
}

/* ========================================
   6. PRODUCTS SECTION
   ======================================== */
.products-section {
    background: white;
}

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

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-content p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.product-features {
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.product-features i {
    color: var(--accent-color);
    font-size: 0.625rem;
}

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

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

.btn-outline:hover {
    background: var(--bg-light);
}

/* ========================================
   7. ABOUT SECTION
   ======================================== */
.about-section {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-content h2 span {
    color: var(--primary-color);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature i {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.about-feature h4 {
    font-weight: 700;
    color: var(--text-dark);
}

.about-feature p {
    font-size: 0.875rem;
    margin: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
}

.rating-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.rating-text .rating-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.rating-text .rating-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ========================================
   8. WHY CHOOSE US SECTION
   ======================================== */
.why-us-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
}

.why-us-section .section-title h2,
.why-us-section .section-title p {
    color: white;
}

.why-us-section .section-title p {
    opacity: 0.8;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.why-us-item {
    text-align: center;
    padding: 2rem;
}

.why-us-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #fed7aa;
}

.why-us-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.why-us-item p {
    opacity: 0.8;
}

/* ========================================
   9. CONTACT SECTION
   ======================================== */
.contact-section {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-info>p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-icon.blue {
    background: #dbeafe;
    color: var(--primary-color);
}

.contact-icon.orange {
    background: #ffedd5;
    color: var(--secondary-color);
}

.contact-icon.green {
    background: #d1fae5;
    color: var(--accent-color);
}

.contact-item h4 {
    font-weight: 700;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.payment-methods {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.payment-methods h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.payment-badge {
    background: white;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-light);
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-xl);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* =========================================
   INNER PAGE DESIGN (v12)
   ========================================= */

/* Generic Content Typography */
.entry-content {
    line-height: 1.8;
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--dark-bg);
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.entry-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gold-color);
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}

/* Page Hero (for Pages with Featured Images) */
.page-hero {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    margin-top: -30px;
    /* Pull up under header if needed */
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.page-hero-title {
    position: relative;
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* Standard Page Title (No Hero) */
.entry-header h1.entry-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-bg);
    position: relative;
    padding-bottom: 20px;
}

.entry-header h1.entry-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-color);
}

/* Sidebar Styling */
.widget {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.widget-title {
    font-size: 1.2rem;
    color: var(--dark-bg);
    border-bottom: 2px solid var(--gold-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.widget ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.widget ul li a:hover {
    color: var(--gold-color);
    padding-left: 5px;
}

/* WooCommerce Enhancements */
.woocommerce-main {
    padding: 60px 0;
}

/* Buttons */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
    background: var(--gold-color) !important;
    color: #000 !important;
    border-radius: 5px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
    background: #cfa830 !important;
    transform: translateY(-2px);
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top: 3px solid var(--gold-color) !important;
    background-color: #fcfcfc !important;
    color: #333 !important;
    padding: 15px 15px 15px 50px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--gold-color) !important;
}

/* Product Loop Grid */
ul.products li.product {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    padding-bottom: 20px;
}

ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

ul.products li.product .woocommerce-loop-product__title {
    padding: 15px 15px 5px;
    font-size: 1.1rem;
    color: var(--dark-bg);
}

ul.products li.product .price {
    padding: 0 15px;
    color: var(--gold-color);
    font-weight: 700;
    font-size: 1.1rem;
}

ul.products li.product .button {
    margin: 10px 15px !important;
    width: calc(100% - 30px) !important;
    text-align: center !important;
}

/* Single Product */
.product_title.entry-title {
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 20px;
}

.price {
    font-size: 1.5rem;
    color: var(--gold-color) !important;
    font-weight: 700;
}

.woocommerce-product-details__short-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #666;
}

/* Tables (Cart, Checkout) */
.woocommerce table.shop_table {
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.woocommerce table.shop_table th {
    background: var(--dark-bg);
    color: #fff;
    padding: 15px !important;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.woocommerce table.shop_table td {
    padding: 20px !important;
    border-bottom: 1px solid #eee !important;
}

/* Pagination */
.woocommerce-pagination .page-numbers {
    border: none !important;
}

.woocommerce-pagination .page-numbers li span.current {
    background: var(--gold-color) !important;
    color: #000 !important;
}

.woocommerce-pagination .page-numbers li a {
    color: var(--dark-bg) !important;
}

.woocommerce-pagination .page-numbers li a:hover {
    background: #eee !important;
    color: #000 !important;
}

/* ========================================
   10. FOOTER
   ======================================== */
.site-footer {
    background: #111827;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-brand img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    color: white;
}

.footer-links h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9ca3af;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* ========================================
   11. WOOCOMMERCE STYLES
   ======================================== */
.woocommerce .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.woocommerce .product {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.woocommerce .product:hover {
    box-shadow: var(--shadow-xl);
}

.woocommerce .product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.woocommerce .product .woocommerce-loop-product__title {
    padding: 1rem 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.woocommerce .product .price {
    padding: 0 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.woocommerce .product .button {
    margin: 1rem 1.5rem 1.5rem;
    width: calc(100% - 3rem);
    text-align: center;
    background: var(--secondary-color);
    color: white;
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
}

.woocommerce .product .button:hover {
    background: var(--secondary-dark);
}

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

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

.woocommerce-cart .cart-collaterals {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-xl);
    margin-top: 2rem;
}

.woocommerce-checkout .checkout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-xl);
}

.woocommerce-checkout .woocommerce-checkout-review-order {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-xl);
}

/* ========================================
   12. RESPONSIVE DESIGN
   ======================================== */
@media (min-width: 640px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .main-navigation {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .woocommerce-checkout .checkout {
        grid-template-columns: 2fr 1fr;
    }
}

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

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

/* ========================================
   13. UTILITY CLASSES
   ======================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

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

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

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

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

.p-4 {
    padding: 1rem;
}

.p-8 {
    padding: 2rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: none;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Notifications */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.woocommerce-message {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--accent-color);
}

.woocommerce-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid var(--primary-color);
}

.woocommerce-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* =========================================
   SINGLE PRODUCT DESIGN (v14)
   ========================================= */

/* Layout: 2 Columns on Desktop */
@media (min-width: 768px) {

    .woocommerce #content div.product,
    .woocommerce div.product,
    .woocommerce-page #content div.product,
    .woocommerce-page div.product {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: start;
    }

    .woocommerce-product-gallery {
        grid-column: 1;
        width: 100% !important;
        /* Override inline styles */
        float: none !important;
        margin: 0 !important;
    }

    .entry-summary {
        grid-column: 2;
        width: 100% !important;
        /* Override inline styles */
        float: none !important;
        padding-top: 10px;
    }

    /* Full width for tabs and related products */
    .woocommerce-tabs,
    .related.products,
    .upsells.products {
        grid-column: 1 / -1;
        margin-top: 60px;
    }
}

/* Product Gallery */
.woocommerce-product-gallery {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.woocommerce-product-gallery img {
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.woocommerce-product-gallery:hover img {
    transform: scale(1.02);
}

/* Product Info (Summary) */
.product_title.entry-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 15px;
    line-height: 1.2;
}

.woocommerce-product-details__short-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Price */
p.price,
span.price {
    font-size: 2rem !important;
    color: var(--gold-color) !important;
    font-weight: 700;
    margin-bottom: 25px !important;
    display: block;
}

/* Add to Cart Area */
.woocommerce div.product form.cart {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.quantity input {
    height: 50px;
    width: 70px;
    font-size: 1.2rem;
    font-weight: 700;
    border: 2px solid #ddd;
    border-radius: 5px;
    text-align: center;
    color: var(--dark-bg);
}

.single_add_to_cart_button {
    height: 50px;
    padding: 0 40px !important;
    font-size: 1.1rem !important;
    background: var(--gold-color) !important;
    color: #000 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    flex-grow: 1;
    /* Make it fill space */
    max-width: 300px;
}

.single_add_to_cart_button:hover {
    background: #cfa830 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Product Meta (SKU, Categories) */
.product_meta {
    font-size: 0.9rem;
    color: #888;
}

.product_meta>span {
    display: block;
    margin-bottom: 5px;
}

.product_meta a {
    color: var(--dark-bg);
    font-weight: 600;
    text-decoration: none;
}

.product_meta a:hover {
    color: var(--gold-color);
}

/* Tabs */
.woocommerce-tabs ul.tabs {
    padding: 0 0 20px !important;
    margin: 0 !important;
    border-bottom: 1px solid #eee !important;
    background: transparent !important;
    overflow: visible !important;
    list-style: none !important;
    display: flex !important;
    gap: 30px;
}

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

.woocommerce-tabs ul.tabs li a {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #888 !important;
    padding: 10px 0 !important;
    position: relative;
    transition: color 0.3s;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
    color: var(--dark-bg) !important;
}

.woocommerce-tabs ul.tabs li.active a::after {
    content: '';
    position: absolute;
    bottom: -21px;
    /* Align with border */
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-color);
}

.woocommerce-Tabs-panel {
    padding: 40px 0 !important;
}

.woocommerce-Tabs-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-bg);
}

/* Related Products */
.related.products>h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.related.products>h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-color);
}

/* v15 Verified Scanned - Safe */
/* v31 Stable Grid Fix */
@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* v32 Product Checklist Enhancement */
.product-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.product-features li {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #10b981;
}

.woocommerce-product-details__short-description ul {
    list-style: none;
    padding: 0;
}

.woocommerce-product-details__short-description ul li {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.woocommerce-product-details__short-description ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #10b981;
}

/* v35 Home Page Dynamic Checklist Fix */
.product-card .product-features ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.product-card .product-features ul li {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-card .product-features ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #10b981;
}

/* v37 Amazon-Style Product Page */
.amazon-layout-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .amazon-layout-wrapper {
        grid-template-columns: 450px 1fr 300px;
    }
}

.amazon-col-gallery {
    position: sticky;
    top: 100px;
}

.amazon-col-info h1 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.amazon-col-info .price {
    font-size: 1.5rem;
    color: #B12704 !important;
    font-weight: 400 !important;
}

.amazon-col-buy-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.amazon-col-buy-box .price {
    font-size: 1.5rem;
    color: #B12704 !important;
    margin-bottom: 1rem;
    display: block;
}

.amazon-col-buy-box .button {
    background: #FFD814 !important;
    border: 1px solid #FCD200 !important;
    color: #0f1111 !important;
    border-radius: 20px !important;
    padding: 0.6rem 1rem !important;
    transition: background 0.2s !important;
}

.amazon-col-buy-box .button:hover {
    background: #F7CA00 !important;
}

.amazon-col-buy-box .single_add_to_cart_button {
    width: 100%;
    margin-top: 1rem;
}

/* Hide default Woo summary styling that interferes */
.woocommerce div.product div.summary {
    width: 100% !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
}

.woocommerce div.product div.images {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* v40 Buy Box Variable Selection Refinements */
.amazon-col-buy-box .variations {
    width: 100%;
    border: none;
    margin-bottom: 1rem;
}

.amazon-col-buy-box .variations tr {
    display: block;
    margin-bottom: 1rem;
}

.amazon-col-buy-box .variations td {
    display: block;
    padding: 0 !important;
    border: none !important;
}

.amazon-col-buy-box .variations label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #444;
    display: block;
    margin-bottom: 0.5rem;
}

.amazon-col-buy-box select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #f0f2f2;
    box-shadow: 0 2px 5px rgba(15, 17, 17, .15);
    cursor: pointer;
}

.amazon-col-buy-box .quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.amazon-col-buy-box .quantity label {
    font-weight: 700;
    font-size: 0.9rem;
}

.amazon-col-buy-box .quantity input.qty {
    width: 60px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.amazon-col-buy-box .reset_variations {
    font-size: 0.8rem;
    color: #007185;
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
}

/* v43 Amazon-Style Store Page Design */
.shop-layout-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

@media (min-width: 1024px) {
    .shop-layout-wrapper {
        grid-template-columns: 240px 1fr;
    }
}

.shop-sidebar {
    background: #fff;
    padding: 1rem;
    border-right: 1px solid #ddd;
}

.shop-sidebar .widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
    text-transform: none;
}

.shop-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-cat-list li {
    margin-bottom: 0.5rem;
}

.shop-cat-list a {
    color: #444;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.shop-cat-list a:hover {
    color: #c45500;
}

.shop-content-area .woocommerce-products-header__title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #111;
    margin-bottom: 1.5rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem !important;
    color: #007185 !important;
    font-weight: 400 !important;
    margin: 0.5rem 0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
    color: #c45500 !important;
    text-decoration: underline !important;
}

.woocommerce ul.products li.product .price {
    color: #B12704 !important;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
}

.woocommerce ul.products li.product .button {
    background: #fff !important;
    border: 1px solid #d5d9d9 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 5px 0 rgba(213, 217, 217, .5) !important;
    color: #0f1111 !important;
    font-size: 0.85rem !important;
    padding: 0.5rem 1rem !important;
    text-transform: none !important;
}

.woocommerce ul.products li.product .button:hover {
    background: #f7fafa !important;
    border-color: #d5d9d9 !important;
}

.woocommerce .woocommerce-ordering select {
    border-radius: 8px;
    border: 1px solid #cdcdcd;
    background: #f0f2f2;
    padding: 5px 10px;
    box-shadow: 0 2px 5px rgba(15, 17, 17, .15);
}

/* v45 Print-on-Demand Styles */
.pod-section {
    background: #f9f9f9;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.pod-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .pod-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.pod-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pod-image img {
    width: 100%;
    display: block;
    filter: brightness(0.95);
}

.pod-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #c45500;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transform: rotate(5deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pod-content h2 {
    font-size: 2.5rem;
    margin: 1.5rem 0;
    color: #111;
    line-height: 1.2;
}

.pod-content .lead {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 1.5rem;
}

.pod-features-minimal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width: 640px) {
    .pod-features-minimal {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pod-features-minimal .feat {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a2a47;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pod-features-minimal .feat i {
    color: #2ecc71;
}

.pod-highlight {
    border-left: 4px solid #febd69;
    padding-left: 1.5rem;
    margin-top: 2rem;
    font-style: italic;
    color: #555;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
}


/* POD Studio Styles */
.pod-studio-page {
    background: #1a1a1a;
    min-height: 100vh;
    padding: 2rem 0;
    color: #fff;
}

.studio-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    background: #222;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
    .studio-container {
        grid-template-columns: 1fr;
    }
}

.studio-sidebar {
    background: #2d2d2d;
    padding: 2rem;
    border-right: 1px solid #444;
}

.studio-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #febd69;
}

.studio-header p {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

.studio-step {
    margin-top: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #444;
}

.studio-step h3 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.studio-step h3 span {
    background: #febd69;
    color: #111;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.product-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pod-product-item {
    background: #3d3d3d;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    border: 2px solid transparent;
}

.pod-product-item:hover {
    background: #4d4d4d;
}

.pod-product-item.active {
    border-color: #febd69;
    background: #4d4d4d;
}

.pod-product-item i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 5px;
}

.pod-product-item span {
    font-size: 0.75rem;
}

.upload-area {
    border: 2px dashed #666;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}

.upload-area:hover {
    border-color: #febd69;
    background: #3d3d3d;
}

.upload-area i {
    font-size: 2rem;
    color: #febd69;
    margin-bottom: 10px;
}

.control-row {
    display: flex;
    gap: 10px;
}

.control-btn {
    background: #3d3d3d;
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
}

.control-btn:hover {
    background: #febd69;
    color: #111;
}

.studio-checkout {
    margin-top: 2rem;
    padding-top: 2rem;
}

.price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.price-display strong {
    color: #febd69;
    font-size: 1.5rem;
}

.service-note {
    font-size: 0.75rem;
    color: #888;
    text-align: center;
    margin-top: 1rem;
}

.studio-preview {
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.canvas-wrapper {
    position: relative;
    max-width: 100%;
}

#pod-canvas {
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.canvas-hint {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

/* POD Custom Options Styles */
.option-group {
    margin-bottom: 1.5rem;
}

.option-group label {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    font-weight: 600;
}

.color-swatches {
    display: flex;
    gap: 10px;
}

.swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #444;
    cursor: pointer;
    transition: 0.2s;
}

.swatch.active {
    border-color: #febd69;
    transform: scale(1.1);
}

.size-selector {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.size-btn {
    background: #3d3d3d;
    border: none;
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
}

.size-btn:hover {
    background: #4d4d4d;
}

.size-btn.active {
    background: #febd69;
    color: #111;
    font-weight: 700;
}

/* ========================================
   POD Text Tools Styles
   ======================================== */
.text-tools {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.text-controls-row {
    display: flex;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

#pod-text-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

#pod-font-select {
    flex: 2;
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
}

#pod-text-color {
    flex: 0 0 40px;
    height: 38px;
    padding: 0;
    border: none;
    cursor: pointer;
}

.separator-text {
    text-align: center;
    margin: 1rem 0;
    font-weight: bold;
    color: #94a3b8;
    position: relative;
}

.separator-text::before,
.separator-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #e2e8f0;
}

.separator-text::before {
    left: 0;
}

.separator-text::after {
    right: 0;
}


/* ========================================
   Studio Layout Redesign
   ======================================== */
.pod-studio-wrapper {
    display: flex;
    height: calc(100vh - 80px);
    /* Adjust based on header height */
    top: 80px;
    position: relative;
    background: #f1f5f9;
}

/* Sidebar */
.studio-sidebar {
    width: 320px;
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Tabs */
.studio-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--primary-color);
    background: #f0f9ff;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    background: white;
}

.tab-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s;
}

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

.product-item {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.product-item:hover,
.product-item.active {
    border-color: var(--primary-color);
    background: #eff6ff;
    color: var(--primary-color);
}

.product-item i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Text Tools */
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    font-family: inherit;
}

.properties-panel {
    margin-top: 1rem;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 0.5rem;
}

.properties-panel.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.style-toggles {
    display: flex;
    gap: 0.5rem;
}

.style-toggles button {
    border: 1px solid #cbd5e1;
    background: white;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
}

.style-toggles button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Layers */
#layers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#layers-list li {
    padding: 0.5rem;
    background: white;
    border: 1px solid #e2e8f0;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

#layers-list li.active {
    border-color: var(--primary-color);
    background: #eff6ff;
}

#layers-list li .layer-actions {
    display: flex;
    gap: 0.25rem;
}

/* Footer & Sidebar Actions */
.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

#total-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* Main Workspace */
.studio-workspace {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.toolbar-top {
    height: 50px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem;
}

.tool-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-light);
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.tool-btn:hover {
    background: #f1f5f9;
    color: var(--text-dark);
}

.canvas-container-outer {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-image:
        linear-gradient(45deg, #e5e7eb 25%, transparent 25%),
        linear-gradient(-45deg, #e5e7eb 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e5e7eb 75%),
        linear-gradient(-45deg, transparent 75%, #e5e7eb 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.canvas-wrapper {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    background: white;
}


/* ========================================
   Refined Studio Styles
   ======================================== */

.canvas-wrapper {
    /* Ensure transformation origin is center for resizing */
    transform-origin: center center;
    transition: transform 0.2s ease-out;
}

/* Update Font Families in Dropdown to match Google Fonts */
#font-family option[value='Lobster'] {
    font-family: 'Lobster', cursive;
}

#font-family option[value='Oswald'] {
    font-family: 'Oswald', sans-serif;
}

#font-family option[value='Pacifico'] {
    font-family: 'Pacifico', cursive;
}

#font-family option[value='Roboto'] {
    font-family: 'Roboto', sans-serif;
}

/* Better Tooltips/Spacing for Controls */
.layer-actions button {
    padding: 4px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.layer-actions button:hover {
    background: #fff;
    color: var(--primary-color);
    border-color: var(--primary-color);
}


/* ========================================
   Studio Isolation (App Shell)
   ======================================== */

.pod-studio-wrapper {
    /* Force Full Height and Flex Layout */
    display: flex !important;
    flex-direction: row !important;
    min-height: 800px;
    height: calc(100vh - 80px);
    overflow: hidden;
    background: #f1f5f9;
}

.studio-sidebar {
    /* Force Sidebar Width */
    width: 320px !important;
    min-width: 320px;
    background: #ffffff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    z-index: 20;
    display: flex;
    flex-direction: column;
}

.studio-workspace {
    /* Force Workspace Fill */
    flex: 1 !important;
    display: flex !important;
    flex-direction: column;
    position: relative;
    background: #e2e8f0;
}

.canvas-container-outer {
    /* Center Canvas */
    flex: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

/* Ensure no theme padding interferes */
.pod-studio-wrapper *,
.pod-studio-wrapper *::before,
.pod-studio-wrapper *::after {
    box-sizing: border-box;
}

/* Override potential theme conflicts */
body.page-template-page-pod {
    overflow-x: hidden;
    /* Prevent horizontal scroll from theme sidebar conflicts */
}


/* ========================================
   MODERN APP UI (DevsDude Inspired)
   ======================================== */

/* App Container */
.pod-app-container {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    width: 100vw !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 99999 !important;
    /* Force Overlay */
    background: #e2e8f0;
    font-family: 'Poppins', sans-serif;
    margin: 0 !important;
    padding: 0 !important;
}

/* 1. App Header */
.pod-app-header {
    height: 60px;
    background: linear-gradient(90deg, #1e3a8a 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.app-brand {
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 20px;
}

.nav-link:hover {
    color: white;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.top-toolbar {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 4px;
    display: flex;
    gap: 5px;
}

.top-toolbar .tool-btn {
    background: transparent;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.top-toolbar .tool-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.top-toolbar .sep {
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-tag {
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-action {
    background: #10b981;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s;
}

.btn-action:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* 2. Main Body (Rail + Drawer + Canvas) */
.pod-main-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Icon Rail */
.tools-rail {
    width: 70px;
    background: #0f172a;
    /* Dark Slate */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    gap: 15px;
    z-index: 20;
}

.rail-item {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.7rem;
    gap: 4px;
}

.rail-item i {
    font-size: 1.2rem;
}

.rail-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.rail-item.active {
    color: #3b82f6;
    background: #1e293b;
    position: relative;
}

.rail-item.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: #3b82f6;
    border-radius: 0 4px 4px 0;
}

/* Content Drawer */
.tools-drawer {
    width: 320px;
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.drawer-panel {
    display: none;
    height: 100%;
    overflow-y: auto;
    padding-bottom: 20px;
}

.drawer-panel.active {
    display: block;
    animation: slideInLeft 0.2s;
}

.panel-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.panel-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #1e293b;
}

.panel-body {
    padding: 1.5rem;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 3. Canvas Area */
.studio-workspace-area {
    flex: 1;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.canvas-centering {
    padding: 40px;
}

.canvas-shadow-box {
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.25);
    background: white;
    /* Behind canvas */
}

/* UI Components */
.prod-card {
    border: 1px solid #e2e8f0;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.prod-card:hover,
.prod-card.active {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #3b82f6;
}

.product-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.color-circles {
    display: flex;
    gap: 10px;
}

.color-circles .circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
}

.color-circles .circle.active {
    border-color: #3b82f6;
    transform: scale(1.1);
}

.pill {
    border: 1px solid #cbd5e1;
    background: white;
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
}

.pill.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.btn-primary-full {
    width: 100%;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    cursor: pointer;
}

.font-btn {
    border: 1px solid #e2e8f0;
    width: 100%;
    padding: 10px;
    margin-bottom: 5px;
    text-align: left;
    background: white;
    cursor: pointer;
    border-radius: 4px;
}

.font-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

#text-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    min-height: 80px;
    font-family: inherit;
}

/* Pro Text Tools */
.font-grid-scroll {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding-right: 5px;
}

.font-grid-scroll::-webkit-scrollbar {
    width: 4px;
}

.font-grid-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.props-section {
    margin-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

.props-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #475569;
}

.control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.control-row input[type='range'] {
    flex: 1;
    margin-left: 10px;
}

.control-row input[type='color'] {
    width: 30px;
    height: 30px;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
}

/* Drag and Drop Zone */
.upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #64748b;
    cursor: pointer;
    transition: 0.2s;
}

.upload-box:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #3b82f6;
}

.upload-box i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}


/* Properties Container */
.props-container {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #e2e8f0;
}

.props-container.disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(1);
}


/* ========================================
   SMART CARD PROFILE UI
   ======================================== */
.sc-page-wrapper {
    background: #f1f5f9;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Center on desktop */
    padding: 20px;
}

.sc-card-container {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
}

.sc-header {
    height: 150px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    position: relative;
    margin-bottom: 60px;
    /* Space for photo overlap */
}

.sc-profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    overflow: hidden;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-profile-photo.placeholder i {
    font-size: 3rem;
    color: #94a3b8;
}

.sc-body {
    padding: 0 30px 40px 30px;
}

.sc-name {
    margin: 0 0 5px 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
}

.sc-title {
    margin: 0;
    color: #64748b;
    font-weight: 500;
    font-size: 1rem;
}

.sc-company {
    margin: 0 0 20px 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.sc-bio {
    margin-bottom: 30px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Buttons */
.sc-btn {
    display: inline-block;
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    background: #0f172a;
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}

.sc-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

.sc-btn i {
    margin-right: 8px;
}

/* Links Grid */
.sc-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sc-link-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: 0.2s;
    border: 1px solid #e2e8f0;
}

.sc-link-item:hover {
    background: #fff;
    border-color: #cbd5e1;
    transform: translateX(5px);
}

.sc-link-item i {
    width: 30px;
    font-size: 1.2rem;
    color: #3b82f6;
}

/* Brand Colors */
.sc-link-item.social.linkedin i {
    color: #0077b5;
}

.sc-link-item.social.instagram i {
    color: #e1306c;
}

.sc-footer {
    margin-top: 40px;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.sc-footer a {
    color: #94a3b8;
    text-decoration: none;
}


/* ========================================
   CARD CREATOR TOOL UI
   ======================================== */
.creator-wrapper {
    background: #f8fafc;
    min-height: 100vh;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.creator-container {
    background: #ffffff;
    width: 100%;
    max-width: 700px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.creator-container h1 {
    margin-top: 0;
    color: #1e293b;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.creator-container p {
    color: #64748b;
    margin-bottom: 30px;
}

.sc-form .form-section {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.sc-form h3 {
    margin-top: 0;
    color: #334155;
    font-size: 1.1rem;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
}

.form-group input[type='text'],
.form-group input[type='email'],
.form-group input[type='url'],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group small {
    display: block;
    color: #94a3b8;
    font-size: 0.8rem;
    margin-top: 3px;
}

.row {
    display: flex;
    gap: 15px;
}

.row .half {
    flex: 1;
}

.btn-create {
    width: 100%;
    background: #2563eb;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 10px;
}

.btn-create:hover {
    background: #1d4ed8;
}


/* ========================================
   MOBILE RESPONSIVENESS (Max Width 768px)
   ======================================== */
@media (max-width: 768px) {

    /* 1. App Header: More Compact */
    .pod-app-header {
        padding: 0 10px;
        height: 50px;
    }

    .app-brand {
        font-size: 1rem;
    }

    .nav-link {
        display: none;
    }

    /* Hide links on mobile */

    /* 2. Main Wrapper: Column Layout */
    .pod-app-container {
        height: 100vh !important;
        overflow: hidden;
    }

    .pod-main-body {
        flex-direction: column !important;
        height: calc(100vh - 50px) !important;
        position: relative;
    }

    /* 3. Workspace: Full Width, Top Priority */
    .studio-workspace-area {
        flex: 1 !important;
        width: 100% !important;
        height: auto !important;
        order: 1;
        margin-bottom: 60px;
        /* Space for Bottom Nav */
    }

    /* 4. Rail (Sidebar): Fixed Bottom Nav */
    .tools-rail {
        width: 100% !important;
        height: 60px !important;
        flex-direction: row !important;
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 100;
        border-right: none;
        border-top: 1px solid #e2e8f0;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 0 !important;
        background: #0f172a;
    }

    .rail-item {
        margin: 0 !important;
        width: auto !important;
        flex: 1;
        height: 100%;
        border-radius: 0;
        background: transparent;
        justify-content: center;
    }

    .rail-item i {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }

    .rail-item span {
        font-size: 0.65rem;
        display: block;
    }

    .rail-item.active {
        background: #1e293b;
        color: #3b82f6;
    }

    .rail-item.active::after {
        width: 100%;
        height: 3px;
        top: 0;
        left: 0;
        bottom: auto;
        border-radius: 0;
    }


    /* 5. Tools Drawer: Bottom Sheet */
    .tools-drawer {
        width: 100% !important;
        height: 50vh !important;
        /* Half screen height */
        position: fixed;
        bottom: 60px;
        /* Above nav bar */
        left: 0;
        z-index: 90;
        border-right: none;
        border-top: 1px solid #e2e8f0;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(120%);
        /* Hidden */
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: block !important;
    }

    /* Active State for Drawer */
    .tools-drawer.open {
        transform: translateY(0);
    }

    .drawer-panel {
        padding: 20px;
    }

    .product-grid-compact {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }
}
/* ========================================
   SMART CARD MODAL (QR)
   ======================================== */
.sc-modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.5); 
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.sc-modal-content {
    background-color: #fefefe;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 350px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: slideUp 0.3s;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.sc-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
}

.sc-modal-close:hover,
.sc-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.sc-qr-wrapper {
    margin: 20px 0;
    padding: 10px;
    background: white;
    display: inline-block;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
.sc-qr-wrapper img { display: block; width: 200px; height: 200px; }

.sc-modal h3 { margin-top: 0; color: #1e293b; }
.sc-modal p { color: #64748b; margin-bottom: 20px; }


/* ========================================
   HOMEPAGE: SMART CARD PROMO
   ======================================== */
@media (max-width: 900px) {
    .sc-promo-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 3rem !important;
    }
    .sc-features li {
        justify-content: center;
        text-align: left; /* Keep text aligned but list items center relative to col */
    }
    .sc-actions {
        justify-content: center;
    }
    .phone-mockup {
        width: 250px !important;
        height: 500px !important;
    }
    .floating-card {
        width: 180px !important;
        height: 110px !important;
        bottom: 30px !important;
        left: -10px !important;
    }
}


/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes sc-float {
    0% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-20px) rotate(-8deg); }
    100% { transform: translateY(0) rotate(-10deg); }
}

@keyframes sc-pulse {
    0% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.1; }
}

@keyframes sc-slideUpFade {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.sc-blob.one {
    animation: sc-pulse 8s infinite alternate ease-in-out;
}

.sc-blob.two {
    animation: sc-pulse 6s infinite alternate-reverse ease-in-out;
}

.animate-float {
    animation: sc-float 6s ease-in-out infinite;
}

.animate-up {
    animation: sc-slideUpFade 1s ease-out forwards;
}

