/* Profesyonel urun detay - site temasi ile uyumlu, bagimsiz layout */

.pd-wrap {
    padding: 12px 0 48px;
    background: #f6f7f5;
}

.pd-crumb {
    font-size: 13px;
    color: #777;
    margin: 8px 0 18px;
}

.pd-crumb a {
    color: #555;
}

.pd-crumb span {
    margin: 0 6px;
    color: #bbb;
}

.pd-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
    overflow: visible;
}

.pd-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
}

.pd-gallery {
    padding: 22px;
    border-right: 1px solid #f0f0f0;
    background: linear-gradient(180deg, #fafafa 0%, #fff 40%);
    position: static;
}

.pd-main-img {
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    border: 1px solid #eee;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pd-main-img img,
.pd-main-img .pd-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
    background: #111;
}
.pd-main-img iframe.pd-yt {
    position: absolute;
    inset: -18% -8%;
    width: 116%;
    height: 136%;
    pointer-events: none;
}
.pd-thumb .pd-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    background: rgba(0,0,0,.35);
    pointer-events: none;
}

.pd-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.pd-thumb {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    position: relative;
    background: #fff;
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-thumb.is-active,
.pd-thumb:hover {
    border-color: #81a884;
}

.pd-info {
    padding: 26px 28px 28px;
}

/* Global tema (frb/nice-select/label) sizintilarini engelle */
.pd-info label,
.pd-info span,
.pd-info div {
    box-sizing: border-box;
}

.pd-info input[type="radio"] {
    accent-color: #81a884;
}

.pd-info .pd-date label,
.pd-info .pd-portion-card {
    margin: 0;
    padding: 0;
}

.pd-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.pd-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #3d6b42;
    background: #eef6ef;
    border: 1px solid #d7e8d9;
    border-radius: 999px;
    padding: 5px 11px;
}

.pd-badge.muted {
    color: #666;
    background: #f4f4f4;
    border-color: #e6e6e6;
}

.pd-title {
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    color: #1f1f1f;
    margin: 0 0 8px;
}
.pd-viewing {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    padding: 4px 9px 4px 7px;
    border-radius: 999px;
    background: #f8faf9;
    border: 1px solid #e8eee9;
    color: #4b6352;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1;
}
.pd-viewing b { font-weight: 700; color: #2f5d36; }
.pd-viewing svg { flex: 0 0 auto; opacity: .75; }
.pd-viewing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,.18);
    flex: 0 0 auto;
    animation: pdViewPulse 1.8s ease-in-out infinite;
}
@keyframes pdViewPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(.85); }
}
.pd-price-hero {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ece7df;
}
.pd-price-hero span {
    font-size: 34px;
    font-weight: 700;
    color: #3f6b45;
    letter-spacing: -.03em;
    line-height: 1;
}
.pd-price-hero small {
    font-size: 14px;
    font-weight: 700;
    color: #78716c;
}
.pd-var-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pd-var {
    margin: 0;
    padding: 0;
    cursor: pointer;
}
.pd-var input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.pd-var span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 108px;
    padding: 10px 12px;
    border: 1px solid #e7e0d6;
    border-radius: 12px;
    background: #fff;
}
.pd-var span b {
    font-size: 13px;
    font-weight: 700;
    color: #1c1917;
}
.pd-var span em {
    font-style: normal;
    font-size: 12px;
    color: #3f6b45;
    font-weight: 700;
}
.pd-var input:checked + span {
    border-color: #3f6b45;
    background: #f3f7f3;
    box-shadow: 0 0 0 3px rgba(63,107,69,.12);
}

.pd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #777;
    margin-bottom: 18px;
}

.pd-meta b {
    color: #333;
    font-weight: 600;
}

.pd-section {
    margin-bottom: 18px;
}

