/* homepage & misc */    
    body {
        width: 100%;
        height: 100%;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    h1, h2, h3, h4, h5, h6 {
        color: #444;
    }

    legend {
        padding: 7px 0;
        margin-bottom: 20px;
        border-bottom: 1px solid #e5e5e5;
    }

    label {
        font-size: 12px;
        font-weight: normal;
    }

    /* Chrome border line */
    button:focus {
        outline: none !important;
    }

    .grid-gap-10{
        display: grid;
        gap: 10px; 
    }

    .gap-20{
        display: grid;
        gap: 20px;
    }

    .gap-30{
        display: grid;
        gap: 30px;
    }

    /* container */
    #container {
        width: 100%;
        position: absolute;
        display: flex;
        flex-direction: column;
        flex: 1; /* stretch to fill body */
        min-height: 100vh;
    }

    #alert {
        z-index: 9999;
        position: fixed;
        top: 30%;
        left: 50%;
        width: 400px;
        margin-left: -200px;
    }

    @media (min-width: 992px) {
        #alert {
            width: 600px;
            margin-left: -300px;
        }
    }

    @media (min-width: 1140px) {
        #alert {
            width: 600px;
            margin-left: -300px;
        }
    }

    @media (min-width: 1320px) {
        #alert {
            width: 600px;
            margin-left: -300px;
        }
    }

    #alert .alert {
        margin-bottom: 15px;
    }

    #alert .alert-primary {
        box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
    }

    #alert .alert-secondary {
        box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
    }

    #alert .alert-success {
        box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
    }

    #alert .alert-warning {
        box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
    }

    #alert .alert-danger {
        box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
    }

    #alert .alert-info {
        box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
    }

    #alert .alert-light {
        box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
    }

    #alert .alert-dark {
        box-shadow: 0 0 0 5px rgb(var(--bs-dark-rgb), 0.1);
    }
    /* top */
    #top {
      background-color: var(--bs-tertiary-bg);
      border-bottom: 1px solid var(--bs-border-color);
      margin-bottom: 20px;
      position: relative;
      padding-bottom: 5px;
    }
    #top ul.list-inline {
      margin-bottom: 0;
    }
    #top .list-inline-item > a, #top .list-inline-item .dropdown > a {
      font-size: 1.1em;
      color: var(--bs-gray-600);
      line-height: 40px;
      vertical-align: middle;
      padding: 10px 0px 5px 0px;
    }
    /* logo */
    #logo {
      text-align: center;
      margin: 7px 0 7px 0;
    }
    #logo img {
      max-width: 200px;
    }
    @media (min-width: 768px) {
      #logo {
        text-align: left;
      }
    }
    /* search */
    #search {
      margin-bottom: 10px;
    }
    #search .form-control-lg {
      height: 40px;
      font-size: 12px;
      line-height: 20px;
      padding: 0 10px;
    }
    #search .btn-lg {
      font-size: 15px;
      line-height: 18px;
      padding: 0.57rem 35px;
      text-shadow: 0 1px 0 #FFF;
    }
    /* cart */
    #cart {
      margin-bottom: 10px;
    }
    #cart .img-thumbnail {
      min-width: 100px;
    }
    #cart .btn-lg {
      font-size: 15px;
      line-height: 18px;
      padding: 14px 35px;
    }
    #cart .dropdown-menu {
      background: #eee;
    }
    #cart .dropdown-menu li {
      min-width: 300px;
    }
    @media (max-width: 768px) {
      #cart .dropdown-menu li {
        min-width: 100%;
      }
    }
    /* menu */
    #menu {
      background-color: #229ac8;
      background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
      background-repeat: repeat-x;
      border: 1px solid #1f90bb;
      border-color: #1f90bb #1f90bb #145e7a;
      min-height: 40px;
      border-radius: 4px;
      padding: 0 1rem;
      margin-bottom: 20px;
    }

    #menu .navbar-nav > li > a {
      color: #fff;
      text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
      padding: 10px 15px 10px 15px;
      background-color: transparent;
    }

    #menu .navbar-nav > li > a:hover {
      background-color: rgba(0, 0, 0, 0.1);
    }

    #menu .dropdown-menu {
      border-top-left-radius: 0;
      border-top-right-radius: 0;
    }

    #menu .dropdown-inner {
      display: flex;
      flex-direction: column;
    }

    #menu .dropdown-inner ul {
      width: 100%;
      min-width: 200px;
    }

    @media (min-width: 960px) {
      #menu .dropdown:hover .dropdown-menu {
        display: block;
      }
      #menu .dropdown-inner {
        flex-direction: row;
      }
      #menu .nav-item + .nav-item + .nav-item .dropdown-column-3 {
        left: -200px;
      }
      #menu .nav-item + .nav-item + .nav-item .dropdown-column-4 {
        left: -400px;
      }
      #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-2 {
        left: -200px;
      }
      #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-3 {
        left: -400px;
      }
      #menu .nav-item + .nav-item + .nav-item + .nav-item .dropdown-column-4 {
        left: -600px;
      }
    }

    #category {
      float: left;
      font-size: 16px;
      font-weight: 700;
      line-height: 40px;
      color: #fff;
      text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    }

    #menu .navbar-toggler i {
      color: #fff;
      border-color: #fff;
      font-size: 0.9em;
    }

    /* default boostrap changes */
    div.required .col-form-label:before, div.required .form-label:before {
      content: "* ";
      color: #F00;
      font-weight: bold;
    }

    .form-switch-lg {
      font-size: 20px;
      min-height: 30px;
      line-height: 30px;
    }

    .nav-tabs {
      margin-bottom: 15px;
    }

    .form-check .form-check-input {
      margin-top: 0.25rem;
    }

    @media (min-width: 768px) {
      .col-form-label {
        text-align: right;
      }
    }

    /* footer */
    footer {
      width: 100%;
      padding-top: 30px;
      background-color: #303030;
      border-top: 1px solid #ddd;
      color: #e2e2e2;
      margin-top: auto;
    }

    footer hr {
      border-top: none;
      border-bottom: 1px solid #666;
    }

    footer a {
      color: #ccc;
      text-decoration: none;
    }

    footer a:hover {
      color: #fff;
    }

    footer h5 {
      font-family: "Open Sans", sans-serif;
      font-size: 13px;
      font-weight: bold;
      color: #fff;
      margin-top: 10px;
      margin-bottom: 10px;
    }
    /* breadcrumb */
    .breadcrumb {
      margin: 0 0 20px 0;
      padding: 8px 0;
      border: 1px solid var(--bs-border-color);
      border-radius: var(--bs-border-radius);
      background-color: var(--bs-tertiary-bg);
    }

    .breadcrumb i {
      font-size: 15px;
    }

    .breadcrumb > li.breadcrumb-item {
      text-shadow: 0 1px 0 #FFF;
      padding: 0 20px;
      position: relative;
      white-space: nowrap;
    }

    .breadcrumb > li.breadcrumb-item > a {
      text-decoration: none;
    }

    .breadcrumb > li.breadcrumb-item:after {
      content: "";
      display: block;
      position: absolute;
      top: -3px;
      right: -5px;
      width: 29px;
      height: 29px;
      border-right: 1px solid var(--bs-border-color);
      border-bottom: 1px solid var(--bs-border-color);
      transform: rotate(-45deg);
    }

    .breadcrumb > li.breadcrumb-item + li:before {
        content: "";
        padding: 0;
    }

    .product-thumb {
        border: 1px solid #E3E5E5;
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .product-thumb .image {
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .product-thumb .image a:hover {
        opacity: 0.8;
    }

    .product-thumb .description {
        padding: 15px;
        color: #303437;
        font-size: 16px;
        line-height: 24px;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .product-thumb .description .thumb-product-name {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        min-height: calc(2 * 24px);
    }

    .product-thumb .description .price {
        margin-top: auto;
    }

    .product-thumb .button {
      display: flex;
      position: absolute;
      width: 100%;
      bottom: 0;
    }
    .product-thumb .button button {
      width: 33.33%;
      border: none;
      border-top: 1px solid var(--bs-border-color);
      background-color: var(--bs-tertiary-bg);
      color: var(--bs-gray-600);
      line-height: 38px;
      text-align: center;
    }
    .product-thumb .button button:hover {
      color: var(--bs-gray-600);
      background-color: #ddd;
      text-decoration: none;
      cursor: pointer;
    }
    .product-thumb .button button + button {
      border-left: 1px solid var(--bs-border-color);
    }
    @media (min-width: 960px) {
        .product-list .product-thumb {
            display: flex;
        }

        .product-list .product-thumb .image {
            flex-direction: column;
            margin-bottom: 0px;
        }
          
        .product-list .product-thumb .content {
            flex-direction: column;
            flex: 75%;
            position: relative;
        }
          
        .product-list .product-thumb .button {
            border-left: 1px solid #ddd;
            width: calc(100% -  15px);
            margin-left: 15px;
        }
    }
    .rating .fa-stack {
      width: 20px;
    }
    .rating .fa-star {
      color: #999;
      font-size: 15px;
    }
    .rating .fa-star {
      color: #FC0;
      font-size: 15px;
    }
    .rating .fa-star + .fa-star {
      color: #E69500;
    }
    /* product list */
    .price {
      color: #444;
    }
    .price-new {
      font-weight: 600;
    }
    .price-old {
      color: #dc512c;
      text-decoration: line-through;
    }
    .price-tax {
      color: #999;
      font-size: 12px;
      display: block;
    }
    /* blog */
    .blog-thumb {
      border: 1px solid #ddd;
      margin-bottom: 15px;
    }
    .blog-thumb h4 {
      font-weight: bold;
    }
    .blog-thumb .image {
      text-align: center;
      margin-bottom: 15px;
    }
    .blog-thumb .image a:hover {
      opacity: 0.8;
    }
    .blog-thumb .description {
      padding: 15px;
    }
    /* Theme Custom CSS */
    #cookie {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 150px;
        z-index: 9999;
        opacity: 0.95;
        color: #ecf0f1;
        background: #343a40;
    }
    #cookie div {
        font-size: 16px;
        color: #FFFFFF;
    }

    .no-pad{
        padding: 0 !important;
    }

    .no-margin{
        margin: 0 !important;
    }

    .gap-9rem{
        gap: 9rem !important;
    }

    .is-underline{
        text-decoration: underline !important;
    }

    .chart-title{
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
        padding-top: 100px;
    }

    .chart-sub-title{
        padding-top: 8px;
        font-size: 14px;
        line-height: 16px;
        padding-bottom: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
/* end homepage and misc */

/* category page*/
    .category-sidebar {
        font-size: 15px;
    }

    .sidebar-title {
        font-weight: 600;
        margin-bottom: 20px;
    }

    .parent-category {
        padding: 3px 8px;
    }

    .parent-category a {
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .parent-category a:hover {
        color: #c4161c; /* red hover */
    }

    .parent-category a.active {
        color: #c4161c;
        font-weight: 500;
    }

    .parent-name {
        font-weight: 500;
        margin-bottom: 1px;
        color: #333;
    }

    .child-category {
        list-style: none;
        padding-left: 15px;
        margin: 0;
    }

    .child-category li {
        margin-bottom: 2px;
    }

    .child-category a {
        text-decoration: none;
        color: #777;
        font-weight: 400;
        transition: all 0.2s ease;
    }

    .child-category a:hover {
        color: #c4161c; /* red hover */
    }

    .child-category a.active {
        color: #c4161c;
        font-weight: 500;
    }

    .weight-filter{
        padding: 15px;
    }

    .noUi-handle {
        width: 15px !important;
        height: 15px !important;
        right: -7px !important;
        top: -5px !important;
        border-radius: 50%;
        background: #c0392b;
        border: 2px solid #c0392b;
        cursor: pointer;
        box-shadow: none;
    }

    .noUi-handle:before,
    .noUi-handle:after {
        content: none;
    }

    .noUi-target{
        border: none;
        box-shadow: none;
    }

    #weight-slider .noUi-base {
        height: 6px;
        background: #ddd;
        border-radius: 3px;
    }

    #weight-slider .noUi-connect {
        background: #f14d3b;
        border-radius: 3px;
        box-shadow: none;
    }

    .stock-badge{
        position: absolute;
        top: 0;
        right: 0;
        padding: 5px;
    }

    .badge-red{
        background-color: #eb7777;
        color: black;
    }

    .badge-grey{
        background-color: lightgrey;
        color: black;
    }

    .pagination .page-link {
        color: #c0392b;
    }

    .pagination .page-link:hover {
        color: #fff;
        background-color: #c0392b;
        border-color: #c0392b;
    }

    .pagination .page-item.active .page-link {
        background-color: #c0392b;
        border-color: #c0392b;
        color: #fff;
    }

    .pagination .page-link:focus {
        box-shadow: none;
    }

    .filter-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: rgba(0,0,0,0.4);
    }
    .filter-modal-overlay.open {
        display: flex;
        align-items: flex-end; /* slides up from bottom */
    }

    /* Modal panel */
    .filter-modal {
        background: #fff;
        width: 100%;
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
        display: flex;
        flex-direction: column;
        animation: slideUp 0.3s ease;
    }

    @keyframes slideUp {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }

    /* Header */
    .filter-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
    }
    .filter-modal-header h5 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }
    .filter-modal-header button {
        background: none;
        border: none;
        font-size: 18px;
        cursor: pointer;
        color: #333;
    }

    /* Body */
    .filter-modal-body {
        overflow-y: auto;
        padding: 16px 20px;
        flex: 1;
    }

    /* Footer */
    .filter-modal-footer {
        display: flex;
        gap: 12px;
        padding: 16px 20px;
        border-top: 1px solid #eee;
    }
    .filter-modal-footer .btn {
        flex: 1;
        padding: 12px;
        font-size: 15px;
    }

    /* Section titles */
    .filter-section-title {
        font-size: 16px;
        font-weight: 600;
        margin: 12px 0 8px;
    }

    /* Checkbox */
    .filter-checkbox-label {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0;
        font-size: 14px;
        color: #444;
        cursor: pointer;
        border-bottom: 1px solid #f5f5f5;
    }
    .filter-checkbox-label input[type="checkbox"] {
        display: none;
    }
    .filter-checkbox-box {
        width: 20px;
        height: 20px;
        border: 2px solid #ccc;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.2s;
    }
    .filter-checkbox-label input:checked ~ .filter-checkbox-box {
        background: #C5202E;
        border-color: #C5202E;
    }
    .filter-checkbox-label input:checked ~ .filter-checkbox-box::after {
        content: '✓';
        color: white;
        font-size: 13px;
    }
    .filter-checkbox-label input:checked ~ span:last-child {
        color: #C5202E;
        font-weight: 600;
    }

    @media (max-width: 992px) {
        .p-card{
            padding-left: 5px !important;
            padding-right: 5px !important;
        }
    }
