.dps-product-box{border:1px solid #e2e8e3;background:#f7faf7;padding:16px;margin:18px 0;border-radius:8px}
.dps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.dps-field{margin-bottom:14px}.dps-wide{grid-column:1/-1}.dps-field label{display:block;font-weight:600;margin-bottom:6px}
.dps-field input[type=number],.dps-field input[type=date],.dps-field select,.dps-field textarea{width:100%;padding:10px}
.dps-total,.dps-end{margin:10px 0;font-size:1.05em}.dps-profile .button{margin-top:14px}
@media(max-width:767px){.dps-grid{grid-template-columns:1fr}.dps-wide{grid-column:auto}}


/* WooCommerce cart / mini-cart item metadata alignment */
.woocommerce dl.variation,
.woocommerce-cart dl.variation,
.widget_shopping_cart dl.variation,
.woocommerce-mini-cart dl.variation {
    display: grid !important;
    grid-template-columns: minmax(145px, max-content) minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 5px;
    margin: 8px 0 0 !important;
    width: 100%;
}

.woocommerce dl.variation dt,
.woocommerce dl.variation dd,
.woocommerce-cart dl.variation dt,
.woocommerce-cart dl.variation dd,
.widget_shopping_cart dl.variation dt,
.widget_shopping_cart dl.variation dd,
.woocommerce-mini-cart dl.variation dt,
.woocommerce-mini-cart dl.variation dd {
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4;
}

.woocommerce dl.variation dt,
.woocommerce-cart dl.variation dt,
.widget_shopping_cart dl.variation dt,
.woocommerce-mini-cart dl.variation dt {
    font-weight: 700;
}

.woocommerce dl.variation dd,
.woocommerce-cart dl.variation dd,
.widget_shopping_cart dl.variation dd,
.woocommerce-mini-cart dl.variation dd {
    min-width: 0;
    overflow-wrap: anywhere;
}

.woocommerce dl.variation dd p,
.woocommerce-cart dl.variation dd p,
.widget_shopping_cart dl.variation dd p,
.woocommerce-mini-cart dl.variation dd p {
    margin: 0 !important;
}

@media (max-width: 480px) {
    .woocommerce dl.variation,
    .woocommerce-cart dl.variation,
    .widget_shopping_cart dl.variation,
    .woocommerce-mini-cart dl.variation {
        grid-template-columns: 1fr;
        row-gap: 2px;
    }

    .woocommerce dl.variation dd,
    .woocommerce-cart dl.variation dd,
    .widget_shopping_cart dl.variation dd,
    .woocommerce-mini-cart dl.variation dd {
        margin-bottom: 6px !important;
    }
}


/* Organio single-product add-to-cart alignment */
.single-product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    gap: 12px !important;
}

.single-product form.cart .dps-product-box {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
    margin-bottom: 2px !important;
}

.single-product form.cart .quantity {
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    order: 2;
}

.single-product form.cart .single_add_to_cart_button {
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    order: 3;
}

.single-product form.cart::before,
.single-product form.cart::after {
    display: none !important;
    content: none !important;
}

.single-product .dps-product-box .dps-total,
.single-product .dps-product-box .dps-end {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
}

.single-product .dps-product-box .dps-total span:empty::after {
    content: "—";
}

@media (max-width: 767px) {
    .single-product form.cart {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
    }

    .single-product form.cart .dps-product-box {
        flex-basis: 100% !important;
    }
}


/* Delivery datepicker */
.ui-datepicker {
    width: 300px;
    padding: 12px;
    background: #fff;
    border: 1px solid #dfe7e0;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
    z-index: 99999 !important;
}

.ui-datepicker-header {
    position: relative;
    padding: 7px 34px;
    margin-bottom: 8px;
    text-align: center;
    background: #f4f8f4;
    border-radius: 6px;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    position: absolute;
    top: 7px;
    cursor: pointer;
    font-size: 0;
}

.ui-datepicker-prev {
    left: 10px;
}

