/**********************************/
/* General */
/**********************************/
:root {
    --primary-color: #ff3333; /* Neon Red */
    --secondary-color: #00ffcc; /* Neon Cyan */
    --background-dark: #121212;
    --background-card: #1e1e1e;
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
}

body {
    color: var(--text-color);
    background-color: var(--background-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    color: var(--text-color);
    transition: 0.3s;
}

a:hover, a:active, a:focus {
    color: var(--primary-color);
    outline: none;
    text-decoration: none;
}

.btn {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

/**********************************/
/* Nav */
/**********************************/
.top-bar {
    padding: 3px 0;
    font-size: 14px;
    background: #000;
    border-bottom: 1px solid #333;
}

.top-bar i {
    margin-right: 5px;
    color: var(--primary-color);
}

.nav {
    padding: 15px 0;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    transition: 0.3s;
    border-bottom: 1px solid #333;
}

.nav.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav .navbar-brand {
    color: var(--primary-color);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 24px;
}

.nav .navbar-nav .nav-link {
    padding: 10px 15px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

.nav .navbar-nav .nav-link:hover,
.nav .navbar-nav .nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
}

/**********************************/
/* Bottom Bar */
/**********************************/
.bottom-bar {
    padding: 15px 0;
    background: var(--background-dark);
    margin-bottom: 30px;
}

.bottom-bar .logo h1 {
    margin: 0;
    font-size: 36px;
    color: var(--primary-color);
    font-weight: 700;
    font-style: italic;
    text-shadow: 2px 2px 0px #fff;
}

.bottom-bar .search {
    width: 100%;
    position: relative;
}

.bottom-bar .search input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    color: #fff;
    background: var(--background-card);
    border: 1px solid #333;
    border-radius: 25px;
}

.bottom-bar .search button {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0;
    right: 0;
    padding: 0;
    border: none;
    background: var(--primary-color);
    color: #fff;
    border-radius: 0 25px 25px 0;
}

.bottom-bar .search button:hover {
    background: #ff0000;
}

.bottom-bar .user {
    font-size: 0;
    text-align: right;
}

.bottom-bar .user .btn {
    color: var(--text-color);
    background: var(--background-card);
    margin-left: 10px;
    border-radius: 5px;
    border: 1px solid #333;
}

.bottom-bar .user .btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/**********************************/
/* Header Slider */
/**********************************/
.header {
    margin-bottom: 30px;
}

.header .navbar {
    padding: 0;
    height: 100%;
    max-height: 400px;
    overflow: hidden;
    background: var(--background-card) !important;
    border-radius: 5px;
}

.header .navbar-nav {
    width: 100%;
    padding: 15px 0;
}

.header .navbar-nav .nav-link {
    padding: 10px 30px;
    color: var(--text-color);
    border-bottom: 1px solid #333;
}

.header .navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: #222;
    padding-left: 35px;
}

.header .navbar-nav .nav-link i {
    width: 20px;
    margin-right: 10px;
}

.header-slider {
    position: relative;
    width: 100%;
}

.header-slider .header-slider-item {
    position: relative;
}

.header-slider .header-slider-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.header-slider .header-slider-caption {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.header-slider .header-slider-caption p {
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 15px;
    color: #fff;
    font-size: 24px;
    font-family: 'Oswald', sans-serif;
    transform: skew(-10deg);
}

.header-slider .header-slider-caption .btn {
    border: 2px solid var(--primary-color);
    color: #fff;
    background: transparent;
    padding: 10px 30px;
    margin-top: 15px;
    font-weight: 700;
}

.header-slider .header-slider-caption .btn:hover {
    background: var(--primary-color);
    color: #000;
}

.header-img {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header-img .img-item {
    position: relative;
    height: 190px;
    overflow: hidden;
    border-radius: 5px;
}

.header-img .img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.header-img .img-item:hover img {
    transform: scale(1.1);
}

.header-img .img-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    text-decoration: none;
    opacity: 0;
    transition: 0.3s;
}

.header-img .img-item:hover .img-text {
    opacity: 1;
}

.header-img .img-text p {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/**********************************/
/* Feature */
/**********************************/
.feature {
    margin-bottom: 30px;
}

.feature-col {
    margin-bottom: 30px;
}

.feature-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 30px 15px;
    text-align: center;
    background: var(--background-card);
    border: 1px solid #333;
    border-radius: 5px;
    transition: 0.3s;
}

.feature-content:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.3);
    transform: translateY(-5px);
}

