﻿/* =========================================================
   Corporate Packs CSS (DE-LAGGED / CLEAN)
   - حذف کامل max-height animation (عامل اصلی لگ)
   - حذف duplicate های FAQ و ReadMore
   - حذف transition: .24s ease (یعنی transition: all)
   - سبک‌سازی سایه‌ها و گرادیان‌ها
   - حفظ ظاهر فعلی تا حد ممکن با هزینه رندر کمتر
   ========================================================= */

/* -------------------- Variables -------------------- */
:root {
    --bg: #040b24;
    --bg-2: #08112f;
    --card: #121a33;
    --card-2: #0f1730;
    --line: rgba(255,255,255,.12);
    --line-2: rgba(212,175,55,.18);
    --muted: rgba(255,255,255,.65);
    --text: rgba(255,255,255,.92);
    --white: #fff;
    --gold: #d4af37;
    --gold-2: #f0cf67;
    --gold-soft: rgba(212,175,55,.10);
    --success: #19c37d;
    --danger: #ff6b6b;
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
    /* سبک‌تر از نسخه شما (کمتر blur و آلفا) */
    --shadow: 0 8px 20px rgba(0,0,0,.22);
    --shadow-soft: 0 4px 14px rgba(0,0,0,.16);
}

/* -------------------- Base / Fix overflow -------------------- */
html, body {
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* اگر هنوز دوست داری یک افکت خیلی سبک داشته باشی (اختیاری)
html,body{
  background:
    radial-gradient(circle at top right, rgba(212,175,55,.04), transparent 18%),
    var(--bg);
}
*/

img, svg, video, canvas {
    max-width: 100%;
    height: auto;
}

a, a:visited, a:hover, a:active {
    text-decoration: none !important;
}

    a:focus, button:focus, input:focus, select:focus {
        outline: 2px solid rgba(212,175,55,.6);
        outline-offset: 2px;
    }

.corporate-page {
    width: 100%;
}

.corporate-page,
.corporate-container,
.product-wrapper {
    overflow-x: clip;
}

@supports not (overflow: clip) {
    .corporate-page,
    .corporate-container,
    .product-wrapper {
        overflow-x: hidden;
    }
}

.corporate-container {
    max-width: 1720px;
    margin: 0 auto;
}

.text-gold {
    color: var(--gold) !important;
}

.text-muted {
    color: var(--muted) !important;
}

.border-secondary {
    border-color: var(--line) !important;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #000;
    color: #fff;
    padding: 10px 12px;
    z-index: 9999;
}

    .skip-link:focus {
        left: 12px;
        top: 12px;
        border-radius: 10px;
    }

/* -------------------- Wrapper -------------------- */
.product-wrapper {
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)), var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* -------------------- Breadcrumbs -------------------- */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.72);
    font-size: .92rem;
}

    .breadcrumbs a {
        color: rgba(255,255,255,.88);
        transition: color .18s ease;
    }

        .breadcrumbs a:hover {
            color: var(--gold);
        }

    .breadcrumbs .sep {
        opacity: .45;
    }

/* -------------------- Hero -------------------- */
.corporate-hero {
    position: relative;
}

    /* گرادیان را سبک‌تر کردم (قبلی 2 تا radial سنگین‌تر بود) */
    .corporate-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 85% 20%, rgba(212,175,55,.05), transparent 22%);
        pointer-events: none;
    }

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.55fr .95fr;
    gap: 20px;
}

@media (max-width:991.98px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.corporate-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,175,55,.16);
    color: #f5d97b;
    border: 1px solid rgba(212,175,55,.25);
    font-size: .84rem;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
}

.corporate-title {
    font-size: 2.2rem;
    line-height: 1.65;
    color: #fff;
    font-weight: 900;
    margin: 0;
}

.corporate-lead {
    color: rgba(255,255,255,.79);
    font-size: 1rem;
    line-height: 2;
    max-width: 920px;
}

