/*
Theme Name: Laptop Store
Theme URI: 
Author: Your Name
Author URI: 
Description: A modern WordPress theme for laptop store
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: laptop-store
*/

body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #ffffff;
    color: #222;
}

.header {
    background: #181c23;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 30px;
    height: 60px;
    justify-content: space-between;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo span {
    color: #ff2d2d;
    font-size: 1.5rem;
    vertical-align: super;
}

.search-bar {
    flex: 1;
    margin: 0 30px;
    display: flex;
    align-items: center;
    background: #23272f;
    border-radius: 5px;
    padding: 0 10px;
}

.search-bar input {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    padding: 10px;
    width: 100%;
    outline: none;
}

.profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.container {
    display: flex;
    min-height: calc(100vh - 60px);
}

.sidebar {
    width: 230px;
    background: #fff;
    padding: 30px 0 0 0;
    border-right: 1px solid #e0e0e0;
    min-height: 100vh;
}

.sidebar ul {
    list-style: none;
    padding: 0 0 0 20px;
    margin: 0;
}

.sidebar li {
    margin: 18px 0;
    font-size: 1.05rem;
    cursor: pointer;
    color: #222;
    transition: color 0.2s;
}

.sidebar li:hover {
    color: #007bff;
}

.sidebar .brands {
    margin-top: 20px;
}

.main-content {
    flex: 1;
    padding: 30px;
}

.banner {
    background: #e9ecef;
    border-radius: 12px;
    padding: 40px 30px 30px 30px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    min-height: 220px;
    position: relative;
    overflow: hidden;
}

.banner-text {
    z-index: 2;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #222;
}

.banner-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 18px;
    color: #333;
}

.banner-btn {
    background: #ff2d2d;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 22px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}

.banner-img {
    position: absolute;
    right: 30px;
    bottom: 0;
    height: 200px;
    z-index: 1;
    opacity: 0.95;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.products-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.product-card {
    background: transparent !important;
    border-radius: 10px;
    width: 200px;
    padding: 18px 15px 15px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: none !important;
    transition: box-shadow 0.2s;
}

.product-card img {
    width: 140px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 12px;
}

.product-card .name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #222;
    text-align: center;
}

.articles-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.article-card {
    background: transparent !important;
    border-radius: 10px;
    width: 320px;
    padding: 0 0 16px 0;
    box-shadow: none !important;
    overflow: hidden;
}

/* WordPress specific styles */
.wp-block-search__input {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    padding: 10px;
    width: 100%;
    outline: none;
}

.wp-block-search__button {
    display: none;
}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .banner-img {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 20px;
    }
    
    .products-row,
    .articles-row {
        justify-content: center;
    }
}

/* Product page styles */
.product-container {
    max-width: 1100px;
    margin: 0 auto;
    background: transparent;
    border-radius: 12px;
    box-shadow: none;
    padding: 32px 32px 32px 32px;
    display: flex;
    gap: 32px;
}

.left-col {
    flex: 1 1 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 320px;
}

.product-img {
    width: 260px;
    height: 400px;
    object-fit: contain;
    border-radius: 10px;
    background: transparent;
    margin-bottom: 18px;
    box-shadow: none;
}

.right-col {
    flex: 2 1 600px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 6px;
}

.star-rating {
    color: #f5b301;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.price-row {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.price-row span {
    display: inline-block;
    margin-right: 18px;
    color: #333;
}

.desc-section {
    background: #f7fafd;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.desc-section h2 {
    font-size: 1.18rem;
    color: #1a237e;
    margin: 0 0 8px 0;
}

.desc-section ul {
    margin: 0 0 10px 18px;
    padding: 0;
    color: #333;
    font-size: 1rem;
}

.desc-section p {
    margin: 0 0 8px 0;
    color: #444;
    font-size: 1rem;
}

