/*
Theme Name:   CartSavior Pro Theme
Theme URI:    https://www.cartsavior.com
Author:       Your Name
Author URI:   https://www.yourwebsite.com/
Description:  A custom, high-performance theme for the CartSavior Pro plugin sales page. WooCommerce compatible.
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         dark, one-column, custom-menu, e-commerce, blog, custom-header, custom-logo
Text Domain:  cartsavior-theme
Requires at least: 5.8
Requires PHP: 7.4
*/

/* --- ALL YOUR EXISTING CSS FROM css/style.css GOES BELOW THIS LINE --- */
/* --- I have copied it for you --- */

/*
====================================
CartSavior Pro - Main Stylesheet
====================================
*/

/* --- Google Fonts --- */
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/inter-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('./fonts/inter-v19-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('./fonts/inter-v19-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/inter-v19-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('./fonts/inter-v19-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fallback */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2') format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}


/* --- CSS Variables (Material Design Palette) --- */
:root {
	--primary: #9d4edd;
    --color-primary: #9d4edd; /* Main Accent Purple */
    --color-primary-dark: #8a2be2;
    --color-background: #121212; /* Main Dark Background */
    --color-surface-1: #1e1e1e; /* Card Background */
    --color-surface-2: #2c2c2e; /* Hover/Active Surface */
    --color-outline: #444;
    --color-text-primary: #f0f0f0;
    --color-text-secondary: #a0a0a0;
    --color-success: #00e676;
    --color-error: #ff5252;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --shadow-1: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-2: 0 3px 6px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.12);
    --shadow-3: 0 10px 20px rgba(0,0,0,0.15), 0 3px 6px rgba(0,0,0,0.1);
    --border-radius: 12px;
    --transition-speed: 0.3s ease;
	--transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	
	 --primary: #9d4edd;
    --primary-dark: #6a1bb5;
    --primary-light: #b388ff;
    --secondary: #e74c3c;
    --secondary-dark: #c0392b;
    --secondary-light: #ff6e5d;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --text-lighter: #bdc3c7;
    --background: #121212;
    --background-alt: #f9f9f9;
    --surface: #ffffff;
    --error: #e74c3c;
    --success: #2ecc71;
    --warning: #f39c12;
    --info: #3498db;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.1), 0 6px 6px rgba(0,0,0,0.08);
    --shadow-xl: 0 15px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.08);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Global Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-background);
    color: var(--color-text-primary);
    line-height: 1.7;
    font-size: 16px;
    
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--color-text-primary);
}

h1 { font-size: 3rem; font-weight: 800; letter-spacing: -1px; }
h2 { font-size: 2.25rem; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; color: var(--color-primary); margin-bottom: 1rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.75rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover, a:focus {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* --- Buttons & CTAs --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all var(--transition-speed);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-outline);
}

.btn-secondary:hover {
    background-color: var(--color-surface-2);
    border-color: var(--color-surface-2);
    color: #fff;
}
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(138, 43, 226, 0); }
    100% { box-shadow: 0 0 0 0 rgba(138, 43, 226, 0); }
}

/* --- Sticky Buy Button (FAB) --- */
.sticky-buy-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}
.sticky-buy-btn .btn {
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-3);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sticky-buy-btn .material-icons {
    font-size: 24px;
}

/* --- Header & Navigation --- */
.main-header {
    /* THE FIX: Reduced padding for a shorter header */
    padding: 10px 0; 
    /* THE FIX: Removed sticky positioning and blur effect */
    position: relative; 
    background: var(--color-background); /* Solid background color */
    z-index: 999;
    border-bottom: 1px solid var(--color-outline);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:hover {
    color: var(--color-text-primary);
}

/* Main Navigation (Desktop) */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}
.main-nav li {
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--color-text-secondary);
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
    color: var(--color-text-primary);
    border-bottom-color: var(--color-primary);
}

/* Mobile Menu Button */
#mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
    z-index: 1001;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--color-surface-1);
    padding: 60px 0 20px 0;
    border-top: 1px solid var(--color-outline);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--color-text-primary);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--color-text-secondary);
}
.footer-col ul a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid var(--color-outline);
    padding-top: 20px;
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.9em;
}

/* --- Hero Section --- */
.hero {
    padding: 100px 0;
    text-align: center;
}
.hero h1 {
    background: linear-gradient(135deg, var(--color-primary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.hero p.subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem auto;
}
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 4rem;
}
.hero-screenshot {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-outline);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    overflow: hidden;
}
.hero-screenshot img {
    border-radius: var(--border-radius);
}


/* --- Feature Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card {
    background-color: var(--color-surface-1);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-outline);
    transition: all var(--transition-speed);
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-2);
}
.feature-card .icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: var(--color-primary);
}
.feature-card h3 {
    color: var(--color-text-primary);
}

/* --- Alternating Feature Section --- */
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}
.feature-row:last-child {
    margin-bottom: 0;
}
.feature-row.reverse {
    flex-direction: row-reverse;
}
.feature-text, .feature-image {
    flex: 1;
}
.feature-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-3);
    border: 1px solid var(--color-outline);
}

/* --- Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: var(--color-surface-1);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-primary);
}
.testimonial-card p.quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.author-info strong {
    display: block;
    color: var(--color-text-primary);
    font-weight: 600;
}
.author-info span {
    color: var(--color-text-secondary);
    font-size: 0.9em;
}

/* --- CTA Section --- */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
}
.cta-banner h2 {
    color: #fff;
    margin-bottom: 1rem;
}
.cta-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}
.cta-banner .btn {
    background-color: #fff;
    color: var(--color-primary);
    font-size: 1.1rem;
}
.cta-banner .btn:hover {
    background-color: #f0f0f0;
}

