/**
 * Hellobd WooCommerce Custom Stylesheet
 * Author: IFTIKHAR AREFIN
 */

/* ==========================================================================
   Shop Archive & Filter Sidebar (Screenshot 3 Inspiration)
   ========================================================================== */
.hbd-shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    margin: 24px 0 50px 0;
}

.hbd-shop-sidebar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--hbd-radius);
    padding: 20px;
    height: fit-content;
}

body.dark-mode .hbd-shop-sidebar {
    background: #181818;
    border-color: #292929;
}

.hbd-sidebar-widget {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef0f2;
}

body.dark-mode .hbd-sidebar-widget {
    border-bottom-color: #262626;
}

.hbd-sidebar-widget:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hbd-widget-title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin: 0 0 14px 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.dark-mode .hbd-widget-title {
    color: #eee;
}

.hbd-filter-list li {
    margin-bottom: 8px;
}

.hbd-filter-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
}

body.dark-mode .hbd-filter-label {
    color: #aaa;
}

.hbd-filter-label:hover {
    color: var(--hbd-primary);
}

.hbd-filter-count {
    font-size: 11px;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 10px;
    color: #6b7280;
}

body.dark-mode .hbd-filter-count {
    background: #252525;
    color: #888;
}

.hbd-filter-btn-apply {
    width: 100%;
    background: var(--hbd-primary);
    color: #fff;
    padding: 10px;
    border-radius: var(--hbd-radius-sm);
    border: none;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    margin-top: 10px;
}

.hbd-filter-btn-apply:hover {
    background: var(--hbd-primary-hover);
}

.hbd-filter-btn-reset {
    width: 100%;
    background: transparent;
    color: #6b7280;
    padding: 8px;
    border: none;
    font-size: 12.5px;
    cursor: pointer;
    text-align: center;
    margin-top: 6px;
}

.hbd-filter-btn-reset:hover {
    color: #dc2626;
}

/* ==========================================================================
   Single Product Layout (Screenshot 2 Inspiration)
   ========================================================================== */
.hbd-single-product-wrap {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--hbd-radius);
    padding: 24px;
    margin: 20px 0 35px 0;
}

body.dark-mode .hbd-single-product-wrap {
    background: #181818;
    border-color: #282828;
}

.hbd-single-product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-bottom: 35px;
}

/* Gallery */
.hbd-single-gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hbd-gallery-main-img {
    background: #fbfbfb;
    border: 1px solid #ebebeb;
    border-radius: var(--hbd-radius);
    padding: 20px;
    text-align: center;
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .hbd-gallery-main-img {
    background: #141414;
    border-color: #242424;
}

.hbd-gallery-main-img img {
    max-height: 340px;
    object-fit: contain;
    margin: 0 auto;
}

.hbd-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.hbd-gallery-thumb-item {
    width: 70px;
    height: 70px;
    border: 1px solid #e2e8f0;
    border-radius: var(--hbd-radius-sm);
    padding: 4px;
    cursor: pointer;
    background: #fff;
    transition: var(--hbd-transition);
    flex-shrink: 0;
}

body.dark-mode .hbd-gallery-thumb-item {
    background: #1c1c1c;
    border-color: #333;
}

.hbd-gallery-thumb-item.active,
.hbd-gallery-thumb-item:hover {
    border-color: var(--hbd-primary);
    box-shadow: 0 0 0 1px var(--hbd-primary);
}

.hbd-gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product Info */
.hbd-single-summary {
    display: flex;
    flex-direction: column;
}

.hbd-stock-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #dcfce7;
    color: #166534;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    margin-bottom: 10px;
    width: fit-content;
}

.hbd-stock-status-badge.out-of-stock {
    background: #fee2e2;
    color: #991b1b;
}

