/* ==========================================================================
   KIOSCO GAMES - Style System
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: rgba(255, 245, 245, 0.98);
    
    --accent-pink: #e74c3c;
    --accent-red: #c0392b;
    --accent-white: #ffffff;
    --accent-light-pink: #fce8e6;
    
    --grad-primary: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-pink) 100%);
    --grad-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #999999;
    
    --border-color: rgba(0, 0, 0, 0.1);
    --border-hover: rgba(199, 57, 43, 0.3);
    --border-neon: rgba(199, 57, 43, 0.2);
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-neon-pink: 0 0 10px rgba(199, 57, 43, 0.3);
    --shadow-neon-cyan: 0 0 10px rgba(199, 57, 43, 0.2);
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(252, 232, 230, 0.5) 35px, rgba(252, 232, 230, 0.5) 70px);
}

body {
    background: var(--bg-primary);
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(252, 232, 230, 0.5) 35px, rgba(252, 232, 230, 0.5) 70px);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

li {
    list-style: none;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-pink);
}

/* Layout Wrapper */
.content-wrapper {
    flex: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 24px 60px 24px; /* Space for sticky header */
}

/* Header & Glassmorphic Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.logo-icon {
    height: 50px; /* Explicit fallback fallback sizing */
    max-height: 50px;
    filter: drop-shadow(0 0 6px rgba(199, 57, 43, 0.3));
    transition: var(--transition-fast);
}

.logo-link:hover .logo-icon {
    transform: rotate(-10deg) scale(1.08);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.main-nav {
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 8px;
}

.main-nav li {
    display: inline-block;
}

.main-nav a {
    color: var(--text-secondary);
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-white);
    background: var(--grad-primary);
    border-color: var(--accent-red);
}

.main-nav a.active {
    color: var(--accent-white);
    box-shadow: 0 0 12px rgba(199, 57, 43, 0.3);
    font-weight: 700;
}

/* Footer Section */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 60px 24px 30px 24px;
    margin-top: auto;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-logo .logo-icon {
    height: 40px;
}

.footer-logo svg {
    filter: drop-shadow(0 0 4px rgba(199, 57, 43, 0.2));
}

.footer-tagline {
    color: var(--text-secondary);
    max-width: 320px;
    font-size: 14px;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--accent-red);
    padding-left: 4px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(199, 57, 43, 0.05);
    border: 1px solid rgba(199, 57, 43, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-secondary);
}

.social-icon:hover {
    transform: translateY(-3px);
    color: var(--text-primary);
}

.social-icon.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285aec 90%);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(214, 36, 159, 0.4);
    color: #ffffff;
}

.social-icon.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
    color: #ffffff;
}

.store-location {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-location i {
    color: var(--accent-red);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
}

/* Reusable UI Components & Buttons */
.btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition-fast);
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--accent-white);
    box-shadow: var(--shadow-neon-pink);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red) 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-gradient {
    background: var(--grad-primary);
    color: var(--accent-white);
    padding: 14px 32px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 15px rgba(199, 57, 43, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 57, 43, 0.5);
}

/* Home Layout: Hero & Trust Grid */
.home-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.hero-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-title .highlight {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glow-bg {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.2) 0%, rgba(0, 240, 255, 0.1) 60%, transparent 100%);
    filter: blur(40px);
    z-index: 1;
}

.hero-featured-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md), 0 0 30px rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.hero-featured-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: var(--shadow-md), 0 0 40px rgba(0, 240, 255, 0.25);
}

/* Trust Badges Grid */
.home-trust-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    text-align: center;
}

.trust-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md), var(--shadow-neon-pink);
}

.trust-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(199, 57, 43, 0.08);
    border: 1px solid rgba(199, 57, 43, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-red);
    margin: 0 auto 20px auto;
    transition: var(--transition-fast);
}

.trust-card:hover .trust-icon-container {
    background: rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.3);
    color: var(--accent-pink);
    transform: scale(1.1);
}

.trust-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.trust-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Featured Products & Title */
.section-header {
    margin-bottom: 40px;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}

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

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

/* Store Page (Sidebar Left / Products Right) */
.store-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar Styles */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    backdrop-filter: blur(10px);
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.category-link {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid transparent;
}

.category-link:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.03);
}

.category-link.active {
    color: var(--accent-white);
    background: var(--grad-primary);
    border: 2px solid var(--accent-red);
    box-shadow: inset 0 0 10px rgba(199, 57, 43, 0.15), 0 0 12px rgba(199, 57, 43, 0.25);
    font-weight: 700;
    padding: 12px 16px;
}

.sidebar-info-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px;
}

.sidebar-info-card h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-pink);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-info-card p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Products Display Grid */
.products-display {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-content {
    color: var(--text-secondary);
    font-size: 15px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Product Card Component */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-primary);
    opacity: 0;
    transition: var(--transition-fast);
}

.product-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md), 0 10px 30px -10px rgba(199, 57, 43, 0.15);
}

.product-card:hover::before {
    opacity: 1;
}

.product-badge {
    background: rgba(199, 57, 43, 0.95);
    border: 1px solid var(--accent-red);
    color: var(--accent-white);
}

.product-card[data-category="consolas"] .product-badge {
    border-color: var(--accent-red);
    color: var(--accent-white);
}

.product-image-container {
    height: 240px;
    overflow: hidden;
    position: relative;
    background: #0f131c;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-muted);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.price-tag {
    color: var(--accent-red);
}

