* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Inter", sans-serif;
}
h1, h2 {
    font-family: "Pacifico", cursive;
}
img {
    max-width: 100%;
}
a {
    text-decoration: none;
}
ul {
    padding: 0;
    margin: 0;
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(84 0 0 / 50%);
    height: 70px; 
    z-index: 100;
    transition: all 0.5s ease;
}
.site-header.active {
    height: 60px;
}
.topbar {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    align-items: center;
} 
#trigger {
    position: relative;
    color: #fff;
    font-size: 28px;
}
#cart-icon {
    position: relative;
    color: #fff;
    font-size: 28px;
}
#cart-icon span {
    background: #d73333;
    color: #fff;
    width: 25px;
    height: 25px;
    font-size: 15px;
    line-height: 25px;
    display: inline-block;
    text-align: center;
    border-radius: 25px;
    position: absolute;
    top: -9px;
    right: -10px;
}
.topbar img {
    width: 90px;
    margin-top: -5px;
}
.site-header.active .topbar img {
    width: 70px;
    margin-top: 0;
}
.hero {
    position: relative;
    z-index: 99;
}
.hero img {
    width: 100%;
    max-height: 320px;
}
.hero .hero-txt {
    position: absolute;
    top: 50%;
    text-align: center;
    width: 100%;
    transform: translateY(-13%);
}
.hero h1 { 
    text-align: center; 
    color: #fff;
    text-shadow: 3px 0px black;
    font-size: 26px;
}
.btn-set a {
    display: inline-block;
    padding: 9px 13px;
    background-color: #404040;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    transition: all 0.5s ease;
    border-radius: 5px;
    margin: 10px 3px;
    box-shadow: 0 1px 9px rgb(255 255 255 / 50%);
}
.hero .btn-shop {
    background-color: #237000;
} 
h2.section-title {
    margin-bottom: 15px;
    text-align: center;
    margin-top: 20px;
}
.product-grid { display:flex; flex-wrap:wrap; gap:15px; }
.product-card {
    box-shadow: 0 1px 9px rgb(0 0 0 / 20%);
    padding: 0;
    width: 30%;
    text-align: center;
    display: inline-block;
    margin-bottom: 10px;
}
.product-card img { width:100%; height:200px; object-fit:cover; }
#cart-sidebar {
    position: fixed;
    right: -280px;
    top: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    border-left: 1px solid #ddd;
    transition: 0.3s;
    z-index: 9999;
    padding: 10px 5px;
}
#cart-sidebar.active {
    right: 0;
}
.cart-header {
    position: relative;
}
#cart-items > p {
    padding: 10px;
}
#close-cart {
    position: absolute;
    top: 0;
    right: 10px;
    color: #fff;
    background-color: #c71919;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 25px;
    font-size: 20px;
    cursor: pointer;
} 
.cart-footer {
    padding: 7px 10px;
}
.cart-footer .cart-total {
    text-align:right;
    margin-bottom:10px;
}
.cart-footer .cart-buttons {
    display:flex;
    gap:8px;
}
.cart-footer a {
    display: block;
    text-align: center;
    border: 1px solid #ddd;
    margin-bottom: 7px;
    text-decoration: none;
    padding: 10px 0;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgb(0 0 0 / 20%);
    color: #c71919;
} 
.cart-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.remove-cart {
    background: #ff4d4f;
    color: #fff;
    border: none;
    padding: 2px 6px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 3px;
    margin-top: 5px;
}

.qty-btn {
    background: #eee;
    border: none;
    padding: 2px 6px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 3px;
    margin: 0 3px;
}
.add-to-cart, .quick-view {
    padding: 10px 15px;
    margin-top: 8px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 20%);
    font-size: 13px;
    color: #eee;
    border: none;
    cursor: pointer;
    background-color: #404040;
    transition: all 0.5s ease;
    position: relative;
    text-align: left;
} 
.quick-view {
    background-color: #d73333;
}
#preloader {
    text-align: center;
    padding: 20px;
}
.product-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
} 
.product-card.show {
    opacity: 1;
    transform: translateY(0);
}
.product-card p {
    margin-bottom: 0;
    font-size: 14px;
    color: #785e00;
}

.product-card h4 {
    font-size: 19px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 2px;
    color: #333;
}
.cart-button-wrap {
    display: flex;
}
/* add to cart button */
.add-to-cart {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: left;
    padding: 10px 5px 10px 28px;
    font-size: 13px;
    line-height: 20px;
}
.add-to-cart::after {
    content: '\F23C';
    position: absolute;
    left: 11px;
    top: 9px;
    font-family: bootstrap-icons;
    font-size: 13px;
}
.cart-gif {
    width: 30px !important;
    height: 30px !important;
    display: none;
    position: absolute;
    right: 5px;
    top: 5px;
}
/* Loading state */
.add-to-cart.loading {
    background: #5c5c5c;
    pointer-events: none;
}

.add-to-cart.loading .cart-text {
    opacity: 0.5;
}

