:root {
    --primary-color: #dc143c;
    --secondary-color: #000000;
    --accent-color: #dc143c;
    --light-bg: #ffffff;
    --dark-bg: #000000;
    --text-color: #000000;
    --light-text: #fff;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Header & Navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

/* Product Cards */
.product-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

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

.product-card .card-title {
    font-size: 1rem;
    font-weight: 600;
}

.product-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

.product-price {
    font-weight: 700;
    color: var(--primary-color);
}

.product-price .original-price {
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
    margin-left: 0.5rem;
}

/* Product Detail Page */
.product-detail-image {
    max-width: 100%;
    border-radius: 8px;
}

.product-color-options {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.color-option {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
}

.color-option.active {
    border-color: var(--primary-color);
}

/* Special Products Section */
.special-products {
    padding: 3rem 0;
    text-align: center;
}

.special-products h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.special-products h2:before,
.special-products h2:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background-color: #ddd;
}

.special-products h2:before {
    left: -70px;
}

.special-products h2:after {
    right: -70px;
}

/* Features Section */
.features-section {
    padding: 2rem 0;
    background-color: var(--light-bg);
}

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

.feature-box i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Theme Switcher */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 34px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Attribute Selectors Styling */
.attribute-selectors {
    width: 100%;
    margin: 0 auto;
    padding: 3px;
    border-radius: 4px;
}

.attribute-selectors select {
    margin: 4px 0;
}

.attribute-selectors label {
    margin: 4px 0;
    font-weight: 500;
}

.bundle-card {
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.bundle-card .attribute-selectors {
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Product Slider */
.product-slider {
    position: relative;
    padding: 0 40px;
    margin-bottom: 2rem;
}

.swiper-container {
    width: 100%;
    padding-bottom: 50px;
}

.swiper-slide {
    height: auto;
    padding: 10px;
}

.swiper-slide .card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.swiper-slide .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.swiper-slide .card-img-top {
    height: 200px;
    object-fit: cover;
}

.swiper-slide .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.swiper-slide .text-success {
    font-weight: 700;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}
