/* Shopify "Dawn" tarzı premium, minimalist e-ticaret teması css */
:root {
    --color-base-text: #121212;
    --color-base-text-opacity-85: rgba(18, 18, 18, 0.85);
    --color-base-background-1: #ffffff;
    --color-base-background-2: #f3f3f3;
    --color-base-solid-button-labels: #ffffff;
    --color-base-outline-button-labels: #121212;
    --color-base-accent-1: #121212;
    --color-base-accent-2: #334fb4;
    --payment-terms-background-color: #ffffff;
    
    --font-body-family: 'Inter', sans-serif;
    --font-heading-family: 'Inter', sans-serif;
    --font-body-scale: 1.0;
    --font-heading-scale: 1.0;
    
    --page-width: 120rem;
    --page-width-margin: 0 auto;
    
    --spacing-sections-desktop: 5rem;
    --spacing-sections-mobile: 3rem;
}

*, *::before, *::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
    font-size: calc(var(--font-body-scale) * 62.5%);
    height: 100%;
}

body {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    grid-template-columns: 100%;
    min-height: 100%;
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 0.06rem;
    line-height: calc(1 + 0.8 / var(--font-body-scale));
    font-family: var(--font-body-family);
    font-style: normal;
    font-weight: 400;
    color: var(--color-base-text);
    background-color: var(--color-base-background-1);
}

/* Typography */
h1, h2, h3, h4, h5, .h0, .h1, .h2, .h3, .h4, .h5 {
    font-family: var(--font-heading-family);
    font-style: normal;
    font-weight: 400;
    letter-spacing: calc(var(--font-heading-scale) * 0.06rem);
    color: var(--color-base-text);
    line-height: calc(1 + 0.3 / max(1, var(--font-heading-scale)));
    word-break: break-word;
}

h1, .h1 { font-size: calc(var(--font-heading-scale) * 4rem); }
h2, .h2 { font-size: calc(var(--font-heading-scale) * 3.2rem); }
h3, .h3 { font-size: calc(var(--font-heading-scale) * 2.4rem); }
h4, .h4 { font-size: calc(var(--font-heading-scale) * 1.8rem); }

a {
    color: var(--color-base-text);
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 0.3rem;
}

/* Layout */
.page-width {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media screen and (min-width: 750px) {
    .page-width {
        padding: 0 5rem;
    }
}

/* Buttons */
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    padding: 0 3rem;
    cursor: pointer;
    font: inherit;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--color-base-solid-button-labels);
    background-color: var(--color-base-accent-1);
    transition: box-shadow 0.1s ease;
    min-height: 4.6rem;
    min-width: 12rem;
}

.button:hover {
    box-shadow: 0 0 0 0.2rem var(--color-base-background-1), 0 0 0 0.3rem var(--color-base-text);
    text-decoration: none;
}

.button--secondary {
    color: var(--color-base-outline-button-labels);
    background-color: transparent;
    box-shadow: inset 0 0 0 0.1rem var(--color-base-text);
}

.button--secondary:hover {
    box-shadow: inset 0 0 0 0.2rem var(--color-base-text);
}

/* Header */
.header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem 1.5rem;
    position: relative;
    z-index: 200;
}

.header--sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-base-background-1);
    border-bottom: 1px solid color-mix(in srgb, var(--color-base-text) 8%, transparent);
}

@media screen and (min-width: 990px) {
    .header {
        grid-template-columns: auto 1fr auto;
        padding: 2rem 5rem;
    }
}

body.header-layout-logo-sol .header {
    grid-template-columns: auto 1fr auto;
}

body.header-layout-logo-sol .header__heading {
    justify-self: start;
}

body.header-layout-logo-üst .header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

body.header-layout-logo-üst .header__inline-menu {
    width: 100%;
    justify-content: center;
}

body.header-layout-logo-üst .header__icons {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
}

body[data-page-content-width="dar"] .page-width {
    max-width: min(var(--theme-page-content-max), 72rem);
}

body[data-page-content-width="geniş"] .page-width {
    max-width: min(var(--theme-page-content-max), 140rem);
}

.header__heading {
    margin: 0;
    line-height: 1;
}

