/* Styles extracted from login_sidebar.php */

.side_sidenav {
    height: 100%;
    width: 470px;
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    background-color: #fff;
    overflow-x: hidden;
    /*transition: 0.5s; */
    transition: transform 0.4s ease-in-out;
    transform: translateX(100%); /* Inicia fuera de la pantalla a la derecha */
    box-shadow: -5px 0px 15px rgba(0,0,0,0.2);
}

.side_sidenav.open {
  transform: translateX(0); /* Se desliza a la vista */
}

/* Form Control - General Input Styling */
.side_form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem; /* Increased padding for better touch targets */
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057; /* Darker text color */
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da; /* Light gray border */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.5rem; /* Slightly more rounded corners */
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#overlay {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: #000000b5; /* transparente */
	z-index:9999;
	opacity: 0;
	transition: opacity 0.4s ease-in-out;
} 
#overlay.open {
	display: block;
	opacity: 1;
}

.side_form-control:focus {
    border-color: #80bdff; /* Blue border on focus */
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); /* Subtle blue shadow on focus */
}

/* Specific Input Rounded Style */
.side_input-rounded {
    border-radius: 10px; /* More rounded than default form-control */
}

/* Form Label */
.side_form-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 600; /* Bolder labels */
    color: #343a40; /* Darker label color */
}

/* Invalid Feedback */
.side_invalid-feedback {
    display: none; /* Hidden by default, shown by JS validation */
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545; /* Red for error messages */
}

/* Form Check (Checkbox/Radio) */
.side_form-check {
    position: relative;
    display: block;
    padding-left: 1.75em; /* Adjust padding for checkbox */
    margin-bottom: 0.5rem;
}

.side_form-check-input {
    position: absolute;
    margin-top: 0.3em; /* Adjust vertical alignment */
    margin-left: -1.75em;
}

.side_form-check-label {
    margin-bottom: 0;
    color: #495057;
}

