/*
 * nutraxin.testmagna.com — resources/css/app.css karşılığı.
 *
 * reference-base.css temel katmanı kuruyor; bu dosya referansın onun üzerine
 * yazdığı katman. En son yüklenmeli, aksi halde tablo kuralları etkisiz kalır.
 */

/* ---------- Ürün içerik tablosu (referansın nihai görünümü) ---------- */
#tab-content table {
    text-align: end;
    border: 1px solid #cdac6e !important;
}

#tab-content table tbody {
    display: block !important;
}

#tab-content table tbody tr {
    display: flex;
    padding-right: 10px !important;
    justify-content: space-between !important;
    margin: 4px 15px 4px !important;
    border-bottom: 1px solid #cdac6e5c !important;
}

#tab-content table tbody tr:last-child {
    border-bottom: none !important;
}

#tab-content table tbody tr:nth-child(odd) td:last-child {
    width: auto !important;
    border-right: none !important;
    padding-right: 0px !important;
}

/* Referans madde imlerini kaldırıyor. */
#tab-content table tbody tr td:first-child:before,
#tab-content table tbody tr th:first-child:before {
    content: "" !important;
}

#tab-content table tbody tr td:first-child p,
#tab-content table tbody tr th:first-child p {
    padding-left: 0.5rem !important;
}

#tab-content table tbody tr td {
    font-size: 15px;
}

#tab-content table tbody tr td p {
    margin-bottom: 0 !important;
}

#tab-content table tbody tr th p { margin-bottom: 0 !important; }
#tab-content table tbody tr td:first-child,
#tab-content table tbody tr td:last-child { text-align: left; }
@media (min-width: 1024px) {
    #tab-content table tbody tr td { font-size: 15px; }
}

#autocomplete-results,
#autocomplete-results-mob {
    max-height: 320px;
    overflow-y: auto;
    display: none;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    z-index: 1000;
    position: absolute;
    width: 100%;
}

.text-uppercase {
    text-transform: uppercase !important;
    letter-spacing: 2px;
    word-spacing: 2px;
}
.fw-600 { font-weight: 600; }
.d-hidden {
    display: none !important;
}

/* Ürün SSS: body h2 (25px / mb-10px) akordeon satırlarını şişiriyor.
   Referansta Flowbite + preflight bu h2'leri nötr tutuyor. */
#accordion-faq > .accordion > h2 {
    margin-bottom: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

#seeMoreBtn_accordion {
    display: block !important;
    width: 100%;
    text-align: end;
}

.text-color {
    color: #052C5F;
}

.border-text {
    border-color: rgb(212 197 164 / var(--tw-border-opacity, 1));
    color: black;
}

.hamburger {
    zoom: 0.75;
}

/* ---------- Karusel: Splide (referans app.css + layout tema) ---------- */
.splide__pagination {
    position: relative;
    margin-top: 2rem;
    gap: 10px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.splide__pagination__page {
    background-color: #d9d9d9 !important;
    width: 12px !important;
    height: 12px !important;
    opacity: 1 !important;
    margin: 3px !important;
}

.splide__pagination__page.is-active {
    width: 12px !important;
    height: 12px !important;
    background-color: #002759 !important;
    opacity: 1 !important;
    transform: scale(1.25);
}

.splide__arrow {
    zoom: 1.75;
    background: #ccc;
    opacity: 0.7;
}

.splide__arrow:focus-visible {
    outline: none;
}

.splide__arrow svg {
    fill: #fff !important;
}

.splide__arrow--prev svg {
    margin: 0px 10px -10px 0px;
}

.splide__arrow--next svg {
    margin: 0px 0px -10px 10px;
}

.splide-featured .splide__pagination {
    position: relative;
    margin-top: 5rem;
    gap: 10px;
}

.splide-featured .splide__pagination__page {
    width: 10px;
    height: 10px;
}

.NN_splide .splide__arrow svg {
    fill: #000 !important;
}

/* Desktop hero */
#splide .desktop-slider-img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    aspect-ratio: auto !important;
    object-fit: contain;
    object-position: center center;
    display: block;
}

#splide .desktop-slider-container,
#splide .splide__slide,
#splide .splide__track {
    width: 100%;
}

#splide {
    background: transparent;
}

/* ---------- Ürün galerisi (ana + küçük görsel karuseli) ---------- */
#main-carousel .splide__slide img {
    aspect-ratio: 1/1;
    object-fit: cover;
    height: 100%;
}

#thumbnail-carousel .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #F5F5F5;
    border-radius: 13px;
    border: 2px solid transparent;
    transition: border 0.3s ease-in-out;
}

#thumbnail-carousel .splide__track--nav>.splide__list>.splide__slide.is-active {
    border: 2px solid #eeeeee;
    border-radius: 15px;
    transition: border 0.3s ease-in-out;
}

.splide__track--nav>.splide__list>.splide__slide {
    height: 100% !important;
}

/* ---------- Mobil menü ikonu (hamburgers paketi, --spin varyantı) ---------- */
/* Referans app.css'i 'hamburgers/dist/hamburgers.min.css' import ediyor; kullanılan
   varyant .hamburger--spin. Sadece o varyantın kuralları alındı. */
.hamburger { padding: 15px 15px; display: inline-block; cursor: pointer; transition-property: opacity, filter; transition-duration: 0.15s; transition-timing-function: linear; font: inherit; color: inherit; text-transform: none; background-color: transparent; border: 0; margin: 0; overflow: visible; zoom: 0.75; }
.hamburger:hover { opacity: 0.7; }
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after { background-color: #414141; }
.hamburger-box { width: 40px; height: 24px; display: inline-block; position: relative; }
.hamburger-inner { display: block; top: 50%; margin-top: -2px; }
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after { width: 40px; height: 4px; background-color: #414141; border-radius: 4px; position: absolute; transition-property: transform; transition-duration: 0.15s; transition-timing-function: ease; }
.hamburger-inner::before,
.hamburger-inner::after { content: ""; display: block; }
.hamburger-inner::before { top: -10px; }
.hamburger-inner::after { bottom: -10px; }
.hamburger--spin .hamburger-inner { transition-duration: 0.22s; transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
.hamburger--spin .hamburger-inner::before { transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in; }
.hamburger--spin .hamburger-inner::after { transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
.hamburger--spin.is-active .hamburger-inner { transform: rotate(225deg); transition-delay: 0.12s; transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
.hamburger--spin.is-active .hamburger-inner::before { top: 0; opacity: 0; transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out; }
.hamburger--spin.is-active .hamburger-inner::after { bottom: 0; transform: rotate(-90deg); transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }

/* ---------- Global tipografi ---------- */
/* Referansta paragraflar 1.2rem (19.2px) ve 1.6 satır yüksekliğinde. Bu kural
   bizde hiç yoktu; tüm sayfalardaki gövde metni bir tık büyük görünüyordu. */
p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.content { padding: 20px; }
.content table, .content tr, .content td,
.font-light table, .font-light tr, .font-light td {
    border: solid 1px #000;
    padding: 5px;
}
.p-5 .rounded-b-lg p { margin-top: 30px !important; }