.header__heading-link {
    font-size: 2.2rem;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
}

.header__heading-link:hover {
    text-decoration: none;
}

.header__inline-menu {
    display: none;
}

@media screen and (min-width: 990px) {
    .header__inline-menu {
        display: block;
        justify-self: center;
    }
}

.list-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.list-menu--inline {
    gap: 2.4rem;
    justify-content: center;
}

.header-nav-item {
    position: static;
}

.header__menu-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 1.2rem 0;
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--color-base-text);
    white-space: nowrap;
}

.header__menu-item:hover {
    text-decoration: none;
    opacity: 0.75;
}

.header-nav-item__caret {
    font-size: 1.6rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.header-nav-item--dropdown.is-open .header-nav-item__caret,
.header-nav-item--dropdown:hover .header-nav-item__caret {
    transform: rotate(180deg);
}

/* Mega menu dropdown */
.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.4rem);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.header-nav-item--dropdown.is-open .mega-menu,
.header-nav-item--dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-menu__panel {
    background: var(--color-base-background-1);
    border-top: 1px solid color-mix(in srgb, var(--color-base-text) 10%, transparent);
    box-shadow: 0 1.2rem 2.4rem color-mix(in srgb, var(--color-base-text) 8%, transparent);
}

.mega-menu__inner {
    padding: 2.4rem 0 3rem;
}

.mega-menu__columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 2.4rem 3.2rem;
}

.mega-menu__column {
    min-width: 0;
}

.mega-menu__heading {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    color: var(--color-base-text);
}

.mega-menu__heading:hover {
    text-decoration: underline;
    opacity: 1;
}

.mega-menu__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu__links li + li {
    margin-top: 0.2rem;
}

.mega-menu__links a {
    display: block;
    padding: 0.35rem 0;
    font-size: 1.35rem;
    line-height: 1.4;
    text-decoration: none;
    color: color-mix(in srgb, var(--color-base-text) 72%, transparent);
}

.mega-menu__links a:hover {
    color: var(--color-base-text);
    text-decoration: underline;
}

.header__icons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    color: var(--color-base-text);
    position: relative;
}

.cart-count-bubble {
    position: absolute;
    background-color: var(--color-base-text);
    color: var(--color-base-background-1);
    height: 1.7rem;
    width: 1.7rem;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    bottom: 0.8rem;
    right: 0.4rem;
    line-height: calc(1 + 0.1 / var(--font-body-scale));
}

.account-menu {
    position: relative;
}

.account-menu__trigger {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.account-menu__panel {
    display: none;
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    min-width: 22rem;
    z-index: 30;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.account-menu.is-open .account-menu__panel {
    display: block;
}

.account-menu__inner {
    background: var(--color-base-background-1, #fff);
    border: 1px solid color-mix(in srgb, var(--color-base-text) 12%, transparent);
    border-radius: var(--theme-corner-radius, 8px);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--color-base-text) 12%, transparent);
    padding: 1.2rem 1.4rem;
}

.account-menu__greeting {
    margin: 0 0 0.25rem;
    font-size: 1.4rem;
}

.account-menu__email {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    color: color-mix(in srgb, var(--color-base-text) 65%, transparent);
    word-break: break-all;
}

.account-menu__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-menu__links li + li {
    margin-top: 0.35rem;
}

.account-menu__links a,
.account-menu__logout button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.55rem 0;
    font-size: 1.35rem;
    color: var(--color-base-text);
    text-decoration: none;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.account-menu__links a:hover,
.account-menu__logout button:hover {
    text-decoration: underline;
}

.account-menu__logout {
    margin: 0;
}

/* Utility */
.center { text-align: center; }
.right { text-align: right; }
.hidden { display: none !important; }

/* Product Grid */
.grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 0;
    list-style: none;
    column-gap: 1.5rem;
    row-gap: 3rem;
}

@media screen and (min-width: 750px) {
    .grid {
        column-gap: var(--grid-desktop-horizontal-spacing, 3rem);
        row-gap: var(--grid-desktop-vertical-spacing, 5rem);
    }
}

.grid__item {
    width: calc(50% - 1.5rem / 2);
    max-width: calc(50% - 1.5rem / 2);
}

