/* PKSaller theme — shop.css */
/* ==========================================================
   PREMIUM SHOP PAGE — CODEIGNITER 3
   Palette: Midnight Black / Electric Teal / Ice White
   ========================================================== */

.shop-page {
    --shop-dark: #101820;
    --shop-teal: #00d6c9;
    --shop-white: #f4f7f8;
    --shop-text: #192630;
    --shop-muted: #71808b;
    --shop-border: #e5ebee;
    --shop-shadow: 0 12px 35px rgba(16, 24, 32, .07);
    color: var(--shop-text);
    background: #fff;
    font-family: inherit;
}

.shop-page * {
    box-sizing: border-box;
}

.shop-page .shop-container {
    width: min(1440px, calc(100% - 40px));
    margin: 0 auto;
}

/* Breadcrumbs */
.shop-page .shop-breadcrumbs {
    background: var(--shop-white);
    border-bottom: 1px solid var(--shop-border);
    padding: 15px 0;
}

.shop-page .breadcrumb-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
    font-size: 13px;
}

.shop-page .breadcrumb-inner a {
    color: var(--shop-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.shop-page .breadcrumb-inner a:hover {
    color: var(--shop-dark);
}

.shop-page .breadcrumb-separator {
    color: #a5b0b7;
    font-size: 11px;
}

.shop-page .breadcrumb-current {
    color: var(--shop-dark);
    font-weight: 700;
}

/* Hero / page introduction */
.shop-page .shop-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 28px;
    padding: 45px 42px;
    border-radius: 20px;
    background: var(--shop-dark);
    color: #fff;
}

.shop-page .shop-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 300px;
    height: 300px;
    top: -170px;
    right: 7%;
    border-radius: 50%;
    background: var(--shop-teal);
    opacity: .16;
    filter: blur(4px);
}

.shop-page .shop-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 180px;
    height: 180px;
    right: 20%;
    bottom: -135px;
    border: 1px solid rgba(0, 214, 201, .5);
    border-radius: 50%;
}

.shop-page .shop-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: var(--shop-teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.shop-page .shop-eyebrow::before {
    content: "";
    width: 25px;
    height: 2px;
    background: var(--shop-teal);
}

.shop-page .shop-hero h1 {
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(29px, 3.4vw, 45px);
    line-height: 1.16;
    letter-spacing: -.8px;
    font-weight: 800;
}

.shop-page .shop-hero p {
    max-width: 650px;
    margin: 0;
    color: #c5d0d6;
    font-size: 15px;
    line-height: 1.8;
}

.shop-page .hero-accent {
    color: var(--shop-teal);
}

/* Product section */
.shop-page .shop-main {
    padding: 35px 0 65px;
}

.shop-page .shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--shop-border);
}

.shop-page .shop-toolbar-title {
    margin: 0;
    color: var(--shop-dark);
    font-size: 19px;
    font-weight: 800;
}

.shop-page .shop-toolbar-subtitle {
    display: block;
    margin-top: 5px;
    color: var(--shop-muted);
    font-size: 12px;
}

.shop-page .shop-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 10px 14px;
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    color: var(--shop-dark);
    background: #fff;
    font-size: 12px;
    font-weight: 700;
}

.shop-page .shop-count-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--shop-teal);
}

/* Responsive product grid */
.shop-page .product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.shop-page .product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--shop-border);
    border-radius: 14px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease,
                border-color .25s ease;
}

.shop-page .product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 214, 201, .75);
    box-shadow: var(--shop-shadow);
}

.shop-page .product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 13px;
    overflow: hidden;
    background: linear-gradient(145deg, #f7fafb, #eef3f5);
}

.shop-page .product-image a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.shop-page .product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

.shop-page .product-card:hover .product-image img {
    transform: scale(1.055);
}

.shop-page .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 6px 9px;
    border-radius: 6px;
    color: var(--shop-dark);
    background: var(--shop-teal);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.shop-page .product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px;
}

.shop-page .product-title {
    display: -webkit-box;
    min-height: 42px;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--shop-dark);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.5;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.shop-page .product-title a {
    color: inherit;
    text-decoration: none;
}

.shop-page .product-title a:hover {
    color: #087f79;
}

/* Ratings */
.shop-page .product-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    font-size: 12px;
}

.shop-page .rating-stars {
    display: inline-flex;
    gap: 2px;
    color: #f3ae27;
    font-size: 13px;
    letter-spacing: 0;
}

.shop-page .rating-count {
    color: var(--shop-muted);
    font-size: 11px;
}

/* Pricing */
.shop-page .product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
    margin-top: auto;
    margin-bottom: 15px;
}

