/* ==========================================================
   Global Website Foundation
   PHP 8 Compatible
========================================================== */


/* ---------- Reset ---------- */

* {
    box-sizing: border-box;
}


html,
body {

    margin:0;
    padding:0;

    width:100%;
    min-height:100%;

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    color:#333;

    background:#fff;

}


img {

    max-width:100%;
    height:auto;

}


a {

    text-decoration:none;

}


a:hover {

    text-decoration:none;

}

:root {
    --theme-primary: #f0ad4e;
    --theme-primary-dark: #ec971f;
    --theme-primary-light: #fff3e0;
    --theme-primary-border: #f4d7b5;
}


/* ---------- Main Layout ---------- */


.website-wrapper {

    width:100%;

}


.main-content {

    width:100%;

    min-height:400px;

}


.container {

    max-width:1200px;

}



/* ---------- Sections ---------- */


.section {

    padding:40px 15px;

}


.section-title {

    font-size:28px;

    font-weight:600;

    margin-bottom:25px;

}



/* ---------- Buttons ---------- */


.btn {

    border-radius:4px;

}



/* ---------- Mobile ---------- */


@media(max-width:768px){


    .section {

        padding:25px 10px;

    }


    .section-title {

        font-size:22px;

    }


}

/* ==========================================================
   Header / Navbar
========================================================== */


.navbar-main {

    margin-bottom:0;

    border-radius:0;

}



.site-brand {

    display:flex !important;

    align-items:center;

    height:50px;

    padding:5px 15px !important;

    overflow:hidden;

}



.site-logo-small {

    max-height:40px;

    max-width:60px;

    width:auto;

    height:auto;

    object-fit:contain;

    margin-right:10px;

}



.site-company-name {

    font-size:18px;

    font-weight:600;

    color:#fff;

    white-space:nowrap;

}

@media (max-width: 768px) {

    .site-brand {

        display: flex !important;

        align-items: center;

        max-width: calc(100% - 65px);

        padding: 5px 10px !important;

        overflow: visible;

    }

    .site-brand-text {

        display: flex;

        align-items: center;

        min-width: 0;

        flex: 1;

    }

    .site-company-name {

        font-size: 16px;

        font-weight: 700;

        white-space: nowrap;

        line-height: 1;

    }

    .site-company-tagline {

        display: none;

    }

    .site-logo-small {

        max-height: 32px;

        max-width: 42px;

        margin-right: 8px;

    }

}

/* ==========================================================
   Footer
========================================================== */


.site-footer {

    background:#111;

    color:#ccc;

    padding:40px 20px 20px;

    margin-top:50px;

}



.footer-column {

    margin-bottom:25px;

}



.site-footer h4 {

    color:#fff;

    font-size:18px;

    margin-bottom:15px;

}



.site-footer ul {

    padding:0;

    margin:0;

    list-style:none;

}



.site-footer li {

    margin-bottom:8px;

}



.site-footer a {

    color:#bbb;

}



.site-footer a:hover {

    color:#fff;

}



.footer-bottom {

    border-top:1px solid #333;

    margin-top:25px;

    padding-top:20px;

    color:#999;

}



@media(max-width:768px){


.site-footer {

    text-align:center;

}


.footer-column {

    margin-bottom:30px;

}


}

.website-wrapper {

    width:100%;

}


.main-content {

    width:100%;

}

.container {

    max-width:1200px;

}

/* ==========================================================
   Global Layout Width
========================================================== */


.site-header,
.site-footer {

    width:100%;

}



.site-header .container,
.site-footer .container,
.main-content .container {

    width:100%;

    max-width:1200px;

    margin-left:auto;

    margin-right:auto;

}

/* ==========================================================
   INFORMATION PAGES
========================================================== */

.info-page{
    padding-top:10px;
    padding-bottom:40px;
}

.page-header-badge{
    display:inline-block;
    background:#fff3e0;
    color:#c77700;
    border:1px solid #f4d7b5;
    border-radius:999px;
    padding:8px 16px;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.4px;
    margin-bottom:15px;
}

