/* Customer storefront styles */
.od-header-top:last-child {
    margin-bottom: 0;
}

.od-addr-card {
    background: #fff;
    border: 1.5px solid #e7eef5;
    border-radius: 18px;
    padding: 16px 18px;
}

.od-addr-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    margin-bottom: 8px;
}

.od-addr-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #003C71;
    font-size: .9rem;
    font-weight: 800;
}

.od-ship-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    color: #111;
    background: #eef3f8;
}

.od-ship-tag.is-campus {
    background: #bdffc1;
}

.od-ship-tag.is-post {
    background: #ffc3c3;
}

.od-addr-card-name {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    color: #1d2a38;
}

.od-addr-card-name span {
    color: #6b7c8d;
    font-size: .88rem;
}

.od-addr-card-str {
    margin-top: 4px;
    color: #6b7c8d;
    font-size: .86rem;
    line-height: 1.5;
}

.od-task-now {
    margin: 0 0 12px;
    color: #003C71;
    font-size: 1rem;
    font-weight: 800;
}

.od-summary-card.is-task .od-summary-title {
    margin-bottom: 4px;
    padding-bottom: 0;
    border-bottom: 0;
}

.od-cancel-more {
    margin-top: 12px;
}

.od-cancel-more>summary {
    cursor: pointer;
    color: #8a5a55;
    font-size: .82rem;
    font-weight: 700;
    list-style: none;
}

.od-cancel-more>summary::-webkit-details-marker {
    display: none;
}

.od-cancel-more>summary:hover {
    color: #b42318;
}

.od-cancel-more .od-cancel-btn {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .od-layout.is-pending .od-top {
        order: -2;
    }

    .od-layout.is-pending .od-side {
        order: -1;
        position: static;
    }
}

.od-delivery {
    margin: 16px;
    padding: 16px;
    border: 1px solid #e3edf5;
    border-radius: 14px;
    background: #f8fafc;
}

.od-delivery.is-arrived {
    background: #f5faf7;
    border-color: #d4e6da;
}

.od-delivery.is-done {
    background: #f4faf6;
    border-color: #d4e8da;
}

.od-delivery-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
}

.od-delivery-lead {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    flex: 1 1 200px;
}

.od-delivery-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: #eef4fb;
    color: #003C71;
    font-size: .9rem;
}

.od-delivery.is-arrived .od-delivery-icon,
.od-delivery.is-done .od-delivery-icon {
    background: #e5f4ea;
    color: #1b6b3a;
}

.od-delivery-copy {
    min-width: 0;
    flex: 1;
}

.od-delivery-kicker {
    color: #7a8c9d;
    font-size: .72rem;
    font-weight: 700;
}

.od-delivery-status {
    margin-top: 2px;
    color: #003C71;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.35;
}

.od-delivery.is-arrived .od-delivery-status,
.od-delivery.is-done .od-delivery-status {
    color: #1b6b3a;
}

.od-delivery-trackno {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    margin-top: 6px;
    color: #5a7084;
    font-size: .82rem;
}

.od-delivery-trackno strong {
    color: #003C71;
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .02em;
    word-break: break-all;
}

.od-delivery-meta {
    margin-top: 4px;
    color: #7a8c9d;
    font-size: .78rem;
    line-height: 1.4;
    word-break: break-word;
}

.od-delivery-tools {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    flex: 0 0 auto;
    margin-top: 0;
}

.od-delivery-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid #d5e0ea;
    border-radius: 10px;
    background: #fff;
    color: #003C71;
    font-family: inherit;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.od-delivery-chip:hover,
.od-delivery-chip:focus {
    background: #eef4fb;
    border-color: #b9cde0;
    color: #003C71;
}

.od-delivery-chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #c9a227;
    color: #00284d;
    font-size: .72rem;
    font-weight: 800;
}

.od-delivery-receive {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #d5e0ea;
}

.od-delivery-receive:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.od-delivery .od-receive-prompt {
    display: grid;
    gap: 10px;
}

.od-delivery .od-receive-copy strong {
    color: #1b6b3a;
}