.hbd-product-title-single {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

body.dark-mode .hbd-product-title-single {
    color: #f9fafb;
}

.hbd-brand-meta {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

.hbd-brand-meta a {
    color: var(--hbd-primary);
    font-weight: 600;
}

.hbd-single-price-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f9fafb;
    border-radius: var(--hbd-radius);
    border: 1px dashed #d1d5db;
    margin-bottom: 20px;
}

body.dark-mode .hbd-single-price-box {
    background: #1d1d1d;
    border-color: #333;
}

.hbd-single-current-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--hbd-primary);
}

.hbd-single-old-price {
    font-size: 16px;
    color: #9ca3af;
    text-decoration: line-through;
}

.hbd-discount-tag {
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
}

/* Bullet Features */
.hbd-product-bullet-points {
    margin: 0 0 20px 0;
    padding: 0 0 0 18px;
    list-style: disc;
    color: #4b5563;
    font-size: 13.5px;
    line-height: 1.7;
}

body.dark-mode .hbd-product-bullet-points {
    color: #a3a3a3;
}

/* Actions: Qty + Add to Cart + Direct Order */
.hbd-single-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.hbd-cart-row {
    display: flex;
    gap: 10px;
}

.hbd-quantity-picker {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: var(--hbd-radius-sm);
    background: #f9fafb;
}

body.dark-mode .hbd-quantity-picker {
    background: #222;
    border-color: #383838;
}

.hbd-qty-btn {
    width: 38px;
    height: 42px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #4b5563;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .hbd-qty-btn {
    color: #ccc;
}

.hbd-qty-input {
    width: 44px;
    height: 42px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: #111;
}

body.dark-mode .hbd-qty-input {
    color: #fff;
}

.hbd-btn-single-add-to-cart {
    flex: 1;
    background: var(--hbd-primary);
    color: #fff;
    border: none;
    border-radius: var(--hbd-radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--hbd-transition);
    height: 44px;
}

.hbd-btn-single-add-to-cart:hover {
    background: var(--hbd-primary-hover);
}

.hbd-btn-direct-order {
    background: #16a34a; /* Vibrant Bangladeshi Ecom Direct Order button */
    color: #ffffff;
    border: none;
    border-radius: var(--hbd-radius-sm);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--hbd-font-bengali);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--hbd-transition);
    height: 46px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.25);
}

.hbd-btn-direct-order:hover {
    background: #15803d;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
}

/* Quick Communication Action Row (WhatsApp / Messenger / Call Us) */
.hbd-quick-contact-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 6px;
}

.hbd-contact-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: var(--hbd-radius-sm);
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    transition: var(--hbd-transition);
}

.hbd-contact-action-btn.whatsapp {
    background: #25d366;
}

.hbd-contact-action-btn.messenger {
    background: #0084ff;
}

.hbd-contact-action-btn.call {
    background: #059669;
}

.hbd-contact-action-btn:hover {
    opacity: 0.9;
    color: #fff;
}

/* Specification Tabs & Table */
.hbd-tabs-wrapper {
    margin-top: 30px;
    border-top: 1px solid #e5e7eb;
    padding-top: 24px;
}

body.dark-mode .hbd-tabs-wrapper {
    border-top-color: #2c2c2c;
}

.hbd-tab-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e5e7eb;
}

body.dark-mode .hbd-tab-nav {
    border-bottom-color: #2b2b2b;
}

.hbd-tab-btn {
    background: transparent;
    border: none;
    font-size: 13.5px;
    font-weight: 700;
    color: #6b7280;
    padding: 10px 18px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    text-transform: uppercase;
    transition: var(--hbd-transition);
}

.hbd-tab-btn.active {
    color: var(--hbd-primary);
    border-bottom-color: var(--hbd-primary);
}

.hbd-tab-content-panel {
    display: none;
}

.hbd-tab-content-panel.active {
    display: block;
}

/* Specification Tables Grouped */
.hbd-spec-group {
    margin-bottom: 20px;
}

.hbd-spec-group-title {
    background: #f3f4f6;
    color: #1f2937;
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--hbd-radius-sm);
    margin: 0 0 10px 0;
}

body.dark-mode .hbd-spec-group-title {
    background: #252525;
    color: #f3f4f6;
}

