/*
 * Eduhol Mağaza — Halka açık katalog ve ürün detayı
 */

.edu-store-catalog,
.edu-store-catalog *,
.edu-store-detail,
.edu-store-detail * {
    box-sizing: border-box;
}

.edu-store-catalog,
.edu-store-detail {
    width: 100%;
    max-width: 675px;
    min-width: 0;
    padding: 0.25rem 0 1rem;
    color: #333;
    font-family: inherit;
}

.edu-store-catalog-panel,
.edu-store-detail-panel {
    width: 100%;
    overflow: hidden;
   
    border-radius: 0.5rem;
    background-color: #fff;
}

.edu-store-catalog-header {
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 0.65rem 0.75rem;
    border-top: 5px solid #f17565;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.edu-store-catalog-header > div {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.edu-store-catalog-header > div > i {
    color: #f17565;
    font-size: 1.2rem;
}

.edu-store-catalog-header h1 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.edu-store-catalog-header p {
    margin: 0.15rem 0 0;
    color: #777;
    font-size: 16px;
}

.edu-store-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 135px 120px 70px;
    gap: 0.4rem;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    background-color: #fafafa;
}

.edu-store-search-box {
    position: relative;
    min-width: 0;
}

.edu-store-search-box i {
    position: absolute;
    top: 50%;
    left: 0.6rem;
    transform: translateY(-50%);
    color: #888;
}

.edu-store-search input,
.edu-store-search select {
    width: 100%;
    height: 40px;
    min-width: 0;
    padding: 0 0.55rem;
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 0.25rem;
    background-color: #fff;
    font: inherit;
    font-size: 0.7rem;
}

.edu-store-search input {
    padding-left: 1.9rem;
}

.edu-store-search input:focus,
.edu-store-search select:focus {
    border-color: #f17565;
    outline: 0;
    box-shadow: 0 0 0 0.12rem rgba(241, 117, 101, 0.14);
}

.edu-store-search button,
.edu-store-catalog-card footer > a,
.edu-store-catalog-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    color: #fff !important;
    border: 1px solid #ef695b;
    border-radius: 0.25rem;
    background-color: #f17565;
    width:100%;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
}

.edu-store-search button:hover,
.edu-store-catalog-card footer > a:hover,
.edu-store-catalog-more:hover {
    background-color: #eb6858;
}

.edu-store-active-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0.5rem;
    color: #666;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff8f6;
    font-size: 0.66rem;
}

.edu-store-active-filters a {
    color: #ef695b;
    font-weight: 700;
}

.edu-store-catalog-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 0.0rem;
    background:#efefef;
}

.edu-store-catalog-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.5rem;
    background-color: #fff;
}

.edu-store-catalog-cover {
    display: block;
    width: 100%;
    aspect-ratio: 1350 / 760;
    overflow: hidden;
    background-color: #eee;
}

.edu-store-catalog-cover img,
.edu-store-catalog-cover > span {
    width: 100%;
    height: 100%;
}

.edu-store-catalog-cover img {
    display: block;
    object-fit: cover;
}

.edu-store-catalog-cover > span {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 2rem;
}

.edu-store-catalog-card-body {
    padding: 0.55rem;
}

.edu-store-catalog-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.edu-store-catalog-card-top span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 0.2rem;
    color: #777;
    font-size: 16px;
}

.edu-store-catalog-card-top strong {
    flex-shrink: 0;
    color: #f17565;
    font-size: 16px;
}

.edu-store-catalog-title {
    display: -webkit-box;
   
    margin-top: 0.35rem;
    overflow: hidden;
    color: #333 !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.edu-store-catalog-card-body > p {
    display: -webkit-box;
    min-height: 2.85rem;
    margin: 0.35rem 0 0;
    overflow: hidden;
    color: #666;
    font-size: 16px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.edu-store-catalog-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.edu-store-catalog-card footer > div {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width:100%;
}

.edu-store-catalog-card footer span {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    color: #777;
    font-size: 16px;
}

.edu-store-catalog-card footer span:first-child i {
    color: #f5a623;
}

.edu-store-catalog-card footer > a {
    min-height: 30px;
    padding: 0 0.5rem;
    font-size: 16px;
}

.edu-store-catalog-more {
    width: calc(100% - 1rem);
    min-height: 38px;
    margin: 0 0.5rem 0.5rem;
}

.edu-store-catalog-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    padding: 1rem;
    color: #777;
    text-align: center;
}