.page-subtitle{
    max-width:720px;
    margin:0 auto;
    font-size:17px;
    line-height:1.7;
    color:#666;
}

.info-main-card,
.info-side-card{
    border-radius:18px;
    box-shadow:0 4px 18px rgba(0,0,0,.05);
}

.info-highlight-box{
    background:#fff8ef;
    border:1px solid #f4d7b5;
    border-radius:14px;
    padding:18px;
    margin-bottom:25px;
}

.info-highlight-box strong{
    display:block;
    margin-bottom:8px;
    color:#222;
}

.info-content{
    font-size:16px;
    line-height:1.8;
    color:#444;
}

.info-content h2,
.info-content h3{
    margin-top:30px;
    margin-bottom:12px;
    font-weight:700;
    color:#222;
}

.side-card-title{
    font-size:22px;
    font-weight:700;
    margin:0 0 20px;
    color:#222;
}

.info-check-list{
    list-style:none;
    padding:0;
    margin:0;
}

.info-check-list li{
    position:relative;
    padding-left:26px;
    margin-bottom:12px;
    line-height:1.6;
}

.info-check-list li:before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    color:#1f7a3f;
    font-weight:700;
}

@media (max-width: 767px){

    .page-subtitle{
        font-size:15px;
    }

    .info-highlight-box{
        padding:16px;
    }
}

/* ==========================================================
   ACCOUNT PAGES
========================================================== */

.account-page{
    padding-top:10px;
    padding-bottom:50px;
}

.account-page-row{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:24px 0;
}

.account-card,
.account-side-card{
    border-radius:18px;
    border:1px solid #e8e8e8;
    box-shadow:0 4px 18px rgba(0,0,0,.05);
}

.account-card-title{
    font-size:26px;
    font-weight:700;
    color:#222;
    margin:0 0 24px;
}

.account-form .form-group{
    margin-bottom:20px;
}

.account-form label{
    font-weight:600;
    color:#333;
    margin-bottom:8px;
    display:block;
}

.account-form .form-control{
    height:48px;
    border-radius:12px;
    border:1px solid #dcdcdc;
    box-shadow:none;
    padding:12px 14px;
    font-size:15px;
}

.account-form .form-control:focus{
    border-color:#f0ad4e;
    box-shadow:0 0 0 3px rgba(240,173,78,.15);
}

.account-checkbox{
    margin:4px 0 22px;
}

.account-checkbox label{
    font-weight:500;
    color:#555;
}

.account-submit-btn{
    height:48px;
    border-radius:12px;
    font-weight:700;
    font-size:16px;
}

.account-secondary-btn{
    margin-top:22px;
    border-radius:12px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
}

@media (max-width: 767px){

    .account-card-title{
        font-size:24px;
    }

    .account-page-row{
        gap:18px 0;
    }
}

/* ==========================================================
   INFORMATION PAGES
========================================================== */

.info-page{
    padding-top:10px;
    padding-bottom:40px;
}

.page-header-section{
    margin-bottom:35px;
}

.page-header-badge{
    display:inline-block;
    background:#fff3e0;
    color:#c77700;
    border:1px solid #f4d7b5;
    border-radius:999px;
    padding:8px 16px;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.4px;
    margin-bottom:15px;
}

.page-title{
    font-size:42px;
    font-weight:800;
    color:#222;
    margin:0 0 15px;
}

.page-subtitle{
    max-width:720px;
    margin:0 auto;
    font-size:17px;
    line-height:1.7;
    color:#666;
}

.info-main-card,
.info-side-card{
    border-radius:18px;
    border:1px solid #e8e8e8;
    box-shadow:0 4px 18px rgba(0,0,0,.05);
}

.info-highlight-box{
    display:flex;
    align-items:flex-start;
    gap:18px;
    background:#fff8ef;
    border:1px solid #f4d7b5;
    border-radius:16px;
    padding:22px;
    margin-bottom:28px;
}

.info-highlight-icon{
    font-size:32px;
    line-height:1;
}

.info-highlight-box h3{
    margin:0 0 8px;
    font-size:22px;
    font-weight:700;
    color:#222;
}