/* --- Blog & Page Headers --- */
.page-header {
    text-align: center;
    padding: 60px 0;
    background-color: var(--color-surface-1);
    border-bottom: 1px solid var(--color-outline);
}
.page-header .subtitle {
    max-width: 800px; 
    margin: 1rem auto 0 auto;
}

/* --- Blog Grid (Archive) --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.blog-card {
    background: var(--color-surface-1);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--color-outline);
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2);
}
.blog-card-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.blog-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-content h3 {
    margin-top: 0;
    color: var(--color-text-primary);
}
.blog-card-meta {
    font-size: 0.9em;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}
.blog-card-meta span { margin-right: 15px; }
.blog-card-excerpt {
    flex-grow: 1;
}
.blog-card-footer {
    margin-top: 20px;
}

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}
.pagination .nav-links {
    display: flex;
    gap: 10px;
}
.pagination a, .pagination span {
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    background-color: var(--color-surface-1);
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.pagination a:hover {
    background-color: var(--color-surface-2);
    color: var(--color-text-primary);
}
.pagination span.current {
    background-color: var(--color-primary);
    color: #fff;
    cursor: default;
}


/* --- Single Post / Page Content --- */
.post-layout, .page-content {
    max-width: 800px;
    margin: 0 auto;
}
.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9em;
    color: var(--color-text-secondary);
}
.breadcrumb a {
    color: var(--color-text-secondary);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--color-primary);
}
.breadcrumb span {
    color: var(--color-text-primary);
}

.post-header {
    margin-bottom: 2rem;
}
.post-header h1 {
    margin-bottom: 1rem;
    font-size: 2.75rem;
}
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-outline);
    margin-bottom: 2rem;
}
.post-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: var(--color-text-secondary);
}
.post-meta-item .material-icons {
    font-size: 18px;
}
.post-meta-item a {
    color: var(--color-text-secondary);
}
.post-meta-item a:hover {
    color: var(--color-primary);
}
.post-content, .page-content {
    font-size: 1.1rem;
    line-height: 1.8;
}
.post-content h2, .post-content h3, .post-content h4,
.page-content h2, .page-content h3, .page-content h4 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}
.post-content p, .post-content li,
.page-content p, .page-content li {
    color: var(--color-text-secondary);
}
.post-content strong, .page-content strong {
    color: var(--color-text-primary);
    font-weight: 600;
}
.post-content a, .page-content a {
    text-decoration: underline;
}
.post-content img, .page-content img {
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: var(--shadow-2);
}
.post-tags {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.post-tags span {
    font-weight: 600;
    color: var(--color-text-primary);
}
.post-tags a {
    display: inline-block;
    background-color: var(--color-surface-1);
    color: var(--color-text-secondary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9em;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.post-tags a:hover {
    background-color: var(--color-primary);
    color: #fff;
}
.post-divider {
    border: 0;
    height: 1px;
    background-color: var(--color-outline);
    margin: 4rem 0;
}
.author-box {
    display: flex;
    gap: 25px;
    background-color: var(--color-surface-1);
    padding: 30px;
    border-radius: var(--border-radius);
    align-items: flex-start;
}
.author-box-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}
.author-box-info h4 {
    margin: 0 0 5px 0;
    color: var(--color-text-primary);
}
.author-box-info p {
    font-size: 0.95rem;
    margin-bottom: 0;
}
.comments-area h2 {
    margin-bottom: 2rem;
}
.comment-list {
    list-style: none;
    padding: 0;
}
.comment-body {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
}
.comment-author .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.comment-content {
    background-color: var(--color-surface-1);
    padding: 20px;
    border-radius: var(--border-radius);
    flex-grow: 1;
}
.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.comment-author .fn {
    font-weight: 600;
    color: var(--color-text-primary);
    font-style: normal;
}
.comment-metadata a {
    font-size: 0.85em;
    color: var(--color-text-secondary);
}
.comment-form {
    background-color: var(--color-surface-1);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}
.comment-form h3 {
    color: var(--color-text-primary);
    margin-top: 0;
}
.form-submit .submit {
    /* Style this like .btn */
}

/* --- Forms (Contact, Comments) --- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group, .comment-form p {
    margin-bottom: 20px;
}
.form-group.full-width, .comment-form-comment {
    grid-column: 1 / -1;
}
.form-group label, .comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9em;
}
.form-control, .comment-form input, .comment-form textarea {
    width: 100%;
    padding: 14px;
    background-color: var(--color-background);
    border: 1px solid var(--color-outline);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus, .comment-form input:focus, .comment-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(157, 78, 221, 0.3); /* A soft glow */
}
textarea.form-control, .comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* --- About Page Styles --- */
.about-header { text-align: center; max-width: 800px; margin: 0 auto 4rem auto; }
.about-header h1 { margin-bottom: 1rem; }
.about-header p { font-size: 1.2rem; color: var(--color-text-secondary); }
.mission-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center; }
.mission-statement { border-left: 4px solid var(--color-primary); padding-left: 2rem; }
.mission-statement h2 { font-size: 2rem; }
.mission-statement p { font-size: 1.1rem; line-height: 1.8; }
.team-section { text-align: center; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 3rem; }
.team-member { text-align: center; }
.team-member-img { position: relative; overflow: hidden; border-radius: var(--border-radius); margin-bottom: 1.5rem; box-shadow: var(--shadow-2); }
.team-member-img img { width: 100%; transition: transform 0.4s ease; }
.team-member:hover .team-member-img img { transform: scale(1.05); }
.team-member h4 { color: var(--color-text-primary); margin-bottom: 5px; }
.team-member span { color: var(--color-primary); font-weight: 500; }

