/* ============================================
   LexLab - Digital Marketplace CSS
   Inspired by DIGIM Template
   Primary Color: #3CB371 (Green from logo)
   ============================================ */

:root {
    --primary-color: #3CB371;
    --primary-dark: #2E8B57;
    --primary-light: #90EE90;
    --secondary-color: #1a1a2e;
    --dark-bg: #0f0f1a;
    --card-bg: #1a1a2e;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: #2a2a3e;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(60, 179, 113, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

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

.btn-dark:hover {
    background: var(--border-color);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* Loading Button State */
.btn-loading {
    position: relative;
    cursor: not-allowed !important;
    opacity: 0.8;
}

.btn-loading:hover {
    transform: none !important;
    box-shadow: none !important;
}

.btn-loading i.fa-spinner {
    margin-right: 6px;
}

/* Disabled button styles */
.btn:disabled,
.btn[disabled] {
    cursor: not-allowed;
    opacity: 0.65;
}

.btn:disabled:hover,
.btn[disabled]:hover {
    transform: none;
    box-shadow: none;
}

/* Header / Navbar */
.navbar {
    background: rgba(15, 15, 26, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    border-bottom: 1px solid var(--border-color);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 40px;
}

.navbar-brand span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.navbar-nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

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

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav a:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-icon {
    position: relative;
    color: var(--text-color);
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Profile Dropdown (hidden on desktop) */
.mobile-profile-dropdown {
    display: none;
}

/* Mobile-only items (hidden on desktop) */
.mobile-only {
    display: none;
}

/* Logout link styling */
.navbar-nav .logout-link {
    color: var(--danger-color) !important;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero::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 100"><circle cx="50" cy="50" r="1" fill="%233CB371" opacity="0.1"/></svg>');
    background-size: 50px 50px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* New Hero Section - Inspired by Hostinger */
.hero-new {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 50%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero-new::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(60, 179, 113, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-new .hero-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(60, 179, 113, 0.15);
    border: 1px solid rgba(60, 179, 113, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-badge i {
    color: var(--primary-color);
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text > p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.hero-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

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

.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(60, 179, 113, 0.1);
    color: var(--primary-color);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-trust i {
    color: var(--primary-color);
}

/* Hero Cards - Right Side */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--text-color);
}

.hero-card .hero-card-icon {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px;
    max-width: 50px;
    border-radius: 12px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card .hero-card-icon i {
    font-size: 1.3rem;
    color: white;
}

.hero-card .hero-card-content {
    flex: 1;
    min-width: 0;
}

.hero-card .hero-card-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 5px;
    color: var(--text-color);
}

.hero-card .hero-card-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-card > i.fa-arrow-right {
    color: var(--text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hero-card:hover > i.fa-arrow-right {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Search Bar */
.search-bar {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    max-width: 600px;
    margin: 30px 0;
    border: 1px solid var(--border-color);
}

.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 15px;
    color: var(--text-color);
    font-size: 15px;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar input:focus {
    outline: none;
}

.search-bar button {
    background: var(--primary-color);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-bar button:hover {
    background: var(--primary-dark);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.category-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(60, 179, 113, 0.2);
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 14px;
}

.category-card .count {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 15px;
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

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

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

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.product-badge.sale {
    background: var(--danger-color);
}

.product-badge.new {
    background: var(--info-color);
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-actions button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-actions button:hover {
    background: var(--primary-color);
    color: white;
}

.product-actions button.in-wishlist {
    background: var(--primary-color);
    color: white;
}

.product-actions button.in-wishlist:hover {
    background: var(--danger-color);
}

.product-content {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-title a {
    color: inherit;
}

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

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

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

.product-price .old-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--warning-color);
    font-size: 14px;
}

.product-rating span {
    color: var(--text-muted);
}

/* Filter Sidebar */
.filter-sidebar {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

.filter-toggle {
    display: none;
    width: 100%;
    padding: 15px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.filter-toggle .toggle-icon {
    transition: transform 0.3s ease;
}

.filter-sidebar.show .filter-toggle .toggle-icon {
    transform: rotate(180deg);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.filter-group label:hover {
    color: var(--text-color);
}

.filter-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

/* Products Layout (sidebar + grid) */
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Product Detail Grid (gallery + info) */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 18px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

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

/* Product Detail */
.product-detail {
    padding: 100px 0 60px;
}

.product-gallery {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.product-gallery img {
    width: 100%;
    height: auto;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px;
}

.product-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.product-thumbnails img:hover,
.product-thumbnails img.active {
    opacity: 1;
}

.product-info {
    padding-left: 40px;
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.product-info .price-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

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

.product-info .original-price {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-info .discount-badge {
    background: var(--danger-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.license-options {
    margin: 25px 0;
}

.license-option {
    display: block;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.license-option:focus,
.license-option:focus-within {
    outline: none;
}

.license-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.license-option:hover,
.license-option.selected {
    border-color: var(--primary-color);
}

.license-option h4 {
    margin-bottom: 5px;
}

.license-option p {
    font-size: 14px;
    margin-bottom: 10px;
}

.license-option .license-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-features {
    margin: 30px 0;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li i {
    color: var(--primary-color);
}

/* Tabs */
.tabs {
    margin-top: 60px;
}

.tab-nav {
    display: flex;
    gap: 30px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.tab-nav button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    padding: 15px 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-nav button:hover,
.tab-nav button.active {
    color: var(--primary-color);
}

.tab-nav button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.tab-content {
    display: none;
}

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

/* Reviews */
.review-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.review-meta h4 {
    margin-bottom: 5px;
}

.review-meta .date {
    font-size: 13px;
    color: var(--text-muted);
}

.review-rating {
    margin-left: auto;
    color: var(--warning-color);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-brand img {
    height: 50px;
}

.footer-brand span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-about p {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-color);
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 40px 20px;  /* Top padding accounts for fixed navbar */
}

.auth-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    border: 1px solid var(--border-color);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 30px;
}

.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-card .auth-logo img {
    height: 60px;
}

/* Dashboard */
.dashboard {
    padding: 80px 0 60px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.dashboard-sidebar {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 25px;
    height: fit-content;
    border: 1px solid var(--border-color);
}

.dashboard-nav {
    list-style: none;
}

.dashboard-nav li {
    margin-bottom: 5px;
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-muted);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    background: var(--primary-color);
    color: white;
}

.dashboard-content {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--dark-bg);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 14px;
    margin: 0;
}

/* Cart */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

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

.cart-table th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-info img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-summary {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

.cart-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cart-summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.cart-summary-row.total span:last-child {
    color: var(--primary-color);
}

/* Messages Container - Removed (now handled inline in templates) */

/* Alerts / Messages */
.alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    font-weight: 500;
    font-size: 0.95rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: rgba(60, 179, 113, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.alert-error,
.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border-color: #f59e0b;
    color: #f59e0b;
}

.alert-info {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    color: #3b82f6;
}

.close-alert {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
    font-size: 14px;
}

.close-alert:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 3px;
}

.testimonial-author p {
    font-size: 13px;
    margin: 0;
}

/* ============================================
   Responsive / Mobile Styles
   ============================================ */

/* Tablet (992px and below) */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .dashboard-sidebar {
        margin-bottom: 20px;
    }

    /* Product detail grid to single column */
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-info {
        padding-left: 0;
        margin-top: 30px;
    }

    /* Products layout - sidebar on top on tablet */
    .products-layout {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    /* Body when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Mobile menu overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

    body.menu-open .mobile-menu-overlay {
        display: block;
    }

    /* Mobile Navigation */
    .navbar .container {
        position: relative;
    }

    .navbar-nav {
        position: fixed !important;
        top: 71px !important;
        right: -280px !important;
        bottom: 0 !important;
        left: auto !important;
        width: 280px !important;
        height: calc(100vh - 71px) !important;
        background: var(--dark-bg) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0 !important;
        gap: 0 !important;
        border-left: 1px solid var(--border-color) !important;
        z-index: 10001 !important;
        overflow-y: auto !important;
        transition: right 0.3s ease !important;
        display: flex !important;
    }

    .navbar-nav.active {
        right: 0 !important;
    }

    .navbar-nav li {
        width: 100% !important;
        list-style: none !important;
    }

    .navbar-nav a {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 16px 20px !important;
        border-bottom: 1px solid var(--border-color) !important;
        font-size: 15px !important;
        color: var(--text-color) !important;
        text-decoration: none !important;
    }

    .navbar-nav a:hover {
        background: var(--card-bg) !important;
        color: var(--primary-color) !important;
    }

    .navbar-nav a::after {
        display: none !important;
        content: none !important;
    }

    .navbar-nav a i {
        width: 20px;
        text-align: center;
        color: var(--primary-color);
    }

    /* Menu section title */
    .navbar-nav .nav-section-title {
        padding: 15px 20px 8px !important;
        font-size: 11px !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        color: var(--text-muted) !important;
        font-weight: 600 !important;
        border-bottom: none !important;
    }

    .navbar-nav li.nav-section-title a {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        order: 10;
    }

    .navbar-actions {
        gap: 10px;
    }

    .navbar-actions .btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Show mobile-only menu items */
    .mobile-only {
        display: block !important;
    }

    /* Hide desktop auth buttons on mobile */
    .navbar-actions .btn-sm {
        display: none !important;
    }

    /* Keep cart icon visible */
    .navbar-actions .cart-icon {
        display: flex;
    }

    /* Mobile Profile Dropdown */
    .mobile-profile-dropdown {
        display: block;
        position: relative;
        order: 5;
    }

    .mobile-profile-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        color: var(--text-color);
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.2s;
    }

    .mobile-profile-btn:hover {
        background: var(--border-color);
    }

    .mobile-profile-menu {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        min-width: 200px;
        padding: 8px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .mobile-profile-dropdown.active .mobile-profile-menu {
        display: block;
        animation: dropdownSlide 0.2s ease;
    }

    @keyframes dropdownSlide {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-profile-menu a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        color: var(--text-color);
        font-size: 0.9rem;
        transition: background 0.2s;
    }

    .mobile-profile-menu a:hover {
        background: var(--dark-bg);
    }

    .mobile-profile-menu a i {
        width: 18px;
        text-align: center;
        color: var(--text-muted);
    }

    .mobile-profile-menu .logout-link {
        color: #e74c3c;
    }

    .mobile-profile-menu .logout-link i {
        color: #e74c3c;
    }

    .mobile-profile-divider {
        height: 1px;
        background: var(--border-color);
        margin: 8px 0;
    }

    /* CRITICAL: Hide dashboard sidebar on mobile */
    .dashboard-sidebar {
        display: none !important;
    }

    /* Dashboard uses single column on mobile */
    .dashboard-grid {
        display: block;
    }

    .dashboard-content {
        margin: 0;
        border-radius: 0;
    }

    /* Hero Section */
    .hero {
        padding: 100px 0 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* New Hero Section Mobile */
    .hero-new {
        padding: 100px 0 40px;
    }

    .hero-new .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text > p {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 15px;
        justify-content: center;
    }

    .hero-stat strong {
        font-size: 1.2rem;
    }

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

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

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

    .hero-cards {
        gap: 12px;
    }

    .hero-card {
        padding: 15px;
    }

    .hero-card-icon {
        width: 45px;
        height: 45px;
    }

    .hero-card-content h4 {
        font-size: 0.95rem;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-card .product-image {
        height: 140px;
    }

    .product-card .product-content {
        padding: 15px;
    }

    .product-title {
        font-size: 0.95rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    /* Categories Grid */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-card {
        padding: 20px;
    }

    .category-card i {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .category-card h3 {
        font-size: 1rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    /* Dashboard */
    .dashboard {
        padding: 80px 0 30px;
    }

    .dashboard-content {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

    /* Product Detail Page */
    .product-detail {
        padding: 80px 0 40px;
    }

    .product-info h1 {
        font-size: 1.5rem;
    }

    .product-info .current-price {
        font-size: 1.5rem;
    }

    .license-option {
        padding: 15px;
    }

    .license-option h4 {
        font-size: 1rem;
    }

    .license-option p {
        font-size: 13px;
    }

    .license-option .license-price {
        font-size: 1rem;
    }

    /* Tabs */
    .tab-nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tab-nav button {
        font-size: 0.9rem;
        padding: 10px 0;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Tables - responsive card layout on mobile */
    .cart-table thead {
        display: none;
    }
    .cart-table tbody tr {
        display: block;
        margin-bottom: 15px;
        background: var(--dark-bg);
        border-radius: 10px;
        padding: 15px;
    }
    .cart-table tbody td {
        display: block;
        padding: 8px 0;
        border: none;
        text-align: left;
    }
    .cart-item-info {
        flex-direction: column;
        text-align: center;
    }
    .cart-item-info > div:first-child {
        margin: 0 auto 10px;
    }

    /* Checkout/Cart grid */
    .checkout-grid,
    .cart-grid {
        grid-template-columns: 1fr !important;
    }

    /* Section Spacing */
    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    /* Auth Pages */
    .auth-card {
        padding: 25px;
        margin: 0 10px;
    }

    /* Toast on mobile - higher z-index than menu */
    .toast-container {
        right: 10px;
        left: 10px;
        z-index: 10002;
    }

    .toast {
        min-width: auto;
        max-width: none;
    }

    /* Filter sidebar - collapsible on mobile */
    .filter-sidebar {
        margin-bottom: 20px;
        padding: 0;
        background: none;
        border: none;
    }

    .filter-toggle {
        display: flex;
    }

    .filter-sidebar .filter-form {
        display: none;
        background: var(--card-bg);
        border-radius: 12px;
        padding: 20px;
        border: 1px solid var(--border-color);
    }

    .filter-sidebar.show .filter-form {
        display: block;
    }

    /* Contact/FAQ */
    .contact-grid,
    .faq-grid {
        grid-template-columns: 1fr !important;
    }

    /* Profile page - stack 2-column info cards on mobile */
    .profile-info-grid {
        grid-template-columns: 1fr !important;
    }

    /* Form grids inside dashboard - stack on mobile */
    .form-grid-2col {
        grid-template-columns: 1fr !important;
    }

    /* Dashboard header flex - stack on mobile */
    .dashboard-content > .d-flex.justify-between {
        flex-direction: column;
        gap: 15px;
        align-items: stretch !important;
    }

    .dashboard-content > .d-flex.justify-between .btn {
        width: 100%;
        text-align: center;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

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

    .hero-buttons .btn {
        width: 100%;
    }

    .search-bar {
        flex-direction: column;
    }

    .search-bar button {
        width: 100%;
    }

    /* Products Grid - single column on very small screens */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card .product-image {
        height: 180px;
    }

    /* Categories - single column */
    .categories-grid {
        grid-template-columns: 1fr;
    }

    /* Dashboard stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Navbar */
    .navbar-brand span {
        font-size: 1.2rem;
    }

    .navbar-brand img {
        height: 32px;
    }

    /* Mobile menu full width on very small screens */
    .navbar-nav {
        width: 100%;
        border-left: none;
    }

    /* Price box */
    .product-info .price-box {
        flex-wrap: wrap;
    }

    /* Buttons */
    .btn-lg {
        padding: 14px 24px;
        font-size: 14px;
    }

    /* Review form */
    .review-header {
        flex-wrap: wrap;
    }

    .review-rating {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }

    /* Footer */
    .footer-brand img {
        height: 40px;
    }

    .footer-brand span {
        font-size: 1.25rem;
    }

    .social-links a {
        width: 36px;
        height: 36px;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary-color); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.w-100 { width: 100%; }

/* ============================================
   Toast Notifications
   ============================================ */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    min-width: 300px;
    max-width: 400px;
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.hiding {
    transform: translateX(120%);
    opacity: 0;
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.toast-success .toast-icon {
    background: rgba(60, 179, 113, 0.2);
    color: var(--primary-color);
}

.toast-error .toast-icon {
    background: rgba(220, 53, 69, 0.2);
    color: var(--danger-color);
}

.toast-warning .toast-icon {
    background: rgba(255, 193, 7, 0.2);
    color: var(--warning-color);
}

.toast-info .toast-icon {
    background: rgba(23, 162, 184, 0.2);
    color: var(--info-color);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 13px;
    color: var(--text-muted);
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.toast-close:hover {
    background: var(--border-color);
    color: var(--text-color);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 0 0 12px 12px;
    animation: toast-progress 4s linear forwards;
}

.toast-error .toast-progress {
    background: var(--danger-color);
}

.toast-warning .toast-progress {
    background: var(--warning-color);
}

.toast-info .toast-progress {
    background: var(--info-color);
}

@keyframes toast-progress {
    from { width: 100%; }
    to { width: 0%; }
}

/* ============================================
   Floating Telegram Chat Button
   ============================================ */
.telegram-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0088cc, #00a8e8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.telegram-float i {
    font-size: 28px;
    color: white;
}

.telegram-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 136, 204, 0.5);
    color: white;
}

.telegram-float:active {
    transform: scale(1.05);
}

/* Pulse animation for attention */
.telegram-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    animation: telegram-pulse 2s infinite;
}

@keyframes telegram-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .telegram-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .telegram-float i {
        font-size: 24px;
    }
}

/* ============================================
   Protected Image with Watermark Overlay
   ============================================ */

.protected-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--card-bg);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.protected-image-container img.protected-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Watermark overlay - always visible with subtle opacity */
.watermark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.watermark-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.35;
    transform: rotate(-25deg);
}

.watermark-logo {
    width: 80px;
    height: auto;
    filter: brightness(0) invert(1);
}

.watermark-text {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Repeating watermark pattern for larger images */
.protected-image-container.pattern-watermark .watermark-overlay {
    background-image:
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.03) 100px,
            rgba(255, 255, 255, 0.03) 200px
        );
}

.protected-image-container.pattern-watermark .watermark-content {
    position: absolute;
}

/* Multiple watermarks for pattern effect */
.protected-image-container.pattern-watermark::before,
.protected-image-container.pattern-watermark::after {
    content: 'LEXLAB.STORE';
    position: absolute;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 3px;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 3;
    white-space: nowrap;
}

.protected-image-container.pattern-watermark::before {
    top: 20%;
    left: -10%;
}

.protected-image-container.pattern-watermark::after {
    bottom: 20%;
    right: -10%;
}

/* Transparent protection layer to prevent screenshots/dev tools inspection */
.image-protection-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: transparent;
}

/* Hover effect - make watermark more visible on hover */
.protected-image-container:hover .watermark-content {
    opacity: 0.5;
}

/* Product card image protection */
.product-card .product-image {
    position: relative;
    overflow: hidden;
}

.product-card .product-image img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Thumbnail strip protection */
.product-thumbnails img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: auto !important;
}

/* Lightbox image protection */
.lightbox-content {
    position: relative;
}

.lightbox-content img {
    -webkit-user-drag: none;
    user-drag: none;
}

/* Logo Watermark Styles */
.image-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    z-index: 15;
    opacity: 0.55;
}

.image-watermark img {
    width: 100px;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
    pointer-events: none;
}

.image-watermark span {
    font-size: 14px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    font-family: 'Inter', sans-serif;
}

/* Card watermark - smaller */
.product-card .image-watermark {
    opacity: 0.6;
}

.product-card .image-watermark img {
    width: 65px;
}

.product-card .image-watermark span {
    font-size: 10px;
}

/* Gallery watermark */
.product-gallery .image-watermark {
    opacity: 0.5;
}

.product-gallery .image-watermark img {
    width: 130px;
}

.product-gallery .image-watermark span {
    font-size: 16px;
}

/* Lightbox watermark */
.lightbox-content .image-watermark {
    opacity: 0.4;
}

.lightbox-content .image-watermark img {
    width: 150px;
}

.lightbox-content .image-watermark span {
    font-size: 18px;
}

/* Responsive watermark sizes */
@media (max-width: 768px) {
    .product-card .image-watermark img {
        width: 45px;
    }

    .product-card .image-watermark span {
        font-size: 8px;
    }

    .product-gallery .image-watermark img {
        width: 80px;
    }

    .product-gallery .image-watermark span {
        font-size: 11px;
    }

    .lightbox-content .image-watermark img {
        width: 100px;
    }

    .lightbox-content .image-watermark span {
        font-size: 13px;
    }
}