.info-highlight-box p{
    margin:0;
    color:#555;
    line-height:1.7;
}

.info-content{
    font-size:16px;
    line-height:1.8;
    color:#444;
}

.info-content h2,
.info-content h3{
    margin-top:32px;
    margin-bottom:14px;
    font-weight:700;
    color:#222;
}

.info-content h2{
    font-size:28px;
}

.info-content h3{
    font-size:22px;
}

.info-content ul{
    padding-left:20px;
}

.info-content li{
    margin-bottom:10px;
}

.info-feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
    gap:18px;
    margin-top:35px;
}

.info-feature-card{
    background:#fafafa;
    border:1px solid #ececec;
    border-radius:14px;
    padding:20px;
    height:100%;
}

.info-feature-icon{
    font-size:24px;
    margin-bottom:12px;
}

.info-feature-card h4{
    font-size:18px;
    font-weight:700;
    margin:0 0 10px;
    color:#222;
}

.info-feature-card p{
    margin:0;
    font-size:14px;
    line-height:1.7;
    color:#666;
}

.side-card-title{
    font-size:22px;
    font-weight:700;
    margin:0 0 20px;
    color:#222;
}

.info-check-list{
    list-style:none;
    padding:0;
    margin:0;
}

.info-check-list li{
    position:relative;
    padding-left:28px;
    margin-bottom:14px;
    line-height:1.6;
    color:#444;
}

.info-check-list li:before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    width:20px;
    height:20px;
    border-radius:50%;
    background:#e8f7ee;
    color:#1f7a3f;
    font-size:12px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
}

.side-divider{
    margin:24px 0;
    border-color:#eee;
}

.side-card-extra{
    font-size:15px;
    line-height:1.7;
    color:#555;
}

@media (max-width: 991px){

    .info-page-row{
        display:flex;
        flex-direction:column;
        gap:22px;
    }
}

@media (max-width: 767px){

    .page-title{
        font-size:32px;
    }

    .page-subtitle{
        font-size:15px;
    }

    .info-highlight-box{
        flex-direction:column;
        gap:14px;
        padding:18px;
    }

    .info-feature-grid{
        grid-template-columns:1fr;
    }
}

/* Register page extras */

.account-divider{
    margin:28px 0 22px;
    border-color:#eee;
}

.strength-meter{
    width:100%;
    height:8px;
    background:#ececec;
    border-radius:999px;
    overflow:hidden;
    margin-top:10px;
}

.strength-bar{
    height:100%;
    width:0;
    transition:width .25s ease;
}

.strength-weak{
    background:#d9534f;
}

.strength-medium{
    background:#f0ad4e;
}

.strength-strong{
    background:#28a745;
}

.validation-text{
    margin-top:8px;
    font-size:13px;
    color:#666;
}

.validation-text.valid{
    color:#1f7a3f;
    font-weight:600;
}

.validation-text.invalid{
    color:#c9302c;
    font-weight:600;
}

/* ==========================================================
   PROFILE PAGE
========================================================== */

.profile-page .account-page-row{
    align-items:flex-start;
}

.profile-card{
    height:100%;
}

.profile-summary{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.profile-summary-item{
    padding-bottom:14px;
    border-bottom:1px solid #f0f0f0;
}

.profile-summary-item:last-child{
    border-bottom:none;
    padding-bottom:0;
}

.profile-summary-label{
    display:block;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.4px;
    color:#777;
    margin-bottom:6px;
}

.profile-summary-value{
    display:block;
    font-size:15px;
    line-height:1.6;
    color:#222;
    word-break:break-word;
}

.profile-summary-value a{
    color:var(--theme-primary-dark);
    font-weight:600;
}

.account-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:28px;
}

.account-action-btn{
    border-radius:10px;
    min-height:42px;
    padding:10px 18px;
    font-weight:600;
}

.profile-empty-state{
    text-align:center;
    padding:28px 20px;
    border:1px dashed #e0e0e0;
    border-radius:14px;
    background:#fafafa;
}

.profile-empty-icon{
    font-size:42px;
    margin-bottom:12px;
}

