@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ========================================
   商品カードショートコード [oripa_product]
   ======================================== */
.oripa-card {
	max-width: 360px;
	margin: 1.5rem auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.oripa-card__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.oripa-card__body {
	padding: 0.75rem 1rem 1rem;
}

.oripa-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.oripa-card__tag {
	display: inline-block;
	padding: 0.15rem 0.6rem;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.4;
	color: #f58220;
	background: #fff;
	border: 1px solid #f58220;
	border-radius: 999px;
}

.oripa-card__title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.oripa-card__title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.oripa-card__stock {
	flex: 0 0 auto;
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.4;
	color: #666;
	white-space: nowrap;
}

.oripa-card__stock-sep {
	margin: 0 0.15rem;
}

.oripa-card__price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.oripa-card__price {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	font-size: clamp(1.25rem, 4vw, 1.5rem);
	font-weight: 700;
	line-height: 1.2;
	color: #f58220;
}

.oripa-card__price--empty {
	min-height: 1.5rem;
}

.oripa-card__shops {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.35rem;
	flex: 0 1 auto;
}

.oripa-card__shop {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.3;
	color: #333;
	background: #fff;
	border: 1px solid #e85d8a;
	border-radius: 6px;
	white-space: nowrap;
}

.oripa-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	width: 100%;
	padding: 0.75rem 1rem;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	color: #fff;
	background: #f58220;
	border-radius: 8px;
	transition: opacity 0.2s;
}

.oripa-card__btn:hover {
	opacity: 0.85;
	color: #fff;
}

.oripa-card__btn-icon {
	flex-shrink: 0;
}

/* ========================================
   商品カード一覧ショートコード [oripa_products]
   ======================================== */
.oripa-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	margin: 1.5rem 0;
}

.oripa-cards .oripa-card {
	max-width: none;
	margin: 0;
}