.od-delivery.is-arrived .od-receive-copy strong {
    color: #146c2e;
}

.od-delivery .od-receive-btn {
    width: 100%;
    min-height: 44px;
}

.od-delivery .od-receive-done {
    align-items: flex-start;
}

@media (max-width: 639.98px) {

    .od-header-card,
    .od-addr-card {
        padding: 16px;
    }

    .od-delivery {
        margin: 12px 16px 16px;
        padding: 14px 16px;
    }

    .od-delivery-head {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .od-delivery-tools {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        padding-left: 46px;
    }
}

@media (min-width: 640px) {
    .od-delivery {
        margin: 16px 18px;
        padding: 16px 18px;
    }

    .od-delivery:not(.is-arrived) .od-receive-prompt {
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 12px 16px;
    }

    .od-delivery:not(.is-arrived) .od-receive-btn {
        width: auto;
        min-width: 180px;
    }
}
.shop-main {
    flex: 1 0 auto;
}

.shop-header {
    background: var(--psu-blue);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    box-shadow: 0 8px 24px rgba(0, 32, 64, 0.18);
}

.shop-header-spacer {
    width: 100%;
    flex-shrink: 0;
    pointer-events: none;
    min-height: 104px;
    height: var(--shop-header-h, 104px);
    background: var(--psu-blue);
}

.shop-topbar {
    background: var(--psu-blue-dark);
    font-size: 12px;
    max-height: 34px;
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.22s ease;
}

.shop-header.is-compact .shop-topbar {
    max-height: 0;
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {

    .shop-header-spacer,
    .shop-topbar {
        transition: none;
    }
}

.shop-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 36px;
}

.shop-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    overflow: hidden;
    min-width: 0;
    font-size: 12px;
}

.shop-topbar-left i {
    color: var(--psu-gold-light);
    margin-right: 4px;
}

.shop-topbar-brand-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.shop-topbar-brand-link:hover,
.shop-topbar-brand-link.active {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(242, 216, 137, 0.4);
}

.shop-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.shop-topbar-link {
    color: rgba(242, 216, 137, 0.9);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 0;
    transition: color .15s ease;
}

.shop-topbar-link:hover,
.shop-topbar-link.active {
    color: #fff;
}

.shop-topbar-link i {
    font-size: 12px;
}

.shop-topbar-divider {
    color: rgba(242, 216, 137, 0.25);
    font-size: 11px;
    user-select: none;
}

