/* ===========================================================
   DouDou 購物網站 - 前台樣式
   風格參考 Pchome 24h購物: 淺色背景、白色卡片、橘紅色點綴色
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&display=swap');

:root {
    --dd-primary: #e8542a;      /* Pchome式橘紅 */
    --dd-primary-dark: #c9401a;
    --dd-primary-light: #ff7a4d;
    --dd-accent: #ffb020;       /* 點綴金橘色,用於徽章/強調 */
    --dd-bg: #f6f5f3;           /* 淺灰白背景 */
    --dd-card-bg: #ffffff;
    --dd-text: #2b2b2b;
    --dd-text-light: #7a7a7a;
    --dd-border: #ececec;
    --dd-gradient: linear-gradient(135deg, #ff7a4d 0%, #e8542a 55%, #c9401a 100%);
    --dd-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --dd-shadow-md: 0 8px 24px rgba(232,84,42,0.12);
    --dd-shadow-lg: 0 16px 40px rgba(0,0,0,0.14);
    --dd-radius: 14px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background-color: var(--dd-bg);
    color: var(--dd-text);
    font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.dd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
}

/* ---------- Header ---------- */
.dd-topbar {
    background: #fafafa;
    border-bottom: 1px solid var(--dd-border);
    font-size: 12px;
}

.dd-topbar-inner {
    display: flex;
    justify-content: space-between;
    padding: 6px 12px;
    color: var(--dd-text-light);
}

.dd-topbar-links a { margin-right: 12px; }
.dd-topbar-links a:hover { color: var(--dd-primary); }

.dd-main-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--dd-card-bg);
}

.dd-logo {
    font-size: 26px;
    font-weight: bold;
    white-space: nowrap;
}
.dd-logo-dou { color: var(--dd-primary); }
.dd-logo-dou2 { color: var(--dd-text); }
.dd-logo-sub { font-size: 12px; color: var(--dd-text-light); margin-left: 4px; }

.dd-search-form {
    flex: 1;
    display: flex;
    min-width: 0;
}

.dd-search-input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: 2px solid var(--dd-primary);
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.dd-search-btn {
    padding: 8px 16px;
    background: var(--dd-primary);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}
.dd-search-btn:hover { background: var(--dd-primary-dark); }

.dd-cart-icon {
    white-space: nowrap;
    font-size: 14px;
    padding: 8px 10px;
}
.dd-cart-label { display: inline; }

/* ---------- Category Nav ---------- */
.dd-category-nav {
    background: var(--dd-primary);
}

.dd-category-nav-inner {
    display: flex;
    align-items: center;
    position: relative;
}

.dd-category-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
}

.dd-category-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.dd-category-list li a {
    display: block;
    padding: 10px 14px;
    color: #fff;
    font-size: 14px;
}
.dd-category-list li a:hover { background: var(--dd-primary-dark); }

/* ---------- Banner Carousel ---------- */
.dd-banner-carousel {
    position: relative;
    max-width: 1200px;
    margin: 16px auto;
    aspect-ratio: 3 / 1;
    overflow: hidden;
    border-radius: var(--dd-radius);
    background: linear-gradient(135deg, #f0f0f0, #e2e2e2);
    box-shadow: var(--dd-shadow-lg);
}

.dd-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.dd-banner-slide.active { opacity: 1; }
.dd-banner-slide img { width: 100%; height: 100%; object-fit: cover; }

.dd-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 45%);
}

.dd-banner-caption {
    position: absolute;
    left: 24px;
    bottom: 24px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    letter-spacing: 0.5px;
}

.dd-banner-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    color: #999;
}
.dd-banner-empty-icon { font-size: 40px; opacity: 0.6; }

