:root {
    --color-white: #ffffff;
    --color-black: #000000;
    --color-grey-light: #f5f5f5;
    --color-grey-medium: #d1d1d1;
    --color-grey-dark: #666666;
    --color-beige: #f4f1eb;
    --color-brown: #8b7355;
    --font-primary: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-black);
    background: var(--color-white);
}

/* Typography */
.mono {
    font-family: var(--font-mono);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-grey-medium);
}

.navbar__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.navbar__logo {
    font-family: var(--font-primary); 
    font-size: 0.9rem; 
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--color-black);
    text-decoration: none;
    text-transform: uppercase; 
    align-items: left;
}

.navbar__menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 3rem;
    justify-content: center;
}

.navbar__links {
    color: var(--color-black);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.navbar__links:hover {
    color: var(--color-brown);
}

.navbar__actions {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu Toggle */
.navbar__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1002;
}

.navbar__toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-black);
    margin: 2px 0;
    transition: 0.3s;
}

.navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.navbar__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.navbar__overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Panel */
.navbar__mobile-menu {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100%;
    background: var(--color-white);
    z-index: 1001;
    padding: 2rem;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.navbar__mobile-menu.active {
    left: 0;
}

.navbar__mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-grey-medium);
}

.navbar__mobile-logo {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--color-black);
    text-decoration: none;
    text-transform: uppercase;
}

.navbar__mobile-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-black);
    line-height: 1;
}

.navbar__mobile-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar__mobile-links li {
    margin-bottom: 0.5rem;
}

.nav-logo {
    height: 30px;
    width: auto;
    display: block;
}

.navbar__mobile-logo .nav-logo {
    height: 24px;
}

.navbar__mobile-links a {
    color: var(--color-black);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    display: block;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--color-grey-light);
    transition: color 0.3s ease;
}

.navbar__mobile-links a:hover {
    color: var(--color-brown);
}

.navbar__mobile-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-grey-medium);
}

.navbar__mobile-actions .auth-button {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
    display: block;
    font-size: 1rem;
    padding: 1rem;
}

.auth-button {
    background: transparent;
    border: 1px solid var(--color-black);
    color: var(--color-black);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.auth-button:hover {
    background: var(--color-black);
    color: white;
}

.cart-button {
    background: none;
    border: 1px solid var(--color-black);
    color: var(--color-black);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px;
}

.cart-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-button:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.cart-button:hover img {
    filter: invert(1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
}

/* Sections */
section {
    min-height: 100vh;
    padding: 120px 2rem 80px;
    position: relative;
}

#home {
    background-image: url('lime-washed.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    margin-left: none;
    margin-right: none;
}

.bundles {
            padding: 80px 0;
            background: #f8f9fa;
        }

        .section-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .bundles__header {
            text-align: center;
            margin-bottom: 50px;
        }

.new-arrivals__header {
    text-align: center;
    margin-bottom: 50px;
}

.carousel-wrapper {
    position: relative;
    max-width: 100%; /* Changed from 1400px to 100% */
    margin: 0; /* Removed auto margin */
    overflow: hidden;
    min-height: 400px;
}

#about {
    background-color: var(--color-white);
    z-index: 2;
    position: relative;
    margin-left: none;
    margin-right: none;
    /* Removed margin-top: 100vh; */
}

.products, .contact {
    background-color: #EFEFEF;
    z-index: 2;
    position: relative;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-beige);
    position: relative;
}

.hero__content {
    max-width: 800px;
}

.hero__subtitle {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #000000;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero__title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    line-height: 1.1;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero__title span {
    color: #FF4500; /* Orange color for 'PC' */
}

.hero__description {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 3rem;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    border: 1px solid var(--color-black);
    color: var(--color-black);
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: transparent;
}

.cta-button:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* Search and Filter Section */
.search-filter {
    padding: 5rem 0;
    margin-top: 100px;
    margin-bottom: 0;
    background: var(--color-grey-light);
}

.search-filter .section-container {
    max-width: 1400px;
    margin: 1px;
    padding: 0 2rem;
}

.search-bar {
    margin-top: 7rem;
    margin-bottom: 1rem;
}

.search-bar input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-grey-medium);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--color-brown);
}

.filter-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-options select {
    padding: 0.8rem 1rem;
    border: 0px;
    border-radius: 0px;
    font-size: 0.9rem;
    font-family: var(--font-primary);
    background: var(--color-white);
    cursor: pointer;
    min-width: 200px;
    transition: border-color 0.3s ease;
}

.filter-options select:focus {
    outline: none;
    border-color: var(--color-brown);
}

/* Products Section */
.products {
    background: var(--color-white);
    padding-top: 0;
}

.products__header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 2rem;
}

