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

body{
    font-family: 'Poppins', sans-serif;
}

.navbar
{
    display: flex;
    align-items: center;
    padding: 20px;
}

nav{
    flex: 1;
    text-align: right;
}
nav ul{
    display: inline-block;
    list-style-type: none;
}
nav ul li{
    display: inline-block;
    margin-right: 20px;
}
.cart-icon-container {
    position: relative;
    display: inline-block;
}
.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #0E5EA3; /* Використовуємо наш синій колір */
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    display: none; /* Сховано за замовчуванням */
}
a{
    text-decoration: none;
    color: #555;
}
p{
    color: #555;
}
/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a1a1a;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 100;
    text-align: left;
    border-radius: 5px;
    padding-top: 10px; /* Створює невидимий місток між кнопкою та меню */
}
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background 0.3s;
}
.dropdown-content a:hover {
    background-color: #0E5EA3;
}
.dropdown:hover .dropdown-content {
    display: block;
}

.container{
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}
.row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.col-2{
    flex-basis: 50%;
    min-width: 300px;
}
.col-2 img{
    max-width: 100%;
    padding: 50px 0;
}
.col-2 h1{
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
}
.btn{
    display: inline-block;
    background: #0E5EA3;
    color: white;
    padding: 8px 30px;
    margin: 30px 0;
    border-radius: 30px;
    transition: background 0.5s;
}
.btn:hover{
    background: #0b4d85;
}
.header{
    background: radial-gradient(#fff,#ffd6d6);
}
.header .row{
    margin-top: 70px;
}
.categories{
    margin: 70px 0;
}
.col-3{
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
}
.col-3 img{
    width: 100%;
}
.small-container{
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}
.col-4{
    flex-basis: 25%;
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
    transition: transform 0.5s;
    position: relative;
}
.col-4 img{
    width: 100%;
}
.title{
    text-align: left;
    margin: 0 0 60px;
    position: relative;
    line-height: 60px;
    color: #555;
}
.title::after{
    content: '';
    background: #0E5EA3;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
}
h4{
    color: #555;
    font-weight: normal;
}
.col-4 p{
    font-size: 14px;
}
.rating .fa{
    color: #0E5EA3;
}
.col-4:hover{
    transform: translateY(-5px);
}
/* Offer */
.offer{
    background: radial-gradient(#fff, #ffd6d6);
    margin-top: 80px;
    padding: 30px 0;
}
.col-2 .offer-img{
    padding: 50px;
}
small{
    color: #555;
}

/* Testimonial */
.testimonial{
    margin-top: 100px;
}
.testimonial .col-3{
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.5s;
}
.testimonial .col-3 img{
    width: 50px;
    margin-top: 20px;
    border-radius: 50%;
}
.testimonial .col-3:hover{
    transform: translateY(-10px);
}
.fa.fa-quote-left{
    font-size: 34px;
    color: #0E5EA3;
}
.col-3 p{
    font-size: 12px;
    margin: 12px 0;
    color: #777;
}
.testimonial .col-3 h3{
    font-weight: 600;
    color: #555;
    font-size: 16px;
}
/* Brands */
.brands{
    margin: 100px auto;
}
.col-5{
    width: 160px;
}
.col-5 img{
    width: 100%;
    cursor: pointer;
    filter: grayscale(100%);
}
.col-5 img:hover{
    filter: grayscale(0);
}
/* Footer */
.footer{
    background: black;
    color: #8a8a8a;
    font-size: 14px;
    padding: 60px 0 20px;
}
.footer p{
    color: #8a8a8a;
}
.footer h3{
    color: #fff;
    margin-bottom: 20px;
}
.footer-col-1, .footer-col-2, .footer-col-3, .footer-col-4{
    min-width: 250px;
    margin-bottom: 20px;
}
.footer-col-1{
    flex-basis: 30%;
}
.footer-col-2{
    flex: 1;
    text-align: center;
}
.footer-col-2 img{
    width: 180px;
    margin-bottom: 20px;
}
.footer-col-3, .footer-col-4{
    flex-basis: 12%;
    text-align: center;
}
.footer a {
    color: #8a8a8a;
    transition: color 0.3s;
}
.footer a:hover {
    color: #fff;
}
.footer ul {
    list-style: none;
    padding: 0;
}
.footer ul li {
    margin-bottom: 10px;
}
.footer ul li i {
    margin-right: 10px;
    color: #0E5EA3;
}
.app-logo{
    margin-top: 20px;
}
.app-logo img{
    width: 140px;
}
.footer hr{
    border: none;
    background: #b5b5b5;
    height: 1px;
    margin: 20px 0;
}
.copyright{
    text-align: center;
}
.menu-icon{
    width: 28px;
    margin-left: 20px;
    display: none;
}

/* All Products */
.row-2{
    justify-content: space-between;
    margin: 100px auto 50px;
}
select{
    border: 1px solid #ff523b;
    padding: 5px;
}
select:focus{
    outline: none;
}
.page-btn{
    margin: 0 auto 80px;
}
.page-btn span{
    display: inline-block;
    border: 1px solid #ff523b;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}
.page-btn span:hover{
    background: #ff523b;
    color: white;
}

/* Single Product */
.single-product{
    margin-top: 80px;
}
.single-product > .row {
    align-items: flex-start;
}
.single-product .col-2 img{
    padding: 0;
}
.single-product .col-2{
    padding: 20px;
}
.single-product #ProductName {
    margin-top: 0;
}
.single-product #ProductCategory {
    margin: 8px 0 0;
    color: #bdbdbd;
}
.product-summary {
    display: grid;
    gap: 20px;
    padding: 26px;
    border: 1px solid #393939;
    border-radius: 10px;
    background: #1e1e1e;
}
.product-summary-header {
    padding-bottom: 18px;
    border-bottom: 1px solid #393939;
}
.product-highlights {
    margin-top: 4px;
    padding: 18px;
    border: 1px solid #393939;
    border-radius: 8px;
    background: #1e1e1e;
}
.product-highlights-title {
    margin: 0 0 12px;
    color: #fff;
    font-weight: 600;
}
.product-highlights ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.product-highlights li {
    display: flex;
    gap: 10px;
    color: #d5d5d5;
    line-height: 1.45;
}
.product-highlights .fa {
    margin: 3px 0 0;
    color: #0E5EA3;
}
.product-media {
    padding: 16px;
    border: 1px solid #333;
    border-radius: 10px;
    background: #1e1e1e;
}
.product-media #ProductImg {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: #2a2a2a;
    border-radius: 6px;
}
.product-main-image {
    position: relative;
}
.product-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 76px;
    border: 0;
    border-radius: 5px;
    background: rgba(10, 10, 10, 0.72);
    color: #fff;
    font-size: 34px;
    line-height: 70px;
    text-align: center;
    cursor: pointer;
    opacity: .95;
    transition: background .2s, opacity .2s;
}
.product-gallery-arrow:hover {
    background: #0E5EA3;
    opacity: 1;
}
.product-gallery-prev { left: 0; }
.product-gallery-next { right: 0; }
.product-media .small-img-row {
    justify-content: flex-start;
    gap: 6px;
    margin-top: 12px;
}
.single-product #ProductDesc {
    color: #ddd;
    line-height: 1.7;
}
.product-details-section {
    margin-top: 8px;
    margin-bottom: 70px;
}
.product-detail-copy {
    max-width: 900px;
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 28px;
}
.product-detail-copy h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 25px;
}
.product-detail-copy p {
    margin: 0 0 12px;
}
.product-specifications {
    overflow: hidden;
    border: 1px solid #393939;
    border-radius: 8px;
    background: #202020;
}
.product-specifications table {
    width: 100%;
    border-collapse: collapse;
}
.product-specifications th,
.product-specifications td {
    padding: 14px 16px;
    border-bottom: 1px solid #393939;
    text-align: left;
}
.product-specifications tr:last-child th,
.product-specifications tr:last-child td {
    border-bottom: 0;
}
.product-specifications th {
    width: 36%;
    color: #fff;
    font-weight: 500;
    background: #272727;
}
.product-specifications td { color: #d5d5d5; }
.product-video {
    aspect-ratio: 16 / 9;
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid #454545;
    border-radius: 8px;
    background-color: #1e1e1e;
}
.product-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.single-product h4{
    margin: 20px 0;
    font-size: 22px;
    font-weight: bold;
}
.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.product-price-row h4 { margin: 20px 0; }
.product-price-row h4 { margin: 0; }
.product-status {
    display: grid;
    justify-items: end;
    gap: 5px;
    color: #a8a8a8;
    font-size: 13px;
}
.product-status .in-stock {
    color: #67c78a;
    font-weight: 500;
}
.product-status .fa {
    margin: 0 5px 0 0;
    color: #67c78a;
}
.product-buy-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.product-variants { margin: 18px 0; }
.product-variants label { display: block; color: #b9b9b9; font-size: 13px; margin-bottom: 7px; }
.variant-buttons { display: flex; flex-wrap: wrap; gap: 9px; }
.variant-button { min-width: 64px; padding: 10px 14px; color: #e9f4ff; background: #181818; border: 1px solid #3a3a3a; border-radius: 7px; text-align: center; font: inherit; cursor: pointer; }
.variant-button:hover, .variant-button.is-selected { border-color: #0E5EA3; background: #10283d; }
.variant-button.is-selected { box-shadow: inset 0 0 0 1px #0E5EA3; }
.variant-button:disabled { opacity: .42; cursor: not-allowed; text-decoration: line-through; }
.delivery-method-section { margin: 28px 0; padding: 20px; background: #151515; border: 1px solid #303030; border-radius: 10px; }
.delivery-method-section h3 { margin: 0 0 14px; }
.delivery-options { display: grid; gap: 9px; }
.checkout-choice { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px; color: #eee; background: #1b1b1b; border: 1px solid #363636; border-radius: 7px; cursor: pointer; transition: border-color .2s, background .2s; }
.checkout-choice:hover, .checkout-choice:has(input:checked) { border-color: #0E5EA3; background: #122234; }
.checkout-choice input { width: auto; margin: 0; accent-color: #0E5EA3; }
.checkout-choice span { display: grid; gap: 3px; }
.checkout-choice strong { font-size: 14px; }
.checkout-choice small { color: #aaa; font-size: 12px; }
.checkout-choice b { font-size: 12px; color: #a9d9ff; white-space: nowrap; }
.delivery-fields { margin-top: 16px; padding-top: 16px; border-top: 1px solid #2d2d2d; }
.delivery-fields .form-group:last-child { margin-bottom: 0; }
.nova-results { display: block; width: 100%; margin-top: 7px; padding: 4px; color: #eee; background: #161616; border: 1px solid #3a3a3a; border-radius: 6px; }
.nova-results option { padding: 7px; }
.checkout-page-wrapper [hidden] { display: none !important; }
.product-buy-row #ProductQuantity {
    margin: 0;
}
.product-buy-row .btn {
    flex: 1;
    margin: 0;
    text-align: center;
}
.single-product select{
    display: block;
    padding: 10px;
    margin-top: 20px;
}
.single-product input{
    width: 50px;
    height: 40px;
    padding-left: 10px;
    font-size: 20px;
    margin-left: 10px;
    border: 1px solid #ff523b;
    margin-right: 10px;
}
input:focus{
    outline: none;
}
.single-product .fa{
    color: #ff523b;
    margin-left: 10px;
}
.small-img-row{
    display: flex;
    justify-content: space-between;
}
.small-img-col{
    flex: 0 0 76px;
    cursor: pointer;
}
.small-img-col {
    padding: 0;
    border: 1px solid #444;
    border-radius: 6px;
    overflow: hidden;
    background: #222;
}
.small-img-col.active {
    border-color: #0E5EA3;
}
.small-img-col .small-img {
    display: block;
    aspect-ratio: 1;
    object-fit: contain;
    background: #2a2a2a;
}
#related-products {
    gap: 20px;
}
.view-more-link {
    color: #0E5EA3;
    text-decoration: none;
}
.view-more-link:hover {
    text-decoration: underline;
}
#related-products .col-4 {
    flex-basis: calc(25% - 15px);
    box-sizing: border-box;
    padding: 15px;
    border: 1px solid #333;
    border-radius: 10px;
    background: #1e1e1e;
}
#related-products .col-4 img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #2a2a2a;
    border-radius: 6px;
}
#related-products .col-4 h4,
#related-products .col-4 p {
    color: #fff;
}

/* Cart Items */
.cart-page{
    margin: 80px auto;
}
table{
    width: 100%;
    border-collapse: collapse;
}
.cart-info{
    display: flex;
    flex-wrap: wrap;
}
th{
    text-align: left;
    padding: 5px;
    color: #fff;
    background: #0E5EA3;
    font-weight: normal;
}
td{
    padding: 10px 5px;
}
td input{
    width: 40px;
    height: 30px;
    padding: 5px;
}
td a{
    color: #0E5EA3;
    font-size: 12px;
}
td img{
    width: 80px;
    height: 80px;
    margin-right: 10px;
}
.total-price{
    display: flex;
    justify-content: flex-end;
}
.total-price table{
    border-top: 3px solid #0E5EA3;
    width: 100%;
    max-width: 400px;
}
td:last-child{
    text-align: right;
}
th:last-child{
    text-align: right;
}

/* Account page */
.account-page{
    padding: 50px 0;
    background: radial-gradient(#fff, #ffd6d6);
}
.form-container{
    background: #fff;
    width: 300px;
    height: 400px;
    position: relative;
    text-align: center;
    padding: 20px 0;
    margin: auto;
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.form-container span{
    font-weight: bold;
    padding: 0 10px;
    color: #555;
    cursor: pointer;
    width: 100px;
    display: inline-block;
}
.form-btn{
    display: inline-block;
}
.form-container form{
    max-width: 300px;
    padding: 0 20px;
    position: absolute;
    top: 130px;
    transition: transform 1s;
}
form input{
    width: 100%;
    height: 30px;
    margin: 10px 0;
    padding: 0 10px;
    border: 1px solid #ccc;
}
form .btn{
    width: 100%;
    border: none;
    cursor: pointer;
    margin: 10px 0;
}
form .btn:focus{
    outline: none;
}
#LoginForm{
    left: -300px;
}
#RegForm{
    left: 0;
}
form a{
    font-size: 12px;
}
#Indicator{
    width: 100px;
    border: none;
    background: #ff523b;
    height: 3px;
    margin-top: 8px;
    transform: translateX(100px);
    transition: transform 1s;
}

/* Media query for menu */
@media only screen and (max-width: 800px){

    nav ul{
        position: absolute;
        top: 70px;
        left: 0;
        background: #333;
        width: 100%;
        overflow: hidden;
        transition: max-height 0.5s;
    }
    nav ul li{
        display: block;
        margin-right: 50px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    nav ul li a{
        color: white;
    }
    .menu-icon{
        display: block;
        cursor: pointer;
    }
}

/* Media query for 600 screen size */
@media only screen and (max-width: 600px){

    .row{
        text-align: center;
    }
    .col-2, .col-3, .col-4, .col-12{
        flex-basis: 100%;
    }
    .single-product .row{
        text-align: left;
    }
    .single-product .col-2{
        padding: 20px 0;
    }
    .single-product h1{
        font-size: 26px;
        line-height: 32px;
    }
    .cart-info p{
        display: none;
    }
}

/* Category Cards */
.category-col {
    position: relative;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.category-col img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.category-col .category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(transparent, rgba(14, 94, 163, 0.9));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    border-radius: 0 0 10px 10px;
}
.category-col .category-overlay h3 {
    color: #fff;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
    text-align: left;
}

/* Dark Theme */
body.dark-theme {
    background: #121212;
    color: #fff;
}
body.dark-theme a,
body.dark-theme p,
body.dark-theme .title,
body.dark-theme h4,
body.dark-theme .testimonial .col-3 h3,
body.dark-theme small {
    color: #e0e0e0;
}
body.dark-theme .header,
body.dark-theme .offer {
    background: radial-gradient(#2a2a2a, #121212);
}
body.dark-theme .testimonial .col-3,
body.dark-theme .form-container {
    background: #1e1e1e;
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.5);
}
body.dark-theme .testimonial .col-3 p {
    color: #ccc;
}
body.dark-theme select,
body.dark-theme input {
    background: #333;
    color: #fff;
    border: 1px solid #555;
    color-scheme: dark;
}
body.dark-theme img[src*="cart.png"],
body.dark-theme img.menu-icon {
    filter: invert(1);
}

/* Hero Slider Styles */
.hero-header {
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 50vh;
}
.hero-header.header {
    background: #121212;
}
.hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}
.hero-slider .slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: right center;
    opacity: 0;
    animation: kenburnsFade 15s infinite;
}
.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
    filter: brightness(0.8);
}
.hero-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-slider .slide:nth-child(2) { animation-delay: 5s; }
.hero-slider .slide:nth-child(3) { animation-delay: 10s; }

.hero-slider .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(18, 18, 18, 1) 0%, rgba(18, 18, 18, 0.4) 60%, transparent 100%);
    z-index: 1;
}

.relative-container {
    position: relative;
    z-index: 2;
}
.hero-content {
    min-height: calc(50vh - 120px);
    align-items: center;
}
.hero-text-col {
    max-width: 600px;
    z-index: 3;
    padding-top: 50px;
}
.hero-text-col .hero-title {
    font-size: 55px;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #fff;
    text-align: left;
}
.hero-text-col .hero-subtitle {
    font-size: 18px;
    margin-bottom: 35px;
    color: #e0e0e0;
    text-align: left;
}

@keyframes kenburnsFade {
    0% {
        opacity: 0;
        transform: scale(1.0);
    }
    5% {
        opacity: 1;
    }
    33.33% {
        opacity: 1;
    }
    38.33% {
        opacity: 0;
        transform: scale(1.08);
    }
    100% {
        opacity: 0;
        transform: scale(1.08);
    }
}

/* -------------------------------------
   Popular Products Carousel 
-------------------------------------- */
.popular-products-section {
    margin: 80px auto;
}
.section-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.section-top .section-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    color: #fff;
    text-align: left;
    position: relative;
    padding-bottom: 10px;
}
.section-top .section-title::after {
    content: '';
    background: #0E5EA3;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
}
.carousel-nav button {
    background: transparent;
    border: 1px solid #555;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    margin-left: 10px;
    transition: all 0.3s ease;
}
.carousel-nav button:hover {
    background: #0E5EA3;
    border-color: #0E5EA3;
}
.popular-products-section .carousel-container {
    gap: 20px;
    padding-bottom: 20px;
}
.popular-products-section .product-card {
    flex: 0 0 calc(20% - 16px);
}
.popular-products-section .product-card img {
    height: 220px;
    object-fit: cover;
    padding: 0;
}
.popular-products-section .carousel-dots { display: none; }
.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: none; /* Firefox */
}
.carousel-container::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}
.product-card {
    flex: 0 0 calc(20% - 16px);
    background: #1e1e1e;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff523b;
    color: #fff;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.old-price {
    text-decoration: line-through;
    color: #777;
    margin-right: 8px;
    font-size: 0.85em;
}
.product-price-stack { display: flex; flex-direction: column; gap: 3px; }
.product-old-price { color: #888; font-size: 14px; }
.product-current-price { display: flex; align-items: center; gap: 9px; }
.product-discount { background: #d84a3a; color: #fff; border-radius: 999px; padding: 4px 8px; font-size: 12px; font-weight: 700; }
.product-card:hover {
    transform: translateY(-5px);
    border-color: #0E5EA3;
}
.product-card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
    background: #2a2a2a;
    object-fit: cover;
    height: 220px;
}
.product-card h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.4;
    flex-grow: 1;
}
.product-card p {
    color: #aaa;
    font-size: 15px;
    margin: 0;
}

