/* WhatsApp Button Styles */
.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9375rem 0;
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    border-color: #20BA5A;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Branch Modal Styles */
/* Branch Modal Styles */
.branch-modal-dialog {
    max-width: 500px;
}

.branch-modal-header {
    background: #ffffff;
    color: #222222;
    border-bottom: 1px solid #e9ecef;
    padding: 1.25rem 1.5rem;
}

.branch-modal-header .modal-title {
    font-weight: 600;
    font-size: 1.125rem;
}

.branch-modal-body {
    padding: 1rem 1.25rem;
}

.branch-modal-body>p {
    margin-bottom: 0.75rem !important;
    font-size: 0.9rem;
}

.branch-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.branch-list .branch-item {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
    margin-bottom: 0;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: left;
    background-color: #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
}

.branch-list .branch-item:hover:not(.disabled) {
    background-color: #fff8f3;
    border-color: #ed711b;
    box-shadow: 0 4px 12px rgba(237, 113, 27, 0.1);
    transform: translateY(-2px);
}

.branch-list .branch-item:active:not(.disabled) {
    background-color: #fef0e4;
}

.branch-list .branch-item.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f8f9fa;
}

.branch-list .branch-item.disabled:hover {
    border-color: #e4e4e4;
    box-shadow: none;
    transform: none;
}

.branch-item-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    color: #ed711b;
    transition: all 0.2s ease;
}

.branch-list .branch-item:hover:not(.disabled) .branch-item-icon {
    background-color: #ed711b;
    border-color: #ed711b;
    color: #ffffff;
}

.branch-list .branch-item h6 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 0.375rem;
    font-size: 1.0625rem;
    line-height: 1.3;
}

.branch-list .branch-item p {
    margin-bottom: 0.125rem;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: #495057;
}

.branch-list .branch-item svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Scrollbar styling */
.branch-list::-webkit-scrollbar {
    width: 6px;
}

.branch-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.branch-list::-webkit-scrollbar-thumb {
    background: #ed711b;
    border-radius: 10px;
}

.branch-list::-webkit-scrollbar-thumb:hover {
    background: #d6600d;
}
/* Cart Drawer Dynamic Height */
.cart-drawer {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    padding-bottom: 0 !important;
}

.cart-drawer .aside-header {
    flex-shrink: 0;
}

.cart-drawer .cart-drawer-items-list {
    flex: 1;
    max-height: none !important;
    overflow-y: auto;
    padding-bottom: 1rem;
}

.cart-drawer .cart-drawer-actions {
    position: relative !important;
    flex-shrink: 0;
    bottom: auto !important;
}