.products__subtitle {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-grey-dark);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.products__title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.product__card {
    background: var(--color-white);
    border: 1px solid var(--color-grey-medium);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product__content {
    padding: 1.5rem;
}

.product__name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.product__description {
    font-size: 0.9rem;
    color: var(--color-grey-dark);
    margin-bottom: 1rem;
}

.product__price {
    font-size: 1.2rem;
    color: var(--color-brown);
    margin-bottom: 0.5rem;
}

.product__stock {
    font-size: 0.9rem;
    color: var(--color-grey-dark);
    margin-bottom: 1rem;
}

.add-to-cart {
    width: 100%;
    padding: 0.8rem;
    background: var(--color-black);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background: var(--color-brown);
}

.add-to-cart.disabled {
    background: var(--color-grey-medium);
    cursor: not-allowed;
}

/* Image container for products */
.product__album {
  width: 100%;
  max-height: 250px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

/* Product image styling */
.product__album img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Or use 'contain' if you prefer full image visible */
  display: block;
  border-radius: 8px;
}

.size-button.selected {
  background-color: #333;
  color: white;
  border: 2px solid #444;
}


.add-to-cart {
    width: 100%;
    border: 1px solid var(--color-black);
    background: transparent;
    color: var(--color-black);
    padding: 0.75rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* Cart Panel */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  display: none;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 600px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.cart-total {
    margin-top: 20px;
    padding: 15px;
}

.cart-total hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 10px 0;
}

.total-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1em;
    padding: 10px 0;
}

