/* Hairnic — HTML Codex tek ürün şablonu (AlpMi uyarlaması) */
body.theme-hairnic {
    --grid-desktop-horizontal-spacing: 2.4rem;
    --grid-desktop-vertical-spacing: 4.8rem;
    --section-spacing: 5.6rem;
    --hairnic-green: #3cb815;
    --hairnic-green-dark: #154d28;
    --hairnic-cream: #f8fff4;
    background: #ffffff;
    font-family: var(--font-body-family, 'Inter', sans-serif);
}

body.theme-hairnic main {
    margin-top: 0;
    margin-bottom: 0;
}

body.theme-hairnic .announcement-bar {
    background: var(--hairnic-green-dark);
    color: #fff;
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    padding: 0.8rem 1.6rem;
}

body.theme-hairnic .header {
    background: #fff;
    border-bottom: 1px solid rgba(21, 77, 40, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    padding: 1.2rem 2rem;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
}

body.theme-hairnic .header--sticky {
    position: sticky;
    top: 0;
    z-index: 100;
}

body.theme-hairnic .header__heading-link {
    color: var(--hairnic-green-dark) !important;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.theme-hairnic .header__heading-link span.hairnic-accent {
    color: var(--hairnic-green);
}

body.theme-hairnic .header__menu-item {
    color: var(--hairnic-green-dark) !important;
    font-weight: 600;
    font-size: 1.4rem;
    text-transform: none;
    letter-spacing: 0;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
}

body.theme-hairnic .header__menu-item:hover {
    background: var(--hairnic-cream);
    color: var(--hairnic-green) !important;
    text-decoration: none;
    opacity: 1;
}

body.theme-hairnic .header__icon {
    color: var(--hairnic-green-dark) !important;
}

body.theme-hairnic .cart-count-bubble {
    background: var(--hairnic-green);
    color: #fff;
}

body.theme-hairnic .hero-banner {
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--hairnic-cream) 0%, #ffffff 50%, #eefce8 100%);
    border-radius: 0;
    margin-bottom: var(--section-spacing);
    position: relative;
    overflow: hidden;
}

body.theme-hairnic .hero-banner::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 184, 21, 0.12) 0%, transparent 70%);
    top: -80px;
    right: -60px;
    pointer-events: none;
}

body.theme-hairnic .hero-banner__title {
    font-size: clamp(3.2rem, 6vw, 5.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--hairnic-green-dark);
    margin-bottom: 1.6rem;
}

body.theme-hairnic .hero-banner__subtitle {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    color: #4b5563;
    max-width: 640px;
    margin: 0 auto 2.4rem;
    line-height: 1.6;
}