.specs-section {
    background: #f7fafd;
    border-radius: 8px;
    padding: 18px 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.specs-section h2 {
    font-size: 1.18rem;
    color: #1a237e;
    margin: 0 0 12px 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.specs-table th, .specs-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.specs-table th {
    background: #e3eaf6;
    color: #1a237e;
    font-weight: 600;
    width: 180px;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

/* WooCommerce specific styles */
.woocommerce div.product div.images img {
    width: 100%;
    height: auto;
    display: block;
}

.woocommerce div.product form.cart {
    margin-top: 20px;
}

.woocommerce div.product form.cart .button {
    background: #ff2d2d;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.woocommerce div.product form.cart .button:hover {
    background: #e61f1f;
}

.woocommerce div.product form.cart .quantity {
    margin-right: 10px;
}

.woocommerce div.product form.cart .quantity input {
    width: 60px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

@media (max-width: 900px) {
    .product-container {
        flex-direction: column;
        padding: 18px 6vw;
    }
    
    .left-col {
        align-items: flex-start;
        min-width: 0;
    }
    
    .right-col {
        width: 100%;
    }
    
    .product-img {
        width: 100%;
        height: auto;
        max-width: 300px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-form,
    .contact-info {
        flex: none;
        width: 100%;
    }
}

/* Contact Page Styles */
.contact-content {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-form {
    flex: 2;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info {
    flex: 1;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
}

.contact-form h2,
.contact-info h3,
.faq-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #222;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #ff2d2d;
    outline: none;
}

.contact-form button {
    background: #ff2d2d;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.contact-form button:hover {
    background: #e02424;
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info .icon {
    width: 40px;
    height: 40px;
    background: #ff2d2d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #fff;
    font-size: 1.2rem;
}

.faq-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* About Us Page Styles */
.about-section {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.about-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #222;
    text-align: center;
}

.mission-card,
.vision-card {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.values-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
}

.values-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #222;
    text-align: center;
}

.value-item {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.value-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.value-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.stats-section {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.stats-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #222;
    text-align: center;
}

.stat-item {
    text-align: center;
}

.stat-item div:first-child {
    font-size: 3rem;
    font-weight: 700;
    color: #ff2d2d;
    margin-bottom: 10px;
}

.stat-item div:nth-child(2) {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
}

.stat-item div:last-child {
    color: #666;
    font-size: 0.9rem;
}

.team-section {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.team-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #222;
    text-align: center;
}

.team-member {
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.team-member h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

.team-member div {
    color: #ff2d2d;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-member p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive styles for About page */
@media (max-width: 768px) {
    .about-section > div {
        flex-direction: column;
    }
    
    .mission-card,
    .vision-card {
        margin-bottom: 20px;
    }
    
    .values-section .value-item {
        margin-bottom: 20px;
    }
    
    .stats-section .stat-item {
        margin-bottom: 30px;
    }
    
    .team-section .team-member {
        margin-bottom: 30px;
    }
}

/* Privacy Policy Page Styles */
.privacy-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
    border-bottom: 2px solid #ff2d2d;
    padding-bottom: 10px;
}

.policy-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    margin-top: 25px;
}

.policy-section p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 15px;
}

.policy-section ul {
    color: #444;
    line-height: 1.7;
    margin-bottom: 15px;
    margin-left: 20px;
}

.policy-section ul li {
    margin-bottom: 8px;
}

.policy-section strong {
    color: #222;
    font-weight: 600;
}

.privacy-content > div:first-child {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.privacy-content > div:first-child p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.privacy-content a {
    color: #ff2d2d;
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-content a:hover {
    color: #e02424;
    text-decoration: underline;
}

/* Responsive styles for Privacy Policy page */
@media (max-width: 768px) {
    .privacy-content {
        padding: 20px;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
    
    .policy-section ul {
        margin-left: 15px;
    }
}

.footer {
    font-size: 1.1rem;
}
.footer a {
    font-size: 1.1rem;
}