/* end category page */

/* Product page  */
    .product-gallery {
        display: flex;
        flex-direction: row;
        gap: 12px;
        align-items: flex-start;
    }

    .product-gallery .thumbs {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 70px;
        flex-shrink: 0;
    }

    .product-gallery .thumbs a {
        display: block;
        border: 2px solid transparent;
        border-radius: 6px;
        overflow: hidden;
        cursor: pointer;
        transition: border-color 0.15s;
    }

    .product-gallery .thumbs a:hover,
    .product-gallery .thumbs a.active {
        border-color: #C5202E;
    }

    .product-gallery .thumbs .thumb-img {
        width: 66px;
        height: 66px;
        object-fit: cover;
        display: block;
    }

    .product-gallery .main-image {
        flex: 1;
        min-width: 0;
    }

    .product-gallery .main-image img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 6px;
    }

    .thumb-img {
        width: 80px;
        cursor: pointer;
        border: 1px solid #eee;
        padding: 4px;
        border-radius: 6px;
        transition: 0.2s;
    }

    .thumb-img:hover,
    .thumb-img.active {
        border: 2px solid #c0392b;
    }

    .product-info-box h1 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .price-new {
        font-size: 32px;
        font-weight: 600;
    }

    .input-group {
        max-width: 260px;
    }

    #button-cart {
        background: linear-gradient(0deg, #C5202E, #C5202E),
        linear-gradient(0deg, #C5202E 0%, #F33C3D 100%);
        color: #fff;
        border: none;
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #button-cart:hover {
        opacity: 0.9;
    }

    .btn-fav{
        color: #b71c1c !important;
        border: solid 1px #C5202E !important;
        background: white !important;
    }

    .custom-accordion {
        border-top: 1px solid #e5e5e5;
    }

    .accordion-item-custom {
        border-bottom: 1px solid #e5e5e5;
    }

    .accordion-toggle {
        width: 100%;
        background: #f5f5f5;
        border: none;
        padding: 16px 20px;
        text-align: left;
        font-weight: 600;
        font-size: 16px;
        display: flex;
        align-items: center;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .accordion-toggle:hover {
        background: #ececec;
    }

    .accordion-icon {
        width: 10px;
        height: 10px;
        border-right: 2px solid #333;
        border-bottom: 2px solid #333;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
    }

    .accordion-toggle[aria-expanded="true"] .accordion-icon {
        transform: rotate(225deg);
    }

    .accordion-content {
        background: #fafafa;
        padding: 20px;
    }

    .accordion-content td{
        border-width: 1px;
    }

    .spec-container {
        display: flex;
        gap: 10px;
    }

    .spec-column {
        flex: 1;
        background: #f3f3f3;
        padding: 20px;
    }

    .spec-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 5px;
    }

    .spec-label {
        color: #777;
        font-size: 12px;
    }

    .spec-value {
        font-weight: 400;
        font-size: 12px;
    }

    .flex-1{
        flex: 1;
    }

    /* Mobile gallery — thumbs horizontal below */
    @media (max-width: 575px) {
        .product-gallery {
            flex-direction: column;
        }

        .product-gallery .thumbs {
            flex-direction: row;
            width: 100%;
            overflow-x: auto;
            order: 2; /* thumbs go below main image on mobile */
        }

        .product-gallery .main-image {
            order: 1;
        }

        .product-gallery .thumbs .thumb-img {
            width: 60px;
            height: 60px;
        }
    }

    @media (max-width: 992px) {
        .spec-column {
            padding: 5px;
        }

        .spec-container {
            display: flex;
            flex-direction: column;
        }

        .spec-column {
            width: 100%;
        }

    }

    /* ===== PRODUCT STICKY BOTTOM BAR (mobile only) ===== */
    .product-sticky-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9;
        background: #fff;
        border-top: 1px solid #e0e0e0;
        padding: 12px 16px;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.10);
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .sticky-row-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .product-sticky-price {
        font-size: 20px;
        font-weight: 700;
        color: #1a1714;
        white-space: nowrap;
    }

    .sticky-qty {
        width: 120px;
        flex-shrink: 0;
    }

    .sticky-qty .btn {
        border-color: #dee2e6;
        color: #1a1714;
        font-size: 16px;
        padding: 4px 12px;
    }

    .sticky-qty .form-control {
        border-color: #dee2e6;
        font-weight: 600;
    }

    /* Row 2 — wishlist small left, add to cart full right */
    .sticky-row-bottom {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .btn-fav-sticky {
        background: transparent;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 10px 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        cursor: pointer;
    }

    .btn-fav-sticky:hover {
        border-color: #C5202E;
        background: #fdf0f0;
    }

    .btn-cart-sticky {
        flex: 1;
        background: #C5202E;
        color: #fff;
        border: none;
        border-radius: 8px;
        padding: 12px 16px;
        font-size: 15px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
    }

    .btn-cart-sticky:hover {
        background: #a51825;
    }

    .btn-cart-sticky {
        background: #C5202E;
        color: #fff;
        border: none;
        padding: 8px 14px;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }

    .btn-cart-sticky:hover {
        background: #a51825;
        color: #fff;
    }

    .btn-fav-sticky {
        background: transparent;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        padding: 7px 10px;
        display: flex;
        align-items: center;
    }

    .accordion{
        margin-top: 20px;
    }

    /* Add bottom padding so content not hidden behind sticky bar */
    @media (max-width: 991px) {
        #product-info {
            padding-bottom: 120px;
        }

        .product-info-box{
            padding-top: 20px;
        }

        .product-info-box h1{
            font-weight: 400;
            font-size: 24px;
            line-height: 32px;
            letter-spacing: 0;
        }

        /* Hide the main add to cart section on mobile */
        #product {
            display: none !important;
        }

        .accordion-content table{
            width: 100% !important;
        }

        .product-sticky-bar .input-group{
            width: 120px;
        }
    }

    @media (min-width: 992px) {
        /* Hide sticky bar on desktop */
        .product-sticky-bar {
            display: none !important;
        }

        /* Show main form on desktop */
        #product {
            display: flex !important;
        }
    }