.ui-datepicker-next {
    right: 10px;
}

.ui-datepicker-prev::after {
    content: "‹";
    font-size: 24px;
}

.ui-datepicker-next::after {
    content: "›";
    font-size: 24px;
}

.ui-datepicker-title select {
    width: auto;
    padding: 4px 7px;
    margin: 0 3px;
}

.ui-datepicker table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.ui-datepicker th,
.ui-datepicker td {
    padding: 3px;
    text-align: center;
}

.ui-datepicker td a,
.ui-datepicker td span {
    display: block;
    padding: 7px 4px;
    border-radius: 5px;
    text-decoration: none;
}

.ui-datepicker td a {
    background: #f4f8f4;
    color: #1f3325;
}

.ui-datepicker td a:hover,
.ui-datepicker td.ui-datepicker-current-day a {
    background: #74ad0b;
    color: #fff;
}

.ui-datepicker td.ui-datepicker-unselectable span {
    background: #f2f2f2;
    color: #b4b4b4;
    cursor: not-allowed;
    opacity: .65;
}

#dps_delivery_date[readonly] {
    background-color: #fff;
    cursor: pointer;
}


/* Improved readable delivery calendar */
.ui-datepicker {
    width: 340px !important;
    padding: 14px !important;
    background: #ffffff !important;
    border: 1px solid #cfd8d1 !important;
    border-radius: 10px !important;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .18) !important;
    font-size: 14px !important;
}

.ui-datepicker-header {
    background: #eef4ef !important;
    color: #203326 !important;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-datepicker-title {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ui-datepicker-title select {
    min-height: 36px;
    padding: 6px 30px 6px 10px !important;
    border: 1px solid #c8d3ca !important;
    border-radius: 6px !important;
    background-color: #fff !important;
    color: #203326 !important;
    font-weight: 600;
}

.ui-datepicker th {
    color: #25362b !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 8px 2px !important;
}

.ui-datepicker td {
    padding: 3px !important;
}

.ui-datepicker td a,
.ui-datepicker td span {
    min-height: 36px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 6px !important;
    border-radius: 6px !important;
    font-weight: 600;
}

.ui-datepicker td.dps-enabled a {
    background: #edf5ee !important;
    color: #17351f !important;
    border: 1px solid #d5e4d8 !important;
}

.ui-datepicker td.dps-enabled a:hover,
.ui-datepicker td.ui-datepicker-current-day a {
    background: #6ea900 !important;
    color: #ffffff !important;
    border-color: #6ea900 !important;
}

.ui-datepicker td.dps-disabled span,
.ui-datepicker td.ui-datepicker-unselectable span {
    background: #f2f3f2 !important;
    color: #a8ada9 !important;
    border: 1px solid #e6e8e6 !important;
    opacity: 1 !important;
}

.ui-datepicker td.ui-datepicker-other-month span {
    color: #c4c8c5 !important;
    background: #fafafa !important;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    top: 4px !important;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #d5ddd7;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
    background: #e7efe8;
}

#dps_delivery_date_display[readonly] {
    background-color: #fff !important;
    cursor: pointer;
}

@media (max-width: 420px) {
    .ui-datepicker {
        width: calc(100vw - 32px) !important;
        max-width: 340px !important;
    }
}


/* Customer profile checkbox interaction fix */
.dps-checkbox-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    position: relative !important;
    z-index: 2 !important;
}

.dps-checkbox-wrap input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 3 !important;
}

.dps-checkbox-wrap label {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: none !important;
    position: static !important;
}

.dps-checkbox-wrap::before,
.dps-checkbox-wrap::after,
.dps-checkbox-wrap label::before,
.dps-checkbox-wrap label::after {
    pointer-events: none !important;
}


