/* ============================================================
   SHEZMU.CZ, GLOBÁLNÍ STYLY v6
   <link href="/user/documents/upload/mawwal-styles.css" rel="stylesheet">

   Obsah:
   1. Písma
   2. Nadpis produktu (Mawwal a ICANDY)
   3. ICANDY: odkaz na značku v parametrech
   4. Vyhledávání: našeptávač
   5. Patička
   5b. Nadpis kategorie na 2. a další straně
   5c. ICANDY posyp (sprinkles)
   6. STARÉ STYLY Z MAWWAL.CZ (ověřit, co se ještě používá, pak smazat)
   ============================================================ */


/* ===== 1. PÍSMA =====
   Poppins: celý web a Mawwal (jen 300 a 500)
   Playfair Display + Raleway: ICANDY */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500&family=Playfair+Display:ital,wght@0,700;1,700&family=Raleway:wght@400;600&display=swap');


/* ===== 2. NADPIS PRODUKTU ===== */

/* Mawwal: tenký Poppins, zlatá */
body:not(.in-icandy) .p-detail-inner-header h1 {
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(1.3rem, 2.8vw, 1.9rem) !important;
    font-weight: 300 !important;
    color: #b8924a !important;
    letter-spacing: 0.06em !important;
    line-height: 1.35 !important;
}

/* ICANDY: Playfair Display, černá (růžová jen jako doplněk) */
body.in-icandy .p-detail-inner-header h1 {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(1.4rem, 3vw, 2rem) !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
}


/* ===== 3. ICANDY: ODKAZ NA ZNAČKU V PARAMETRECH ===== */

body.in-icandy .detail-parameters-wrapper table.detail-parameters td a,
body.in-icandy .p-param-block .detail-parameters-wrapper table.detail-parameters td a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    border-bottom: 1.5px solid #d4609a !important;
    padding-bottom: 1px !important;
    transition: color 0.2s ease !important;
}

body.in-icandy .detail-parameters-wrapper table.detail-parameters td a:hover,
body.in-icandy .p-param-block .detail-parameters-wrapper table.detail-parameters td a:hover {
    color: #d4609a !important;
}


/* ===== 4. VYHLEDÁVÁNÍ: NAŠEPTÁVAČ ===== */