.hero-mini-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

    .hero-mini-points span {
        background: rgba(255,255,255,.04);
        color: rgba(255,255,255,.88);
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 8px 12px;
        font-size: .88rem;
        font-weight: 700;
    }

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.hero-stat {
    min-width: 180px;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: var(--shadow-soft);
}

    .hero-stat b {
        display: block;
        color: #fff;
        font-size: 1.05rem;
        font-weight: 900;
        margin-bottom: 4px;
    }

    .hero-stat span {
        color: rgba(255,255,255,.68);
        font-size: .86rem;
    }

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-contact-box {
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: 100%;
    box-shadow: var(--shadow-soft);
}

.hero-contact-title {
    color: var(--gold);
    font-size: 1.08rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.hero-contact-text {
    color: rgba(255,255,255,.74);
    line-height: 1.95;
    font-size: .95rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-link {
    display: inline-block;
    text-align: center;
    color: var(--gold);
    font-weight: 800;
    padding: 6px 0;
    transition: color .18s ease;
}

    .hero-link:hover {
        color: #fff;
    }

/* -------------------- Section -------------------- */
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.section-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
}

.section-subtitle {
    color: rgba(255,255,255,.7);
    font-size: .96rem;
    line-height: 1.9;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* -------------------- Filters -------------------- */
.filters-bar {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: var(--shadow-soft);
}

.filters-left, .filters-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-input, .select-input {
    background: rgba(255,255,255,.02);
    border: 1px solid var(--line);
    color: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    outline: none;
}

/* نسخه شما min-width:300px داشت و پایین دوباره override می‌کرد.
   اینجا از اول responsive می‌کنیم تا thrash و اسکرول افقی نده */
.search-input {
    width: clamp(220px, 34vw, 360px);
    max-width: 100%;
    min-width: 0;
}

    .search-input::placeholder {
        color: rgba(255,255,255,.45);
    }

.select-input option {
    color: #111;
}

/* -------------------- Packs -------------------- */
.pack-card {
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)), var(--card-2);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    position: relative;
    /* مهم: transition: all حذف شد */
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
    content-visibility: auto; /* کمک به اسکرول صفحات بلند */
    contain-intrinsic-size: 340px;
}

    .pack-card:hover {
        transform: translateY(-4px);
        border-color: rgba(212,175,55,.28);
        box-shadow: 0 12px 26px rgba(0,0,0,.24);
    }

    .pack-card::after {
        content: "";
        position: absolute;
        inset: auto 0 0 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(212,175,55,.55), transparent);
        opacity: 0;
        transition: opacity .22s ease;
    }

    .pack-card:hover::after {
        opacity: 1;
    }

.pack-image-box {
    background: linear-gradient(180deg, #ffffff, #f3f6fc);
    min-height: 220px;
    max-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    position: relative;
}

    .pack-image-box img {
        max-height: 170px;
        object-fit: contain;
        transform: translateZ(0);
        transition: transform .22s ease;
    }

.pack-card:hover .pack-image-box img {
    transform: scale(1.03);
}

.product-placeholder {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0,0,0,.45);
    text-align: center;
    font-weight: 800;
    padding: 12px;
}

.pack-body {
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pack-title {
    color: #fff;
    font-size: 1.04rem;
    font-weight: 900;
    line-height: 1.9;
    margin-bottom: 10px;
    min-height: 62px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pack-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.badge-outline-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.03);
    color: rgba(255,255,255,.84);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .76rem;
    font-weight: 700;
}

.pack-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(25,195,125,.10);
    color: #7ce5b8;
    border: 1px solid rgba(25,195,125,.18);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .76rem;
    font-weight: 800;
}

.pack-description-wrap {
    margin-top: 12px;
    margin-bottom: 14px;
}

.pack-desc {
    color: rgba(255,255,255,.74);
    line-height: 1.95;
    font-size: .91rem;
    margin-bottom: 6px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ReadMore داخل کارت (اینجا max-height نداریم؛ line-clamp هست و سبکه) */
.clamp-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.5em;
    max-height: 3.9em;
}

    .clamp-text.expanded {
        -webkit-line-clamp: unset;
        max-height: none;
        display: block;
    }