/* --- Contact Page --- */
.contact-container { display: flex; gap: 40px; }
.contact-form { flex: 1; padding: 40px; border-radius: var(--border-radius); }
.contact-form h2 { margin-bottom: 30px; }
.contact-info { width: 400px; flex-shrink: 0; }
.info-cards { display: flex; flex-direction: column; gap: 20px; margin: 30px 0; }
.info-card { display: flex; gap: 20px; padding: 20px; background-color: var(--color-surface-1); border-radius: var(--border-radius); box-shadow: var(--shadow-sm); transition: var(--transition); }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.info-icon { width: 60px; height: 60px; background-color: rgba(138, 43, 226, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-icon .material-icons { font-size: 2rem; color: var(--primary); }
.info-content h3 { margin-bottom: 5px; }
.info-content p { margin-bottom: 5px; font-size: 0.875rem; color: var(--text-light); }
.info-content a { font-weight: 500; }
.office-info { margin-top: 40px; }
.office-card { display: flex; gap: 15px; margin-top: 15px; padding: 20px; background-color: var(--color-surface-1); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.office-card .material-icons { font-size: 2rem; color: var(--primary); }
.office-card p { margin-bottom: 0; }

/* --- Docs Page --- */
.documentation { padding: 80px 0; }
.doc-container { display: flex; gap: 40px; }
.doc-sidebar { width: 280px; flex-shrink: 0; position: sticky; top: 120px; align-self: flex-start; }
.sidebar-section { margin-bottom: 30px; }
.sidebar-section h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 15px; }
.sidebar-section ul { list-style: none; }
.sidebar-section li { margin-bottom: 10px; }
.sidebar-section a { display: block; padding: 8px 0; color: var(--color-text-secondary); border-left: 3px solid transparent; padding-left: 15px; text-decoration: none; }
.sidebar-section a:hover, .sidebar-section a.active { color: var(--primary); border-left-color: var(--primary); }
.doc-content { flex: 1; }
.steps .step { display: flex; margin-bottom: 40px; position: relative; }
.step-number { width: 50px; height: 50px; background-color: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin-right: 20px; flex-shrink: 0; }
.info-box, .warning-box { border-left: 4px solid var(--info); background-color: rgba(52, 152, 219, 0.1); padding: 15px; margin: 20px 0; display: flex; gap: 10px; }
.warning-box { border-left-color: var(--error); background-color: rgba(231, 76, 60, 0.1); }
.info-box .material-icons { color: var(--info); }
.warning-box .material-icons { color: var(--error); }
.requirements-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 30px 0; }
.req-card{background-color:var(--background-alt);padding:30px 20px;border-radius:var(--radius-md);text-align:center;transition:var(--transition)}
.req-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-sm)}
.req-card .material-icons{font-size:2.5rem;color:var(--primary);margin-top:15px}
.req-card h3{margin-bottom:5px}
.feature-highlight { background-color: rgba(138, 43, 226, 0.1); padding: 20px; border-radius: var(--radius-md); margin: 30px 0; display: flex; gap: 15px; }
.tags-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin: 30px 0; }
.tag-card { background-color: var(--color-surface-1); padding: 15px; border-radius: var(--radius-sm); }
.tag-card p { font-size: .9em; }
.faq-container { margin: 50px 0; }
.faq-item { margin-bottom: 15px; border: 1px solid var(--color-outline); border-radius: var(--border-radius); }
.faq-question { padding: 20px; background-color: var(--color-surface-1); display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-answer.active { padding: 20px; max-height: 500px; }
.support-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.support-card { background-color: var(--color-surface-1); padding: 30px; border-radius: var(--radius-lg); text-align: center; }

/* --- Custom Cursor --- */
body.has-custom-cursor .cursor { position: fixed; width: 20px; height: 20px; border-radius: 50%; background-color: var(--primary); mix-blend-mode: difference; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: transform 0.1s ease, background-color 0.3s ease; }
body.has-custom-cursor .cursor-follower { position: fixed; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--primary); pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease; }

