/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Numans', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #FFFFFF;
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/images/steel_and_craft.jpeg');
    background-size: 600px 600px;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: grayscale(100%);
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(220, 20, 60, 0.1);
    z-index: -2;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    background: #DC143C;
    border-bottom: 5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.logo {
    padding: 0.5rem;
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 50px;
    height: auto;
    width: auto;
    border-radius: 50%;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #ecf0f1;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff6b35;
}

/* Cart icon styles */
.cart-icon {
    position: relative;
}

.cart-icon a {
    position: relative;
    display: inline-block;
}

.cart-icon i {
    font-size: 1.2em;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff6b35;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: bold;
    border: 2px solid #DC143C;
    transition: all 0.3s ease;
    visibility: visible;
    opacity: 1;
    z-index: 10;
}

/* Main content */
main {
    min-height: 70vh;
    padding: 2rem;
}

/* Hero section */
.hero {
    margin-bottom: 20px;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F5 20%, #E8E8E8 40%, #D3D3D3 60%, #BEBEBE 80%, #C0C0C0 100%);
    color: white;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(220, 20, 60, 0.1) 50%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #C0C0C0, #000000, #C0C0C0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 3px solid grey;
    border-radius: 10px;
    padding: 1rem;
    display: inline-block;
}

.hero p {
    font-size: 1.5rem;
    color: #000000;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.btn-hero {
    background: linear-gradient(135deg, #DAA520, #B8860B);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid silver;
}

.btn-hero:hover {
    background: linear-gradient(135deg, #B8860B, #8B6914);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
}

/* Featured section */
.featured {
    padding: 4rem 2rem;
    background-color: white;
}

.featured h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 1rem;
}

.feature h3 {
    margin-bottom: 1rem;
    color: #1e3c72;
}

/* Welcome to Steel-Crafts Section */
.welcome-steelcraft {
    padding: 4rem 2rem;
    background: silver;
    position: relative;
    overflow: hidden;
    color: #333;
    border: 2px solid #A9A9A9;
    border-radius: 15px;
}

.welcome-steelcraft::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.welcome-steelcraft::after {
    content: 'Steel-Crafts';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    z-index: 0;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.welcome-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.welcome-content {
    border: 3px solid #8C8C8C;
    border-radius: 15px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.welcome-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #000000 0%, #333333 30%, #666666 70%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.brand-highlight {
    background: linear-gradient(135deg, #000000 0%, #111111 50%, #333333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.welcome-subtitle {
    font-size: 1.3rem;
    color: #000000;
    font-weight: 600;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 2rem;
}

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

.welcome-feature {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #A9A9A9;
    transition: all 0.3s ease;
    text-align: center;
}

.welcome-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: #808080;
    background: rgba(192, 192, 192, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.3);
}

.feature-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.welcome-feature h3 {
    color: #000000;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.welcome-feature p {
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.5;
}

.welcome-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.welcome-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

.welcome-actions .btn-primary {
    background: linear-gradient(135deg, #DAA520, #B8860B);
    color: white;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.welcome-actions .btn-primary:hover {
    background: linear-gradient(135deg, #B8860B, #8B6914);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
}

.welcome-actions .btn-secondary {
    background: linear-gradient(135deg, #DAA520, #B8860B);
    color: white;
    border: 2px solid #B8860B;
}

.welcome-actions .btn-secondary:hover {
    background: linear-gradient(135deg, #B8860B, #8B6914);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #808080, #696969);
    color: white;
    box-shadow: 0 4px 15px rgba(128, 128, 128, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #696969, #808080);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 128, 128, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #808080, #696969);
    color: white;
    border: 2px solid #A9A9A9;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #696969, #808080);
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(169, 169, 169, 0.3);
}

.welcome-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.welcome-image {
    width: 100%;
    max-width: 550px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: zoom-in;
    position: relative;
}

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

.color-block:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.color-1 {
    background: linear-gradient(135deg, #DC143C, #FF6347);
}

.color-2 {
    background: linear-gradient(135deg, #B22222, #CD5C5C);
}

.color-3 {
    background: linear-gradient(135deg, #FF6347, #FFA07A);
}

.color-4 {
    background: linear-gradient(135deg, #CD5C5C, #DC143C);
}

/* Cart */
.cart {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cart h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.cart-items {
    margin-bottom: 2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 150px 100px;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    background-color: white;
}

.item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.item-details h3 {
    margin-bottom: 0.5rem;
}

.item-quantity form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
}

.remove-link {
    color: #dc3545;
    text-decoration: none;
    font-size: 0.9rem;
}

.remove-link:hover {
    text-decoration: underline;
}

.cart-total {
    text-align: right;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

/* Auth */
.auth {
    padding: 2rem;
    max-width: 400px;
    margin: 2rem auto;
}

.auth h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

.auth label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.auth input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.auth .btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.auth .btn:hover {
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.4);
}

.auth p {
    text-align: center;
    margin-top: 1rem;
}

.auth a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
}

.auth a:hover {
    color: #ff6b35;
    text-decoration: underline;
}

.contact h1 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.contact-info h2 {
    margin-bottom: 1rem;
    color: #333;
}

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

.contact-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: #1e3c72;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: #666;
}

/* WhatsApp Contact on Contact Page */
.contact-whatsapp {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(18, 140, 126, 0.1));
    border-radius: 8px;
    border: 1px solid #e8f5e8;
}

.contact-whatsapp h3 {
    margin-bottom: 0.5rem;
    color: #1e3c72;
    font-weight: 600;
}

.contact-whatsapp .whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: 2px solid transparent;
    margin-bottom: 0.5rem;
}

.contact-whatsapp .whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    border-color: #25D366;
}

.contact-whatsapp .whatsapp-btn i {
    font-size: 1.2em;
}

.contact-whatsapp .whatsapp-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-note {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-style: italic;
}

.contact-form h2 {
    margin-bottom: 1rem;
    color: #333;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid #ffeaa7;
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

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

.checkout h1 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.order-summary h2 {
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    background-color: white;
}

.checkout .item-image img {
    width: 60px;
    height: 60px;
}

.checkout .item-details h4 {
    margin-bottom: 0.25rem;
}

.order-total {
    text-align: right;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin-top: 1rem;
}

.checkout-form h2 {
    margin-bottom: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.payment-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.payment-info h2 {
    margin-bottom: 1rem;
}

.payment-note {
    color: #856404;
    background-color: #fff3cd;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.product-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Give more space to the gallery for zoom preview */
    gap: 3rem;
    align-items: start;
}

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

.main-image-container {
    position: relative;
    display: flex;
    gap: 20px;
}

.main-image {
    position: relative;
    width: 400px;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.zoom-lens {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid #007bff;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.zoom-preview {
    width: 400px;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: relative;
}

.zoom-preview-image {
    width: 800px; /* 2x the main image size */
    height: 800px; /* 2x the main image size */
    position: absolute;
    top: 0;
    left: 0;
}

.zoom-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Show zoom elements on hover */
.main-image:hover .zoom-lens {
    opacity: 1;
}

.main-image:hover + .zoom-preview {
    opacity: 1;
    visibility: visible;
}

.thumbnail-gallery {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail.active {
    border-color: #007bff;
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.thumbnail:hover {
    border-color: #007bff;
    opacity: 0.9;
    transform: scale(1.02);
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.product-info .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #8C8C8C;
    margin-bottom: 1rem;
}

.product-info .description {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #333;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.quantity-selector label {
    margin-right: 1rem;
    font-weight: bold;
}

.quantity-selector input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.add-to-cart {
    background-color: #28a745;
    border: none;
    cursor: pointer;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
    margin-bottom: 2rem;
}

.add-to-cart:hover {
    background-color: #218838;
}

/* WhatsApp Contact Buttons */
.contact-options {
    margin-bottom: 2rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: 2px solid transparent;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    border-color: #25D366;
}

.whatsapp-btn i {
    font-size: 1.2em;
}

.whatsapp-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.facebook-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1877F2, #42A5F5);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
    border: 2px solid transparent;
}

.facebook-btn:hover {
    background: linear-gradient(135deg, #42A5F5, #1565C0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
    border-color: #1877F2;
}

.facebook-btn i {
    font-size: 1.2em;
}

.facebook-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(24, 119, 242, 0.3);
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #E1306C, #F56040, #F77737, #FCAF45);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
    border: 2px solid transparent;
}

.instagram-btn:hover {
    background: linear-gradient(135deg, #F56040, #F77737, #FCAF45, #E1306C);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
    border-color: #E1306C;
    text-decoration: none;
    color: white;
}

.instagram-btn i {
    font-size: 1.2em;
}

.instagram-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(225, 48, 108, 0.3);
}

.tiktok-btn {
    width: 158px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
}

.tiktok-btn:hover {
    background: linear-gradient(135deg, #333333, #000000);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: #000000;
}

.tiktok-btn i {
    font-size: 1.2em;
}

.tiktok-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.twitter-btn {
    margin-top: 8px;
    width: 158px;
    display: inline-flex;
    
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #1DA1F2, #42A5F5);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
    border: 2px solid transparent;
}

.twitter-btn:hover {
    background: linear-gradient(135deg, #42A5F5, #1976D2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 161, 242, 0.4);
    border-color: #1DA1F2;
}

.twitter-btn i {
    font-size: 1.2em;
}

.twitter-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(29, 161, 242, 0.3);
}

.product-meta {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.product-meta p {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.product-card {
    border: 2px solid #e8eaf6;
    padding: 1rem;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9ff 100%);
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.15);
    transition: all 0.3s ease;
    border-radius: 12px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    border-color: #ff6b35;
}

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

.product-link:hover {
    text-decoration: none;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.product-card h3 {
    margin-bottom: 0.5rem;
    color: #000000;
    font-weight: 600;
}

.product-card p {
    margin-bottom: 1rem;
    color: #000000;
}

.price {
    font-weight: bold;
    color: #ff6b35;
    margin: 1rem 0;
    font-size: 1.3rem;
}

/* Product Grid and List View Styles */
.product-grid.grid-view {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.product-grid.list-view {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.product-grid.list-view .product-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 1.5rem;
    gap: 2rem;
}

.product-grid.list-view .product-link {
    flex-shrink: 0;
    width: 200px;
}

.product-grid.list-view .product-image {
    width: 100%;
    height: 150px;
    margin-bottom: 0;
}

.product-grid.list-view .product-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.product-grid.list-view .product-card p {
    margin-bottom: 0.5rem;
    flex-grow: 1;
}

.product-grid.list-view .price {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.product-grid.list-view form {
    margin-top: 0;
    align-self: flex-start;
}

/* Responsive adjustments for list view */
@media (max-width: 768px) {
    .product-grid.list-view .product-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .product-grid.list-view .product-link {
        width: 100%;
    }

    .product-grid.list-view .product-image {
        height: 200px;
    }
}

.add-to-cart {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    border: none;
    cursor: pointer;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.3);
}



.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(30, 60, 114, 0.3);
}

.btn:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    box-shadow: 0 6px 15px rgba(30, 60, 114, 0.4);
    transform: translateY(-2px);
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    margin-top: 1rem;
    background: #FFFFFF !important;
    color: #8B3A3A !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    
}

/* Footer */
footer {
    background: #DC143C;
    color: white;
    padding: 2px 0;
    border-top: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 -2px 8px rgba(255, 255, 255, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0 0.5rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

.footer-section h3 {
    margin-bottom: 0.2rem;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.8rem;
}

.footer-section .logo img {
    height: 25px;
    margin-bottom: 0.2rem;
}

.copyright {
    text-align: center;
    padding: 1px 0;
    background: #FFFFFF;
    margin-top: 0;
    width: 100%;
    color: #333;
    font-weight: 500;
    font-size: 0.7rem;
    border-top: 1px solid #DC143C;
}

.copyright a {
    color: #DC143C;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.copyright a:hover {
    text-decoration: underline;
    color: #DC143C;
}

/* Footer WhatsApp Button */
.social-links {
    margin-top: 1rem;
}

.social-links a {
    display: block;
    margin-bottom: 1rem;
    text-decoration: none;
}

.whatsapp-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
    border: 1px solid #25D366;
}

.whatsapp-footer-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    color: white;
}

.whatsapp-footer-btn i {
    font-size: 1.1em;
}

.whatsapp-footer-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(37, 211, 102, 0.3);
}

.facebook-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1877F2, #42A5F5);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
    border: 1px solid #1877F2;
}

.facebook-footer-btn:hover {
    background: linear-gradient(135deg, #42A5F5, #1565C0);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
    text-decoration: none;
    color: white;
}

.facebook-footer-btn i {
    font-size: 1.1em;
}

.facebook-footer-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(24, 119, 242, 0.3);
}

.instagram-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #E1306C, #F56040, #F77737, #FCAF45);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(225, 48, 108, 0.3);
    border: 1px solid #E1306C;
}

.instagram-footer-btn:hover {
    background: linear-gradient(135deg, #F56040, #F77737, #FCAF45, #E1306C);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4);
    text-decoration: none;
    color: white;
}

.instagram-footer-btn i {
    font-size: 1.1em;
}

.instagram-footer-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(225, 48, 108, 0.3);
}

.login-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    border: 1px solid #007bff;
    margin-top: 1rem;
}

.login-footer-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
    text-decoration: none;
    color: white;
}

.login-footer-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 123, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .logo img {
        max-width: 50px;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links li {
        margin-left: 1rem;
        margin-right: 1rem;
    }

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

    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

    .main-image img {
        height: 300px;
    }

    .thumbnail-gallery {
        justify-content: center;
    }

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

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 0.5rem;
    }

    .item-quantity,
    .item-subtotal {
        grid-column: span 2;
        text-align: center;
        margin-top: 0.5rem;
    }

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

    .cart-item {
        flex-direction: column;
        text-align: center;
    }

    .checkout .item-image img {
        align-self: center;
    }

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

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

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

    .order-info {
        grid-template-columns: 1fr;
    }
}

/* Admin */
.admin-dashboard, .admin-products, .admin-orders, .admin-order-detail, .add-product, .edit-product {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-dashboard h1, .admin-products h1, .admin-orders h1, .admin-order-detail h1, .add-product h1, .edit-product h1 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.dashboard-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.dashboard-card h2 {
    margin-bottom: 1rem;
    color: #333;
}

.dashboard-card ul {
    list-style: none;
    padding: 0;
}

.dashboard-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.products-table, .orders-table {
    margin-top: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.btn-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.btn-danger {
    background-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
}

.add-product, .edit-product {
    max-width: 600px;
    margin: 0 auto;
}

.add-product .form-group, .edit-product .form-group {
    margin-bottom: 1rem;
}

.add-product label, .edit-product label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.add-product input, .add-product textarea, .edit-product input, .edit-product textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

/* Image selection styles */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.5rem;
    text-align: center;
}

.image-item .thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.image-item label {
    display: block;
    font-size: 0.9rem;
    font-weight: normal;
}

.image-item input[type="checkbox"] {
    margin-right: 0.5rem;
}

.current-images {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.current-images p {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.current-images img {
    border-radius: 4px;
}

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

.info-section {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-section h2 {
    margin-bottom: 1rem;
    color: #333;
}

.order-items {
    margin-bottom: 2rem;
}

.order-actions {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Payment Instructions Page */
.payment-instructions {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
}

.secure-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.secure-header i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.secure-header h1 {
    margin: 0;
    font-size: 2rem;
}

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

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card h2 {
    background: #f8f9fa;
    margin: 0;
    padding: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card h2 i {
    color: #6c757d;
}

.card-content {
    padding: 1.5rem;
}

.amount {
    color: #28a745;
    font-weight: bold;
    font-size: 1.1em;
}

.warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.warning i {
    margin-top: 0.1rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25d366;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
}

.actions {
    text-align: center;
    margin-top: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .payment-instructions {
        padding: 1rem;
        margin: 1rem auto;
    }
    
    .secure-header h1 {
        font-size: 1.5rem;
    }
    
    .cards-container {
        gap: 1rem;
    }
    
    .card h2 {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .warning {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

.order-actions h2 {
    margin-bottom: 1rem;
}

.order-actions select {
    padding: 0.5rem;
    margin-right: 1rem;
}

/* About Page */
.about {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

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

.about-text h2 {
    color: #333;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-text ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.about-text li {
    margin-bottom: 0.5rem;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about {
        padding: 2rem 1rem;
    }
}

/* Contact Messages Admin Styles */
.messages-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.message-card.unread {
    border-left: 4px solid #007bff;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.message-header h3 {
    margin: 0;
    color: #333;
}

.message-date {
    color: #666;
    font-size: 0.9rem;
}

.unread-badge {
    background: #007bff;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.message-details {
    margin-bottom: 1rem;
}

.message-details p {
    margin-bottom: 0.5rem;
}

.message-content {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #007bff;
    white-space: pre-wrap;
}

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

.responded-text {
    color: #28a745;
    font-weight: bold;
}

.btn-secondary {
    background-color: #6c757d;
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* No products message */
.no-products {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    padding: 2rem;
    grid-column: 1 / -1;
}

/* Shop Page Styles */
.shop-container {
    display: flex;
    gap: 2rem;
    position: relative;
}

.shop-sidebar {
    width: 280px;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
    max-height: 80vh;
    overflow-y: auto;
}

.shop-main {
    flex: 1;
    min-width: 0;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.shop-header h1 {
    margin: 0;
    color: #2c3e50;
}

/* Filter Toggle Button (Mobile) */
.filter-toggle {
    display: none;
    position: fixed;
    top: 90px;
    left: 1rem;
    z-index: 1000;
    background: linear-gradient(135deg, silver 0%, #C0C0C0 100%);
    color: #8C8C8C;
    border: 2px solid #C0C0C0;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(192, 192, 192, 0.2);
    font-size: 0.9rem;
}

.filter-toggle:hover {
    background: linear-gradient(135deg, #C0C0C0 0%, silver 100%);
    border-color: silver;
}

.filter-toggle i {
    margin-right: 0.5rem;
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid silver;
}



/* Filter Groups */
.filter-group {
    margin-bottom: 1.5rem;
}



.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid silver;
    border-radius: 4px;
    font-size: 0.9rem;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #C0C0C0;
    box-shadow: 0 0 0 2px rgba(192, 192, 192, 0.1);
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box input {
    padding-right: 3rem;
}

.search-box button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 3rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    border: 2px solid #C0C0C0;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}


/* Price Range */
.price-range {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-inputs input {
    flex: 1;
    padding: 0.5rem;
}

.price-inputs span {
    color: #8C8C8C;
    font-weight: 500;
}

.price-slider {
    position: relative;
    height: 20px;
}

.price-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 4px;
    background: silver;
    outline: none;
    -webkit-appearance: none;
}

.price-slider input[type="range"]:first-child {
    z-index: 2;
}

.price-slider input[type="range"]:last-child {
    z-index: 1;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: silver;
    cursor: pointer;
    border: 2px solid #C0C0C0;
    box-shadow: 0 0 2px rgba(192, 192, 192, 0.3);
}

.price-slider input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: silver;
    cursor: pointer;
    border: 2px solid #C0C0C0;
    box-shadow: 0 0 2px rgba(192, 192, 192, 0.3);
}

.price-display {
    text-align: center;
    font-weight: 600;
    color: #8C8C8C;
}

/* Filter Actions */
.filter-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.filter-actions .btn {
    flex: 1;
}

/* Results Count */
.results-count {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid silver;
    text-align: center;
    color: #8C8C8C;
    font-size: 0.9rem;
}

/* View Options */
.view-options {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
}

.view-btn.active {
    background: linear-gradient(135deg, #808080, #696969);
    color: white;
    border-color: #808080;
}

.view-btn:hover {
    background: #e0e0e0;
}

.view-btn.active:hover {
    background: linear-gradient(135deg, #696969, #808080);
}

/* Responsive Design */
@media (max-width: 768px) {
    .shop-container {
        flex-direction: column;
    }

    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        z-index: 1001;
        border-radius: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .shop-sidebar.open {
        left: 0;
    }

    .filter-toggle {
        display: flex;
        align-items: center;
    }

    .shop-main {
        width: 100%;
    }

    .shop-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .price-inputs {
        flex-direction: column;
        gap: 0.25rem;
    }

    .price-inputs span {
        display: none;
    }

    .filter-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .shop-sidebar {
        width: 100vw;
    }

    .filter-toggle {
        top: 85px;
        left: 0.5rem;
    }

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

/* Overlay for mobile sidebar */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.sidebar-overlay.active {
    display: block;
}

/* Mobile Responsive Styles for Welcome Section */
@media (max-width: 768px) {
    .welcome-steelcraft {
        padding: 2rem 1rem;
    }

    .welcome-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .welcome-content h2 {
        font-size: 2rem;
    }

    .welcome-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .welcome-actions {
        justify-content: center;
    }

    .welcome-actions .btn {
        flex: 1;
        min-width: 120px;
    }

    .color-blocks {
        transform: none;
        gap: 0.5rem;
    }

    .color-block {
        width: 60px;
        height: 60px;
    }
}