@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --arrow-size: 46px;
    --arrow-color: #006cff;
    --arrow-bg: #fff;
    --gap: 24px;
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
    scroll-behavior: smooth;
}

button, a, span {
    display: inline-block;
}

a {
    color: #333;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-detail {
    width: 130px;
    height: 32px;
    line-height: 32px;
    color: #fff;
    background-color: #054086;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #054086;
    transition: .25s ease-in-out;
    text-align: center;
}

.btn-detail:hover {
    color: #054086;
    background-color: #fff;
}

.btn-dark {
    height: 32px;
    line-height: 32px;
    color: #fff;
    background-color: #0c0c0c;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    padding: 0px 20px;
}

.btn-icon-search {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    transition: .25s ease-in-out;
}

.btn-icon-search i {
    font-size: 14px;
}

.btn-icon-search:hover {
    color: #fff;
    background-color: #fbbf22;
}

.toast {
    background-color: #f56565;
    color: white;
    padding: 8px 16px;
    margin-bottom: 12px;
    margin-top: 12px;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-size: 15px;
    animation: fadeInOut 3s forwards;
}
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-10px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}
.toast-message.error {
    background-color: #e53e3e;
}

.toast-message.success {
    background-color: #48bb78;
}

.toast-message.info {
    background-color: #4299e1;
}

.toast-message.warning {
    background-color: #ed8936;
}

.container {
    /* max-width: 1320px; */
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
}

.container-fluid {
    width: 100%;
}

#toast-container {
    position: fixed; 
    top: 120px; 
    right: 60px; 
    z-index: 11111;
}

.f12 {
    font-size: 12px;
}

.f13 {
    font-size: 13px;
}

.f14 {
    font-size: 14px;
}

.f15 {
    font-size: 15px;
}

.f16 {
    font-size: 16px;
}

.f17 {
    font-size: 17px;
}

.f18 {
    font-size: 18px;
}

.f28 {
    font-size: 28px;
}

.p12 {
    padding: 12px 24px;
}

.p3 {
    padding: 24px;
}

.mb1 {
    margin-bottom: 8px;
}

.mb2 {
    margin-bottom: 16px;
}

.mb3 {
    margin-bottom: 24px;
}

.mb4 {
    margin-bottom: 32px;
}

.mb5 {
    margin-bottom: 40px;
}

.fw4 {
    font-weight: 400;
}

.fw5 {
    font-weight: 500;
}

.fw6 {
    font-weight: 600;
}

.fw7 {
    font-weight: 700;
}

.c-primary {
    color: #054086;
}

.c-dark {
    color: #0c0c0c;
}

.c-warning {
    color: #fbbf22;
}

.text-center {
    text-align: center;
}

.text-upper {
    text-transform: uppercase;
}

.hover-effect i,
.hover-effect {
    transition: .25s ease-in-out;
}

.hover-effect:hover,
.hover-effect:hover i {
    color: #fbbf22;
}

.app-content {
    
}

.tab-title {
    margin-bottom: 24px;
}

.tab-title h2 {
    margin: 0;
    border-bottom: 1px solid #ddd;
    color: #222;
    transition: .25s ease-in-out;
}

.tab-title h2:hover {
    color: #fbbf22;
}

.tab-title h2 span {
    padding: 10px 0;
    border-bottom: 3px solid #054086;
}

.product-section {
    gap: 16px;
    padding: 40px 0 10px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.product-img-banner {
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
}

.product-img-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: .25s ease-in-out;
}

.product-img-banner img:hover {
    transform: scale(1.05);
}

.product-category {
    flex: 1;
    width: 300px;
    padding: 0 16px;
}

.product-wrapper {
    flex: 3;
}

.product-category h2.category-title {
    background-color: #054086;
    color: #fff;
    padding: 0 20px;
    font-size: 14px;
    line-height: 45px;
    font-weight: 400;
}

ul.categories {
    list-style: none;
    border: 1px solid #ddd;
    border-top: none;
    background-color: #fff;
    margin-bottom: 40px;
}

ul.categories li.category-item a.category-link {
    font-size: 13px;
    text-transform: uppercase;
    color: #0c0c0c;
    padding: 15px 25px 15px 10px;
    border-bottom: 1px solid #ddd;
    transition: .25s ease-in-out;
    font-weight: 500;
    width: 100%;
}

ul.categories li.category-item a.category-link:hover {
    color: #fbbf22;
}

ul.categories li.category-item a.category-link i {
    font-size: 12px;
    margin-right: 6px;
}

.carousel-header {
    background-color: #054086;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.carousel-header .nav-buttons {
    margin-right: 12px;
}

.carousel-header .nav-buttons button {
    padding: 6px;
    border-radius: 3px;
    border: 1px solid #fff;
    font-size: 14px;
    background-color: #054086;
    color: #fff;
}

.carousel-header .nav-buttons button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.product-carousel {
    width: 280px;
    overflow: hidden;
    margin-bottom: 40px;
}

.carousel-content {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
    border-top: none;
    border-bottom: none;
    background-color: #fff;
    display: flex;
    transition: .25s ease-in-out;
    width: 560px;
}

