/* ===== Font Face Definitions ===== */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-RD-UI-FD-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-RD-UI-FD-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-RD-UI-FD-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-RD-UI-FD-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-RD-UI-FD-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-RD-UI-FD-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    line-height: 1.6;
    color: #2d3436;
    background-color: #fff;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul, ol {
    list-style: none;
}

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

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

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors - Industrial Adhesive Theme */
    --primary-color: #ff2d30;
    --primary-dark: #e02325;
    --primary-light: #ff5a5c;
    --secondary-color: #ffc734;
    --secondary-dark: #e6b429;
    --secondary-light: #ffd461;
    --accent-color: #ff6b35;
    --accent-dark: #e6612f;
    --accent-light: #ff8562;
    
    /* Industrial Colors */
    --industrial-blue: #2e86ab;
    --industrial-gray: #6c757d;
    --industrial-dark: #343a40;
    --industrial-orange: #fd7e14;
    
    /* Grayscale */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f4;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --black: #000000;
    
    /* Semantic Colors */
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    
    /* Layout */
    --container-max-width: 1400px;
    --container-padding: 2rem;
    --section-padding: 6rem 0;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ===== Layout Components ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

/* ===== Header Styles ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.brand-tagline {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    font-weight: 500;
}

.navbar-contact {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
}

.navbar-contact .contact-item i {
    color: var(--primary-color);
    font-size: var(--font-size-sm);
}

.navbar-contact a {
    font-weight: 500;
    transition: var(--transition-base);
}

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

/* Cart Icon Styles */
.header-cart {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
}

.cart-link:hover {
    color: var(--primary-color);
    background: rgba(255, 45, 48, 0.1);
    transform: translateY(-1px);
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon-wrapper i {
    font-size: 1.2rem;
    color: inherit;
    transition: all 0.3s ease;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(255, 45, 48, 0.3);
    animation: cartPulse 2s ease-in-out infinite;
}

.cart-count:empty {
    display: none !important;
}

.cart-count {
    opacity: 1 !important;
    visibility: visible !important;
}

.cart-text {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

@keyframes cartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Cart hover effects */
.cart-link:hover .cart-icon-wrapper i {
    transform: scale(1.1);
}

.cart-link:hover .cart-count {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(255, 45, 48, 0.4);
}

/* Mobile responsive cart styles */
@media (max-width: 768px) {
    .header-cart {
        margin-left: 10px;
    }
    
    .cart-text {
        display: none; /* Hide text on mobile, show only icon */
    }
    
    .cart-link {
        padding: 6px 8px;
        gap: 4px;
    }
    
    .cart-icon-wrapper i {
        font-size: 1.1rem;
    }
    
    .cart-count {
        min-width: 16px;
        height: 16px;
        font-size: 0.7rem;
        top: -6px;
        right: -6px;
    }
}

@media (max-width: 480px) {
    .navbar-contact {
        gap: 1rem; /* Reduce spacing on very small screens */
    }
    
    .contact-item {
        display: none; /* Hide contact info on very small screens to make room for cart */
    }
    
    .header-cart {
        margin-left: 0;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(255, 45, 48, 0.1);
}

/* ===== Footer Styles ===== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-brand h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin: 1rem 0;
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 60px;
    width: auto;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-products h4,
.footer-contact h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul,
.footer-products ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-links a,
.footer-products a {
    color: var(--gray-400);
    transition: var(--transition-base);
}

.footer-links a:hover,
.footer-products a:hover {
    color: var(--primary-color);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-400);
}

.footer-contact-item i {
    color: var(--primary-color);
    width: 20px;
}

.footer-contact-item a {
    color: var(--gray-400);
    transition: var(--transition-base);
}

.footer-contact-item a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-400);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
    transition: var(--transition-base);
}

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

/* ===== Button Styles ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

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

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Section Headers ===== */
.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 45, 48, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 45, 48, 0.1) 2px, transparent 2px),
                      radial-gradient(circle at 75% 75%, rgba(255, 107, 53, 0.1) 2px, transparent 2px);
    background-size: 100px 100px;
    animation: particles 20s linear infinite;
}

@keyframes particles {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, -100px); }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 45, 48, 0.1);
    color: var(--primary-color);
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.title-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    font-weight: 500;
}

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

.hero-visual {
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-product-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: scroll-indicator 2s infinite;
}

@keyframes scroll-indicator {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* ===== About Section ===== */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

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

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

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    cursor: pointer;
    transition: var(--transition-base);
}

.play-button:hover {
    transform: scale(1.1);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ===== Products Section ===== */
.products {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    margin: 0 auto 1.5rem;
}

.product-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.product-features i {
    color: var(--success-color);
    font-size: var(--font-size-sm);
}

/* ===== Features Section ===== */
.features {
    padding: var(--section-padding);
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

.feature-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-sm);
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== Applications Section ===== */
.applications {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.applications-container {
    max-width: 1000px;
    margin: 0 auto;
}

.applications-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--gray-700);
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.applications-content {
    position: relative;
}

.tab-content {
    display: none;
    margin-bottom: 10px
}

.tab-content.active {
    display: block;
}

.application-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.application-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.app-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.application-text h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.application-text ul {
    list-style: none;
}

.application-text li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    position: relative;
    padding-right: 1.5rem;
}

.application-text li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    padding: 10px
}

/* ===== Advantages Section ===== */
.advantages {
    padding: var(--section-padding);
    background: var(--white);
}

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

.advantages-list {
    display: grid;
    gap: 2rem;
}

.advantage-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-content h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.advantage-content p {
    color: var(--gray-600);
    line-height: 1.6;
}

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

.stat-circle {
    width: 150px;
    height: 150px;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
}

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