body.theme-hairnic .button,
body.theme-hairnic .btn-hairnic {
    background: var(--hairnic-green);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 1.4rem 2.8rem;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(60, 184, 21, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

body.theme-hairnic .button:hover,
body.theme-hairnic .btn-hairnic:hover {
    background: var(--hairnic-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(21, 77, 40, 0.2);
    color: #fff;
}

body.theme-hairnic .button--secondary {
    background: transparent;
    color: var(--hairnic-green-dark);
    border: 2px solid var(--hairnic-green);
    box-shadow: none;
}

body.theme-hairnic .section-featured__title,
body.theme-hairnic .h2 {
    color: var(--hairnic-green-dark);
    font-weight: 800;
}

body.theme-hairnic .card {
    border: 1px solid rgba(21, 77, 40, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

body.theme-hairnic .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(21, 77, 40, 0.1);
}

body.theme-hairnic .card__current-price {
    color: var(--hairnic-green);
    font-weight: 700;
}

body.theme-hairnic .site-footer {
    background: var(--hairnic-green-dark);
    color: rgba(255, 255, 255, 0.88);
    padding: 4.8rem 0 2.8rem;
    text-align: center;
}

body.theme-hairnic .site-footer .page-width {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
}

body.theme-hairnic .site-footer a {
    color: #fff;
}

body.theme-hairnic .site-footer p,
body.theme-hairnic .footer-about {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

body.theme-hairnic .footer-about {
    max-width: 46rem;
    font-size: 1.5rem;
}

body.theme-hairnic .footer-menu {
    margin: 0;
}

body.theme-hairnic .footer-menu__list {
    justify-content: center;
}

body.theme-hairnic .store-contact--footer {
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
}

body.theme-hairnic .site-footer .store-contact__heading {
    margin: 0 0 1.2rem;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

body.theme-hairnic .store-contact--footer .store-contact__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 2.8rem;
}

body.theme-hairnic .store-contact--footer .store-contact__list > li {
    display: flex;
    justify-content: center;
}

body.theme-hairnic .site-footer .store-contact__item,
body.theme-hairnic .site-footer a.store-contact__item {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.5rem;
    justify-content: center;
}

body.theme-hairnic .site-footer .store-contact__item i {
    color: var(--hairnic-green);
}

body.theme-hairnic .site-footer .page-width > p:last-child {
    width: min(100%, 72rem);
    margin-top: 0.4rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.3rem;
}

body.theme-hairnic .footer-social a {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

/* Hairnic özel bölümler */
.hairnic-countdown {
    background: linear-gradient(90deg, var(--hairnic-green-dark), var(--hairnic-green));
    color: #fff;
    padding: 2.4rem;
    border-radius: 16px;
    text-align: center;
    margin: var(--section-spacing) auto;
    max-width: var(--page-width, 1200px);
}

.hairnic-countdown__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hairnic-countdown__timer {
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    flex-wrap: wrap;
}

.hairnic-countdown__unit {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem 1.4rem;
    min-width: 72px;
}

.hairnic-countdown__unit strong {
    display: block;
    font-size: 2.4rem;
    line-height: 1;
}

.hairnic-countdown__unit span {
    font-size: 1.2rem;
    opacity: 0.85;
}

.hairnic-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    padding: var(--section-spacing) 0;
}

.hairnic-feature {
    text-align: center;
    padding: 2.4rem 1.6rem;
    background: var(--hairnic-cream);
    border-radius: 16px;
    border: 1px solid rgba(60, 184, 21, 0.12);
}

.hairnic-feature i {
    font-size: 3.6rem;
    color: var(--hairnic-green);
    margin-bottom: 1.2rem;
}

.hairnic-feature h3 {
    font-size: 1.8rem;
    color: var(--hairnic-green-dark);
    margin-bottom: 0.8rem;
}

.hairnic-feature p {
    color: #6b7280;
    font-size: 1.4rem;
    line-height: 1.6;
}

.hairnic-product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    align-items: stretch;
    padding: 3.2rem 0 1.2rem;
}

.hairnic-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid rgba(21, 77, 40, 0.12);
    border-radius: 20px;
    overflow: hidden;
}

.hairnic-product-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f7f2;
    min-height: 28rem;
    padding: 1.6rem;
}

.hairnic-product-card__media img {
    width: 100%;
    max-height: 32rem;
    object-fit: contain;
}

.hairnic-product-card__copy {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 1;
    padding: 2rem 2.2rem 2.4rem;
}

.hairnic-product-card h2 {
    margin: 0;
    color: var(--hairnic-green-dark);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.hairnic-product-card p {
    margin: 0;
    color: #243128;
    font-size: 1.5rem;
    line-height: 1.5;
}

.hairnic-product-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    margin-top: auto;
}

.hairnic-product-card__price span {
    color: var(--hairnic-green-dark);
    font-size: 2.4rem;
    font-weight: 800;
}

.hairnic-product-card__price s {
    color: #8a968e;
    font-size: 1.5rem;
}

.hairnic-product-card .button {
    align-self: flex-start;
}

@media (max-width: 749px) {
    .hairnic-product-row {
        grid-template-columns: 1fr;
    }
}

.hairnic-product-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 4.8rem;
    align-items: center;
    padding: 4.8rem 0 1.6rem;
}

@media (max-width: 768px) {
    body.theme-hairnic .header {
        grid-template-columns: 1fr auto;
    }

    body.theme-hairnic .header__inline-menu {
        display: none;
    }

    .hairnic-product-spotlight {
        grid-template-columns: 1fr;
    }
}

.hairnic-product-spotlight__media {
    background: #f3f7f2;
    border-radius: 28px;
    padding: 1.6rem;
}

.hairnic-product-spotlight__media img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    display: block;
    border-radius: 16px;
}

