/*
Theme Name: Camp Cognita

WooCommerce styles override
*/

/*-------my account start---------------*/
.btn-outline-danger {
    border-width: 2px;
    font-weight: 600;
}

.table th {
    font-size: 14px;
}

.table td {
    font-size: 14px;
}

.my-account-menu-container ul {
    list-style: none;
    display: flex;
    justify-content: center;
}
.my-account-menu-container li {
    margin: 0 10px;
/*    padding: 12px 18px;*/
    border: #f10707 solid 2px;
	    font-size: 14px;

}
#menu-my-account .menu-item a {
    display: block;
    padding: 12px 18px;
}
.my-account-menu-container li a {
    color: #f10707;
    text-transform: uppercase;
}
.my-account-menu-container li:hover {
	background: #f10707;	
}
.my-account-menu-container li:hover > a {
    color: #fff;
}
/* .wc-block-components-quantity-selector {
    display: none;
} */
/*-------my account end---------------*/

/*-------booking page start---------------*/
.camp-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.week-title {
    background: #f2f2f2;
    padding: 10px;
    font-weight: 600;
    margin-top: 30px;
}
#campModal { position: fixed; inset: 0; z-index: 9999; }
.modal-overlay { background: rgba(0,0,0,.6); position:absolute; inset:0; }
.modal-box {
    background:#fff;
    max-width:500px;
    margin:100px auto;
    padding:25px;
    position:relative;
}
.modal-close {
    position:absolute;
    top:10px; right:10px;
    background:none; border:0; font-size:20px;
}
.remove-btn { background:#999; }
/*-------booking page end---------------*/

/*-------cart start---------------*/
.cart-menu > a {
    position: relative;
    padding-left: 28px;
}

/* Cart Icon */
.cart-menu > a::before {
    content: "\f07a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: relative;
    right: 3px;
}

/* Badge */
.cart-menu > a::after {
    content: attr(data-count);
    position: relative;
    top: 0px;
    right: -10px;
    background: #f10707;
    color: #fff;
    font-size: 11px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
}
.cart-menu > a {
    color: #f10707;
}
#cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

#cart-sidebar.active {
    right: 0;
}

#cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 9998;
}

#cart-overlay.active {
    display: block;
}

.cart-header {
    padding: 16px;
    font-size: 20px;
    font-weight: bold;
    color: red;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
}

.close-cart {
    cursor: pointer;
    font-size: 22px;
}
/*------cart end-------*/