:root {
    --gp-blue: #0f7ad8;
    --gp-blue-dark: #06345a;
    --gp-blue-mid: #095996;
    --gp-ink: #14202b;
    --gp-muted: #667789;
    --gp-line: #dfe7ee;
    --gp-surface: #ffffff;
    --gp-soft: #f3f8fc;
    --gp-green: #18b679;
    --gp-gold: #ffbd24;
    --gp-shadow: 0 18px 45px rgba(16, 38, 57, .11);
}

a {
    color: var(--gp-blue-mid);
}

main > .container {
    padding: 85px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.bg-grafur, .btn-grafur{
    background: #0079a8;
    color: white;
}

.bg-grafur a {
    color: white;
}

.text-grafur {
    color:#0079a8 !important;
}

.text-grafur.dropdown-item:active {
    background: #eee;
}

.btn-grafur:hover, .btn-grafur:active  {
    background: #008cb6;
    color: white;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    padding: 0.55rem 0.75rem;
}

.form-control:focus{
    border-color: #0079a8;
    box-shadow: none;
}

button.navbar-toggler:focus{
    border: none;
    box-shadow: none !important;
}

.offcanvas.show li.nav-item {
    border-bottom: 1px solid #aeaaaa !important;
}



.select2-container--default .select2-selection--single {
    border: 1px solid #d9d8d8;
}

.select2-results__option--highlighted {
    background: #0079a8 !important;
}

.select2-results__option {
    padding: 2px 6px;
}

.btn-outline-grafur {
    border-color: #0079a8;
    color: #0079a8;
    background: #fff;
}

.btn-outline-grafur:hover,
.btn-outline-grafur:active {
    background: #e7f5f8;
    border-color: #0079a8;
    color: #006b91;
}

.storefront,
.cart-page,
.checkout-page,
.order-page,
.product-detail {
    color: #17212b;
}

.store-eyebrow {
    color: #0079a8;
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.store-hero {
    align-items: stretch;
    background: #f5fbfa;
    border: 1px solid #d9edf0;
    border-radius: 8px;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.store-hero-content {
    padding: 2rem;
}

.store-hero h1,
.catalog-header h2,
.cart-heading h1,
.product-detail h1,
.order-status-hero h1 {
    font-weight: 800;
    letter-spacing: 0;
    margin: 0;
}

.store-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.store-hero p {
    color: #51606d;
    font-size: 1.05rem;
    margin: 0.75rem 0 1.25rem;
    max-width: 640px;
}

.store-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.store-hero-panel {
    background: #12303d;
    color: #fff;
    display: grid;
    gap: 1px;
    grid-template-rows: 1fr 1fr;
}

.store-hero-panel > div {
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem;
}

.store-hero-panel strong,
.store-hero-panel span {
    display: block;
}

.store-hero-panel strong {
    font-size: 1.05rem;
}

.panel-label {
    color: #98d6df;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.catalog-section {
    padding-bottom: 2rem;
}

.catalog-header,
.cart-heading,
.category-title-row,
.cart-item-title,
.order-item-line,
.summary-line,
.checkout-item-line {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.catalog-header {
    margin: 0 0 1rem;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.category-pills a {
    border: 1px solid #cfe4e8;
    border-radius: 999px;
    color: #0079a8;
    font-size: 0.9rem;
    padding: 0.35rem 0.75rem;
    text-decoration: none;
}

.category-pills a:hover {
    background: #e7f5f8;
}

.category-block {
    margin-top: 1.75rem;
}

.category-title-row {
    border-bottom: 1px solid #e5edf0;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
}

.category-title-row h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.category-title-row span {
    color: #697783;
    font-size: 0.92rem;
}

.product-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.cart-item,
.checkout-summary,
.product-order-panel,
.order-panel,
.empty-state {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 8px;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.product-card-media {
    aspect-ratio: 1 / 1;
    background: #f4f7f8;
    display: block;
}

.product-card-media img,
.modal-product-media img,
.product-detail-media img,
.cart-item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem;
}

.product-card h4 {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 0.35rem;
}

.product-card p {
    color: #5e6b76;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.product-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: auto;
}

.product-card-meta strong,
.detail-price {
    color: #0f766e;
    font-weight: 500;
}

.product-card-meta span {
    color: #697783;
    font-size: 0.84rem;
}

.product-card-actions {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr 1fr;
}

.order-modal .modal-header {
    border-bottom: 1px solid #e6eef0;
}

.modal-product-media,
.product-detail-media {
    aspect-ratio: 1 / 1;
    background: #f4f7f8;
    border: 1px solid #e0e8eb;
    border-radius: 8px;
    overflow: hidden;
}

.product-order-form .form-label,
.checkout-form .form-label {
    color: #33414d;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.price-preview {
    background: #f5fbfa;
    border: 1px solid #d9edf0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem;
    position: sticky;
    bottom: 0;
    right: 0;
}

.price-preview span {
    color: #5e6b76;
    font-size: 0.86rem;
}

.price-preview strong {
    color: #12303d;
    font-size: 1.45rem;
}

.price-preview small {
    color: #647480;
}

.large-format-box {
    background: #fbfcfd;
    border: 1px solid #e1e9ec;
    border-radius: 8px;
    padding: 0.85rem;
}

.product-detail {
    padding-bottom: 2rem;
}

.product-detail h1 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    margin-bottom: 0.5rem;
}

.detail-price {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.detail-description {
    color: #51606d;
    line-height: 1.65;
}

.detail-specs {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 1.25rem 0;
}

.detail-specs div {
    background: #f7fafb;
    border: 1px solid #e1e9ec;
    border-radius: 8px;
    padding: 0.8rem;
}

.detail-specs span,
.detail-specs strong {
    display: block;
}

.detail-specs span {
    color: #687783;
    font-size: 0.82rem;
}

.detail-specs strong {
    font-size: 0.92rem;
}

.product-order-panel {
    padding: 1rem;
}

.cart-heading {
    margin-bottom: 1rem;
}

.cart-heading h1 {
    font-size: 2rem;
}

.cart-list {
    display: grid;
    gap: 0.85rem;
}

.cart-item {
    display: grid;
    gap: 1rem;
    grid-template-columns: 120px minmax(0, 1fr);
    padding: 0.85rem;
}

.cart-item img {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
}

.cart-item h2 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.cart-item a {
    color: #0079a8;
    font-size: 0.88rem;
}

.cart-item-meta {
    color: #5d6a75;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.6rem 0;
}

.cart-item-meta span {
    background: #f4f7f8;
    border-radius: 999px;
    font-size: 0.82rem;
    padding: 0.25rem 0.55rem;
}

.cart-item-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cart-qty-form {
    width: 150px;
}

.checkout-summary {
    padding: 1rem;
    position: sticky;
    top: 88px;
}

.checkout-summary h2,
.order-panel h2,
.payment-methods h2 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 1rem;
}

.summary-line {
    border-top: 1px solid #edf2f4;
    padding: 0.85rem 0;
}

.summary-line.total strong {
    color: #0f766e;
    font-size: 1.25rem;
}

.empty-state {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 3rem 1rem;
    text-align: center;
}

.empty-state i {
    color: #0079a8;
    font-size: 2rem;
}

.empty-state h2 {
    font-size: 1.2rem;
    font-weight: 800;
}

.checkout-form,
.payment-methods {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 8px;
    padding: 1rem;
}

.payment-methods {
    margin-top: 1rem;
}

.payment-method {
    align-items: flex-start;
    border: 1px solid #e1e9ec;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.85rem;
}

.payment-method input {
    margin-top: 0.2rem;
}

.payment-method span,
.payment-method strong,
.payment-method small {
    display: block;
}

.payment-method small {
    color: #63717d;
}

.checkout-items {
    display: grid;
    gap: 0.75rem;
}

.checkout-item-line {
    border-bottom: 1px solid #edf2f4;
    padding-bottom: 0.75rem;
}

.checkout-item-line span {
    color: #4b5964;
}

.order-status-hero {
    background: #005e8b;
    border-radius: 8px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding: 1.5rem;
}

.order-status-hero .store-eyebrow {
    color: #98d6df;
}

.order-status-hero p {
    margin: 0;
}

.order-hero-statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-panel {
    padding: 1rem;
}

.order-progress-panel {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
}

.order-progress-header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.order-progress-header h2 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
}

.order-status-pill,
.payment-status-chip {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 0.4rem;
    line-height: 1.2;
    padding: 0.38rem 0.65rem;
    white-space: nowrap;
}

.order-status-pill.is-active {
    background: #e7f7f4;
    color: #0f766e;
}

.order-status-pill.is-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.payment-status-chip.is-warning {
    background: #fff3d7;
    color: #8a5200;
}

.payment-status-chip.is-success {
    background: #e4f8ec;
    color: #167044;
}

.payment-status-chip.is-danger {
    background: #fee2e2;
    color: #b91c1c;
}

.payment-status-chip.is-neutral {
    background: #edf6f8;
    color: #12303d;
}

.order-progress-steps {
    display: grid;
    gap: 0.35rem;
    grid-template-columns: repeat(7, minmax(96px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.15rem;
}

.order-progress-step {
    color: #7a8791;
    min-height: 88px;
    min-width: 96px;
    padding-top: 2.25rem;
    position: relative;
    text-align: center;
}

.order-progress-step::before {
    background: #dfe8eb;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
    top: 1rem;
}

.order-progress-step:first-child::before {
    left: 50%;
}

.order-progress-step:last-child::before {
    right: 50%;
}

.order-progress-step.is-done::before {
    background: #0f766e;
}

.order-progress-step.is-current::before {
    background: linear-gradient(90deg, #0f766e 0%, #0f766e 50%, #dfe8eb 50%, #dfe8eb 100%);
}

.order-progress-step:first-child.is-current::before {
    background: #dfe8eb;
}

.order-progress-step:last-child.is-current::before {
    background: #0f766e;
}

.order-progress-marker {
    align-items: center;
    background: #fff;
    border: 2px solid #cfdbe0;
    border-radius: 999px;
    color: #9aa8b1;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 2rem;
    z-index: 1;
}

.order-progress-marker i {
    font-size: 0.65rem;
}

.order-progress-step strong,
.order-progress-step small {
    display: block;
}

.order-progress-step strong {
    color: inherit;
    font-size: 0.86rem;
    line-height: 1.2;
}

.order-progress-step small {
    font-size: 0.74rem;
    line-height: 1.25;
    margin-top: 0.25rem;
}

.order-progress-step.is-done {
    color: #0f766e;
}

.order-progress-step.is-done .order-progress-marker {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.order-progress-step.is-current {
    color: #0079a8;
}

.order-progress-step.is-current .order-progress-marker {
    background: #0079a8;
    border-color: #bdebf2;
    box-shadow: 0 0 0 4px rgba(0, 121, 168, 0.14);
    color: #fff;
}

.order-progress-alert {
    align-items: center;
    border-radius: 8px;
    display: flex;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding: 0.75rem 0.85rem;
}

.order-progress-alert.is-danger {
    background: #fff1f2;
    color: #b91c1c;
}

.payment-status-card {
    border: 1px solid #e1e9ec;
    border-left: 4px solid #9aa8b1;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    padding: 0.85rem;
}

.payment-status-card span,
.payment-status-card strong,
.payment-status-card p {
    display: block;
}

.payment-status-card span {
    color: #667784;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.payment-status-card strong {
    align-items: center;
    display: flex;
    gap: 0.45rem;
    margin-top: 0.25rem;
}

.payment-status-card p {
    color: #52616d;
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0.5rem 0 0;
}

.payment-status-card.is-warning {
    background: #fffaf0;
    border-left-color: #d97706;
}

.payment-status-card.is-success {
    background: #f0fdf4;
    border-left-color: #16a34a;
}

.payment-status-card.is-danger {
    background: #fff1f2;
    border-left-color: #dc2626;
}

.payment-status-card.is-neutral {
    background: #f7fafb;
    border-left-color: #7a8791;
}

.order-item-line {
    align-items: flex-start;
    border-top: 1px solid #edf2f4;
    padding: 1rem 0;
}

.bank-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.bank-list div {
    background: #f7fafb;
    border: 1px solid #e1e9ec;
    border-radius: 8px;
    padding: 0.75rem;
}

.bank-list span,
.bank-list strong,
.bank-list small {
    display: block;
}

.bank-list strong {
    color: #12303d;
    font-size: 1.05rem;
}

@media (max-width: 1199px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .store-hero {
        grid-template-columns: 1fr;
    }

    .store-hero-panel {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .catalog-header,
    .cart-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-pills {
        justify-content: flex-start;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .checkout-summary {
        position: static;
    }
}

@media (max-width: 575px) {
    main > .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .store-hero-content {
        padding: 1.25rem;
    }

    .store-hero-panel {
        grid-template-columns: 1fr;
    }

    .product-grid {
        gap: 0.75rem;
    }

    .product-card-body {
        padding: 0.75rem;
    }

    .product-card-actions {
        grid-template-columns: 1fr;
    }

    .order-progress-header {
        flex-direction: column;
        gap: 0.65rem;
    }

    .order-status-pill,
    .payment-status-chip {
        white-space: normal;
    }

    .cart-item {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .cart-item-title,
    .order-item-line {
        align-items: flex-start;
        flex-direction: column;
    }

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

.front-body {
    background: #f5f8fb;
    color: #17212b;
}

.front-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #e1e9ef;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.front-navbar {
    min-height: 60px;
    padding: 0;
}

.front-brand {
    align-items: center;
    color: #17212b;
    display: inline-flex;
    gap: 0.75rem;
    min-width: 210px;
    text-decoration: none;
}

.front-brand:hover {
    color: #17212b;
}

.front-brand img {
    height: 42px;
    object-fit: contain;
    width: auto;
}

.front-brand strong,
.front-brand small {
    display: block;
    line-height: 1.15;
}

.front-brand strong {
    font-size: 1rem;
    font-weight: 900;
}

.front-brand small {
    color: #667789;
    font-size: 0.75rem;
    font-weight: 700;
}

.front-toggler {
    border: 1px solid #d8e4eb;
    border-radius: 8px;
    color: #0f7ad8;
    padding: 0.45rem 0.6rem;
}

.front-nav-collapse {
    align-items: center;
    gap: 1rem;
}

.front-nav-links {
    align-items: center;
    display: flex;
    gap: 0.2rem;
}

.front-nav-links a,
.front-action-link {
    align-items: center;
    border-radius: 8px;
    color: #006da9;
    display: inline-flex;
    gap: 0.42rem;
    line-height: 1.2;
    min-height: 32px;
    padding: 0.2rem 0.6rem;
    text-decoration: none;
}

.front-nav-links a:hover,
.front-action-link:hover {
    background: #e8f3fb;
    color: #095996;
}

.front-nav-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
    margin-left: auto;
}

.front-action-link {
    background: #fff;
    border: 1px solid #dbe7ee;
}

.front-action-link.is-primary,
.front-logout-button {
    background: #fff;
    border-color: #0f7ad8;
    color: #0f7ad8;
}

.front-action-link.is-primary:hover,
.front-logout-button:hover {
    background: #095996;
    border-color: #095996;
    color: #fff;
}

.front-logout-button {
    font: inherit;
}

.front-cart-link span {
    align-items: center;
    background: #16a34a;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.72rem;
    height: 1.25rem;
    justify-content: center;
    min-width: 1.25rem;
    padding: 0 0.3rem;
}

.front-nav-actions .dropdown-menu {
    border: 1px solid #dfe8ef;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(17, 36, 50, 0.12);
    padding: 0.35rem;
}

.front-nav-actions .dropdown-item {
    border-radius: 6px;
    color: #006da9;
}

.front-main > .container {
    padding: 1.25rem 15px 2rem;
}

.front-main .cart-heading {
    background: #fff;
    border: 1px solid #e0e8ef;
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(17, 36, 50, 0.06);
    margin-bottom: 1rem;
    padding: 1rem;
}

.front-main .cart-heading h1 {
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: 0;
}

.front-footer {
    background: #102432;
    color: #cdd9e2;
    padding: 2rem 0;
}

.front-footer-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
}

.front-footer-brand img {
    background: #fff;
    border-radius: 8px;
    max-width: 155px;
    padding: 0.45rem;
}

.front-footer p {
    color: #9fb2c0;
    line-height: 1.55;
    margin: 0.85rem 0 0;
}

.front-footer strong,
.front-footer a,
.front-footer span {
    display: block;
}

.front-footer strong {
    color: #fff;
    margin-bottom: 0.65rem;
}

.front-footer a,
.front-footer span {
    color: #cdd9e2;
    margin: 0.38rem 0;
    text-decoration: none;
}

.front-footer a:hover {
    color: #fff;
}

.front-store-hero {
    align-items: center;
    background-color: #102432;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    color: #fff;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 1.25rem;
    min-height: 300px;
    overflow: hidden;
    padding: 1.5rem;
}

.front-store-hero .store-eyebrow {
    color: #9be4ef;
}

.front-store-hero h1 {
    font-size: clamp(1rem, 2vw, 3.35rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
    max-width: 720px;
}

.front-store-hero p {
    color: #dce9ef;
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0.75rem 0 1rem;
    max-width: 600px;
}

.front-store-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.front-store-hero-stats {
    display: grid;
    gap: 0.5rem;
    min-width: 220px;
}

.front-store-hero-stats div {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
}

.front-store-hero-stats strong,
.front-store-hero-stats span {
    display: block;
}

.front-store-hero-stats strong {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.1;
}

.front-store-hero-stats span {
    color: #c9d9e2;
    font-size: 0.78rem;
    font-weight: 800;
    margin-top: 0.25rem;
    text-transform: uppercase;
}

.catalog-header h2 {
    font-size: 1.55rem;
}

.product-card {
    box-shadow: 0 16px 38px rgba(17, 36, 50, 0.06);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    border-color: #bdd9e8;
    box-shadow: 0 22px 46px rgba(17, 36, 50, 0.11);
    transform: translateY(-2px);
}

.product-card-media {
    overflow: hidden;
}

.product-card-media img {
    transition: transform 0.25s ease;
}

.product-card:hover .product-card-media img {
    transform: scale(1.03);
}

.customer-page {
    color: #17212b;
}

.customer-hero {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e0e8ef;
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(17, 36, 50, 0.06);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem;
}

.customer-hero h1 {
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0;
}

.customer-hero p {
    color: #667789;
    margin: 0.35rem 0 0;
}

.customer-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.customer-form-card {
    background: #fff;
    border: 1px solid #e0e8ef;
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(17, 36, 50, 0.06);
    padding: 1rem;
}

.customer-section-heading {
    border-bottom: 1px solid #e8eff4;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
}

.customer-section-heading span,
.customer-section-heading strong {
    display: block;
}

.customer-section-heading span {
    color: #667789;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.customer-section-heading strong {
    font-size: 1.05rem;
}

.customer-status-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1.2;
    padding: 0.32rem 0.55rem;
    white-space: nowrap;
}

.customer-status-badge.is-success {
    background: #e9f8f0;
    color: #167044;
}

.customer-status-badge.is-warning {
    background: #fff4d7;
    color: #8a5200;
}

.customer-status-badge.is-danger {
    background: #fff1f2;
    color: #b91c1c;
}

.customer-status-badge.is-neutral {
    background: #edf4f8;
    color: #405364;
}

.customer-page .order-panel,
.front-main .order-panel,
.front-main .checkout-form,
.front-main .checkout-summary,
.front-main .product-order-panel,
.front-main .empty-state {
    box-shadow: 0 16px 38px rgba(17, 36, 50, 0.06);
}

.customer-page .grid-view {
    overflow-x: auto;
}

.customer-page .table,
.front-main .table {
    margin-bottom: 0;
}

.customer-page .table th,
.front-main .table th {
    background: #f7fafc;
    border-bottom: 1px solid #e2eaf0;
    color: #5b6b78;
    font-size: 0.78rem;
    font-weight: 850;
    padding: 0.75rem;
    text-transform: uppercase;
}

.customer-page .table td,
.front-main .table td {
    border-bottom: 1px solid #eef3f6;
    padding: 0.8rem 0.75rem;
    vertical-align: middle;
}

.front-login-page {
    display: grid;
    min-height: 62vh;
    place-items: center;
}

.front-login-card {
    background: #fff;
    border: 1px solid #e0e8ef;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(17, 36, 50, 0.12);
    max-width: 430px;
    padding: 1.25rem;
    width: 100%;
}

.front-login-brand {
    border-bottom: 1px solid #e8eff4;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    text-align: center;
}

.front-login-brand img {
    max-width: 160px;
}

.front-login-brand span {
    color: #667789;
    display: block;
    margin-top: 0.65rem;
}

.front-login-input .input-group-text {
    background: #f7fafc;
    border-color: #d9e3ea;
    color: #607181;
}

.front-login-note {
    background: #f7fafc;
    border: 1px solid #e3ebf1;
    border-radius: 8px;
    color: #607181;
    font-size: 0.88rem;
    line-height: 1.45;
    margin-top: 1rem;
    padding: 0.75rem;
}

@media (max-width: 991px) {
    .front-nav-collapse {
        align-items: stretch;
        border-top: 1px solid #e4edf2;
        margin-top: 0.75rem;
        padding: 0.75rem 0 0.25rem;
    }

    .front-nav-links,
    .front-nav-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .front-nav-actions {
        margin-left: 0;
    }

    .front-nav-actions form,
    .front-action-link {
        width: 100%;
    }

    .front-store-hero {
        grid-template-columns: 1fr;
    }

    .front-store-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-width: 0;
    }

    .front-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .front-brand span {
        display: none;
    }

    .front-store-hero {
        min-height: 360px;
        padding: 1rem;
    }

    .front-store-hero-stats {
        grid-template-columns: 1fr;
    }

    .customer-hero {
        flex-direction: column;
    }

    .customer-hero-actions,
    .customer-hero-actions .btn {
        width: 100%;
    }

    .front-footer-grid {
        grid-template-columns: 1fr;
    }
}