.hairnic-product-spotlight h2 {
    font-size: clamp(2.6rem, 3vw, 4rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--hairnic-green-dark);
    margin: 0 0 0.8rem;
}

.hairnic-product-spotlight__name {
    margin: 0 0 1.2rem;
    color: #4b5d52;
    font-size: 1.5rem;
    line-height: 1.45;
}

.hairnic-product-spotlight__lead {
    margin: 0 0 1.6rem;
    max-width: 46rem;
    color: #243128;
    font-size: 1.7rem;
    line-height: 1.55;
}

.hairnic-product-spotlight__price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin: 0 0 0.6rem;
}

.hairnic-product-spotlight__price span {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--hairnic-green-dark);
}

.hairnic-product-spotlight__price s {
    color: #8a968e;
    font-size: 1.8rem;
}

.hairnic-product-spotlight__stock {
    margin: 0 0 1.6rem;
    color: var(--hairnic-green-dark);
    font-weight: 700;
    font-size: 1.4rem;
}

.hairnic-product-spotlight__stock::before {
    content: "";
    display: inline-block;
    width: 0.7rem;
    height: 0.7rem;
    margin-right: 0.6rem;
    border-radius: 50%;
    background: var(--hairnic-green);
    vertical-align: 0.05em;
}

.hairnic-testimonials {
    background: var(--hairnic-cream);
    padding: var(--section-spacing) 0;
    border-radius: 24px;
    margin: var(--section-spacing) 0;
}

