.dokkany-store-shell {
    --dk-border: #e8eaed;
    --dk-surface: #ffffff;
    --dk-muted: #667085;
    --dk-text: #101828;
    --dk-accent: #0b8f6a;
    --dk-accent-dark: #087354;
    --dk-danger: #c73939;
    color: var(--dk-text);
}

.dokkany-products-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: start;
}

.dokkany-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dokkany-product-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 16px;
    min-height: 150px;
    border: 1px solid var(--dk-border);
    border-radius: 18px;
    background: var(--dk-surface);
    padding: 16px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
}

.dokkany-product-card img {
    width: 132px;
    height: 132px;
    object-fit: cover;
    border-radius: 14px;
}

.dokkany-product-card__body {
    display: flex;
    flex-direction: column;
}

.dokkany-product-card__title {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.25;
}

.dokkany-product-card__description {
    color: var(--dk-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.dokkany-product-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dokkany-add-button,
.dokkany-primary-button {
    border: 0;
    border-radius: 999px;
    background: var(--dk-accent);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.dokkany-add-button {
    width: 38px;
    height: 38px;
    font-size: 22px;
}

.dokkany-primary-button {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
}

.dokkany-add-button:hover,
.dokkany-primary-button:hover {
    background: var(--dk-accent-dark);
}

.dokkany-cart-panel {
    position: sticky;
    top: 96px;
    border: 1px solid var(--dk-border);
    border-radius: 20px;
    padding: 20px;
    background: var(--dk-surface);
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
}

.dokkany-cart-title {
    margin: 0 0 14px;
    font-size: 20px;
}

.dokkany-cart-empty {
    color: var(--dk-muted);
    font-size: 14px;
}

.dokkany-cart-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--dk-border);
}

.dokkany-cart-row:first-child {
    border-top: 0;
}

.dokkany-cart-controls {
    display: flex;
    align-items: center;
    gap: 7px;
}

.dokkany-quantity-button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--dk-border);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.dokkany-cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    padding: 16px 0;
    border-top: 1px solid var(--dk-border);
}

.dokkany-mobile-cart {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 16px;
    right: 16px;
    bottom: 16px;
}

.dokkany-modal {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(16, 24, 40, 0.55);
    padding: 20px;
}

.dokkany-modal.is-open {
    display: flex;
}

.dokkany-modal__dialog {
    width: min(520px, 100%);
    border-radius: 22px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 24px 80px rgba(16, 24, 40, 0.22);
}

.dokkany-form-row {
    margin-bottom: 14px;
}

.dokkany-form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.dokkany-form-row input,
.dokkany-form-row textarea {
    width: 100%;
    border: 1px solid var(--dk-border);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
}

.dokkany-modal__actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.dokkany-secondary-button {
    border: 1px solid var(--dk-border);
    border-radius: 999px;
    background: #fff;
    padding: 12px 16px;
    cursor: pointer;
}

@media (max-width: 1100px) {
    .dokkany-products-layout {
        grid-template-columns: 1fr;
    }

    .dokkany-cart-panel {
        display: none;
    }

    .dokkany-mobile-cart {
        display: block;
    }
}

@media (max-width: 760px) {
    .dokkany-product-grid {
        grid-template-columns: 1fr;
    }

    .dokkany-product-card {
        grid-template-columns: minmax(0, 1fr) 108px;
        padding: 14px;
    }

    .dokkany-product-card img {
        width: 108px;
        height: 108px;
    }
}

/* Dokkany 0.4 — sizes, live status and direct WhatsApp ordering */
.dokkany-product-card__size {
    margin: -4px 0 10px;
    color: var(--dk-muted);
    font-size: 12px;
    font-weight: 700;
}
.dk-price-prefix {
    color: var(--dk-muted);
    font-size: 12px;
    font-weight: 700;
}
.dokkany-cart-size {
    margin-top: 2px;
    color: var(--dk-muted);
    font-size: 12px;
}
.dokkany-closed-note {
    margin: 10px 0 0;
    color: var(--dk-muted);
    font-size: 13px;
    text-align: center;
}
.dokkany-product-modal__sizes {
    margin: 18px 0 8px;
}
.dokkany-size-title {
    margin-bottom: 9px;
    font-weight: 800;
}
.dokkany-size-options {
    display: grid;
    gap: 8px;
}
.dokkany-size-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--dk-border);
    border-radius: 14px;
    background: #fff;
    color: var(--dk-text);
    font: inherit;
    cursor: pointer;
}
.dokkany-size-option.is-selected {
    border-color: var(--dk-accent);
    box-shadow: 0 0 0 2px rgba(11,143,106,.12);
}
.dokkany-size-option strong {
    white-space: nowrap;
}
.dokkany-fixed-size {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}
.dokkany-primary-button[hidden] {
    display: none !important;
}
@media (max-width: 1100px) {
    .dokkany-mobile-cart { display: none; }
    .dokkany-mobile-cart.has-items { display: block; }
}
