
/* Coordeble Shop Top Front v1 */

.coordeble-shop-top {
    width: 100%;
    min-width: 0;
    color: inherit;
}

.coordeble-shop-section {
    width: 100%;
    box-sizing: border-box;
    padding: 40px 20px;
}

.coordeble-shop-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.coordeble-shop-heading {
    margin: 0 0 24px;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.4;
    color: inherit;
}

.coordeble-shop-search-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 760px;
    gap: 10px;
}

.coordeble-shop-search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid currentColor;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font-size: 16px;
}

.coordeble-shop-search-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border: 1px solid currentColor;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font-size: 15px;
    cursor: pointer;
}

.coordeble-shop-search-form button:hover {
    opacity: .75;
}

.coordeble-shop-search-form button:focus-visible,
.coordeble-shop-search-form input:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 782px) {
    .coordeble-shop-section {
        padding: 32px 20px;
    }

    .coordeble-shop-search-form {
        gap: 8px;
    }

    .coordeble-shop-search-form button {
        padding: 10px 14px;
        font-size: 14px;
    }
}


/* Coordeble Shop Category Tabs v1 */

.cd-shop-tab-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0 18px;
    margin-bottom: 22px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.cd-shop-tab-nav::-webkit-scrollbar {
    display: none;
}

.cd-shop-tab-button {
    flex: 0 0 auto;
    padding: 10px 19px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    opacity: .65;
}

.cd-shop-tab-button[aria-pressed="true"] {
    background: #ffffff;
    color: #202725;
    border-color: #ffffff;
    opacity: 1;
}

.cd-shop-tab-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.cd-shop-tab-panel[hidden] {
    display: none !important;
}

.cd-shop-tab-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
}

.cd-shop-product-card {
    min-width: 0;
}

.cd-shop-product-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.cd-shop-product-media {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(128,128,128,.12);
}

.cd-shop-product-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.cd-shop-product-link:hover
.cd-shop-product-media img {
    transform: scale(1.035);
}

.cd-shop-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 11px;
    opacity: .5;
}

.cd-shop-product-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 13px;
}

.cd-shop-product-category {
    display: inline-block;
    max-width: 100%;
    padding: 4px 9px;
    border-radius: 4px;
    background: rgba(128,128,128,.18);
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.cd-shop-product-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
}

.cd-shop-empty {
    padding: 24px 0;
    opacity: .7;
}

.cd-shop-all-link-wrap {
    display: flex;
    justify-content: flex-start;
    margin-top: 32px;
}

.cd-shop-all-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 54px;
    padding: 11px 22px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    text-decoration: none;
    font-size: 14px;
}

.cd-shop-all-link:hover {
    opacity: .75;
}

.cd-shop-product-link:focus-visible,
.cd-shop-all-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

@media (min-width: 783px) {
    .cd-shop-tab-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 36px 24px;
    }

    .cd-shop-product-name {
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-shop-product-media img {
        transition: none;
    }
}


/* Coordeble Shop Hero v1 */

.cd-shop-hero {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 20px 35px;
}

.cd-shop-hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-width: 0;
}

.cd-shop-hero-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 16px;
}

.cd-shop-hero-track::-webkit-scrollbar {
    display: none;
}

.cd-shop-hero-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    scroll-snap-align: start;
}

.cd-shop-hero-content {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: rgba(128,128,128,.12);
    color: #fff;
    text-decoration: none;
}

.cd-shop-hero-content img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cd-shop-hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 55px 32px 26px;
    box-sizing: border-box;
    background: linear-gradient(
        transparent,
        rgba(0,0,0,.58)
    );
    color: #fff;
    font-size: clamp(18px, 2.5vw, 32px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .04em;
}

.cd-shop-hero-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 16px;
}

.cd-shop-hero-dots,
.cd-shop-hero-arrows {
    display: flex;
    align-items: center;
    gap: 9px;
}