/* WooCommerce order-pay page: remove Organio's oversized inner-page banner */
body.dps-order-pay-page .page-title,
body.dps-order-pay-page .page-title-wrap,
body.dps-order-pay-page .page-title-area,
body.dps-order-pay-page .page-title-section,
body.dps-order-pay-page .pagetitle,
body.dps-order-pay-page .ct-page-title,
body.dps-order-pay-page .ct-breadcrumb,
body.dps-order-pay-page .site-breadcrumb,
body.dps-order-pay-page .breadcrumb-area,
body.dps-order-pay-page .woocommerce-breadcrumb,
body.dps-order-pay-page .inner-banner,
body.dps-order-pay-page .page-banner {
    display: none !important;
}

body.dps-order-pay-page .site-content,
body.dps-order-pay-page #content,
body.dps-order-pay-page .content-area,
body.dps-order-pay-page .main-content {
    padding-top: 36px !important;
}

body.dps-order-pay-page .woocommerce {
    width: min(760px, calc(100% - 32px));
    margin: 0 auto 60px !important;
}

body.dps-order-pay-page .woocommerce-order-pay,
body.dps-order-pay-page form#order_review,
body.dps-order-pay-page #order_review {
    background: #ffffff;
    border: 1px solid #dfe7e0;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 18px 48px rgba(31, 51, 37, .08);
}

body.dps-order-pay-page .woocommerce-order-pay::before {
    content: "Ödemenizi Tamamlayın";
    display: block;
    margin-bottom: 20px;
    color: #203326;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.2;
    font-weight: 800;
}

body.dps-order-pay-page table.shop_table {
    border-collapse: separate !important;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 24px !important;
    border: 1px solid #e1e8e2 !important;
    border-radius: 12px;
    overflow: hidden;
}

body.dps-order-pay-page table.shop_table th,
body.dps-order-pay-page table.shop_table td {
    padding: 13px 15px !important;
    border-color: #e7ece8 !important;
}

body.dps-order-pay-page #payment {
    background: #f5f8f5 !important;
    border-radius: 14px !important;
    padding: 18px !important;
}

body.dps-order-pay-page #place_order,
body.dps-order-pay-page button[type="submit"] {
    width: 100%;
    min-height: 52px;
    margin-top: 12px !important;
    border-radius: 10px !important;
}

@media (max-width: 767px) {
    body.dps-order-pay-page .site-content,
    body.dps-order-pay-page #content,
    body.dps-order-pay-page .content-area,
    body.dps-order-pay-page .main-content {
        padding-top: 20px !important;
    }

    body.dps-order-pay-page .woocommerce-order-pay,
    body.dps-order-pay-page form#order_review,
    body.dps-order-pay-page #order_review {
        padding: 18px;
        border-radius: 14px;
    }
}


/* Order pay & thank you cleanup */
body.dps-order-pay-page header,
body.dps-order-pay-page .site-header,
body.dps-order-pay-page #masthead,
body.dps-order-pay-page .header-wrap,
body.dps-order-pay-page .main-header,
body.dps-order-pay-page .header-area,
body.dps-order-pay-page .topbar,
body.dps-order-pay-page .site-footer,
body.dps-order-pay-page footer,
body.dps-order-pay-page #colophon {
    display: none !important;
}

/* Also clean order received page presentation */
.woocommerce-order-received .page-title,
.woocommerce-order-received .page-title-wrap,
.woocommerce-order-received .page-title-area,
.woocommerce-order-received .page-title-section,
.woocommerce-order-received .pagetitle,
.woocommerce-order-received .ct-page-title,
.woocommerce-order-received .ct-breadcrumb,
.woocommerce-order-received .site-breadcrumb,
.woocommerce-order-received .breadcrumb-area,
.woocommerce-order-received .woocommerce-breadcrumb,
.woocommerce-order-received .inner-banner,
.woocommerce-order-received .page-banner {
    display: none !important;
}

.woocommerce-order-received .site-content,
.woocommerce-order-received #content,
.woocommerce-order-received .content-area,
.woocommerce-order-received .main-content {
    padding-top: 28px !important;
}