.stat-circle .stat-number {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-circle .stat-label {
    font-size: var(--font-size-xs);
    color: var(--gray-600);
    font-weight: 500;
}

/* ===== CTA Section ===== */
.cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-description {
    font-size: var(--font-size-lg);
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-visual {
    position: relative;
}

.cta-decoration {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.decoration-circle {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.decoration-circle:nth-child(2) {
    animation-delay: 1s;
}

.decoration-circle:nth-child(3) {
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===== Contact Section ===== */
.contact {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-note {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    margin-top: 0.25rem;
}

/* ===== Contact Form ===== */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray-600);
}

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

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

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ===== Single Post Styles ===== */

/* Single Post Main */
.single-post-main {
    padding: var(--section-padding);
    background: var(--white);
}

.single-post-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Post Article */
.post-article {
    background: var(--white);
}

.post-header {
    margin-bottom: 3rem;
}

.post-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-category-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.post-meta-info span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.post-meta-info i {
    color: var(--primary-color);
}

.post-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.post-excerpt {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    line-height: 1.6;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border-right: 4px solid var(--primary-color);
}

/* Featured Image */
.post-featured-image {
    margin: 3rem 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 1rem;
    text-align: center;
    font-size: var(--font-size-sm);
}

/* Post Content */
.post-content {
    line-height: 1.8;
    color: var(--gray-700);
    font-size: var(--font-size-base);
    max-width: none;
}

/* Paragraphs */
.post-content p {
    margin-bottom: 1.8rem;
    text-align: justify;
    line-height: 2;
    color: var(--gray-700);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.post-content p:last-child {
    margin-bottom: 0;
}

/* Headings */
.post-content h1 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--gray-900);
    margin: 3rem 0 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.post-content h1::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 100px;
    height: 3px;
    background: var(--accent-color);
}

.post-content h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--gray-900);
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.post-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

.post-content h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--gray-900);
    margin: 2rem 0 1rem;
    padding-right: 1rem;
    border-right: 4px solid var(--primary-color);
    background: linear-gradient(90deg, rgba(255, 45, 48, 0.05) 0%, transparent 100%);
    padding: 0.75rem 1rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-content h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-800);
    margin: 1.8rem 0 1rem;
    position: relative;
    padding-right: 1.5rem;
}

.post-content h4::before {
    content: '▎';
    color: var(--primary-color);
    font-size: 1.2em;
    position: absolute;
    right: 0;
    top: 0;
}

.post-content h5 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-800);
    margin: 1.5rem 0 0.75rem;
}

.post-content h6 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--gray-700);
    margin: 1.2rem 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Text formatting */
.post-content strong {
    font-weight: 700;
    color: var(--gray-900);
}

.post-content em {
    font-style: italic;
    color: var(--gray-800);
}

.post-content mark {
    background: linear-gradient(120deg, transparent 0%, var(--secondary-color) 0%, var(--secondary-color) 100%, transparent 100%);
    padding: 0.1em 0.3em;
    border-radius: 3px;
}

.post-content u {
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.post-content del {
    text-decoration: line-through;
    text-decoration-color: var(--danger-color);
    opacity: 0.7;
}

/* Lists */
.post-content ul,
.post-content ol {
    margin: 2rem 0;
    padding-right: 2rem;
}

.post-content ul {
    list-style: none;
}

.post-content ul li {
    position: relative;
    padding-right: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.post-content ul li::before {
    content: '●';
    color: var(--primary-color);
    font-size: 1.2em;
    position: absolute;
    right: 0.5rem;
    top: 0;
    line-height: 1.5;
}

.post-content ul ul li::before {
    content: '○';
    color: var(--accent-color);
}

.post-content ul ul ul li::before {
    content: '■';
    color: var(--secondary-color);
    font-size: 0.8em;
    top: 0.3em;
}

.post-content ol {
    list-style: none;
    counter-reset: item;
}

.post-content ol li {
    position: relative;
    padding-right: 3rem;
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: var(--gray-700);
    counter-increment: item;
}

.post-content ol li::before {
    content: counter(item, decimal);
    position: absolute;
    right: 0;
    top: 0;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    font-size: 0.85em;
    width: 1.8em;
    height: 1.8em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.post-content ol ol li::before {
    background: var(--accent-color);
    content: counter(item, lower-alpha);
}

.post-content ol ol ol li::before {
    background: var(--secondary-color);
    content: counter(item, lower-roman);
}

/* Nested lists spacing */
.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul {
    margin: 0.75rem 0;
    padding-right: 1.5rem;
}

/* Blockquotes */
.post-content blockquote {
    margin: 2.5rem 0;
    padding: 2rem 2.5rem 2rem 2rem;
    background: linear-gradient(135deg, rgba(255, 45, 48, 0.03) 0%, rgba(255, 107, 53, 0.03) 100%);
    border-right: 5px solid var(--primary-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.post-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    font-family: Georgia, serif;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    line-height: 1;
    opacity: 0.3;
}

.post-content blockquote p {
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--gray-800);
    font-size: 1.05em;
    line-height: 1.9;
    position: relative;
    z-index: 1;
}

.post-content blockquote p:last-child {
    margin-bottom: 0;
}

.post-content blockquote cite {
    display: block;
    text-align: left;
    margin-top: 1rem;
    color: var(--gray-600);
    font-size: 0.9em;
    font-style: normal;
}

.post-content blockquote cite::before {
    content: '— ';
}

/* Links */
.post-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
    position: relative;
}

.post-content a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-color);
}

.post-content a:visited {
    color: var(--accent-color);
}

/* Images */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 2rem auto;
    display: block;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.post-content img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Tables */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.post-content table th,
.post-content table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid var(--gray-200);
}

.post-content table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-900);
    border-bottom: 2px solid var(--primary-color);
}

.post-content table tr:hover {
    background: var(--gray-50);
}

/* Code */
.post-content code {
    background: var(--gray-100);
    color: var(--gray-800);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

.post-content pre {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.post-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-size: 0.9em;
    line-height: 1.6;
}

/* Horizontal Rule */
.post-content hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 3rem 0;
    border-radius: 2px;
}

/* Definition Lists */
.post-content dl {
    margin: 2rem 0;
}

.post-content dt {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-300);
    padding-bottom: 0.25rem;
}

.post-content dd {
    margin-bottom: 1.5rem;
    margin-right: 1rem;
    color: var(--gray-700);
    line-height: 1.7;
}

/* ===== Category Page Styles ===== */

/* Category Header */
.category-header {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--gray-200);
}

.category-header-content {
    text-align: center;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Category Filter */
.category-filter {
    margin-top: 2rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--gray-700);
    text-decoration: none;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    opacity: 1;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn > * {
    position: relative;
    z-index: 1;
}

.category-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2em 0.5em;
    border-radius: 1rem;
    font-size: 0.85em;
    font-weight: 600;
}

/* Posts Grid Section */
.posts-grid-section {
    padding: 4rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Post Card */
.post-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
}

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

.post-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.post-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.post-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.post-category span {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 1.5rem;
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color var(--transition-base);
}

.post-link:hover .post-title {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: var(--font-size-sm);
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.post-date,
.post-read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.post-date i,
.post-read-time i {
    color: var(--primary-color);
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 4rem 0;
}

.no-posts-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-posts-content i {
    font-size: 4rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.no-posts-content h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.no-posts-content p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination-item {
    margin: 0;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gray-100);
    color: var(--gray-700);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-300);
}

.pagination-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.pagination-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-dots {
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    color: var(--gray-500);
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 4rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-text h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.newsletter-text p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    line-height: 1.6;
}

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