.pd-extra-wrap { margin-bottom: 14px; }
.pd-extra-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #cfe0d3;
    border-radius: 10px;
    background: #f4f8f5;
    color: #2f6b3a;
    font: inherit;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    appearance: none;
}
.pd-extra-toggle::after { content: "+"; font-size: 16px; font-weight: 800; }
.pd-extra-wrap.is-open .pd-extra-toggle::after { content: "−"; }
.pd-extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}
.pd-extra {
    display: grid !important;
    grid-template-columns: 16px 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 2px 8px;
    align-items: center;
    margin: 0;
    padding: 8px;
    border: 1px solid #e8efe9;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}
.pd-extra input { grid-row: 1 / span 2; }
.pd-extra img {
    grid-row: 1 / span 2;
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    object-fit: contain !important;
    display: block;
}
.pd-extra b { font-size: 12.5px; line-height: 1.25; }
.pd-extra small { color: #2f6b3a; font-weight: 700; font-size: 12px; }
.pd-card-modes { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 10px 0; font-size: 13px; }
.pd-card-ready select { width: 100%; height: 38px; border: 1px solid #dbe3ea; border-radius: 8px; padding: 0 10px; }
.pd-card-list { display: grid; gap: 6px; margin-top: 8px; max-height: 220px; overflow: auto; }
.pd-card-item {
  display: flex; gap: 8px; align-items: flex-start; margin: 0;
  padding: 8px; border: 1px solid #e8efe9; border-radius: 8px; background: #fff; cursor: pointer;
  font-size: 12.5px; line-height: 1.4;
}
#pd-card-custom { width: 100%; border: 1px solid #dbe3ea; border-radius: 8px; padding: 10px; font: inherit; }
.pd-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-width: 210px;
    margin-top: 8px;
    border-radius: 10px;
    background: #25d366;
    color: #fff !important;
    font-weight: 800;
    font-size: 13.5px;
    text-decoration: none !important;
}
.pd-wa:hover,
.page-wrapper-light-green a.pd-wa:hover {
    color: #fff !important;
    background: #1ebe5d;
}

.pd-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.pd-qty {
    display: inline-flex;
    align-items: stretch;
    height: 44px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.pd-qty-btn {
    width: 44px;
    height: 44px;
    border: 0;
    background: #f6f7f5;
    color: #374151;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}
.pd-qty-btn:hover { background: #eceee9; color: #111; }
.pd-qty input[type="number"] {
    width: 56px;
    height: 44px;
    border: 0;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    background: #fff;
    -moz-appearance: textfield;
    appearance: textfield;
}
.pd-qty input[type="number"]::-webkit-outer-spin-button,
.pd-qty input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pd-opt-list {
    display: grid;
    gap: 10px;
}
.pd-opt {
    display: block;
    cursor: pointer;
    margin: 0;
}
.pd-opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.pd-opt-box {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1.5px solid #d9e4d8;
    border-radius: 12px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.pd-opt input:checked + .pd-opt-box {
    border-color: #2f6b3a;
    box-shadow: 0 0 0 1px #2f6b3a;
}
.pd-opt-radio {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border: 2px solid #c5c5c5;
    border-radius: 50%;
    position: relative;
    background: #fff;
}
.pd-opt input:checked + .pd-opt-box .pd-opt-radio {
    border-color: #2f6b3a;
}
.pd-opt input:checked + .pd-opt-box .pd-opt-radio::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: #2f6b3a;
}
.pd-opt-name {
    flex: 1;
    min-width: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #1a1a1a;
}
.pd-opt-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}
.pd-opt-price {
    font-size: 13.5px;
    font-weight: 700;
    color: #2f6b3a;
    letter-spacing: -0.2px;
}
.pd-opt-old {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}
.pd-opt-stock {
    font-size: 11px;
    font-weight: 600;
}
.pd-opt-stock.is-ok { color: #2f6b3a; }
.pd-opt-stock.is-out { color: #b42318; }
.pd-buy-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 4px;
    border-top: 0;
    flex-wrap: nowrap;
}
.pd-buy-bar .pd-qty {
    height: 52px;
    border-radius: 999px;
    flex: 0 0 auto;
}
.pd-buy-bar .pd-qty-btn,
.pd-buy-bar .pd-qty input[type="number"] {
    height: 52px;
}
.pd-buy-bar .pd-qty-btn { width: 48px; background: #fff; }
.pd-buy-bar .pd-cta {
    flex: 1;
    min-width: 0;
    height: 52px;
    border-radius: 999px;
    background: #1f5c3a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pd-buy-bar .pd-cta:hover { background: #174a2e; }

.pd-portion-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
}

.pd-portion-card {
    position: relative;
    display: block !important;
    margin: 0 !important;
    cursor: pointer;
    width: 128px !important;
    max-width: 128px !important;
    flex: 0 0 128px !important;
    min-width: 0;
}

.pd-portion-card input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.pd-portion-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 3px;
    min-height: 54px;
    padding: 8px 4px;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    background: #fff;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
    box-sizing: border-box;
}

.pd-portion-card:hover .pd-portion-card-inner {
    border-color: #b9d0bb;
}

.pd-portion-card input[type="radio"]:checked + .pd-portion-card-inner {
    border-color: #81a884;
    background: #f3f8f4;
    box-shadow: 0 0 0 2px rgba(129, 168, 132, 0.18);
}

.pd-portion-card-name {
    font-size: 13px;
    font-weight: 800;
    color: #333;
    line-height: 1.15;
}

.pd-portion-card-price {
    font-size: 12px;
    font-weight: 700;
    color: #81a884;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
}

.pd-portion-card input[type="radio"]:checked + .pd-portion-card-inner .pd-portion-card-name {
    color: #1f1f1f;
}

.pd-field {
    position: relative;
}

.pd-field input,
.pd-field select,
.pd-field textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    height: 46px;
    padding: 0 14px;
    font-size: 14px;
    background: #fff;
    outline: none;
}

.pd-field textarea {
    height: 88px;
    padding: 12px 14px;
    resize: vertical;
}

.pd-field input:focus,
.pd-field select:focus,
.pd-field textarea:focus {
    border-color: #81a884;
    box-shadow: 0 0 0 3px rgba(129, 168, 132, 0.12);
}

.pd-stock-out {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 13.5px;
    font-weight: 700;
}
.pd-cta:disabled {
    opacity: .55;
    cursor: not-allowed;
    background: #9ca3af !important;
}

.pd-notices { display: grid; gap: 10px; margin: 4px 0 8px; }
.pd-notice {
    border-radius: 16px;
    padding: 14px 16px;
}
.pd-notice-cut {
    background: #fff8e1;
    border: 1px solid #fde68a;
}
.pd-notice-top { display: flex; align-items: flex-start; gap: 10px; }
.pd-notice-top b, .pd-notice-photo b { display: block; font-size: 14.5px; color: #111827; }
.pd-notice p { margin: 8px 0 0; font-size: 13px; color: #4b5563; line-height: 1.45; }
.pd-notice-bar {
    height: 8px;
    border-radius: 999px;
    background: #fde68a;
    margin-top: 10px;
    overflow: hidden;
}
.pd-notice-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #e11d48, #f59e0b);
}
.pd-notice-photo {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}
.pd-notice-photo .pd-notice-ico { color: #059669; flex-shrink: 0; }
.pd-notice-photo p { margin: 4px 0 0; }

.pd-label-cal {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: var(--yc-primary, #2f6b3a);
}
.pd-dates {
    display: flex !important;
    gap: 5px;
    width: 100%;
    overflow: visible;
}

.pd-date {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    display: block !important;
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    float: none !important;
    min-height: 0 !important;
}

.pd-date input[type="radio"] {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
}

.pd-date-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid #e8e8e8 !important;
    border-radius: 16px !important;
    text-align: center !important;
    padding: 6px 2px 5px !important;
    background: #fff !important;
    min-height: 68px !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: .15s ease;
    color: #334155 !important;
}

.pd-date:hover .pd-date-box {
    border-color: #c5d4c7 !important;
}

.pd-date input[type="radio"]:checked + .pd-date-box {
    border-color: var(--yc-primary, #2f6b3a) !important;
    background: #eef6f0 !important;
    color: var(--yc-primary, #2f6b3a) !important;
    box-shadow: 0 0 0 3px rgba(47, 107, 58, .12);
}

.pd-date-day {
    display: block !important;
    font-size: 10px !important;
    opacity: .8;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    width: auto !important;
    float: none !important;
}

.pd-date-num {
    display: block !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    width: auto !important;
    float: none !important;
    color: #1e293b;
}
.pd-date input[type="radio"]:checked + .pd-date-box .pd-date-num {
    color: var(--yc-primary, #2f6b3a) !important;
}
.pd-date-mon {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: #64748b;
}
.pd-date-hol {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: #c2410c;
    margin-top: 2px;
    max-width: 68px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pd-date.is-holiday .pd-date-box {
    background: #fff7ed !important;
}
.pd-date-pick .pd-date-box {
    border-style: dashed !important;
    border-color: #cbd5e1 !important;
    color: #64748b !important;
}
.pd-date-pick .pd-date-ico { color: #64748b; margin-bottom: 2px; }
.pd-date-pick .pd-date-ico svg { width: 16px; height: 16px; }
.pd-date-pick input[type="radio"]:checked + .pd-date-box {
    border-style: dashed !important;
    background: #f8fafc !important;
}

.pd-time-select {
    width: 100%;
    max-width: 280px;
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    background: #fff;
    color: #222;
    outline: none;
    appearance: auto;
    -webkit-appearance: menulist;
}

.pd-time-select:focus {
    border-color: #81a884;
    box-shadow: 0 0 0 3px rgba(129, 168, 132, 0.12);
}

.pd-calendar-wrap {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.pd-calendar-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    padding: 0 12px;
    margin: 0;
    cursor: pointer;
}
.pd-calendar-field:hover { border-color: #81a884; }
.pd-calendar-ico {
    color: #6f9472;
    display: inline-flex;
    flex: 0 0 auto;
}
.pd-calendar-field input[type="date"] {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    height: 40px;
    width: 100%;
    font-size: 14px;
    font-family: inherit;
    background: transparent;
    color: #111;
    cursor: pointer;
}
.pd-calendar-open {
    height: 46px;
    border: 1px solid #c5d4c7;
    background: #f7fbf8;
    color: #2f6b3a;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}
.pd-calendar-open:hover {
    background: #2f6b3a;
    color: #fff;
    border-color: #2f6b3a;
}

/* Tema nice-select bu sayfadaki selectleri bozmasin */
.pd-info select.pd-native,
.pd-info select.pd-time-select,
.pd-custom select {
    display: block !important;
    float: none !important;
    opacity: 1 !important;
    position: static !important;
    width: 100% !important;
}

.pd-info .nice-select,
.pd-custom .nice-select {
    display: none !important;
}

.pd-custom {
    display: block !important;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 16px;
    background: #f3f4f5;
}
.pd-confirm {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #374151;
    margin-top: 4px;
    cursor: pointer;
}
.pd-confirm input { margin-top: 2px; }

.pd-custom-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #222;
}

.pd-custom .pd-field-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    margin: 0 0 6px;
}
.pd-custom .pd-label-ico {
    display: inline-flex;
    color: #6b7280;
}

.pd-custom .pd-field {
    margin-bottom: 12px;
}

.pd-custom .pd-field input[type="text"],
.pd-custom .pd-field select {
    width: 100%;
    height: 44px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 12px;
    background: #fff;
    font-size: 14px;
    font-family: inherit;
    color: #333;
}

.pd-custom .pd-field input[type="text"]::placeholder {
    color: #b0b0b0;
    font-size: 12.5px;
}

.pd-file-row {
    display: flex !important;
    align-items: stretch;
    gap: 0;
    position: relative;
}

.pd-file-row .pd-file-name {
    flex: 1 1 auto;
    width: 100%;
    height: 44px;
    border: 1px solid #e0e0e0 !important;
    border-right: 0 !important;
    border-radius: 8px 0 0 8px !important;
    padding: 0 12px !important;
    background: #fff !important;
    font-size: 13px !important;
    color: #555 !important;
    box-shadow: none !important;
}

.pd-file-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 88px;
    height: 44px;
    padding: 0 18px;
    background: #1f9d3a !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 0 8px 8px 0 !important;
    cursor: pointer;
    margin: 0 !important;
    position: relative;
    overflow: hidden;
    line-height: 44px;
    text-align: center;
    border: 1px solid #1f9d3a !important;
    transition: background .18s ease, transform .12s ease;
}

.pd-file-btn:hover {
    background: #188530 !important;
}

.pd-file-btn input[type="file"] {
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
    width: 100% !important;
    height: 100% !important;
    font-size: 0 !important;
    z-index: 2;
}

/* animasyonlu alanlar */
.pd-anim-field {
    animation: pdFieldIn .28s ease both;
}
.pd-anim-label {
    animation: pdLabelIn .22s ease both;
}
@keyframes pdFieldIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}
@keyframes pdLabelIn {
    from { opacity: 0; transform: translateX(-4px); }
    to { opacity: 1; transform: none; }
}
.pd-custom .pd-field input:focus,
.pd-custom .pd-field select:focus {
    border-color: var(--yc-primary, #81a884) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--yc-primary, #81a884) 18%, transparent);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.pd-portion-card,
.pd-date {
    transition: transform .15s ease, box-shadow .15s ease;
}
.pd-portion-card:hover,
.pd-date:hover {
    transform: translateY(-1px);
}

.pd-loc-line {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px;
    cursor: pointer;
}
.pd-loc-line.is-ok { border-color: #cfe8d4; background: #f7fbf8; }
.pd-loc-line.is-warn { border-color: #f5c2c7; background: #fff8f8; }
.pd-loc-line .pd-addr-pin {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--yc-primary, #2f6b3a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pd-loc-line-txt { flex: 1; min-width: 0; }
.pd-loc-line-txt small { display: block; font-size: 11px; color: #6b7280; }
.pd-loc-line-txt b { display: block; font-size: 13.5px; font-weight: 700; color: #111; word-break: break-word; }
.pd-loc-line #pd-loc-change { flex-shrink: 0; }

.pd-addr-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    border: 2px solid var(--yc-primary, #2f6b3a);
    background: #fff;
    border-radius: 999px;
    padding: 10px 16px 10px 10px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(47, 107, 58, .08);
}
.pd-addr-bar:hover { box-shadow: 0 6px 18px rgba(47, 107, 58, .12); }
.pd-addr-pin {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--yc-primary, #2f6b3a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pd-addr-txt { flex: 1; min-width: 0; }
.pd-addr-txt small {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}
.pd-addr-txt b {
    display: block;
    font-size: 15px;
    color: #111827;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pd-addr-mag { color: var(--yc-primary, #2f6b3a); flex-shrink: 0; }
.pd-addr-bar.is-warn { border-color: #e11d48; }
.pd-addr-bar.is-warn .pd-addr-pin { background: #e11d48; }

/* teslimat bolge kutusu */
.pd-loc-box {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    padding: 12px;
    position: relative;
}
.pd-loc-box.is-warn {
    border-color: #f5c2c7;
    background: #fff8f8;
}
.pd-loc-box.is-ok {
    border-color: #cfe8d4;
    background: #f7fbf8;
}
.pd-loc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.pd-loc-info small {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 2px;
}
.pd-loc-info b {
    font-size: 14px;
    color: #111827;
    font-weight: 600;
}
.pd-loc-change {
    border: 1px solid #c5d4c7;
    background: #fff;
    color: #2f6b3a;
    font-size: 12.5px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}
.pd-loc-change:hover {
    background: #2f6b3a;
    color: #fff;
}
.pd-loc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    align-items: center;
}
.pd-loc-mini {
    border: 1px solid #c5d4c7;
    background: #fff;
    color: #2f6b3a;
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 9px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    line-height: 1.2;
}
.pd-loc-mini:hover {
    background: #2f6b3a;
    color: #fff;
    border-color: #2f6b3a;
}
.pd-saved-wrap { position: relative; z-index: 5; }
.pd-saved-drop {
    position: static;
    width: 100%;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15,23,42,.16);
    padding: 6px;
    z-index: 50;
}
.pd-saved-item {
    display: grid;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
}
.pd-saved-item:hover { background: #f3f7f4; }
.pd-saved-item b { font-size: 13px; color: #111; }
.pd-saved-item small { font-size: 11.5px; color: #6b7280; }
.pd-loc-alert {
    margin-top: 10px;
    font-size: 12.5px;
    color: #b42318;
    line-height: 1.35;
}
.pd-loc-alert.is-ok {
    color: #1f7a35;
}
.pd-loc-picker {
    margin-top: 10px;
    display: none;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 20;
}
.pd-loc-picker.show {
    display: block !important;
}
body.pd-addr-open { overflow: hidden; }
.pd-addr-modal {
    position: fixed !important;
    inset: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    z-index: 12050 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.pd-addr-modal.show { display: flex !important; }
.pd-addr-back {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(4px);
}
.pd-addr-card {
    position: relative;
    width: min(520px, 100%);
    max-height: min(88vh, 720px);
    overflow: auto;
    background: #fff;
    border-radius: 22px;
    padding: 28px 26px 24px;
    box-shadow: 0 24px 70px rgba(15,23,42,.25);
}
.pd-addr-x {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    color: #374151;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}
.pd-addr-card h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
}
.pd-addr-card > p {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 14px;
}
.pd-addr-search {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    border: 2px solid var(--yc-primary, #2f6b3a);
    border-radius: 14px;
    padding: 0 14px;
    background: #fff;
    margin-bottom: 12px;
}
.pd-addr-search svg { color: #9ca3af; flex-shrink: 0; }
.pd-addr-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    font: inherit;
    font-size: 15px;
    background: transparent;
}
.pd-addr-manual {
    width: 100%;
    height: 48px;
    border: 1.5px dashed color-mix(in srgb, var(--yc-primary, #2f6b3a) 45%, #fff);
    border-radius: 14px;
    background: color-mix(in srgb, var(--yc-primary, #2f6b3a) 8%, #fff);
    color: var(--yc-primary, #2f6b3a);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 18px;
}
.pd-addr-hint {
    text-align: center;
    color: #9ca3af;
    font-size: 13.5px;
    padding: 18px 8px 8px;
}
.pd-addr-results {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}
.pd-addr-results li a,
.page-wrapper-light-green .pd-addr-results li a {
    display: block;
    padding: 10px 12px;
    color: #111 !important;
    text-decoration: none !important;
    background: #fff;
}
.pd-addr-results li a b,
.pd-addr-results li a span,
.page-wrapper-light-green .pd-addr-results li a:hover,
.page-wrapper-light-green .pd-addr-results li a:hover * {
    color: #111 !important;
    padding: 0;
    background: transparent;
}
.pd-addr-results li a:hover,
.page-wrapper-light-green .pd-addr-results li a:hover {
    background: #eef6f0 !important;
    color: #111 !important;
}
.pd-addr-results li a small {
    display: block;
    color: #6b7280 !important;
    font-size: 12px;
    font-weight: 500;
    padding: 0;
}
.pd-addr-tree {
    border-top: 1px solid #eef2f7;
    padding-top: 10px;
}
.pd-addr-street { margin-top: 4px; }
.pd-addr-backbtn {
    border: 0;
    background: none;
    font: inherit;
    font-weight: 800;
    font-size: 16px;
    color: #111;
    cursor: pointer;
    padding: 0 0 12px;
}
.pd-addr-sum {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13.5px;
    color: #4b5563;
    margin-bottom: 12px;
    line-height: 1.45;
}
.pd-addr-street textarea {
    width: 100%;
    min-height: 96px;
    border: 2px solid var(--yc-primary, #2f6b3a);
    border-radius: 14px;
    padding: 12px 14px;
    font: inherit;
    resize: vertical;
    margin-bottom: 12px;
}
.pd-addr-use {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: var(--yc-primary, #2f6b3a);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.pd-cta:disabled {
    opacity: .55;
    cursor: not-allowed;
    filter: grayscale(.15);
}

.pd-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #555;
    margin-top: 4px;
}

.pd-check input {
    margin-top: 3px;
}

.pd-buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.pd-total-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 2px;
}

.pd-total-price {
    font-size: 30px;
    font-weight: 800;
    color: #81a884;
    line-height: 1;
    letter-spacing: -0.5px;
}

.pd-total-price small {
    font-size: 13px;
    font-weight: 600;
    color: #777;
    margin-left: 4px;
}

.pd-buy { flex-wrap: wrap; }
.pd-cta {
    border: 0;
    background: #81a884;
    color: #fff;
    border-radius: 12px;
    min-width: 210px;
    height: 52px;
    font-size: 15px;
    font-weight: 700;
    padding: 0 22px;
    cursor: pointer;
    transition: .15s ease;
}
.pd-wa { min-width: 210px; }

.pd-cta:hover {
    background: #6f9472;
}

.pd-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.pd-trust-item {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px 8px;
    text-align: left;
    font-size: 11px;
    color: #666;
    background: #fff;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pd-trust-item img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 22px;
}

.pd-trust-item div {
    min-width: 0;
}

.pd-trust-item b {
    display: block;
    color: #222;
    margin-bottom: 1px;
    font-size: 12px;
    font-weight: 700;
}

.pd-trust-item span {
    display: block;
    color: #777;
    font-size: 11px;
}

.pd-tabs {
    margin-top: 22px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
}

.pd-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.pd-tabs-nav button {
    border: 0;
    background: transparent;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.pd-tabs-nav button.is-active {
    color: #81a884;
    border-bottom-color: #81a884;
    background: #fff;
}

.pd-tab-panel {
    display: none;
    padding: 20px 22px;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.pd-tab-panel.is-active {
    display: block;
}

.pd-related {
    margin-top: 28px;
}

.pd-related h2 {
    font-size: 20px;
    margin-bottom: 14px;
}

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.pd-related-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: .15s ease;
}

.pd-related-item:hover {
    border-color: #81a884;
    box-shadow: 0 8px 20px rgba(129, 168, 132, 0.18);
}

.pd-related-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.pd-related-item .body {
    padding: 10px;
}

.pd-related-item .name {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    min-height: 36px;
    margin-bottom: 6px;
    display: block;
}

.pd-related-item .price {
    color: #81a884;
    font-weight: 700;
    font-size: 14px;
}

.pd-portion-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    justify-content: flex-start;
}
.pd-portion-card {
    width: 128px !important;
    max-width: 128px !important;
    flex: 0 0 128px !important;
}
.pd-loc-box { overflow: visible; }
.pd-loc-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; justify-content: space-between; }
.pd-loc-info { min-width: 0; flex: 1 1 180px; }
.pd-loc-info b { display: block; word-break: break-word; }
.pd-thumbs { overflow-x: auto; flex-wrap: nowrap; }
@media (max-width: 991px) {
    .pd-grid {
        grid-template-columns: 1fr;
    }

    .pd-gallery {
        border-right: 0;
        border-bottom: 1px solid #f0f0f0;
        padding: 14px;
        position: static;
    }

    .pd-info { padding: 16px; }

    .pd-dates {
        flex-wrap: nowrap;
    }

    .pd-portion-grid {
        display: flex !important;
    }
    .pd-portion-card {
        width: 128px !important;
        max-width: 128px !important;
        flex: 0 0 128px !important;
    }

    .pd-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

.pd-title {
        font-size: 24px;
    }
}

@media (max-width: 575px) {
    .pd-portion-grid {
        display: flex !important;
    }

    .pd-portion-card-name,
    .pd-portion-card-price {
        font-size: 11px;
        white-space: normal;
    }

    .pd-portion-card-inner {
        min-height: 58px;
        padding: 8px 6px;
    }

    .pd-trust {
        grid-template-columns: 1fr;
    }

    .pd-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd-buy {
        flex-direction: column;
        align-items: stretch;
    }
    .pd-buy-bar {
        flex-wrap: wrap;
    }
    .pd-buy-bar .pd-cta {
        width: 100%;
        flex: 1 1 100%;
    }

    .pd-cta {
        width: 100%;
    }

    .pd-info {
        padding: 18px;
    }
}