.read-more-btn {
    background: transparent;
    border: none;
    color: var(--gold);
    padding: 0;
    font-size: .84rem;
    font-weight: 800;
    cursor: pointer;
    transition: color .18s ease;
}

    .read-more-btn:hover {
        color: #fff;
    }

.pack-footer {
    margin-top: auto;
}

.pack-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--line);
    margin-bottom: 12px;
}

.pack-price-label {
    color: rgba(255,255,255,.68);
    font-size: .88rem;
}

.pack-price-value {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 900;
    white-space: nowrap;
}

.pack-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-add {
    width: 100%;
    background: linear-gradient(135deg, var(--gold), #f0d168);
    color: #091022;
    border: none;
    padding: 12px 14px;
    font-weight: 900;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(212,175,55,.12);
    /* transition: all حذف */
    transition: transform .16s ease, filter .16s ease;
    text-decoration: none;
}

    .product-add:hover {
        color: #091022;
        transform: translateY(-1px);
        filter: brightness(1.03);
    }

.btn-outline-gold {
    width: 100%;
    background: transparent;
    color: var(--gold);
    border: 1px solid rgba(212,175,55,.35);
    padding: 12px 14px;
    font-weight: 800;
    border-radius: 12px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

    .btn-outline-gold:hover {
        color: #fff;
        border-color: rgba(212,175,55,.6);
        background: rgba(212,175,55,.08);
    }

.pack-phone-link {
    text-align: center;
    color: rgba(255,255,255,.72);
    font-size: .9rem;
    font-weight: 700;
    padding: 4px 0;
    transition: color .18s ease;
}

    .pack-phone-link:hover {
        color: var(--gold);
    }

/* -------------------- SEO Content -------------------- */
.seo-content {
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

    .seo-content h2 {
        color: #fff;
        font-weight: 900;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .seo-content p,
    .seo-content li {
        color: rgba(255,255,255,.76);
        line-height: 2;
    }

    .seo-content a {
        color: var(--gold);
        font-weight: 800;
        transition: color .18s ease;
    }

        .seo-content a:hover {
            color: #fff;
        }

.seo-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* -------------------- FAQ (DE-LAGGED) --------------------
   نسخه شما دو بار تعریف شده بود + max-height animation داشت.
   اینجا: هیچ انیمیشن height نداریم => لگ حذف می‌شود.
   باز/بسته فقط display state است.
---------------------------------------------------------- */

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-acc-item {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-acc-btn {
    width: 100%;
    background: transparent;
    color: #fff;
    border: none;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: right;
    font-size: .96rem;
    font-weight: 900;
    cursor: pointer;
}

    .faq-acc-btn span:first-child {
        line-height: 1.9;
    }

/* توجه: شما هم faq-icon داشتی هم faq-icon اینجا؛ نگه‌داشتیم یکی */
.faq-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(212,175,55,.30);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    transition: transform .2s ease, color .2s ease, border-color .2s ease, background-color .2s ease;
}

.faq-acc-content {
    display: none; /* به جای max-height */
    padding: 0 18px 16px;
}

    .faq-acc-content p {
        color: rgba(255,255,255,.75);
        line-height: 2;
        margin: 0;
    }

.faq-acc-item.active .faq-acc-content {
    display: block;
}

.faq-acc-item.active .faq-icon {
    transform: rotate(45deg);
    color: #fff;
    border-color: rgba(212,175,55,.60);
    background: rgba(212,175,55,.10);
}

/* اگر شما FAQ دسکتاپ هم داری که با .faq-item میاد، نگه می‌دارم */
.faq-item {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-soft);
}

    .faq-item h3 {
        color: #fff;
        font-weight: 900;
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .faq-item p {
        color: rgba(255,255,255,.75);
        line-height: 1.95;
        margin-bottom: 0;
    }

/* -------------------- Mobile SEO ReadMore (DEDUPED) --------------------
   شما دو بار تعریف کرده بودی. اینجا فقط یکی.
---------------------------------------------------------- */
.mobile-readmore-btn {
    display: none;
}

@media (max-width: 767.98px) {
    .mobile-readmore-text {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* کلاس شما: .mobile-readmore-box.expanded */
    .mobile-readmore-box.expanded .mobile-readmore-text {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    .mobile-readmore-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
        background: transparent;
        color: var(--gold);
        border: 1px solid rgba(212,175,55,.35);
        border-radius: 12px;
        padding: 9px 14px;
        font-size: .88rem;
        font-weight: 800;
        cursor: pointer;
        text-decoration: none !important;
        transition: background-color .18s ease, border-color .18s ease, color .18s ease;
    }

        .mobile-readmore-btn:hover {
            color: #fff;
            border-color: rgba(212,175,55,.55);
            background: rgba(212,175,55,.08);
        }

    .mobile-readmore-text p,
    .mobile-readmore-text li,
    .mobile-readmore-text a {
        font-size: .88rem;
        line-height: 2;
    }
}

/* -------------------- Final CTA / Misc -------------------- */
.final-cta-box {
    background: linear-gradient(180deg, rgba(212,175,55,.06), rgba(255,255,255,.015)), var(--card);
    border: 1px solid rgba(212,175,55,.18);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.cta-inline {
    max-width: 320px;
    margin-right: auto;
}

.empty-state {
    text-align: center;
}

    .empty-state p {
        max-width: 700px;
        margin-inline: auto;
    }

/* -------------------- Responsive -------------------- */
@media (max-width:1399.98px) {
    .corporate-container {
        max-width: 1480px;
    }
}

@media (max-width:1199.98px) {
    .corporate-title {
        font-size: 1.9rem;
    }

    .pack-image-box {
        min-height: 200px;
        max-height: 200px;
    }

        .pack-image-box img {
            max-height: 155px;
        }
}

@media (max-width:991.98px) {
    .corporate-title {
        font-size: 1.65rem;
    }

    .hero-contact-box {
        padding: 20px;
    }

    .pack-title {
        min-height: auto;
    }

    .seo-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width:767.98px) {
    .corporate-page {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .corporate-title {
        font-size: 1.42rem;
        line-height: 1.8;
    }

    .corporate-lead {
        font-size: .94rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .pack-image-box {
        min-height: 185px;
        max-height: 185px;
    }

        .pack-image-box img {
            max-height: 140px;
        }

    .pack-body {
        padding: 14px;
    }

    .product-add, .btn-outline-gold {
        padding: 11px 12px;
        font-size: .93rem;
    }

    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filters-left, .filters-right {
        width: 100%;
    }

    .search-input {
        width: 100%;
    }
}

@media (max-width:575.98px) {
    .hero-mini-points span {
        font-size: .8rem;
        padding: 7px 10px;
    }

    .pack-desc {
        font-size: .88rem;
    }

    .pack-price-value {
        font-size: .95rem;
    }
}

/* -------------------- Reduced Motion -------------------- */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}
/*------------------------------------------------------------------------------------*/
/* =========================
   PACK DETAILS (Dark/Gold)
   ========================= */
:root {
    --pack-bg: #040b24;
    --pack-card: #121a33;
    --pack-card-2: #0f1730;
    --pack-line: rgba(255,255,255,.12);
    --pack-text: rgba(255,255,255,.92);
    --pack-muted: rgba(255,255,255,.65);
    --pack-gold: #d4af37;
    --pack-shadow: 0 12px 30px rgba(0,0,0,.35);
    --pack-radius-xl: 22px;
    --pack-radius-lg: 16px;
    --pack-radius-md: 12px;
}

.pack-page {
    direction: rtl;
    text-align: right;
    color: var(--pack-text);
}

.pack-hero-card,
.pack-products-card {
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)), var(--pack-card);
    border: 1px solid var(--pack-line);
    border-radius: var(--pack-radius-xl);
    box-shadow: var(--pack-shadow);
    overflow: hidden;
}

/* image */
.pack-image-col {
    border-inline-start: 1px solid var(--pack-line);
    background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}

.pack-image-wrap {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.pack-main-image {
    width: 100%;
    max-height: 390px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    padding: 10px;
}

/* info */
.pack-info {
    padding: 28px;
}

.pack-breadcrumb {
    font-size: .9rem;
    color: var(--pack-muted);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

    .pack-breadcrumb a {
        color: var(--pack-muted);
        text-decoration: none;
    }

        .pack-breadcrumb a:hover {
            color: #fff;
        }

.pack-title {
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.pack-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pack-chip {
    border: 1px solid var(--pack-line);
    background: rgba(255,255,255,.03);
    color: var(--pack-text);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .82rem;
}

.pack-chip-gold {
    border-color: rgba(212,175,55,.55);
    color: var(--pack-gold);
    background: rgba(212,175,55,.1);
}

.pack-price-box {
    margin-top: 16px;
    border: 1px solid var(--pack-line);
    border-radius: var(--pack-radius-lg);
    background: rgba(255,255,255,.03);
    padding: 16px;
}

    .pack-price-box .label {
        display: block;
        color: var(--pack-muted);
        margin-bottom: 8px;
        font-size: .9rem;
    }

    .pack-price-box .value-row {
        display: flex;
        align-items: flex-end;
        gap: 8px;
    }

    .pack-price-box strong {
        font-size: clamp(1.4rem, 2.7vw, 2rem);
        color: var(--pack-gold);
        line-height: 1;
    }

    .pack-price-box span {
        color: var(--pack-muted);
    }

/* buttons */
.btn-pack-primary,
.btn-pack-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 700;
    transition: .18s ease;
}

.btn-pack-primary {
    background: var(--pack-gold);
    color: #0a1128;
    border: 1px solid transparent;
}

    .btn-pack-primary:hover {
        transform: translateY(-1px);
        filter: brightness(1.04);
    }

.btn-pack-secondary {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--pack-line);
    color: #fff;
}

    .btn-pack-secondary:hover {
        border-color: rgba(212,175,55,.55);
        color: var(--pack-gold);
    }

/* products list */
.pack-products-card {
    padding: 20px;
}

.pack-section-title {
    font-size: 1.08rem;
    font-weight: 800;
}

.pack-count {
    font-size: .86rem;
    color: var(--pack-muted);
    border: 1px solid var(--pack-line);
    border-radius: 999px;
    padding: 4px 10px;
}

.pack-product-card {
    border: 1px solid var(--pack-line);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
    padding: 14px;
    transition: .18s ease;
}

    .pack-product-card:hover {
        transform: translateY(-2px);
        border-color: rgba(212,175,55,.5);
    }

    .pack-product-card .product-name {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .pack-product-card .product-row {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        font-size: .92rem;
        color: var(--pack-muted);
    }

        .pack-product-card .product-row strong {
            color: #fff;
            font-weight: 700;
        }

/* empty states */
.pack-empty,
.pack-empty-inline {
    border: 1px dashed var(--pack-line);
    border-radius: 14px;
    background: rgba(255,255,255,.02);
    color: var(--pack-muted);
    text-align: center;
}

.pack-empty {
    padding: 32px 18px;
}

    .pack-empty h2 {
        margin: 0;
        font-size: 1.1rem;
        color: #fff;
    }

.pack-empty-inline {
    padding: 20px;
}

/* responsive */
@media (max-width: 991.98px) {
    .pack-image-col {
        border-inline-start: 0;
        border-bottom: 1px solid var(--pack-line);
    }

    .pack-image-wrap {
        min-height: 300px;
    }

    .pack-info {
        padding: 20px;
    }
}
