/* ============================================================
   DTRI SHOP — GUI Theme for Product Cards
   Applied via html[data-shop-gui="..."] (set by shop.js from
   admin Appearance → card_style setting in site_appearance.json).
   Themes: iphone | telegram  (default = no overrides)
   ============================================================ */

/* --- iPhone Style --- */
html[data-shop-gui="iphone"] .product-card-v2,
html[data-shop-gui="iphone"] .pkg-card,
html[data-shop-gui="iphone"] .info-card,
html[data-shop-gui="iphone"] .game-card {
    border-radius: 22px !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    background: rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.22), 0 0 0 0.5px rgba(255,255,255,0.08), inset 0 1px 0 rgba(255,255,255,0.07) !important;
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
}

html[data-shop-gui="iphone"] .product-card-v2:hover,
html[data-shop-gui="iphone"] .pkg-card:hover,
html[data-shop-gui="iphone"] .info-card:hover,
html[data-shop-gui="iphone"] .game-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 40px rgba(0,0,0,0.32), 0 0 0 0.5px rgba(255,255,255,0.12), inset 0 1px 0 rgba(255,255,255,0.09);
}

html[data-shop-gui="iphone"] .product-card-v2 .card-image,
html[data-shop-gui="iphone"] .product-card-v2 img {
    border-radius: 18px 18px 0 0 !important;
}

html[data-shop-gui="iphone"] .product-card-v2 .card-body {
    border-radius: 0 0 22px 22px !important;
    background: rgba(255,255,255,0.025) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

html[data-shop-gui="iphone"] .ds-btn-primary,
html[data-shop-gui="iphone"] .home-primary {
    border-radius: 999px !important;
    padding: 10px 22px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px;
    transition: transform 0.2s, opacity 0.2s;
}

html[data-shop-gui="iphone"] .ds-btn-primary:active {
    transform: scale(0.96);
}

html[data-shop-gui="iphone"] .pkg-card .pkg-price {
    border-radius: 16px !important;
    background: rgba(0,229,255,0.12) !important;
    padding: 6px 14px !important;
    font-weight: 700;
}

/* --- Telegram Style --- */
html[data-shop-gui="telegram"] .product-card-v2,
html[data-shop-gui="telegram"] .pkg-card,
html[data-shop-gui="telegram"] .info-card,
html[data-shop-gui="telegram"] .game-card {
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    background: rgba(14,18,28,0.72) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18), 0 0 0 0.5px rgba(255,255,255,0.04) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: box-shadow 0.25s, transform 0.25s;
}

html[data-shop-gui="telegram"] .product-card-v2:hover,
html[data-shop-gui="telegram"] .pkg-card:hover,
html[data-shop-gui="telegram"] .info-card:hover,
html[data-shop-gui="telegram"] .game-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.28), 0 0 0 0.5px rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

html[data-shop-gui="telegram"] .product-card-v2 .card-image,
html[data-shop-gui="telegram"] .product-card-v2 img {
    border-radius: 12px 12px 0 0 !important;
}

html[data-shop-gui="telegram"] .product-card-v2 .card-desc,
html[data-shop-gui="telegram"] .info-card p,
html[data-shop-gui="telegram"] .info-card li {
    color: #8a96ad !important;
}

html[data-shop-gui="telegram"] .ds-btn-primary {
    border-radius: 10px !important;
    background: #2aa198 !important;
    box-shadow: 0 2px 8px rgba(42,161,152,0.25);
}

html[data-shop-gui="telegram"] .ds-btn-primary:hover {
    background: #36b3a9 !important;
    box-shadow: 0 4px 14px rgba(42,161,152,0.35);
}

html[data-shop-gui="telegram"] .home-primary {
    border-radius: 10px !important;
    background: #2aa198 !important;
}

html[data-shop-gui="telegram"] .pkg-card .pkg-price {
    border-radius: 8px !important;
    background: rgba(42,161,152,0.12) !important;
    color: #2aa198 !important;
    font-weight: 700;
    padding: 5px 12px !important;
}

html[data-shop-gui="telegram"] .ds-nav {
    border-bottom-color: rgba(42,161,152,0.14);
}