/* Colors */
:root {
    --black: #1a1a1a;
    --white: #ffffff;
    --gold: #d4af37;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--white);
    color: var(--black);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Header */
.navbar {
    background-color: var(--black) !important;
    border-bottom: 1px solid var(--gold);
}

.navbar-brand.text-gold {
    color: var(--gold) !important;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.navbar-logo {
    max-height: 60px;
    width: auto;
    margin-right: 10px;
}

.nav-link {
    color: var(--white) !important;
}

.nav-link:hover {
    color: var(--gold) !important;
}

.navbar-cart {
    margin-left: 15px;
}

.navbar-cart .nav-link {
    font-size: 1.5rem;
    padding: 0 8px;
}

.navbar-cart .badge {
    font-size: 0.75rem;
    padding: 2px 6px;
}

.navbar-search {
    margin-left: 15px;
}

.navbar-search .nav-link {
    font-size: 1.5rem;
    padding: 0 8px;
}

.navbar-toggler.custom-toggler {
    padding: 0;
    border: none;
    background: none;
}

.navbar-toggler.custom-toggler .navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Actions (Cart and Search) */
.mobile-actions {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    gap: 20px;
}

/* Offcanvas Menu (Start and End) */
.offcanvas-start,
.offcanvas-end {
    background-color: var(--black);
    width: 80% !important;
}

.offcanvas-header {
    border-bottom: 1px solid var(--gold);
}

.offcanvas-title {
    color: var(--gold);
}

.offcanvas-body {
    padding: 15px;
}

.offcanvas .nav-link {
    font-size: 1.1rem;
    padding: 10px 0;
}

.offcanvas .collapse .nav-link {
    font-size: 1rem;
}

/* Dropdown Menu (Desktop) */
.dropdown-menu {
    background-color: var(--black);
    border: 1px solid var(--gold);
}

.dropdown-item {
    color: var(--white);
}

.dropdown-item:hover {
    background-color: #333;
    color: var(--gold);
}

/* Mobile Layout */
@media (max-width: 991px) {
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .navbar-toggler {
        margin-left: 15px;
    }
}

/* Desktop Layout */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        align-items: center;
    }
    .navbar-nav {
        margin-right: 15px;
    }
    .navbar-cart {
        margin-left: 0;
    }
    .navbar-search {
        margin-left: 0;
    }
    .dropdown-toggle::after {
        vertical-align: middle;
    }
    .dropdown-menu {
        display: none;
    }
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Footer */
footer {
    background-color: var(--black);
    border-top: 1px solid var(--gold);
}

footer h5 {
    color: var(--gold);
}

footer a {
    color: var(--white);
}

footer a:hover {
    color: var(--gold);
}

/* Button Gold */
.btn.btn-gold {
    background-color: var(--gold);
    color: var(--black);
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn.btn-gold:hover,
.btn.btn-gold:focus,
.btn.btn-gold:active {
    background-color: #b8962e;
    color: var(--black);
    outline: none;
    box-shadow: none;
}

/* Smaller Buttons */
.btn-gold.btn-sm {
    padding: 8px 16px; /* Increased for larger cards */
    font-size: 1rem; /* Slightly larger */
}

.btn-outline-dark.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

/* Form Inputs */
.form-control {
    background-color: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
}

.form-control:focus {
    background-color: var(--white);
    color: var(--black);
    border-color: var(--gold);
    box-shadow: none;
}

/* Product Details */
.product-details img {
    max-height: 500px;
    object-fit: cover;
}

.btn-outline-dark {
    color: var(--black);
    border-color: var(--black);
}

.btn-outline-dark:hover {
    background-color: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

/* Cart Page */
.cart .table {
    background-color: var(--white);
    color: var(--black);
}

.cart .table th {
    background-color: var(--black);
    color: var(--white);
}

.cart .table td {
    vertical-align: middle;
}

.cart .btn-danger {
    background-color: #dc3545;
    border: none;
}

.cart .btn-danger:hover {
    background-color: #c82333;
}

.cart .text-gold {
    color: var(--gold);
}

/* Checkout Page */
.checkout .card {
    background-color: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
}

.checkout .text-gold {
    color: var(--gold);
}

/* Thank You Page */
.thank-you {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Account Page */
.account .table th {
    background-color: var(--black);
    color: var(--white);
}

.account .table td {
    vertical-align: middle;
}

/* Hero Slider */
.index-hero .carousel-item {
    height: 70vh;
    position: relative;
    min-height: 400px;
}

.index-hero .image__hero__frame {
    height: 100%;
    width: 100%;
}

.index-hero .image__hero__frame img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    aspect-ratio: 16/9;
}

.index-hero .carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.index-hero .hero__title {
    color: var(--white);
    font-size: 2.5rem;
}

.index-hero .hero__description {
    color: var(--white);
    font-size: 1.25rem;
}

.index-hero .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Best Sellers */
.best-sellers {
    position: relative;
    z-index: 1;
    margin-bottom: 100px;
    padding-bottom: 20px;
}

.best-sellers .grid-container {
    max-width: 100%;
    padding: 0 15px;
}

.best-sellers .grid__heading-holder {
    text-align: center;
    margin-bottom: 20px;
}

.best-sellers .grid__heading {
    color: var(--black);
    font-size: 2rem;
    margin-bottom: 10px;
}

.best-sellers .btn-outline-dark.btn-sm {
    display: inline-block;
    margin: 0 auto;
}

.best-sellers .item {
    width: 100%;
}

.best-sellers .product-card {
    background-color: var(--white);
    border: 1px solid var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.best-sellers .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.best-sellers .product-item__image img {
    height: 300px; /* Increased from 200px */
    object-fit: cover;
    width: 100%;
    border-bottom: 1px solid var(--black);
}

.best-sellers .card-body {
    padding: 20px; /* Increased from 15px */
}

.best-sellers .product-item__title {
    color: var(--black);
    font-size: 1.5rem; /* Increased from 1.25rem */
    margin-bottom: 10px;
}

.best-sellers .product-item__price {
    color: var(--black);
    font-size: 1.2rem; /* Increased from 1rem */
    font-weight: bold;
    margin-bottom: 15px;
}

.best-sellers .owl-carousel,
.sauna-slider .owl-carousel,
.jacuzzi-slider .owl-carousel {
    overflow: hidden;
}

.best-sellers .owl-nav .owl-prev,
.best-sellers .owl-nav .owl-next,
.sauna-slider .owl-nav .owl-prev,
.sauna-slider .owl-nav .owl-next,
.jacuzzi-slider .owl-nav .owl-prev,
.jacuzzi-slider .owl-nav .owl-next {
    color: var(--gold);
    font-size: 2rem;
}

.best-sellers .owl-dots .owl-dot.active span,
.sauna-slider .owl-dots .owl-dot.active span,
.jacuzzi-slider .owl-dots .owl-dot.active span {
    background-color: var(--gold);
}

/* Categories */
.categories {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
}

.categories-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0;
}

.categories .brick__block {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    position: relative;
    aspect-ratio: 4 / 5;
}

.categories .brick__block__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.categories .brick__block__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.categories .brick__block:hover img {
    transform: scale(1.05);
}

.categories .brick__block__image .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.categories .hero__content__wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    margin: 0;
    padding: 0 10px;
}

.categories .hero__title {
    color: var(--white);
    font-size: 1.75rem;
    margin: 0;
}

/* About Us */
.about-us .hero__subheading {
    color: var(--black);
    font-size: 1rem;
}

.about-us .hero__title {
    color: var(--black);
    font-size: 2rem;
}

/* Sliders (Sauna and Jacuzzi) */
.sauna-slider .item,
.jacuzzi-slider .item {
    width: 100%;
}

.sauna-slider .product-slide,
.jacuzzi-slider .product-slide {
    position: relative;
    overflow: hidden;
}

.sauna-slider img,
.jacuzzi-slider img {
    height: 300px; /* Increased from 200px */
    object-fit: cover;
    width: 100%;
}

.sauna-slider .carousel-caption,
.jacuzzi-slider .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.sauna-slider .owl-stage-outer,
.jacuzzi-slider .owl-stage-outer {
    overflow: hidden;
    height: auto;
}

.sauna-slider .owl-item,
.jacuzzi-slider .owl-item {
    display: block;
    opacity: 1;
}

/* Image Cards */
.image-text-card .card,
.jacuzzi-card .card,
.hyperbaric-card .card {
    position: relative;
    overflow: hidden;
}

.image-text-card .card-img,
.jacuzzi-card .card-img,
.hyperbaric-card .card-img {
    height: 400px;
    object-fit: cover;
    width: 100%;
}

.image-text-card .card-img-overlay,
.jacuzzi-card .card-img-overlay,
.hyperbaric-card .card-img-overlay {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.image-text-card .image-overlay,
.jacuzzi-card .image-overlay,
.hyperbaric-card .image-overlay {
    z-index: 1;
}

/* Responsive Fixes */
@media (max-width: 767px) {
    .best-sellers .item,
    .sauna-slider .item,
    .jacuzzi-slider .item {
        width: 100%;
    }
    .categories-wrapper {
        padding: 0 !important;
        margin: 0 !important;
        width: 100vw;
    }
    .categories .brick__block {
        flex: 1 1 100%;
        width: 100vw !important;
        max-width: none !important;
        height: 350px;
        padding: 0 !important;
        margin: 0 !important;
        left: 0;
        right: 0;
    }
    .categories .brick__block__image {
        width: 100% !important;
        height: 100% !important;
    }
    .categories .brick__block__image img {
        width: 100% !important;
        height: 100% !important;
    }
    .best-sellers .product-item__image img,
    .sauna-slider img,
    .jacuzzi-slider img {
        height: 250px; /* Reduced for mobile */
    }
    .best-sellers .card-body {
        padding: 15px; /* Slightly smaller for mobile */
    }
    .best-sellers .product-item__title {
        font-size: 1.25rem; /* Adjusted for mobile */
    }
    .best-sellers .product-item__price {
        font-size: 1rem; /* Adjusted for mobile */
    }
    .btn-gold.btn-sm {
        padding: 6px 12px; /* Adjusted for mobile */
        font-size: 0.875rem;
    }
    .best-sellers,
    .sauna-slider,
    .jacuzzi-slider {
        margin-bottom: 40px;
    }
    .index-hero .carousel-item {
        height: 50vh;
    }
    .index-hero .hero__title {
        font-size: 1.5rem;
    }
    .index-hero .hero__description {
        font-size: 1rem;
    }
    .best-sellers .owl-carousel .owl-stage-outer,
    .sauna-slider .owl-carousel .owl-stage-outer,
    .jacuzzi-slider .owl-carousel .owl-stage-outer {
        overflow: visible;
    }
}

@media (max-width: 1200px) {
    .categories .brick__block {
        flex: 1 1 50%;
        max-width: 50%;
    }
}

/* Subcategory Slider */
.subcategory-menu .owl-carousel .nav-link {
    color: var(--black);
    padding: 8px 15px;
    border-radius: 5px;
    text-align: center;
    display: block;
}

.subcategory-menu .owl-carousel .nav-link.active {
    background-color: var(--gold);
    color: var(--black);
}

.subcategory-menu .owl-nav .owl-prev,
.subcategory-menu .owl-nav .owl-next {
    color: var(--gold);
    font-size: 1.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.subcategory-menu .owl-nav .owl-prev { left: -20px; }
.subcategory-menu .owl-nav .owl-next { right: -20px; }

/* Text Section */
.text-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.text-section p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Showcase Images */
.showcase-images img {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* All Products */
.all-products h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.hero { background: #f8f9fa; }
.feature-block img { max-height: 200px; }
.btn-gold { background-color: #d4af37; color: #fff; }
.btn-gold:hover { background-color: #c19b32; }
.btn-outline-gold { border-color: #d4af37; color: #d4af37; }
.btn-outline-gold:hover { background-color: #d4af37; color: #fff; }

.spec-row {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}
.spec-row:hover {
    transform: translateY(-2px);
}
.spec-key {
    flex: 0 0 40%;
    max-width: 40%;
    padding-right: 8px;
    align-items: flex-start;
    text-align: left;
}
.spec-value {
    flex: 0 0 60%;
    max-width: 60%;
    overflow-wrap: break-word;
    word-break: break-word;
}
.spec-key h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}
.spec-value p {
    font-size: 0.85rem;
    color: #d4d4d4;
    margin: 0;
}
.spec-img {
    max-height: 400px;
    max-width: 100%;
    border-radius: 15px;
    object-fit: cover;
}
@media (max-width: 768px) {
    .spec-key, .spec-value {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }
    .spec-value {
        margin-top: 4px;
    }
    .spec-img {
        max-height: 300px;
        max-width: 100%;
    }
    .spec-key {
        margin-top: 4px;
    }
}