/*
 * Çay Pudrası: vitrin düzeni (başlık, ana sayfa, ürün kartı, alt bilgi).
 * Yalnızca bu temanın kendi görünümlerindeki cp-* sınıflarını biçimlendirir.
 */

/* ---------- Düğmeler ---------- */
.cp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px; border-radius: 999px; border: 1.5px solid var(--cp-ink); font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; transition: background .2s, color .2s, opacity .2s; }
.cp-btn-solid { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.cp-btn-solid:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.cp-btn-line { background: transparent; color: var(--cp-ink); }
.cp-btn-line:hover { background: var(--cp-ink); color: #fff; }
.cp-btn-pale { background: var(--bg-light); border-color: var(--bg-light); color: var(--cp-ink); }
.cp-btn-pale:hover { background: #fff; color: var(--cp-ink); }
.cp-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--primary-color); }
.cp-link:hover { color: var(--primary-hover); opacity: .8; }

/* ---------- Duyuru ve başlık ---------- */
.cp-offer { background: var(--primary-color); color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding: 9px 12px; }
.cp-offer span { color: var(--cp-sage); }
.top-bar { background: var(--cp-mist); }
.cp-header { background: var(--bg-light); border-bottom: 1px solid var(--border-color) !important; }
.cp-header .main-header { background: transparent; padding: 18px 0; border: 0; }
.cp-header .header-grid { grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) auto; gap: 32px; }
.cp-logo-link { display: inline-flex; align-items: center; min-height: 44px; }
.cp-logo-text { font-size: 30px; font-weight: 800; letter-spacing: .01em; color: var(--cp-ink); }
.cp-logo-img { max-height: 55px; max-width: 100%; object-fit: contain; }
.cp-header .header-actions { display: flex; align-items: center; gap: 22px; }
.cp-header .action-item { flex-direction: row; gap: 8px; font-size: 14px; font-weight: 700; min-height: 44px; }
.cp-header .action-item i { margin: 0; font-size: 20px; }
.cp-header .badge-count { position: static; width: 22px; height: 22px; margin-left: -2px; background: var(--primary-color); }
.cp-header .bottom-nav-wrapper { background: transparent; border-top: 1px solid var(--border-color); }
.cp-horizontal-menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 26px; padding: 6px 0; }
.cp-horizontal-menu > li { position: relative; }
.cp-horizontal-menu > li > a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 4px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--cp-ink); background: transparent; }
.cp-horizontal-menu > li:hover > a { color: var(--primary-color); background: transparent; }
.cp-has-sub:hover .cp-dropdown, .cp-has-sub:focus-within .cp-dropdown { display: block; }
.cp-dropdown { display: none; position: absolute; top: 100%; left: 0; z-index: 30; min-width: 220px; padding: 10px; background: #fff; border: 1px solid var(--border-color); border-radius: 18px; box-shadow: var(--box-shadow); }
.cp-dropdown a { display: block; padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 500; }
.cp-dropdown a:hover { background: var(--cp-mist); color: var(--primary-color); }
.cp-header .search-box { background: #fff; }
.cp-header .search-box input { min-height: 44px; padding-block: 10px; }

/* ---------- Ana sayfa: giriş alanı ---------- */
.cp-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 48px 0 72px; }
.cp-hero-copy { flex: 1 1 420px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.cp-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-color); }
.cp-hero-title { margin: 0; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; color: var(--cp-ink); }
.cp-hero-text { margin: 0; max-width: 480px; font-size: 19px; line-height: 1.6; color: var(--text-color); }
.cp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.cp-hero-media { flex: 1 1 360px; display: flex; justify-content: center; min-width: 0; }
.cp-hero-slider { position: relative; width: 100%; max-width: 560px; border-radius: 32px; overflow: hidden; background: var(--cp-tint); }
.cp-hero-img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.cp-hero-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.cp-hero-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.cp-hero-dots button.active { background: #fff; width: 26px; border-radius: 999px; }
.cp-hero-art { width: 100%; max-width: 440px; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--cp-sage); display: flex; align-items: center; justify-content: center; }
.cp-hero-tin { width: 52%; height: 62%; border-radius: 18px; background: var(--primary-color); display: flex; align-items: center; justify-content: center; }
.cp-hero-label { width: 64%; padding: 14% 0; border-radius: 10px; background: var(--bg-light); text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--primary-color); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Ana sayfa: ürün bölümleri ---------- */
.cp-panel { margin: 0 0 32px; padding: 48px; background: #fff; border-radius: 32px; }
.cp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; margin-bottom: 32px; }
.cp-title { margin: 0; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.01em; color: var(--cp-ink); }
.cp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.cp-banners { margin-bottom: 32px; }
.cp-banners img { border-radius: 24px; }

