/* ==========================================================================
 * 66dijital Modern Store — Hediyelik Tasarım (Hediyelik Eşya & Atölye) Preset
 * Hallmark v2.0 & Impeccable Craft Floor Uyumlu
 * ========================================================================== */

:root {
    --ms-ht-forest: #08382F;
    --ms-ht-forest-deep: #052620;
    --ms-ht-emerald: #138670;
    --ms-ht-emerald-dark: #0E6B59;
    --ms-ht-gold: #C8923A;
    --ms-ht-gold-light: #F3E5C8;
    --ms-ht-gold-soft: rgba(200, 146, 58, 0.14);
    --ms-ht-ivory: #FAF8F4;
    --ms-ht-mint-tint: #F1F7F5;
    --ms-ht-border: #E2EAE7;
    --ms-ht-shadow-card: 0 10px 28px rgba(8, 56, 47, 0.08);
    --ms-ht-shadow-btn: 0 6px 20px rgba(19, 134, 112, 0.28);
}

html,
body {
    overflow-x: clip;
}

/* ── 1. Duyuru Bandı & Header ───────────────────────────────────────── */
.ms-announcement-bar {
    background: var(--ms-ht-forest);
    border-bottom: 2px solid var(--ms-ht-gold);
}

.ms-announcement-bar a,
.ms-announcement-bar span {
    color: var(--ms-ht-ivory);
    font-weight: 600;
}