/* --- WooCommerce Specific Styles --- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { background-color: var(--color-surface-1) !important; border-top-color: var(--color-primary) !important; color: var(--color-text-primary) !important; border-radius: var(--border-radius) !important; padding: 1.5em 2em !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--color-primary) !important; }
.woocommerce-error::before { color: var(--color-error) !important; }
.woocommerce-message a, .woocommerce-info a { color: var(--color-primary) !important; }
.woocommerce table.shop_table { border: 1px solid var(--color-outline); border-radius: var(--border-radius); width: 100%; }
.woocommerce table.shop_table th { color: var(--color-primary); }
.woocommerce table.shop_table td { color: var(--color-surface-1); border-color: var(--color-outline); }
.woocommerce .product-remove a { color: var(--color-error) !important; text-decoration: none !important; }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background-color: var(--color-primary) !important; color: #fff !important; border-radius: 50px !important; padding: 14px 32px !important; font-weight: 600 !important; }
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background-color: var(--color-primary-dark) !important; color: #fff !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { border: 1px solid var(--color-outline); background: var(--color-background); color: var(--color-text-primary); border-radius: 8px; }

/* --- Responsive --- */
@media (max-width: 992px) {
    #mobile-menu-toggle { display: block; }
    .main-nav { display: none; }
    body.menu-open .main-nav { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; width: 300px; height: 100vh; padding-top: 80px; background-color: var(--color-surface-1); z-index: 1000; box-shadow: -10px 0 30px rgba(0,0,0,0.3); }
    body.menu-open .main-nav ul { flex-direction: column; gap: 0; width: 100%; align-items: flex-start; }
    body.menu-open .main-nav a { display: block; padding: 20px 30px; font-size: 1.1rem; border-bottom: 1px solid var(--color-outline); width: 100%; }
    .feature-row, .feature-row.reverse { flex-direction: column; gap: 40px; text-align: center; }
    .contact-container, .doc-container { flex-direction: column; }
    .contact-info, .doc-sidebar { width: 100%; position: static; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .hero { padding: 60px 0; }
    .hero-cta { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .sticky-buy-btn .btn-text { display: none; }
}

@media (max-width: 576px) {
    body { font-size: 15px; }
    .footer-grid { grid-template-columns: 1fr; }
    .step { flex-direction: column; align-items: flex-start; }
    .step-number { margin-bottom: 15px; }
}



/*
====================================
WooCommerce Single Product Page (Polished Style)
====================================
*/
.single-product .page-header { display: none; }
.single-product .container { padding:0 20px; } /* Reduced top padding */

/* Clean Breadcrumbs */
.clean-breadcrumb {
    color: var(--color-text-secondary);
    font-size: 0.9em;
    margin-bottom: 2rem;
    padding-top: 8px !important;
}
.clean-breadcrumb a {
    color: var(--color-text-secondary);
    text-decoration: none;
}
.clean-breadcrumb a:hover {
    color: var(--color-primary);
}
.clean-breadcrumb .breadcrumb-separator {
    margin: 0 0.5em;
}

/* Product Title */
.single-product h1.product_title {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--color-primary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: none; /* Removed border */
}

/* Main Layout */
.product-layout { display: grid; grid-template-columns: 1fr 380px; gap: 50px; }
.product-sidebar .sidebar-inner { position: sticky; top: 120px; }

/* Product Image styling */
.product-main-content .woocommerce-product-gallery {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 8px solid var(--color-primary);
    box-shadow: var(--shadow-2);
    width: 100% !important;
}

/* Purchase Box Styling */
.purchase-box { background-color: var(--color-surface-1); border: 1px solid var(--color-outline); border-radius: var(--border-radius); padding: 25px; }
.purchase-box__header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
.purchase-box__title { font-size: 1.5rem; font-weight: 600; margin: 0; color: var(--color-text-primary); }
.purchase-box__price .price { font-size: 1.8rem; font-weight: 700; color: var(--color-text-primary); display: block; line-height: 1; }
.purchase-box__price .woocommerce-Price-amount { font-size: x-large;font-weight: 800;color: var(--color-text-primary); }
.purchase-box__features { list-style: none; padding: 0; margin: 0 0 20px 0; border-top: 1px solid var(--color-outline); padding-top: 15px; }
.purchase-box__features li { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--color-text-secondary); font-size: 0.95rem; }
.purchase-box__features li .material-icons { font-size: 18px; color: var(--color-success); }
.purchase-box__action form.cart { margin-bottom: 15px !important; }
/* Button style to match screenshot */
.purchase-box__action .single_add_to_cart_button {
    width: 100% !important;
    background-color: var(--color-primary) !important;
    color: #fff !important;
    padding: 18px 20px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none !important;
    transition: background-color 0.2s ease;
}
.purchase-box__action .single_add_to_cart_button:hover {
    background-color: var(--color-primary-dark) !important;
}
.purchase-box__action .single_add_to_cart_button .material-icons {
    font-size: 20px;
}
.purchase-box__disclaimer { font-size: 0.85rem; color: var(--color-text-secondary); text-align: center; margin: 0; }

/* Plugin Meta Info Styling */
.plugin-meta-info { border-top: 1px solid var(--color-outline); margin-top: 30px; padding-top: 15px; }
.plugin-meta-info .meta-item { display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; padding: 12px 0; border-bottom: 1px solid var(--color-outline); }
.plugin-meta-info .meta-item:last-child { border-bottom: none; }
.plugin-meta-info .meta-item strong { color: var(--color-text-primary); display: flex; align-items: center; gap: 10px; font-weight: 500; }
.plugin-meta-info .meta-item .material-icons { font-size: 20px; color: var(--color-text-secondary); }
.plugin-meta-info .meta-item span { color: var(--color-text-secondary); text-align: right; }
.plugin-meta-info .meta-item span .tagged_as { display: none; }
.plugin-meta-info .meta-item span a { color: var(--color-primary); text-decoration: none; }

/* Mobile Meta Info */
.mobile-plugin-meta { display: none; }
.desktop-plugin-meta { display: block; }

/* Mobile Sticky Buy Bar */
.mobile-sticky-buy-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--color-surface-1); border-top: 1px solid var(--color-outline); z-index: 998; padding: 15px; box-shadow: 0 -5px 20px rgba(0,0,0,0.2); }
.mobile-sticky-buy-bar a.button { width: 100%; margin: 0 !important; display: flex; align-items: center; justify-content: center; gap: 10px; }
.mobile-sticky-buy-bar .price { color: var(--color-text-primary); font-size: 1.5rem; font-weight: 700; }