.form-group {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.form-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-base);
    background: rgba(255, 255, 255, 0.95);
    color: var(--gray-900);
    transition: all var(--transition-base);
}

.form-group input:focus {
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-group input::placeholder {
    color: var(--gray-500);
}

.form-group .btn {
    padding: 1rem 2rem;
    white-space: nowrap;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    font-weight: 600;
}

.form-group .btn:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.form-message {
    padding: 0.75rem;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    margin-top: 0.5rem;
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.2);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-header {
        padding: 3rem 0 2rem;
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .section-description {
        font-size: var(--font-size-base);
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: var(--font-size-xs);
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-image {
        height: 200px;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .pagination-list {
        gap: 0.25rem;
    }
    
    .pagination-link {
        width: 2rem;
        height: 2rem;
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 480px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-content {
        padding: 1rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ===== WooCommerce Shop Page Styles ===== */

/* Products Header */
.products-header {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--gray-200);
}

.products-header-content {
    text-align: center;
}

/* Products Grid Section */
.products-grid-section {
    padding: 4rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
}

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

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

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

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

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

/* Product Badges */
.product-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 1.5rem;
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.badge-sale {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: var(--white);
}

.badge-featured {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.badge-new {
    background: linear-gradient(135deg, #51cf66, #40c057);
    color: var(--white);
}

.badge-premium {
    background: linear-gradient(135deg, #ffd43b, #fab005);
    color: var(--gray-900);
}

.badge-bestseller {
    background: linear-gradient(135deg, #845ef7, #7048e8);
    color: var(--white);
}

.badge-industrial {
    background: linear-gradient(135deg, #495057, #343a40);
    color: var(--white);
}

.badge-out-of-stock {
    background: linear-gradient(135deg, #868e96, #6c757d);
    color: var(--white);
}

/* Product Overlay */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.product-card:hover .product-overlay {
    opacity: 1;
    visibility: visible;
}



/* Product Content */
.product-content {
    padding: 1.5rem;
}

.product-category {
    margin-bottom: 0.75rem;
}

.product-category span {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.product-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color var(--transition-base);
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-link:hover .product-title {
    color: var(--primary-color);
}

.product-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: var(--font-size-sm);
    min-height: 2.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.2rem;
    color: #ffd43b;
}

.rating-count {
    color: var(--gray-500);
    font-size: var(--font-size-xs);
}

/* Product Price */
.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.old-price {
    color: var(--gray-500);
    text-decoration: line-through;
    font-size: var(--font-size-sm);
}

.new-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: var(--font-size-lg);
}

/* No Products Found */
.no-products-found {
    text-align: center;
    padding: 4rem 0;
}

.no-products-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-products-content i {
    font-size: 4rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.no-products-content h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.no-products-content p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Newsletter Section for Shop */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 4rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-text h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.newsletter-text p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    line-height: 1.6;
}





/* Loading State for Products */
.products-loading {
    text-align: center;
    padding: 4rem 0;
    color: var(--gray-600);
}

.products-loading i {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* Responsive Design for Shop */
@media (max-width: 768px) {
    .products-header {
        padding: 3rem 0 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-image {
        height: 220px;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .cart-message {
        right: 1rem;
        left: 1rem;
        top: 1rem;
    }
}

@media (max-width: 480px) {
    
    .product-meta {
        gap: 0.75rem;
    }
    
    .product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Info and Warning Boxes */
.info-box,
.warning-box {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-right: 4px solid;
}

.info-box {
    background: #e8f4fd;
    border-color: var(--info-color);
}

.warning-box {
    background: #fff3cd;
    border-color: var(--warning-color);
}

.info-box-header,
.warning-box-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.info-box-header h4,
.warning-box-header h4 {
    margin: 0;
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.info-box-header i {
    color: var(--info-color);
}

.warning-box-header i {
    color: var(--warning-color);
}

/* Post Tags */
.post-tags {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-200);
}

.post-tags h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-link {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: var(--transition-base);
}

.tag-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-200);
}

.nav-previous,
.nav-next {
    background: var(--gray-50);
    border-radius: var(--border-radius);
    transition: var(--transition-base);
}

.nav-previous:hover,
.nav-next:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.nav-link {
    display: block;
    padding: 1.5rem;
    color: var(--gray-700);
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.nav-title {
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
}

/* Sidebar */
.post-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

/* Table of Contents */
.toc-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-nav li {
    margin-bottom: 0.5rem;
}

.toc-nav a {
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    padding: 0.25rem 0;
    display: block;
    transition: var(--transition-base);
}

.toc-nav a:hover {
    color: var(--primary-color);
    padding-right: 0.5rem;
}

/* Author Info */
.author-info {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--gray-200);
}

.author-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.author-bio {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

/* Categories Widget */
.categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.categories-list li {
    border-bottom: 1px solid var(--gray-200);
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--gray-700);
    transition: var(--transition-base);
}

.categories-list a:hover {
    color: var(--primary-color);
    padding-right: 0.5rem;
}

.category-count {
    background: var(--gray-200);
    color: var(--gray-600);
    font-size: var(--font-size-xs);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
}

/* Related Posts Section */
.related-posts-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.related-post-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.related-post-link {
    display: block;
    color: inherit;
}

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

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

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

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

.related-post-content {
    padding: 1.5rem;
}

.related-post-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.related-post-excerpt {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.related-post-meta {
    color: var(--gray-500);
    font-size: var(--font-size-xs);
}

.view-all-posts {
    text-align: center;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    :root {
        --container-padding: 1.5rem;
        --section-padding: 4rem 0;
    }
    
    .hero-content,
    .about-content,
    .advantages-content,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Tablet responsive - hide contact info to prevent logo overlap */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar-contact {
        display: none;
    }
    
    .navbar .container {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 3rem 0;
        --font-size-4xl: 1.75rem;
        --font-size-5xl: 2rem;
    }
    
    /* Header responsive */
    .navbar-contact {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navbar-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
        z-index: 1001;
    }
    
    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-menu li {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    
    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    /* Single post responsive */
    .single-post-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-sidebar {
        position: static;
        order: -1;
    }
    
    .post-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .post-meta-info {
        gap: 1rem;
    }
    
    .post-title {
        font-size: var(--font-size-3xl);
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-sm);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    

    
    .applications-tabs {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .application-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-circle {
        width: 120px;
        height: 120px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 0.75rem;
        --font-size-3xl: 1.5rem;
        --font-size-4xl: 1.5rem;
        --font-size-5xl: 1.75rem;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: 80px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-circle {
        width: 100px;
        height: 100px;
    }
    
    .stat-circle .stat-number {
        font-size: var(--font-size-lg);
    }
}

/* ==========================================
   PRODUCT PAGE STYLING
   ========================================== */

/* Breadcrumb Section */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 20px 0;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.breadcrumb-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,0 1000,80 0,100"/></svg>');
    animation: breadcrumbShine 3s ease-in-out infinite;
}

@keyframes breadcrumbShine {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.woocommerce-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.woocommerce-breadcrumb a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
}

.woocommerce-breadcrumb a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin: 0 4px;
}

.woocommerce-breadcrumb .current {
    color: white;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
}

/* Product Section */
.product-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 50%, var(--gray-50) 100%);
    position: relative;
}

.product-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--industrial-blue));
}

.product-details-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Product Gallery */
.product-gallery-wrapper {
    position: sticky;
    top: 120px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-container {
    position: relative;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 3px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-image-container::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    border-radius: 23px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image-container:hover::before {
    opacity: 1;
}

.main-image-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 45, 48, 0.2);
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.product-badges .badge {
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-sale {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    animation: badgePulse 2s ease-in-out infinite;
}

.badge-quality {
    background: linear-gradient(135deg, var(--industrial-blue), var(--secondary-color));
    color: white;
    animation: badgePulse 2s ease-in-out infinite 0.5s;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.zoom-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.zoom-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.zoom-btn i {
    color: var(--gray-700);
    font-size: 1.1rem;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 5px;
}

.thumbnail-item {
    flex: none;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    position: relative;
}

.thumbnail-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 45, 48, 0.2);
}

.thumbnail-item:hover::before {
    opacity: 0.7;
}

.thumbnail-item.active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 45, 48, 0.3);
}

.thumbnail-item.active::before {
    opacity: 1;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Variation Thumbnails */
.variation-thumb {
    position: relative;
}

.variation-indicator {
    position: absolute;
    bottom: 2px;
    left: 2px;
    right: 2px;
    background: linear-gradient(135deg, var(--industrial-blue), var(--secondary-color));
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    padding: 2px 4px;
    border-radius: 4px;
    opacity: 0.9;
    animation: indicatorGlow 2s ease-in-out infinite;
}

.variation-thumb:hover .variation-indicator {
    opacity: 1;
    transform: scale(1.05);
}

.variation-thumb.active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 134, 171, 0.3);
}

.variation-thumb.active::before {
    background: linear-gradient(135deg, var(--industrial-blue), var(--secondary-color));
    opacity: 1;
}

@keyframes indicatorGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(46, 134, 171, 0.5); }
    50% { box-shadow: 0 0 15px rgba(46, 134, 171, 0.8); }
}

/* Product Info */
.product-info-wrapper {
    padding: 20px 0;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-meta .product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin: 0;
    min-height: auto;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
}

.product-rating-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.star-rating {
    position: relative;
    display: inline-block;
    color: var(--gray-300);
    font-size: 1.2rem;
}

.star-rating span {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--yellow-400);
    overflow: hidden;
    white-space: nowrap;
}

.rating-count {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.rating-count:hover {
    color: var(--red-600);
}

.product-sku {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Product Price */
.product-price {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.old-price {
    font-size: 1.3rem;
    color: var(--gray-500);
    text-decoration: line-through;
    font-weight: 500;
}

.new-price {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    filter: drop-shadow(0 2px 4px rgba(255, 45, 48, 0.3));
}

.discount-percent {
    background: linear-gradient(135deg, var(--secondary-color), var(--industrial-orange));
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 199, 52, 0.4);
    animation: discountPulse 2s ease-in-out infinite;
}

@keyframes discountPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Product Description */
.product-short-description {
    padding: 25px;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 50%, rgba(255, 199, 52, 0.1) 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 45, 48, 0.2);
    position: relative;
    overflow: hidden;
}

.product-short-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.product-short-description p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

/* Product Variations */
.product-variations {
    padding: 25px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 15px;
}

.variation-option label {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.variation-select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.variation-select:focus {
    border-color: var(--red-500);
    outline: none;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Purchase Section */
.product-purchase-section {
    display: flex;
    gap: 30px;
    align-items: end;
    flex-wrap: wrap;
}

.quantity-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quantity-section label {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1.1rem;
}

.quantity-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.quantity-btn {
    width: 45px;
    height: 50px;
    border: none;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--red-500);
    color: white;
}

.quantity-input {
    width: 80px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    background: white;
}

.quantity-input:focus {
    outline: none;
}



.add-to-cart-single {
    flex: 1;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 55px;
    position: relative;
    overflow: hidden;
}

.add-to-cart-single::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.add-to-cart-single:hover::before {
    left: 100%;
}

.add-to-cart-single:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 45, 48, 0.4);
}

.wishlist-btn-single,
.compare-btn {
    width: 55px;
    height: 55px;
    border: 2px solid var(--gray-300);
    background: white;
    color: var(--gray-600);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.wishlist-btn-single:hover {
    border-color: var(--primary-color);
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 45, 48, 0.3);
}

.compare-btn:hover {
    border-color: var(--industrial-blue);
    color: white;
    background: linear-gradient(135deg, var(--industrial-blue), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 134, 171, 0.3);
}

/* Product Features */
.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(46, 134, 171, 0.1) 0%, rgba(255, 199, 52, 0.1) 50%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: 15px;
    border: 1px solid rgba(46, 134, 171, 0.3);
    position: relative;
    overflow: hidden;
}

.product-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--industrial-blue), var(--secondary-color), var(--accent-color));
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
}