.shop-admin-link {
    color: var(--psu-gold-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    white-space: nowrap;
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid rgba(242, 216, 137, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    background: rgba(201, 162, 39, 0.1);
    transition: all .15s ease;
}

.shop-admin-link:hover {
    color: #fff;
    background: rgba(201, 162, 39, 0.25);
    border-color: rgba(242, 216, 137, 0.6);
}

.shop-header-inner {
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto;
    align-items: center;
    gap: 20px;
    min-height: 68px;
    padding: 8px 0;
    min-width: 0;
}

.shop-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    min-width: 0;
    flex-shrink: 0;
}

.shop-brand:hover {
    color: #fff;
}

.shop-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #003c71;
    padding: 3px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.shop-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.shop-brand-text strong,
.shop-brand-text small {
    white-space: nowrap;
}

.shop-brand-text strong {
    font-size: 1.08rem;
}

.shop-brand-text small {
    opacity: 0.85;
    font-size: 0.78rem;
}

.shop-search {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 999px;
    padding: 4px 6px 4px 16px;
    position: relative;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
    border: 1.5px solid transparent;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.shop-search:focus-within {
    border-color: var(--psu-gold);
    box-shadow: 0 4px 18px rgba(201, 162, 39, 0.28);
}

.shop-search-icon {
    color: #8a9bb0;
    margin-right: 10px;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.shop-search:focus-within .shop-search-icon {
    color: var(--psu-blue);
}

.shop-search input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    height: 30px;
    font-size: 0.88rem;
    min-width: 0;
    color: #1d2a38;
}

.shop-search input::placeholder {
    color: #93a3b5;
}

.shop-search-clear {
    color: #8a9bb0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    margin-right: 4px;
    transition: background 0.15s ease, color 0.15s ease;
}

.shop-search-clear:hover {
    background: #eef3f8;
    color: #355064;
}

.shop-search button {
    border: 0;
    background: linear-gradient(180deg, #f2d889, var(--psu-gold));
    color: var(--psu-blue-dark);
    font-weight: 700;
    border-radius: 999px;
    padding: 6px 18px;
    font-size: 0.84rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(201, 162, 39, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
}

.shop-search button:hover {
    filter: brightness(1.06);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.45);
    transform: translateY(-1px);
}

.shop-search button:active {
    transform: translateY(0);
}

.shop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.shop-nav-btn,
.shop-nav-text {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    outline: none;
}

.shop-nav-btn:hover,
.shop-nav-btn.active,
.shop-nav-text:hover,
.shop-nav-text.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(242, 216, 137, 0.45);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.shop-nav-btn i,
.shop-nav-text i {
    font-size: 0.95rem;
    color: var(--psu-gold-light);
    transition: transform 0.2s ease;
}

.shop-nav-btn:hover i,
.shop-nav-text:hover i {
    transform: translateY(-1px);
}

.shop-cart-link {
    position: relative;
}

.shop-nav .dropdown,
.shop-nav .shop-login-btn {
    margin-left: 4px;
}

.shop-cart-badge {
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #c1121f;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 5px rgba(193, 18, 31, 0.35);
    margin-left: 2px;
}

/* Customer Notification System */
.shop-notify-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.shop-notify-btn {
    /* Inherits .shop-nav-btn */
}

.shop-notify-btn:hover i {
    animation: notifyBellSwing 0.45s ease;
}

@keyframes notifyBellSwing {

    0%,
    100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-12deg);
    }

    60% {
        transform: rotate(7deg);
    }

    80% {
        transform: rotate(-4deg);
    }
}

.shop-notify-badge {
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #c1121f;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 5px rgba(193, 18, 31, 0.4);
    margin-left: 2px;
    animation: notifyBadgePulse 2.4s infinite ease-in-out;
}

@keyframes notifyBadgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(193, 18, 31, 0.5);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 4px rgba(193, 18, 31, 0);
    }
}

.shop-notify-menu {
    width: 380px;
    max-width: calc(100vw - 20px);
    border-radius: 14px;
    border: 1px solid rgba(0, 60, 113, 0.12);
    padding: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 36px rgba(0, 40, 77, 0.18);
    margin-top: 10px;
}

.shop-notify-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
    border-bottom: 1px solid #edf2f7;
    flex-wrap: wrap;
}