.profile-empty-state h4{
    margin:0 0 10px;
    font-size:18px;
    font-weight:700;
    color:#222;
}

.profile-empty-state p{
    margin:0;
    color:#666;
    line-height:1.7;
}

@media (max-width: 767px){

    .account-actions{
        flex-direction:column;
    }

    .account-action-btn{
        width:100%;
    }
}

/* ==========================================================
   ACCOUNT NAVIGATION
========================================================== */

.account-nav-wrapper{
    margin:0 0 28px;
}

.account-nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
}

.account-nav-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:12px 18px;
    min-height:46px;
    border:1px solid #e2e2e2;
    border-radius:12px;
    background:#fff;
    color:#444;
    font-weight:600;
    text-decoration:none !important;
    box-shadow:0 2px 8px rgba(0,0,0,.04);
    transition:all .2s ease;
}

.account-nav-link:hover{
    border-color:var(--theme-primary);
    color:var(--theme-primary-dark);
    transform:translateY(-1px);
    box-shadow:0 4px 14px rgba(0,0,0,.08);
}

.account-nav-link.active{
    background:var(--theme-primary);
    border-color:var(--theme-primary);
    color:#fff;
    box-shadow:0 4px 14px rgba(240,173,78,.25);
}

@media (max-width: 767px){

    .account-nav{
        justify-content:space-between;
        gap:8px;
    }

    .account-nav-link{
        flex:1 1 0;
        min-width:0;
        padding:10px 8px;
        font-size:13px;
        text-align:center;
    }
}

/* ==========================================================
   ORDER DETAILS PAGE
========================================================== */

.order-product-layout{
    display:flex;
    gap:24px;
    align-items:flex-start;
}

.order-product-image{
    width:180px;
    flex-shrink:0;
}

.order-product-image img{
    width:100%;
    border-radius:14px;
    border:1px solid #e5e5e5;
    display:block;
}

.order-product-info{
    flex:1;
}

.order-product-title{
    margin:0 0 18px;
    font-size:22px;
    font-weight:700;
}

.order-product-title a{
    color:#222;
    text-decoration:none;
}

.order-product-title a:hover{
    color:var(--theme-primary-dark);
}

.order-specs-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
    gap:16px;
}

.order-spec-item{
    padding:14px 16px;
    border:1px solid #f0f0f0;
    border-radius:12px;
    background:#fafafa;
}

.order-status-item{
    grid-column:1 / -1;
}

.order-spec-label{
    display:block;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;
    color:#777;
    margin-bottom:8px;
}

.order-spec-value{
    display:block;
    font-size:15px;
    font-weight:600;
    color:#222;
    line-height:1.5;
}

.order-price-value{
    color:var(--theme-primary-dark);
    font-size:18px;
}

.order-status-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 12px;
    border-radius:999px;
    background:var(--theme-primary-light);
    border:1px solid var(--theme-primary-border);
    color:var(--theme-primary-dark);
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.4px;
}


/* ==========================================================
   PENDING VERIFICATION INFORMATION
========================================================== */

.order-status-info{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;

    margin-left:7px;

    width:21px;
    height:21px;

    cursor:pointer;
    vertical-align:middle;

    outline:none;
}

.order-status-info-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:21px;
    height:21px;

    color:#337ab7;

    font-size:17px;
    font-weight:600;
    line-height:1;

    transition:
        color .2s ease,
        transform .2s ease;
}

.order-status-info:hover .order-status-info-icon,
.order-status-info:focus .order-status-info-icon,
.order-status-info.is-open .order-status-info-icon{
    color:#23527c;
    transform:scale(1.08);
}


/* ==========================================================
   STATUS INFORMATION POPUP
========================================================== */

.order-status-tooltip{
    display:none;

    position:absolute;
    z-index:1000;

    width:350px;

    left:50%;
    top:calc(100% + 11px);

    transform:translateX(-50%);

    padding:16px 18px;

    background:#fff;
    color:#333;

    border:1px solid #ddd;
    border-radius:10px;

    box-shadow:0 8px 25px rgba(0,0,0,.15);

    font-size:13px;
    font-weight:400;
    line-height:1.55;

    text-align:left;
}