.feature-item i {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    flex: none;
    filter: drop-shadow(0 2px 4px rgba(255, 45, 48, 0.3));
}

.feature-item span {
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
    line-height: 1.4;
}

/* Product Share */
.product-share {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--gray-50);
    border-radius: 15px;
    border: 1px solid var(--gray-200);
}

.share-label {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn:nth-child(1) { background: linear-gradient(135deg, #0088cc, #0077b5); }
.share-btn:nth-child(2) { background: linear-gradient(135deg, #25d366, #128c7e); }
.share-btn:nth-child(3) { background: linear-gradient(135deg, #1da1f2, #0d8bd9); }
.share-btn:nth-child(4) { background: linear-gradient(135deg, var(--gray-600), var(--gray-700)); }

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Product Tabs */
.product-tabs-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 45, 48, 0.05) 0%, white 50%, rgba(255, 199, 52, 0.05) 100%);
    position: relative;
}

.product-tabs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.product-tabs-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.tabs-navigation {
    display: flex;
    gap: 5px;
    margin-bottom: 40px;
    background: var(--gray-100);
    padding: 8px;
    border-radius: 15px;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 15px 25px;
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 12px rgba(255, 45, 48, 0.3);
    transform: translateY(-2px);
}

.tab-btn:hover:not(.active) {
    background: var(--gray-200);
    color: var(--gray-800);
}

.tabs-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

.tab-content h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color)) 1;
    display: inline-block;
}

.tab-content h4 {
    color: var(--gray-800);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
}

.tab-content p {
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.tab-content ul {
    padding-right: 0;
    list-style: none;
}

.tab-content ul li {
    position: relative;
    padding: 10px 0 10px 30px;
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Specifications Table */
.specifications-table {
    display: grid;
    gap: 15px;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.spec-row:hover {
    background: white;
    border-color: var(--red-300);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.spec-label {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1.05rem;
}

.spec-value {
    color: var(--gray-700);
    font-size: 1.05rem;
}

/* Reviews Section */
.reviews-summary {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--indigo-50) 100%);
    border-radius: 15px;
    border: 1px solid var(--blue-200);
}

.rating-overview {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
}

.overall-rating {
    text-align: center;
}

.rating-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.star-rating.large {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.rating-text {
    color: var(--gray-600);
    font-size: 0.95rem;
    font-weight: 500;
}

.rating-breakdown {
    display: grid;
    gap: 12px;
}

.rating-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 15px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.bar-container {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500));
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Reviews List */
.reviews-list {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.review-item {
    padding: 25px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.review-item:hover {
    border-color: var(--red-300);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.reviewer-name {
    color: var(--gray-900);
    font-size: 1.1rem;
    font-weight: 600;
}

.review-date {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.review-content p {
    margin: 0;
    line-height: 1.7;
    color: var(--gray-700);
    font-size: 1.05rem;
}

/* Review Form */
.review-form-section {
    padding: 30px;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    border-radius: 15px;
    border: 1px solid var(--gray-200);
}

.review-form-section h4 {
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--gray-900);
    font-size: 1.5rem;
    font-weight: 600;
}

.review-form {
    display: grid;
    gap: 25px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--red-500);
    outline: none;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

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

/* Rating Input */
.rating-input {
    display: flex;
    gap: 5px;
    direction: ltr;
    justify-content: flex-end;
}

.rating-input input {
    display: none;
}

.rating-input label {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--gray-300);
    transition: all 0.3s ease;
    padding: 5px;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
    color: var(--yellow-400);
}

.review-form .btn {
    justify-self: start;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Shipping Info */
.shipping-info {
    display: grid;
    gap: 30px;
}

.shipping-info h4 {
    color: var(--gray-900);
    margin: 0 0 15px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--red-500), var(--red-600));
    color: white;
    border-radius: 10px;
    font-size: 1.2rem;
}

.shipping-info ul {
    padding-right: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.shipping-info ul li {
    position: relative;
    padding: 15px 15px 15px 40px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.shipping-info ul li:hover {
    border-color: var(--red-300);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}



/* Related Products */
.related-products-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 45, 48, 0.03) 0%, white 30%, rgba(255, 199, 52, 0.03) 70%, rgba(255, 107, 53, 0.03) 100%);
    position: relative;
}

.related-products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--industrial-blue));
}

