
.shop-hero {
    position: relative;
    height: 50vh;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shop-hero-bg {
    position: absolute;
    inset: 0;
}

.shop-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
    transform: scale(1.05);
}

.shop-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14,26,14,0.4) 0%, rgba(14,26,14,0.2) 40%, rgba(14,26,14,0.85) 100%);
}

.shop-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    padding: 0 24px;
    padding-top: 60px;
}

.shop-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--white-pure);
    margin-bottom: 16px;
    line-height: 1.2;
}

.shop-hero-title em {
    color: var(--gold);
    font-style: italic;
}

.shop-hero-desc {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--gray-light);
    line-height: 1.7;
}

/* --- Nav Right (Cart) --- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.cart-btn svg {
    width: 22px;
    height: 22px;
}

.cart-btn:hover {
    color: var(--gold);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--black);
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    transform: scale(0);
}

.cart-count.show {
    transform: scale(1);
}

/* --- Filter Section --- */
.filter-section {
    background: var(--black-soft);
    border-bottom: 1px solid var(--black-border);
    padding: 0;
    position: sticky;
    top: 56px;
    z-index: 100;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray);
    padding: 10px 20px;
    border: 1px solid transparent;
    background: transparent;
    transition: var(--transition-fast);
    white-space: nowrap;
    cursor: pointer;
}

.filter-tab:hover {
    color: var(--white);
}

.filter-tab.active {
    color: var(--gold);
    border-color: var(--gold);
    background: var(--gold-glow);
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    padding: 8px 16px;
    transition: var(--transition-fast);
}

.search-box:focus-within {
    border-color: var(--gold);
}

.search-box svg {
    width: 16px;
    height: 16px;
    color: var(--gray);
    flex-shrink: 0;
}

.search-box input {
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 300;
    outline: none;
    width: 160px;
}

.search-box input::placeholder {
    color: var(--gray);
}

.sort-select {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--gray-light);
    background: var(--black-card);
    border: 1px solid var(--black-border);
    padding: 10px 16px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: var(--transition-fast);
}

.sort-select:focus {
    border-color: var(--gold);
}

.sort-select option {
    background: var(--black-card);
    color: var(--white);
}

/* --- Results Info --- */
.results-info {
    margin-bottom: 28px;
}

.results-info span {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--gray);
    letter-spacing: 1px;
}

/* --- Shop Section --- */
.shop-section {
    padding: 48px 0 100px;
}

/* --- Shop Grid --- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* --- Shop Card --- */
.shop-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    overflow: hidden;
    transition: var(--transition);
    opacity: 1;
    transform: translateY(0);
    animation: cardFadeIn 0.5s ease forwards;
}

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

.shop-card.hidden {
    display: none;
}

.shop-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 168, 76, 0.08);
}

.shop-card-image {
    position: relative;
    height: 300px;
    background: linear-gradient(145deg, #0e1a0e 0%, #172417 100%);
    overflow: hidden;
}

.shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.shop-card:hover .shop-card-image img {
    transform: scale(1.08);
}

.shop-card-actions {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
}

.shop-card:hover .shop-card-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.action-btn {
    width: 42px;
    height: 42px;
    background: rgba(14, 26, 14, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.action-btn svg {
    width: 18px;
    height: 18px;
}

.action-btn:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.shop-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--black);
    padding: 5px 14px;
}

.shop-badge.new {
    background: var(--white-pure);
    color: var(--black);
}

.shop-card-info {
    padding: 22px 20px 24px;
}

.shop-brand {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
}

.shop-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    margin: 5px 0 6px;
    line-height: 1.3;
}

.shop-desc {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 300;
    color: var(--gray);
    margin-bottom: 18px;
    line-height: 1.5;
}

.shop-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.shop-price {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gold);
}

/* --- No Results --- */
.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results svg {
    width: 48px;
    height: 48px;
    color: var(--gray);
    margin-bottom: 20px;
    opacity: 0.4;
}

.no-results h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 8px;
}

.no-results p {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--gray);
}

/* ============================================
   QUICK VIEW MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.92) translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2rem;
    color: var(--gray);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
    line-height: 1;
}

.modal-close:hover {
    color: var(--gold);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image {
    background: linear-gradient(145deg, #0e1a0e 0%, #172417 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--white);
    margin: 4px 0 8px;
    line-height: 1.3;
}

.modal-desc {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 8px;
}

.modal-price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 16px;
}

.modal-details {
    border-top: 1px solid var(--black-border);
    border-bottom: 1px solid var(--black-border);
    padding: 16px 0;
    margin-bottom: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.detail-label {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--gray);
}

.detail-value {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--white);
}

.detail-value.in-stock {
    color: #4caf50;
}

.modal-qty {
    margin-bottom: 16px;
}

.modal-qty label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray);
    display: block;
    margin-bottom: 8px;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--black-border);
    width: fit-content;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: var(--black-soft);
    color: var(--white);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.qty-btn:hover {
    background: var(--gold);
    color: var(--black);
}

.qty-control input {
    width: 48px;
    height: 40px;
    background: var(--black-card);
    border: none;
    border-left: 1px solid var(--black-border);
    border-right: 1px solid var(--black-border);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--black-card);
    border-left: 1px solid var(--black-border);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--black-border);
}

.cart-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--white);
}

.cart-close {
    font-size: 1.8rem;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition-fast);
    background: none;
    border: none;
}

.cart-close:hover {
    color: var(--gold);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 28px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty svg {
    width: 48px;
    height: 48px;
    color: var(--gray);
    opacity: 0.3;
    margin-bottom: 16px;
}

.cart-empty p {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 8px;
}

.cart-empty span {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--gray);
}

/* Cart Items */
.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--black-border);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.cart-item-img {
    width: 72px;
    height: 72px;
    background: var(--black-soft);
    flex-shrink: 0;
    overflow: hidden;
}

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

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-brand {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
}

.cart-item-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--white);
    margin: 2px 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-item-price {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--gold);
}

.cart-item-remove {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: none;
    border: none;
}

.cart-item-remove:hover {
    color: #e74c3c;
}

/* Cart Footer */
.cart-footer {
    padding: 24px 28px;
    border-top: 1px solid var(--black-border);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cart-subtotal span:first-child {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cart-subtotal span:last-child {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold);
}

.cart-shipping {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    color: var(--gray);
    margin-bottom: 16px;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--gold);
    color: var(--black);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.3);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.toast span {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* ============================================
   RESPONSIVE — SHOP
   ============================================ */
@media (max-width: 1024px) {
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-actions {
        flex-direction: column;
    }

    .search-box input {
        width: 100%;
    }

    .sort-select {
        width: 100%;
    }

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

    .modal-image {
        min-height: 280px;
    }

    .modal-info {
        padding: 28px 24px;
    }

    .shop-card-image {
        height: 220px;
    }

    .nav-right {
        gap: 8px;
    }
}

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

    .shop-card-image {
        height: 280px;
    }

    .filter-tabs {
        gap: 2px;
    }

    .filter-tab {
        padding: 8px 14px;
        font-size: 0.68rem;
    }
}
