:root {
    --collection-accent: #b22222;
}

/* ---- Shared bits: ribbon + countdown ---- */

.pk-collection-ribbon,
.pk-collection-card-ribbon,
.pk-collection-highlight-badge,
.pk-collection-upsell-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--collection-accent), #7a1414);
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.pk-collection-countdown {
    display: inline-flex;
    gap: 8px;
    margin: 14px 0;
}

.pk-collection-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    min-width: 52px;
    padding: 6px 8px;
}

.pk-collection-countdown-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.pk-collection-countdown-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
}

.pk-collection-countdown-sm .pk-collection-countdown-unit {
    min-width: 38px;
    padding: 4px 6px;
    background: rgba(178, 34, 34, 0.06);
    border-color: rgba(178, 34, 34, 0.15);
}

.pk-collection-countdown-sm .pk-collection-countdown-value {
    font-size: 0.95rem;
    color: var(--collection-accent);
}

.pk-collection-countdown-sm .pk-collection-countdown-label {
    color: #8a8a8a;
}

/* ---- 1. Collection landing page hero ---- */

.pk-collection-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    margin: 16px 0 24px;
    background: linear-gradient(135deg, var(--collection-accent), #2a0a0a);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.pk-collection-hero-media {
    position: absolute;
    inset: 0;
}

.pk-collection-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* The mobile banner crop is portrait (4:5) but the hero box on small
       screens is short/landscape-ish, so cover crops top+bottom. Anchoring
       to the top keeps any headline text on the banner itself intact
       instead of getting sliced - the scrim/gradient already sits at the
       bottom, so losing background there is far less noticeable. */
    object-position: top center;
}

.pk-collection-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgb(0 0 0 / 93%) 0%, rgb(0 0 0 / 30%) 55%, rgb(0 0 0 / 0%) 100%);;
}

.pk-collection-hero .pk-collection-ribbon {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.pk-collection-hero-content {
    position: relative;
    z-index: 2;
    padding: 32px 28px;
    color: #fff;
    max-width: 720px;
}

.pk-collection-hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.pk-collection-hero-subtitle {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0;
}

/* Mobile header is position:fixed (see .header-middle_wrapper in
   style-responsive.css) - every page's top block gets a matching
   margin-top to clear it (.product-list-heading-bg uses the same 60px).
   Without this the hero renders partly underneath the fixed header. */
@media (max-width: 767.98px) {
    .pk-collection-hero {
        margin-top: 60px;
    }
}
@media (max-width: 991.98px) {
    .pk-collection-hero {
        margin-top: 60px;
    }
}

@media (max-width: 576px) {
    .pk-collection-hero {
        min-height: 300px;
        border-radius: 14px;
    }

    .pk-collection-hero-title {
        font-size: 1.5rem;
    }

    .pk-collection-hero-content {
        padding: 20px 16px;
    }
}

/* ---- Ended-campaign state (URL kept alive for SEO/recurring campaigns) ---- */

.pk-collection-hero-ended {
    background: linear-gradient(135deg, #6b7280, #1f2937);
}

.pk-collection-hero-ended .pk-collection-hero-media img {
    filter: grayscale(55%);
    opacity: 0.85;
}

.pk-collection-ribbon-ended {
    background: linear-gradient(135deg, #4b5563, #1f2937);
}

.pk-collection-hero-ended-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 10px 0 0;
}

.pk-collection-also-like {
    margin: 8px 0 24px;
}

.pk-collection-also-like-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 12px;
}

.pk-collection-also-like-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pk-collection-also-like-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 999px;
    padding: 6px 16px 6px 6px;
    text-decoration: none;
    color: #1f2937;
    font-weight: 600;
    font-size: 0.85rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pk-collection-also-like-item:hover {
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.1);
    transform: translateY(-2px);
    color: #1f2937;
    text-decoration: none;
}

.pk-collection-also-like-item img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

/* ---- 2. Home page showcase section ---- */

.pk-collections-showcase-section {
    padding: 48px 0;
    background: radial-gradient(circle at 10% 10%, rgba(178, 34, 34, 0.05), transparent 45%),
        radial-gradient(circle at 90% 30%, rgba(178, 34, 34, 0.04), transparent 40%);
}