.related-products-section .section-header {
    margin-bottom: 50px;
}

.related-products-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 4px 8px rgba(255, 45, 48, 0.2);
}

.related-products-section .section-description {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-products-section .product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.related-products-section .product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 45, 48, 0.2);
    border-color: var(--primary-color);
}

.related-products-section .product-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 21px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-products-section .product-card:hover::before {
    opacity: 0.1;
}

.related-products-section .product-card {
    position: relative;
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-50);
}

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

.related-products-section .product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.product-image-wrapper .product-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.product-info h3 a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-info h3 a:hover {
    color: var(--red-600);
}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

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

.price.old-price {
    color: var(--gray-500);
    text-decoration: line-through;
    font-size: 1rem;
}

.price.new-price {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Responsive Design for Product Page */
@media (max-width: 1024px) {
    .product-details-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-gallery-wrapper {
        position: static;
    }
    
    .product-purchase-section {
        flex-direction: column;
        align-items: stretch;
    }
    

    
    .tabs-navigation {
        justify-content: center;
    }
    
    .rating-overview {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .product-section {
        padding: 40px 0;
    }
    
    .product-meta .product-title {
        font-size: 2rem;
    }
    
    .new-price {
        font-size: 1.6rem;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .tabs-content {
        padding: 25px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .spec-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .spec-label {
        font-weight: 700;
        color: var(--red-600);
    }
    
    .breadcrumb-section {
        padding: 15px 0;
    }
    
    .woocommerce-breadcrumb {
        font-size: 0.8rem;
    }
    
    .product-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .product-features {
        padding: 20px;
    }
    
    .feature-item {
        padding: 12px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .thumbnail-gallery {
        justify-content: center;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
}

/* Cart Notification Styles */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 350px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.cart-notification-success {
    border-left-color: #28a745;
}

.cart-notification-success i {
    color: #28a745;
}

.cart-notification-error {
    border-left-color: #dc3545;
}

.cart-notification-error i {
    color: #dc3545;
}

.cart-notification i {
    font-size: 1.1rem;
    flex: none;
}

/* Mobile notification styles */
@media (max-width: 768px) {
    .cart-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .cart-notification.show {
        transform: translateY(0);
    }
}

/* Add to cart button loading and success states */
.add-to-cart-single:disabled {
    cursor: not-allowed;
}

.add-to-cart-single .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Cart Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 60px 0 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,0 1000,80 0,100"/></svg>');
    animation: breadcrumbShine 3s ease-in-out infinite;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.breadcrumb a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.7);
}

.cart-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 50%, var(--gray-50) 100%);
}

.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* Cart Items Section */
.cart-items-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-100);
}