.ms-header-search-btn,
.ms-search-form .ms-search-submit,
.ms-search-bar button[type="submit"] {
    background: var(--ms-primary);
    color: var(--ms-surface);
    border: none;
    font-weight: 700;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.ms-header-search-btn:hover,
.ms-search-form .ms-search-submit:hover,
.ms-search-bar button[type="submit"]:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.ms-cart-count,
.ms-wishlist-count,
.ms-counter-badge {
    background: var(--ms-ht-gold);
    color: var(--ms-ht-forest-deep);
    font-weight: 800;
}

.ms-main-nav a:hover,
.ms-main-nav .current-menu-item > a {
    color: var(--ms-primary);
}

/* ── 2. Hero Slider (Editoryal Hediye Atölyesi) ─────────────────────── */
.ms-hero-slider {
    border-radius: var(--ms-radius-lg, 18px);
    overflow: hidden;
    border: 1px solid var(--ms-ht-border);
    box-shadow: var(--ms-ht-shadow-card);
}

.ms-hero-slider .ms-slide-full-content-container {
    padding-inline: 64px;
}

.ms-masonry-tile-photo .ms-masonry-overlay {
    background: linear-gradient(180deg, rgba(8, 56, 47, 0.04) 35%, rgba(8, 56, 47, 0.88) 100%);
}

.ms-slide-content .ms-slide-tag {
    background: var(--ms-ht-gold-soft);
    border: 1px solid var(--ms-ht-gold);
    color: var(--ms-ht-gold-light);
    font-weight: 700;
}

.ms-slide-content .ms-slide-cta .ms-btn {
    background: var(--ms-primary);
    color: var(--ms-surface);
    border: none;
    font-weight: 700;
    box-shadow: var(--ms-ht-shadow-btn);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.ms-slide-content .ms-slide-cta .ms-btn:hover {
    opacity: 0.94;
    transform: translateY(-2px);
}

/* ── 3. Akıllı Hediye Bulucu & Hızlı Etiketler ──────────────────────── */
.ms-gift-finder-card {
    background: var(--ms-surface);
    border: 1.5px solid var(--ms-ht-border);
    box-shadow: var(--ms-ht-shadow-card);
}

.ms-gf-badge {
    background: var(--ms-ht-gold-soft);
    color: var(--ms-ht-forest);
    border: 1px solid var(--ms-ht-gold);
}

.ms-gf-title {
    color: var(--ms-ht-forest);
}

.ms-gf-select {
    background-color: var(--ms-ht-ivory);
    border-color: var(--ms-ht-border);
    color: var(--ms-ht-forest);
}

.ms-gf-select:focus-visible {
    outline: 2px solid var(--ms-primary);
    outline-offset: 2px;
}

.ms-gf-submit-btn {
    background: var(--ms-primary);
    color: var(--ms-surface);
    box-shadow: var(--ms-ht-shadow-btn);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.ms-gf-submit-btn:hover {
    opacity: 0.94;
    transform: translateY(-2px);
}

.ms-pill-badge {
    background: var(--ms-surface);
    border-color: var(--ms-ht-border);
    color: var(--ms-ht-forest);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.ms-pill-badge:hover {
    background: var(--ms-ht-mint-tint);
    border-color: var(--ms-primary);
    color: var(--ms-primary);
    transform: translateY(-2px);
}

/* ── 4. 3 Adımda Kişiselleştir Atölye Vurgusu ───────────────────────── */
.ms-how-it-works-section {
    background: var(--ms-ht-mint-tint);
    border-top: 1px solid var(--ms-ht-border);
    border-bottom: 1px solid var(--ms-ht-border);
}

.ms-hiw-card {
    background: var(--ms-surface);
    border-color: var(--ms-ht-border);
}

.ms-hiw-icon {
    background: var(--ms-primary-soft);
    color: var(--ms-primary);
}

.ms-hiw-num {
    color: var(--ms-ht-gold);
    opacity: 0.65;
}

/* ── 5. Ürün Kartları & Otomatik "Kişiye Özel" Rozeti ──────────────── */
.ms-product-card {
    background: var(--ms-surface);
    border-color: var(--ms-ht-border);
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.ms-product-card:hover {
    border-color: var(--ms-primary);
    box-shadow: var(--ms-ht-shadow-card);
    transform: translateY(-3px);
}

.ms-product-card .woocommerce-loop-product__title,
.ms-product-card .ms-product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--ms-ht-forest);
    min-height: 2.7em;
}

.ms-badge-personalizable {
    background: var(--ms-ht-forest);
    color: var(--ms-ht-gold-light);
    border: 1px solid var(--ms-ht-gold);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.ms-badge-personalizable .ms-badge-box-icon svg {
    color: var(--ms-ht-gold);
}

.ms-product-card .price {
    color: var(--ms-primary);
    font-weight: 800;
}

.ms-product-card .button.add_to_cart_button,
.ms-loop-actions .button {
    background: var(--ms-primary);
    color: var(--ms-surface);
    border: none;
    font-weight: 700;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.ms-product-card .button.add_to_cart_button:hover,
.ms-loop-actions .button:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

/* ── 6. İmza Bölüm: Kurumsal & Promosyon Vitrini (Koyu Orman Yeşili) ── */
.ms-custom-cat-showcase-section.ms-showcase-1 {
    background: var(--ms-ht-forest);
    border-top: 2px solid var(--ms-ht-gold);
    border-bottom: 2px solid var(--ms-ht-gold);
    padding-block: 52px;
}

.ms-custom-cat-showcase-section.ms-showcase-1 .ms-section-title {
    color: var(--ms-ht-ivory);
}

.ms-custom-cat-showcase-section.ms-showcase-1 .ms-cat-showcase-subtitle,
.ms-custom-cat-showcase-section.ms-showcase-1 .ms-section-subtitle {
    color: var(--ms-ht-gold-light);
    opacity: 0.92;
}

.ms-custom-cat-showcase-section.ms-showcase-1 .ms-cat-showcase-badge,
.ms-custom-cat-showcase-section.ms-showcase-1 .ms-section-badge {
    background: var(--ms-ht-gold-soft);
    color: var(--ms-ht-gold-light);
    border: 1px solid var(--ms-ht-gold);
}

.ms-custom-cat-showcase-section.ms-showcase-1 .ms-btn-outline,
.ms-custom-cat-showcase-section.ms-showcase-1 .ms-cat-showcase-btn {
    background: var(--ms-ht-gold);
    color: var(--ms-ht-forest-deep);
    border-color: var(--ms-ht-gold);
    font-weight: 800;
}

/* ── 7. Ürün Detay: Kişiselleştirme Kutusu (Zümrüt & Sıcak Fildişi) ─── */
.ms-personalization-wrap {
    background: var(--ms-ht-ivory);
    border: 1.5px solid var(--ms-ht-border);
    border-top: 3px solid var(--ms-primary);
    border-radius: var(--ms-radius-lg, 14px);
    box-shadow: var(--ms-ht-shadow-card);
}

.ms-pers-header {
    border-bottom: 1px solid var(--ms-ht-border);
}

.ms-pers-title {
    color: var(--ms-ht-forest);
}

.ms-pf-file-dropzone {
    background: var(--ms-surface);
    border: 1.5px dashed var(--ms-primary);
}

.ms-pf-price-tag {
    background: var(--ms-ht-gold-soft);
    color: var(--ms-ht-forest);
    border: 1px solid var(--ms-ht-gold);
}

/* ── 8. Güven Barı & E-Bülten ───────────────────────────────────────── */
.ms-trust-bar {
    background: var(--ms-surface);
    border: 1px solid var(--ms-ht-border);
    border-radius: var(--ms-radius-lg, 16px);
}

.ms-trust-item .ms-trust-icon {
    background: var(--ms-ht-mint-tint);
    color: var(--ms-primary);
    border: 1px solid var(--ms-ht-border);
}

.ms-newsletter-card {
    background: var(--ms-ht-forest);
    border: 1.5px solid var(--ms-ht-gold);
}

.ms-newsletter-card .ms-nl-title,
.ms-newsletter-card h2,
.ms-newsletter-card h3 {
    color: var(--ms-ht-ivory);
}

.ms-newsletter-card .ms-nl-subtitle,
.ms-newsletter-card p {
    color: var(--ms-ht-gold-light);
}

.ms-newsletter-btn,
.ms-newsletter-form button,
.ms-newsletter-form input[type="submit"] {
    background: var(--ms-ht-gold);
    color: var(--ms-ht-forest-deep);
    font-weight: 800;
    border: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.ms-newsletter-btn:hover,
.ms-newsletter-form button:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

/* ── 8B. Koyu Orman Footer Kontrast & Rozet İyileştirmeleri ─────────── */
.ms-site-footer .ms-sec-badge {
    background: rgba(200, 146, 58, 0.16);
    color: var(--ms-ht-ivory);
    border: 1px solid var(--ms-ht-gold);
    font-weight: 700;
}

.ms-site-footer .ms-sec-badge svg {
    color: var(--ms-ht-gold);
}

.ms-site-footer .ms-footer-brand .ms-custom-logo-link,
.ms-site-footer .ms-footer-brand .custom-logo-link {
    display: inline-flex;
    align-items: center;
    background: var(--ms-ht-ivory, #FAF8F4);
    padding: 8px 14px;
    border-radius: 12px;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.ms-site-footer .ms-footer-brand .ms-custom-logo-link img,
.ms-site-footer .ms-footer-brand .custom-logo-link img {
    max-height: 36px;
    width: auto;
    display: block;
}

.ms-site-footer .ms-footer-social-btn {
    background: rgba(250, 248, 244, 0.12);
    color: var(--ms-ht-ivory);
    border: 1px solid rgba(200, 146, 58, 0.35);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
}

.ms-site-footer .ms-footer-social-btn svg {
    color: var(--ms-ht-ivory);
}

.ms-site-footer .ms-footer-social-btn:hover {
    background: var(--ms-ht-gold);
    color: var(--ms-ht-forest-deep);
    transform: translateY(-2px);
}

.ms-site-footer .ms-footer-social-btn:hover svg {
    color: var(--ms-ht-forest-deep);
}

.ms-site-footer .ms-footer-bottom {
    padding-right: 64px;
}

.ms-site-footer .ms-pay-badge {
    background: rgba(250, 248, 244, 0.12);
    color: var(--ms-ht-ivory);
    border: 1px solid rgba(250, 248, 244, 0.22);
    font-weight: 700;
}

.ms-site-footer .ms-pay-badge--troy {
    background: rgba(250, 248, 244, 0.18);
    border-color: var(--ms-ht-gold);
}

@media screen and (max-width: 768px) {
    .ms-hero-slider .ms-slide-full-content-container {
        padding-inline: 14px !important;
        padding-block: 16px !important;
    }
    .ms-hero-slider .ms-slide-overlay-card {
        padding: 18px 16px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .ms-hero-slider .ms-slide-title {
        font-size: 21px !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }
    .ms-hero-slider .ms-slide-desc {
        font-size: 13px !important;
        line-height: 1.45 !important;
        margin-bottom: 14px !important;
    }
    .ms-hero-slider .ms-slide-cta .ms-btn {
        width: 100%;
        justify-content: center;
        font-size: 13.5px !important;
        padding: 11px 16px !important;
    }
    .ms-hero-slide {
        min-height: 330px;
    }
    .ms-site-footer .ms-footer-bottom {
        padding-right: 0;
        padding-bottom: 76px;
    }
}

/* ── 9. Erişilebilirlik & İndirgenmiş Hareket ───────────────────────── */
.ms-product-card a:focus-visible,
.ms-pill-badge:focus-visible,
.ms-gf-submit-btn:focus-visible,
.ms-newsletter-btn:focus-visible {
    outline: 2px solid var(--ms-ht-gold);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .ms-product-card,
    .ms-hiw-card,
    .ms-pill-badge,
    .ms-gf-submit-btn,
    .ms-header-search-btn,
    .ms-newsletter-btn {
        transition: none;
    }
    .ms-product-card:hover,
    .ms-hiw-card:hover,
    .ms-pill-badge:hover,
    .ms-gf-submit-btn:hover {
        transform: none;
    }
}