/* end product page */

/* info page + contact us */
    .info-hero {
        position: relative;
        min-height: 100vh;
        background: 
            linear-gradient(to bottom, 
                rgba(255,255,255,1) 0%, 
                rgba(255,255,255,0.8) 15%, 
                rgba(255,255,255,0) 100%
            ),
            url('../../../image/catalog/ui_image/london_bg.png');
        background-size: cover;
        background-position: center;
    }

    .info-tabs-wrapper {
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 7;
        padding-top: 116px;
    }

    .info-tabs {
        display: flex;
        justify-content: center;
        gap: 40px;
        padding: 0.5rem 0;
    }

    .tab-button {
        font-size: 14px;
        font-weight: 500;
        color: #333;
        background: none;
        border: none;
        padding: 0.5rem 0;
        cursor: pointer;
        position: relative;
        transition: color 0.2s;
    }

    .tab-button:hover {
        color: #d11b2b;
    }

    .tab-button.active{
        color: #d11b2b;
    }

    .tab-button.active::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: #d11b2b;
    }

    .info-sections section {
        display: none;
        padding: 2rem 0;
    }

    .info-sections section.active {
        display: block;
    }

    #information-contact{
        background: rgba(200, 200, 200, 0.5);
        padding: 10px;
    }

    .contact-hero {
        position: relative;
        padding: 80px 0;
    }

    /* Overlay with fade at top */
    .contact-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: 
            linear-gradient(to bottom,
                rgba(255,255,255,0.9) 0%,
                rgba(255,255,255,0.6) 25%,
                rgba(255,255,255,0.5) 100%
            );
        backdrop-filter: blur(6px);
    }

    /* Keep content above overlay */
    .contact-hero > * {
        position: relative;
        z-index: 2;
    }

    .contact-title {
        text-align: center;
        font-size: 28px;
        letter-spacing: 2px;
        color: #ffffff;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 5px;
        font-size: 15px;
        color: #333;
    }

    .contact-item i {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

    .contact-item div {
        line-height: 1.6;
    }

    .contact-info{
        padding-left: 40px !important;
        padding-right: 30px !important;
    }

    .contact-info h3 {
        color: #b67b1e;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .contact-info i {
        color: #b67b1e;
    }

    .contact-card {
        background: #ffffff;
        padding: 40px;
        border-radius: 4px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    /* Inputs */
    .contact-card .form-control {
        height: 45px;
        border-radius: 6px;
    }

    .contact-card textarea.form-control {
        height: auto;
    }

    .btn-send {
        background: linear-gradient(135deg, #ff4d4d, #b80000);
        color: white !important;
    }

    @media (max-width: 992px) {
        .info-tabs-wrapper {
            padding-top: 69px;
            overflow-x: auto;
        }

        .info-tabs{
            gap: 10px;
            width: max-content;   
            justify-content: flex-start; 
            padding: 0.5rem 16px;
        }

        .tab-button{
            min-width: 100px;
        }
    }

/* end info page + contact us */

/* cart page */

    #shopping-cart{
        padding-bottom: 40px;
        display: grid;
        gap: 30px;
        border-top: 1px solid #E3E5E5;
    }

    .cart-title{
        font-size: 22px;
        font-weight: 500;
        text-align: center;
        padding-top: 60px;
    }

    .unavailable-title{
        font-size: 18px;
        line-height: 24px;
        font-weight: 500;
    }

    .remove-unavailable-btn{
        color: #C5202E;
        font-size: 14px;
        line-height: 20px;
        cursor: pointer;
        text-decoration: none;
    }

    .remove-unavailable-btn:hover {
        color: #a71d2a;
    }

    .cart-countdown-bar {
        background: #FEEBEF;
        color: #303437;
        padding: 2px;
        text-align: center;
        border-radius: 6px;
        font-size: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    #cart-timer{
        color: #87131C;
    }

    .unavailable-section {
        background: #f8f9fa;
        padding: 20px;
        border-radius: 8px;
    }

    .unavailable-item {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 6px;
    }

    .select-all-container{
        padding-bottom: 30px;
        display: flex;
        gap: 20px;
        font-size: 16px;
        line-height: 24px;
        color: #303437;
    }

    .cart-qty-btn-wrapper{
        width: fit-content !important;
        border: 1px solid #E3E5E5;
        border-radius: 4px;
        overflow: hidden;
    }

    .quantity-input{
        width: 80px !important;
        min-width: unset;
        text-align: center;
        padding: 0;
        border: none !important;
        box-shadow: none !important;
    }

    .cart-layout {
        display: flex;
        gap: 30px;
        align-items: flex-start;
    }

    .cart-product-wrapper{
        padding-top: 20px;
        padding-bottom: 20px;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
    }

    .cart-left {
        flex: 2;
    }

    .cart-product-info-wrapper{
        display: flex;
        align-items: stretch;
        gap: 20px;
        flex: 1;
    }

    .product-info-wrapper{
        display: flex;
        flex-direction: column;
        gap: 6px;
        justify-content: space-between;
    }

    .cart-remove-btn-wrapper{
        display: flex;
        align-self: flex-end;
    }

    .cart-right {
        flex: 1;
        padding: 30px;
        border-radius: 8px;
        min-height: 400px;
        border: 1px solid #E3E5E5;
        gap: 20px;
    }

    .product-name{
        text-decoration: none;
        color: black;
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        display: grid;
        gap: 2px;
    }

    .cart-left hr{
        color: rgba(108,122,137,0.7);
    }

    .unavailable-container-wrapper{
        padding-left: 30px;
        padding-right: 30px;
    }

    .unavailable-cart-product-info-wrapper{
        display: flex;
        align-items: stretch;
        gap: 20px;
        flex: 1;
    }

    .unavailable-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        position: relative;
        z-index: 2;
    }

    .unavailable-products-overlay-wrapper {
        position: relative;
    }

    .unavailable-overlay {
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.6);
        z-index: 1;
        pointer-events: none; /* lets clicks pass through to remove buttons if needed */
        border-radius: 4px;
    }

    .product-unit-price{
        color: #72777A;
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
    }

    .trash-icon{
        color: grey;
    }

    .product-total-price{
        font-weight: 500;
        font-size: 16px;
    }

    .checkbox-container {
      display: block;
      position: relative;
      padding-left: 35px;
      margin-bottom: 12px;
      cursor: pointer;
      font-size: 22px;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }

    .checkbox-container input {
      position: absolute;
      opacity: 0;
      cursor: pointer;
      height: 0;
      width: 0;
    }

    .checkmark {
      position: absolute;
      top: 0;
      left: 0;
      height: 25px;
      width: 25px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: solid 1px lightgrey;
    }

    .checkbox-container:hover input ~ .checkmark {
      background-color: lightgrey;
    }

    .checkbox-container input:checked ~ .checkmark {
      background-color: red;
    }

    .checkmark:after {
      content: "";
      display: none;
      width: 7px;
      height: 13px;
      border: solid white;
      border-width: 0 3px 3px 0;
      transform: rotate(45deg);
    }

    .checkbox-container input:checked ~ .checkmark:after {
      display: block;
    }

    .checkbox-container .checkmark:after {
      width: 5px;
      height: 10px;
      border: solid white;
      border-width: 0 3px 3px 0;
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
    }

    .checkbox-container input:disabled ~ .checkmark {
      background-color: #ddd;
    }

    .checkbox-container input:disabled ~ .checkmark:after {
      border-color: #999;
    }

    .checkbox-container input:disabled + .checkmark,
    .checkbox-container input:disabled ~ .checkmark {
      opacity: 0.5;
    }

    .checkbox-container input:disabled ~ * {
      cursor: not-allowed;
    }

    .summary-title, .confirm-summary-title {
      font-size: 18px;
      line-height: 24px;
      font-weight: 500;
    }

    .summary-table {
      width: 100%;
      border-collapse: collapse;
      line-height: 1;
    }

    .order-summary-card hr {
        color: #E3E5E5;
    }

    .summary-table td {
      padding: 10px 0;
      font-size: 14px;
      line-height: 20px;
      font-weight: 400;
    }

    .summary-note {
      font-size: 13px;
      color: #777;
      margin: 15px 0 20px 0;
    }

    .selected-subtotal{
        font-size: 18px;
        font-weight: 500;
    }

    .btn-checkout {
      display: block;
      width: 100%;
      text-align: center;
      background: linear-gradient(0deg, #C5202E 0%, #F33C3D 100%);
      color: #fff;
      padding: 12px 16px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 400;
      transition: 0.3s ease;
      font-size: 18px;
      line-height: 24px;
      animation-timing-function: ease-out;
      animation-duration: 300ms;

    }

    .btn-qty-minus, .btn-qty-plus{
        border: none !important;
        background: transparent;
        padding: 6px 10px;
    }

    .btn-checkout:hover {
      background: linear-gradient(to bottom, #c1121f, #a50f1c);
    }

    .weight-zero {
        display: none;
    }

    /* mobile view cart page */
    /* applies when screen is 992px wide OR LESS */
    @media (max-width: 992px) {
        .cart-layout {
            display: block;
        }

        .cart-title {
            padding-top: 40px;
        }

        .cart-left {
            padding-bottom: 90px; /* space for collapsed bar */
        }

        .cart-right {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 9;
            background: #fff;
            transition: transform 0.3s ease;
            border: 1px solid #E3E5E5;
            box-shadow: 0px -6px 16px 0px #090A0A0F;
            min-height: 0px;
            padding: 8px 8px;
        }

        /* collapsed handle bar */
        .summary-handle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 6px 8px;
            cursor: pointer;
        }

        .summary-handle-left {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .summary-handle-label {
            font-size: 12px;
            color: #999;
        }

        .summary-handle-subtotal {
            font-size: 18px;
            font-weight: 500;
            color: #C5202E;
        }

        .summary-chevron {
            transition: transform 0.3s ease;
            color: #999;
        }

        .summary-note{
            margin: 0;
        }

        .cart-right.expanded .summary-chevron {
            transform: rotate(180deg);
        }

        /* expanded panel body */
        .summary-expandable {
            display: none;
            padding: 0 16px 16px;
            border-top: 1px solid #E3E5E5;
        }

        .cart-right.expanded .summary-expandable {
            display: block;
        }

        .cart-right.expanded + .cart-left,
        .cart-left {
            padding-bottom: 90px;
        }

        /* hide desktop-only title */
        .summary-title {
            display: none;
        }

        .order-summary-card hr:first-of-type {
            display: none;
        }

        /* checkout button stays outside expandable */
        .btn-checkout-mobile-wrapper {
            padding: 12px 16px 16px;
            border-top: 1px solid #E3E5E5;
        }

        .product-info-wrapper{
            gap: 10px;
        }

        .cart-product-wrapper{
            padding: 0;
        }

    }

    /* hide mobile-only elements on desktop */
    /* applies when screen is 993px wide OR MORE */
    @media (min-width: 993px) {
        .summary-handle,
        .summary-expandable,
        .btn-checkout-mobile-wrapper {
            display: none;
        }
    }
/* end cart page */

/* account dashboard  */

    .page-title {
        padding: 60px 0 30px 0;
        text-align: center;
        font-weight: 500;
        font-size: 24px;
        line-height: 32px;
        color: #303437;
    }

    .account-container {
        display: flex;
        gap: 40px;
        max-width: 1200px;
        margin: auto;
    }

    /* account sidebar */
    .account-sidebar {
        width: 220px;
    }

    .account-menu {
        list-style: none;
        padding: 0;
    }

    .account-menu li {
        padding: 12px;
        cursor: pointer;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
    }

    .account-menu li.active {
        color: #d32f2f;
        font-weight: 600;
        border-left: 3px solid #d32f2f;
    }

    .account-content {
        flex: 1;
    }

    .account-mobile-select {
        width: 100%;
    }

    .account-mobile-select select {
        width: 100%;
        padding: 10px 16px;
        font-size: 15px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #fff;
        appearance: auto;
        color: #333;
    }
/* end account page */

/* account dashboard page */
    .dashboard-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .dashboard-grid a {
        text-decoration: none;
        line-height: 1;
        color: #303437;
    }

    .welcome-title{
        font-weight: 500;
        font-size: 18px;
        line-height: 24px;
        color: #303437;
    }

    .welcome-sub{
        color: #6C7072;
        font-size: 12px;
        line-height: 16px;
    }

    .dashboard-card {
        background: #FFFFFF;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.05);
        border: 1px solid #F2F4F5;
        min-height: 230px ;
    }

    .welcome-card {
        background: #FFFBF0;
        box-shadow: 0px 0px 0px 1px #EEEEEE;
        padding: 20px 30px;
        margin-bottom: 30px;
    }

    .account-card-header {
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        color: #303437 ;
        padding-bottom: 20px !important;
        margin-bottom: 30px !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #F2F4F5;
        cursor: pointer;
    }

    .card-header i {    
        color: #999;    
        font-size: 14px;
    }

    .order-status-wrapper{
        margin-top: 30px;
        display: flex;    
        justify-content: space-between;    
        gap: 15px;
    }

    .order-box {    
        display: flex;    
        flex-direction: column;    
        align-items: center;    
        flex: 1;    
        text-align: center;
    }

    .icon-container {    
        position: relative;   
        margin-bottom: 8px;    
        background: #f5f5f5;    
        width: 60px;    
        height: 60px;    
        border-radius: 12px;    
        display: flex;    
        align-items: center;    
        justify-content: center;
    }

    .icon-container i {
        font-size: 24px;
        color: #666;
    }

    .notification-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #ff4444;
        color: white;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 600;
        border: 2px solid white;
    }

    .order-text {
        font-size: 13px;
        color: #666;    font-weight: 500;
    }

    /* Hover effects */
    .order-box:hover .icon-container {
        background: #e8e8e8;
        cursor: pointer;
    }

    .order-box:hover .order-text {
        color: #333;
    }

    /* Responsive */
    @media (max-width: 992px) {
        .account-container {
            flex-direction: column;
        }

        .account-sidebar {
            width: 100%;
        }

        .dashboard-grid {
            grid-template-columns: 1fr;
        }

        .dashboard-card{
            padding: 0;
            min-height: 200px;
        }

        .account-card-header{
            margin: 0 !important;
            padding: 15px 12px !important;
        }

        .history-grid, .address-grid{
            padding: 15px;
        }
    }

    .wishlist-mobile-img-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
        text-align: center;
        padding-top: 20px;
    }

    .wishlist-img-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2px;
    }

    .wishlist-img-mobile {
        display: grid;
    }
    .wishlist-img-desktop {
        display: none;
    }

    @media (min-width: 992px) {
        .wishlist-img-mobile {
            display: none;
        }
        .wishlist-img-desktop {
            display: grid;
        }
    }

    .history-title{
        font-size: 14px;
        line-height: 20px;
        color: #303437;
    }

    .address-name{
        font-size: 14px;
        line-height: 20px;
        color: #303437;
    }

    .address-phone{
        font-size: 14px;
        line-height: 20px;
        color: #6C7072;
    }

    .address-full{
        font-size: 14px;
        line-height: 20px;
        color: #303437;
    }

    .address-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 2px;
    }

    .history-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 2px;
    }

    .containerw100h50{
        width: 100px;
        height: 50px;
    }