.hairnic-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.hairnic-testimonial {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.hairnic-testimonial__stars {
    color: #fbbf24;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.hairnic-back-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--hairnic-green);
    color: #fff;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(60, 184, 21, 0.35);
    z-index: 99;
}

.hairnic-back-top.visible {
    display: flex;
}

body.theme-hairnic .announcement-bar {
    white-space: normal;
    text-align: center;
    line-height: 1.45;
}

body.theme-hairnic .section-slideshow {
    background: var(--hairnic-green-dark);
}

body.theme-hairnic .slideshow__media--contain {
    min-height: 0;
    height: 72rem;
    padding: 0;
    overflow: hidden;
}

body.theme-hairnic .slideshow__media--contain > a {
    display: block;
    height: 100%;
}

body.theme-hairnic .slideshow__poster {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

body.theme-hairnic .section-image-text,
body.theme-hairnic .section-icon-bar,
body.theme-hairnic .section-collection-list,
body.theme-hairnic .section-testimonials,
body.theme-hairnic .section-faq,
body.theme-hairnic .section-rich-text {
    margin-top: 2.4rem;
    margin-bottom: 2.4rem;
}

body.theme-hairnic .section-image-text--stack {
    flex-direction: column;
    align-items: center;
    max-width: 880px;
    gap: 2rem;
}

body.theme-hairnic .section-image-text--stack .section-image-text__media,
body.theme-hairnic .section-image-text--stack .section-image-text__body {
    min-width: 0;
    width: 100%;
}

body.theme-hairnic .section-image-text--stack .section-image-text__body {
    text-align: center;
}

body.theme-hairnic .section-image-text__media img {
    object-fit: contain;
    background: #f3f7f2;
    border-radius: 20px;
}

@media screen and (min-width: 990px) {
    body.theme-hairnic .section-image-text:not(.section-image-text--reverse):not(.section-image-text--stack) .section-image-text__media {
        display: flex;
        justify-content: center;
    }

    body.theme-hairnic .section-image-text:not(.section-image-text--reverse):not(.section-image-text--stack) .section-image-text__media img {
        width: 50%;
        height: auto;
    }
}

body.theme-hairnic .section-image-text__title,
body.theme-hairnic .section-icon-bar__title,
body.theme-hairnic .section-collection-list__title,
body.theme-hairnic .section-testimonials__title,
body.theme-hairnic .section-faq__title,
body.theme-hairnic .section-rich-text__title {
    color: var(--hairnic-green-dark);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

body.theme-hairnic .section-image-text__text {
    font-size: 1.7rem;
    line-height: 1.6;
    color: #243128;
}

@media screen and (min-width: 990px) {
    body.theme-hairnic .section-image-text:not(.section-image-text--stack) {
        flex-wrap: nowrap;
        align-items: center;
        gap: 4.8rem;
    }

    body.theme-hairnic .section-image-text:not(.section-image-text--stack) .section-image-text__media,
    body.theme-hairnic .section-image-text:not(.section-image-text--stack) .section-image-text__body {
        flex: 1 1 0;
        min-width: 0;
    }
}

@media screen and (max-width: 989px) {
    body.theme-hairnic .section-image-text,
    body.theme-hairnic .section-image-text--reverse {
        flex-direction: column;
    }
}

body.theme-hairnic .ingredient-copy {
    margin: 0 0 1.8rem;
}

body.theme-hairnic .ingredient-copy h3 {
    margin: 0 0 0.3rem;
    color: #c45c12;
    font-size: 1.6rem;
    letter-spacing: 0.02em;
}

body.theme-hairnic .ingredient-copy__role {
    margin: 0 0 0.4rem;
    color: var(--hairnic-green-dark);
    font-weight: 700;
    font-size: 1.5rem;
}

body.theme-hairnic .ingredient-copy p:last-child {
    margin: 0;
    color: #243128;
    font-size: 1.5rem;
    line-height: 1.55;
}

body.theme-hairnic .section-icon-bar {
    padding: 2.8rem 2.4rem;
    border-radius: 28px;
    background: #f3f7f2;
}

body.theme-hairnic .section-icon-bar__title {
    text-align: center;
    margin: 0 0 2rem;
}

body.theme-hairnic .icon-bar-item {
    background: #fff;
    border-radius: 18px;
    padding: 1.8rem 1.4rem 1.6rem;
    text-align: left;
}

body.theme-hairnic .icon-bar-item__icon {
    color: var(--hairnic-green);
    font-size: 2.6rem;
    margin-bottom: 0.8rem;
}

body.theme-hairnic .icon-bar-item h3 {
    margin: 0 0 0.4rem;
    color: var(--hairnic-green-dark);
    font-size: 1.6rem;
}

body.theme-hairnic .icon-bar-item p {
    margin: 0;
    color: #3d4a40;
    font-size: 1.4rem;
    line-height: 1.5;
}

body.theme-hairnic .collection-card {
    background: #f3f7f2;
    border-radius: 18px;
}

body.theme-hairnic .collection-card img {
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: #f3f7f2;
}

body.theme-hairnic .collection-card__title {
    color: var(--hairnic-green-dark);
}

body.theme-hairnic .testimonial-card {
    border: 1px solid rgba(21, 77, 40, 0.08);
    border-radius: 18px;
    padding: 2.2rem;
}

body.theme-hairnic .testimonial-card__quote {
    color: #1c2b22;
    font-size: 1.6rem;
}

body.theme-hairnic .faq-item {
    border-color: rgba(21, 77, 40, 0.12);
    border-radius: 14px;
}

body.theme-hairnic .section-rich-text {
    padding: 3.2rem 0 4.8rem;
}

@media (max-width: 749px) {
    body.theme-hairnic .slideshow__media--contain {
        height: 68vh;
    }

    body.theme-hairnic .slideshow__poster {
        width: 100%;
        height: 100%;
        max-height: none;
    }

    body.theme-hairnic .icon-bar-grid,
    body.theme-hairnic .collection-grid {
        grid-template-columns: 1fr;
    }
}