/* WooCommerce Tabs */
.woocommerce-tabs ul.tabs { margin: 40px 0 0 0; padding: 0 !important; border-bottom: 2px solid var(--color-outline); list-style: none !important; }
.woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce-tabs ul.tabs li { background: none !important; border: none !important; padding: 0 !important; margin: 0 30px 0 0 !important; }
.woocommerce-tabs ul.tabs li a { color: var(--color-text-secondary); font-weight: 600; font-size: 1.1rem; padding: 15px 0; }
.woocommerce-tabs ul.tabs li.active a { color: var(--color-primary); }
.woocommerce-tabs .panel { padding-top: 2rem; }

/* Responsive for Product Page */
@media (max-width: 992px) {
    .product-layout { grid-template-columns: 1fr; }
    .product-sidebar .sidebar-inner { position: static; }
}
@media (max-width: 768px) {
    .single-product h1.product_title{
        font-size: 22px !important;
    }
    .purchase-box, .desktop-plugin-meta { display: none; }
    .mobile-plugin-meta { display: block; margin-top: 30px; }
    .product-main-content { margin-bottom: 120px; }
    .mobile-sticky-buy-bar { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
}

/*
====================================
Header Account Menu
====================================
*/
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.account-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}
.account-nav .menu-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
    font-weight: 500;
    text-decoration: none;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.account-nav .menu-link:hover,
.account-nav .current-menu-item > .menu-link {
    background-color: var(--color-surface-2);
    color: var(--color-text-primary);
}
.account-nav .menu-title {
    display: block;
}

/* On mobile, hide the text and only show the icons */
@media (max-width: 992px) {
    .account-nav {
        display: none; /* Hide account nav on mobile for simplicity, can be added to slide-out menu later if needed */
    }
    .header-container {
        /* On mobile, spread out the logo and the menu button */
        justify-content: space-between;
    }
    .main-nav {
        flex-grow: 0; /* Don't let the main nav grow */
    }
}

/*
====================================
Checkout & Cart Page Distraction-Free Styling
====================================
*/

/* Hide product short description on cart and checkout pages */
.woocommerce-cart .cart_item .product-name .variation,
.woocommerce-checkout .cart_item .product-name .variation {
    display: none !important;
}

/* Style the minimalist checkout header */
.checkout-header {
    padding: 20px 0;
    background: var(--color-background);
    border-bottom: 1px solid var(--color-outline);
    text-align: center;
}
.checkout-header .logo-wrapper {
    display: inline-block;
}
.checkout-header .logo {
    gap: 15px;
}
.checkout-header .logo img {
    height: 60px;
    width: 60px;
}
.checkout-header .logo span {
    font-size: 1.5rem;
}


/* Style the minimalist checkout footer */
.checkout-footer {
    padding: 30px 0;
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.9em;
    border-top: 1px solid var(--color-outline);
    margin-top: 60px;
}

/* Add some vertical space for the main content on checkout flow */
body.is-checkout-flow .entry-header {
    margin-bottom: 40px;
}

/*
====================================
Final Checkout & Cart Page Fixes
====================================
*/

/* 
 * THE DEFINITIVE FIX for Hiding Product Description.
 * This targets the container for product variations/meta in the cart and checkout.
*/
.woocommerce-cart .cart_item .product-name .variation,
.woocommerce-checkout .cart_item .product-name .variation,
.woocommerce-cart .cart_item .product-name dl.variation,
.woocommerce-checkout .cart_item .product-name dl.variation {
    display: none !important;
}

.wc-block-components-product-metadata__description{
    display: none !important;
}

/* Add a title to the cart/checkout pages */
.checkout-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}
.checkout-container {
    padding-top: 5px;
    padding-bottom: 40px;
}

/* Ensure the default page.php styling doesn't interfere */
body.woocommerce-cart .entry-header,
body.woocommerce-checkout .entry-header {
    display: none;
}

/*
====================================
Product Page Action Buttons
====================================
*/

/* --- Desktop Layout (Default) --- */
.product-action-buttons {
    display: -webkit-inline-box; /* Use Flexbox for an even row on desktop */
    flex-wrap: wrap; 
    gap: 15px;
    margin-top: 30px; 
    margin-bottom: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--color-outline);
}

.action-btn {
    flex-grow: 1; /* Makes all buttons share the space equally */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
}

/* --- Mobile Layout (Screens smaller than 768px) --- */
@media (max-width: 768px) {
    .product-main-content {
        /* THE FIX: Reorder elements on mobile using flexbox */
        display: flex;
        flex-direction: column;
    }

    .product-action-buttons {
        /* THE FIX: Use CSS Grid for the 2x1 pyramid layout */
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two equal columns */
        gap: 15px;
        order: 2; /* Move buttons to appear before the meta info */
    }

    .action-btn:nth-child(1) {
        grid-column: 1 / 2; /* First button in column 1 */
    }
    .action-btn:nth-child(2) {
        grid-column: 2 / 3; /* Second button in column 2 */
    }
    .action-btn:nth-child(3) {
        /* Third button spans both columns, centering it underneath */
        grid-column: 1 / 3; 
    }

    .mobile-plugin-meta {
        order: 3; /* Move meta info to appear after the buttons */
    }

    /* Original elements that need their order defined for flexbox to work */
    .woocommerce-product-gallery {
        order: 1;
    }
    .entry-content { /* This is the main product description */
        order: 4;
    }
    .woocommerce-tabs { /* This contains the reviews section */
        order: 5;
    }
}