.feature-content i {
    color: var(--primary-color);
    font-size: 60px;
    margin-bottom: 20px;
}

.feature-content h2 {
    font-size: 18px;
    font-weight: 700;
}

.feature-content p {
    font-size: 14px;
    margin: 0;
    color: var(--text-muted);
}

/**********************************/
/* Product Card */
/**********************************/
.product {
    margin-bottom: 30px;
}

.section-header {
    margin-bottom: 30px;
    padding: 20px 30px;
    background: var(--background-card);
    border-left: 5px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h1 {
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}

.product-item {
    position: relative;
    background: var(--background-card);
    border: 1px solid #333;
    border-radius: 5px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: 0.3s;
}

.product-item:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    border-color: var(--primary-color);
}

.product-title {
    padding: 15px;
    text-align: center;
}

.product-title a {
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    font-family: 'Oswald', sans-serif;
}

.product-title .ratting i {
    color: var(--primary-color);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image a {
    display: block;
}

.product-image img {
    width: 100%;
    transition: 0.3s;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-action {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: 0.3s;
}

.product-item:hover .product-action {
    opacity: 1;
}

.product-action a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 40px;
    transition: 0.3s;
}

.product-action a:hover {
    background: #fff;
    color: var(--primary-color);
}

.product-price {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333;
}

.product-price h3 {
    margin: 0;
    font-size: 20px;
    color: #fff;
}

.product-price .btn {
    font-size: 14px;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background: transparent;
}

.product-price .btn:hover {
    color: #000;
    background: var(--primary-color);
}

/**********************************/
/* Product Detail */
/**********************************/
.breadcrumb-wrap {
    margin-bottom: 30px;
    background: var(--background-card);
}

.breadcrumb {
    margin: 0;
    padding: 15px 0;
    background: transparent;
}

.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb .breadcrumb-item.active {
    color: var(--primary-color);
}

.product-detail {
    margin-bottom: 30px;
}

.product-detail-top {
    margin-bottom: 30px;
}

.product-slider-single-x img {
    width: 100%;
    border: 1px solid #333;
}

.product-content .title h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

.product-content .ratting {
    margin-bottom: 15px;
}

.product-content .ratting i {
    color: var(--primary-color);
}

.product-content .price h4,
.product-content .quantity h4,
.product-content .p-size h4,
.product-content .p-color h4 {
    display: inline-block;
    width: 80px;
    font-size: 18px;
    font-weight: 700;
    margin-right: 10px;
}

.product-content .price p {
    display: inline-block;
    font-size: 24px;
    margin: 0;
}

.product-content .quantity,
.product-content .p-size,
.product-content .p-color {
    margin-bottom: 15px;
}

.product-content .qty {
    display: inline-block;
}

.product-content .qty button {
    height: 30px;
    width: 30px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    text-align: center;
    vertical-align: middle;
}

.product-content .qty input {
    height: 30px;
    width: 40px;
    text-align: center;
    border: 1px solid #333;
    background: #000;
    color: #fff;
}

.product-content .btn {
    margin-right: 10px;
    border: 1px solid #333;
    color: var(--text-color);
    background: #000;
}

.product-content .btn.selected,
.product-content .btn:hover {
    background: #fff;
    color: #000 !important; /* Force override inline styles via class if needed, though js does inline */
    border-color: #fff;
}

/* Fix for inline styles from JS */
.size-option.selected, .color-option.selected {
    background-color: var(--primary-color) !important;
    color: #000 !important;
    border-color: var(--primary-color) !important;
}

.product-content .action {
    margin-top: 20px;
}

.product-content .action .btn {
    height: 50px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    font-size: 18px;
    border: none;
    width: 100%;
    max-width: 250px;
}

.product-content .action .btn:hover {
    background: #ff0000;
}

/**********************************/
/* Shop Page (Sidebar, etc) */
/**********************************/
.sidebar-widget {
    margin-bottom: 30px;
    background: var(--background-card);
    padding: 30px;
    border: 1px solid #333;
}

.sidebar-widget .title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.sidebar-widget .navbar-nav .nav-link {
    color: var(--text-color);
    padding: 5px 0;
}

.sidebar-widget .navbar-nav .nav-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.product-view-top {
    margin-bottom: 30px;
    background: var(--background-card);
    padding: 15px;
    border: 1px solid #333;
}

.product-view-top input {
    height: 35px;
    width: 100%;
    border: 1px solid #333;
    background: #000;
    color: #fff;
    padding: 0 10px;
}

.product-view-top button {
    height: 35px;
    width: 35px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    margin-left: -5px;
}

.product-view-top .dropdown-toggle {
    background: #000;
    color: #fff;
    border: 1px solid #333;
    padding: 5px 15px;
    width: 100%;
    display: block;
    text-align: left;
}

.dropdown-menu {
    background: var(--background-card);
    border: 1px solid #333;
}

.dropdown-item {
    color: var(--text-color);
}

.dropdown-item:hover {
    background: #333;
    color: var(--primary-color);
}

/**********************************/
/* Cart & Checkout */
/**********************************/
.cart-page, .checkout {
    margin-bottom: 30px;
}

.cart-page-inner, .checkout-inner {
    padding: 30px;
    background: var(--background-card);
    border: 1px solid #333;
}

.table {
    margin-bottom: 0;
}

.table-bordered td, .table-bordered th {
    border-color: #333;
}

.table .thead-dark th {
    background-color: #000;
    border-color: #333;
}

.table tbody tr td {
    color: var(--text-color);
}

.cart-summary, .checkout-summary, .billing-address {
    margin-bottom: 20px;
}

.cart-summary h1, .checkout-summary h1, .billing-address h2 {
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.cart-summary p, .checkout-summary p {
    font-size: 16px;
    display: flex;
    justify-content: space-between;
}

.cart-summary h2, .checkout-summary h2 {
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #333;
    color: var(--primary-color);
}

.cart-btn button, .checkout-btn button {
    width: 100%;
    height: 50px;
    margin-top: 15px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.cart-btn button:first-child {
    background: #333;
    color: var(--primary-color);
}

.cart-btn button:hover, .checkout-btn button:hover {
    background: #ff0000;
    color: #fff;
}

.billing-address label {
    margin-bottom: 5px;
    color: var(--text-muted);
}

.billing-address input {
    margin-bottom: 15px;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    height: 40px;
}

.billing-address input:focus {
    background: #000;
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: none;
}

/**********************************/
/* Footer */
/**********************************/
.footer {
    background: #000;
    padding: 60px 0 30px;
    border-top: 5px solid var(--primary-color);
}

.footer-widget h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: var(--text-muted);
}

.footer-widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.contact-info i {
    margin-right: 5px;
    color: var(--primary-color);
}

.social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #333;
    margin-right: 5px;
    color: var(--text-color);
    border-radius: 50%;
}

.social a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.footer .payment {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid rgba(0,0,0,.1);
}

@media (min-width: 992px) {
    .footer .payment {
        max-width: 80%;
        margin: 0 auto;
    }
}

.footer .payment-method,
.footer .payment-security {
    overflow: hidden;
}

.footer .payment-method {
    text-align: left;
}

.footer .payment-security {
    text-align: right;
}

@media (max-width: 768.98px) {
    .footer .payment-method {
        margin-bottom: 15px;
    }
    
    .footer .payment-method,
    .footer .payment-security {
        text-align: center; 
    } 
}

.footer .payment-method h2,
.footer .payment-security h2 {
    display: inline-block;
    margin: 0 10px 0 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
}

.footer .payment-method img,
.footer .payment-security img {
    height: 25px;
}

.footer-bottom {
    padding: 20px 0;
    background: #090909;
}

.copyright p {
    margin: 0;
    color: var(--text-muted);
}

.copyright p a {
    color: #fff;
    font-weight: 700;
}

/**********************************/
/* Back to Top */
/**********************************/
.back-to-top {
    position: fixed;
    display: none;
    background: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    right: 15px;
    bottom: 15px;
    z-index: 9999;
    border-radius: 5px;
    transition: 0.3s;
}

.back-to-top:hover {
    background: #fff;
    color: var(--primary-color);
}

/**********************************/
/* Scrollbar */
/**********************************/
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #000; 
}
::-webkit-scrollbar-thumb {
    background: #333; 
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color); 
}