.product-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
    flex: 1;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.product-features li {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features li i {
    color: var(--accent-pink);
    font-size: 12px;
}

.whatsapp-btn {
    background: #25d366;
}

.whatsapp-btn:hover {
    background: #20ba59;
}

.no-products {
    grid-column: span 2;
    padding: 60px 20px;
    text-align: center;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-md);
    color: var(--text-secondary);
}

.no-products i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Single Pages Styling (About, Contact) */
.single-container {
    max-width: 800px;
    margin: 0 auto;
}

.single-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    backdrop-filter: blur(10px);
}

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

.single-header h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.header-divider {
    width: 60px;
    height: 4px;
    background: var(--grad-primary);
    border-radius: 2px;
}

.single-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.single-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.lead-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
}

/* About Page Custom Component */
.about-hero {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 36px 0;
}

.feature-item {
    background: rgba(0, 0, 0, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    text-align: center;
}

.feature-icon {
    font-size: 28px;
    color: var(--accent-pink);
    margin-bottom: 14px;
}

.feature-item h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Contact Page Layout & Form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 24px 0 36px 0;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: var(--text-secondary);
}

.contact-details li i {
    width: 24px;
    font-size: 16px;
    color: var(--accent-pink);
    text-align: center;
}

.contact-btn-wa {
    background: rgba(199, 57, 43, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    color: var(--accent-red) !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-btn-wa:hover {
    background: var(--accent-red);
    color: #ffffff !important;
}

.contact-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.contact-social-icons .social-icon {
    width: auto;
    height: auto;
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-form-container {
    background: rgba(0, 0, 0, 0.005);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px;
}

.contact-form-container h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-pink);
    box-shadow: 0 0 10px rgba(199, 57, 43, 0.15);
}

.submit-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    padding: 14px;
    border-radius: var(--border-radius-sm);
    background: var(--grad-primary);
    color: var(--accent-white);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-neon-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(199, 57, 43, 0.5);
}

/* ── Clickable product card ── */
.product-card-link {
    display: contents;
    color: inherit;
    text-decoration: none;
}

/* ── Ver producto button on cards ── */
.ver-producto-btn {
    margin-top: auto;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.product-card:hover .ver-producto-btn,
.product-card-link:hover .ver-producto-btn {
    background: var(--grad-primary);
    border-color: transparent;
    color: var(--accent-white);
}

/* ── Product Detail Page ── */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background: transparent;
    margin-bottom: 32px;
    transition: var(--transition-fast);
}

.back-btn:hover {
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.05);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 56px;
    align-items: start;
}

/* Vertical image stack */
.product-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-image-wrapper {
    width: 100%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: #0f131c;
    border: 1px solid var(--border-color);
}

.detail-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.detail-image-wrapper:hover img {
    transform: scale(1.02);
}

/* Sticky info panel */
.product-detail-info {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    margin: 12px 0 10px 0;
    color: var(--text-primary);
}

.detail-price {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-red);
    margin-bottom: 20px;
}

.detail-divider {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 20px;
}

.detail-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.detail-description p {
    margin-bottom: 12px;
}

.detail-features-box {
    background: rgba(0, 0, 0, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 20px 24px;
    margin-bottom: 28px;
}

.detail-features-box h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-pink);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Large WhatsApp CTA */
.whatsapp-btn-large {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    color: #ffffff;
    background: #25d366;
    padding: 16px 24px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    transition: var(--transition-fast);
}

.whatsapp-btn-large i {
    font-size: 22px;
}

.whatsapp-btn-large:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .content-wrapper {
        padding-top: 90px;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-featured-image {
        transform: none;
        max-width: 80%;
    }
    
    .hero-featured-image:hover {
        transform: scale(1.02);
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .store-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sidebar {
        position: static;
    }
    
    .sidebar-list {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .sidebar-list li {
        flex: 1;
        min-width: 150px;
    }
    
    .category-link {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
        padding: 12px 16px;
    }
    
    .content-wrapper {
        padding-top: 140px; /* Increase spacing to prevent overlapping fixed header layout */
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .home-trust-features {
        grid-template-columns: 1fr;
    }
    
    .featured-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .no-products {
        grid-column: span 1;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .single-card {
        padding: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* Modern mobile tab navigation layout block (Fixes image_453f5a.png) */
@media (max-width: 552px) {
    .header-container {
        padding: 10px 8px;
        gap: 10px;
    }

    .logo-text {
        font-size: 20px;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        display: flex;
        width: 100%;
        justify-content: space-between;
        gap: 4px;
    }

    .main-nav li {
        flex: 1;
    }

    .main-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 8px 4px;
        font-size: 12px;
        gap: 4px;
        text-align: center;
    }

    .main-nav a i {
        font-size: 16px;
    }

    .content-wrapper {
        padding-top: 150px; /* Adapts cleanly to stacked navigation container height */
    }
    
    .sidebar-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .sidebar-list li {
        width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-detail-info {
        position: static;
    }
}

/* ── Stock Attributes & Badges ── */
.detail-stock {
    margin-bottom: 20px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-badge.in-stock {
    background-color: rgba(46, 204, 113, 0.12);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.25);
}

.stock-badge.out-of-stock {
    background-color: rgba(231, 76, 60, 0.12);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.25);
}

.card-stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.card-stock-badge.out-of-stock {
    background-color: #e74c3c;
    color: #ffffff;
}

.whatsapp-btn-large.out-of-stock-btn {
    background-color: #7f8c8d;
    box-shadow: 0 4px 15px rgba(127, 140, 141, 0.25);
}

.whatsapp-btn-large.out-of-stock-btn:hover {
    background-color: #626567;
    box-shadow: 0 6px 20px rgba(98, 101, 103, 0.45);
}