/* Buttons - Base Style */
.side_btn {
    display: inline-block;
    font-weight: 500; /* Slightly bolder text */
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.75rem 1.25rem; /* More padding for buttons */
    font-size: 1rem;
    border-radius: 0.5rem; /* Consistent rounded corners */
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Primary Black Button */
.side_btn-black {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.side_btn-black:hover {
    background-color: #343a40; /* Darker gray on hover */
    border-color: #343a40;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075); /* Subtle shadow on hover */
}

/* Outline Secondary Button */
.side_btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.side_btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

/* Utility Classes */
.side_w-100 {
    width: 100% !important;
}

.side_mb-3 {
    margin-bottom: 1rem !important; /* Consistent spacing */
}

.side_mt-5 {
    margin-top: 3rem !important; /* Consistent spacing */
}

.side_mb-2 {
    margin-bottom: 0.5rem !important; /* Consistent spacing */
}

.side_my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.side_px-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.side_py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.side_text-center {
    text-align: center !important;
}

.side_needs-validation {
    /* No direct CSS for this class, it's for JS validation */
}

/* Horizontal Rule */
hr.side_my-4 {
    border-top: 1px solid rgba(0,0,0,.1); /* Lighter separator */
}

/* Favorites Sidebar Specific Styles */
.side_favorite-item {
    border: solid 2px #dfdfdf;
    border-radius: 15px;
    padding: 10px;
}

.side_favorite-image-container {
    width: 100%;
    height: 100px;
}

.side_favorite-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side_favorite-details {
    padding: 0 0 0 10px;
    width: 100%;
}

.side_favorite-actions {
    width: 100%;
    height: 100px;
}

.side_add-to-cart-btn {
    font-size: 12px;
    line-height: 1;
    border: solid 1px #ddd;
    border-radius: 5px;
    padding: 4px 10px;
    color: #fff;
    background: #000;
}

/* Flexbox Utilities (basic replication) */
.side_d-flex {
    display: flex;
}

.side_justify-content-center {
    justify-content: center;
}

.side_align-items-center {
    align-items: center;
}

.side_justify-content-end {
    justify-content: flex-end;
}

.side_pr-3 {
    padding-right: 1rem; /* Equivalent to Bootstrap's pr-3 */
}

.side_text-danger {
    color: #dc3545; /* Equivalent to Bootstrap's text-danger */
}

.side_d-block {
    display: block;
}

.side_mr-2 {
    margin-right: 0.5rem; /* Equivalent to Bootstrap's mr-2 */
}

/* Cart Sidebar Specific Styles */
.side_pl-4 {
    padding-left: 1.5rem; /* Equivalent to Bootstrap's pl-4 */
}

.side_tab-content {
    /* Basic styles for tab content */
}

.side_active {
    /* Basic styles for active state */
}

.side_widget {
    /* Basic styles for widget */
}

.side_woocommerce {
    /* Basic styles for woocommerce */
}

.side_widget_shopping_cart {
    /* Basic styles for widget_shopping_cart */
}

.side_widget_shopping_cart_content {
    /* Basic styles for widget_shopping_cart_content */
    opacity: 1;
    padding: 1rem; /* Added padding for content */
    background-color: #f8f9fa; /* Light background */
    border-radius: 0.5rem;
}

.side_woocommerce-mini-cart {
    /* Basic styles for woocommerce-mini-cart */
    list-style: none; /* Remove bullet points */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

.side_notranslate {
    /* Basic styles for notranslate */
}

.side_cart_list {
    /* Basic styles for cart_list */
}

.side_product_list_widget {
    /* Basic styles for product_list_widget */
}

.side_ss-container2 {
    overflow-y: auto; /* Allow scrolling for long lists */
    max-height: 60vh; /* Limit height to prevent overflow */
    padding-right: 10px; /* Space for scrollbar */
}

.side_woocommerce-mini-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically align items */
    border-bottom: 1px solid #eee; /* Separator between items */
    padding-bottom: 1rem; /* Spacing below item */
    margin-bottom: 1rem; /* Spacing below item */
}

.side_mini_cart_item {
    /* Basic styles for mini_cart_item */
}

.side_rey-cartImg {
    width: 80px; /* Fixed width for image container */
    height: 80px;
    flex-shrink: 0; /* Prevent shrinking */
    margin-right: 1rem; /* Spacing to the right */
    border-radius: 0.25rem; /* Slightly rounded image corners */
    overflow: hidden; /* Hide overflow for rounded corners */
}

.side_woocommerce-mini-cart-thumbTitle {
    display: block;
    font-weight: 600; /* Bolder title */
    color: #343a40;
    text-decoration: none;
}

.side_woocommerce-mini-cart-thumbTitle:hover {
    color: #007bff; /* Highlight on hover */
}

.side_attachment-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side_size-thumbnail {
    /* Basic styles for size-thumbnail */
}

.side_quantity {
    display: flex;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    overflow: hidden;
}

.side_rey-qtyField {
    display: flex;
    align-items: center;
}

.side_cartBtnQty-controls {
    display: flex;
}

.side_minus,
.side_plus {
    padding: 0.5rem 0.75rem;
    background-color: #f8f9fa;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.side_minus:hover,
.side_plus:hover {
    background-color: #e2e6ea;
}

.side_cursor-pointer {
    cursor: pointer;
}

.side_padding-2-7 {
    padding: 2px 7px;
}

.side_input-text {
    width: 40px; /* Fixed width for quantity input */
    text-align: center;
    border: none;
    padding: 0.5rem 0;
    -moz-appearance: textfield; /* Remove arrows in Firefox */
}

.side_input-text::-webkit-outer-spin-button,
.side_input-text::-webkit-inner-spin-button {
    -webkit-appearance: none; /* Remove arrows in Chrome, Safari, Edge */
    margin: 0;
}

.side_qty {
    /* Basic styles for qty */
}

.side_text {
    /* Basic styles for text */
}

.side_select-text {
    /* Basic styles for select-text */
}

.side_prevent-focus {
    /* Basic styles for prevent-focus */
}

.side_rey-removeBtn {
    color: #dc3545; /* Red for remove button */
    font-size: 1.2rem;
    text-decoration: none;
    margin-left: 1rem; /* Spacing to the left */
}

.side_rey-removeBtn:hover {
    color: #bd2130;
}

.side_remove3 {
    /* Basic styles for remove3 */
}

.side_product-type-badge {
    background: #ffdf8e;
    color: #343a40; /* Darker text for badge */
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    max-width: 71px;
    margin: 19px 0 0 100px;
}

.side_woocommerce-mini-cart__total {
    border-top: 1px solid #eee; /* Separator for total */
    padding-top: 1rem;
    margin-top: 1rem;
}

.side_total {
    /* Basic styles for total */
}

.side_woocommerce-mini-cart__totalRow {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
}

.side_woocommerce-Price-amount {
    /* Basic styles for woocommerce-Price-amount */
}

.side_amount {
    /* Basic styles for amount */
}

.side_woocommerce-Price-currencySymbol {
    /* Basic styles for woocommerce-Price-currencySymbol */
}

.side_checkout-button {
    background-color: #fdf2d5;
    color: #343a40; /* Darker text for button */
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem;
    transition: background-color 0.15s ease-in-out;
}

.side_checkout-button:hover {
    background-color: #e0e0e0; /* Slightly darker on hover */
}

.side_woocommerce-mini-cart-item-title{
    min-width: 235px; 
}

/* New styles for cart_sidebar.php design improvements */

.side_empty-cart-message {
    padding: 1.5rem; /* More padding for the message */
    text-align: center;
    color: #6c757d; /* Muted text color */
    font-size: 1.1rem;
}

.side_cart-item-details {
    flex-grow: 1; /* Allow details to take available space */
    padding-left: 1rem; /* Spacing from image */
}

.side_cart-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.25rem;
}

.side_cart-item-meta {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.3;
}

.side_cart-item-price {
    font-size: 1rem;
    font-weight: 600;
    color: #343a40;
    white-space: nowrap; /* Prevent price from wrapping */
}

.side_quantity-controls-wrapper {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.side_quantity-input {
    width: 40px; /* Fixed width */
    text-align: center;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    margin: 0 0.25rem;
    padding: 0.25rem 0;
}

.side_quantity-button {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: background-color 0.15s ease-in-out;
}

.side_quantity-button:hover {
    background-color: #dee2e6;
}

.side_remove-item-button {
    color: #dc3545;
    font-size: 1.5rem;
    text-decoration: none;
    margin-left: 1rem;
    line-height: 1;
}

.side_remove-item-button:hover {
    color: #c82333;
}

.side_total-section {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
}

.side_total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.side_checkout-link {
    display: block;
    background-color: #fdf2d5;
    color: #343a40;
    font-weight: 600;
    text-align: center;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.15s ease-in-out;
}

.side_checkout-link:hover {
    background-color: #e0e0e0;
}

/* Styles for register_sidebar.php */

.side_row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.side_col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}

.side_col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.side_p-0 {
    padding: 0 !important;
}

.side_m-0 {
    margin: 0 !important;
}

.side_mb-0 {
    margin-bottom: 0 !important;
}

.side_mt-2 {
    margin-top: 0.5rem !important;
}

.side_rey-input {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.side_rey-input--text {
    /* Specific styles for text inputs if needed */
}

.side_suports-visibility {
    /* Styles for visibility support if needed */
}

.side_state_select {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

/* Footer Sidebar Styles */
.side_footer_container {
    width: 100%;
    height: 100px;
    border-top: 1px solid #ddd;
    background-color: #fff;
}

.side_footer_menu {
    display: flex;
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.side_footer_menu_item {
    flex: 1;
    height: 100%;
    border-right: 1px solid #eee;
}

.side_footer_menu_item:last-child {
    border-right: none;
}

.side_footer_btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #6c757d;
    background-color: transparent;
    transition: all 0.2s ease-in-out;
    padding: 10px;
}

.side_footer_btn:hover {
    background-color: #f8f9fa;
    color: #343a40;
    text-decoration: none;
    transform: translateY(-2px);
}

.side_footer_btn:active {
    transform: translateY(0);
    background-color: #e9ecef;
}

.side_footer_icon {
    font-size: 26px;
    margin-bottom: 4px;
    transition: all 0.2s ease-in-out;
}

.side_footer_text {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    margin: 0;
}

/* Specific button states */
.side_footer_btn_account:hover {
    color: #007bff;
}

.side_footer_btn_account:hover .side_footer_icon {
    color: #007bff;
}

.side_footer_btn_orders:hover {
    color: #28a745;
}

.side_footer_btn_orders:hover .side_footer_icon {
    color: #28a745;
}

.side_footer_btn_logout:hover {
    color: #dc3545;
}

.side_footer_btn_logout:hover .side_footer_icon {
    color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .side_footer_text {
        font-size: 12px;
    }
    
    .side_footer_icon {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .side_footer_container {
        height: 80px;
    }
    
    .side_footer_text {
        font-size: 11px;
    }
    
    .side_footer_icon {
        font-size: 22px;
        margin-bottom: 2px;
    }
}

/* Mi Cuenta Sidebar Styles */
.side_micuenta_container {
    width: 100%;
    height: 100%;
}

.side_micuenta_content {
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 20px;
    overflow-y: auto;
}

.side_profile_photo_container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.side_foto_perfil {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    transition: transform 0.2s ease-in-out;
}

.side_foto_perfil:hover {
    transform: scale(1.05);
}

.side_foto_perfil::after {
    content: '✏';
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.7);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.side_foto_perfil:hover::after {
    opacity: 1;
}

.side_profile_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.side_file_upload_container {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.side_file_input {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin-top: 0.5rem;
}

.side_file_input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Additional utility classes for Mi Cuenta */
.side_mt-4 {
    margin-top: 1.5rem !important;
}

.side_mb-4 {
    margin-bottom: 1.5rem !important;
}

/* Responsive adjustments for Mi Cuenta */
@media (max-width: 768px) {
    .side_micuenta_content {
        padding: 15px;
    }
    
    .side_profile_photo_container {
        width: 80px;
        height: 80px;
    }
    
    .side_col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .side_micuenta_content {
        padding: 10px;
    }
    
    .side_form-label {
        font-size: 0.875rem;
        font-weight: 600;
    }
    
    .side_form-control {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Access Denied Styles */
.side_access_denied_container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.side_access_denied_content {
    text-align: center;
    max-width: 350px;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.side_access_denied_icon {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.side_access_denied_title {
    color: #343a40;
    margin-bottom: 1rem;
    font-weight: 600;
}

.side_access_denied_message {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.side_access_denied_actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.side_access_denied_actions .side_btn {
    min-width: 120px;
}

/* Responsive adjustments for access denied */
@media (max-width: 480px) {
    .side_access_denied_content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .side_access_denied_actions {
        flex-direction: column;
    }
    
    .side_access_denied_actions .side_btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}


.li_btn_tabs{
    width:100%;
}
.btn_tabs{
    display:block;
    width:100%;
    background:#eee;
    text-align:center;
    padding:10px 10px;
    font-size:13px;
    font-weight: 500;
}
.tabs_active{
    background:#d7d7d7;
}








