.portal-shell {
    min-height: 100vh;
    background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
    overflow-x: hidden;
}
.portal-header, .portal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
}
.portal-container { width: min(1480px, calc(100% - 2rem)); margin: 0 auto; }
.portal-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.portal-header-brand,
.portal-topbar-brand {
    display: flex;
    align-items: center;
    gap: .9rem;
}
.portal-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}
.portal-logo {
    width: 137px;
    height: auto;
}
.portal-topbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    width: 100%;
    padding: .85rem 0;
    background: linear-gradient(180deg, rgba(8, 34, 66, 0.98), rgba(10, 48, 90, 0.96));
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(11, 34, 62, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.portal-topbar-inner {
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    align-items: center;
    gap: 1rem;
}
.portal-topbar-copy {
    color: #f7fbff;
}
.portal-topbar-copy h1 {
    margin: .15rem 0 .25rem;
    font-size: 1.1rem;
}
.portal-topbar-copy .eyebrow {
    color: rgba(219, 233, 249, 0.78);
}
.portal-topbar-copy p {
    margin: 0;
    color: rgba(231, 239, 249, 0.82);
    max-width: 62ch;
}
.portal-topbar-side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .85rem;
}
.portal-topbar-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .6rem;
}
.portal-topbar-compact .portal-topbar-copy p {
    display: none;
}
.price { font-size: 1.3rem; font-weight: 700; color: var(--sipedy-blue); }
.portal-product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 18px;
    background: #ffffff;
}
.portal-product-image-large {
    max-width: 520px;
    aspect-ratio: 16 / 10;
}
.portal-product-image-fallback {
    display: grid;
    place-items: center;
    color: #4d6480;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: 1px dashed rgba(8, 34, 66, 0.14);
}
.portal-showcase-actions,
.portal-card-actions,
.portal-meta,
.portal-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
}
.portal-main-with-fixed-strip {
    padding-top: 148px;
}
.portal-strip-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .7rem;
}
.portal-stat-chip {
    display: inline-flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 92px;
    padding: .65rem .85rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f4f8fd;
}
.portal-stat-chip span {
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(220, 232, 246, 0.72);
}
.portal-stat-chip strong {
    font-size: 1rem;
}
.portal-stat-chip-action {
    text-decoration: none;
}
.portal-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1rem;
}
.portal-section-heading-actions {
    justify-content: flex-end;
    align-items: center;
}
.portal-topbar-fixed .button.secondary,
.portal-topbar-fixed .button.ghost {
    border-color: rgba(255, 255, 255, 0.16);
    color: #f7fbff;
}
.portal-topbar-fixed .button.secondary {
    background: rgba(255, 255, 255, 0.12);
}
.portal-topbar-fixed .button.ghost {
    background: rgba(255, 255, 255, 0.04);
}
.portal-topbar-fixed .button.secondary:hover,
.portal-topbar-fixed .button.ghost:hover {
    background: rgba(255, 255, 255, 0.18);
}
.portal-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
}
.portal-action-form {
    display: inline-flex;
}
.portal-action-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}
.portal-action-label {
    white-space: nowrap;
}
.portal-section-heading h1,
.portal-section-heading h2 {
    margin: .2rem 0 0;
}
.portal-section-counter {
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(15, 53, 97, 0.08);
    color: #123f73;
    font-weight: 600;
}
.portal-search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: .75rem;
    margin-bottom: 1.1rem;
}
.portal-search-form label {
    flex: 1 1 240px;
}
.portal-catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.portal-catalog-card {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    padding: .9rem;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(8, 34, 66, 0.08);
    box-shadow: 0 12px 28px rgba(11, 34, 62, 0.06);
}
.portal-catalog-media {
    display: block;
    padding: .85rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
    border: 1px solid rgba(8, 34, 66, 0.06);
}
.portal-catalog-body {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.portal-catalog-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
}
.portal-price-old {
    margin: 0;
    color: #8391a6;
    text-decoration: line-through;
    font-size: .9rem;
}
.portal-price-main {
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    font-weight: 700;
    line-height: 1;
    color: #111d2d;
}
.portal-price-highlight {
    margin: 0;
    color: #0d9d57;
    font-weight: 600;
}
.portal-price-subtitle {
    margin: 0;
    font-size: .92rem;
    color: #31516f;
}
.portal-discount-badge {
    display: inline-flex;
    align-items: center;
    padding: .22rem .55rem;
    border-radius: 999px;
    background: rgba(13, 157, 87, 0.1);
    color: #0d9d57;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.portal-tag {
    display: inline-flex;
    align-items: center;
    padding: .32rem .58rem;
    border-radius: 10px;
    background: #dbe8ff;
    color: #205cb1;
    font-size: .82rem;
    font-weight: 600;
}
.portal-tag-neutral {
    background: #eef3f9;
    color: #49627f;
}
.portal-card-buy-form {
    display: inline-flex;
    align-items: end;
    flex-wrap: wrap;
    gap: .45rem;
}
.portal-card-qty-field {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    color: #5b7190;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.portal-card-qty-field input {
    width: 74px;
    min-height: 38px;
    padding: .45rem .55rem;
}
.portal-qty-form {
    display: flex;
    align-items: center;
    gap: .45rem;
}
.portal-qty-form input {
    width: 84px;
}
.portal-cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(8, 34, 66, 0.08);
}
.portal-cart-summary span,
.portal-cart-summary p {
    display: block;
    margin: 0;
}
.portal-cart-summary span {
    color: #5b7190;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.portal-cart-summary strong {
    display: block;
    font-size: 1.45rem;
    margin: .15rem 0;
}
.portal-cart-summary p {
    color: #49627f;
}
.portal-cart-footer form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.portal-cart-list,
.portal-order-detail-list {
    display: grid;
    gap: .9rem;
}
.portal-cart-item,
.portal-order-detail-item {
    display: grid;
    gap: .9rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(8, 34, 66, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.portal-cart-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}
.portal-cart-item-copy,
.portal-order-detail-copy {
    display: grid;
    gap: .6rem;
}
.portal-cart-item-copy h3,
.portal-order-detail-copy h3 {
    margin: 0;
    font-size: 1rem;
}
.portal-cart-item-values,
.portal-order-detail-meta {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.portal-cart-item-side {
    display: grid;
    justify-items: end;
    gap: .6rem;
}
.portal-qty-form-card {
    align-items: end;
}
.portal-remove-button {
    min-width: 110px;
}
.portal-empty-surface {
    padding: 1rem;
    border-radius: 18px;
    border: 1px dashed rgba(8, 34, 66, 0.14);
    background: #fbfdff;
}
.portal-order-detail-summary {
    margin-bottom: 1rem;
}
.portal-order-list {
    display: grid;
    gap: .9rem;
}
.portal-order-card {
    display: grid;
    gap: .8rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(8, 34, 66, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 24px rgba(11, 34, 62, 0.05);
}
.portal-order-card-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: .75rem;
}
.portal-order-card-head h3 {
    margin: .15rem 0 0;
    font-size: 1.05rem;
}
.portal-order-label {
    color: #5b7190;
    font-size: .74rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.portal-order-card-body {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.portal-order-field {
    display: grid;
    gap: .18rem;
}
.portal-order-field span {
    color: #5b7190;
    font-size: .74rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.portal-order-field strong {
    color: #082242;
    font-size: .96rem;
}
.portal-order-card-actions {
    display: flex;
    justify-content: flex-end;
}
.portal-empty-state {
    display: grid;
    justify-items: start;
    gap: .8rem;
    padding: .5rem 0;
}
.portal-empty-state p {
    margin: 0;
    color: #49627f;
}