.shop-notify-header-title {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.shop-notify-header-title strong {
    font-size: 0.92rem;
    color: var(--psu-blue, #003c71);
    white-space: nowrap;
}

.shop-notify-header-pill {
    font-size: 0.7rem;
    padding: 1px 7px;
    border-radius: 999px;
    background: #fee2e2;
    color: #dc2626;
    font-weight: 700;
    white-space: nowrap;
}

.shop-notify-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
}

.shop-notify-mark-all-btn,
.shop-notify-clear-all-btn {
    border: 0;
    background: transparent;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.shop-notify-mark-all-btn {
    color: var(--psu-blue, #003c71);
}

.shop-notify-mark-all-btn:hover {
    background: var(--psu-blue-light, #eaf2fa);
    color: var(--psu-blue-dark, #00284d);
}

.shop-notify-clear-all-btn {
    color: #e63946;
}

.shop-notify-clear-all-btn:hover {
    background: #ffebee;
    color: #c62828;
}

.shop-notify-tabs {
    display: flex;
    gap: 6px;
    padding: 8px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
}

.shop-notify-tab {
    border: 0;
    background: transparent;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
}

.shop-notify-tab:hover:not(.active) {
    background: #e2e8f0;
    color: #1e293b;
}

.shop-notify-tab.active {
    background: var(--psu-blue, #003c71);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 60, 113, 0.25);
}

.shop-notify-list {
    max-height: 380px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.shop-notify-list::-webkit-scrollbar {
    width: 5px;
}

.shop-notify-list::-webkit-scrollbar-track {
    background: #f8fafc;
}

.shop-notify-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.shop-notify-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.shop-notify-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: background 0.15s ease;
    cursor: pointer;
}

.shop-notify-item:last-child {
    border-bottom: 0;
}

.shop-notify-item:hover {
    background: #f8fafc;
    color: inherit;
}

.shop-notify-item.is-unread {
    background: #f2f7fd;
}

.shop-notify-item.is-unread:hover {
    background: #e7f0fa;
}

.shop-notify-item-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    flex-shrink: 0;
    min-width: 22px;
    margin-top: 2px;
}

.shop-notify-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e63946;
    box-shadow: 0 0 0 2px #fff, 0 0 6px rgba(230, 57, 70, 0.55);
    display: block;
    flex-shrink: 0;
}

.shop-notify-item-delete {
    border: 0;
    background: transparent;
    color: #94a3b8;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.15s ease;
    padding: 0;
}

.shop-notify-item:hover .shop-notify-item-delete {
    opacity: 0.85;
}

.shop-notify-item-delete:hover {
    opacity: 1 !important;
    background: #fee2e2;
    color: #dc2626;
    transform: scale(1.1);
}

.shop-notify-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.shop-notify-icon.is-paid {
    background: #e8f5e9;
    color: #2e7d32;
}

.shop-notify-icon.is-accepted {
    background: #e3f2fd;
    color: #1565c0;
}

.shop-notify-icon.is-shipped {
    background: #fff8e1;
    color: #e65100;
}

.shop-notify-icon.is-delivered {
    background: #e0f2f1;
    color: #00695c;
}

.shop-notify-icon.is-cancel {
    background: #ffebee;
    color: #c62828;
}

.shop-notify-icon.is-promo {
    background: #fef9e7;
    color: #b78103;
}

.shop-notify-icon.is-system {
    background: #ede7f6;
    color: #512da8;
}

.shop-notify-icon.is-order {
    background: #eaf2fa;
    color: #003c71;
}

.shop-notify-content {
    flex: 1;
    min-width: 0;
    padding-right: 10px;
}

.shop-notify-item-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
    line-height: 1.35;
}

.shop-notify-item.is-unread .shop-notify-item-title {
    font-weight: 700;
    color: #00284d;
}

.shop-notify-item-msg {
    font-size: 0.77rem;
    color: #475569;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-notify-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.71rem;
    color: #94a3b8;
}

.shop-notify-item-ref {
    background: #edf2f7;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.67rem;
    font-weight: 600;
    color: #475569;
}

.shop-notify-empty {
    padding: 38px 20px;
    text-align: center;
    color: #94a3b8;
}

.shop-notify-empty-icon {
    font-size: 2.2rem;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.shop-notify-empty-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 2px;
}

.shop-notify-empty-sub {
    font-size: 0.75rem;
}

.shop-notify-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
}

.shop-notify-footer a {
    color: var(--psu-blue, #003c71);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s ease;
}

.shop-notify-footer a:hover {
    color: var(--psu-blue-dark, #00284d);
    text-decoration: underline;
}

.shop-login-btn {
    background: linear-gradient(180deg, #f2d889, var(--psu-gold));
    color: var(--psu-blue-dark);
    border: 1px solid rgba(242, 216, 137, 0.5);
    border-radius: 999px;
    box-sizing: border-box;
    height: 40px;
    min-height: 40px;
    padding: 0 16px;
    font-weight: 700;
    font-size: 0.84rem;
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(201, 162, 39, 0.3);
    transition: all .2s ease;
}

.shop-login-btn:hover {
    color: var(--psu-blue-dark);
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.45);
}

.shop-user {
    background: #fff;
    color: var(--psu-blue);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    padding: 4px 10px 4px 4px;
    font-weight: 600;
    font-size: 0.84rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    max-width: 170px;
    box-shadow: 0 2px 8px rgba(0, 40, 77, 0.12);
    transition: all .2s ease;
}

.shop-user:hover,
.shop-user.show {
    color: var(--psu-blue-dark);
    background: #fff;
    border-color: rgba(201, 162, 39, 0.45);
    box-shadow: 0 4px 14px rgba(0, 40, 77, 0.18);
    transform: translateY(-1px);
}

.shop-user:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.35);
}

.shop-user span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 95px;
}

.shop-user img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(0, 60, 113, 0.15);
}