/*
====================================
Product Gallery Lightbox - FINAL CSS
====================================
*/

#product-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.9);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#product-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-image-container {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
    /* This container is just for the image */
}

.lightbox-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* --- THE FIX: NEW STYLING FOR ALL CONTROLS --- */

.lightbox-close {
    position: fixed; /* Fixed to the viewport */
    top: 20px;
    right: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 50px;
    line-height: 1;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 1051; /* On top of the image */
}
.lightbox-close:hover {
    color: #fff;
}

.lightbox-prev,
.lightbox-next {
    position: fixed; /* Fixed to the viewport */
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease, background-color 0.2s ease;
    z-index: 1051;
    padding: 15px 10px;
    border-radius: 8px;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    color: #fff;
    background-color: rgba(0,0,0,0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .lightbox-prev, .lightbox-next {
        /* On mobile, move arrows inside with a semi-transparent background */
        background: rgba(0,0,0,0.3);
        border-radius: 50%;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
}

/*
====================================
Hide Product Gallery Thumbnails (The Correct CSS Method)
====================================
*/

/*
 * This targets the container for the small, clickable thumbnail images
 * below the main product image and hides it.
*/
.woocommerce-product-gallery .flex-control-thumbs {
    display: none !important;
}
.cartsavior-featured-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 8px solid var(--color-primary);
    box-shadow: var(--shadow-2);
    width: 100%;
    position: relative;
    padding-top: 41.0169%; /* 242/590 = 0.410169 (maintain aspect ratio) */
}

.cartsavior-featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*
====================================
"View Cart" Button Styling
====================================
*/

/* 
 * This styles the "View Cart" link that replaces the "Add to Cart" button.
 * It's designed to match the new reference image.
*/
a.added_to_cart_button {
    /* Use the same flex properties as the original button to stay centered */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;

    /* Visual Styling */
    background-color: var(--color-primary) !important; /* The primary purple color */
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important; /* A more rounded look */
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
    
    /* Sizing and Font */
    width: 100% !important;
    padding: 18px 20px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    line-height: 1;
}

a.added_to_cart_button:hover {
    background-color: var(--color-primary-dark) !important; /* A darker purple on hover */
    transform: translateY(-2px);
}

/* Style for the icon inside the button */
a.added_to_cart_button .material-icons {
    font-size: 22px;
}

/*
====================================
Classic Checkout Page - Modern Styling (Polished Version)
====================================
*/

/* --- Main Two-Column Layout --- */
.checkout-layout {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 40px;
    align-items: flex-start; /* Aligns the top of the boxes */
}

/* --- Left Column: Billing/Shipping Forms --- */
.checkout-col-1 {
    background: #fff;
    padding: 30px 35px; /* A bit more horizontal padding */
    border-radius: var(--border-radius);
}

/* --- Right Column: Order Summary --- */
.order-summary-box {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    position: sticky;
    top: 40px;
}
#order_review_heading {
    font-size: 1.5rem;
    margin-top: 0;
    color: var(--color-primary);
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

/* --- General Form and Section Titles --- */
.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3 {
    font-size: 1.5rem;
    color: var(--color-primary); /* Use theme's primary purple */
    margin-bottom: 25px;
}

/* --- Apply Theme Form Styles --- */
.woocommerce-checkout .form-row {
    margin-bottom: 15px; /* Slightly tighter spacing */
    padding: 0;
}
.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500; /* Bolder label text */
    font-size: 0.9em;
    color: #555;
}
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    background-color: #fff !important; /* White background for fields */
    border: 1px solid #ccc !important; /* A standard grey border */
    border-radius: 8px !important;
    color: #111 !important; /* Darker text for better contrast */
    box-shadow: none !important;
    padding: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.woocommerce-checkout .form-row .input-text:focus {
    outline: none;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 2px rgba(157, 78, 221, 0.3) !important;
}

/* --- Style the Order Table --- */
.woocommerce-checkout-review-order-table {
    color: #333;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    color: #555;
    border-color: #eee !important;
}
.woocommerce-checkout-review-order-table tfoot .order-total .woocommerce-Price-amount {
    color: var(--color-primary);
    font-weight: 700;
}

/* --- Style the Payment Section and "Place Order" Button --- */
#payment {
    background-color: #f0e6f9; /* A very light purple background */
    border-radius: 8px;
    border-top: 1px solid #ddd;
    margin-top: 20px;
    padding: 20px;
    color:var(--color-primary);
}
#payment .payment_methods {
    border-bottom: none; /* Remove the extra border */
    padding: 0 !important;
}
#payment .payment_box {
    background-color: #e3d1f1 !important; /* A slightly darker purple for the description box */
}
#payment .payment_box::before {
    border-bottom-color: #e3d1f1 !important; /* Match the arrow color */
}
#payment div.form-row.place-order {
    padding: 0 !important;
    margin-top: 20px !important;
}
.woocommerce-checkout #payment #place_order {
    width: 100% !important;
    background-color: var(--color-primary) !important;
    color: #fff !important;
    padding: 18px 20px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: background-color 0.2s ease;
}
.woocommerce-checkout #payment #place_order:hover {
    background-color: var(--color-primary-dark) !important;
}

