/* ================= ACCESSORIES PAGE (PREMIUM) ================= */

body {
    background: #000;
    color: #fff;
}

/* PAGE WRAPPER */
.accessories-wrapper {
    padding: 140px 30px;
    max-width: 1400px;
    margin: auto;
}

/* TITLE */
.accessories-wrapper h1 {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 44px;
    margin-bottom: 10px;
}

.accessories-wrapper .sub {
    text-align: center;
    color: #aaa;
    margin-bottom: 60px;
}

/* FILTERS */
.filters {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 50px;
}

.filters button {
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    padding: 10px 22px;
    cursor: pointer;
    transition: 0.3s;
}

.filters button.active,
.filters button:hover {
    border-color: #8fbf2f;
    color: #8fbf2f;
}

/* GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 45px;
}

/* CARD */
.product-card {
    background: linear-gradient(180deg, #0f0f0f, #000);
    border: 1px solid #222;
    transition: 0.35s;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: #8fbf2f;
}

/* IMAGE */
.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* BADGES */
.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
}

.badge-new {
    background: #8fbf2f;
    color: #000;
}

.badge-best {
    background: #c99700;
    color: #000;
    top: 52px;
}

/* INFO */
.product-info {
    padding: 22px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* META */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.category {
    font-size: 13px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #8fbf2f;
}

/* BUTTON */
.product-card .btn {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid #8fbf2f;
    color: #8fbf2f;
    text-decoration: none;
    transition: 0.3s;
}

.product-card .btn:hover {
    background: #8fbf2f;
    color: #000;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 240px;
    }
}


/* ================= SKELETON LOADER ================= */

.skeleton-grid {
    margin-bottom: 60px;
}

.skeleton-card {
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 18px;
}

.skeleton-img {
    width: 100%;
    height: 260px;
    background: #1a1a1a;
    margin-bottom: 16px;
}

.skeleton-line {
    height: 14px;
    background: #1a1a1a;
    margin-bottom: 12px;
}

.skeleton-line.title {
    width: 70%;
    height: 18px;
}

.skeleton-line.text {
    width: 90%;
}

.skeleton-line.price {
    width: 40%;
}

/* SHIMMER EFFECT */
.skeleton-img,
.skeleton-line {
    position: relative;
    overflow: hidden;
}

.skeleton-img::after,
.skeleton-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.08),
        transparent
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}