@media screen and (min-width: 750px) {
    .grid__item {
        --grid-cols: var(--theme-collection-columns, 4);
        --grid-gap: var(--grid-desktop-horizontal-spacing, 3rem);
        width: calc(100% / var(--grid-cols) - var(--grid-gap) * (var(--grid-cols) - 1) / var(--grid-cols));
        max-width: calc(100% / var(--grid-cols) - var(--grid-gap) * (var(--grid-cols) - 1) / var(--grid-cols));
    }
}

/* Product Card */
.card-wrapper {
    color: inherit;
    display: block;
    position: relative;
    text-decoration: none;
}

.card {
    display: flex;
    flex-direction: column;
}

.card__media {
    position: relative;
    width: 100%;
    background-color: var(--color-base-background-2);
    border-radius: 4px;
    overflow: hidden;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
}

.card__media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-wrapper:hover .card__media img {
    transform: scale(1.05);
}

.card__content {
    padding: 1.5rem 0;
}

.card__heading {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    font-weight: 500;
}

.card__price {
    font-size: 1.5rem;
    color: var(--color-base-text-opacity-85);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.card__compare-price {
    text-decoration: line-through;
    color: rgba(18, 18, 18, 0.45);
    font-size: 1.3rem;
}

.card__current-price {
    font-weight: 600;
}

/* Main content spacing */
main {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

@media screen and (min-width: 750px) {
    main {
        margin-top: 5rem;
        margin-bottom: 5rem;
    }
}

.site-footer {
    border-top: 1px solid rgba(var(--color-base-text), 0.08);
    padding: 3rem 0;
    margin-top: 2rem;
}

.footer-menu {
    margin-bottom: 1.5rem;
}

.footer-menu__list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-about {
    margin-bottom: 1rem;
    color: var(--color-base-text-opacity-85);
}

.store-contact--footer {
    margin-bottom: 1.6rem;
    padding: 1.6rem 0;
    border-top: 1px solid rgba(var(--color-base-text), 0.08);
    border-bottom: 1px solid rgba(var(--color-base-text), 0.08);
}

.store-contact__heading {
    margin: 0 0 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.store-contact__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.store-contact__item {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--color-base-text-opacity-85);
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1.5;
    transition: var(--theme-transition);
}

a.store-contact__item:hover {
    color: var(--color-base-accent-2);
}

.store-contact__item i {
    font-size: 1.8rem;
    line-height: 1.4;
    flex-shrink: 0;
    color: var(--color-base-accent-2);
}

.store-contact--page {
    margin-bottom: 2rem;
}

.store-contact__title {
    margin: 0 0 0.4rem;
    font-size: 2rem;
}

.store-contact__subtitle {
    margin: 0 0 1.6rem;
    color: var(--color-base-text-opacity-85);
    font-size: 1.4rem;
}

.store-contact__cards {
    display: grid;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.store-contact__card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.2rem 1rem;
    padding: 1.4rem 1.6rem;
    border: 1px solid rgba(var(--color-base-text), 0.12);
    border-radius: var(--theme-corner-radius);
    background: var(--color-base-background-1);
    text-decoration: none;
    color: inherit;
    transition: var(--theme-transition);
}

a.store-contact__card:hover {
    border-color: var(--color-base-accent-2);
    box-shadow: 0 0 0 1px var(--color-base-accent-2);
}

.store-contact__card-icon {
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--color-base-background-2);
    color: var(--color-base-accent-2);
    font-size: 2rem;
}

.store-contact__card-label {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-base-text-opacity-85);
}