/* --- Responsive for Checkout --- */
@media (max-width: 992px) {
    .checkout-layout {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }
    .order-summary-box {
        position: static; /* Un-stick the summary box */
    }
}

/* Style the new minimalist checkout header */
.checkout-header-minimal {
    padding: 20px 0;
    background: var(--color-background);
    border-bottom: 1px solid var(--color-outline);
}
.checkout-header-minimal .logo-wrapper {
    display: flex;
    justify-content: center; /* Center the logo */
    align-items: center;
}
.checkout-header-minimal .logo img {
    height: 50px;
    width: 50px;
}
.woocommerce-notices-wrapper{
    display: none !important;
}
/*
====================================
Classic Cart Page - Modern Styling
====================================
*/

/* Hide the default "Update cart" button since we sell a single item */
.woocommerce-cart-form .actions button[name="update_cart"] {
    display: none !important;
}

/* Style the main cart table */
.woocommerce-cart-form {
    background-color: var(--color-surface-1);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-outline);
    margin-bottom: 40px;
}
.woocommerce table.shop_table {
    border: none !important;
    border-radius: 0 !important;
    margin: 0;
}
.woocommerce table.shop_table thead {
    border-bottom: 1px solid var(--color-outline);
}
.woocommerce table.shop_table th {
    color: var(--color-primary); /* Purple for headers */
    text-transform: none;
    font-size: 1rem;
    font-weight: 600;
}
.woocommerce table.shop_table td {
    color: var(--color-background);
    border-color: var(--color-outline) !important;
}
.woocommerce-cart-form__cart-item .product-thumbnail img {
    width: 60px;
    border-radius: 8px;
}
.woocommerce-cart-form__cart-item .product-name a {
    color: var(--color-text-primary);
    font-weight: 600;
    text-decoration: none;
}
.woocommerce-cart-form__cart-item .product-name a:hover {
    color: var(--color-primary);
}
.woocommerce-cart-form__cart-item .product-quantity {
    display: none; /* Hide quantity column header */
}
.woocommerce-cart-form__cart-item .quantity {
    display: none; /* Hide quantity input field */
}


/* Style the coupon form at the bottom of the table */
.woocommerce-cart-form .actions .coupon {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--color-outline);
}
.woocommerce-cart-form .actions .coupon label {
    display: none; /* Hide the "Coupon:" label */
}
.woocommerce-cart-form .actions .coupon .input-text {
    width: auto !important;
    flex-grow: 1;
    background-color: var(--color-background) !important;
    border-color: var(--color-outline) !important;
}
.woocommerce-cart-form .actions .coupon .button {
    background-color: var(--color-primary) !important;
    border-radius: 50px !important;
    padding: 12px 25px !important;
}

/* Style the "Cart Totals" box */
.cart-collaterals .cart_totals {
    background-color: var(--color-surface-1);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-outline);
}
.cart-collaterals .cart_totals h2 {
    font-size: 1.8rem;
    color: var(--color-text-primary);
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-outline);
}
.cart-collaterals .cart_totals table.shop_table {
    background: none;
}
.cart-collaterals .cart_totals table.shop_table th,
.cart-collaterals .cart_totals table.shop_table td {
    border-color: var(--color-outline) !important;
}
.cart-collaterals .cart_totals table.shop_table .order-total th,
.cart-collaterals .cart_totals table.shop_table .order-total td strong {
    color: var(--color-text-primary);
}
.cart-collaterals .cart_totals table.shop_table .order-total .woocommerce-Price-amount {
    color: var(--color-primary);
}

/* Style the "Proceed to Checkout" button */
.wc-proceed-to-checkout .checkout-button {
    background-color: var(--color-primary) !important;
    border-radius: 50px !important;
    font-size: 1.1rem !important;
    padding: 15px 30px !important;
    text-align: center;
    width: 100%;
}
#coupon_code{
    color:white;
    padding: 10px;
}

/*
====================================
Responsive Cart Page Styling (Mobile View)
====================================
*/