.cd-shop-hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: currentColor;
    opacity: .3;
    cursor: pointer;
}

.cd-shop-hero-dot[aria-current="true"] {
    opacity: 1;
    width: 23px;
    border-radius: 10px;
}

.cd-shop-hero-prev,
.cd-shop-hero-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: inherit;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}

.cd-shop-hero button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 782px) {
    .cd-shop-hero {
        padding: 12px 20px 28px;
    }

    .cd-shop-hero-track {
        border-radius: 12px;
    }

    .cd-shop-hero-content {
        aspect-ratio: 4 / 3;
    }

    .cd-shop-hero-caption {
        padding: 45px 18px 18px;
        font-size: 19px;
    }

    .cd-shop-hero-controls {
        padding-top: 12px;
    }
}


/* Coordeble Shop Articles v1 */

.cd-shop-articles-section,
.cd-shop-reading-section {
    box-sizing: border-box;
}

.cd-shop-articles-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cd-shop-notice-list {
    border-top: 1px solid rgba(128,128,128,.3);
}

.cd-shop-notice-item {
    border-bottom: 1px solid rgba(128,128,128,.3);
}

.cd-shop-notice-item a {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 20px 4px;
    color: inherit;
    text-decoration: none;
}

.cd-shop-notice-item time {
    flex: 0 0 110px;
    color: inherit;
    opacity: .65;
    font-size: 13px;
}

.cd-shop-notice-title {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    line-height: 1.7;
}

.cd-shop-notice-arrow {
    flex: 0 0 auto;
    font-size: 18px;
}

.cd-shop-notice-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    border: 0;
}

.cd-shop-notice-card .cd-shop-notice-item {
    border: 1px solid rgba(128,128,128,.3);
    border-radius: 12px;
}

.cd-shop-notice-card .cd-shop-notice-item a {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 22px;
}

.cd-shop-notice-card .cd-shop-notice-item time {
    flex: none;
}

.cd-shop-notice-card .cd-shop-notice-arrow {
    align-self: flex-end;
}

.cd-shop-reading-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 20px;
}

.cd-shop-reading-card {
    min-width: 0;
}

.cd-shop-reading-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.cd-shop-reading-media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(128,128,128,.1);
}

.cd-shop-reading-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.cd-shop-reading-link:hover .cd-shop-reading-media img {
    transform: scale(1.035);
}

.cd-shop-reading-noimage {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    opacity: .35;
    font-size: 12px;
    letter-spacing: .15em;
}

.cd-shop-reading-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 15px;
}

.cd-shop-reading-body time {
    font-size: 12px;
    opacity: .65;
}

.cd-shop-reading-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.65;
}

.cd-shop-article-footer {
    display: flex;
    justify-content: flex-start;
    margin-top: 30px;
}

.cd-shop-article-more {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 13px 23px;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: inherit;
    font-size: 14px;
    text-decoration: none;
}

.cd-shop-article-more:hover,
.cd-shop-notice-item a:hover,
.cd-shop-reading-link:hover {
    opacity: .75;
}

.cd-shop-articles-section a:focus-visible,
.cd-shop-reading-section a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

@media (max-width: 782px) {
    .cd-shop-notice-item a {
        align-items: flex-start;
        gap: 6px;
        flex-wrap: wrap;
        padding: 17px 2px;
    }

    .cd-shop-notice-item time {
        flex: 0 0 100%;
    }

    .cd-shop-notice-title {
        font-size: 14px;
    }

    .cd-shop-notice-card {
        grid-template-columns: 1fr;
    }

    .cd-shop-reading-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 14px;
    }

    .cd-shop-reading-title {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cd-shop-reading-media img {
        transition: none;
    }
}

/* Coordeble Shop Hero Editor Step5-1 */

.cd-shop-hero-content picture {
    display: block;
    width: 100%;
    height: 100%;
}

.cd-shop-hero-content picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
