* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
}

/* Header */
header {
    background: white;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    width: 50px;
    height: auto;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #EF6776;
}

.cart-icon {
    cursor: pointer;
    font-size: 20px;
}

/* Hero Section */
.hero {
    background-image: url("./assets/PomodoroTimer.jpg");
    background-repeat: repeat-y;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40vh;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-style: italic;
    color: #fff;
}

.shop-btn {
    background: #D4E073;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 20px;
}

.shop-btn:hover {
    background: #A6CC47;
}

/* Core Four Section */
.section {
    padding: 80px 50px;
    background: #f5f5f5;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-style: italic;
    margin-bottom: 50px;
}

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

.product-card {
    background: #fff;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.product-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
}

.product-name {
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 14px;
}

.product-price {
    color: #666;
    font-weight: bold;
}

/* Process Section */
.process-section {
    background: #222;
    color: #fff;
    padding: 80px 50px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;
}

.process-item {
    text-align: center;
}

.process-image {
    width: 100vw;
    /* height: 250px; */
    object-fit: cover;
    margin-bottom: 20px;
}

.process-title {
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.process-desc {
    font-size: 14px;
    color: #ccc;
}

/* Footer */
footer {
    background: #fff;
    padding: 40px 50px;
    text-align: center;
    border-top: 1px solid #ddd;
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.social-icons a {
    color: #333;
    font-size: 20px;
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

/* Shop Page */
.shop-header {
    text-align: center;
    padding: 60px 50px 40px;
    background: #fff;
}

.shop-header h1 {
    font-size: 48px;
    font-style: italic;
    margin-bottom: 30px;
}

.filter-tabs {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}

.filter-tab:hover, .filter-tab.active {
    color: #e74c3c;
    border-bottom: 2px solid #e74c3c;
}

/* Product Details Page */
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-images {
    display: flex;
    gap: 20px;
}

.thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.thumbnail:hover, .thumbnail.active {
    border-color: #e74c3c;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.product-info h1 {
    font-size: 36px;
    font-style: italic;
    margin-bottom: 20px;
}

.price {
    font-size: 24px;
    margin-bottom: 20px;
}

.price .original {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.price .sale {
    color: #e74c3c;
    font-weight: bold;
}

.product-description {
    line-height: 1.6;
    margin-bottom: 30px;
    color: #666;
}

.size-selector {
    margin-bottom: 30px;
}

.size-selector h3 {
    margin-bottom: 15px;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-btn {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.size-btn:hover, .size-btn.active {
    border-color: #e74c3c;
    background: #e74c3c;
    color: #fff;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
}

.qty-display {
    font-size: 18px;
    min-width: 30px;
    text-align: center;
}

.add-to-cart {
    width: 100%;
    padding: 15px;
    background: #333;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

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

.add-to-cart.out-of-stock {
    background: #ccc;
    cursor: not-allowed;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.breadcrumb {
    padding: 20px 50px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #e74c3c;
}