.carousel-content.next {
    transform: translateX(-280px);
}

.carousel-content.prev {
    transform: translateX(0);
}

.carousel-item {
    width: 280px;
}

.carousel-link {
    display: flex;
    border-bottom: 1px solid #ddd;
    padding: 15px;
    gap: 12px;
    transition: .25s ease-in-out;
}

.carousel-link:hover {
    color: #fbbf22;
}

.carousel-link .c-img {
    width: 70px;
}

.carousel-link .c-img img {
    width: 70px;
    object-fit: cover;
}

.carousel-link .c-info {
    padding-right: 12px;
}

.carousel-link .c-info h3 {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.carousel-link .c-info span {
    font-size: 13px;
    color: #ed1c24;
    font-weight: 500;
    margin-bottom: 12px;
}

.aside-img {
    width: 280px;
    overflow: hidden;
}

.aside-img img {
    width: 280px;
    height: 280px;
    transition: .25s ease-in-out;
}

.aside-img img:hover {
    transform: scale(1.05);
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.product-list .card {
    width: 210px;
}

.card {
    display: block;
    background-color: #fff;
    width: 100%;
    margin-bottom: 30px;
    padding: 12px;
    /* box-shadow: 0 0 6px rgba(0, 0, 0, 0.05); */
    border: 1px solid #eee;
}

.product-flash-sale {
    padding: 80px 0 130px;
}

.product-flash-sale h2 {
    font-size: 22px;
    color: #054086;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
}

.product-flash-sale .card {
    border: none;
}

.card .card-thumb {
    width: 100%;
}

.card .card-thumb img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card .card-img {
    width: 100%;
    padding: 15px 0;
}

.card .card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    aspect-ratio: 1/1;
    
}

.card .card-body {
    min-height: 99px;   
}

.card .card-body2 {
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.card .card-body2 .card-title {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 6px;
}

.card .meta-card {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: .8rem;
    color: #777;
}

.card .card-p {
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0 0 12px;
    flex: 1;
}

.card .card-link {
    align-self: flex-start;
    font-size: 0.85rem;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: .1s ease-in-out;
}

.card .card-link:hover {
    text-decoration: underline;
}

.slideBtn {
    background-color: transparent;
    width: 40px;
    height: 40px;
    font-size: 16px;
    border-radius: 50%;
    border: 1px solid transparent;
    color: #fbbf22;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: .25s ease-in-out;
}

.slideBtn i {
    font-size: 21px;
}

.slideBtn:hover {
    opacity: 1;
    border-color: #fbbf22;
}

.prevBtn {
    left: 20px;
}

.nextBtn {
    right: 20px;
}

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.slider.mw {
    max-width: 1170px;
    padding: 0 calc(var(--arrow-size) + 14px);
}

.slider-track {
    display: flex;
    gap: var(--gap);
    will-change: transform;
}

.slider .slide {
    flex: 0 0 auto;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    user-select: none;
}

.slider.mw .slide {
    border-radius: var(--radius);
}

.slider .slide img {
    display: block;
    width: 100%;
    height: auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    width: var(--arrow-size);
    height: var(--arrow-size);
    border-radius: 50%;
    border: 2px solid var(--arrow-color);
    color: var(--arrow-color);
    background-color: var(--arrow-bg);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 5;
    transition: .25s ease-in-out;
}

.slider-btn:hover {
    background-color: var(--arrow-color);
    color: #fff;
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #c4c4c4;
    cursor: pointer;
}

.slider-dot.active {
    background-color: var(--arrow-color);
}

.product-section2,
.blog-wrapper {
    width: 100%;
    margin: auto;
    padding: 24px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.product-section2 .card,
.blog-wrapper .card {
    max-width: 360px;
}

.product-section2 .card {
    border: none;
}

.prod-item {
    display: flex;
    gap: 15px;
    margin-bottom: 24px;
}

.prod-item .prod-img {
    width: 100px;
}

.prod-item .prod-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.prod-item .prod-content {
    width: calc(100% - 115px);
}

.prod-item .prod-content .prod-name {
    font-size: 14px;
    color: #0c0c0c;
    margin-bottom: 6px;
    font-weight: 500;
}

.prod-item .prod-content p {
    color: #ec1d24;
    margin-bottom: 6px;
    font-size: 14px;
}

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

.breadcrumb {
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: #000;
    font-size: 13px;
    padding-right: 8px;
    font-weight: 500;
    transition: .25s ease-in-out;
}

.breadcrumb a.current,
.breadcrumb a:hover {
    color: #fbbf22;
}

.breadcrumb a:not(:last-child) {
    border-right: 1px solid #222;
}

.breadcrumb a:not(:first-child) {
    padding-left: 8px;
}

.contact-info .logo,
.search-form-wrapper .logo,
.mid-footer-container .logo {
    height: 80px;
    width: auto;
}

.contact-info .logo {
    margin-bottom: 16px;
}

.contact-info .logo img,
.search-form-wrapper .logo img,
.mid-footer-container .logo img {
    height: 100%;
    width: auto;
    object-fit: cover;
    border-radius: 4px;
    overflow: hidden;
}

.contact-section {
    display: flex;
    padding: 30px 20px;
    gap: 24px;
}

.contact-section .contact-form {
    flex: 3;
}

.contact-section .contact-form h2 {
    font-size: 18px;
    padding: 10px 0;
    color: #0c0c0c;
    text-transform: uppercase;
}

.contact-section .contact-info {
    flex: 2;
}

.auth-form {
    padding-bottom: 24px;
}

.form-address .btn-dark {
    margin-left: 8px;
}

.address-list .btn-dark {
    margin-left: 8px;
}

.form-group {
    display: flex;
    gap: 24px;
    padding-bottom: 24px;
}

.form-group .form-group-item {
    flex: 1;
} 

.form-control {
    font-size: 14px;
    padding: 0 20px;
    height: 40px;
    color: #636363;
    border: 1px solid #eaebf3;
    display: block;
    outline-color: #eee;
}

.form-label {
    display: block;
    margin-bottom: 12px;
    color: #0c0c0c;
}

.form-textarea {
    display: block;
    resize: none;
    padding: 12px 20px;
    color: #636363;
    border: 1px solid #eaebf3;
    outline-color: #eee;
    font-size: 14px;
}

.w100 {
    width: 100%;
}

.acc-wrap {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.table-wrap {
    width: 100%;
}

.table-wrap .table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}

.table thead th {
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
}

.table tbody td{
    padding:16px;
    border-bottom:1px solid #e5e7eb;
    vertical-align:top;
    color:#111827;
    word-wrap:break-word;
}

.table tbody tr:last-child td{
    border-bottom:none;
}

.empty{
    color:#6b7280;
    font-size:14px;
    padding:18px 16px;
}

ul.address-list {
    list-style: none;
}

ul.address-list li {
    display: block;
    padding: 20px 0;
    border-top: 1px solid #ddd;
}

ul.address-list li p {
    font-size: 14px;
    margin-bottom: 12px;
}

.alert {
    --alert-radius: 12px;
    --alert-border: 1px;
    --alert-shadow: 0 6px 18px rgba(0,0,0,.06);
    --alert-padding-y: 12px;
    --alert-padding-x: 14px;
  
    border-radius: var(--alert-radius);
    border-width: var(--alert-border);
    padding: var(--alert-padding-y) var(--alert-padding-x);
    box-shadow: var(--alert-shadow);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.alert::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    opacity: .9;
}

.alert .btn-close {
    box-shadow: none !important;
    opacity: .6;
    transition: opacity .15s ease;
}
.alert .btn-close:hover { opacity: 1; }

.alert a {
    text-decoration: underline;
    font-weight: 600;
}

.alert:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.alert-success {
    background: #f0fdf4;
    border-color: #86efac;
    color: #14532d;
}
.alert-success::before { background: #22c55e; }
  
.alert-info {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e3a8a;
}
.alert-info::before { background: #3b82f6; }
  
.alert-warning {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #78350f;
}
.alert-warning::before { background: #f59e0b; }
 
.alert-danger, .alert-error, .alert-danger.alert-dismissible {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #7f1d1d;
}
.alert-danger::before { background: #ef4444; }

.alert.alert-compact {
    --alert-radius: 10px;
    --alert-padding-y: 8px;
    --alert-padding-x: 12px;
    font-size: .95rem;
}

.alert.fade.show {
    animation: alert-in .2s ease-out;
}
@keyframes alert-in {
    from { transform: translateY(-4px); opacity: .6; }
    to   { transform: translateY(0); opacity: 1; }
}

@media (prefers-color-scheme: dark) {
    .alert {
      --alert-shadow: 0 6px 18px rgba(0,0,0,.3);
    }
    .alert-success { background:#052e1a; border-color:#14532d; color:#d1fae5; }
    .alert-info    { background:#0b244a; border-color:#1d4ed8; color:#dbeafe; }
    .alert-warning { background:#3a2a06; border-color:#a16207; color:#fde68a; }
    .alert-danger  { background:#3a0a0a; border-color:#b91c1c; color:#fee2e2; }
}

@media (prefers-reduced-motion: reduce) {
    .alert, .alert.fade.show { transition: none; animation: none; }
}

.d-none {
    display: none;
}

.d-inline-block {
    display: inline-block;
}

.address-bar {
    display: flex;justify-content: space-between;flex-direction: row-reverse;margin-bottom: 16px;
}

.card-product {
    position: relative;
}

.card-product .card-overlay {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.35);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.card-overlay a {
    flex: 1;
}

.card-overlay button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
} 

.card-overlay button i {
    font-size: 20px;
}

@media (min-width: 768px) {
    
}

@media (max-width: 768px) {
    :root {
        --gap: 12px;
        --arrow-size: 36px;
    }

    .form-group {
        flex-direction: column;
        gap: 8px;
    }

    .acc-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    #toast-container {
        right: 40px;
    }

    .card .card-thumb img {
        height: 160px;
    }

    .address-bar {
        flex-direction: column;
        gap: 8px;
    }

    .product-section {
        flex-direction: column;
    }

    .container-fluid {
        padding: 0 4px;
    }
}