.cart-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.items-count {
    background: linear-gradient(135deg, var(--secondary-color), var(--industrial-orange));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 154px 120px 60px;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 20px;
    margin: 0 -20px;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-item-image:hover img {
    transform: scale(1.1);
}

.cart-item-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.cart-item-details a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-item-details a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.variation-info {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.unit-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quantity-btn {
    background: var(--gray-100);
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    position: relative;
}

.quantity-btn i,
.quantity-btn svg {
    font-size: 0.9rem;
    width: 14px;
    height: 14px;
    display: block;
}

.quantity-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: scale(1.05);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-btn.minus {
    border-right: 1px solid var(--gray-200);
}

.quantity-btn.plus {
    border-left: 1px solid var(--gray-200);
}

.quantity-input {
    border: none;
    padding: 10px 12px;
    text-align: center;
    width: 60px;
    background: white;
    font-weight: 600;
    height: 40px;
    outline: none;
    box-sizing: border-box;
}

.total-price {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.remove-item {
    background: transparent;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-500);
}

.remove-item:hover {
    border-color: #dc3545;
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

/* Cart Summary Section */
.cart-summary-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cart-summary {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    top: 120px;
}

.cart-summary h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.summary-row:last-child {
    border-bottom: none;
}

.total-row {
    border-top: 2px solid var(--gray-200);
    padding-top: 20px;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 700;
}

.total-amount {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.free-shipping {
    color: #28a745;
    font-weight: 600;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.cart-actions .btn {
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 45, 48, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.shipping-info-box {
    background: linear-gradient(135deg, rgba(46, 134, 171, 0.1) 0%, rgba(255, 199, 52, 0.1) 100%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(46, 134, 171, 0.2);
}

.shipping-info-box h4 {
    color: var(--industrial-blue);
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shipping-info-box ul {
    list-style: none;
    padding: 0;
}

.shipping-info-box li {
    padding: 8px 0;
    color: var(--gray-700);
    position: relative;
    padding-right: 20px;
}

.shipping-info-box li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #28a745;
    font-weight: bold;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-content {
    max-width: 500px;
    margin: 0 auto;
}

.empty-cart-icon {
    font-size: 5rem;
    color: var(--gray-300);
    margin-bottom: 30px;
}

.empty-cart h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 15px;
}

.empty-cart p {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Additional quantity button fixes */
.quantity-controls .quantity-btn {
    background: var(--gray-100) !important;
    border: none !important;
    outline: none !important;
}

.quantity-controls .quantity-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
}

/* Ensure SVG icons inherit color */
.quantity-btn svg path {
    fill: currentColor;
}

/* Force icon visibility for both FontAwesome formats */
.quantity-btn i.fa-plus::before {
    content: '+';
    font-family: inherit;
    font-weight: bold;
    font-size: 14px;
}

.quantity-btn i.fa-minus::before {
    content: '−';
    font-family: inherit;
    font-weight: bold;
    font-size: 14px;
}

/* Alternative: Use CSS content if FontAwesome fails */
.quantity-btn.plus::after {
    content: '+';
    font-family: inherit;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
}

.quantity-btn.minus::after {
    content: '−';
    font-family: inherit;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
}

/* Hide CSS content when FontAwesome icons are present */
.quantity-btn:has(i)::after,
.quantity-btn:has(svg)::after {
    display: none;
}

/* Fallback for browsers that don't support :has() */
.quantity-btn i,
.quantity-btn svg {
    position: relative;
    z-index: 2;
}

/* Ensure buttons have minimum styling even without icons */
.quantity-btn {
    position: relative;
}

.quantity-btn:empty.plus::after,
.quantity-btn.plus:not(:has(i)):not(:has(svg))::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
}

.quantity-btn:empty.minus::after,
.quantity-btn.minus:not(:has(i)):not(:has(svg))::after {
    content: '−';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .cart-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .cart-item-quantity,
    .cart-item-total {
        grid-column: 2;
        margin-top: 10px;
    }
    
    .cart-item-remove {
        grid-column: 2;
        justify-self: end;
        margin-top: 10px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .cart-actions {
        gap: 10px;
    }
    
    .cart-actions .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .quantity-controls {
        max-width: 140px;
    }
    
    .quantity-btn {
        min-width: 35px;
        height: 35px;
        padding: 8px 10px;
    }
    
    .quantity-input {
        height: 35px;
        width: 50px;
    }
}

/* Checkout Page Styles */
.checkout-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 50%, var(--gray-50) 100%);
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
    align-items: start;
}

/* Checkout Form Section */
.checkout-form-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.checkout-customer-info {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--gray-100);
}

.checkout-customer-info:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.checkout-customer-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
}



.customer-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Enhanced styling for simplified checkout form */
.customer-fields .form-row-wide {
    grid-column: 1 / -1;
}

.customer-fields .form-row label {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
    font-size: 1rem;
}

.customer-fields .form-row input,
.customer-fields .form-row textarea {
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.customer-fields .form-row input:focus,
.customer-fields .form-row textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 45, 48, 0.1);
    transform: translateY(-1px);
}

.customer-fields .form-row textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-row {
    display: flex;
    flex-direction: column;
}

.form-row.form-row-wide {
    grid-column: 1 / -1;
}

.form-row label {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.required {
    color: var(--primary-color);
    font-weight: 700;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 45, 48, 0.1);
}

.form-row textarea {
    resize: vertical;
    min-height: 100px;
}

/* Order Review Section */
.checkout-order-review {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-review-wrapper {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    position: sticky;
    top: 120px;
}

.order-review-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-items {
    margin-bottom: 25px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-100);
}

.order-item:last-child {
    border-bottom: none;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-name {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.95rem;
}

.item-quantity {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.item-total {
    font-weight: 600;
    color: var(--gray-800);
}

.order-totals {
    border-top: 2px solid var(--gray-100);
    padding-top: 20px;
    margin-bottom: 30px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.final-total {
    border-top: 2px solid var(--gray-200);
    padding-top: 15px;
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

.total-amount {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.free-shipping {
    color: #28a745;
    font-weight: 600;
}

/* Payment Methods */
.payment-methods {
    margin-bottom: 30px;
}

.payment-methods h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    background: var(--gray-50);
}

.payment-option:hover {
    border-color: var(--primary-color);
    background: white;
}

.payment-option label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-800);
}

.payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

/* Privacy Policy */
.privacy-policy {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 45, 48, 0.05) 0%, rgba(255, 199, 52, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 45, 48, 0.2);
}

.privacy-policy label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.privacy-policy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.woocommerce-terms-and-conditions-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

/* Place Order Button */
.place-order {
    text-align: center;
}

.place-order-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.place-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 45, 48, 0.3);
}

.place-order-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.secure-checkout i {
    color: #28a745;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .order-review-wrapper {
        position: static;
    }
}