.woocommerce-order-received .woocommerce {
    width: min(860px, calc(100% - 32px));
    margin: 0 auto 60px !important;
}

.dps-payment-status-wrap {
    width: min(860px, calc(100% - 32px));
    margin: 0 auto 24px;
}

.dps-payment-status-box {
    display: flex;
    align-items: center;
    gap: 18px;
    border-radius: 18px;
    padding: 22px 24px;
    border: 1px solid #dfe7e0;
    background: #fff;
    box-shadow: 0 18px 48px rgba(31, 51, 37, .08);
}

.dps-payment-status-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
}

.dps-payment-status-content h2 {
    margin: 0 0 6px !important;
    color: #203326;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.2;
    font-weight: 800;
}

.dps-payment-status-content p {
    margin: 0 !important;
    color: #51635a;
    font-size: 15px;
    line-height: 1.6;
}

.dps-status-success .dps-payment-status-icon {
    background: #69a30a;
}

.dps-status-failed .dps-payment-status-icon {
    background: #d63638;
}

.dps-status-pending .dps-payment-status-icon {
    background: #f0b429;
}

body.dps-order-pay-page .woocommerce {
    width: min(760px, calc(100% - 32px));
    margin: 0 auto 60px !important;
}

body.dps-order-pay-page .woocommerce-order-pay,
body.dps-order-pay-page form#order_review,
body.dps-order-pay-page #order_review,
.woocommerce-order-received .woocommerce-order {
    background: #ffffff;
    border: 1px solid #dfe7e0;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 18px 48px rgba(31, 51, 37, .08);
}

body.dps-order-pay-page .woocommerce-order-pay::before {
    display: none !important;
}

@media (max-width: 767px) {
    .dps-payment-status-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }
    .dps-payment-status-icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        font-size: 24px;
    }
    body.dps-order-pay-page .woocommerce-order-pay,
    body.dps-order-pay-page form#order_review,
    body.dps-order-pay-page #order_review,
    .woocommerce-order-received .woocommerce-order {
        padding: 18px;
        border-radius: 14px;
    }
}


/* Login / register icon repair */
.dps-hide-native-icon {
    display: none !important;
}

.woocommerce form.login .dps-icon-field,
.woocommerce form.register .dps-icon-field,
.woocommerce-form-login .dps-icon-field,
.woocommerce-form-register .dps-icon-field {
    position: relative !important;
}

.woocommerce form.login .dps-icon-input,
.woocommerce form.register .dps-icon-input,
.woocommerce-form-login .dps-icon-input,
.woocommerce-form-register .dps-icon-input {
    padding-left: 52px !important;
}

.woocommerce form.login .dps-icon-field::before,
.woocommerce form.register .dps-icon-field::before,
.woocommerce-form-login .dps-icon-field::before,
.woocommerce-form-register .dps-icon-field::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    opacity: .9;
    z-index: 2;
    pointer-events: none;
}

.woocommerce form.login .dps-icon-user::before,
.woocommerce form.register .dps-icon-user::before,
.woocommerce-form-login .dps-icon-user::before,
.woocommerce-form-register .dps-icon-user::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2376a80c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21a8 8 0 0 0-16 0'/><circle cx='12' cy='7' r='4'/></svg>");
}

.woocommerce form.login .dps-icon-email::before,
.woocommerce form.register .dps-icon-email::before,
.woocommerce-form-login .dps-icon-email::before,
.woocommerce-form-register .dps-icon-email::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2376a80c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2' ry='2'/><path d='m3 7 9 6 9-6'/></svg>");
}

.woocommerce form.login .dps-icon-password::before,
.woocommerce form.register .dps-icon-password::before,
.woocommerce-form-login .dps-icon-password::before,
.woocommerce-form-register .dps-icon-password::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2376a80c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='11' width='14' height='10' rx='2'/><path d='M8 11V8a4 4 0 1 1 8 0v3'/></svg>");
}




