/* ==========================================================================
   Procure Logics - Modern Dynamic & Interactive Styles
   ========================================================================== */

/* --- Logo & Brand Styling --- */
.header__logo a,
.footer__logo a,
.site-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
}

.header__logo {
    max-width: 290px !important;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #11100d;
    line-height: 1.1;
    white-space: nowrap;
    display: inline-block;
}

.brand-name span {
    color: #ff6b00;
}

[data-theme="dark"] .brand-name {
    color: #f1f5f9;
}

[data-theme="dark"] .brand-name span {
    color: #ff8717;
}

.footer__logo .brand-name,
.footer-brand {
    color: #11100d !important;
    font-size: 22px !important;
    font-weight: 800 !important;
}

.footer__logo .brand-name span,
.footer-brand span {
    color: #ff6b00 !important;
}

[data-theme="dark"] .footer__logo .brand-name,
[data-theme="dark"] .footer-brand {
    color: #ffffff !important;
}

@media (max-width: 1199px) {
    .header__logo {
        max-width: 240px !important;
    }
    .brand-name {
        font-size: 19px;
    }
}

@media (max-width: 767px) {
    .header__logo {
        max-width: 210px !important;
    }
    .brand-name {
        font-size: 17px;
    }
}

@media (max-width: 420px) {
    .brand-name {
        font-size: 15px;
    }
}

/* --- Header Primary Navigation (Desktop: Home, About Us, Shop, Contact Us) --- */
.header-primary-nav {
    display: inline-flex;
    align-items: center;
    margin-left: 25px;
    margin-right: 25px;
}


.header__logo img,
.main-site-logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.header__logo img:hover,
.main-site-logo:hover {
    transform: scale(1.04);
}

.footer__logo img,
.footer-site-logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

/* Sticky Header Logo adjustment */
.header__wrap.uk-active .header__logo img {
    max-height: 40px;
}
.header__wrap.uk-active .header__logo {
    max-width: 260px !important;
}

/* --- Badge Pulse Animation --- */
@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.badge-pulse {
    animation: badgePulse 0.4s ease-in-out;
}

/* Wishlist Active State */
.wishlist-active i {
    color: #ff3366 !important;
    font-weight: 900 !important;
}

/* --- Toast Notification System --- */
#ahmed-toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.ahmed-toast {
    pointer-events: auto;
    min-width: 320px;
    max-width: 420px;
    background: #ffffff;
    color: #1a1a24;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .ahmed-toast {
    background: #1f222e;
    color: #f1f3f9;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ahmed-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.ahmed-toast__img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: #f4f5f8;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.ahmed-toast__body {
    flex-grow: 1;
}

.ahmed-toast__title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #10b981;
}

.ahmed-toast__msg {
    font-size: 13px;
    margin: 0;
    line-height: 1.35;
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ahmed-toast__action {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #ff6b00;
    text-decoration: underline;
}

.ahmed-toast__close {
    background: transparent;
    border: none;
    font-size: 16px;
    color: #8c90a4;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    align-self: flex-start;
}

.ahmed-toast__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #ff6b00;
    width: 100%;
    animation: toastProgress 3.5s linear forwards;
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* --- Cart Sidebar Drawer Enhancements --- */
.cart_sidebar {
    display: flex;
    flex-direction: column;
}

.cart_items_list {
    flex-grow: 1;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
    padding-right: 8px;
}

.cart_items_list::-webkit-scrollbar {
    width: 5px;
}

.cart_items_list::-webkit-scrollbar-thumb {
    background: #d4d7e2;
    border-radius: 4px;
}

.cart_sidebar .cart_empty_state {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.cart_sidebar .cart_empty_state i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 14px;
    display: block;
}

.cart_sidebar .cart_empty_state p {
    font-size: 15px;
    margin-bottom: 20px;
}

.cart_item .item_content .item_price {
    font-weight: 700;
    color: #ff6b00;
}

/* --- Quantity Buttons on Cart Page --- */
.qty-btn-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

[data-theme="dark"] .qty-btn-wrap {
    background: #1e2230;
    border-color: #333a4d;
}

.qty-btn {
    background: transparent;
    border: none;
    width: 32px;
    height: 38px;
    font-size: 14px;
    cursor: pointer;
    color: #475569;
    transition: background 0.15s;
}

.qty-btn:hover {
    background: #f1f5f9;
}

.qty-input {
    width: 45px;
    height: 38px;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: inherit;
    background: transparent;
}

/* --- Order Success Modal --- */
.ahmed-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 30, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ahmed-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.ahmed-modal-card {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .ahmed-modal-card {
    background: #1a1e2b;
    color: #f8fafc;
}

.ahmed-modal-backdrop.active .ahmed-modal-card {
    transform: scale(1);
}

.ahmed-modal__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #10b981;
    font-size: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.1);
}