.search-suggestions-box { padding: 12px; border-radius: 12px; background: #f7f7f7; margin-top: 10px; }
.suggestion-item { display: flex; align-items: center; padding: 8px; border-radius: 8px; margin-bottom: 6px; text-decoration: none !important; color: #1a1a1a; transition: background 0.2s; }
.suggestion-item:hover { background: #efefef; }
.suggestion-item img { width: 46px; height: 46px; object-fit: cover; border-radius: 6px; margin-right: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
.suggestion-info { font-size: 15px; font-weight: 500; line-height: 1.3; }


/* ===== 5. PATIČKA ===== */

footer#footer,
footer#footer .footer-rows,
footer#footer .footer-bottom,
footer#footer .custom-footer,
footer#footer .row.custom-footer,
.custom-footer {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-top-color: #ffffff !important;
}


/* ===== 5b. NADPIS KATEGORIE NA 2. A DALŠÍ STRANĚ =====
   Na 1. straně nadpis skrývá popis kategorie. Od 2. strany Shoptet
   popis nezobrazuje, takže se objeví výchozí H1. Tady ho sladíme
   s nadpisy kategorií. */

h1.category-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(1.3rem, 2.4vw, 1.8rem) !important;
    font-weight: 300 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    color: #1a1a1a !important;
    background: none !important;
    margin: 24px 0 30px !important;
    padding: 0 !important;
}
h1.category-title::after {
    content: '';
    display: block;
    width: 44px;
    height: 1px;
    background: #b8924a;
    margin: 16px auto 0;
}


/* ===== 5c. ICANDY: POSYP (SPRINKLES) =====
   Editor Shoptetu maže jednotlivé „tyčinky" posypu, proto je posyp
   nakreslený jako obrázek na pozadí jednoho prvku .ic-sprinkles.
   Platí pro ICANDY karty, vzorky i kategorii ICANDY. */
.ic-sprinkles {
    position: absolute !important;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    font-size: 0 !important;
    line-height: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27230%27%20height%3D%27140%27%20viewBox%3D%270%200%20230%20140%27%3E%3Crect%20x%3D%27197.5%27%20y%3D%2721%27%20width%3D%275%27%20height%3D%2718%27%20rx%3D%272.5%27%20fill%3D%27%23d4609a%27%20fill-opacity%3D%270.55%27%20transform%3D%27rotate%2835%20200%2030%29%27/%3E%3Crect%20x%3D%27147.5%27%20y%3D%2751%27%20width%3D%275%27%20height%3D%2718%27%20rx%3D%272.5%27%20fill%3D%27%23d4609a%27%20fill-opacity%3D%270.55%27%20transform%3D%27rotate%28-20%20150%2060%29%27/%3E%3Crect%20x%3D%27107.5%27%20y%3D%2713%27%20width%3D%275%27%20height%3D%2718%27%20rx%3D%272.5%27%20fill%3D%27%231a1a1a%27%20fill-opacity%3D%270.8%27%20transform%3D%27rotate%2870%20110%2022%29%27/%3E%3Crect%20x%3D%27187.5%27%20y%3D%27101%27%20width%3D%275%27%20height%3D%2718%27%20rx%3D%272.5%27%20fill%3D%27%23d4609a%27%20fill-opacity%3D%270.55%27%20transform%3D%27rotate%28-55%20190%20110%29%27/%3E%3Crect%20x%3D%2777.5%27%20y%3D%2761%27%20width%3D%275%27%20height%3D%2718%27%20rx%3D%272.5%27%20fill%3D%27%231a1a1a%27%20fill-opacity%3D%270.8%27%20transform%3D%27rotate%2880%2080%2070%29%27/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px top 10px;
    background-size: 230px 140px;
}
.ic-sprinkles span { display: none !important; }
@media (max-width: 767px) {
    .ic-sprinkles { background-size: 150px 91px; }
}

/* ===== Omezení animací pro zákazníky, kteří je mají vypnuté ===== */

@media (prefers-reduced-motion: reduce) {
    .suggestion-item,
    body.in-icandy .detail-parameters-wrapper table.detail-parameters td a { transition: none !important; }
}


/* ============================================================
   6. STARÉ STYLY Z MAWWAL.CZ
   Pravděpodobně se už nepoužívají. Až ověříš web (hlavně blog
   a starší stránky), celou tuto sekci smaž.

   Úpravy oproti původní verzi:
   - .mawwal-perfume-img platí jen uvnitř .mawwal-perfume-wrap,
     aby nezmenšovalo fotky ingrediencí v nových kartách Mawwal.
   - .fade-section se zobrazí vždy, pokud má zákazník vypnuté
     animace, aby obsah nezůstal neviditelný.
   ============================================================ */

.mawwal-duo-section { margin: 60px 0; align-items: center; }
.fade-section { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-section.is-visible { opacity: 1; transform: translateY(0); }
.mawwal-title { font-size: 34px; font-weight: 700; line-height: 1.2; margin-bottom: 8px; color: #111111; }
.mawwal-subtitle-nawa { font-size: 24px; font-weight: 600; color: #b0122a; margin: 0 0 20px 0; }
.mawwal-subtitle-mashaer { font-size: 24px; font-weight: 600; color: #b08a2a; margin: 0 0 20px 0; }
.mawwal-text { font-size: 16px; line-height: 1.8; margin: 0; color: #222222; }
.mawwal-perfume-wrap { display: inline-block; margin-top: 20px; position: relative; animation: mawwal-float 7s ease-in-out infinite; }
.mawwal-perfume-wrap .mawwal-perfume-img { max-width: 460px; width: 100%; height: auto; transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease; border-radius: 18px; transform: none !important; }
.mawwal-rotate-left { transform: none !important; }
.mawwal-rotate-right { transform: none !important; }
.mawwal-perfume-wrap:hover .mawwal-perfume-img { transform: translateY(-6px) scale(1.06) !important; box-shadow: 0 22px 48px rgba(0,0,0,0.25); filter: saturate(1.04); }
@keyframes mawwal-float { 0% { transform: translateY(0); } 50% { transform: translateY(-5px); } 100% { transform: translateY(0); } }
.mawwal-cta-row { margin: 40px 0 80px 0; }
.mawwal-cta-btn { padding: 12px 28px; border-radius: 40px; font-size: 16px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; box-shadow: 0 10px 25px rgba(0,0,0,0.15); transition: transform 0.2s ease, box-shadow 0.2s ease; background-color: #111111 !important; border-color: #111111 !important; color: #ffffff !important; }
.mawwal-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 35px rgba(0,0,0,0.2); }
.mawwal-howto-wrapper { margin: 60px 0 80px 0; }
.mawwal-howto-steps { margin-top: 30px; justify-content: center !important; text-align: center; }
.mawwal-step-card { background: rgba(255,255,255,0.92); border-radius: 24px; padding: 20px 22px 22px; margin-bottom: 24px; box-shadow: 0 12px 30px rgba(0,0,0,0.06); border: 1px solid rgba(210,190,170,0.35); position: relative; overflow: hidden; min-height: 220px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.mawwal-step-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(240,225,200,0.35), transparent 55%); opacity: 0; transition: opacity 0.35s ease; }
.mawwal-step-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(0,0,0,0.12); }
.mawwal-step-card:hover::before { opacity: 1; }
.mawwal-step-number { width: 32px; height: 32px; border-radius: 999px; border: 1px solid rgba(176,138,42,0.45); color: #b08a2a; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; background: rgba(255,255,255,0.9); }
.mawwal-step-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: #111; }
.mawwal-step-card-final { padding-top: 26px; }
.mawwal-step-link { display: block; color: inherit; text-decoration: none !important; }
.mawwal-step-link:hover { color: inherit; }
.mawwal-howto-header { text-align: center !important; width: 100%; display: block; }
.mawwal-howto-intro { text-align: center; margin-bottom: 35px; }
.mawwal-howto-intro .mawwal-title { margin-bottom: 12px; }
.mawwal-howto-intro .mawwal-text { max-width: 620px; margin: 0 auto; }
.mawwal-contact-wrapper { display: flex; justify-content: center; }
.mawwal-step-card-contact { max-width: 560px; width: 100%; padding: 24px 24px 26px; }
.mawwal-step-card-contact > * { max-width: 520px; margin: 0 auto; }
.mawwal-step-card-contact form, .mawwal-step-card-contact label, .mawwal-step-card-contact p { text-align: left; }
.mawwal-seo-section { margin: 60px 0 40px 0; padding: 35px 15px; background: #ffffff; border-radius: 18px; }
.mawwal-seo-title { font-size: 22px; margin-bottom: 12px; font-weight: 600; text-align: center; color: #111111; }
.mawwal-seo-text { max-width: 780px; margin: 0 auto; font-size: 15.5px; line-height: 1.85; color: #222222; text-align: center; }
.mawwal-seo-section a { color: #111111; text-decoration: underline; }

@media (max-width: 767px) {
    .mawwal-duo-section { margin: 40px 0; text-align: center; }
    .mawwal-title { font-size: 26px; }
    .mawwal-subtitle-nawa, .mawwal-subtitle-mashaer { font-size: 20px; }
    .mawwal-text { font-size: 15px; }
    .mawwal-perfume-wrap { animation: none; }
    .mawwal-perfume-wrap .mawwal-perfume-img { max-width: 340px; }
    .mawwal-perfume-wrap:hover .mawwal-perfume-img { transform: translateY(-4px) scale(1.03) !important; }
    .mawwal-howto-wrapper { margin: 40px 0 60px 0; }
    .mawwal-step-card { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .fade-section { opacity: 1 !important; transform: none !important; transition: none !important; }
    .mawwal-perfume-wrap { animation: none !important; }
}