@media (max-width: 768px) {
    /* Hide the table header on mobile, as labels will be inline */
    .woocommerce-cart-form table.shop_table thead {
        display: none;
    }

    /* Make the table, body, and rows behave like blocks */
    .woocommerce-cart-form table.shop_table,
    .woocommerce-cart-form table.shop_table tbody,
    .woocommerce-cart-form table.shop_table tr,
    .woocommerce-cart-form table.shop_table td {
        display: block;
        width: 100%;
    }

    /* Add space between each product "card" */
    .woocommerce-cart-form table.shop_table tr.cart_item {
        margin-bottom: 20px;
        border-bottom: 1px solid var(--color-outline);
        padding-bottom: 20px;
    }
    .woocommerce-cart-form table.shop_table tr.cart_item:last-of-type {
        border-bottom: none;
        margin-bottom: 0;
    }

    /* Style each data cell */
    .woocommerce-cart-form table.shop_table td {
        text-align: right; /* Align content to the right */
        position: relative;
        padding-left: 50% !important; /* Make space for the label */
        border: none !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    /* Use pseudo-elements to create the labels on the left */
    .woocommerce-cart-form table.shop_table td::before {
        content: attr(data-title); /* Get the title from the data-title attribute */
        position: absolute;
        left: 0;
        text-align: left;
        font-weight: 600;
        color: var(--color-text-primary);
    }

    /* Adjust specific cells */
    .woocommerce-cart-form__cart-item .product-thumbnail {
        padding-left: 0 !important;
        text-align: center;
        margin-bottom: 15px;
    }
    .woocommerce-cart-form__cart-item .product-thumbnail::before {
        display: none; /* No label for the thumbnail */
    }
    .woocommerce-cart-form__cart-item .product-remove {
        text-align: center;
        padding: 0 !important;
    }
    .woocommerce-cart-form__cart-item .product-remove::before {
        display: none; /* No label for the remove button */
    }
    .woocommerce-cart-form__cart-item .product-remove .remove {
        float: none;
        display: inline-block;
        margin-top: 10px;
    }
    
    /* Make the actions (coupon form) stack vertically */
    .woocommerce-cart-form .actions {
        padding: 20px 0 0 0 !important;
        border-top: 1px solid var(--color-outline);
    }
    .woocommerce-cart-form .actions .coupon {
        flex-direction: column;
        align-items: stretch; /* Make items take full width */
        gap: 10px; /* Add space between the input and the button */
        padding-top: 0;
        border-top: none;
    }
    .woocommerce-cart-form .actions .coupon .input-text {
        text-align: center; /* Center placeholder text */
        width: 100% !important; /* THE FIX: Ensure input takes full width */
        flex-grow: 0 !important; /* THE FIX: Reset desktop flex properties */
        color:white;
    }
    .woocommerce-cart-form .actions .coupon .button {
        width: 100% !important; /* Ensure button takes full width */
    }

    /* Ensure cart totals align correctly */
    .cart-collaterals .cart_totals {
        width: 100%;
    }
}

/* Contact Form Status Messages */
.contact-form-success,
.contact-form-error {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid;
}
.contact-form-success {
    background-color: rgba(0, 230, 118, 0.1);
    border-color: var(--color-success);
    color: var(--color-success);
}
.contact-form-error {
    background-color: rgba(255, 82, 82, 0.1);
    border-color: var(--color-error);
    color: var(--color-error);
}
.woocommerce .star-rating span::before{color: var(--color-primary-dark);}

.wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg);
  border: 1px solid var(--border);
}

.wc_payment_method {
  position: relative;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.wc_payment_method:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
}

.wc_payment_method label {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
  transition: all 0.3s ease;
  position: relative;
  background: var(--bg);
}

.wc_payment_method label:hover {
  background: linear-gradient(90deg, var(--primary-light) 0%, rgba(255,255,255,0) 30%);
}

.wc_payment_method label img {
  height: 24px;
  margin-left: 12px;
  filter: grayscale(30%);
  transition: all 0.3s ease;
}

.wc_payment_method .input-radio {
  position: absolute;
  opacity: 0;
}

.wc_payment_method .input-radio:checked + label {
  background: linear-gradient(90deg, var(--primary-light) 0%, rgba(255,255,255,0) 50%);
  color: var(--primary);
}

.wc_payment_method .input-radio:checked + label img {
  filter: grayscale(0%);
}

.wc_payment_method .input-radio:checked + label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
  width: 4px;
  background: var(--primary);
  border-radius: 0 4px 4px 0;
}

.wc_payment_method .input-radio:checked + label::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.wc_payment_method .input-radio:focus-visible + label {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.payment_box {
  max-height: 0;
  padding: 0 24px;
  overflow: hidden;
  background: var(--bg);
  color: var(--text-light);
  font-size: 14px;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
}

.payment_box p {
  margin: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.input-radio:checked ~ .payment_box {
  max-height: 100px;
  padding: 0 24px 16px 24px;
  border-top: 1px dashed var(--border);
}

.input-radio:checked ~ .payment_box p {
  opacity: 1;
  transform: translateY(0);
}

/* Payment method icons styling with modern approach */
.wc_payment_method.payment_method_ppcp-card-button-gateway label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232b2d42'%3E%3Cpath d='M20 4H4c-1.11 0-2 .89-2 2v12c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z'/%3E%3C/svg%3E");
  transition: all 0.3s ease;
}

.wc_payment_method.payment_method_ppcp-card-button-gateway .input-radio:checked + label::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234361ee'%3E%3Cpath d='M20 4H4c-1.11 0-2 .89-2 2v12c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z'/%3E%3C/svg%3E");
}

.wc_payment_method.payment_method_ppcp-gateway label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232b2d42'%3E%3Cpath d='M10 13l-1.5 1.5L10 16l1.5-1.5L10 13zm4.5-3.5L13 8l-1.5 1.5L13 11l1.5-1.5zM10 8l-1.5 1.5L10 11l1.5-1.5L10 8zm12 4c0 4.418-3.582 8-8 8s-8-3.582-8-8 3.582-8 8-8 8 3.582 8 8zm-2 0c0-3.314-2.686-6-6-6s-6 2.686-6 6 2.686 6 6 6 6-2.686 6-6z'/%3E%3C/svg%3E");
  transition: all 0.3s ease;
}

.wc_payment_method.payment_method_ppcp-gateway .input-radio:checked + label::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234361ee'%3E%3Cpath d='M10 13l-1.5 1.5L10 16l1.5-1.5L10 13zm4.5-3.5L13 8l-1.5 1.5L13 11l1.5-1.5zM10 8l-1.5 1.5L10 11l1.5-1.5L10 8zm12 4c0 4.418-3.582 8-8 8s-8-3.582-8-8 3.582-8 8-8 8 3.582 8 8zm-2 0c0-3.314-2.686-6-6-6s-6 2.686-6 6 2.686 6 6 6 6-2.686 6-6z'/%3E%3C/svg%3E");
}