/* ---------- Ürün kartı ---------- */
.cp-product-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cp-product-card .card-image-area { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; background: var(--cp-tint); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cp-product-card .card-image-area > a { display: block; width: 100%; height: 100%; }
.cp-product-card .main-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cp-product-card:hover .main-img { transform: scale(1.04); }
.cp-product-card .store-no-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--cp-muted); font-size: 14px; }
.cp-badges { position: absolute; left: 10px; top: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 60px); }
.cp-badges .badge-item { padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.cp-product-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cp-muted); }
.cp-product-title { font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--cp-ink); overflow-wrap: anywhere; }
.cp-product-title:hover { color: var(--primary-color); }
.cp-product-card .card-body-area { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cp-price-box { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cp-price-box .current-price { font-size: 17px; font-weight: 800; color: var(--cp-ink); }
.cp-price-box .old-price { font-size: 14px; text-decoration: line-through; color: #6b7561; }
.cp-price-box small { flex-basis: 100%; font-size: 12px; color: var(--cp-muted); }
.cp-product-card .card-action-area { margin-top: auto; }
.cp-btn-cart { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--cp-ink); background: transparent; color: var(--cp-ink); font-size: 14px; font-weight: 700; transition: background .2s, color .2s; }
.cp-btn-cart:hover { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.cp-btn-cart.outline { border-color: var(--border-color); }
.cp-btn-cart.out-of-stock { border-color: var(--border-color); color: #7b8573; background: var(--cp-mist); cursor: not-allowed; }
.cp-product-card .btn-fav-trigger, .cp-product-card [data-native-favorite] { z-index: 3; }

/* ---------- Ana sayfa: neden / çağrı / blog ---------- */
.cp-why { padding: 48px 0 72px; display: flex; flex-direction: column; gap: 40px; }
.cp-why-title { max-width: 560px; }
.cp-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.cp-why-item { border-top: 2px solid var(--primary-color); padding-top: 20px; }
.cp-why-item h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; }
.cp-why-item p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-color); }
.cp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin: 0 0 64px; padding: 56px 48px; border-radius: 32px; background: var(--primary-color); color: #fff; }
.cp-cta-copy { max-width: 560px; }
.cp-cta h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: #fff; }
.cp-cta p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--cp-tint); }
.cp-grid-blog { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cp-post { display: flex; flex-direction: column; gap: 10px; }
.cp-post-img { display: block; aspect-ratio: 4 / 3; border-radius: 20px; background: var(--cp-tint); overflow: hidden; }
.cp-post-img img { width: 100%; height: 100%; object-fit: cover; }
.cp-post time { font-size: 13px; color: var(--cp-muted); }
.cp-post h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.4; }

/* ---------- Güven şeridi ve alt bilgi ---------- */
.cp-trust-bar { background: var(--cp-mist); padding: 40px 0; border-top: 1px solid var(--border-color); }
.cp-trust-bar .trust-item { display: flex; align-items: flex-start; gap: 14px; }
.cp-trust-bar .trust-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; font-size: 18px; }
.cp-trust-bar .trust-title { margin: 0 0 2px; font-size: 14px; font-weight: 800; letter-spacing: .03em; }
.cp-trust-bar .trust-text { margin: 0; font-size: 13px; color: var(--cp-muted); }
.cp-footer { background: var(--primary-color); color: var(--cp-tint); padding-top: 64px; margin-top: 0; }
.cp-footer .footer-about-text { max-width: 360px; font-size: 14px; line-height: 1.7; color: var(--cp-tint); }
.cp-footer .footer-logo span { color: #fff; font-weight: 800; }
.cp-footer .footer-heading { margin: 0 0 18px; font-size: 16px; font-weight: 800; color: #fff; }
.cp-footer .footer-nav-list li { margin-bottom: 10px; }
.cp-footer a, .cp-footer button { color: var(--cp-tint); }
.cp-footer a:hover, .cp-footer button:hover { color: #fff; }
.cp-footer .footer-nav-list button { background: none; border: 0; padding: 0; font: inherit; text-align: left; }
.cp-footer .contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; }
.cp-footer .footer-social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cp-footer .footer-social-links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cp-footer .footer-social-links a:hover { background: var(--cp-sage); color: var(--cp-ink); }
.cp-footer .footer-bottom { margin-top: 40px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .15); background: transparent; font-size: 13px; }
.cp-footer .native-payment-logos { max-height: 28px; width: auto; }

/* ---------- Mobil ---------- */
@media (max-width: 991px) {
    .cp-header .header-grid { grid-template-columns: 1fr auto; gap: 16px; }
    .cp-hero { gap: 32px; padding: 28px 0 48px; }
    .cp-panel { padding: 28px 20px; border-radius: 24px; }
    .cp-cta { padding: 36px 24px; border-radius: 24px; }
}
@media (max-width: 575px) {
    .cp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .cp-product-title { font-size: 15px; }
    .cp-hero-title { font-size: 34px; }
    .cp-btn { width: 100%; }
    .cp-hero-actions { width: 100%; }
}
