/* Ürün detay sayfası - Sok Market referans tasarımı */
* { box-sizing: border-box; }

body.product-page {
    margin: 0;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    padding-bottom: 80px;
}

.product-page .pd-wrapper,
.product-page .Layout_layoutContainer___3Qax {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
}

/* BasicMobileHeader - Sok tasarımı */
.BasicMobileHeader_cBasicMobileHeader__l5qpc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #f2f2f2;
    position: sticky;
    top: 0;
    z-index: 100;
}
.BasicMobileHeader_navigatorAndTitle__DsigO {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pd-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    text-decoration: none;
    color: rgba(0,0,0,.4);
}
.pd-back-btn svg { transform: rotate(180deg); }
.pd-back-btn:hover { opacity: 0.7; }
.BasicMobileHeader_pipe__02Rw7 { display: none; }
.BasicMobileHeader_title___b3ck {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Breadcrumb - Sok chevron yapısı */
.Breadcrumb_breadcrumbs__4gBPU.pd-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 4px;
    padding: 10px 16px;
    font-size: 12px;
    color: #999;
    background: #fafafa;
}
.pd-breadcrumb a { color: #999; text-decoration: none; }
.pd-breadcrumb a:hover { color: #0551a0; }
.breadcrumb-chevron { flex-shrink: 0; transform: rotate(180deg); }
.Breadcrumb_lastCrumb__5leb0 {
    margin: 0;
    color: #333;
    font-weight: 500;
}

.Layout_childrenWrapper__Y0yR5 { padding: 0 0 20px; }

/* ProductImages - Sok yapısı */
.product-detail_productContent__GkPeO { padding: 0 16px; }
.ProductContentContainer_productContent__V1qul { padding-bottom: 16px; }
.ProductImages_imagesWrapper__K7mni {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ProductImages_mobileImageWrapper__8EWRt { width: 100%; }

.pd-gallery-wrap {
    position: relative;
    background: #fafafa;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border-radius: 8px;
}
.pd-gallery-wrap img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}
.ProductMainInfoArea_favoriteAndShare__ohrE7 {
    display: flex;
    justify-content: flex-end;
    margin-top: -8px;
}
.pd-fav-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.pd-fav-btn svg { width: 36px; height: 36px; }
/* Carousel dots */
.pd-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 0 0;
}
.pd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    padding: 0;
}
.pd-dot.active { background: #0551a0; }

/* ProductMainInfoArea - Sok CPriceBox */
.ProductMainInfoArea_productMainInfoArea__HEXx8 { padding: 12px 0 0; }
.ProductMainInfoArea_nameAndCode__oTqLZ.pd-main-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.pd-left { flex: 1; min-width: 0; }
.CPriceBox-module_cPriceBox__1OWBR {
    flex-shrink: 0;
    min-width: fit-content;
}
.CPriceBox-module_cPriceBox__1OWBR .pd-price-old span,
.CPriceBox-module_cPriceBox__1OWBR .pd-price-single,
.CPriceBox-module_cPriceBox__1OWBR .pd-price-curr {
    display: inline;
}
.ProductMainInfoArea_productName__bKRVD.pd-name,
.pd-name {
    font-size: 18px;
    font-weight: 800;
    color: #333;
    line-height: 1.3;
    margin: 0 0 4px;
}
.ProductMainInfoArea_productCode__smjcO.pd-code,
.pd-code {
    font-size: 13px;
    color: #999;
    margin: 0;
}
/* Fiyat kartı - sarı banner + kırmızı üst şerit (indirimli) */
.CPriceBox-module_discountedPriceContainer__nsaTN {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 110px;
    background: #ffe000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.CPriceBox-module_discountedPriceContainer__nsaTN .CPriceBox-module_price__bYk-c.pd-price-old {
    background: #ec2027;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: line-through;
    padding: 6px 12px;
    text-align: center;
}
.CPriceBox-module_discountedPriceContainer__nsaTN .CPriceBox-module_discountedPrice__15Ffw.pd-price-curr {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: #ec2027;
    padding: 10px 12px 12px;
    text-align: center;
}
.ProductMainInfoArea_addToCartButton__6NBpn { margin-top: 12px; }
.pd-add-btn-inline {
    width: 100%;
    padding: 14px 24px;
    background: #0551a0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.pd-add-btn-inline:hover { opacity: 0.95; }
/* Tek fiyat - sarı kart */
.CPriceBox-module_cPriceBox__1OWBR > .CPriceBox-module_price__bYk-c {
    background: #ffe000;
    color: #ec2027;
    font-size: 20px;
    font-weight: 800;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.CPriceBox-module_cPriceBox__1OWBR > .CPriceBox-module_price__bYk-c .pd-price-single {
    color: #ec2027;
}

/* Ürün Bilgisi - CMobileTabMenu Sok */
.pd-info-bar-wrap { margin-bottom: 24px; }
.pd-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f2;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: #0551a0;
}
.CMobileTabMenu-module_tabTitle__qYmWH { font-size: 14px; font-weight: 700; }
.pd-info-bar:hover { opacity: 0.8; }
.pd-info-bar svg { transform: rotate(180deg); }

/* CProductLegalInfo */
.CProductLegalInfo-module_productLegalInfo__e88Gf {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    padding: 16px;
}
.CProductLegalInfo-module_productLegalInfo__e88Gf p { margin: 0 0 8px; }

/* İlgili Ürünler */
.pd-related {
    padding: 16px 0;
}
.pd-related-tabs {
    display: flex;
    gap: 16px;
    padding: 0 16px 12px;
    border-bottom: 2px solid #eee;
}
.pd-tab {
    font-size: 14px;
    font-weight: 700;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 0 4px;
}
.pd-tab.active { color: #0551a0; border-bottom: 2px solid #0551a0; margin-bottom: -2px; }
.pd-related-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 16px 16px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.pd-related-scroll::-webkit-scrollbar { display: none; }
.pd-related-card {
    flex-shrink: 0;
    width: 140px;
    text-decoration: none;
    color: inherit;
}
.pd-related-card .pd-card-img-wrap {
    position: relative;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 12px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-related-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.pd-related-card .pd-card-plus {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: #0551a0;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-related-card .pd-card-name {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin: 8px 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pd-related-card .pd-card-price {
    font-size: 14px;
    font-weight: 800;
    color: #ec2027;
    background: #ffe000;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 4px;
    white-space: nowrap;
    overflow: visible;
}

/* Sabit Sepete Ekle butonu */
.pd-add-fixed {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 14px 16px;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    z-index: 999;
}
.pd-add-fixed .pd-add-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: #0551a0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(5,81,160,0.3);
    text-align: center;
    text-decoration: none;
}
.pd-add-fixed .pd-add-btn:hover { opacity: 0.95; }
.pd-add-fixed .pd-add-btn:active { transform: scale(0.98); }

/* Modal Teslimat Adresi - overlay karartma + ortalanmış kutu */
.CModal-module_modalOverlay__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
    opacity: 1;
    transition: opacity 0.2s ease;
}
.CModal-module_modalOverlay__backdrop.pd-modal-hidden {
    opacity: 0;
    pointer-events: none;
}
.CModal-module_modalContentWrapper__cdN5w.pd-modal-box {
    width: 100%;
    max-width: 400px;
    padding: 0.5rem 1rem 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.CModal-module_modalHeader__VRShv {
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 8px;
}
.CModal-module_modalTitle__YjLIE {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
}
.CModal-module_modalCloser__aTeIB {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    color: #999;
}
.CModal-module_modalCloser__aTeIB:hover { color: #333; }
.CModal-module_modalContent__Lxl8G {
    padding: 12px 0 0;
}
.AddressEditorModal_succeededText__Z7Sz2 {
    text-align: center;
    margin-bottom: 16px;
}
.AddressEditorModal_succeededText__Z7Sz2 svg {
    margin-bottom: 8px;
}
.AddressEditorModal_succeededText__Z7Sz2 p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}
.pd-modal-btn {
    width: 100%;
    padding: 12px 20px;
    background: #0551a0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.pd-modal-btn:hover { opacity: 0.95; }
.pd-modal-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Modal 2: Teslimat Adresi Ekle */
.pd-modal-address-editor {
    width: 100%;
    max-width: 480px;
    padding: 20px 20px 24px;
    min-height: 400px;
    max-height: 90vh;
    overflow-y: auto;
}
.pd-modal-header-address { border: none; padding: 0 20px; min-height: 0; }
.pd-modal-closer-abs {
    position: absolute;
    top: 20px;
    right: 28px;
}
.AddressEditorModal_addressModalHeader__uvl_Q {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.AddressEditorModal_addressModalHeaderLeftSection__CEOCw {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pd-modal-back-btn {
    background: none;
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.pd-modal-back-btn:hover { opacity: 0.7; }
.AddressEditorModal_addressModalTitle__eDMHt {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
}
.AddressEditorModal_map__Zhts4 { margin-bottom: 24px; }
.AddressEditorModal_mapContent__cNBu3.pd-map-placeholder,
.AddressEditorModal_mapContent__cNBu3#pdAddressMap {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    background: #e5e3df;
    touch-action: none;
}
.AddressEditorModal_mapContent__cNBu3#pdAddressMap {
    display: block;
}
.AddressEditorModal_mapContent__cNBu3#pdAddressMap.leaflet-container {
    font-family: inherit;
    touch-action: none;
}
.pd-map-placeholder span { color: #888; font-size: 14px; }

/* Ev/adres işaretçisi - eve işaretlenmiş görünüm */
.pd-addr-house-marker { background: none !important; border: none !important; }
.pd-house-pin {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-house-pin svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}
.pd-house-pin-dot {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #0551a0;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.AddressEditorModal_mapText__1R0_p {
    font-size: 12px;
    color: #666;
    margin: 8px 0 0;
}
.AddressEditorModal_cityDistrictArea__kz_RF {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    color: #0551a0;
}
.AddressEditorModal_inputArea__7Kdc_ {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.AddressEditorModal_fullWidth__Ureky,
.AddressEditorModal_inputAreaTop__9OUze,
.AddressEditorModal_inputAreaBottom__c73lG {
    margin-bottom: 14px;
}
.AddressEditorModal_tripleWidth__cFl77.pd-triple-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.pd-addr-select,
.pd-addr-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.pd-modal-address-editor .pd-modal-btn {
    margin-top: 8px;
}
.pd-addr-select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 36px; }
.pd-addr-input-wrap { width: 100%; }
.AddressEditorModal_action__szSZA { margin-top: 16px; }

/* Arama sonuç sayfası */
.search-results-page { padding: 0 16px 24px; }
.search-results-header { padding: 12px 0; }
.search-results-query { font-size: 14px; color: #666; margin: 0; }
.search-results-empty { padding: 32px 16px; text-align: center; color: #666; font-size: 14px; }
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.search-product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}
.search-product-card:hover { border-color: #0551a0; }
.search-card-img {
    position: relative;
    aspect-ratio: 1;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.search-card-plus {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0551a0;
    color: #fff;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-card-plus:hover { opacity: 0.9; }
.search-card-name {
    padding: 8px 10px 4px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.search-card-price {
    display: block;
    padding: 0 10px 10px;
    font-size: 14px;
    font-weight: 800;
    color: #0551a0;
}