/* Dropdown Menu ลูกค้าใน Navbar */
.shop-nav .dropdown-menu {
    --bs-dropdown-link-active-bg: var(--psu-blue);
    --bs-dropdown-link-active-color: #fff;
    --bs-dropdown-link-hover-bg: #eaf2fa;
    --bs-dropdown-link-hover-color: var(--psu-blue-dark);
    min-width: 220px;
    border-radius: 14px;
    margin-top: 10px;
    border: 1px solid rgba(0, 60, 113, 0.1);
    box-shadow: 0 12px 32px rgba(0, 40, 77, 0.15);
    padding: 6px;
    background: #fff;
}

.shop-nav .dropdown-item {
    font-size: 0.92rem;
    font-weight: 500;
    padding: 9px 14px;
    border-radius: 8px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color .15s ease, color .15s ease;
}

.shop-nav .dropdown-item i {
    color: var(--psu-blue);
    width: 18px;
    text-align: center;
    font-size: 0.95rem;
    transition: transform .15s ease;
}

.shop-nav .dropdown-item:hover,
.shop-nav .dropdown-item:focus {
    background-color: #eaf2fa !important;
    color: var(--psu-blue-dark) !important;
}

.shop-nav .dropdown-item:hover i,
.shop-nav .dropdown-item:focus i {
    color: var(--psu-blue-dark);
}

.shop-nav .dropdown-item.active {
    background-color: #eaf2fa !important;
    color: var(--psu-blue) !important;
    font-weight: 600;
}

.shop-nav .dropdown-item.active i {
    color: var(--psu-blue);
}

/* เมื่อคลิก / Mousedown (:active) - ใช้สีน้ำเงิน PSU ไม่ใช่ Bootstrap Electric Blue */
.shop-nav .dropdown-item:active,
.shop-nav .dropdown-item.active:active {
    background-color: var(--psu-blue) !important;
    color: #fff !important;
}

.shop-nav .dropdown-item:active i,
.shop-nav .dropdown-item.active:active i {
    color: var(--psu-gold-light) !important;
}

/* ปุ่มออกจากระบบ (Logout) */
.shop-nav .dropdown-item.js-logout {
    color: #5a6a7e;
}

.shop-nav .dropdown-item.js-logout i {
    color: #7b8a9c;
}

.shop-nav .dropdown-item.js-logout:hover,
.shop-nav .dropdown-item.js-logout:focus {
    background-color: #fff1f1 !important;
    color: #d32f2f !important;
}

.shop-nav .dropdown-item.js-logout:hover i,
.shop-nav .dropdown-item.js-logout:focus i {
    color: #d32f2f !important;
}

.shop-nav .dropdown-item.js-logout:active {
    background-color: #c62828 !important;
    color: #fff !important;
}

.shop-nav .dropdown-item.js-logout:active i {
    color: #fff !important;
}

.shop-nav .dropdown-divider {
    margin: 5px 4px;
    border-top: 1px solid #edf2f7;
    opacity: 1;
}

/* Modern Mega Footer Styles */
.shop-footer {
    background: linear-gradient(180deg, #001f3f 0%, #001428 100%);
    color: #c7d8ea;
    padding: 44px 0 22px;
    margin-top: auto;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #003C71 0%, #c9a227 50%, #003C71 100%) 1;
    position: relative;
}

.shop-footer-main {
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.footer-brand-title {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.footer-brand-sub {
    font-size: 0.78rem;
    color: #8da4be;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #a3bad1;
    margin-bottom: 14px;
}

.footer-org-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--psu-gold-light);
}

.footer-col-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-col-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--psu-gold, #c9a227);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #b0c6dc;
    text-decoration: none;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .15s ease;
}