.ahmed-modal__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ahmed-modal__order-id {
    display: inline-block;
    background: #f1f5f9;
    color: #0f172a;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .ahmed-modal__order-id {
    background: #2a3144;
    color: #e2e8f0;
}

.ahmed-modal__desc {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Coupon Alert */
.coupon-alert {
    padding: 10px 14px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
}

.coupon-alert.success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.coupon-alert.error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

/* Search Banner Result */
.search-results-banner {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #1e40af;
}

[data-theme="dark"] .search-results-banner {
    background: #1e293b;
    border-color: #3b82f6;
    color: #93c5fd;
}

/* --- Header Primary Navigation Links --- */
.header-nav-links {
    display: inline-flex !important;
    align-items: center !important;
    gap: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.header-nav-links li {
    display: inline-block !important;
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
}

.header-nav-links li::before {
    display: none !important;
}

.header-nav-links li a {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    text-transform: capitalize !important;
    padding: 6px 4px !important;
    display: inline-block !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.header-nav-links li:hover > a,
.header-nav-links li.active > a {
    color: #ff6b00 !important;
}

/* Mobile Off-canvas Navigation */
#mobile-menu-active {
    padding: 10px 0;
    margin: 0;
    list-style: none;
}

#mobile-menu-active li a {
    font-size: 16px;
    font-weight: 600;
    padding: 14px 20px;
    display: block;
    color: #11100d;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    text-decoration: none;
}

#mobile-menu-active li:hover > a,
#mobile-menu-active li.active > a {
    color: #ff6b00;
    background-color: #faf5f0;
    padding-left: 26px;
}

/* ==========================================================================
   Procure Logics - Legal & Policy Page Styles
   ========================================================================== */
.legal-page-section {
    padding: 70px 0 100px;
    background-color: #fbfbfb;
}

.legal-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 45px 50px;
}

@media (max-width: 767px) {
    .legal-card {
        padding: 25px 20px;
    }
}

.legal-header {
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 25px;
    margin-bottom: 35px;
}

.legal-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255, 107, 0, 0.1);
    color: #ff6b00;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.legal-title {
    font-size: 32px;
    font-weight: 800;
    color: #11100d;
    line-height: 1.25;
    margin-bottom: 10px;
}

.legal-meta {
    font-size: 14px;
    color: #666666;
}

.legal-toc {
    background: #fdfaf6;
    border: 1px solid #f2e3d3;
    border-left: 4px solid #ff6b00;
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 40px;
}

.legal-toc h4 {
    font-size: 17px;
    font-weight: 700;
    color: #11100d;
    margin-bottom: 14px;
}

.legal-toc ol {
    margin: 0;
    padding-left: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
}

.legal-toc li a {
    color: #3b424e;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.legal-toc li a:hover {
    color: #ff6b00;
    text-decoration: underline;
}

.legal-block {
    margin-bottom: 40px;
}

.legal-block h3 {
    font-size: 21px;
    font-weight: 700;
    color: #11100d;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-block h3 i {
    color: #ff6b00;
    font-size: 18px;
}

.legal-block p {
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 14px;
}

.legal-block ul {
    margin: 12px 0 18px 22px;
    padding: 0;
}

.legal-block ul li {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 9px;
    position: relative;
}

.legal-callout {
    background: #fff8f2;
    border-left: 4px solid #ff6b00;
    padding: 18px 22px;
    border-radius: 0 8px 8px 0;
    margin: 22px 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6d4013;
}

.legal-callout strong {
    color: #11100d;
}

.legal-contact-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 26px;
    margin-top: 35px;
}

.legal-contact-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: #11100d;
    margin-bottom: 12px;
}

.legal-contact-box p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #4b5563;
}

.legal-contact-box ul {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}

.legal-contact-box ul li {
    font-size: 14px;
    color: #475569;
    margin-bottom: 8px;
}

.legal-contact-box ul li i {
    width: 22px;
    color: #ff6b00;
    margin-right: 8px;
}


/* --- Clean Breadcrumb Styling --- */
.breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important;
    padding-right: 0.5rem;
    padding-left: 0.25rem;
    color: #8c8c8c !important;
}
.breadcrumb-item a {
    color: #ff6b00;
    text-decoration: none;
}
.breadcrumb-item a:hover {
    color: #e05e00;
    text-decoration: underline;
}
.breadcrumb-item.active {
    color: #555555;
}

/* Explicit site breadcrumb separators */
.site-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:16px;line-height:1.6;color:#706c6c;margin:0 0 12px;padding:0;list-style:none}
.site-breadcrumb a{color:#c54d00;text-decoration:none}
.site-breadcrumb a:hover{text-decoration:underline}
.site-breadcrumb__separator{color:#8c8c8c}
.site-breadcrumb::before,.site-breadcrumb::after,.site-breadcrumb > *::before,.site-breadcrumb > *::after{content:none!important;display:none!important}
@media(max-width:767px){.site-breadcrumb{font-size:14px;gap:8px}}