.shop-page .current-price {
    color: var(--shop-dark);
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -.3px;
}

.shop-page .old-price {
    color: #8d9aa2;
    font-size: 12px;
    text-decoration: line-through;
}

.shop-page .add-to-cart {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--shop-dark);
    border-radius: 8px;
    background: var(--shop-dark);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: background .2s ease, border-color .2s ease,
                color .2s ease, transform .2s ease;
}

.shop-page .add-to-cart:hover {
    border-color: var(--shop-teal);
    background: var(--shop-teal);
    color: var(--shop-dark);
}

.shop-page .add-to-cart:active {
    transform: scale(.98);
}

.shop-page .buy-arrow {
    font-size: 16px;
    line-height: 1;
}

/* Empty state */
.shop-page .shop-empty {
    grid-column: 1 / -1;
    padding: 60px 20px;
    border: 1px dashed #cbd6db;
    border-radius: 14px;
    background: var(--shop-white);
    text-align: center;
}

.shop-page .shop-empty-mark {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--shop-dark);
    color: var(--shop-teal);
    font-size: 25px;
    font-weight: 800;
}

.shop-page .shop-empty h2 {
    margin: 0 0 8px;
    color: var(--shop-dark);
    font-size: 22px;
}

.shop-page .shop-empty p {
    margin: 0 0 20px;
    color: var(--shop-muted);
    font-size: 14px;
}

.shop-page .shop-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 8px;
    background: var(--shop-dark);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
}

.shop-page .shop-home-link:hover {
    background: #233541;
    color: #fff;
}

/* Load more */
.shop-page .load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.shop-page .load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 220px;
    padding: 14px 25px;
    border: 1px solid var(--shop-teal);
    border-radius: 9px;
    background: var(--shop-teal);
    color: var(--shop-dark);
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease,
                background .2s ease;
}

.shop-page .load-more-btn:hover {
    transform: translateY(-2px);
    background: #29e6dc;
    box-shadow: 0 8px 22px rgba(0, 214, 201, .2);
}

.shop-page .load-more-btn:focus-visible,
.shop-page a:focus-visible {
    outline: 3px solid rgba(0, 214, 201, .6);
    outline-offset: 3px;
}

.shop-page .load-more-icon {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
}

.shop-page .load-more-btn[hidden] {
    display: none !important;
}

.shop-page .product-card.is-revealing {
    animation: shopReveal .35s ease both;
}

@keyframes shopReveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .shop-page .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .shop-page .shop-hero {
        padding: 38px 32px;
    }
}

@media (max-width: 992px) {
    .shop-page .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 17px;
    }

    .shop-page .product-info {
        padding: 13px;
    }

    .shop-page .current-price {
        font-size: 17px;
    }
}

@media (max-width: 600px) {
    .shop-page .shop-container {
        width: calc(100% - 24px);
    }

    .shop-page .shop-hero {
        margin-top: 18px;
        padding: 30px 22px;
        border-radius: 14px;
    }

    .shop-page .shop-hero h1 {
        font-size: 29px;
    }

    .shop-page .shop-hero p {
        font-size: 13px;
        line-height: 1.7;
    }

    .shop-page .shop-main {
        padding: 27px 0 45px;
    }

    .shop-page .shop-toolbar {
        align-items: flex-start;
        gap: 10px;
    }

    .shop-page .shop-toolbar-title {
        font-size: 17px;
    }

    .shop-page .shop-count {
        padding: 8px 10px;
        font-size: 10px;
    }

    .shop-page .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .shop-page .product-image {
        padding: 8px;
    }

    .shop-page .product-badge {
        top: 7px;
        left: 7px;
        padding: 5px 6px;
        font-size: 10px;
    }

    .shop-page .product-info {
        padding: 10px;
    }

    .shop-page .product-title {
        min-height: 39px;
        margin-bottom: 8px;
        font-size: 12px;
    }

    .shop-page .product-rating {
        flex-wrap: wrap;
        gap: 4px;
        margin-bottom: 9px;
    }

    .shop-page .rating-stars {
        font-size: 11px;
    }

    .shop-page .rating-count {
        font-size: 10px;
    }

    .shop-page .product-price {
        gap: 5px;
        margin-bottom: 11px;
    }

    .shop-page .current-price {
        font-size: 15px;
    }

    .shop-page .old-price {
        font-size: 11px;
    }

    .shop-page .add-to-cart {
        min-height: 38px;
        padding: 8px 5px;
        font-size: 11px;
    }

    .shop-page .load-more-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-page *,
    .shop-page *::before,
    .shop-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