.item-total {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.cart-panel.open {
  right: 0;
}

.cart-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cart-item-mini {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}

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

.checkout-btn-mini {
  display: inline-block;
  padding: 10px 15px;
  background: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.cart-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}


.cart-content {
    flex-grow: 1;
    overflow-y: auto;
    font-size: 14px;
    color: #333;
    max-height: calc(100vh - 200px);
    margin: 10px 0;
    padding-right: 10px;
}

/* Custom scrollbar styling */
.cart-content::-webkit-scrollbar {
    width: 6px;
}

.cart-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.cart-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.cart-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.cart-item-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.item-info h4 {
    margin: 0;
    font-size: 16px;
}

.item-info p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.item-price-qty .price {
    font-weight: 500;
    text-align: right;
}

.item-price-qty .qty {
    font-size: 12px;
    color: black;
    text-align: right;
}

.qty button {
    padding: 2px 8px;
    margin: 0 5px;
    border: 1px solid black;
    background: black;
    cursor: pointer;
    border-radius: 3px;
}

.qty button:hover {
    background: black;
}

.item-price-qty button {
    padding: 4px 8px;
    margin-top: 5px;
    border: 1px solid #ddd;
    background: var(--color-black);
    cursor: pointer;
    border-radius: 3px;
}

.item-price-qty button:hover {
    background: #e5e5e5;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.view-cart-btn, .checkout-btn-mini {
    width: 100%;
    padding: 15px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.view-full-cart-btn,
.checkout-btn-mini {
    padding: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

.view-full-cart-btn {
    background-color: white;
    color: #333;
    border: 1px solid #ccc;
}

.checkout-btn-mini {
    background-color: #333;
    color: white;
}

.checkout-btn-mini:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.cart-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: black;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.checkout-btn-mini:hover {
    background: #000;
}

.empty-cart {
    text-align: center;
    margin-top: 50px;
    font-weight: 400;
    color: #777;
}

/* About Section */
.about {
    background: var(--color-beige);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__text {
    max-width: 500px;
}

.about__subtitle {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-grey-dark);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.about__title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about__description {
    font-size: 1rem;
    color: var(--color-grey-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about__manifesto {
    background: var(--color-white);
    padding: 2rem;
    border-left: 3px solid var(--color-black);
}

.manifesto__title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.manifesto__text {
    font-size: 0.9rem;
    color: var(--color-grey-dark);
    line-height: 1.7;
    font-style: italic;
}

/* Contact Section */
.contact {
    background: var(--color-white);
    overflow-x: hidden;
}

.contact__info h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-align: center;
}

.contact__details {
    text-align: center;
}

.contact__detail {
    margin-bottom: 1.5rem;
}

.contact__label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-grey-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.contact__value {
    font-size: 1rem;
}

/* Auth & Profile Styles */
.auth-button {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 12px 24px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
}

.auth-button:hover {
    background: #1a1a1a;
    color: white;
}

.profile-button {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 12px 24px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.profile-button:hover {
    background: #1a1a1a;
    color: white;
}

#authButton {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

#authButton.loaded {
    opacity: 1;
    pointer-events: auto;
}

.checkout-btn-mini {
    display: inline-flex;
    padding: 0.75rem 1.5rem;
    align-items: center; 
    background-color: #000;
    color: #fff;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none; 
    border-radius: 6px;
    text-decoration: none;
}

.cart-count {
    all: unset;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    background: black;
    color: white;
    border-radius: 999px;
    padding: 2px 6px;
    display: inline-block;
    text-align: center;
    line-height: 1;
    min-width: 16px;
    position: absolute;
    top: -8px;
    right: -8px;
}

/* PC Builder Styles */
.pc-builder-container {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1rem;
}

.pc-case-image {
  flex: 1;
  position: relative;
}

.interactive-pc-case {
  max-width: 100%;
  height: auto;
}

.available-products {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.available-products h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #333;
}

.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.products-list::-webkit-scrollbar {
    width: 6px;
}

.products-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.products-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.products-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.parts-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 1000px;
    border-radius: 8px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-close {
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
}

.modal-search {
    margin-bottom: 20px;
}

.modal-search input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.part-card {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.part-card.out-of-stock {
    opacity: 0.6;
    cursor: not-allowed;
}

.part-card .stock {
    color: #666;
    font-size: 0.9em;
    margin-top: 0.5rem;
}

.part-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: transform 0.2s;
}

.part-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.part-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.part-card h4 {
    margin: 10px 0;
}

.part-card .price {
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.1em;
}

.part-labels {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.part-label {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #333;
}

.selected-parts {
  flex: 1;
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: 8px;
}

.part-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
}

.part-value {
  color: #666;
}

.part-value.selected {
  color: #2ecc71;
  font-weight: bold;
}

.total-price {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 2px solid #ddd;
  font-size: 1.2rem;
  font-weight: bold;
}

.add-to-cart-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  background: #2ecc71;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.add-to-cart-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.part-value {
    color: #666666;
    transition: color 0.3s ease;
}

.part-value.selected {
    color: #4CAF50;
    font-weight: 500;
}

.part-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-grey-light);
}

.part-name {
    font-weight: 500;
}

/* Enhanced Mobile Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .navbar__container {
        padding: 0 1.5rem;
    }
    
    .products__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .hero__title {
        font-size: 3.5rem;
    }
    
    .about__content {
        gap: 3rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .navbar__container {
        padding: 0 1rem;
        height: 70px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .navbar__logo {
        font-size: 1rem;
        order: 2;
    }

    .navbar__toggle {
        display: flex;
        order: 1;
    }

    .navbar__menu {
        display: none;
    }

    .navbar__actions {
        order: 3;
        display: flex;
        gap: 0.5rem;
    }
    
    .navbar__actions .auth-button {
        display: inline-block;
        padding: 8px 16px;
        font-size: 0.7rem;
    }
    
    .cart-button {
        width: 40px;
        height: 40px;
    }

    section {
        padding: 100px 1rem 60px;
    }

    .hero__title {
        font-size: 3rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .hero__description {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 1rem 1.8rem;
        font-size: 1rem;
    }

    .search-filter {
        padding: 1rem 0;
    }

    .filter-options select {
        width: 100%;
        min-width: unset;
    }

    .products__grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .products__title {
        font-size: 2.2rem;
    }
    
    .product__content {
        padding: 1rem;
    }

    .about__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about__title {
        font-size: 2.2rem;
    }
    
    .about__manifesto {
        padding: 1.5rem;
    }

    .contact__info h2 {
        font-size: 2.2rem;
    }
    
    .cart-panel {
        width: 380px;
    }
}

/* Mobile phones */
@media (max-width: 600px) {
    .navbar__container {
        padding: 0 1rem;
        height: 70px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .navbar__logo {
        font-size: 1rem;
        order: 2;
    }
    
    .navbar__toggle {
        display: flex;
        order: 1;
    }

    .navbar__menu {
        display: none;
    }

    .navbar__actions {
        order: 3;
        display: flex;
        gap: 0.5rem;
    }
    
    .navbar__actions .auth-button {
        display: inline-block;
        padding: 8px 12px;
        font-size: 0.7rem;
    }
    
    .cart-button {
        width: 40px;
        height: 40px;
    }
    
    .cart-count {
        font-size: 0.7rem;
        width: 16px;
        height: 16px;
        top: -6px;
        right: -6px;
    }

    .navbar__mobile-menu {
        width: 320px;
        padding: 2rem;
    }

    .navbar__mobile-links a {
        font-size: 1.3rem;
        padding: 1.3rem 0;
    }

    section {
        padding: 90px 1rem 50px;
        min-height: auto;
    }

    .hero__title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero__description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .products__header {
        margin-bottom: 2rem;
    }
    
    .products__title {
        font-size: 2rem;
    }
    
    .products__subtitle {
        font-size: 1rem;
    }
    
    .products__grid {
        gap: 1.5rem;
    }
    
    .product__image {
        height: 250px;
    }
    
    .product__content {
        padding: 1.2rem;
    }
    
    .product__name {
        font-size: 1.1rem;
    }
    
    .product__description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .product__notes {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .add-to-cart {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .about__title {
        font-size: 2rem;
    }
    
    .about__subtitle {
        font-size: 1rem;
    }
    
    .about__description {
        font-size: 1rem;
    }
    
    .about__manifesto {
        padding: 1.2rem;
    }
    
    .manifesto__title {
        font-size: 1rem;
    }
    
    .manifesto__text {
        font-size: 1rem;
    }

    .contact__info h2 {
        font-size: 2rem;
    }
    
    .contact__label {
        font-size: 0.9rem;
    }
    
    .contact__value {
        font-size: 1.1rem;
    }
    
    .cart-panel {
        width: 100%;
        right: -100%;
        padding: 24px;
    }
    
    .cart-title {
        font-size: 20px;
    }
    
    .cart-header {
        padding: 24px;
    }
    
    .item-info h4 {
        font-size: 16px;
    }
    
    .item-info p {
        font-size: 14px;
    }
    
    .view-full-cart-btn,
    .checkout-btn-mini {
        padding: 12px;
        font-size: 14px;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .navbar__container {
        padding: 0 0.8rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .navbar__logo {
        font-size: 0.9rem;
        order: 2;
    }
    
    .navbar__toggle {
        display: flex;
        order: 1;
    }

    .navbar__menu {
        display: none;
    }

    .navbar__actions {
        order: 3;
        display: flex;
        gap: 0.3rem;
    }
    
    .navbar__actions .auth-button {
        display: inline-block;
        padding: 6px 10px;
        font-size: 0.65rem;
    }
    
    .cart-button {
        width: 35px;
        height: 35px;
    }

    .navbar__mobile-menu {
        width: 300px;
        padding: 1.5rem;
    }

    .navbar__mobile-links a {
        font-size: 1.2rem;
    }
}

.fb-page {
    margin-top: 20px;
    width: 100%;
    min-height: 400px;
}

.fb-comments {
    margin-top: 20px;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
}

.fb-comments iframe {
    width: 100% !important;
}

.edit-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.auth-section,
.edit-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.file-upload,
.template-download,
.preview-section {
    margin-bottom: 30px;
}

.preview-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.preview-section th,
.preview-section td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.preview-section th {
    background-color: #f5f5f5;
}

.preview-section table img {
    border-radius: 4px;
    border: 1px solid #ddd;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin: 10px 0;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 300px;
}

.modal-content button {
    margin: 10px 5px;
}

button:hover {
    background-color: #0056b3;
}

input[type="file"],
input[type="password"] {
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
}

.quantity-section {
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
    border: 2px solid #4CAF50;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.15);
    display: none;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.quantity-label {
    font-size: 0.9rem;
    color: #2e7d32;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
}

.quantity-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #c8e6c9;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 2px solid #4CAF50;
    background: white;
    color: #4CAF50;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
}

.quantity-btn:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.quantity-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
}

.quantity-btn:disabled {
    background: #f5f5f5;
    color: #ccc;
    border-color: #e0e0e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.quantity-input {
    width: 60px;
    padding: 6px 8px;
    border: 2px solid #e8f5e8;
    border-radius: 6px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2e7d32;
    background: #fafafa;
    transition: all 0.2s ease;
}

.quantity-input:focus {
    outline: none;
    border-color: #4CAF50;
    background: white;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.quantity-info {
    font-size: 0.8rem;
    color: #666;
    margin-top: 6px;
    font-style: italic;
    text-align: center;
    opacity: 0.8;
}

/* Enhanced PC Build Component Display in Cart */
.pc-build-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
}

.pc-build-components {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 8px;
    padding-right: 8px;
}

.pc-build-components::-webkit-scrollbar {
    width: 4px;
}

.pc-build-components::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.pc-build-components::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 2px;
}

.component-line {
    padding: 4px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 8px;
}

.component-line:last-child {
    border-bottom: none;
}

.component-label {
    font-weight: 600;
    color: #495057;
    min-width: 80px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.component-qty {
    background: #4CAF50;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-left: auto;
}

/* Responsive Design for Quantity Controls */
@media (max-width: 768px) {
    .quantity-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .quantity-label {
        text-align: center;
        margin-bottom: 4px;
    }
    
    .quantity-input-group {
        justify-content: center;
        padding: 6px;
    }
    
    .quantity-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .quantity-input {
        width: 70px;
        padding: 8px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .quantity-section {
        padding: 12px;
        margin: 8px 0;
    }
    
    .quantity-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .quantity-input {
        width: 80px;
        padding: 10px;
        font-size: 1.1rem;
    }
}
