/* Global Styles */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Navbar */
.navbar {
    height: 80px;
    padding: 0.5rem;
    width: 100%; /* Ensure the navbar spans the full width */
    z-index: 1030; /* Keeps it above other elements when scrolling */
    position: relative; /* Makes sure it’s not fixed or absolute */
    box-sizing: border-box; /* Ensure padding is included in the width */
}

.navbar-brand img {
    width: 60px;
}

.search-button {
    background-color: #999999;
    color: #fff;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.2s;
}

.search-button:hover {
    background-color: #00b383;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
}

.navbar-toggler:focus, .btn-close:focus {
    box-shadow: none;
    outline: none;
}

.nav-link, .nav-link.active {
    color: #292929;
    font-weight: 500;
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-size: 17px;
}

.dropdown-menu {
    background-color: #000000;
}

.dropdown-item {
    color: #fff;
    font-weight: 500;
    font-family: "Old Standard TT", serif;
    font-weight: 400;
    font-size: 17px;
}

.nav-link:hover {
    color: #d6d6d6;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Sticky Header */
.head.sticky {
    background: var(--bg-color);
    padding: 14px 14%;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 105);
}

/* Section Padding */
section {
    padding: 100px 0;
}

/* Home Section */
.home {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #fff;
    margin-top: 0; /* Adjust if needed */
}

.home .content h1 {
    font-size: 50px; /* Default size for larger screens */
}

.home .content h4 {
    font-size: 20px; /* Default size for larger screens */
}

@media (max-width: 767px) {
    .home .content h1 {
        font-size: 28px; /* Smaller heading for mobile */
    }

    .home .content h4 {
        font-size: 16px; /* Smaller sub-heading for mobile */
    }
}

/* Center Text */
.center-text {
    text-align: center;
}

.center-text h2 {
    font-family: "Arapey", serif;
    font-weight: 400;
    font-size: 35px;
}

/* Product Container */
.product-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 50px;
}

.product-image {
    display: flex;
    width: 50%;
    flex-direction: column;
    align-items: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 1000px) {
    .product-image {
        max-width: 100%;
        margin-right: 60px;
    }
}

@media (max-width: 767px) {
    .product-container {
        flex-direction: column; /* Stack items vertically */
        padding: 20px;
    }

    .product-image {
        width: 100%;
    }

    .product-details {
        width: 100%;
        max-width: none;
        margin-top: 20px;
    }
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.thumbnail-gallery img {
    width: 65px;
    height: 60px;
    margin: 0 5px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.thumbnail-gallery img:hover {
    border-color: #000;
}

@media (max-width: 767px) {
    .thumbnail-gallery img {
        width: 50px;
        height: 50px;
    }
}

/* Product Details */
.product-details {
    font-family: "Arapey", serif;
    font-weight: 400;
    max-width: 400px;
}

.product-details h1 {
    font-family: "Arapey", serif;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 2px;
}

.product-details h2 {
    font-family: "Arapey", serif;
    font-weight: 400;
    font-size: 35px;
    margin: 10px 0;
}

.price {
    font-size: 18px;
    color: #333;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.currency {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
}

.currency img {
    width: 20px;
    height: 14px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.note {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .product-details {
        max-width: 100%; /* Full width on mobile */
        padding: 15px; /* Add padding for better spacing */
    }

    .product-details h1 {
        font-size: 20px; /* Smaller heading for mobile */
    }

    .product-details h2 {
        font-size: 28px; /* Smaller sub-heading for mobile */
    }

    .price {
        font-size: 22px; /* Smaller price font size for mobile */
    }

    .note {
        font-size: 12px; /* Smaller note font size for mobile */
    }

    .color-button, .size-button {
        padding: 8px 15px;
        font-size: 14px;
    }

    .add-to-cart, .ws-pay {
        padding: 12px;
        font-size: 14px;
    }

    .heritajyo-info-box {
        padding: 10px;
    }

    .heritajyo-info {
        font-size: 14px;
    }
}

/* Color and Size Buttons */
.color-selection, .size-selection {
    margin-bottom: 20px;
}

.color-button, .size-button {
    margin: 5px;
    padding: 10px 20px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.color-button:hover, .size-button:hover {
    background-color: #f0f0f0;
}

.color-button.black {
    background-color: black;
    color: white;
}

.color-button.red {
    background-color: red;
    color: white;
}

.color-button.white {
    background-color: white;
    color: black;
}

/* Add to Cart and Ws Pay Buttons */
.add-to-cart, .ws-pay {
    display: block;
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    background-color: #333;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart:hover, .ws-pay:hover {
    background-color: #555;
}

@media (max-width: 767px) {
    .color-button, .size-button {
        padding: 8px 15px;
        font-size: 14px;
    }

    .add-to-cart, .ws-pay {
        padding: 12px;
        font-size: 14px;
    }
}

/* Heritajyo Info Box */
.heritajyo-info-box {
    background-color: #f0f0f0; /* Light grey background */
    padding: 15px; /* Padding inside the box */
    border-radius: 5px; /* Slightly rounded corners */
    margin-top: 20px; /* Add some spacing above the box */
    margin-bottom: 25px;
}

.heritajyo-info {
    margin-bottom: 10px; /* Space between paragraphs */
    font-size: 15px;
    color: #666;
}

@media (max-width: 767px) {
    .heritajyo-info-box {
        padding: 10px;
    }

    .heritajyo-info {
        font-size: 14px;
    }
}

/* Thumbnail Gallery Slider */
.thumbnail-gallery-slider {
    position: relative;
    width: 100%;
    max-width: 500px; /* Adjust width */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px; /* Add padding so buttons stay within bounds */
}

.slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
    width: max-content; /* Allow it to be as wide as needed */
    overflow: hidden;
    white-space: nowrap; /* Prevent wrapping */
}

.slider-track img {
    width: 85px;
    height: 60px;
    margin: 0 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
    cursor: pointer;
}

.slider-track img:hover {
    border-color: #000;
}

.slider-btn {
    background-color: #333;
    color: #fff;
    border: none;
    font-size: 1.0rem;
    width: 30px; /* Increase button size */
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s;
    z-index: 10;
    max-width: 40px; /* Prevent excessive width */
}

.slider-btn:hover {
    background-color: #555;
}

.thumbnail-gallery-slider {
    position: relative;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slider-btn.prev-btn {
    left: 0; /* Keep inside the container */
}

.slider-btn.next-btn {
    right: 0; /* Keep inside the container */
}

.prev-btn {
    left: -45px; /* Adjust this value if you want the button closer */
}

.next-btn {
    right: -50px; /* Adjust this value if you want the button closer */
}

@media (max-width: 767px) {
    .slider-btn {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }

    .slider-prev, .slider-next {
        width: 30px; /* Smaller button for mobile */
        height: 30px;
        font-size: 12px; /* Smaller arrow size */
    }

    .slider-prev {
        left: 5px; /* Adjusted closer to the slider */
    }

    .slider-next {
        right: 5px; /* Adjusted closer to the slider */
    }

    .slider-track img {
        width: 70px;
        height: 50px;
    }
}