.store-contact__card-value {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.store-contact__locations-title {
    margin: 0 0 1rem;
    font-size: 1.6rem;
}

.store-contact__location {
    padding: 1.2rem 0;
    border-top: 1px solid rgba(var(--color-base-text), 0.08);
    font-size: 1.4rem;
    line-height: 1.6;
}

.store-contact__location-name {
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.store-contact__location p {
    margin: 0.3rem 0;
    color: var(--color-base-text-opacity-85);
}

.store-contact__location a {
    color: inherit;
    text-decoration: none;
}

.store-contact__location a:hover {
    color: var(--color-base-accent-2);
}

.store-contact__location i {
    margin-right: 0.4rem;
    color: var(--color-base-accent-2);
}

.store-contact__badge {
    display: inline-block;
    margin-left: 0.6rem;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    background: var(--color-base-background-2);
    color: var(--color-base-accent-2);
    font-size: 1.1rem;
    font-weight: 600;
    vertical-align: middle;
}

.footer-social {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    color: var(--color-base-text);
    font-size: 2.4rem;
    opacity: 0.85;
    transition: var(--theme-transition);
}

.footer-social a:hover {
    opacity: 1;
    color: var(--color-base-accent-2);
}

.page-content-wrap {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.page-title {
    font-size: 3.2rem;
    margin: 0 0 1.5rem;
    font-weight: 600;
}

.page-body.rte {
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--color-base-text-opacity-85);
}

.page-body.rte p {
    margin-bottom: 1rem;
}

.page-header--center {
    text-align: center;
}

.page-body--narrow {
    max-width: 72rem;
    margin: 0 auto;
}

.page-body--intro {
    margin-bottom: 1rem;
}

/* Contact template */
.page-template-contact .page-title {
    margin-bottom: 2rem;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media screen and (min-width: 750px) {
    .contact-page-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }
}

.contact-form-panel {
    background: var(--color-base-background-2);
    border: 1px solid rgba(18, 18, 18, 0.08);
    border-radius: var(--theme-corner-radius);
    padding: 2.4rem;
}

.contact-form-panel__title {
    margin: 0 0 0.8rem;
    font-size: 2rem;
    font-weight: 600;
}

.contact-form-panel__hint {
    margin: 0 0 2rem;
    color: var(--color-base-text-opacity-85);
    font-size: 1.4rem;
    line-height: 1.5;
}

.contact-form__field {
    margin-bottom: 1.6rem;
}

.contact-form__field label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
    font-weight: 500;
}

.contact-form__optional {
    font-weight: 400;
    color: var(--color-base-text-opacity-85);
}

.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(18, 18, 18, 0.15);
    border-radius: var(--theme-corner-radius);
    font: inherit;
    font-size: 1.4rem;
    background: var(--color-base-background-1);
    color: var(--color-base-text);
}

.contact-form__field textarea {
    resize: vertical;
    min-height: 12rem;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
    outline: 2px solid var(--color-base-accent-2);
    outline-offset: 1px;
}

.contact-form__submit {
    width: 100%;
    min-height: 4.8rem;
}

.contact-form__success {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding: 1.2rem 1.6rem;
    border-radius: var(--theme-corner-radius);
    background: #e3f1df;
    color: #108043;
    font-size: 1.4rem;
}

.contact-form__error {
    margin-bottom: 2rem;
    padding: 1.2rem 1.6rem;
    border-radius: var(--theme-corner-radius);
    background: #fde2e2;
    color: #c62828;
    font-size: 1.4rem;
}

.contact-info-panel__body {
    font-size: 1.5rem;
}

.contact-info-panel__placeholder {
    padding: 2rem;
    text-align: center;
    color: var(--color-base-text-opacity-85);
    border: 1px dashed rgba(18, 18, 18, 0.15);
    border-radius: var(--theme-corner-radius);
}

.contact-info-panel__placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.page-template-about .page-body--narrow,
.page-template-faq .page-body--narrow {
    text-align: center;
}

.search-page-form {
    display: flex;
    gap: 1rem;
    max-width: 64rem;
    margin: 0 auto 1.5rem;
}

.search-page-form input[type="search"] {
    flex: 1;
    min-height: 4.8rem;
    padding: 0 1.6rem;
    border: 1px solid rgba(18, 18, 18, 0.15);
    border-radius: var(--theme-corner-radius);
    font: inherit;
    background: #fff;
}

.search-page-form input[type="search"]:focus {
    outline: none;
    border-color: rgba(18, 18, 18, 0.45);
    box-shadow: 0 0 0 2px rgba(18, 18, 18, 0.08);
}

.search-results-meta {
    color: var(--color-base-text-opacity-85);
    font-size: 1.5rem;
    margin: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