@media (max-width: 768px) {
    .customer-fields {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .checkout-customer-info {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .order-review-wrapper {
        padding: 20px;
    }
    
    .place-order-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
}

/* ============================================
   Modern WooCommerce Checkout Styling
   ============================================ */

/* Checkout Container Enhancement */
.woocommerce.woocommerce-checkout {
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

/* Coupon Section */
.woocommerce-form-coupon-toggle {
    margin-bottom: 30px;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
    background: linear-gradient(135deg, #e3f2fd, #f1f8e9);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 20px 20px 20px 60px;
    font-size: 1rem;
    color: var(--gray-700);
    position: relative;
    overflow: hidden;
    margin: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.woocommerce-form-coupon-toggle .woocommerce-info::before {
    content: '🎫';
    top: 50%;
    right: 20px;
    font-size: 1.5rem;
    opacity: 0.7;
}

.woocommerce-form-coupon-toggle .showcoupon {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.woocommerce-form-coupon-toggle .showcoupon:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Coupon Form */
.checkout_coupon {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 15px;
    align-items: end;
}

.checkout_coupon .form-row {
    margin-bottom: 0;
    flex: 1;
}

.checkout_coupon .form-row-first {
    flex: 2;
}

.checkout_coupon .form-row-last {
    flex: 1;
}

.checkout_coupon input[type="text"] {
    padding: 15px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    width: 100%;
    direction: rtl;
    text-align: right;
    transition: all 0.3s ease;
}

.checkout_coupon input[type="text"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    outline: none;
}

.checkout_coupon button {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    height: fit-content;
}

.checkout_coupon button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Main Checkout Form Layout */
.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    width: 100%;
}

/* Billing/Shipping Section Headers */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.woocommerce-billing-fields h3::before {
    content: '👤';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.woocommerce-shipping-fields h3::before {
    content: '🚚';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

/* Form Fields Grid */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1;
}

/* Form Row Styling */
.woocommerce-checkout .form-row {
    margin-bottom: 25px;
    position: relative;
}

.woocommerce-checkout .form-row label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 1rem;
}

.woocommerce-checkout .form-row .required {
    color: #e74c3c;
    font-size: 1.2em;
}

/* Input Styling */
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
    direction: rtl;
    text-align: right;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    outline: none;
}

/* Select2 Styling */
.select2-container--default .select2-selection--single {
    height: 56px !important;
    border: 2px solid var(--gray-200) !important;
    border-radius: 10px !important;
    padding: 15px 20px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px !important;
    padding: 0 !important;
    color: var(--gray-700) !important;
    direction: rtl;
    text-align: right;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 52px !important;
    right: auto !important;
    left: 10px !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1) !important;
}

/* Shipping Toggle */
.woocommerce-shipping-fields #ship-to-different-address {
    margin-bottom: 20px;
}

.woocommerce-shipping-fields .shipping-checkbox-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
}

.woocommerce-shipping-fields .shipping-checkbox-text i {
    color: var(--primary-color);
}

.woocommerce-shipping-fields .shipping_address {
    transition: all 0.4s ease;
}

/* Additional Fields */
.woocommerce-additional-fields {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid var(--gray-200);
}

.woocommerce-additional-fields textarea {
    min-height: 120px;
    resize: vertical;
}

/* Order Review Styling */
#order_review_heading {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 12px;
    text-align: center;
    position: relative;
}

#order_review_heading::before {
    content: '🛒';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

#order_review {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

/* ============================================
   WooCommerce Checkout Styles
   ============================================ */

/* Checkout Header */
.woocommerce-checkout-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 60px 0 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.woocommerce-checkout-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="20" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.checkout-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.checkout-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.checkout-breadcrumb {
    font-size: 1rem;
    opacity: 0.9;
}

.checkout-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.checkout-breadcrumb a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 10px;
    opacity: 0.7;
}

.checkout-breadcrumb .current {
    font-weight: 600;
    opacity: 1;
}

/* Checkout Content */
.woocommerce-checkout-content {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 50%, var(--gray-50) 100%);
    min-height: 70vh;
}

.checkout-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
    align-items: start;
}

/* Customer Details Section */
.checkout-customer-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.woocommerce-billing-fields,
.woocommerce-shipping-fields {
    margin-bottom: 30px;
}

.billing-title,
.billing-shipping-title,
.shipping-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shipping-checkbox-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--gray-700);
}

/* Form Fields */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
}

.form-row.form-row-wide {
    grid-column: 1 / -1;
}

.form-row label {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-row .required {
    color: var(--primary-color);
    font-weight: 700;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
    direction: rtl;
    text-align: right;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 45, 48, 0.1);
}

.form-row textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row .woocommerce-input-wrapper {
    position: relative;
}

/* Checkboxes */
.form-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    margin-left: 8px;
}

/* Order Review Section */
.checkout-order-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    position: sticky;
    top: 120px;
}

.order-review-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Order Review Table */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    background: white;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-100);
    text-align: right;
}

.woocommerce-checkout-review-order-table th {
    font-weight: 600;
    color: var(--gray-800);
    background: var(--gray-50);
    padding: 15px 20px;
}

.woocommerce-checkout-review-order-table td {
    color: var(--gray-700);
    padding: 15px 20px;
}

.woocommerce-checkout-review-order-table .cart_item td {
    vertical-align: middle;
}

.woocommerce-checkout-review-order-table .product-name {
    font-weight: 600;
    color: var(--gray-800);
}

.woocommerce-checkout-review-order-table .product-total {
    font-weight: 600;
    color: var(--primary-color);
}

.woocommerce-checkout-review-order-table .order-total {
    border-top: 2px solid var(--gray-200);
    font-size: 1.1rem;
    font-weight: 700;
}

.woocommerce-checkout-review-order-table .order-total td {
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 45, 48, 0.05), rgba(255, 199, 52, 0.05));
}

.woocommerce-checkout-review-order-table .order-total .woocommerce-Price-amount {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Payment Methods */
.woocommerce-checkout-payment {
    background: white;
    padding: 30px;
    border-radius: 0 0 15px 15px;
    margin-top: 0;
    border-top: 3px solid var(--primary-color);
}

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

.wc_payment_method {
    margin-bottom: 15px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wc_payment_method:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 45, 48, 0.1);
}

.wc_payment_method input[type="radio"] {
    margin: 0 10px 0 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.wc_payment_method label {
    display: flex;
    align-items: center;
    padding: 20px;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    background: var(--gray-50);
    margin: 0;
    transition: all 0.3s ease;
}

.wc_payment_method label:hover {
    background: white;
}

.payment_box {
    padding: 20px;
    background: white;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-600);
}

/* Terms and Conditions */
.woocommerce-terms-and-conditions-wrapper {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 45, 48, 0.05) 0%, rgba(255, 199, 52, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 45, 48, 0.2);
}

.woocommerce-terms-and-conditions-checkbox-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Place Order Button */
.woocommerce-checkout-payment .place-order {
    margin-top: 25px;
}

#place_order {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 45, 48, 0.3);
}

#place_order::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

#place_order:hover::before {
    left: 100%;
}

#place_order:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Checkout Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.woocommerce-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.woocommerce-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Loading States */
.processing {
    opacity: 0.7;
    pointer-events: none;
}