/* Popup arrow */

.order-status-tooltip::before{
    content:"";

    position:absolute;

    top:-7px;
    left:50%;

    width:13px;
    height:13px;

    background:#fff;

    border-left:1px solid #ddd;
    border-top:1px solid #ddd;

    transform:translateX(-50%) rotate(45deg);
}


/* Show popup on hover, focus, or tap */

.order-status-info:hover .order-status-tooltip,
.order-status-info:focus .order-status-tooltip,
.order-status-info.is-open .order-status-tooltip{
    display:block;
}


/* ==========================================================
   ORDER DIVIDER
========================================================== */

.order-divider{
    margin:28px 0 20px;
    border-color:#eee;
}


/* ==========================================================
   ORDER ACTIONS
========================================================== */

.order-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px){

    .order-product-layout{
        flex-direction:column;
    }

    .order-product-image{
        width:100%;
        max-width:260px;
        margin:0 auto;
    }

    .order-product-title{
        text-align:center;
        font-size:20px;
    }

    .order-specs-grid{
        grid-template-columns:1fr;
    }

    .order-actions{
        flex-direction:column;
    }

    .order-actions .account-action-btn{
        width:100%;
    }


    /* ------------------------------------------------------
       Pending verification popup on phones
    ------------------------------------------------------ */

    .order-status-info{
        margin-left:6px;
    }

    .order-status-tooltip{

        position:fixed;

        left:50%;
        top:50%;

        transform:translate(-50%, -50%);

        width:calc(100vw - 40px);
        max-width:370px;

        padding:18px 19px;

        font-size:14px;
        line-height:1.6;

        border-radius:10px;

        box-shadow:0 10px 30px rgba(0,0,0,.22);
    }

    .order-status-tooltip::before{
        display:none;
    }

}

/* ==========================================================
   TRACK ORDER PAGE
========================================================== */

.track-card{
    max-width:820px;
    margin:0 auto;
}

.track-helper-text{
    color:#666;
    margin:-8px 0 24px;
}

.track-textarea{
    min-height:110px;
    resize:vertical;
}

.track-checkbox{
    margin-top:10px;
}

.track-checkbox a{
    color:var(--theme-primary-dark);
    font-weight:600;
}

.track-notice-box{
    margin-top:26px;
    padding:16px 18px;
    border:1px solid #ececec;
    border-radius:12px;
    background:#fafafa;
    color:#666;
    font-size:13px;
    line-height:1.7;
}

.track-alert{
    border-radius:12px;
    padding:16px 18px;
    margin-bottom:22px;
}

.track-result-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

.track-result-label{
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;
    color:#777;
    margin-bottom:6px;
}

.track-result-number{
    font-size:24px;
    font-weight:800;
    color:#222;
}

.track-result-content{
    color:#333;
    line-height:1.8;
}

.track-result-content h3,
.track-result-content h4,
.track-result-content h5{
    margin-top:24px;
    color:#222;
}

.track-result-content ul{
    padding-left:20px;
}

@media (max-width: 767px){

    .track-result-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .track-result-number{
        font-size:20px;
    }
}

@media (max-width: 767px) {

    .order-card {
        padding: 22px 18px;
    }

    .order-card-title {
        font-size: 2rem;
    }
}

.verified-review {
    font-weight: 600;
    color: #333;
}

.verified-icon {
    color: #28a745; /* green */
    margin-right: 4px;
}

.review-stars {
    color: #f4b400; /* yellow / gold */
    font-size: 1.6rem;
    letter-spacing: 1px;
}

/* ==========================================================
   Mobile Navbar - Light Background
   ========================================================== */

@media (max-width: 768px) {

    .navbar-main {
        background-color: #f5f5f5 !important;
        border-color: #ddd !important;
    }

    .navbar-main .navbar-toggle {
        border-color: #999 !important;
    }

    .navbar-main .navbar-toggle .icon-bar {
        background-color: #333 !important;
    }

    .navbar-main .navbar-nav > li > a {
        color: #333 !important;
    }

}