.edu-store-catalog-empty > i {
    color: #bbb;
    font-size: 2.2rem;
}

.edu-store-catalog-empty strong {
    margin-top: 0.5rem;
    color: #444;
    font-size: 0.9rem;
}

.edu-store-catalog-empty p {
    margin: 0.25rem 0 0;
    font-size: 0.7rem;
}

/* Katalog kartı satıcı ve eser sahibi alanı */
.edu-store-catalog-parties {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.edu-store-catalog-seller,
.edu-store-catalog-creator {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
}

.edu-store-catalog-seller {
    flex: 1 1 48%;
}

.edu-store-catalog-creator {
    flex: 1 1 52%;
    justify-content: flex-end;
    color: inherit;
    text-align: right;
    text-decoration: none !important;
    cursor: pointer;
}

.edu-store-catalog-seller img {
    display: block;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.edu-store-catalog-creator > img {
    display: block;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
}

.edu-store-catalog-seller > div,
.edu-store-catalog-creator > div {
    min-width: 0;
}

.edu-store-catalog-parties span,
.edu-store-catalog-parties strong,
.edu-store-catalog-parties small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.edu-store-catalog-parties span {
    color: #888;
    font-size: 16px;
    font-weight: 500;
}

.edu-store-catalog-parties strong {
    color: #333;
    font-size: 16px;
    font-weight: 700;
}

.edu-store-catalog-parties small {
    color: #888;
    font-size: 16px;
}

.edu-store-catalog-seller strong {
    color: #f17565;
    font-weight: 800;
}

.edu-store-catalog-creator:hover strong {
    color: #f17565;
}

.edu-store-catalog-creator:hover > img {
    border-color: #f17565;
}


/* Başlık ve açıklama kapak görselinin üstünde */
.edu-store-catalog-intro {
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.edu-store-catalog-intro .edu-store-catalog-title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #f17565 !important;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.edu-store-catalog-intro .edu-store-catalog-title:hover {
    color: #e45f51 !important;
}

.edu-store-catalog-intro > p {
    display: -webkit-box;
    margin: 6px 0 0;
    overflow: hidden;
    color: #333;
    font-size: 1.25rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* Kapak üzerindeki sınıf etiketi */
.edu-store-catalog-cover {
    position: relative;
}

.edu-store-catalog-class-badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: calc(100% - 20px);
    min-height: 32px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.edu-store-catalog-class-badge i {
    flex: 0 0 auto;
    font-size: 16px;
}

.edu-store-catalog-class-badge span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Sınıf bilgisi kaldırıldığı için fiyat sağda görünür */
.edu-store-catalog-card-top {
    justify-content: flex-end;
}



/* Ürün detayı */
.edu-store-detail-header {
    padding: 0.55rem 0.65rem;
    border-top: 5px solid #f17565;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.edu-store-detail-header a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #555;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    width:100%;
}

.edu-store-detail-main {
    display: grid;
    grid-template-columns: 275px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.65rem;
}

.edu-store-detail-cover {
    overflow: hidden;
    border-radius: 0.4rem;
    background-color: #eee;
}

.edu-store-detail-cover img,
.edu-store-detail-cover > span {
    width: 100%;
    aspect-ratio: 1350 / 760;
    height:100%;
}

.edu-store-detail-cover img {
    display: block;
    object-fit: cover;
}

.edu-store-detail-cover > span {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 2rem;
}

.edu-store-detail-info {
    min-width: 0;
}

.edu-store-detail-class {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #777;
    font-size: 16px;
}

.edu-store-detail-info h1 {
    margin: 0.35rem 0 0;
    color: #333;
    font-size: 1.12rem;
    line-height: 1.3;
}

.edu-store-detail-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.45rem;
}

.edu-store-detail-rating span {
    color: #f5a623;
    font-size: 0.7rem;
    font-weight: 700;
}

.edu-store-detail-rating small {
    color: #777;
    font-size: 0.65rem;
}

.edu-store-detail-seller {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.65rem;
    padding: 0.45rem;
    border-radius: 0.25rem;
    background-color: #f2f2f2;
}

.edu-store-detail-seller > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    border-radius: 0.25rem;
    background-color: #f17565;
    font-weight: 700;
}

.edu-store-detail-seller strong,
.edu-store-detail-seller small {
    display: block;
}

.edu-store-detail-seller strong {
    font-size: 0.7rem;
}

.edu-store-detail-seller small {
    color: #777;
    font-size: 0.6rem;
}

.edu-store-detail-seller > i {
    color: #2980b9;
}
/* Belirgin satıcı alanı */
.edu-store-detail-seller {
    display: block;
    margin-top: 0.65rem;
    padding: 0.65rem;
    border: 1px solid rgba(241, 117, 101, 0.35);
    border-left: 4px solid #f17565;
    border-radius: 0.4rem;
    background-color: #fff6f4;
}

.edu-store-detail-seller-label {
    margin-bottom: 0.4rem;
    color: #a84f43;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.edu-store-detail-seller-main {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
}

.edu-store-detail-seller-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border-radius: 0.35rem;
    background-color: #f17565;
    font-size: 18px;
    font-weight: 800;
}