/* Cart metadata alignment - readable two-column layout */
.woocommerce-cart dl.variation,
.woocommerce dl.variation {
    display: grid !important;
    grid-template-columns: minmax(190px, max-content) minmax(120px, 1fr) !important;
    column-gap: 16px !important;
    row-gap: 6px !important;
    align-items: start !important;
    width: 100% !important;
    margin-top: 10px !important;
}

.woocommerce-cart dl.variation dt,
.woocommerce dl.variation dt {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    line-height: 1.35 !important;
}

.woocommerce-cart dl.variation dd,
.woocommerce dl.variation dd {
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

.woocommerce-cart dl.variation dd p,
.woocommerce dl.variation dd p {
    margin: 0 !important;
    white-space: normal !important;
}

@media (max-width: 767px) {
    .woocommerce-cart dl.variation,
    .woocommerce dl.variation {
        grid-template-columns: minmax(175px, max-content) minmax(95px, 1fr) !important;
        column-gap: 12px !important;
        row-gap: 5px !important;
        font-size: 13px !important;
    }

    .woocommerce-cart dl.variation dt,
    .woocommerce dl.variation dt {
        font-size: 13px !important;
    }

    .woocommerce-cart dl.variation dd,
    .woocommerce dl.variation dd {
        font-size: 13px !important;
    }
}

@media (max-width: 430px) {
    .woocommerce-cart dl.variation,
    .woocommerce dl.variation {
        grid-template-columns: minmax(160px, max-content) minmax(85px, 1fr) !important;
        column-gap: 10px !important;
        font-size: 12px !important;
    }

    .woocommerce-cart dl.variation dt,
    .woocommerce dl.variation dt,
    .woocommerce-cart dl.variation dd,
    .woocommerce dl.variation dd {
        font-size: 12px !important;
    }
}


/* v1.4.3 - Desktop-only cart spacing fix */
@media (min-width: 992px) {
    .woocommerce-cart table.shop_table td.product-name {
        padding-right: 42px !important;
    }

    .woocommerce-cart table.shop_table th.product-name {
        padding-right: 32px !important;
    }

    .woocommerce-cart dl.variation {
        max-width: 92% !important;
    }
}


/* v1.4.6 - Status icons independent from Font Awesome */
.dps-payment-status-icon svg {
    display: block !important;
    width: 30px !important;
    height: 30px !important;
    color: #fff !important;
    stroke: #fff !important;
}


/* v1.5.1 - BACS bank details typography */
.wc-bacs-bank-details .wc-bacs-bank-details-heading,
.woocommerce-bacs-bank-details > h2,
section.woocommerce-bacs-bank-details > h2 {
    font-size: 34px !important;
    line-height: 1.15 !important;
    margin-bottom: 24px !important;
}

@media (max-width: 767px) {
    .wc-bacs-bank-details .wc-bacs-bank-details-heading,
    .woocommerce-bacs-bank-details > h2,
    section.woocommerce-bacs-bank-details > h2 {
        font-size: 28px !important;
    }
}


/* v1.5.7 - WooCommerce My Account login/register field visibility */
.woocommerce-account .woocommerce-form-login input.input-text,
.woocommerce-account .woocommerce-form-register input.input-text,
.woocommerce-account form.login input[type="text"],
.woocommerce-account form.login input[type="email"],
.woocommerce-account form.login input[type="password"],
.woocommerce-account form.register input[type="text"],
.woocommerce-account form.register input[type="email"],
.woocommerce-account form.register input[type="password"] {
    display: block !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 10px 14px !important;
    background: #fff !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 3px !important;
    color: #222 !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.woocommerce-account .woocommerce-form-login input.input-text:focus,
.woocommerce-account .woocommerce-form-register input.input-text:focus,
.woocommerce-account form.login input[type="text"]:focus,
.woocommerce-account form.login input[type="email"]:focus,
.woocommerce-account form.login input[type="password"]:focus,
.woocommerce-account form.register input[type="text"]:focus,
.woocommerce-account form.register input[type="email"]:focus,
.woocommerce-account form.register input[type="password"]:focus {
    border-color: #7bb000 !important;
    outline: none !important;
    box-shadow: 0 0 0 1px #7bb000 !important;
}

.woocommerce-account .woocommerce-form-row {
    margin-bottom: 18px !important;
}

.woocommerce-account .woocommerce-form-row label {
    display: block !important;
    margin-bottom: 8px !important;
    position: static !important;
    transform: none !important;
}


/* v1.5.8 - Remove custom login/register field icons */
.woocommerce-account .dps-icon-field::before,
.woocommerce-account .dps-icon-user::before,
.woocommerce-account .dps-icon-email::before,
.woocommerce-account .dps-icon-password::before {
    display: none !important;
    content: none !important;
    background-image: none !important;
}

.woocommerce-account .dps-hide-native-icon {
    display: none !important;
}

.woocommerce-account .woocommerce-form-login input.input-text,
.woocommerce-account .woocommerce-form-register input.input-text {
    padding-left: 14px !important;
}


/* v1.5.9 - Paketlerde WooCommerce miktar seçimini kaldır */
.single-product form.cart .quantity,
.single-product form.cart .quantity.hidden {
    display: none !important;
}

.woocommerce-cart table.shop_table th.product-quantity,
.woocommerce-cart table.shop_table td.product-quantity,
.woocommerce-cart .product-quantity {
    display: none !important;
}

/* Miktar kolonu kalkınca kalan kolonların rahat yayılması */
@media (min-width: 992px) {
    .woocommerce-cart table.shop_table th.product-name,
    .woocommerce-cart table.shop_table td.product-name {
        width: auto !important;
    }

    .woocommerce-cart table.shop_table th.product-price,
    .woocommerce-cart table.shop_table td.product-price,
    .woocommerce-cart table.shop_table th.product-subtotal,
    .woocommerce-cart table.shop_table td.product-subtotal {
        width: auto !important;
    }
}


/* v1.6.19 - Eski global arama gizleme bloğu kaldırıldı. Arama yalnızca wp_footer içindeki mobil, dar kapsamlı seçicilerle gizlenir. */

/* v1.6.8 - Zorunlu sözleşme onayları */
.dps-legal-consents {
    display: grid;
    gap: 12px;
    margin: 18px 0;
    padding: 16px 18px;
    border: 1px solid #e2e8d7;
    border-radius: 16px;
    background: #f8fbf2;
}

.dps-legal-consent {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 0 !important;
    color: #3f473a;
    font-size: 14px;
    line-height: 1.55;
    cursor: pointer;
}

.dps-legal-consent input[type="checkbox"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    position: static !important;
    accent-color: #79af16;
}

.dps-legal-consent a {
    color: #67970f;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dps-legal-consent .required {
    color: #b91c1c;
    text-decoration: none;
}

body.dps-order-pay-page .dps-order-pay-consent {
    margin: 16px 0 18px;
}

.woocommerce-form-register .dps-registration-consents {
    margin-top: 18px;
}


/* v1.6.9 - Reliable legal consent checkboxes */
.dps-legal-consents{
    position:relative !important;
    z-index:10 !important;
    display:grid !important;
    gap:12px !important;
    width:100% !important;
}
.dps-legal-consent-row{
    position:relative !important;
    z-index:11 !important;
    display:grid !important;
    grid-template-columns:22px minmax(0,1fr) !important;
    align-items:start !important;
    gap:10px !important;
    width:100% !important;
    padding:13px 14px !important;
    background:#f8fbf2 !important;
    border:1px solid #dce8c3 !important;
    border-radius:14px !important;
    overflow:visible !important;
}
.dps-legal-consent-row::before,
.dps-legal-consent-row::after,
.dps-legal-consent-row label::before,
.dps-legal-consent-row label::after{
    content:none !important;
    display:none !important;
}
.dps-legal-consent-row input[type="checkbox"]{
    all:revert !important;
    appearance:auto !important;
    -webkit-appearance:checkbox !important;
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    position:relative !important;
    z-index:20 !important;
    pointer-events:auto !important;
    cursor:pointer !important;
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    margin:2px 0 0 !important;
    accent-color:#79af16 !important;
}
.dps-legal-consent-row label{
    display:block !important;
    position:relative !important;
    z-index:15 !important;
    pointer-events:auto !important;
    cursor:pointer !important;
    margin:0 !important;
    padding:0 !important;
    color:#3f4938 !important;
    font-size:14px !important;
    line-height:1.55 !important;
}
.dps-legal-consent-row a{
    position:relative !important;
    z-index:25 !important;
    pointer-events:auto !important;
    color:#67970f !important;
    font-weight:800 !important;
    text-decoration:underline !important;
}
body.dps-order-pay-page .dps-order-pay-consent{
    margin:16px 0 18px !important;
}


/* v1.6.10 - Checkout mesafeli satış sözleşmesi */
body.woocommerce-checkout .dps-checkout-consent{
  margin:18px 0 14px!important;
  padding:16px 18px!important;
  border:1px solid #dfe8cf!important;
  border-radius:14px!important;
  background:#f8fbf2!important;
}
body.woocommerce-checkout .dps-checkout-consent .dps-legal-consent-row{
  display:flex!important;align-items:flex-start!important;gap:10px!important;
}
body.woocommerce-checkout .dps-checkout-consent input[type=checkbox]{
  appearance:auto!important;-webkit-appearance:checkbox!important;
  width:17px!important;height:17px!important;min-width:17px!important;
  margin:3px 0 0!important;opacity:1!important;visibility:visible!important;
  pointer-events:auto!important;position:relative!important;z-index:5!important;
}
body.woocommerce-checkout .dps-checkout-consent label{
  margin:0!important;line-height:1.55!important;cursor:pointer!important;color:#334155!important;
}
body.woocommerce-checkout .dps-checkout-consent a{color:#6fa800!important;font-weight:800!important;}

/* v1.6.11 - Paket liste fiyatlarının günlük olduğunu netleştir */
.dps-price-per-day {
    display: inline-block !important;
    margin-left: 3px !important;
    font-size: .82em !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    opacity: .9 !important;
}

/* Paket siparişe kapalı durumu */
.dps-order-closed-button { display:inline-block !important; cursor:not-allowed !important; opacity:.65; pointer-events:none; text-decoration:none !important; }
.dps-order-closed-notice { margin:15px 0; padding:12px 16px; border-radius:8px; background:#f4f4f4; color:#666; font-weight:600; }

/* v1.6.15 - Mobile header/offcanvas search must stay hidden.
   Scope is intentionally limited to navigation/header containers. */
@media (max-width: 991px) {
    .mobile-menu .site-search,
    .mobile-menu .search-form,
    .mobile-menu form[role="search"],
    .mobile-menu input[type="search"],
    .mobile-menu-wrap .site-search,
    .mobile-menu-wrap .search-form,
    .mobile-menu-wrap form[role="search"],
    .mobile-navigation .site-search,
    .mobile-navigation .search-form,
    .mobile-navigation form[role="search"],
    .offcanvas-menu .site-search,
    .offcanvas-menu .search-form,
    .offcanvas-menu form[role="search"],
    .offcanvas .site-search,
    .offcanvas .search-form,
    .offcanvas form[role="search"],
    .mobile-header .site-search,
    .mobile-header .header-search,
    .mobile-header .search-form,
    .mobile-header form[role="search"],
    .site-header .mobile-search,
    .site-header .mobile-search-form,
    .site-header .organio-mobile-search,
    .site-header .organio-header-search,
    .site-header .dgwt-wcas-search-wrapp {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        max-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* v1.6.15 - No payment gateway should look selected before user choice */
body.woocommerce-checkout #payment input[name="payment_method"]:not(:checked) + label {
    cursor: pointer !important;
}

/* v1.6.16 - Checkout BACS/EFT %3 discount notice */
.dps-bacs-discount-notice{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  margin:0 0 18px;
  padding:14px 16px;
  border:1px solid rgba(120,169,0,.28);
  border-left:4px solid #78a900;
  border-radius:10px;
  background:#f7fbe9;
  color:#35420f;
  font-size:15px;
  line-height:1.5;
  box-shadow:0 5px 16px rgba(45,67,12,.05);
}
.dps-bacs-discount-notice__icon{
  flex:0 0 auto;
  font-size:21px;
  line-height:1;
}
.dps-bacs-discount-notice strong{
  color:#5f8c00;
  font-weight:800;
}
@media(max-width:767px){
  .dps-bacs-discount-notice{
    gap:10px;
    margin-bottom:14px;
    padding:12px 13px;
    font-size:14px;
  }
  .dps-bacs-discount-notice__icon{
    font-size:19px;
  }
}



/* v1.6.22 - Organio mini-cart remove X: v1.6.20'de çalışan kural aynen geri getirildi. */
body .widget_shopping_cart_content .mini_cart_item,
body .widget_shopping_cart_content .woocommerce-mini-cart-item,
body .woocommerce-mini-cart .mini_cart_item,
body [class*="mini-cart"] .mini_cart_item,
body [class*="mini_cart"] .mini_cart_item{
    position:relative !important;
}

body .widget_shopping_cart_content a.remove,
body .widget_shopping_cart_content a.remove_from_cart_button,
body .woocommerce-mini-cart a.remove,
body .woocommerce-mini-cart a.remove_from_cart_button,
body .mini_cart_item > a.remove,
body .mini_cart_item > a.remove_from_cart_button,
body [class*="mini-cart"] a.remove,
body [class*="mini_cart"] a.remove,
body a.remove_from_cart_button{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
    transform:none !important;
    -webkit-transform:none !important;
    scale:1 !important;
    clip:auto !important;
    clip-path:none !important;
    filter:none !important;
    z-index:2147483000 !important;
}

body .widget_shopping_cart_content a.remove::before,
body .widget_shopping_cart_content a.remove::after,
body .woocommerce-mini-cart a.remove::before,
body .woocommerce-mini-cart a.remove::after,
body .mini_cart_item > a.remove::before,
body .mini_cart_item > a.remove::after,
body a.remove_from_cart_button::before,
body a.remove_from_cart_button::after{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
}

body .mini_cart_item:not(:hover) a.remove,
body .mini_cart_item:not(:hover) a.remove_from_cart_button,
body .woocommerce-mini-cart-item:not(:hover) a.remove,
body .woocommerce-mini-cart-item:not(:hover) a.remove_from_cart_button{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    transform:none !important;
}




/* v1.6.27 CLEAN
   No global WooCommerce checkbox/touch/z-index overrides.
   Only DPS-owned controls get a minimal visual rule. */
.dps-checkbox-wrap input[type="checkbox"],
.dps-legal-consent input[type="checkbox"],
.dps-legal-consent-row input[type="checkbox"],
.dps-checkout-consent input[type="checkbox"]{
  accent-color:#69a30a;
}

/* Keep native WooCommerce controls native on account + checkout, especially iOS Safari. */
body.woocommerce-account input,
body.woocommerce-account button,
body.woocommerce-account a,
body.woocommerce-account label,
body.woocommerce-checkout input,
body.woocommerce-checkout button,
body.woocommerce-checkout a,
body.woocommerce-checkout label{
  touch-action:auto;
}

/* Explicitly undo any inherited DPS-era stacking assumptions on account/checkout wrappers. */
body.woocommerce-account .woocommerce,
body.woocommerce-account .woocommerce-form,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout form.checkout,
body.woocommerce-checkout #payment{
  z-index:auto;
}