/* Offer Slider */
.offer-slider-container {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    background: #000;
    margin-top: 80px;
}
.offer-slide-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: right center;
    opacity: 0;
    will-change: opacity, transform;
}

.slider-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.offer-slide-content {
    position: absolute;
    top: 50%; left: 10%;
    transform: translateY(-50%);
    text-align: left;
    width: 80%;
    box-sizing: border-box;
    max-width: 600px;
    z-index: 2;
    opacity: 0;
    padding: 0;
}

.offer-logo {
    position: absolute;
    top: 40px;
    right: 5%;
    width: 150px;
    z-index: 3;
}

.offer-slide-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.3;
}
.offer-slide-content p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 30px;
}

/* About Page Specific Styles */
.about-hero {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-bottom: 50px;
}
.about-hero h1 {
    font-size: 45px;
    margin-bottom: 20px;
    line-height: 1.2;
}
.about-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: #e0e0e0;
}
.about-section {
    padding: 80px 0;
}
.about-section.dark-bg {
    background: #1a1a1a;
}
.values-section {
    padding: 80px 0;
    background: #121212;
}
.value-box {
    text-align: center;
    padding: 40px 25px;
    transition: transform 0.3s, border-color 0.3s;
    border: 1px solid #333;
    border-radius: 15px;
    margin: 10px;
    flex-basis: 30%;
}
.value-box i {
    font-size: 40px;
    color: #0E5EA3;
    margin-bottom: 20px;
}
.value-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}
.value-box p {
    font-size: 14px;
    color: #aaa;
}
.value-box:hover {
    transform: translateY(-10px);
    border-color: #0E5EA3;
}