.edu-store-detail-seller-main strong,
.edu-store-detail-seller-main small {
    display: block;
}

.edu-store-detail-seller-main strong {
    color: #222;
    font-size: 18px;
    font-weight: 800;
}

.edu-store-detail-seller-main small {
    margin-top: 0.1rem;
    color: #666;
    font-size: 16px;
}

.edu-store-detail-seller-main > i {
    color: #2980b9;
    font-size: 18px;
}

/* Daha sade eser sahibi alanı */
.edu-store-detail-creator {
    margin-top: 0.45rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.4rem;
    background-color: #f7f7f7;
}

.edu-store-detail-creator-label {
    margin-bottom: 0.35rem;
    color: #777;
    font-size: 16px;
    font-weight: 600;
}

.edu-store-detail-creator-main {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
}

.edu-store-detail-creator-main img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.edu-store-detail-creator-main strong,
.edu-store-detail-creator-main small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.edu-store-detail-creator-main strong {
    color: #444;
    font-size: 16px;
    font-weight: 700;
}

.edu-store-detail-creator-main small {
    margin-top: 0.1rem;
    color: #888;
    font-size: 16px;
}

.edu-store-detail-price {
    margin-top: 0.65rem;
}

.edu-store-detail-price > strong {
    display: block;
    color: #f17565;
    font-size: 1.15rem;
}

.edu-store-detail-price button {
    width: 100%;
    min-height: 42px;
    margin-top: 0.4rem;
    color: #fff;
    border: 1px solid #25b963;
    border-radius: 0.25rem;
    background-color: #2ecc71;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
}

.edu-store-detail-price button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.edu-store-detail-price small {
    display: block;
    margin-top: 0.3rem;
    color: #888;
    font-size: 0.61rem;
    line-height: 1.35;
}

.edu-store-detail-section {
    padding: 0.65rem;
    border-top: 10px solid rgb(239, 239, 239);
}

.edu-store-detail-section h2 {
    margin: 0 0 0.5rem;
    color: #333;
   
}

.edu-store-detail-description {
    color: #555;
    
    line-height: 1.55;
}

.edu-store-detail-file {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    background-color: #f2f2f2;
}

.edu-store-detail-file > i {
    color: #f17565;
    font-size: 1rem;
}

.edu-store-detail-file strong,
.edu-store-detail-file small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.edu-store-detail-file strong {
    font-size: 16px;
}

.edu-store-detail-file small {
    margin-top: 0.1rem;
    color: #777;
    font-size: 0.62rem;
}

@media (max-width: 767px) {
    .edu-store-catalog,
    .edu-store-detail {
        max-width: none;
    }

    .edu-store-catalog-panel,
    .edu-store-detail-panel {
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .edu-store-search {
        grid-template-columns: 1fr 1fr;
    }

    .edu-store-search-box {
        grid-column: 1 / -1;
    }

    .edu-store-catalog-grid {
        grid-template-columns: 1fr;
    }

    .edu-store-detail-main {
        grid-template-columns: 1fr;
    }

    .edu-store-detail-cover {
        max-width: 420px;
        margin: 0 auto;
    }
}

.edu-store-detail-creator-main {
    color: inherit;
    text-decoration: none !important;
    cursor: pointer;
}

.edu-store-detail-creator-main:hover strong {
    color: #f17565;
}

.edu-store-detail-creator-main:hover img {
    border-color: #f17565;
}

.edu-store-detail-seller-logo {
    overflow: hidden;
    padding: 0;
    background: transparent;
}

.edu-store-detail-seller-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}