.pk-collections-showcase-heading {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 32px;
}

.pk-collections-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--collection-accent);
    background: rgba(178, 34, 34, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.pk-collections-showcase-heading h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 8px;
}

.pk-collections-showcase-heading p {
    color: #6b7280;
    margin-bottom: 0;
}

.pk-collection-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
    justify-content: center;
    gap: 24px;
}

.pk-collection-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
    border: 1px solid #f0e6e6;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.pk-collection-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.14);
}

.pk-collection-card-banner {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--collection-accent), #2a0a0a);
    overflow: hidden;
}

.pk-collection-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pk-collection-card:hover .pk-collection-card-banner img {
    transform: scale(1.06);
}

.pk-collection-card-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
}

.pk-collection-card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pk-collection-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 4px;
}

.pk-collection-card-subtitle {
    font-size: 0.88rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.pk-collection-card-products {
    display: flex;
    gap: 8px;
    margin: 6px 0 14px;
}

.pk-collection-card-product-thumb {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.pk-collection-card-product-thumb:not(:first-child) {
    margin-left: -14px;
}

.pk-collection-card-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pk-collection-card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    background: var(--collection-accent);
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.pk-collection-card-cta:hover {
    background: #8f1818;
    color: #fff;
    text-decoration: none;
    transform: translateX(2px);
}

/* ---- 3. Product detail page highlight card ---- */

.pk-collection-highlight {
    margin: 24px 0;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.06), rgba(178, 34, 34, 0.02));
    border: 1px solid rgba(178, 34, 34, 0.15);
}

.pk-collection-highlight-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.pk-collection-highlight-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--collection-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.pk-collection-highlight-link:hover {
    color: #8f1818;
    text-decoration: none;
}

.pk-collection-highlight-products {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.pk-collection-highlight-product {
    flex: 0 0 130px;
    text-decoration: none;
    color: inherit;
}

.pk-collection-highlight-product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    margin-bottom: 6px;
    transition: transform 0.2s ease;
}

.pk-collection-highlight-product:hover img {
    transform: translateY(-3px);
}

.pk-collection-highlight-product-name {
    display: block;
    font-size: 0.8rem;
    color: #374151;
    line-height: 1.3;
}

.pk-collection-highlight-product-price {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--collection-accent);
    margin-top: 2px;
}

/* ---- 4. Cart page upsell block ---- */

.pk-collection-upsell {
    margin-top: 24px;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.05), rgba(178, 34, 34, 0.015));
    border: 1px dashed rgba(178, 34, 34, 0.3);
}

.pk-collection-upsell-heading {
    margin-bottom: 14px;
}

.pk-collection-upsell-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 6px 0 0;
}

.pk-collection-upsell-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}

.pk-collection-upsell-product {
    text-decoration: none;
    color: inherit;
}

.pk-collection-upsell-product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    margin-bottom: 6px;
    transition: transform 0.2s ease;
}

.pk-collection-upsell-product:hover img {
    transform: translateY(-3px);
}

.pk-collection-upsell-product-name {
    display: block;
    font-size: 0.8rem;
    color: #374151;
    line-height: 1.3;
}

.pk-collection-upsell-product-price {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--collection-accent);
    margin-top: 2px;
}

/* ---- 5. Mobile navbar quick-access strip ---- */

.pk-nav-collections {
    padding: 16px 18px 4px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 6px;
}

.pk-nav-collections-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--collection-accent, #b22222);
    margin-bottom: 10px;
}

.pk-nav-collections-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pk-nav-collections-list::-webkit-scrollbar {
    display: none;
}

.pk-nav-collection-chip {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 72px;
    text-decoration: none;
    color: inherit;
}

.pk-nav-collection-chip-thumb {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--collection-accent), #7a1414);
    border: 2px solid rgba(178, 34, 34, 0.15);
    color: #fff;
    font-size: 1.1rem;
}

.pk-nav-collection-chip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pk-nav-collection-chip-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pk-nav-collection-chip:hover .pk-nav-collection-chip-thumb {
    border-color: var(--collection-accent);
}

.pk-nav-collection-chip:hover .pk-nav-collection-chip-name {
    color: var(--collection-accent);
}
