/* Product Detail Page Styles */
body { font-family: "Roboto", Arial, sans-serif; margin: 0; background: linear-gradient(120deg, #f8fafc 60%, #e0e7ff 100%); color: #222; }
.navbar {
    background: #fff;
    color: #222;
    padding: 1.2em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 12px rgba(45,108,223,0.07);
    position: sticky;
    top: 0;
    z-index: 10;
}
.navbar .logo {
    font-weight: bold;
    font-size: 2em;
    letter-spacing: 2px;
    color: #2d6cdf;
    margin-right: 2em;
    flex: 1 1 auto;
    text-align: left;
}
.navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.navbar .nav-links a {
    color: #222;
    text-decoration: none;
    margin: 0 0.7em;
    font-weight: 500;
    font-size: 1.08em;
    padding: 0.4em 0.2em;
    position: relative;
    transition: color 0.2s;
}
.navbar .nav-links a::after {
    content: "";
    display: block;
    height: 2.5px;
    width: 0;
    background: #2d6cdf;
    border-radius: 2px;
    transition: width 0.25s;
    position: absolute;
    left: 0;
    bottom: -4px;
}
.navbar .nav-links a:hover,
.navbar .nav-links a.active {
    color: #2d6cdf;
}
.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after {
    width: 100%;
}
.navbar .cart {
    position: relative;
    margin-left: 1.5em;
    font-size: 1.5em;
    color: #2d6cdf;
    cursor: pointer;
    transition: color 0.2s;
}
.navbar .cart:hover {
    color: #1b4fa0;
}
.navbar .cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #e74c3c;
    color: #fff;
    font-size: 0.85em;
    font-weight: bold;
    border-radius: 50%;
    padding: 0.18em 0.55em;
    box-shadow: 0 2px 8px rgba(231,76,60,0.15);
}
.detail-container {
    width: 100%;
    max-width: 1200px;
    margin: 3em auto 0 auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(45,108,223,0.13), 0 1.5px 8px rgba(45,108,223,0.07);
    padding: 2em 1.5em;
    display: flex;
    flex-direction: column;
    border-left: 0;
    border-top: 6px solid #2d6cdf;
    position: relative;
    transition: box-shadow 0.25s, transform 0.18s;
    margin-bottom: 2em;
}
.detail-container:hover {
    box-shadow: 0 16px 56px rgba(45,108,223,0.18), 0 2px 12px rgba(45,108,223,0.10);
    transform: translateY(-4px) scale(1.01);
}
.detail-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2em;
}
@media (min-width: 700px) {
    .detail-container { flex-direction: row; gap: 2.5em; align-items: flex-start; }
    .detail-image-section { margin-bottom: 0; }
}
.detail-img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5em;
    box-shadow: 0 4px 18px rgba(45,108,223,0.13);
    background: #f4f8ff;
    border: 2px solid #e0e7ff;
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
}
.detail-img:hover {
    transform: scale(1.18);
    z-index: 2;
    box-shadow: 0 8px 32px rgba(45,108,223,0.18), 0 2px 12px rgba(45,108,223,0.10);
    cursor: zoom-in;
}
.detail-info {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.detail-title {
    font-size: 2em;
    font-weight: bold;
    color: #1b4fa0;
    margin-bottom: 0.3em;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(45,108,223,0.07);
}
.detail-category {
    font-size: 1em;
    padding: 0.3em 1em;
    margin-bottom: 1em;
    margin-right: 0.6em;
}
.detail-price-area {
    gap: 0.8em;
    margin-bottom: 1em;
}
.detail-price {
    font-size: 1.4em;
    padding: 0.2em 1em;
    border-radius: 8px;
}
.detail-old-price {
    font-size: 1em;
    margin-left: 0.5em;
}
.detail-sale {
    font-size: 1em;
    padding: 0.18em 0.7em;
    border-radius: 8px;
    margin-left: 0.5em;
}
.detail-desc {
    margin: 1.2em 0 0.8em 0;
    font-size: 1em;
    border-radius: 8px;
    padding: 1em 0.8em;
}
.detail-actions {
    gap: 0.8em;
    margin-top: 1.2em;
}
.detail-actions button {
    border-radius: 22px;
    padding: 0.6em 1.5em;
    font-size: 1em;
}
.more-products-section { 
    max-width: 1200px; 
    margin: 3em auto 0 auto; 
    padding: 0 2em;
}
.section-title { 
    color: #2d6cdf; 
    margin-top: 2.5em; 
    margin-bottom: 1.5em; 
    font-size: 1.8em; 
    font-weight: 700; 
    letter-spacing: 1px;
    text-align: center;
    position: relative;
}
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2d6cdf 60%, #a5b4fc 100%);
    border-radius: 2px;
    margin: 0.5em auto 0 auto;
}
.products { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 1.5em;
}
.product { background: #fff; border-radius: 12px; box-shadow: 0 2px 16px rgba(45,108,223,0.07); padding: 1.2em; position: relative; transition: transform 0.15s, box-shadow 0.15s; display: flex; flex-direction: column; align-items: center; }
.product:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 6px 24px rgba(45,108,223,0.13); }
.product img { width: 100%; max-width: 180px; height: 160px; object-fit: cover; border-radius: 8px; margin-bottom: 1em; }
.product .name { font-size: 1.15em; margin: 0.5em 0 0.2em 0; font-weight: 700; text-align: center; }
.product .price { color: #27ae60; font-weight: bold; font-size: 1.1em; }
.product .old-price { color: #888; text-decoration: line-through; margin-left: 0.5em; font-size: 0.95em; }
.product .sale { position: absolute; top: 1em; left: 1em; background: #e74c3c; color: #fff; padding: 0.2em 0.7em; border-radius: 4px; font-size: 0.9em; font-weight: 500; letter-spacing: 1px; }
.product-buttons { display: flex; flex-direction: row; gap: 0.5em; margin-top: 1em; width: 100%; }
.product button {
    flex: 0 0 auto;
    width: auto;
    min-width: 44px;
    max-width: 56px;
    padding: 0.6em 0.6em;
    background: #2d6cdf;
    color: #fff;
    border: 1.5px solid #2d6cdf;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    order: 2;
}
.product button:hover {
    background: #1b4fa0;
    color: #fff;
}
.product .detail-btn {
    flex: 1 1 0%;
    width: 100%;
    padding: 0.6em 1.2em;
    background: #fff;
    color: #2d6cdf;
    border: 1.5px solid #2d6cdf;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    margin: 0;
    box-sizing: border-box;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: block;
    order: 1;
}
.product .detail-btn:hover {
    background: #2d6cdf;
    color: #fff;
}
@media (max-width: 900px) { .products { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
@media (max-width: 600px) { .products { gap: 1em; } .navbar { flex-direction: column; align-items: flex-start; padding: 1em 0.5em; } .navbar .logo { margin-bottom: 0.7em; } .navbar .nav-links { flex-wrap: wrap; gap: 0.2em; } }

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    margin-top: 4em;
    padding-top: 3em;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5em;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 1em;
    font-weight: 700;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 1em;
    font-weight: 600;
}

.footer-section p {
    color: #e0e7ff;
    line-height: 1.6;
    margin-bottom: 1.5em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8em;
}

.footer-section ul li a {
    color: #e0e7ff;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95em;
}

.footer-section ul li a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 1em;
    margin-top: 1em;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    font-size: 1.2em;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-info p {
    color: #e0e7ff;
    margin-bottom: 0.8em;
    font-size: 0.95em;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    margin-top: 3em;
    padding: 1.5em 0;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
}

.footer-bottom p {
    color: #e0e7ff;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2em;
}

.footer-links a {
    color: #e0e7ff;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2em;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}
.detail-gallery {
    display: flex;
    gap: 0.7em;
    margin: 1.2em 0 1.5em 0;
    flex-wrap: wrap;
}
.detail-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e0e7ef;
    background: #f4f8ff;
    cursor: pointer;
    transition: border 0.2s, box-shadow 0.2s;
}
.detail-thumb:hover {
    border: 2px solid #2d6cdf;
    box-shadow: 0 2px 8px rgba(45,108,223,0.13);
}
.detail-cart-form {
    display: flex;
    gap: 1em;
    align-items: center;
    flex-wrap: wrap;
}
.detail-qty-group {
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.detail-qty-label {
    font-weight: 600;
    color: #2d6cdf;
}
.detail-qty-input {
    width: 80px;
    padding: 0.5em;
    border: 2px solid #e0e7ef;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: border 0.2s, box-shadow 0.2s;
}
.detail-qty-input:focus {
    border-color: #2d6cdf;
    box-shadow: 0 0 0 2px #e0e7ff;
}
.detail-add-cart-btn {
    background: #2d6cdf;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 0.8em 2em;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(45,108,223,0.2);
}
.detail-add-cart-btn:hover {
    background: #1b4fa0;
    transform: translateY(-2px);
}
.view-all-products-btn {
    display: inline-block;
    background: #2d6cdf;
    color: #fff;
    padding: 0.8em 2em;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(45,108,223,0.2);
    margin-top: 2em;
}
.view-all-products-btn:hover {
    background: #1b4fa0;
    transform: translateY(-2px);
} 