.hbd-spec-table {
    width: 100%;
    border-collapse: collapse;
}

.hbd-spec-table tr {
    border-bottom: 1px solid #f0f0f0;
}

body.dark-mode .hbd-spec-table tr {
    border-bottom-color: #262626;
}

.hbd-spec-table td {
    padding: 9px 14px;
    font-size: 13px;
}

.hbd-spec-table td.label-col {
    width: 35%;
    color: #6b7280;
    font-weight: 500;
}

.hbd-spec-table td.val-col {
    color: #111827;
    font-weight: 500;
}

body.dark-mode .hbd-spec-table td.val-col {
    color: #e5e7eb;
}

/* ==========================================================================
   Quick Order ("অর্ডার করুন") Modal & Drawer
   ========================================================================== */
.hbd-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.hbd-modal-overlay.is-open {
    display: flex;
}

.hbd-modal-content {
    background: #ffffff;
    border-radius: var(--hbd-radius);
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 24px;
    box-shadow: var(--hbd-shadow-lg);
}

body.dark-mode .hbd-modal-content {
    background: #1c1c1c;
    border: 1px solid #333;
}

.hbd-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .hbd-modal-close {
    background: #2b2b2b;
    color: #fff;
}

.hbd-quick-form-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #111;
    font-family: var(--hbd-font-bengali);
}

body.dark-mode .hbd-quick-form-title {
    color: #fff;
}

.hbd-quick-form-subtitle {
    font-size: 12.5px;
    color: #6b7280;
    margin: 0 0 16px 0;
    font-family: var(--hbd-font-bengali);
}

.hbd-form-group {
    margin-bottom: 12px;
}

.hbd-form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #374151;
    font-family: var(--hbd-font-bengali);
}

body.dark-mode .hbd-form-label {
    color: #d1d5db;
}

.hbd-form-control {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: var(--hbd-radius-sm);
    padding: 9px 12px;
    font-size: 13.5px;
    background: #fff;
    color: #111;
}

body.dark-mode .hbd-form-control {
    background: #242424;
    border-color: #3a3a3a;
    color: #eee;
}

.hbd-order-summary-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--hbd-radius-sm);
    padding: 12px 16px;
    margin: 16px 0;
}

body.dark-mode .hbd-order-summary-box {
    background: #222;
    border-color: #333;
}

.hbd-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
    color: #4b5563;
}

body.dark-mode .hbd-summary-row {
    color: #a3a3a3;
}

.hbd-summary-row.total {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    border-top: 1px solid #e5e7eb;
    padding-top: 8px;
    margin-top: 8px;
}

body.dark-mode .hbd-summary-row.total {
    color: #fff;
    border-top-color: #333;
}

.hbd-submit-order-btn {
    width: 100%;
    background: #16a34a;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: var(--hbd-radius-sm);
    font-size: 16px;
    font-weight: 700;
    font-family: var(--hbd-font-bengali);
    cursor: pointer;
    transition: var(--hbd-transition);
}

.hbd-submit-order-btn:hover {
    background: #15803d;
}

/* ==========================================================================
   Mini Cart Drawer (Exact Match to Screenshot Design)
   Reference: media_1794911111802_ead26f9d.png
   ========================================================================== */
.hbd-cart-drawer {
    position: fixed !important;
    top: 0 !important;
    right: -450px !important;
    width: 380px !important;
    max-width: 90vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    box-shadow: -6px 0 30px rgba(0, 0, 0, 0.15) !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 24px 28px !important;
    box-sizing: border-box !important;
    transition: right 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
    overflow: hidden !important;
}

.hbd-cart-drawer.is-open {
    right: 0 !important;
}

.hbd-drawer-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(2px) !important;
    z-index: 99998 !important;
    display: none;
}

/* 1. Top Close Button (Bold Black X on Right) */
.hbd-cart-drawer-top {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-bottom: 24px !important;
    flex-shrink: 0 !important;
}