/* Product Card Styling */
.rating {
    margin: 10px 0;
}
.rating .fa {
    color: #0E5EA3; /* Синій колір для зірок */
}
.add-to-cart-btn {
    display: inline-block;
    background: #0E5EA3;
    color: white;
    padding: 6px 15px;
    margin-top: 10px;
    border-radius: 30px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%; /* Кнопка на всю ширину картки для однаковості */
    max-width: 150px;
}
.add-to-cart-btn:hover {
    background: #0b4d85;
}

/* Checkout Form */
.checkout-form-container {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #333;
    max-width: 600px;
    margin: 40px auto;
}
.checkout-form .form-group {
    margin-bottom: 20px;
}
.checkout-form label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
}
.checkout-form input, 
.checkout-form textarea, 
.checkout-form select {
    width: 100%;
    padding: 12px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}
.checkout-form input:focus, 
.checkout-form textarea:focus, 
.checkout-form select:focus {
    border-color: #0E5EA3;
}
.checkout-form textarea {
    height: 100px;
    resize: none;
}
.checkout-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* Checkout Page Styles */
.checkout-page-wrapper {
    margin: 50px auto;
}
.checkout-steps { display: flex; gap: 18px; align-items: center; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid #303030; color: #777; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.checkout-steps a { color: #9eb7ce; }
.checkout-steps a:hover { color: #fff; }
.checkout-steps strong { color: #fff; }
.breadcrumbs {
    font-size: 14px;
    margin-bottom: 20px;
}
.breadcrumbs a {
    color: #0E5EA3;
}
.coupon-section {
    margin: 20px 0 0;
    padding: 20px;
    background: #151515;
    border: 1px solid #303030;
    border-radius: 10px;
}
.coupon-section h3 { margin: 0 0 14px; font-size: 18px; }
.coupon-form { display: flex; gap: 10px; }
.coupon-form input { flex: 1; min-width: 0; padding: 12px; background: #1e1e1e; border: 1px solid #333; border-radius: 6px; color: #fff; font: inherit; }
.coupon-form input:focus { outline: none; border-color: #0E5EA3; }
.coupon-form button { padding: 0 18px; border: 0; border-radius: 6px; background: #0E5EA3; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.coupon-message { min-height: 18px; margin: 10px 0 0; color: #a9c9e6; font-size: 13px; }
.checkout-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.checkout-col-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}
.checkout-col-left #delivery-payment-step { order: 1; }
.checkout-col-left .coupon-section { order: 2; }
.checkout-col-left #customer-details-step { order: 3; margin-top: 28px; }
.checkout-col-left #checkout-notes-step { order: 4; margin-top: 20px; }
.checkout-col-right {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}
.checkout-title {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
}
.checkout-address-title { margin: 8px 0 18px; padding-top: 20px; border-top: 1px solid #303030; color: #fff; font-size: 18px; }
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}
.form-group .required {
    color: #ff523b;
}
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
}
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #0E5EA3;
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-row .half {
    flex: 1;
}
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}
.form-check input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.form-check label {
    cursor: pointer;
}
.order-summary-box {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
}
.checkout-items-list {
    margin-bottom: 20px;
}
.checkout-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}
.checkout-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #2a2a2a;
    border-radius: 4px;
    margin-right: 15px;
}
.checkout-item-details {
    flex: 1;
}
.checkout-item-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.2;
}
.checkout-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.checkout-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}
.qty-btn {
    background: transparent;
    border: 1px solid #555;
    color: #fff;
    width: 25px;
    height: 25px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover {
    background: #0E5EA3;
    border-color: #0E5EA3;
}
.checkout-item-price {
    font-weight: 600;
}
.remove-item-btn {
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 16px;
}
.remove-item-btn:hover {
    color: #ff523b;
}
.order-totals .total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #333;
    font-size: 14px;
}
.order-totals .grand-total {
    font-size: 20px;
    font-weight: 600;
    border-bottom: none;
    margin-top: 10px;
}
.payment-methods {
    margin-top: 30px;
}
.payment-methods-checkout { margin: 0 0 28px; padding-bottom: 24px; border-bottom: 1px solid #303030; }
.payment-methods-checkout h3 { margin: 0 0 14px; }
.checkout-section-heading { display: flex; align-items: center; gap: 11px; margin: 0 0 14px; font-size: 18px; text-transform: uppercase; letter-spacing: .03em; }
.checkout-section-heading i { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #0E5EA3; color: #fff; font-size: 17px; }
.payment-choice-copy { display: flex; align-items: center; gap: 12px; }
.payment-choice-copy > span { display: grid; gap: 3px; }
.payment-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #3d6385; border-radius: 7px; background: #10283d; color: #a9d8ff; font-size: 17px; }
.delivery-choice-price { display: grid; justify-items: end; gap: 4px; min-width: 92px; color: #c8d7e5; font-size: 12px; text-align: right; }
.delivery-choice-price img { display: block; width: 84px !important; max-width: 84px !important; height: 25px !important; max-height: 25px !important; object-fit: contain; object-position: right center; }
.delivery-pickup-icon { display: inline-grid; place-items: center; width: 26px; height: 25px; color: #a9d8ff; font-size: 22px; }
.payment-option {
    margin-bottom: 10px;
}
.payment-desc {
    font-size: 13px;
    color: #aaa;
    grid-column: 2 / 4;
    margin: 0;
}
.privacy-policy {
    font-size: 12px;
    color: #aaa;
    margin: 20px 0;
}
.privacy-policy a, .agreement-check a {
    color: #0E5EA3;
}
.checkout-submit-btn {
    width: 100%;
    margin-top: 20px;
    font-size: 16px;
    padding: 15px;
}

@media only screen and (max-width: 800px){
    .checkout-layout {
        flex-direction: column;
    }
    .checkout-col-right {
        max-width: 100%;
    }
    .checkout-steps { gap: 8px; font-size: 10px; }
}

/* Mobile layout: shared public-store pages */
@media only screen and (max-width: 767px) {
    .container, .small-container { padding-left: 16px; padding-right: 16px; }
    .navbar { min-height: 64px; padding: 12px 0; gap: 12px; }
    .logo img { width: 112px; }
    .cart-icon-container img { width: 25px; height: 25px; }
    .menu-icon { width: 25px; margin-left: 10px; }
    nav ul { top: 64px; left: 12px; right: 12px; width: auto; z-index: 1000; padding: 8px 0; border: 1px solid #303030; border-radius: 9px; box-shadow: 0 12px 32px rgba(0,0,0,.42); }
    nav ul li { margin: 0; }
    nav ul li a { display: block; padding: 11px 16px; }
    .dropdown-content { position: static; display: block; min-width: 0; padding: 0 0 4px 14px; box-shadow: none; background: transparent; }
    .dropdown-content a { padding: 9px 14px; color: #c9d6e2; font-size: 13px; }
    .cart-badge { right: -8px; top: -7px; }

    .header .row, .hero-content { margin-top: 0; min-height: 420px; }
    .hero-header { min-height: 420px; }
    .hero-slider .slide img { object-position: 62% center; }
    .hero-slider .overlay { background: linear-gradient(to bottom, rgba(18,18,18,.84), rgba(18,18,18,.68)); }
    .hero-text-col { max-width: 100%; padding: 64px 0 34px; text-align: center; }
    .hero-text-col .hero-title { font-size: 34px; line-height: 1.15; margin-bottom: 15px; text-align: center; }
    .hero-text-col .hero-subtitle { font-size: 15px; margin-bottom: 22px; text-align: center; }
    .hero-text-col .btn { margin: 0; }

    .categories, .popular-products-section, .about-section { margin: 46px auto; }
    .category-col { height: 265px; }
    .section-top { align-items: flex-end; margin-bottom: 18px; }
    .section-top .section-title { font-size: 23px; }
    .section-top .section-title::after { width: 52px; height: 3px; }
    .carousel-nav { display: flex; gap: 7px; }
    .carousel-nav button { width: 36px; height: 36px; margin-left: 0; }
    .carousel-container, .popular-products-section .carousel-container { gap: 12px; margin-right: -16px; padding-right: 16px; }
    .product-card, .popular-products-section .product-card { flex-basis: 78%; padding: 12px; }
    .product-card img, .popular-products-section .product-card img { height: 210px; margin-bottom: 12px; }
    .product-card h4 { font-size: 15px; }
    .product-card p { font-size: 14px; }

    .row-2 { margin: 42px auto 28px; align-items: flex-start; gap: 14px; }
    .row-2 h2 { font-size: 24px; }
    .row-2 select { max-width: 150px; }
    .col-4 { flex-basis: 50%; min-width: 0; padding: 6px; margin-bottom: 24px; }
    .col-4 img, #related-products .col-4 img { height: 150px; }

    .single-product { margin-top: 35px; }
    .single-product .col-2 { padding: 8px 0; }
    .product-media, .product-summary { padding: 15px; }
    .product-gallery-arrow { width: 38px; height: 58px; font-size: 28px; line-height: 52px; }
    .product-media .small-img-row { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
    .small-img-col { flex: 0 0 62px; }
    .product-summary { gap: 16px; }
    .single-product #ProductName { font-size: 27px; line-height: 1.2; }
    .product-price-row { align-items: flex-start; gap: 10px; }
    .product-buy-row { flex-wrap: wrap; }
    .product-buy-row .btn { min-height: 46px; }
    .product-details-section { margin-top: 22px; }
    .product-detail-copy, .product-specifications { padding: 18px; }
    .product-specifications { overflow-x: auto; }
    .product-specifications table { min-width: 440px; }
    .product-video { min-height: 0; }
    #related-products { gap: 0; }

    .cart-page { margin: 38px auto; overflow-x: auto; }
    .cart-page table { min-width: 580px; }
    .cart-info { flex-wrap: nowrap; min-width: 250px; }
    .cart-info p { display: block; font-size: 13px; }
    .total-price { min-width: 300px; }

    .checkout-page-wrapper { margin: 28px auto; }
    .checkout-steps { overflow-x: auto; white-space: nowrap; padding-bottom: 12px; }
    .checkout-layout { gap: 22px; }
    .checkout-col-left, .checkout-col-right { min-width: 0; }
    .delivery-method-section, .coupon-section, .order-summary-box { padding: 16px; }
    .checkout-choice { grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; padding: 12px 10px; }
    .checkout-choice strong { font-size: 13px; }
    .checkout-choice small { font-size: 11px; }
    .payment-icon { width: 29px; height: 29px; flex-basis: 29px; font-size: 14px; }
    .payment-choice-copy { gap: 8px; }
    .delivery-choice-price { min-width: 62px; font-size: 10px; }
    .delivery-choice-price img { width: 60px !important; max-width: 60px !important; height: 20px !important; max-height: 20px !important; }
    .checkout-section-heading { font-size: 16px; }
    .checkout-section-heading i { width: 32px; height: 32px; font-size: 14px; }
    .form-row { flex-direction: column; gap: 0; }
    .coupon-form { flex-direction: column; }
    .coupon-form button { min-height: 44px; }
    .checkout-item { align-items: flex-start; gap: 10px; }
    .checkout-item img { width: 54px; height: 54px; margin-right: 0; }
    .checkout-item-controls { flex-wrap: wrap; gap: 8px; }
    .checkout-item-price { margin-left: auto; }
    .checkout-submit-btn { min-height: 50px; }

    .footer { padding: 42px 0 18px; }
    .footer .row { text-align: left; }
    .footer-col-1, .footer-col-2, .footer-col-3, .footer-col-4 { flex-basis: 100%; min-width: 0; text-align: left; }
    .footer-col-2 { text-align: left; }
    .footer-col-2 img { width: 145px; }
}

@media only screen and (max-width: 390px) {
    .hero-text-col .hero-title { font-size: 30px; }
    .product-card, .popular-products-section .product-card { flex-basis: 84%; }
    .checkout-choice { grid-template-columns: auto minmax(0, 1fr); }
    .delivery-choice-price { grid-column: 2; justify-items: start; text-align: left; }
    .payment-desc { grid-column: 2; }
}