/* ===== end account dashboard page ===== */

/* security page  */
    .reset-container{
        padding: 30px;
        background: #FFFFFF;
    }

    .reset-container .form-label{
        padding-left: 0 !important;
    }

    .reset-title{
        font-size: 16px;
        line-height: 24px;
        font-weight: 500;
        padding:  0 0 20px 0;
        border-bottom: 1px solid #F2F4F5;
        margin-bottom: 30px;
    }

    .security-title-wrapper, .profile-title-wrapper, .wishlist-title-wrapper, .order-list-title-wrapper{
       margin-bottom: 40px;
       display: grid;
       gap: 5px;
    }

    .security-title, .profile-title, .wishlist-title, .address-title, .order-list-title {
        font-size: 18px;
        font-weight: 500;
        line-height: 24px;
        color: #303437;
    }

    .security-sub-title, .profile-sub-title, 
    .wishlist-sub-title, .address-sub-title, .action-address-sub-title, .order-list-sub-title{
        font-size: 12px;
        line-height: 16px;
        color: #6C7072;
    }

    .password-condition{
        font-size: 12px;
        line-height: 14px;
        color: #72777A;
        padding-left:  0 !important;
        padding-top: 8px;
    }

    .password-save-btn, .profile-save-btn{
        background: linear-gradient(0deg, #C5202E 0%, #F33C3D 100%);
        padding: 12px 39px;
        border-radius: 8px;
        border: none;
        font-size: 18px;
        line-height: 24px;
        color: #FFFFFF;
    }

    .password-input{
        margin-bottom: 30px;
        font-size: 12px;
        line-height: 16px;
        color: #303437;
    }

    .password-grid{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }

    .login_history_grid hr{
        border: 1px solid #E3E5E5
    }

    @media (max-width: 992px) {
        .reset-container{
            padding: 10px;
        }

        .security-title-wrapper, .profile-title-wrapper, .wishlist-title-wrapper, .order-list-title-wrapper{
           margin-bottom: 10px;
        }

        .password-save-btn{
            width: 100%;
        }
    }
/* end security */

/*profile*/

    .profile-grid, .account-list-grid{
        display: grid;
        gap: 30px;
    }

    .profile-container{
        padding-bottom: 80px;
    }

    .profile-input-container{
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(2, 1fr);
    }

    .preference-container{
        padding: 30px;
    }

    .comm-title{
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        color: #303437;
        padding-bottom: 20px;
        border-bottom: 1px solid #F2F4F5;
        box-shadow: 0px 1px 80px 5px #11111114;
    }

    .preference-item, .address-checkbox {
        display: flex;
        align-items: center;
        gap: 12px;
        cursor: pointer;
    }

    .preference-item input[type="checkbox"], .address-checkbox input[type="checkbox"]{
        display: none;
    }

    .custom-checkbox {
        width: 24px;
        height: 24px;
        min-width: 24px;
        border-radius: 6px;
        border: 2px solid #ccc;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s, border-color 0.2s;
    }

    .preference-item input[type="checkbox"]:checked + .custom-checkbox {
        background-color: #C5202E;
        border: 1px solid #C5202E
    }

    .address-checkbox input[type="checkbox"]:checked + .custom-checkbox {
        background-color: #C5202E;
        border: 1px solid #C5202E
    }

    .custom-checkbox::after {
        content: '';
        display: none;
        width: 6px;
        height: 11px;
        border: 2px solid #fff;
        border-top: none;
        border-left: none;
        transform: rotate(45deg);
        margin-bottom: 2px;
    }

    .preference-item input[type="checkbox"]:checked + .custom-checkbox::after {
        display: block;
    }

    .address-checkbox input[type="checkbox"]:checked + .custom-checkbox::after {
        display: block;
    }

    .preference-label {
        font-size: 14px;
        color: #303437;
        line-height: 20px;
    }

    .request-deletion-title{
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        color: #303437;
        box-shadow: 0px 1px 80px 5px #11111114;
        display: flex;
        justify-content: space-between;
        opacity: 1;
        cursor: pointer;
        border-bottom-width: 1px;
    }

    .request-deletion-container {
        padding: 30px;
    }

    .p-30px{
        padding: 30px;
    }

    @media (max-width: 992px) {
        .profile-input-container{
            grid-template-columns: repeat(1,1fr);
        }

        .p-30px{
            padding: 15px;
        }

        .profile-save-btn{
            width: 100%;
        }
    }

/* ===== end profile page ===== */

/* ===== wishlist page ===== */
    .wishlist-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .wishlist-card {
        display: grid;
        gap: 12px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        overflow: hidden;
        padding: 20px;
        border: 1px solid #E3E5E5;
        animation-timing-function: ease-out;
        animation-duration: 300ms;

    }

    .wishlist-card-image {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 180px;
    }

    .wishlist-card-image img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

    .wishlist-card-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .wishlist-card-name {
        font-size: 16px;
        line-height: 24px;
        color: #303437;
        text-decoration: none;
        text-align: center;
    }

    .wishlist-card-name:hover {
        color: #c0392b;
    }

    .wishlist-card-price {
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        color: #303437;
        text-align: center;
    }

    .wishlist-card-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-top: 20px;
        border-top: 1px solid #F2F4F5;
        justify-content: space-between;
    }

    .btn-add-cart {
        flex: 1;
        padding: 6px 8px;
        color: #C5202E;
        border: 1px solid #C5202E;
        background: linear-gradient(180deg, #FFFFFF 0%, #FEEBEF 100%);
        border-radius: 8px;
        cursor: pointer;
        font-size: 14px;
        line-height: 20px;
        transition: background 0.2s, color 0.2s;
    }

    .btn-add-cart:hover {
        background: #c0392b;
        color: #fff;
    }

    .wishlist-remove {
        color: #999;
        font-size: 16px;
        text-decoration: none;
        transition: color 0.2s;
    }

    .wishlist-remove:hover {
        color: #c0392b;
    }

    @media (max-width: 992px) {
        #account-wishlist{
            padding: 0;
        }

        .wishlist-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 5px;
        }

        .wishlist-card{
            padding: 5px;
        }

        .wishlist-card-actions{
            justify-content: center;
        }
    }

    .gold-border{
        border-bottom: 4px solid;
        border-image-source: radial-gradient(50% 50% at 50% 50%, #D3AB47 0%, rgba(211, 171, 71, 0) 100%);
        border-image-slice: 1;
    }

    .silver-border{
        border-bottom: 4px solid;
        border-image-source: radial-gradient(50% 50% at 50% 50%, #979C9E 0%, rgba(151, 156, 158, 0) 100%);
        border-image-slice: 1;
    }
/* ===== end wishlist page ===== */

/* ===== address page ===== */
    .btn-new-address{
        border-radius: 8px;
        background: linear-gradient(180deg, #FFFFFF 0%, #FEEBEF 100%);
        border: 1px solid #C5202E;
        animation-timing-function: ease-out;
        animation-duration: 300ms;
        padding: 6px 16px;
        display: grid;
        gap: 8px;
        font-size: 18px;
        line-height: 24px;
        color: #C5202E;
    }

    .justify-self-end{
        justify-self: end;
    }

    .address-title-wrapper{
        display: grid;
        gap: 5px;
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .action-address-grid{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .action-address-grid-full{
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .action-address-container{
        display: grid;
        gap: 40px;
    }

    #form-address{
        padding: 30px;
        display: grid;
        gap: 30px;
    }

    .seperator{
        border: none;
        border-top: 1px solid #E3E5E5;
        margin: 0;
    }

    .section-title{
        display: grid;
        gap: 2px;
    }

    .address-input-checkbox{
        display: grid;
        gap: 40px;
        grid-template-columns: 1fr 1fr;
        padding-top: 20px;
    }

    .address-action-btn-wrapper{
        display: grid;
        gap: 30px;
        padding-top: 20px;
        font-size: 16px;
        line-height: 24px;
        grid-template-columns: 1fr 1fr;
    }

    .btn-discard{
        width: 100%;
        border-radius: 8px;
        padding: 8px 12px;
        border: 1px solid #F2F4F5;
        box-shadow: 0px 4px 16px 0px #090A0A0F;
        animation-timing-function: ease-out;
        animation-duration: 300ms;
        display: grid;
        gap: 8px;
        color:#303437 ;
        text-align: center;
    }

    .btn-save-address, .btn-confirm-order{
        width: 100%;
        background: linear-gradient(0deg, #C5202E 0%, #F33C3D 100%);
        border: none;
        box-shadow: 0px 4px 16px 0px #090A0A0F;
        border-radius: 8px;
        padding: 8px 12px;
        display: grid;
        gap: 8px;
        color: #ffffff;
    }

    .address-list-wrapper{
        display: grid;
        gap: 40px;
    }

    @media (max-width: 992px) {
        .action-address-container{
            gap: 20px;
        }

        .address-list-wrapper{
            gap: 10px;
        }

        .action-address-grid{
            grid-template-columns: 1fr;
        }

        #form-address{
            padding: 5px;
            gap: 10px;
        }
    }

    #address{
        display: grid;
        gap: 20px;
        padding-bottom: 20px;
    }

    .address-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;

    }

    .address-card {
        background: #fff;
        border-radius: 8px;
        padding: 30px;
        border: 1px solid #F2F4F5;
        transition: box-shadow 0.2s ease;
        justify-content: space-between;
        box-shadow: 0px 1px 80px 5px #11111114;
    }

    .address-card:hover {
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .address-card-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 6px;  
    }

    .address-card-body {
        display: grid;
        gap: 8px; 
    }

    .address-card-name-phone {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .address-card-name {
        font-weight: 500;
        color: #303437;
        font-size: 14px;
        line-height: 20px;
    }

    .address-card-divider {
        color: #E3E5E5;
    }

    .address-card-phone {
        color: #303437;
        font-size: 14px;
        line-height: 20px;
    }

    .address-card-edit {
        color: #999;
        font-size: 16px;
        line-height: 1;
        text-decoration: none;
        transition: color 0.2s;
    }

    .address-card-edit:hover {
        color: #333;
    }

    .address-card-address {
        font-size: 13px;
        color: #555;
        margin: 0 0 10px 0;
        line-height: 1.5;
        width: 60%;
    }

    @media (max-width: 768px) {
        .address-card-address {
            width: 100%;
        }
    }

    .address-badge-wrapper{
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .address-card-badge {
        display: inline-block;
        background: #e0f5f5;
        color: #2aabb0;
        font-size: 11px;
        padding: 3px 10px;
        border-radius: 20px;
        font-weight: 500;
    }

    .address-badge-left {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
    }
/* ===== end address list page ===== */

/* ===== checkout page ===== */

    .checkout-page-title, .order-detail-page-title{
        font-size: 24px;
        line-height:32px;
        font-weight: 500;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .checkout-breadcrumb-wrapper{
        display: flex;
        align-items: center;
        position: relative;
        padding-top: 60px;
    }

    .checkout-body-container{
        display: grid;
        gap: 30px;
        padding-bottom: 40px;
        border-top: 1px solid #E3E5E5;
    }

    .checkout-grid {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 55px;
        align-items: start;
    }

    .checkout-right {
        width: 340px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        position: sticky;
        top: 136px; 
    }

    @media (max-width: 768px) {
        .checkout-grid {
            grid-template-columns: 1fr;
        }

        .checkout-right {
            width: 100%;
            position: static;
        }
    }

    #shipping-address{
        display: grid;
        gap: 30px;   
    }

    .checkout-shipping-title-wrapper{
        justify-content: space-between;
        opacity: 1;
        display: flex;
    }

    .checkout-shipping-title{
        color: #303437;
        font-weight: 700;
        font-size: 14px;
        line-height: 20px;
    }

    .checkout-shipping-actions{
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 40px; 
        color: #303437;
        text-decoration: underline;
        cursor: pointer;
    }

    .hide{
        display: none;
    }

    .show{
        display: block;
    }

    .checkout-tips{
        font-size: 12px;
        line-height: 16px;
        color: #303437;
    }

    #input-shipping-address{
        border-radius :10px;
        border: 1px solid #E3E5E5;
        padding-right: 20px;
        color: #303437;
        justify-content: space-between;
        display: flex;
    }

    #shipping-existing{
        display: grid;
        gap: 12px;
    }

    .custom-address-select {
        position: relative;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background: #fff;
        cursor: pointer;
    }

    .custom-address-selected {
        padding: 14px 80px 14px 16px;
        display: flex;
        border-radius: 10px;
        border: 1px solid #E3E5E5;
        flex-direction: column;
        gap: 4px;
        position: relative;
    }

    .address-select-chevron {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.2s;
    }

    .custom-address-select.open .address-select-chevron {
        transform: translateY(-50%) rotate(180deg);
    }

    .custom-address-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        border: 1px solid #e0e0e0;
        border-radius: 0 0 8px 8px;
        background: #fff;
        overflow: hidden;
        z-index: 7;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .address-option-item {
        padding: 14px 16px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 4px;
        transition: background 0.15s;
    }

    .address-option-item:hover {
        background: #fdf0f0;
    }

    .address-option-item.selected {
        background: #fdf0f0;
    }

    .address-option-name-phone {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 500;
        font-size: 14px;
    }

    .address-option-divider {
        color: #ccc;
    }

    .address-option-address {
        font-size: 13px;
        color: #555;
    }

    .shipping-address-wrapper{
        padding: 5px;
        display: grid;
        gap: 5px;
    }

    .btn-save-no-bg{
        width: 100%;
        border: solid 1px #F33C3D;
        box-shadow: 0px 4px 16px 0px #090A0A0F;
        border-radius: 8px;
        padding: 8px 12px;
        display: grid;
        gap: 8px;
        color: #F33C3D;
        background-color: transparent;
    }

    .package-wrapper {
        padding: 30px;
        display: grid;
        gap: 20px;
    }

    .package-title{
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .package-header {
        font-size: 14px;
        font-weight: 700;
        line-height: 20px;
        letter-spacing: 0.5px;
        gap: 10px;
        display: grid;
    }

    .package-item-count {
        font-weight: 400;
        color: #72777a;
        font-size: 14px;
        line-height: 20px;
    }

    .package-shipping-method {
        display: flex;
        align-items: center;
        gap: 20px;
        padding-top: 48px 0 48px 0;
        border-top: 1px solid #F2F4F5;
        font-weight: 400;
    }

    .shipping-method-badge {
        background: #F1FBFF;
        color: #303437;
        font-size: 14px;
        line-height: 20px;
        padding: 12px 20px;
        display: flex;
        gap: 20px;
    }

    .shipping-method-cost {
        font-size: 13px;
        font-weight: 500;
    }

    .package-items {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .package-item {
        display: flex;
        align-items: center;
        gap: 10px;
        background: #f8f9fa;
        border-radius: 8px;
        padding: 20px;
        background: #F7F9FACC;
    }

    .package-item-image img {
        width: 60px;
        height: 60px;
        object-fit: contain;
    }

    .package-item-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .package-item-name {
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        color: #303437;
    }

    .package-item-qty {
        font-size: 14px;
        line-height: 20px;
        color: #72777A;
    }

    .package-item-price {
        font-size: 14px;
        font-weight: 400;
        color: #303437;
    }

    .checkout-left{
        display: grid;
        gap: 30px;
    }

    .order-summary-terms {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
    }

    .order-summary-terms .checkbox-container {
        position: relative;
        padding-left: 0;
        margin-bottom: 0;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        display: block;
    }

    .order-summary-terms .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        width: 18px;
        height: 18px;
    }

    .order-summary-terms .checkbox-container {
        padding-left: 26px; /* reduced from 35px to match smaller checkbox */
        font-size: 13px;
        margin-bottom: 0;
    }

    .order-summary-terms .checkmark {
        width: 18px;
        height: 18px;
    }

    .order-summary-terms .checkmark:after,
    .order-summary-terms .checkbox-container .checkmark:after {
        width: 4px;
        height: 8px;
        border-width: 0 2px 2px 0;
    }

    .order-summary-grand-total{
        display: flex;
        justify-content: space-between;
    }
/* ===== end checkout page ===== */

/* ===== confirm page ===== */
    .confirm-order-summary-card{
        display: grid;
        gap: 15px;
    }

    .confirm-order-summary-card hr{
        margin: 0;
        border: 1px solid #E3E5E5;
    }

    .confirm-order-summary-card .confirm-summary-title{
        font-weight: 700;
        font-size: 14px;
        line-height: 20px;
        color: #303437;
    }

    .confirm-grand-total{
        font-weight: 700;
        font-size: 18px;
        line-height: 24px;
    }

    .btn-confirm-order--disabled {
        background: linear-gradient(0deg, #e0a0a5 0%, #f0a0a0 100%);
        box-shadow: none;
        cursor: not-allowed;
        opacity: 0.6;
        width: 100%;
        border: none;
        border-radius: 8px;
        padding: 8px 12px;
        display: grid;
        gap: 8px;
        color: #ffffff;
    }

    /* success page */
    #common-success {
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        overflow: hidden;
    }

    #confetti-canvas {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 0;
    }

    .success-content {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        text-align: center;
        padding: 40px 0px;
    }

    .success-icon-wrapper {
        animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }

    @keyframes popIn {
        0%   { transform: scale(0); opacity: 0; }
        100% { transform: scale(1); opacity: 1; }
    }

    .success-title {
        font-size: 18px;
        font-weight: 500;
        line-height: 24px;
        color: #303437;
        animation: fadeUp 0.5s ease 0.2s both;
    }

    .success-content-top{
        display: grid;
        gap: 10px;
    }

    .success-message-wrapper {
        display: grid;
        gap: 10px;
    }

    .success-message {
        font-size: 16px;
        color: #303437;
        line-height: 24px;
        margin: 0;
        animation: fadeUp 0.5s ease 0.3s both;
    }


    .success-btn-wrapper{
        display: grid;
        padding: 0px 40px;
        gap: 20px;
    }

    .btn-view-order {
        display: block;
        margin-top: 12px;
        padding: 12px 40px;
        border: 1.5px solid #e53e3e;
        border-radius: 8px;
        color: #e53e3e;
        font-weight: 600;
        font-size: 15px;
        text-decoration: none;
        background: transparent;
        transition: background 0.2s, color 0.2s;
        animation: fadeUp 0.5s ease 0.4s both;
        min-width: 320px;
        text-align: center;
    }

    .btn-view-order:hover {
        background: #e53e3e;
        color: #fff;
    }

    .btn-back-home {
        display: block;
        color: #6C7072;
        font-size: 16px;
        line-height: 24px;
        text-decoration: none;
        animation: fadeUp 0.5s ease 0.5s both;
        padding: 16px 24px;
        border-radius: 8px;
        min-width: 320px;
        box-shadow: 0px 4px 16px 0px #090A0A0F;

    }

    .btn-back-home:hover {
        color: #111;
    }

    @keyframes fadeUp {
        from { opacity: 0; transform: translateY(16px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 992px) {
        .checkout-grid{
            gap: 20px;
        }

        .checkout-breadcrumb-wrapper{
            padding-top: 0;
        }

        .checkout-left{
            gap: 0;
        }

        .package-wrapper{
            padding: 30px 16px;
            gap: 10px;
        }

        .shipping-method-badge{
            padding: 6px 10px;
        }

        .package-item{
            padding: 10px;
        }

        .confirm-order-summary-card .confirm-summary-title{
            font-weight: 500;
            font-size: 18px;
            line-height: 24px;
        }
    }
/* ===== end confirm page ===== */

/* ===== order list page ===== */
    .order-list-header-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .order-list-header-wrapper .order-list-title-wrapper{
        margin-bottom: 0 !important;
    }

    .order-list-statuses-wrapper {
        display: flex;
        gap: 40px;
    }

    .order-type-dropdown {
        display: flex;
        align-items: center;
        gap: 6px;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        padding: 6px 12px;
        cursor: pointer;
        white-space: nowrap;
    }

    .order-type-select {
        border: none;
        outline: none;
        font-size: 13px;
        color: #333;
        background: transparent;
        cursor: pointer;
        appearance: none;
    }

    .order-status-tabs {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .order-status-tab {
        border: none;
        min-width: 80px;
        background: transparent;
        padding: 8px 12px;
        border-radius: 20px;
        font-size: 14px;
        line-height: 16px;
        color: #555;
        cursor: pointer;
        white-space: nowrap;
        transition: background 0.2s, color 0.2s;
    }

    .order-status-tab:hover {
        color: #111;
    }

    .order-status-tab.active {
        background: #C5202E;
        color: #fff;
    }

    /* SEARCH + SORT ROW */
    .order-list-search-sort-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        border-radius: 6px;
        padding: 8px 0px;
    }

    .order-search-wrapper {
        display: flex;
        align-items: center;
        gap: 12px;
        padding : 6px 10px;
        border: 1px solid #E3E5E5;
    }

    .order-search-input {
        border: none;
        font-size: 14px;
        line-height: 16px;
        color: #979C9E;
        background: transparent;
        padding : 8px 4px;
        gap: 12px;
    }

    .order-search-input::placeholder {
        color: #aaa;
    }

    .order-sort-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
    }

    .order-sort-label {
        font-size: 13px;
        color: #555;
    }

    .order-sort-select {
        border: none;
        outline: none;
        font-size: 13px;
        color: #333;
        background: transparent;
        cursor: pointer;
        appearance: none;
    }

    .order-list-container{
        display: grid;
        gap: 30px;
        padding-bottom: 80px;
    }

    .order-card-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        box-shadow: 0px 1px 80px 5px #11111114;
    }

    .order-card {
        display: grid;
        grid-template-columns: 270px 1fr auto;
        align-items: center;
        border: 1px solid #F2F4F5;
        background-color: #fff;
        box-shadow: 0px 1px 80px 5px #11111114;

    }

    .order-card:last-child {
        border-bottom: none;
    }

    /* Left - Order Info */
    .order-card-info {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        border-right: 1px solid #F2F4F5;
        min-width: 250px;
    }

    .order-card-meta {
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        color: #303437;
        display: flex;
        gap: 10px;
    }

    .order-card-meta .title{
        font-size: 12px;
        line-height: 16px;
        color: #72777A;
    }

    .order-card-status {
        margin-top: 6px;
        font-size: 13px;
        font-weight: 600;
        display: flex;
        gap: 6px;

    }

    /* Status colors */
    .status-to_pay{
        color: #D3180C;
    }

    .status-process, .status-sales_appr, .status-credit_appr, .status-sales_credit_appr{
        color: #A05E03;
    }

    .status-ship{
        color: #0065D0;
    }

    .status-complete{
        color: #198155;
    }

    .status-cancel, .status-sales_rej, .status-credit_rej{
        color: #D3180C;
    }

    /* Middle - Products */
    .order-card-products {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .order-card-summary {
        font-size: 14px;
        font-weight: 500;
        color: #72777A;
        line-height: 20px;
    }

    .order-card-package-summary{
         display: grid;
         gap: 4px;
    }

    .order-card-weight {
        font-size: 14px;
        line-height: 20px;
        color: #72777A;
    }

    .order-card-images {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .order-card-thumb {
        position: relative;
        display: inline-flex;
        align-items: flex-end;
    }

    .order-card-thumb img {
        width: 52px;
        height: 52px;
        object-fit: contain;
        border-radius: 4px;
    }

    .order-card-qty {
        position: absolute;
        bottom: -2px;
        right: -6px;
        border-radius: 10px;
        font-size: 12px;
        line-height: 16px;
        padding: 1px 5px;
        color: #303437;
        font-weight: 600;
    }

    #filter-order-no{
        outline: none;
    }

    /* Right - Actions */
    .order-card-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 20px;
    }

    .order-card-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 7px 16px;
        border: 1px solid #F2F4F5;
        box-shadow: 0px 4px 16px 0px #090A0A0F;
        border-radius: 8px;
        font-size: 13px;
        color: #333;
        text-decoration: none;
        background: #fff;
        white-space: nowrap;
        transition: background 0.2s, border-color 0.2s;
        min-width: 100px;
        justify-content: center;
    }

    .order-card-btn:hover {
        background: #f5f5f5;
        border-color: #bbb;
        color: #111;
    }

    @media (max-width: 991px) {

        .page-title {
            padding-top: 40px;
        }

        .account-container {
            gap: 20px;
        }

        #account-order {
            padding: 0;
            overflow: hidden;
        }

        .order-list-container {
            padding-bottom: 40px;
            overflow: hidden;
            gap: 15px;
        }

        .order-list-header-wrapper {
            overflow: hidden;
        }

        .order-list-statuses-wrapper {
            flex-direction: column;
            gap: 12px;
            width: 100%;
        }

        .order-status-tabs-wrapper {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .order-status-tabs {
            display: inline-flex;
            flex-wrap: nowrap;
            gap: 20px;
            padding-bottom: 4px;
            width: max-content;
        }

        .order-status-tabs::-webkit-scrollbar {
            display: none;
        }

        .order-status-tab {
            flex-shrink: 0;
        }

        .order-search-wrapper {
            width: 100%;
            box-sizing: border-box;
        }

        .order-search-input {
            width: 100%;
            min-width: 0;
            box-sizing: border-box;
        }

        .order-card {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            grid-template-columns: unset;
        }

        .order-card-list {
            border: 1px solid #F2F4F5;
            box-shadow: none;
        }

        .order-card-info {
            order: 1;
            flex: 1;
            min-width: unset;
            border-right: none;
            border-bottom: 1px solid #F2F4F5;
            padding: 16px;
        }

        .order-card-products {
            order: 3;
            flex: 0 0 100%;
            border-bottom: none;
            padding: 16px;
        }

        .order-card-actions {
            order: 2;
            flex-shrink: 0;
            flex-direction: column;
            justify-content: center;
            border-bottom: 1px solid #F2F4F5;
            padding: 16px;
        }
    }
/* ===== end order list page ===== */

/* ===== order detail page ===== */
    #order-detail-container{
        display: grid;
        gap: 30px;
        padding-bottom: 60px;
    }

    .order-detail-header{
        display: grid;
        gap: 5px;
        /*box-shadow: 0px 0px 0px 1px #EEEEEE;*/
    }

    .order-detail__breadcrumb {
        display: flex;
        align-items: center;
        position: relative;
    }

    .order-detail-container__orderno{
        font-weight: 500;
        font-size: 18px;
        line-height: 24px;
        color: #303437;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .order-detail-container__orderno > div > span{
        gap: 5px;
        display: grid;
        justify-content: space-between;
    }

    .order-status__banner {
        padding: 30px;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
    }

    /* Banner variants per status */
    .order-status{
        padding-bottom: 30px;
        display: grid;
        gap: 30px;
        border: 1px solid #FFFFFF;
        box-shadow: 0px 1px 80px 5px #11111114;
    }

    .order-status__banner--to-pay {
        background: #FFF5F7;
    }

    .order-status__banner--to-pay .order-status__banner-title {
        color: #D3180C;
        font-weight: 700;
        font-size: 14px;
        line-height: 20px;
    }

    .order-status__banner--processing {
        background: #FFFDE6;
        border-color: #FAC775;
    }

    .order-status__banner--processing .order-status__banner-title {
        color: #A05E03;
    }

    .order-status__banner--ship {
        background: #EAF4FF;
        border-color: #B5D4F4;
    }
    .order-status__banner--ship .order-status__banner-title {
        color: #0065D0;
    }

    .order-status__banner--complete {
        background: #EAF3DE;
        border-color: #C0DD97;
    }
    .order-status__banner--complete .order-status__banner-title {
        color: #198155;
    }

    .order-status__banner--cancel {
        background: #FFF0F0;
        border-color: #F7C1C1;
    }
    .order-status__banner--cancel .order-status__banner-title {
        color: #D3180C;
    }

    /* Banner internals */
    .order-status__banner-content {
        display: grid;
        gap: 10px;
    }

    .order-status__banner-title {
        font-size: 14px;
        font-weight: 500;
    }

    .order-status__banner-desc {
        font-size: 12px;
        color: #303437;
        line-height: 16px;
    }

    .order-status__banner-sub {
        font-size: 13px;
        margin: 0;
    }

    .order-status__banner-actions {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-shrink: 0;
    }

    /* Buttons */
    .order-status__btn {
        font-size: 16px;
        line-height: 24px;
        padding: 8px 12px;
        background: transparent;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        text-decoration: none;
        transition: background 0.2s;
        justify-content: center;
    }

    .order-status__btn--paynow {
        background: linear-gradient(0deg, #C5202E, #C5202E),
        linear-gradient(0deg, #C5202E 0%, #F33C3D 100%);
        color: #FFFFFF;
        border-radius: 8px;
    }

    .order-status__btn--default,  .order-status__btn--cancel{
        font-size: 16px;
        line-height: 24px;
        color: #303437;
        border: 1px solid #F2F4F5;
    }


    .order-status__btn--reorder {
        background: #ffffff;
        color: #C5202E;
        border: solid 1px #C5202E;
        border-radius: 8px;
    }

    .order-status__btn--reorder:hover {
        background: #a81926;
        color: #fff;
    }

    /* Tracking numbers */
    .order-status__tracking {
        font-size: 13px;
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        margin: 4px 0 0;
    }

    .order-status__tracking span {
        font-weight: 500;
    }

    .order-status__copy-icon {
        cursor: pointer;
        color: #888;
        font-size: 14px;
    }

    /* Timeline */
    .order-status__timeline {
        display: flex;
        align-items: flex-start;
        margin-top: 0.5rem;
    }

    .order-status__step {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
        position: relative;
    }

    /* Connector line between steps */
    .order-status__connector {
        position: absolute;
        top: 11px;
        left: 50%;
        right: -50%;
        height: 2px;
        background: #d0d0d0;
        z-index: 0;
    }

    .order-status__connector--done {
        background: #1D9E75;
    }

    .order-status__step:last-child .order-status__connector {
        display: none;
    }

    /* Step dot */
    .order-status__dot {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 2px solid #d0d0d0;
        background: #fff;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .order-status__step--done .order-status__dot {
        border-color: #1D9E75;
        background: #fff;
    }

    .order-status__step--active .order-status__dot {
        border-color: #1D9E75;
        background: #1D9E75;
        width: 26px;
        height: 26px;
    }

    /* Checkmark inside done dot */
    .order-status__check {
        width: 10px;
        height: 10px;
    }

    /* Step labels */
    .order-status__step-labels {
        text-align: center;
        margin-top: 10px;
    }

    .order-status__step-name {
        font-size: 11px;
        color: #888;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .order-status__step--active .order-status__step-name {
        color: #111;
        font-weight: 500;
    }

    .order-status__step-date {
        font-size: 12px;
        color: #888;
        margin-top: 2px;
    }

    .order-status__step--active .order-status__step-date {
        font-weight: 500;
        color: #111;
    }

    .order-status__step-sub {
        font-size: 12px;
        color: #888;
        margin-top: 1px;
    }

    /* Responsive */
    @media (max-width: 600px) {
        .order-status__banner {
            flex-direction: column;
        }

        .order-status__step-name {
            font-size: 9px;
        }

        .order-status__step-date {
            font-size: 10px;
        }
    }

    .order-detail-content{
        display: flex;
        gap: 20px;
        align-items: flex-start;
    }

    .order-detail-content__left{
        flex: 2;
        padding: 30px;
        background: #FFFFFF;
    }

    .order-detail-content__right{
        flex: 1;
        gap: 20px;
        display: flex;
        flex-direction: column;
        box-shadow: 0px 1px 80px 5px #11111114;
    }

    .content__left--title{
        font-weight: 500;
        font-size: 18px;
        line-height: 24px;
        color: #303437;
        padding-bottom: 20px;
    }

    .content__left--packages {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* Package block */
    .package {
        border: 1px solid #F2F4F5;
        border-radius: 8px;
        overflow: hidden;
    }

    .package__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #F2F4F5;
        padding: 10px 16px;
        gap: 10px;
    }

    .package__label {
        font-size: 14px;
        font-weight: 700;
        line-height: 20px;
        color: #303437;
        text-transform: uppercase;
    }

    .package__item-count {
        font-weight: 400;
        color: #72777A;
        margin-left: 6px;
        text-transform: none;
    }

    .package__tracking {
        font-size: 12px;
        line-height: 16px;
        color: #303437;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .package__tracking strong {
        color: #303437;
        font-size: 14px;
        line-height: 20px;
        font-weight: 500;
    }

    .package__copy-icon {
        cursor: pointer;
        font-size: 14px;
        color: #72777A;
    }

    /* Package item row */
    .package__item {
        display: flex;
        gap: 16px;
        padding: 20px;
        border-bottom: 1px solid #F2F4F5;
    }

    .package__item:last-child {
        border-bottom: none;
    }

    .package__item-image {
        flex-shrink: 0;
        border-radius: 6px;
        overflow: hidden;
        background: #f9f9f9;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .package__item-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .package__item-no-image {
        width: 100%;
        height: 100%;
        background: #F2F4F5;
    }

    .package__item-info {
        display: flex;
        flex-direction: column;
        gap: 10px;
        flex: 1;
    }

    .package__item-info2 {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }


    .package__item-name {
        font-size: 16px;
        line-height: 24px;
        font-weight: 500;
        color: #303437;
    }

    .package__item-meta {
        font-size: 14px;
        line-height: 20px;
        color: #72777A;
    }

    .package__item-subtotal {
        font-size: 16px;
        font-weight: 700;
        color: #303437;
        line-height: 24px;
    }

    /* Totals section */
    .package__totals {
        border-top: 1px solid #F2F4F5;
        padding-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .package__totals-row {
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        color: #303437;
        line-height: 20px;
    }

    .package__totals-row--total {
        font-weight: 700;
        font-size: 18px;
        line-height: 24px;
    }

    .package__totals-divider {
        border-top: 1px solid #E3E5E5;
    }

    .address__content, .payment-slip__content, .help__content{
        display: grid;
        gap: 20px;
        padding: 30px;
        background: #FFFFFF;
        box-shadow: 0px 1px 80px 5px #11111114;
    }

    .address__content--title, .payment-slip__content--title{
        border-bottom: 1px solid #F2F4F5;
        box-shadow: 0px 1px 80px 5px #11111114;
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        color: #303437;
        padding-bottom: 20px;
        gap: 40px;
        display: grid;
    }

    .address__content--contact{
        display: flex;
        gap: 20px;
    }

    .address__content--entry{
        color: #72777A;
        font-size: 12px;
        line-height: 16px;
    }

    .address__content--value{
        color: #303437;
        line-height: 16px;
        font-size: 12px;
    }

    .address__content--address{
        display: grid;
        gap: 8px;
    }

    .help__content--info{
        display: grid;
        gap: 10px;
    }

    .help__content--sub{
        font-size: 12px;
        letter-spacing: 2%;
        line-height: 130%;
    }

    .help__content--title{
        border-bottom: 1px solid #F2F4F5;
        box-shadow: 0px 1px 80px 5px #11111114;
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        color: #303437;
        gap: 40px;
        display: grid;
    }

    .help__content--btn{
        font-size: 16px;
        line-height: 24px;
        color: #C5202E;
        border: 1px solid #C5202E;
        background: linear-gradient(180deg, #FFFFFF 0%, #FEEBEF 100%);
        display: grid;
        gap: 8px;
        padding:  8px 12px;
        text-align: center;
    }

    .help__content--btn a{
        text-decoration: none;
        color: #C5202E;
    }

    .pay-modal {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pay-modal__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.5);
    }

    .pay-modal__dialog {
        position: relative;
        background: #fff;
        border-radius: 12px;
        width: 100%;
        max-width: 520px;
        max-height: 90vh;
        overflow-y: auto;
        z-index: 1;
        margin: 15px 10px;
    }

    .pay-modal__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #F2F4F5;
    }

    .pay-modal__title {
        font-size: 16px;
        font-weight: 500;
        color: #303437;
    }

    .pay-modal__close {
        background: none;
        border: none;
        font-size: 16px;
        cursor: pointer;
        color: #72777A;
        padding: 4px;
    }

    .pay-modal__body {
        padding: 20px;
    }

    .pay-modal__bank-info {
        font-size: 13px;
        color: #303437;
        line-height: 1.8;
    }

    .pay-modal__bank-block {
        margin: 12px 0;
        padding-left: 12px;
        border-left: 3px solid #F2F4F5;
    }

    .pay-modal__divider {
        border-top: 1px solid #F2F4F5;
        margin: 16px 0;
    }

    .pay-modal__form {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .pay-modal__field {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .pay-modal__field label {
        font-size: 13px;
        font-weight: 500;
        color: #303437;
    }

    .pay-modal__hint {
        font-size: 12px;
        color: #72777A;
        margin: 0;
    }

    .pay-modal__field input[type="text"],
    .pay-modal__field input[type="date"],
    .pay-modal__field input[type="number"],
    .pay-modal__field select {
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 13px;
        color: #303437;
        outline: none;
    }

    .pay-modal__field input[type="number"] {
        width: 70px;
    }

    .pay-modal__required {
        color: #C5202E;
    }

    .pay-modal__time {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
    }

    .pay-modal__error {
        color: #C5202E;
        font-size: 13px;
        padding: 8px 12px;
        background: #FFF0F0;
        border-radius: 6px;
        border: 1px solid #F7C1C1;
    }

    .pay-modal__footer {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        padding: 16px 20px;
        border-top: 1px solid #F2F4F5;
    }

    .pay-modal__btn {
        padding: 9px 20px;
        border-radius: 8px;
        font-size: 14px;
        cursor: pointer;
        border: 1px solid #ddd;
        background: transparent;
        color: #303437;
    }

    .pay-modal__btn--confirm {
        background: #C5202E;
        color: #fff;
        border-color: #C5202E;
    }

    .order-track-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        padding: 12px;
        background: #fff;
        border: none;
        border-top: 1px solid #F2F4F5;
        font-size: 14px;
        color: #C5202E;
        cursor: pointer;
        font-weight: 500;
    }

    /* Modal overlay */
    .timeline-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9;
        background: rgba(0,0,0,0.4);
        align-items: flex-end;
    }

    .timeline-modal-overlay.open {
        display: flex;
    }

    /* Modal panel slides up */
    .timeline-modal {
        background: #fff;
        width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 80vh;
        display: flex;
        flex-direction: column;
        animation: slideUp 0.3s ease;
    }

    @keyframes slideUp {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }

    .timeline-modal__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid #F2F4F5;
    }

    .timeline-modal__header h5 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
    }

    .timeline-modal__header button {
        background: none;
        border: none;
        font-size: 18px;
        cursor: pointer;
        color: #72777A;
    }

    .timeline-modal__body {
        padding: 20px;
        overflow-y: auto;
    }

    /* Vertical timeline inside modal */
    .order-status__timeline--vertical {
        display: flex;
        flex-direction: column;
    }

    .timeline-vertical__step {
        display: flex;
        gap: 16px;
        position: relative;
    }

    .timeline-vertical__left {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-shrink: 0;
    }

    .timeline-vertical__dot {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 2px solid #d0d0d0;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        z-index: 1;
    }

    .timeline-vertical__step--done .timeline-vertical__dot {
        border-color: #1D9E75;
    }

    .timeline-vertical__step--active .timeline-vertical__dot {
        border-color: #1D9E75;
        background: #1D9E75;
        width: 26px;
        height: 26px;
    }

    /* Vertical connector line */
    .timeline-vertical__line {
        width: 2px;
        flex: 1;
        background: #d0d0d0;
        margin: 4px 0;
        min-height: 24px;
    }

    .timeline-vertical__step--done .timeline-vertical__line {
        background: #1D9E75;
    }

    /* Hide line on last step */
    .timeline-vertical__step:last-child .timeline-vertical__line {
        display: none;
    }

    .timeline-vertical__content {
        padding-bottom: 24px;
        flex: 1;
    }

    .timeline-vertical__name {
        font-size: 14px;
        font-weight: 500;
        color: #303437;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .timeline-vertical__step--active .timeline-vertical__name {
        color: #1D9E75;
        font-weight: 700;
    }

    .timeline-vertical__date {
        font-size: 12px;
        color: #888;
        margin-top: 4px;
    }

    .timeline-vertical__sub {
        font-size: 12px;
        color: #888;
        margin-top: 2px;
    }

    @media (max-width: 991px) {

        .order-detail__breadcrumb > .simple-breadcrumb{
            padding: 8px 0;
        }

        #order-detail-container {
            padding-bottom: 100px; /* space for fixed bottom bar */
            gap: 15px;
        }

        /* Stack left/right vertically */
        .order-detail-content {
            flex-direction: column;
        }

        .order-detail-content__left,
        .order-detail-content__right {
            flex: unset;
            width: 100%;
        }

        .order-detail-content__left{
            padding: 30px 8px;
        }

        .order-status{
            gap: 10px;
            padding-bottom: 0;
        }

        .order-status__banner{
            padding: 10px;
        }

        /* Hide actions inside banner on mobile */
        .order-status__banner-actions {
            display: none;
        }

        /* Track Order toggle button */
        .order-track-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            width: 100%;
            padding: 6px;
            background: #fff;
            border: none;
            border-top: 1px solid #F2F4F5;
            font-size: 14px;
            color: #C5202E;
            cursor: pointer;
            font-weight: 500;
        }

        /* Timeline hidden by default on mobile */
        .order-status__timeline-wrapper {
            overflow: hidden;
            max-height: 0;
            transition: max-height 0.3s ease;
        }

        .order-status__timeline-wrapper.open {
            max-height: 300px;
        }

        /* Fixed bottom action bar */
        .order-actions-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            gap: 12px;
            padding: 12px 16px;
            background: #fff;
            border-top: 1px solid #F2F4F5;
            box-shadow: 0px -4px 16px rgba(0,0,0,0.08);
            z-index: 9;
            justify-content: space-evenly;
        }

        .order-actions-bar__btn {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 500;
            text-decoration: none;
            cursor: pointer;
            border: none;
        }

        .order-actions-bar__btn--paynow {
            background: #C5202E;
            color: #fff;
        }

        .order-actions-bar__btn--cancel {
            background: #fff;
            color: #303437;
            border: 1px solid #E3E5E5;
        }

        .order-actions-bar__btn--default {
            background: #fff;
            color: #303437;
            border: 1px solid #E3E5E5;
        }

        .package__item{
            padding: 20px 10px;
            align-items: center;
        }

        .package__item-image{
            width: 50px;
            height: 50px;
        }

        .package__header{
            padding: 10px 6px;
        }

    }

    /* Hide toggle button on desktop */
    @media (min-width: 992px) {
        .order-track-toggle {
            display: none;
        }
        .order-status__timeline-wrapper {
            max-height: unset !important;
        }
    }

    .input-error {
        border-color: #C5202E !important;
    }

    .field-error {
        font-size: 12px;
        color: #C5202E;
        margin-top: 2px;
    }

    .slip-status--payment_text{
        font-weight: 700;
        font-size: 12px;
        line-height: 16px;
        color: #303437;
    }

    .slip-status{
        font-size: 12px;
        line-height: 130%;
        letter-spacing: 2%;
        font-style: italic;
    }

    .slip-status__header {
        display: flex;
        gap: 8px;
    }

    .slip-status__content{
        display: grid;
        gap: 8px;
    }

    .slip-status__date{
        font-size: 12px;
        line-height: 130%;
        letter-spacing: 2%;
        color: #515151;
    }

    .slip-status--1{
        color: #A05E03
    }

    .slip-status--2{
        color: #198155;
    }

    .slip-status--3{
        color: #C5202E;
    }

    .slip-status--4{
        color: #C5202E;
    }
/* ===== end order details page ===== */

@media (max-width: 991px) {
    .iti__flag {
        background-image: url('/catalog/view/stylesheet/intl-tel-input/img/flags.webp') !important;
    }

    /* For non-retina */
    @media (max-resolution: 1.5dppx) {
        .iti__flag {
            background-image: url('/catalog/view/stylesheet/intl-tel-input/img/flags.webp') !important;
        }
    }
}