.hbd-cart-drawer-close {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    color: #000000 !important;
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.hbd-cart-drawer-close svg {
    display: block !important;
    stroke: #000000 !important;
    stroke-width: 2.8 !important;
}

.hbd-cart-drawer-close:hover {
    transform: scale(1.12) !important;
    opacity: 0.7 !important;
}

/* 2. Mini Cart AJAX Container */
.hbd-cart-drawer-items {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 4px !important;
    min-height: 0 !important;
}

.hbd-cart-drawer .widget_shopping_cart_content {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    flex: 1 1 auto !important;
}

/* Scrollbar styling */
.hbd-cart-drawer-items::-webkit-scrollbar,
.hbd-cart-drawer ul.cart_list::-webkit-scrollbar,
.hbd-cart-drawer ul.woocommerce-mini-cart::-webkit-scrollbar {
    width: 6px !important;
}

.hbd-cart-drawer-items::-webkit-scrollbar-thumb,
.hbd-cart-drawer ul.cart_list::-webkit-scrollbar-thumb,
.hbd-cart-drawer ul.woocommerce-mini-cart::-webkit-scrollbar-thumb {
    background: #bbb !important;
    border-radius: 4px !important;
}

/* 3. Product List / Items */
.woocommerce .hbd-cart-drawer ul.cart_list,
.woocommerce .hbd-cart-drawer ul.product_list_widget,
.hbd-cart-drawer ul.woocommerce-mini-cart {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.woocommerce .hbd-cart-drawer ul.cart_list li,
.woocommerce .hbd-cart-drawer ul.product_list_widget li,
.hbd-cart-drawer .woocommerce-mini-cart-item,
.hbd-cart-drawer .hbd-mini-cart-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding: 12px 0 !important;
    margin: 0 !important;
    border: none !important;
    position: relative !important;
    float: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

/* Left: Product Thumbnail */
.woocommerce .hbd-cart-drawer ul.cart_list li img,
.woocommerce .hbd-cart-drawer ul.product_list_widget li img,
.hbd-cart-drawer .hbd-mini-cart-thumb,
.hbd-cart-drawer .hbd-mini-cart-thumb img,
.hbd-cart-drawer .woocommerce-mini-cart-item img {
    float: none !important;
    margin: 0 !important;
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
    object-fit: contain !important;
    background: #ffffff !important;
    box-shadow: none !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.hbd-cart-drawer .hbd-mini-cart-thumb {
    width: 70px !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    flex-shrink: 0 !important;
}

/* Middle: Product Details (Title + Price & Quantity) */
.hbd-cart-drawer .hbd-mini-cart-details {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: left !important;
    padding: 0 4px !important;
}

.woocommerce .hbd-cart-drawer ul.cart_list li a:not(.remove),
.hbd-cart-drawer .hbd-mini-cart-title,
.hbd-cart-drawer .hbd-mini-cart-title a {
    display: block !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    line-height: 1.35 !important;
    margin: 0 0 5px 0 !important;
    text-decoration: none !important;
    word-break: break-word !important;
}

.woocommerce .hbd-cart-drawer ul.cart_list li a:not(.remove):hover,
.hbd-cart-drawer .hbd-mini-cart-title a:hover {
    color: #0f766e !important;
}

/* Quantity & Price in Copper-Brown (#0f766e) */
.hbd-cart-drawer .quantity,
.hbd-cart-drawer .hbd-mini-cart-qty-price,
.woocommerce .hbd-cart-drawer ul.cart_list li .quantity {
    display: block !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f766e !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hbd-cart-drawer .quantity .woocommerce-Price-amount,
.hbd-cart-drawer .hbd-mini-cart-qty-price .woocommerce-Price-amount,
.woocommerce .hbd-cart-drawer ul.cart_list li .quantity .woocommerce-Price-amount {
    color: #0f766e !important;
    font-weight: 700 !important;
}

/* Right: Circular Remove Button ⓧ */
.woocommerce .hbd-cart-drawer a.remove,
.hbd-cart-drawer a.hbd-remove-circle-btn,
.hbd-cart-drawer .remove_from_cart_button {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    border: 1.5px solid #222222 !important;
    color: #222222 !important;
    background: transparent !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin: 0 0 0 auto !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.woocommerce .hbd-cart-drawer a.remove svg,
.hbd-cart-drawer a.hbd-remove-circle-btn svg {
    display: block !important;
    color: #222222 !important;
}

.woocommerce .hbd-cart-drawer a.remove:hover,
.hbd-cart-drawer a.hbd-remove-circle-btn:hover {
    color: #ef4444 !important;
    border-color: #ef4444 !important;
    background: transparent !important;
    transform: scale(1.12) !important;
}

.woocommerce .hbd-cart-drawer a.remove:hover svg,
.hbd-cart-drawer a.hbd-remove-circle-btn:hover svg {
    color: #ef4444 !important;
}

/* 4. Dashed Divider Lines */
.hbd-cart-drawer .hbd-mini-cart-divider {
    border-top: 1px dashed #d1d5db !important;
    margin: 18px 0 !important;
    flex-shrink: 0 !important;
}

/* 5. Subtotal Section (Centered Bold Black: SUBTOTAL: 2,190৳) */
.woocommerce .hbd-cart-drawer .woocommerce-mini-cart__total,
.hbd-cart-drawer .hbd-mini-cart-subtotal-wrap {
    border: none !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #000000 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    flex-shrink: 0 !important;
}

.woocommerce .hbd-cart-drawer .woocommerce-mini-cart__total strong,
.hbd-cart-drawer .hbd-mini-cart-subtotal-label {
    font-weight: 900 !important;
    color: #000000 !important;
    font-size: 18px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.woocommerce .hbd-cart-drawer .woocommerce-mini-cart__total .woocommerce-Price-amount,
.hbd-cart-drawer .hbd-mini-cart-subtotal-amount,
.hbd-cart-drawer .hbd-mini-cart-subtotal-amount .woocommerce-Price-amount {
    font-weight: 900 !important;
    color: #000000 !important;
    font-size: 18px !important;
}

/* 6. Action Buttons (Stacked Vertically Matching Screenshot) */
.woocommerce .hbd-cart-drawer .woocommerce-mini-cart__buttons,
.hbd-cart-drawer .hbd-mini-cart-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    flex-shrink: 0 !important;
}

.woocommerce .hbd-cart-drawer .woocommerce-mini-cart__buttons a.button,
.hbd-cart-drawer .hbd-mini-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 16px !important;
    transition: all 0.25s ease !important;
}

/* Top Button: VIEW CART (White Background, Brown Border, Dark Bold Text) */
.woocommerce .hbd-cart-drawer .woocommerce-mini-cart__buttons a.button:not(.checkout),
.hbd-cart-drawer .hbd-mini-btn-view-cart {
    background: #ffffff !important;
    border: 1.5px solid #0f766e !important;
    color: #111111 !important;
}

.woocommerce .hbd-cart-drawer .woocommerce-mini-cart__buttons a.button:not(.checkout):hover,
.hbd-cart-drawer .hbd-mini-btn-view-cart:hover {
    background: #0f766e !important;
    color: #ffffff !important;
}

/* Bottom Button: CHECKOUT (Solid Black Background, White Bold Text) */
.woocommerce .hbd-cart-drawer .woocommerce-mini-cart__buttons a.button.checkout,
.hbd-cart-drawer .hbd-mini-btn-checkout {
    background: #000000 !important;
    border: 1.5px solid #000000 !important;
    color: #ffffff !important;
}

.woocommerce .hbd-cart-drawer .woocommerce-mini-cart__buttons a.button.checkout:hover,
.hbd-cart-drawer .hbd-mini-btn-checkout:hover {
    background: #262626 !important;
    border-color: #262626 !important;
    color: #ffffff !important;
}

/* Empty State */
.hbd-cart-drawer .hbd-mini-cart-empty {
    text-align: center !important;
    padding: 60px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}
