/* buradayim.click | Mağaza son rötuşları */
html,
body.store-body {
    max-width: 100%;
    overflow-x: hidden;
}

.store-header {
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
}

.store-brand__mark,
.store-loader > img {
    object-fit: contain;
}

.store-cart-link,
[data-store-cart-link] {
    position: relative;
    z-index: 3;
    touch-action: manipulation;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(255, 73, 111, .2);
}

.store-cart-link {
    min-height: 46px;
}

.store-hero-actions .store-btn {
    min-height: 48px;
}

.store-checkout {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
}

.store-order-preview {
    min-width: 0;
    padding: 25px;
}

.store-order-preview h2 {
    font-size: 20px;
}

.store-order-preview > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
}

.store-order-preview > div span {
    min-width: 0;
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.store-order-preview > div strong {
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
}

.store-order-preview__total span,
.store-order-preview__total strong {
    font-size: 17px !important;
}

.store-btn[data-store-checkout-submit][disabled] {
    cursor: wait;
    opacity: .72;
}

.store-btn[data-store-checkout-submit].is-loading {
    position: relative;
}

.store-btn[data-store-checkout-submit].is-loading::after {
    content: "";
    width: 17px;
    height: 17px;
    margin-left: 10px;
    display: inline-block;
    vertical-align: -3px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: storeSubmitSpin .75s linear infinite;
}

@keyframes storeSubmitSpin {
    to { transform: rotate(360deg); }
}

/* Ödeme logoları */
.store-footer {
    display: grid;
    grid-template-columns: minmax(180px, .75fr) minmax(560px, 1.7fr) auto auto;
    align-items: center;
    gap: 24px;
}

.store-footer > div:first-child {
    min-width: 0;
}

.store-footer .store-payment-logos {
    justify-content: center;
}

.store-payment-logos {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.store-payment-badge {
    width: 112px;
    height: 46px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.store-payment-badge img,
.store-payment-logos .store-payment-badge img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    display: block;
}

.store-payment-badge--param {
    width: 126px;
    padding: 0;
    border-color: rgba(0, 187, 180, .42);
    background: #4d008c;
}

.store-payment-badge--param img,
.store-payment-logos .store-payment-badge--param img {
    object-fit: cover;
}

.store-payment-badge--mastercard {
    width: 144px;
    padding: 5px 12px;
}

.store-payment-badge--mastercard img,
.store-payment-logos .store-payment-badge--mastercard img {
    width: auto;
    max-width: 122px;
}

.store-payment-note .store-payment-logos {
    margin-top: 14px;
}

.store-payment-note .store-payment-badge {
    width: 118px;
    height: 48px;
}

.store-payment-note .store-payment-badge--param {
    width: 132px;
}

.store-payment-note .store-payment-badge--mastercard {
    width: 148px;
}

@media (max-width: 1180px) {
    .store-footer {
        grid-template-columns: minmax(180px, 1fr) auto;
    }

    .store-footer .store-payment-logos {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 1100px) {
    .store-checkout {
        grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr);
        gap: 18px;
    }

    .store-order-preview {
        padding: 20px;
    }

    .store-order-preview > div span,
    .store-order-preview > div strong {
        font-size: 12px;
    }
}

@media (max-width: 980px) {
    .store-checkout {
        grid-template-columns: 1fr;
    }

    .store-order-preview {
        position: static;
        order: -1;
    }

    .store-order-preview > div span,
    .store-order-preview > div strong {
        font-size: 14px;
    }
}

@media (max-width: 720px) {
    .store-header {
        width: 100%;
        min-height: 0;
        padding: 10px 13px 11px;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        gap: 8px 10px;
    }

    .store-brand {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
        max-width: calc(100vw - 26px);
    }

    .store-brand span {
        min-width: 0;
    }

    .store-brand strong,
    .store-brand small {
        max-width: 70vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .store-back {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
        min-width: 0;
        max-width: calc(100vw - 104px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .store-cart-link {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }

    .store-footer {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 18px;
    }

    .store-footer .store-payment-logos,
    .store-payment-note .store-payment-logos {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        justify-content: flex-start;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .store-payment-badge,
    .store-payment-badge--param,
    .store-payment-badge--mastercard,
    .store-payment-note .store-payment-badge,
    .store-payment-note .store-payment-badge--param,
    .store-payment-note .store-payment-badge--mastercard {
        width: 100%;
        height: 44px;
    }

    .store-payment-badge--mastercard img,
    .store-payment-logos .store-payment-badge--mastercard img {
        max-width: 112px;
    }

    .store-order-preview {
        padding: 18px;
    }

    .store-order-preview > div {
        gap: 8px;
    }

    .store-order-preview > div span,
    .store-order-preview > div strong {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .store-header {
        width: 100%;
        margin: 0;
        padding-inline: 10px;
    }

    .store-brand strong {
        font-size: 14px;
    }

    .store-brand small {
        font-size: 10px;
        max-width: 58vw;
    }

    .store-brand__mark {
        width: 38px;
        height: 38px;
    }

    .store-back {
        font-size: 11px;
        max-width: calc(100vw - 105px);
    }

    .store-cart-link {
        min-height: 43px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .store-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .store-hero-actions .store-btn {
        width: 100%;
        justify-content: center;
    }

    .store-checkout-form,
    .store-order-preview {
        padding: 16px;
        border-radius: 20px;
    }

    .store-order-preview > div span,
    .store-order-preview > div strong {
        font-size: 12px;
    }

    .store-order-preview__total span,
    .store-order-preview__total strong {
        font-size: 15px !important;
    }

    .store-footer .store-payment-logos,
    .store-payment-note .store-payment-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 360px) {
    .store-header {
        padding-inline: 7px;
    }

    .store-brand {
        gap: 7px;
    }

    .store-brand small {
        max-width: 52vw;
    }

    .store-back {
        max-width: calc(100vw - 96px);
    }

    .store-cart-link {
        padding-inline: 8px;
    }

    .store-cart-link span {
        min-width: 21px;
        height: 21px;
    }

    .store-order-preview > div {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (max-width: 340px) {
    .store-footer .store-payment-logos,
    .store-payment-note .store-payment-logos {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-btn[data-store-checkout-submit].is-loading::after {
        animation: none;
    }
}

/* 2026-07-24 | Ürün kartı görselleri ve kaydırılabilir banner */
.store-product-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 10px;
    box-sizing: border-box;
    background: linear-gradient(145deg, #f4f4f7, #d9d9df);
}

.store-product-card__image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    object-position: center;
    transform: none !important;
}

.store-product-card:hover .store-product-card__image img {
    transform: none !important;
}

.store-tier-mini {
    display: none !important;
}

.store-product-card__footer--action-only {
    display: block;
    width: 100%;
}

.store-product-card__footer--action-only form,
.store-product-card__footer--action-only button {
    width: 100%;
}

.store-product-card__footer--action-only button {
    min-height: 44px;
    padding-inline: 18px;
}

.store-banner-slider {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.store-banner-slider__track {
    will-change: transform;
    cursor: grab;
}

.store-banner-slider__track.is-dragging {
    transition: none !important;
    cursor: grabbing;
}

.store-banner-slide,
.store-banner-slide * {
    -webkit-user-drag: none;
}

.store-banner-brand,
.store-banner-slide > div > span {
    text-transform: none !important;
    letter-spacing: .08em;
}

@media (max-width: 720px) {
    .store-product-card {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
    }

    .store-product-card__image {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
        padding: 8px;
    }

    .store-product-card__body {
        width: 100%;
        box-sizing: border-box;
    }

    .store-product-card__footer--action-only {
        margin-top: 12px;
    }
}

@media (max-width: 420px) {
    .store-product-card__image {
        aspect-ratio: 4 / 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-banner-slider__track {
        transition: none !important;
    }
}

/* 2026-07-24 | Ürün ana fiyatı ve karışık görsel oranları için son düzeltme */
.store-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.store-product-card__image {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    padding: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #171a2e;
}

.store-product-card__media-backdrop {
    position: absolute;
    z-index: 0;
    inset: -24px;
    display: block;
    overflow: hidden;
    pointer-events: none;
}

.store-product-card__media-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 8, 23, .06), rgba(7, 8, 23, .28));
}

.store-product-card__media-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center;
    filter: blur(22px) saturate(.78) brightness(.74);
    opacity: .62;
    transform: scale(1.14) !important;
}

.store-product-card__media-main {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    box-sizing: border-box;
    object-fit: contain !important;
    object-position: center top;
    transform: none !important;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .16));
}

.store-product-card:hover .store-product-card__media-main,
.store-product-card:hover .store-product-card__media-backdrop img {
    transform: none !important;
}

.store-product-card .store-stock-badge,
.store-product-card .store-gallery-badge {
    z-index: 3;
}

.store-product-card__body {
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.store-product-card h3 {
    overflow-wrap: anywhere;
}

.store-product-card p {
    min-height: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.store-product-card__footer--catalog {
    width: 100%;
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
}

.store-product-card__price {
    display: block;
    font-size: clamp(19px, 2vw, 24px) !important;
    line-height: 1.1;
    color: #fff;
}

.store-product-card__footer--catalog form,
.store-product-card__footer--catalog button {
    width: 100%;
}

.store-product-card__footer--catalog button {
    min-height: 46px;
    padding: 11px 16px;
}

@media (max-width: 720px) {
    .store-product-card {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
    }

    .store-product-card__image {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .store-product-card__media-main {
        padding: 0;
        object-position: center top;
    }

    .store-product-card__body {
        padding: 18px;
    }

    .store-product-card p {
        margin-bottom: 14px;
    }

    .store-product-card__price {
        font-size: clamp(22px, 6vw, 28px) !important;
    }
}

@media (max-width: 380px) {
    .store-product-card__media-main {
        padding: 0;
        object-position: center top;
    }

    .store-product-card__body {
        padding: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-product-card__media-main,
    .store-product-card__media-backdrop img {
        transition: none !important;
    }
}


/* 2026-07-24 | Ürün görsellerini görsel kutusunun üst kenarına hizala */
.store-product-card__media-main {
    padding: 0 !important;
    box-sizing: border-box;
    object-fit: contain !important;
    object-position: center top !important;
}

.store-product-card__media-backdrop img {
    object-position: center top;
}

@media (max-width: 720px) {
    .store-product-card__media-main {
        padding: 0 !important;
        object-position: center top !important;
    }
}

/* 2026-07-25 | Kargonomi footer logosu */
.store-payment-badge--kargonomi {
    width: 164px;
    padding: 0;
    overflow: hidden;
    border-color: rgba(148, 70, 203, .55);
    background: #5e139a;
}

.store-payment-badge--kargonomi img,
.store-payment-logos .store-payment-badge--kargonomi img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #5e139a;
}

@media (max-width: 720px) {
    .store-payment-badge--kargonomi {
        width: 100%;
    }
}


/* =========================================================
   2026-07-26 | Güncel ödeme logoları + footer dış bağlantıları
   ========================================================= */
.store-payment-badge--visa {
    width: 108px;
    padding: 8px 14px;
}

.store-payment-badge--troy {
    width: 116px;
    padding: 7px 12px;
}

.store-payment-note .store-payment-badge--visa {
    width: 112px;
}

.store-payment-note .store-payment-badge--troy {
    width: 120px;
}

.store-payment-badge--link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.store-payment-badge--link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .36);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .19);
}

.store-payment-badge--link:focus-visible {
    outline: 3px solid rgba(119, 220, 255, .42);
    outline-offset: 3px;
}

@media (max-width: 720px) {
    .store-payment-badge--visa,
    .store-payment-badge--troy,
    .store-payment-note .store-payment-badge--visa,
    .store-payment-note .store-payment-badge--troy {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-payment-badge--link {
        transition: none;
    }
}


/* 2026-07-27 | Resmî TROY oranı + footer telif satırı */
.store-payment-badge--troy {
    width: 122px;
    padding: 6px 10px;
}

.store-payment-badge--troy img,
.store-payment-logos .store-payment-badge--troy img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-footer-copyright {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.68);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 720px) {
    .store-payment-badge--troy,
    .store-payment-note .store-payment-badge--troy {
        width: 100%;
    }

    .store-footer-copyright {
        padding-top: 14px;
        font-size: 12px;
    }
}

/* 2026-08-11 | Sepette admin kontrollü kupon gösterimi */
.store-public-coupons {
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--store-line);
}

.store-public-coupons > strong {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
}

.store-public-coupons__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.store-public-coupon {
    margin: 0;
}

.store-public-coupon button {
    width: 100%;
    min-height: 92px;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 4px;
    padding: 12px 13px;
    border: 1px dashed rgba(255, 91, 126, .48);
    border-radius: 14px;
    color: #fff;
    text-align: left;
    background: linear-gradient(145deg, rgba(255,71,119,.12), rgba(172,55,232,.08));
}

.store-public-coupon button:not(:disabled):hover,
.store-public-coupon button:not(:disabled):focus-visible {
    border-color: rgba(255, 113, 144, .88);
    transform: translateY(-1px);
}

.store-public-coupon button:disabled {
    cursor: not-allowed;
    opacity: .56;
    filter: saturate(.7);
}

.store-public-coupon__code,
.store-public-coupon__discount,
.store-public-coupon small {
    display: block;
}

.store-public-coupon__code {
    font-weight: 950;
    letter-spacing: .04em;
}

.store-public-coupon__discount {
    font-size: 13px;
    font-weight: 800;
}

.store-public-coupon small {
    margin: 0;
    color: var(--store-muted);
    font-size: 11px;
    line-height: 1.35;
}

@media (max-width: 560px) {
    .store-public-coupons__grid {
        grid-template-columns: 1fr;
    }

    .store-public-coupon button {
        min-height: 78px;
    }
}

/* =========================================================
   Banner action hit-area / Safari drag-layer fix — 2026-08-23
   ========================================================= */
.store-banner-slide {
    position: relative;
}

.store-banner-slide::after {
    pointer-events: none;
}

.store-banner-slide > div {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.store-banner-slide .store-btn,
.store-banner-slide a,
.store-banner-slide button {
    position: relative;
    z-index: 4;
    pointer-events: auto;
    cursor: pointer !important;
    touch-action: manipulation;
}

.store-banner-slider__track.is-dragging .store-banner-slide .store-btn,
.store-banner-slider__track.is-dragging .store-banner-slide a,
.store-banner-slider__track.is-dragging .store-banner-slide button {
    cursor: pointer !important;
}