.dd-banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.dd-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    transition: all 0.3s ease;
}
.dd-dot.active { background: #fff; width: 22px; border-radius: 5px; }

/* ---------- Promo Strip(會員卡/合作店家/福利活動/優惠券商城 快捷入口) ---------- */
.dd-promo-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 20px auto;
}
.dd-promo-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-radius: var(--dd-radius);
    color: #fff;
    box-shadow: var(--dd-shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dd-promo-tile:hover { transform: translateY(-4px); box-shadow: var(--dd-shadow-lg); }
.dd-promo-icon { font-size: 26px; }
.dd-promo-text { display: flex; flex-direction: column; line-height: 1.4; }
.dd-promo-text b { font-size: 14px; }
.dd-promo-text span { font-size: 11px; opacity: 0.9; }

.dd-promo-card1 { background: linear-gradient(135deg,#ff7a4d,#e8542a); }
.dd-promo-card2 { background: linear-gradient(135deg,#6a89ff,#4a5fd6); }
.dd-promo-card3 { background: linear-gradient(135deg,#ffb020,#ff7a45); }
.dd-promo-card4 { background: linear-gradient(135deg,#2fc48d,#1a9b6c); }

/* ---------- Quick Category Grid (icon row) ---------- */
.dd-quick-categories { padding: 16px 0; }
.dd-quick-cat-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}
.dd-quick-cat-item { color: var(--dd-text); font-size: 12px; transition: transform 0.2s ease; }
.dd-quick-cat-item:hover { transform: translateY(-3px); }
.dd-quick-cat-icon {
    width: 52px; height: 52px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
    background-image: var(--dd-gradient);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--dd-shadow-sm);
    transition: box-shadow 0.2s ease;
}
.dd-quick-cat-item:hover .dd-quick-cat-icon { box-shadow: var(--dd-shadow-md); }
.dd-quick-cat-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: #fff; }
.dd-quick-cat-icon-placeholder {
    width: 100%; height: 100%; border-radius: 50%;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    color: var(--dd-primary); font-weight: 900; font-size: 18px;
}

/* ---------- Product Grid ---------- */
.dd-product-section { padding: 20px 0; }
.dd-section-title {
    font-size: 18px;
    border-left: 4px solid var(--dd-primary);
    padding-left: 8px;
    margin-bottom: 12px;
}

.dd-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.dd-section-title-fancy {
    font-size: 22px;
    font-weight: 900;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--dd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.dd-flame, .dd-sparkle { -webkit-text-fill-color: initial; display: inline-block; animation: dd-bounce 1.8s ease-in-out infinite; }
@keyframes dd-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.dd-section-more {
    font-size: 13px;
    color: var(--dd-text-light);
    font-weight: 500;
    transition: color 0.2s ease;
}
.dd-section-more:hover { color: var(--dd-primary); }

.dd-product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.dd-product-card {
    background: var(--dd-card-bg);
    border: 1px solid var(--dd-border);
    border-radius: var(--dd-radius);
    overflow: hidden;
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.dd-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--dd-shadow-md);
    border-color: transparent;
}

.dd-product-img { aspect-ratio: 1 / 1; background: #f0f0f0; position: relative; }
.dd-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.dd-product-card:hover .dd-product-img img { transform: scale(1.06); }

.dd-badge-hot, .dd-badge-new, .dd-badge-discount {
    position: absolute;
    top: 8px;
    z-index: 3;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.dd-badge-hot { left: 8px; background: linear-gradient(135deg,#ff7a4d,#e8542a); }
.dd-badge-new { left: 8px; background: linear-gradient(135deg,#2fc48d,#1a9b6c); }
.dd-badge-discount { right: 8px; background: linear-gradient(135deg,#ffb020,#ff7a45); }

.dd-product-name {
    padding: 10px 10px 0;
    font-size: 13px;
    height: 36px;
    overflow: hidden;
    font-weight: 500;
}

.dd-product-price { padding: 4px 10px 12px; }
.dd-price-now { color: var(--dd-primary); font-weight: 900; font-size: 16px; }
.dd-price-original {
    color: var(--dd-text-light);
    text-decoration: line-through;
    font-size: 12px;
    margin-left: 6px;
}

.dd-empty-hint { color: var(--dd-text-light); padding: 20px 0; }

/* ---------- NotFound / Error Page ---------- */
.dd-notfound {
    text-align: center;
    padding: 60px 12px;
}
.dd-notfound-code {
    font-size: 72px;
    font-weight: bold;
    color: var(--dd-primary);
}
.dd-notfound-title { font-size: 22px; margin: 8px 0; }
.dd-notfound-desc { color: var(--dd-text-light); line-height: 1.6; }
.dd-notfound-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 28px;
    background: var(--dd-primary);
    color: #fff;
    border-radius: 4px;
}
.dd-notfound-btn:hover { background: var(--dd-primary-dark); }
.dd-error-requestid { font-size: 12px; color: #aaa; }

/* ---------- Footer ---------- */
.dd-footer {
    text-align: center;
    padding: 20px 0;
    color: var(--dd-text-light);
    font-size: 12px;
    border-top: 1px solid var(--dd-border);
    margin-top: 20px;
}
.dd-footer-links a:hover { color: var(--dd-primary); }

/* ===========================================================
   RWD - 手機版 (viewport <= 768px)
   =========================================================== */
@media (max-width: 768px) {
    .dd-topbar-inner { font-size: 11px; }
    .dd-topbar-links a { margin-right: 8px; }

    .dd-main-header { flex-wrap: wrap; }
    .dd-logo { font-size: 20px; }
    .dd-cart-label { display: none; }

    .dd-category-menu-toggle { display: block; }
    .dd-category-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dd-primary-dark);
        z-index: 20;
    }
    .dd-category-list.open { display: flex; }

    .dd-quick-cat-grid { grid-template-columns: repeat(4, 1fr); }

    .dd-product-grid { grid-template-columns: repeat(2, 1fr); }

    .dd-banner-carousel { aspect-ratio: 16 / 9; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .dd-product-grid { grid-template-columns: repeat(3, 1fr); }
    .dd-quick-cat-grid { grid-template-columns: repeat(7, 1fr); }
}

/* ---------- Auth / Profile / Cart / Checkout 共用樣式 ---------- */
.dd-auth-page { max-width: 480px; margin: 40px auto; }
.dd-auth-card {
    background: var(--dd-card-bg);
    border: 1px solid var(--dd-border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
}
.dd-auth-center { text-align: center; }
.dd-auth-title { font-size: 20px; margin-bottom: 12px; text-align: center; }
.dd-auth-desc { color: var(--dd-text-light); font-size: 13px; margin-bottom: 12px; }
.dd-auth-footer { text-align: center; font-size: 13px; color: var(--dd-text-light); }
.dd-auth-footer a { color: var(--dd-primary); }

.dd-form-group { margin-bottom: 14px; }
.dd-form-group label { display: block; margin-bottom: 4px; font-size: 13px; color: var(--dd-text-light); }
.dd-form-input {
    width: 100%; padding: 10px; border: 1px solid var(--dd-border); border-radius: 4px; font-size: 14px;
}
.dd-form-input:focus { outline: none; border-color: var(--dd-primary); }
.dd-field-error, .dd-form-error { color: #d32f2f; font-size: 12px; }

.dd-auth-btn {
    width: 100%; padding: 12px; background: var(--dd-primary); color: #fff;
    border: none; border-radius: 4px; font-size: 15px; cursor: pointer;
}
.dd-auth-btn:hover { background: var(--dd-primary-dark); }

.dd-alert-success {
    background: #e8f5e9; color: #2e7d32; padding: 10px 14px; border-radius: 4px; margin-bottom: 12px;
}

.dd-alert-error {
    background: #fdecea; color: #c62828; padding: 12px 16px; border-radius: 6px; margin-bottom: 16px;
    border: 1px solid #f5c6c2; font-size: 14px; font-weight: 500;
}

.dd-profile-page { max-width: 640px; margin: 20px auto; }
.dd-address-row { padding: 8px 0; border-bottom: 1px solid var(--dd-border); font-size: 13px; }
.dd-badge-default { background: var(--dd-primary); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 3px; margin-left: 6px; }

/* ---------- Cart ---------- */
.dd-cart-page { max-width: 900px; margin: 20px auto; }
.dd-cart-table { width: 100%; border-collapse: collapse; background: #fff; }
.dd-cart-table th, .dd-cart-table td { padding: 10px; border-bottom: 1px solid var(--dd-border); font-size: 13px; text-align: left; }
.dd-cart-item-img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
.dd-cart-qty-input { width: 50px; padding: 4px; text-align: center; }
.dd-cart-summary { text-align: right; padding: 16px; background: #fff; margin-top: 12px; border-radius: 6px; }
.dd-cart-total { font-size: 20px; color: var(--dd-primary); font-weight: bold; }
.dd-btn-remove { color: #d32f2f; background: none; border: none; cursor: pointer; font-size: 13px; }
.dd-btn-checkout {
    display: inline-block; margin-top: 10px; padding: 10px 30px;
    background: var(--dd-primary); color: #fff; border-radius: 4px; border: none; cursor: pointer;
}

/* ---------- Checkout ---------- */
.dd-checkout-page { max-width: 720px; margin: 20px auto; }
.dd-checkout-section { background: #fff; border-radius: 6px; padding: 16px; margin-bottom: 14px; border: 1px solid var(--dd-border); }
.dd-checkout-section h3 { margin-top: 0; font-size: 15px; border-left: 3px solid var(--dd-primary); padding-left: 8px; }
.dd-checkout-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.dd-checkout-row.total { font-size: 18px; font-weight: bold; color: var(--dd-primary); border-top: 1px dashed var(--dd-border); padding-top: 8px; margin-top: 6px; }

/* ---------- Product Detail / Category ---------- */
.dd-detail-page { max-width: 1000px; margin: 20px auto; display: flex; gap: 24px; flex-wrap: wrap; }
.dd-detail-img { flex: 1 1 360px; }
.dd-detail-img img { width: 100%; border-radius: 8px; border: 1px solid var(--dd-border); }
.dd-detail-info { flex: 1 1 320px; }
.dd-detail-price { font-size: 26px; color: var(--dd-primary); font-weight: bold; margin: 10px 0; }
.dd-sku-select { margin: 12px 0; }
.dd-sku-select select { padding: 8px; border-radius: 4px; border: 1px solid var(--dd-border); width: 100%; max-width: 300px; }

.dd-category-page { max-width: 1200px; margin: 20px auto; }
.dd-filter-bar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.dd-filter-bar a { padding: 6px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--dd-border); font-size: 13px; }
.dd-filter-bar a.active { background: var(--dd-primary); color: #fff; border-color: var(--dd-primary); }

/* ---------- Order History ---------- */
.dd-order-page { max-width: 900px; margin: 20px auto; }
.dd-order-card { background: #fff; border: 1px solid var(--dd-border); border-radius: 6px; padding: 14px; margin-bottom: 12px; }
.dd-order-header { display: flex; justify-content: space-between; font-size: 13px; color: var(--dd-text-light); border-bottom: 1px solid var(--dd-border); padding-bottom: 8px; margin-bottom: 8px; }
.dd-order-status { font-weight: bold; color: var(--dd-primary); }

/* ---------- Member Card ---------- */
.dd-membercard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px auto; max-width: 1200px; padding: 0 12px; }
.dd-membercard-card { background: #fff; border-radius: 10px; border: 1px solid var(--dd-border); padding: 20px; text-align: center; }
.dd-membercard-price { font-size: 28px; color: var(--dd-primary); font-weight: bold; margin: 10px 0; }
.dd-membercard-benefit-list { text-align: left; font-size: 13px; margin: 12px 0; padding-left: 18px; }

@media (max-width: 768px) {
    .dd-membercard-grid { grid-template-columns: 1fr; }
    .dd-detail-page { flex-direction: column; }
}

/* ---------- 商品卡片: 主圖/子圖 hover 切換(參考Pchome列表頁效果) ---------- */
.dd-product-img { position: relative; overflow: hidden; }
.dd-product-img .dd-img-primary,
.dd-product-img .dd-img-secondary {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: opacity 0.25s ease;
}
.dd-product-img .dd-img-secondary { opacity: 0; }
.dd-product-card:hover .dd-img-secondary { opacity: 1; }
.dd-product-card:hover .dd-img-primary { opacity: 0; }

/* ---------- 商品明細頁: 主圖+子圖整合圖庫 ---------- */
.dd-gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.dd-gallery-thumb {
    width: 60px; height: 60px; object-fit: cover; border-radius: 4px; cursor: pointer;
    border: 2px solid transparent; opacity: 0.8;
}
.dd-gallery-thumb.active { border-color: var(--dd-primary); opacity: 1; }
.dd-gallery-thumb:hover { opacity: 1; }

/* ---------- Empty State (華麗版空狀態,取代原本純文字提示) ---------- */
.dd-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, #fff7f2, #fff);
    border: 1.5px dashed #f3c9b6;
    border-radius: var(--dd-radius);
}
.dd-empty-state-icon {
    font-size: 44px;
    margin-bottom: 12px;
    opacity: 0.85;
    animation: dd-bounce 2.2s ease-in-out infinite;
}
.dd-empty-state-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dd-text);
    margin: 0 0 6px;
}
.dd-empty-state-desc {
    font-size: 13px;
    color: var(--dd-text-light);
    max-width: 380px;
    margin: 0;
    line-height: 1.7;
}

/* ---------- Trust Strip(信任感/服務保證區塊) ---------- */
.dd-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 28px auto 36px;
    padding: 20px;
    background: #fff;
    border-radius: var(--dd-radius);
    box-shadow: var(--dd-shadow-sm);
}
.dd-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dd-trust-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #fff3ee;
    font-size: 18px;
    flex-shrink: 0;
}
.dd-trust-item div b { display: block; font-size: 13px; }
.dd-trust-item div span { font-size: 11px; color: var(--dd-text-light); }

/* ---------- RWD 補充: 首頁華麗版元件手機/平板調整 ---------- */
@media (max-width: 768px) {
    .dd-promo-strip { grid-template-columns: repeat(2, 1fr); }
    .dd-trust-strip { grid-template-columns: repeat(2, 1fr); }
    .dd-banner-caption { font-size: 16px; left: 14px; bottom: 14px; }
    .dd-section-title-fancy { font-size: 18px; }
    .dd-empty-state { padding: 32px 16px; }
    .dd-empty-state-icon { font-size: 34px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .dd-promo-strip { grid-template-columns: repeat(4, 1fr); }
    .dd-trust-strip { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 靜態頁面(關於我們/服務條款/隱私權政策) ---------- */
.dd-static-page { max-width: 860px; margin: 20px auto 60px; }
.dd-static-card {
    background: var(--dd-card-bg);
    border-radius: var(--dd-radius);
    box-shadow: var(--dd-shadow-sm);
    padding: 28px 32px;
    line-height: 1.9;
    font-size: 14px;
    color: var(--dd-text);
}
.dd-static-card h2 {
    font-size: 16px;
    margin: 24px 0 10px;
    padding-left: 10px;
    border-left: 3px solid var(--dd-primary);
}
.dd-static-card h2:first-of-type { margin-top: 8px; }
.dd-static-card p { margin: 0 0 12px; }
.dd-static-card ul { margin: 0 0 12px; padding-left: 20px; }
.dd-static-card li { margin-bottom: 6px; }
.dd-static-card a { color: var(--dd-primary); text-decoration: underline; }
.dd-static-updated { color: var(--dd-text-light); font-size: 12px; margin-bottom: 16px; }
.dd-static-note {
    margin-top: 24px;
    padding: 12px 14px;
    background: #fff7f2;
    border: 1px dashed #f3c9b6;
    border-radius: 8px;
    font-size: 12px;
    color: var(--dd-text-light);
}

@media (max-width: 768px) {
    .dd-static-card { padding: 20px; }
}

/* ---------- 付款成功頁 ---------- */
.dd-paysuccess-page { max-width: 640px; margin: 40px auto 60px; }
.dd-paysuccess-card {
    background: var(--dd-card-bg);
    border-radius: var(--dd-radius);
    box-shadow: var(--dd-shadow-lg);
    padding: 36px 28px;
    text-align: center;
}
.dd-paysuccess-icon {
    font-size: 56px;
    margin-bottom: 8px;
    animation: dd-bounce 2s ease-in-out infinite;
}
.dd-paysuccess-title {
    font-size: 26px;
    font-weight: 900;
    color: #2e7d32;
    margin: 4px 0 8px;
}
.dd-paysuccess-desc { color: var(--dd-text-light); margin-bottom: 8px; }
.dd-paysuccess-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}
.dd-paysuccess-secondary-btn {
    display: inline-block;
    padding: 10px 28px;
    border: 1.5px solid var(--dd-primary);
    color: var(--dd-primary);
    border-radius: 4px;
    font-weight: 500;
}
.dd-paysuccess-actions .dd-notfound-btn { margin-top: 0; }
.dd-paysuccess-secondary-btn:hover { background: #fff3ee; }

@media (max-width: 768px) {
    .dd-paysuccess-card { padding: 24px 18px; }
    .dd-paysuccess-icon { font-size: 44px; }
    .dd-paysuccess-title { font-size: 20px; }
}
