/* ═══════════════════════════════════════════
   CreaNext Shop — Premium E-Commerce Styles
   ═══════════════════════════════════════════ */
:root {
    --shop-accent: #6366f1;
    --shop-accent2: #8b5cf6;
    --shop-green: #10b981;
    --shop-yellow: #f59e0b;
    --shop-red: #ef4444;
    --shop-bg: #060610;
    --shop-card: rgba(15, 15, 28, 0.9);
    --shop-border: rgba(255,255,255,0.07);
}

/* ── Hero ── */
.sh-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% -10%, rgba(99,102,241,0.18) 0%, transparent 60%);
}
.sh-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Cpath d='M20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.sh-hero-glow {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
}
.sh-hero-glow.g1 { top: -200px; left: 20%; background: #6366f1; }
.sh-hero-glow.g2 { top: -100px; right: 10%; background: #8b5cf6; }
.sh-hero-badge-row {
    display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.sh-hero-badge {
    padding: 0.3rem 0.85rem; border-radius: 20px; font-size: 0.72rem; font-weight: 700;
    border: 1px solid; display: inline-flex; align-items: center; gap: 0.35rem;
    animation: fadeUp 0.6s ease both;
}
.sh-hero-badge:nth-child(2) { animation-delay: 0.1s; }
.sh-hero-badge:nth-child(3) { animation-delay: 0.2s; }
.sh-hero-badge.green { color: #34d399; border-color: rgba(52,211,153,0.3); background: rgba(52,211,153,0.08); }
.sh-hero-badge.blue { color: #818cf8; border-color: rgba(129,140,248,0.3); background: rgba(129,140,248,0.08); }
.sh-hero-badge.amber { color: #fbbf24; border-color: rgba(251,191,36,0.3); background: rgba(251,191,36,0.08); }
.sh-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.15;
    background: linear-gradient(135deg, #fff 30%, #a5b4fc 80%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: fadeUp 0.6s 0.15s ease both;
}
.sh-hero-sub {
    color: var(--text-muted); font-size: 1.05rem; max-width: 520px; margin: 0 auto 2rem;
    animation: fadeUp 0.6s 0.25s ease both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── Announcement Bar ── */
.sh-announce {
    background: linear-gradient(90deg, rgba(99,102,241,0.12), rgba(139,92,246,0.12));
    border-top: 1px solid rgba(99,102,241,0.15); border-bottom: 1px solid rgba(99,102,241,0.15);
    padding: 0.6rem 1rem; text-align: center; font-size: 0.82rem; font-weight: 600; color: #a5b4fc;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}

/* ── Product Showcase (Single Product Landing) ── */
.sh-product {
    max-width: 1100px; margin: 0 auto; padding: 3rem 2rem 2rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.sh-product-gallery {
    position: relative; border-radius: 20px; overflow: hidden;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.05));
    border: 1px solid var(--shop-border); aspect-ratio: 4/3;
}
.sh-product-gallery img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.sh-product-gallery:hover img { transform: scale(1.03); }
.sh-product-badge {
    position: absolute; top: 1rem; left: 1rem; z-index: 2;
    padding: 0.35rem 0.85rem; border-radius: 8px; font-size: 0.7rem; font-weight: 700;
    background: linear-gradient(135deg, var(--shop-accent), var(--shop-accent2));
    color: #fff; box-shadow: 0 4px 12px rgba(99,102,241,0.4); letter-spacing: 0.5px;
}
.sh-product-info { display: flex; flex-direction: column; gap: 1rem; }
.sh-product-cat {
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--shop-accent); display: flex; align-items: center; gap: 0.4rem;
}
.sh-product-title { font-size: 1.8rem; font-weight: 800; line-height: 1.3; color: #fff; }
.sh-product-desc { color: var(--text-muted); font-size: 0.92rem; line-height: 1.8; }
.sh-product-rating { display: flex; align-items: center; gap: 0.5rem; }
.sh-product-rating .stars { color: var(--shop-yellow); font-size: 0.85rem; letter-spacing: 2px; }
.sh-product-rating .count { font-size: 0.8rem; color: #666; }

/* Price Block */
.sh-price-block {
    background: rgba(255,255,255,0.03); border: 1px solid var(--shop-border);
    border-radius: 14px; padding: 1.2rem; display: flex; flex-direction: column; gap: 0.5rem;
}
.sh-price-row { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.sh-price-now { font-size: 2.4rem; font-weight: 800; color: #fff; }
.sh-price-was { font-size: 1rem; color: #555; text-decoration: line-through; }
.sh-price-off {
    font-size: 0.72rem; font-weight: 700; color: var(--shop-green);
    background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2);
    padding: 0.2rem 0.5rem; border-radius: 6px;
}
.sh-price-note { font-size: 0.75rem; color: #555; display: flex; align-items: center; gap: 0.4rem; }
.sh-price-note i { color: var(--shop-green); }

/* CTA Buttons */
.sh-cta-group { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.sh-buy-btn {
    flex: 1; min-width: 200px; padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--shop-accent), var(--shop-accent2));
    border: none; border-radius: 12px; color: #fff; font-size: 1rem; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    transition: all 0.3s; position: relative; overflow: hidden;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.sh-buy-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,102,241,0.4); filter: brightness(1.1); }
.sh-buy-btn::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%); transition: 0.6s;
}
.sh-buy-btn:hover::after { transform: translateX(100%); }
.sh-cart-btn {
    padding: 1rem 1.2rem; background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
    color: #aaa; font-size: 1.1rem; cursor: pointer; transition: all 0.2s;
}
.sh-cart-btn:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.25); }

/* Features Grid */
.sh-features {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
    padding: 0.5rem 0;
}
.sh-feat {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.82rem; color: #ccc;
}
.sh-feat i { color: var(--shop-green); font-size: 0.7rem; flex-shrink: 0; }

/* ── Trust Strip ── */
.sh-trust {
    max-width: 1100px; margin: 2rem auto 0; padding: 0 2rem;
    display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
}
.sh-trust-item {
    display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: #555;
    padding: 0.6rem 1rem; background: rgba(255,255,255,0.02);
    border: 1px solid var(--shop-border); border-radius: 10px;
}
.sh-trust-item i { font-size: 1rem; }
.sh-trust-item i.green { color: var(--shop-green); }
.sh-trust-item i.blue { color: #818cf8; }
.sh-trust-item i.amber { color: #fbbf24; }

/* ── Social Proof ── */
.sh-social-proof {
    max-width: 800px; margin: 3rem auto; padding: 0 2rem; text-align: center;
}
.sh-social-proof h2 {
    font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sh-social-proof > p { color: #666; font-size: 0.88rem; margin-bottom: 2rem; }
.sh-testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.sh-testimonial {
    background: var(--shop-card); border: 1px solid var(--shop-border);
    border-radius: 14px; padding: 1.2rem; text-align: left;
    transition: border-color 0.3s;
}
.sh-testimonial:hover { border-color: rgba(99,102,241,0.3); }
.sh-testimonial-stars { color: var(--shop-yellow); font-size: 0.75rem; margin-bottom: 0.6rem; letter-spacing: 2px; }
.sh-testimonial p { font-size: 0.82rem; color: #bbb; line-height: 1.6; margin-bottom: 0.8rem; font-style: italic; }
.sh-testimonial-author { font-size: 0.75rem; color: #666; font-weight: 600; }

/* ── FAQ ── */
.sh-faq {
    max-width: 700px; margin: 3rem auto; padding: 0 2rem;
}
.sh-faq h2 {
    font-size: 1.4rem; font-weight: 800; text-align: center; margin-bottom: 1.5rem;
    color: #fff;
}
.sh-faq-item {
    border: 1px solid var(--shop-border); border-radius: 12px;
    margin-bottom: 0.6rem; overflow: hidden; background: var(--shop-card);
    transition: border-color 0.3s;
}
.sh-faq-item:hover { border-color: rgba(99,102,241,0.25); }
.sh-faq-q {
    padding: 1rem 1.2rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-size: 0.88rem; font-weight: 600; color: #ddd; transition: color 0.2s;
}
.sh-faq-q:hover { color: #fff; }
.sh-faq-q i { color: #555; transition: transform 0.3s; font-size: 0.8rem; }
.sh-faq-item.open .sh-faq-q i { transform: rotate(180deg); color: var(--shop-accent); }
.sh-faq-a {
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s;
    font-size: 0.82rem; color: #888; line-height: 1.7; padding: 0 1.2rem;
}
.sh-faq-item.open .sh-faq-a { max-height: 200px; padding: 0 1.2rem 1rem; }

/* ── CTA Bottom ── */
.sh-bottom-cta {
    max-width: 700px; margin: 3rem auto; padding: 2.5rem 2rem; text-align: center;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.08));
    border: 1px solid rgba(99,102,241,0.2); border-radius: 20px; position: relative; overflow: hidden;
}
.sh-bottom-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99,102,241,0.15), transparent 60%);
    pointer-events: none;
}
.sh-bottom-cta h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.6rem; color: #fff; position: relative; }
.sh-bottom-cta p { font-size: 0.88rem; color: #888; margin-bottom: 1.5rem; position: relative; }
.sh-bottom-cta .sh-buy-btn { margin: 0 auto; max-width: 320px; position: relative; }

/* ── Checkout Modal ── */
.sh-checkout-overlay {
    position: fixed; inset: 0; z-index: 9500;
    background: rgba(0,0,0,0.88); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center; padding: 1rem;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.sh-checkout-overlay.open { opacity: 1; pointer-events: all; }
.sh-checkout-box {
    background: #0e0e1a; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px; max-width: 460px; width: 100%;
    transform: scale(0.95); transition: transform 0.3s; overflow: hidden;
}
.sh-checkout-overlay.open .sh-checkout-box { transform: scale(1); }
.sh-checkout-header {
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.08));
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex; justify-content: space-between; align-items: center;
}
.sh-checkout-header h3 { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 0.4rem; }
.sh-checkout-close { background: none; border: none; color: #888; font-size: 1.3rem; cursor: pointer; }
.sh-checkout-close:hover { color: #fff; }
.sh-checkout-body { padding: 1.5rem; }
.sh-co-summary {
    display: flex; gap: 0.8rem; padding: 0.8rem;
    background: rgba(255,255,255,0.03); border-radius: 10px; margin-bottom: 1.2rem; align-items: center;
}
.sh-co-thumb {
    width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
    background: rgba(99,102,241,0.1);
}
.sh-co-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sh-co-name { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.2rem; }
.sh-co-price { font-size: 1.1rem; font-weight: 800; color: #a5b4fc; }
.sh-co-label {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    color: #555; margin-bottom: 0.6rem;
}
.sh-co-input {
    width: 100%; padding: 0.75rem 1rem; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: #fff;
    font-size: 0.9rem; font-family: var(--font-main); outline: none;
    transition: border-color 0.2s, box-shadow 0.2s; margin-bottom: 0.75rem; box-sizing: border-box;
}
.sh-co-input:focus { border-color: var(--shop-accent); box-shadow: 0 0 0 3px rgba(99,102,241,0.12); }
.sh-co-input.error { border-color: var(--shop-red); }
.sh-co-input::placeholder { color: #444; }
.sh-co-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 1rem 0; }
.sh-co-payment {
    display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1rem;
    background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.25);
    border-radius: 10px; margin-bottom: 1rem;
}
.sh-co-payment-icon { font-size: 1.5rem; color: #5f259f; }
.sh-co-payment-name { font-size: 0.88rem; font-weight: 700; color: #fff; }
.sh-co-payment-desc { font-size: 0.72rem; color: #666; }
.sh-co-pay-btn {
    width: 100%; padding: 1rem; background: linear-gradient(135deg, #5f259f, #7c3aed);
    border: none; border-radius: 10px; color: #fff; font-size: 1.05rem; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    transition: filter 0.2s;
}
.sh-co-pay-btn:hover:not(:disabled) { filter: brightness(1.15); }
.sh-co-pay-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.sh-co-trust {
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    margin-top: 0.8rem; font-size: 0.7rem; color: #555; flex-wrap: wrap;
}
.sh-co-trust span { display: flex; align-items: center; gap: 0.3rem; }
.sh-co-trust i { color: var(--shop-green); }

/* ── Toast ── */
.sh-toast {
    position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(20px);
    padding: 0.75rem 1.5rem; border-radius: 10px; font-size: 0.88rem; font-weight: 600;
    z-index: 99999; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    opacity: 0; transition: all 0.3s; pointer-events: none; max-width: 90vw; text-align: center;
}
.sh-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.sh-toast.success { background: #065f46; border: 1px solid rgba(16,185,129,0.3); }
.sh-toast.error { background: #7f1d1d; border: 1px solid rgba(239,68,68,0.3); }
.sh-toast.info { background: #1e1b4b; border: 1px solid rgba(99,102,241,0.3); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .sh-product { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1.2rem; }
    .sh-product-title { font-size: 1.4rem; }
    .sh-features { grid-template-columns: 1fr; }
    .sh-trust { gap: 0.6rem; }
    .sh-trust-item { font-size: 0.7rem; padding: 0.5rem 0.7rem; }
    .sh-testimonials { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .sh-cta-group { flex-direction: column; }
    .sh-buy-btn { min-width: unset; }
}