.add-to-cart.loading .cart-gif {
    display: inline-block;
}
.toast {
    position: fixed;
    top: 15px;
    left: 5%;
    background: #16a34a;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgb(0 0 0 / 15%);
    opacity: 0;
    transform: translateY(-20px);
    transition: 0.3s ease;
    z-index: 9999;
}
.toast.show {
    opacity: 1;
    transform: translateY(0);
} 
/* ajax load more */
#load-more {
    position: relative;
    display: inherit;
    color: #333;
    text-transform: capitalize;
    font-size: 15px;
    max-width: 200px;
    margin: 10px auto 0;
    border-radius: 25px;
    height: 50px;
    background-color: #ffdcdc;
    box-shadow: 0 1px 20px rgb(0 0 0 / 20%);
    border: none;
    transition: 0.5s ease;
}
#load-more.loading {
    background-color: #ff9999;
}
#load-more img {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    display: none;
} 
@media (max-width: 600px) {
    .product-card {
        width: 46%;
    }
}
/*cart + checkout*/ 
.cart-page, .checkout {
    margin-top: 90px;
}
.cart-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.cart-container table th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}
.cart-container img {
    width: 50px;
}
.qty-box {
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 3px;
}
.cart-item button { 
    cursor: pointer;
} 
.qty-btn {
    background: #eee;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 3px;
    margin: 0;
    font-weight: bold;
    width: 35px;
}
span.qty {
    padding: 10px;
}
.cart-action {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}
.cart-action a {
    flex: 1;
}
.cart-action .btn-checkout {
    background-color: #c71919;
    color: #fff;
}
.btn-spinner {
    display: none;
    width: 20px;
    margin-left: 8px;
}
.add-to-cart {
    position: relative;
}
@media (max-width: 600px) {
    table, th, td {
        font-size: 12px;
    }
}
.checkout-wrap { max-width: 900px; margin: auto; }
        .row { display: flex; gap: 20px; }
        .box { padding: 15px; }
        input, textarea, select, button {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    border: 1px solid #ddd;
}
        .checkout .cart-footer a {
    display: inline;
    float: left;
    padding: 5px 0;
    text-decoration: underline;
    box-shadow: none;
    border: none;
}
#checkout-form button {
    background-color: #c71919;
    color: #fff;
    border: none;
    box-shadow: 0 3px 5px rgb(0 0 0 / 50%);
    border-radius: 10px;
    padding: 13px 5px;
    margin-top: 13px;
}
@media (max-width: 600px) {
    .row {
        display: block;
    }
} 
/*breadcrumb*/
.breadcrumb-banner {
    position: relative;
    width: 100%;
    background: url('../images/breadcrumb-bg.jpg') center/cover no-repeat;
    min-height: 180px;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.breadcrumb-overlay {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 40px 0;
}

.breadcrumb-title {
    color: #fff;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 600;
}

.breadcrumb {
    list-style: none;
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb li {
    color: #ddd;
}

.breadcrumb li + li::before {
    content: "/";
    margin: 0 8px;
    color: #aaa;
}

.breadcrumb a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: #fff;
}
/*single product.php */
.single-product {
    padding: 60px 0;
} 
.single-product-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-gallery img {
    width: 100%;
    border-radius: 10px;
}

.product-title {
    font-size: 32px;
    margin-bottom: 15px;
}

.product-price {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-description {
    margin-bottom: 25px;
    line-height: 1.6;
}
.shop-filter button {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    padding: 0;
    float: right;
    margin-top: 0;
}

.shop-filter {
    margin-bottom: 20px;
    padding: 0 10px;
}
@media (max-width: 768px) {
    .single-product-wrapper {
        grid-template-columns: 1fr;
    }
}
/*sidebar main*/
.sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    transition: left 0.3s ease;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

#sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 999;
}

#sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

#trigger {
    font-size: 24px;
    cursor: pointer;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.sidebar-search input {
    width: 100%;
    padding: 13px 15px;
    margin: 0 0 20px;
    box-sizing: border-box;
    border: 0;
    background-color: #f0f0f0;
    box-shadow: 0 1px 3px rgb(0 0 0 / 20%);
    font-size: 13px;
    outline: none;
}
.sidebar-category li {
    list-style: none;
    line-height: 45px;
    border-top: 1px dashed #ddd;
}
.sidebar-category li:first-child {
    border: none;
}
.sidebar-category li a {
    text-decoration: none;
    color: #333;
}
.sidebar-header a {
    color: #999;
}
.booking {
    margin-top: 20px;
}

.booking h6 {
    font-size: 14px;
    color: #002ccd;
}

.booking a {
    border: 1px solid #ddd;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 12px;
    display: inline-block;
    font-weight: 400;
    color: #555;
}
/* product quick view*/
#quick-view-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

#quick-view-modal{
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 900px;
    background: #fff;
    padding: 30px;
    z-index: 1000;
    transition: 0.4s ease;
}

#quick-view-modal.active{
    top: 80px;
}

.quick-view-content{
    display: flex;
    gap: 30px;
}

.quick-view-left img{
    width: 100%;
    max-width: 350px;
}

#quick-view-close{
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
} 
/*footer*/
.site-footer {
    padding: 20px 0 15px;
    text-align: center;
    background-color: #2e2632;
    margin-top: 50px;
    color: #fff;
}