.blockUI.blockOverlay {
    background: rgba(255, 255, 255, 0.9) !important;
    cursor: wait !important;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .checkout-main-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .checkout-order-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-title {
        font-size: 2rem;
    }
    
    /* Modern Checkout Mobile Styling */
    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 20px;
    }
    
    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .checkout_coupon {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .checkout_coupon .form-row-first,
    .checkout_coupon .form-row-last {
        flex: none;
    }
    
    .woocommerce-additional-fields {
        padding: 20px;
    }
    
    .select2-container--default .select2-selection--single {
        height: 50px !important;
        padding: 12px 16px !important;
    }
    
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 46px !important;
    }
    
    .checkout-customer-section,
    .checkout-order-section {
        padding: 20px;
    }
    
    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    #place_order {
        padding: 15px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .woocommerce-checkout-header {
        padding: 40px 0 30px;
    }
    
    .woocommerce-checkout-content {
        padding: 40px 0;
    }
    
    .checkout-customer-section,
    .checkout-order-section {
        padding: 15px;
                 border-radius: 15px;
     }
}

/* WooCommerce Template Wrapper */
.woocommerce-wrapper {
    min-height: 60vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 0;
}

.woocommerce-content {
    width: 100%;
}

/* Body background for WooCommerce pages */
body.woocommerce,
body.woocommerce-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* WooCommerce Main Container */
.woocommerce {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    min-height: calc(100vh - 200px);
    direction: rtl;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.woocommerce > * {
    max-width: 100%;
}

/* WooCommerce Inner Content */
.woocommerce .woocommerce-order,
.woocommerce .woocommerce-cart,
.woocommerce .woocommerce-checkout {
    background: transparent;
    padding: 0;
    margin: 0;
}

/* ============================================
   WooCommerce Order Received / Thank You Page
   ============================================ */

/* Order Received Page Header */
.woocommerce-order {
    background: transparent;
    min-height: auto;
    padding: 0;
    direction: rtl;
}

.woocommerce-order .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Success Message */
.woocommerce-notice--success.woocommerce-thankyou-order-received {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 30px 40px;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}





/* Order Overview */
.woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    list-style: none;
    padding: 0;
}

.woocommerce-order-overview li {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--gray-100);
    transition: all 0.3s ease;
    position: relative;
}

.woocommerce-order-overview li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.woocommerce-order-overview li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px 12px 0 0;
}

.woocommerce-order-overview li strong {
    color: var(--primary-color);
    font-size: 1.2rem;
    display: block;
    margin-top: 8px;
}

.woocommerce-order-overview .order::before {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.woocommerce-order-overview .date::before {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.woocommerce-order-overview .email::before {
    background: linear-gradient(135deg, #17a2b8, #117a8b);
}

.woocommerce-order-overview .total::before {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}

.woocommerce-order-overview .method::before {
    background: linear-gradient(135deg, #6f42c1, #563d7c);
}

/* Order Details Section */
.woocommerce-order-details {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.woocommerce-order-details__title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--gray-200);
    position: relative;
}


/* Order Details Table */
.woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.woocommerce-table--order-details thead {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
    padding: 20px;
    text-align: right;
    border: none;
}

.woocommerce-table--order-details th {
    font-weight: 600;
    font-size: 1.1rem;
}

.woocommerce-table--order-details tbody tr {
    background: white;
    transition: background-color 0.3s ease;
}

.woocommerce-table--order-details tbody tr:hover {
    background: var(--gray-50);
}

.woocommerce-table--order-details tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.woocommerce-table--order-details tbody tr:nth-child(even):hover {
    background: var(--gray-100);
}

.woocommerce-table--order-details .product-name a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.woocommerce-table--order-details .product-name a:hover {
    color: var(--accent-color);
}

.woocommerce-table--order-details .product-quantity {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.woocommerce-table--order-details tfoot {
    background: var(--gray-50);
}

.woocommerce-table--order-details tfoot th {
    background: none;
    color: var(--gray-700);
    font-weight: 600;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Customer Details Section */
.woocommerce-customer-details {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.woocommerce-column__title {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 10px;
    text-align: center;
}

.woocommerce-customer-details address {
    background: var(--gray-50);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    line-height: 1.8;
    font-style: normal;
    color: var(--gray-700);
}

.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
    margin-top: 15px;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--gray-300);
    color: var(--primary-color);
    font-weight: 600;
}

.woocommerce-customer-details--email {
    word-break: break-all;
}

/* Price Styling */
.woocommerce-Price-amount {
    font-weight: 700;
    color: var(--primary-color);
}

.woocommerce-Price-currencySymbol {
    font-size: 0.9em;
    margin-left: 5px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .woocommerce {
        padding: 25px 20px;
        margin: 20px 15px;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }
    
    .woocommerce-order {
        padding: 0;
    }
    
    .woocommerce-order .container {
        padding: 0;
    }
    
    .woocommerce-notice--success.woocommerce-thankyou-order-received {
        padding: 20px 25px;
        font-size: 1.1rem;
    }
    
    .woocommerce-order-overview {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .woocommerce-order-overview li {
        padding: 20px;
    }
    
    .woocommerce-order-details,
    .woocommerce-customer-details {
        padding: 25px 20px;
    }
    
    .woocommerce-columns--addresses {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .woocommerce-table--order-details th,
    .woocommerce-table--order-details td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .woocommerce-order-details__title {
        font-size: 1.5rem;
    }
    
    .woocommerce-column__title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .woocommerce {
        padding: 20px 15px;
        margin: 15px 10px;
        border-radius: 10px;
        min-height: calc(100vh - 180px);
    }

    .woocommerce-table--order-details {
        font-size: 0.8rem;
    }
    
    .woocommerce-table--order-details th,
    .woocommerce-table--order-details td {
        padding: 12px 8px;
    }
    
    .woocommerce-customer-details address {
        padding: 20px;
    }
}

 /* Order Received Login Form Styling */
 .woocommerce-order .woocommerce-form-login {
     background: white;
     padding: 40px;
     border-radius: 15px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     margin: 20px 0;
 }

 .woocommerce-order .woocommerce-form-login h2 {
     color: var(--primary-color);
     margin-bottom: 20px;
     font-size: 1.6rem;
 }

 .woocommerce-order .woocommerce-form-login .form-row input {
     width: 100%;
     padding: 12px 16px;
     border: 2px solid var(--gray-200);
     border-radius: 8px;
     margin-bottom: 15px;
     direction: rtl;
 }

 .woocommerce-order .woocommerce-form-login .button {
     background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
     color: white;
     padding: 12px 25px;
     border: none;
     border-radius: 8px;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .woocommerce-order .woocommerce-form-login .button:hover {
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
 }