.footer-links a i {
    font-size: 0.72rem;
    color: var(--psu-gold-light);
    transition: transform .15s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-links a:hover i {
    transform: translateX(2px);
}

.footer-badges-block {
    margin-bottom: 8px;
}

.badges-subtitle {
    display: block;
    font-size: 0.8rem;
    color: #8da4be;
    margin-bottom: 8px;
    font-weight: 500;
}

.badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    font-size: 0.8rem;
    color: #d7e6f5;
    transition: all 0.2s ease;
}

.badge-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
    color: #fff;
}

.badge-pill.is-highlight {
    background: rgba(201, 162, 39, 0.15);
    border-color: rgba(201, 162, 39, 0.35);
    color: var(--psu-gold-light);
    font-weight: 600;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #b0c6dc;
    line-height: 1.45;
}

.footer-contact-list li i {
    color: var(--psu-gold-light);
    margin-top: 3px;
    font-size: 0.95rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-contact-link:hover {
    color: var(--psu-gold-light, #f1c40f);
    text-decoration: underline;
}

.footer-contact-list strong {
    color: #fff;
    display: block;
}

.footer-contact-list small {
    color: #8da4be;
    display: block;
}

.shop-footer-bottom {
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.84rem;
    color: #8da4be;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-links a {
    color: #a3bad1;
    text-decoration: none;
    transition: color .15s ease;
}

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

.footer-admin-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    color: #cbd5e1 !important;
    font-size: 0.78rem;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.footer-admin-pill:hover {
    background: rgba(201, 162, 39, 0.2);
    border-color: rgba(201, 162, 39, 0.5);
    color: #fff !important;
    transform: translateY(-1px);
}

@media (max-width: 991.98px) {
    .shop-footer-brand {
        max-width: 650px;
    }
}

@media (max-width: 767.98px) {
    .shop-footer {
        padding: 36px 0 20px;
    }

    .shop-footer-main {
        padding-bottom: 24px;
    }

    .shop-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding-top: 18px;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .footer-brand-title {
        font-size: 1.05rem;
    }

    .footer-contact-list li {
        font-size: 0.82rem;
        gap: 8px;
    }

    .footer-contact-link {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .footer-links a {
        font-size: 0.82rem;
    }
}

.info-page {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(0, 60, 113, 0.06);
    border: 1px solid #e7eef5;
}

.info-page h1 {
    color: #003C71;
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-page-lead {
    color: #5b6b7c;
    margin-bottom: 22px;
}

.info-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: end;
}

.info-form-row label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #355064;
    display: block;
    margin-bottom: 6px;
}

.info-form-row input {
    width: 100%;
    border: 1px solid #d5e1ee;
    border-radius: 10px;
    height: 42px;
    padding: 0 12px;
}

.info-form-row button {
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: #003C71;
    color: #fff;
    font-weight: 600;
    padding: 0 18px;
    white-space: nowrap;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
}

.contact-card {
    background: #f7fafc;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid #e7eef5;
}

.contact-card i {
    color: #c9a227;
    margin-right: 8px;
}

.contact-card h2 {
    font-size: 1rem;
    color: #003C71;
    margin-bottom: 8px;
}

.contact-card p {
    margin: 0;
    color: #4a5b6c;
}

@media (max-width: 1199px) {
    .shop-header .container {
        max-width: 960px;
    }

    .shop-nav {
        gap: 6px;
    }

    .shop-nav-label {
        display: none;
    }

    .shop-nav-btn {
        padding: 6px 10px;
    }

    .shop-cart-badge,
    .shop-notify-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        margin-left: 0;
    }

    .shop-user {
        padding: 4px 8px 4px 4px;
        max-width: 140px;
    }

    .shop-user span {
        max-width: 75px;
    }

    .shop-user img {
        width: 26px;
        height: 26px;
    }
}

@media (min-width: 992px) {

    .shop-nav .dropdown,
    .shop-nav .shop-login-btn {
        margin-left: 6px;
    }
}

@media (max-width: 991px) {
    .shop-header-inner {
        grid-template-columns: auto minmax(180px, 1fr) auto;
        gap: 12px;
    }

    .shop-nav .dropdown,
    .shop-nav .shop-login-btn {
        margin-left: 8px;
    }

    .shop-login-btn {
        height: 40px;
        min-height: 40px;
        padding: 0 16px;
        font-size: 0.84rem;
        gap: 7px;
    }

    .shop-login-btn span {
        display: inline;
    }
}

@media (max-width: 767px) {
    .shop-admin-link {
        padding: 4px 8px;
    }

    .shop-search button {
        padding: 4px 12px;
    }

    .shop-nav {
        gap: 6px;
    }

    .info-form-row,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .shop-footer-inner {
        justify-content: center;
        text-align: center;
    }

    .shop-user span,
    .shop-user .fa-chevron-down {
        display: none;
    }

    .shop-user {
        padding: 3px;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        justify-content: center;
    }

    .shop-user img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 699px) {
    .shop-header-spacer {
        min-height: 148px;
        height: var(--shop-header-h, 148px);
    }

    .shop-header-inner {
        grid-template-columns: min-content 1fr;
        gap: 10px;
    }

    .shop-brand {
        grid-column: 1;
    }

    .shop-nav {
        grid-column: 2;
        justify-self: end;
    }

    .shop-search {
        grid-column: 1 / -1;
        order: 3;
        margin: 4px 0 2px;
    }
}

@media (max-width: 991px) {

    .shop-topbar-right {
        gap: 10px;
    }
}

@media (max-width: 767px) {

    .shop-topbar-right {
        gap: 6px;
    }

    .shop-topbar-link {
        font-size: 12px;
        padding: 2px 4px;
        gap: 0;
    }

    .shop-topbar-link i {
        font-size: 12px;
    }

    .shop-topbar-divider {
        font-size: 0.68rem;
    }

    .shop-admin-link {
        font-size: 0.76rem;
        padding: 2px 7px;
        gap: 4px;
    }
}

@media (max-width: 575px) {

    /* .shop-topbar-inner {
        min-height: 30px;
        padding: 0 4px;
        gap: 6px;
    }

    .shop-topbar-left {
        font-size: 0.74rem;
    }
    */
    .shop-topbar-right {
        gap: 5px;
    }

    .shop-topbar-link {
        font-size: 12px;
        padding: 1px 2px;
        gap: 0;
    }

    .shop-topbar-link i {
        font-size: 12px;
    }

    .shop-topbar-divider {
        font-size: 0.62rem;
    }

    .shop-admin-link {
        font-size: 0.72rem;
        padding: 2px 6px;
        gap: 3px;
    }

    .shop-nav {
        gap: 6px;
    }

    .shop-nav .dropdown,
    .shop-nav .shop-login-btn {
        margin-left: 6px;
    }

    .shop-login-btn {
        height: 40px;
        min-height: 40px;
        padding: 0 16px;
        font-size: 0.84rem;
        gap: 7px;
    }

    .shop-login-btn span {
        display: inline;
    }

    .shop-header-inner {
        gap: 8px;
    }

    .shop-cart-badge {
        min-width: 16px;
        height: 16px;
        font-size: 0.62rem;
    }

    .shop-notify-menu {
        width: min(350px, calc(100vw - 16px));
        margin-right: -10px;
    }

    .shop-notify-header {
        padding: 8px 10px;
        gap: 6px;
    }

    .shop-notify-header-title strong {
        font-size: 0.86rem;
    }

    .shop-notify-header-pill {
        font-size: 0.66rem;
        padding: 1px 5px;
    }

    .shop-notify-header-actions {
        gap: 2px;
    }

    .shop-notify-mark-all-btn,
    .shop-notify-clear-all-btn {
        font-size: 0.7rem;
        padding: 2px 4px;
        gap: 2px;
    }

    .shop-notify-item {
        padding: 10px 10px;
        gap: 8px;
    }

    .shop-notify-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}
