.vs-gift-card-control {
    max-width: 720px;
    margin: 80px auto;
    padding: 0 24px;
}

.vs-gift-card-panel,
.vs-gift-card-search {
    background: #ffffff;
    border: 1px solid rgba(37, 118, 128, 0.14);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 18px 50px rgba(22, 74, 84, 0.08);
}

.vs-gift-card-control h1 {
    margin-bottom: 28px;
}

.vs-gift-card-info {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
}

.vs-gift-card-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(37, 118, 128, 0.1);
}

.vs-gift-card-label {
    color: #6f7779;
}

.vs-gift-card-value {
    font-weight: 600;
    color: #3f4648;
    text-align: right;
}

.vs-gift-card-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.vs-gift-card-status--valid {
    background: #e8f7f3;
    color: #1f7a68;
}

.vs-gift-card-status--expired,
.vs-gift-card-status--disabled {
    background: #fdecec;
    color: #a43b3b;
}

.vs-gift-card-status--empty {
    background: #f1f1f1;
    color: #666;
}

.vs-gift-card-message {
    background: #e8f7f3;
    color: #1f7a68;
    border-radius: 18px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-weight: 600;
}

.vs-gift-card-redeem {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.vs-gift-card-redeem label,
.vs-gift-card-search label {
    font-weight: 600;
}

.vs-gift-card-redeem input,
.vs-gift-card-search input {
    width: 100%;
    max-width: 260px;
    border: 1px solid rgba(37, 118, 128, 0.25);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 1rem;
}

.vs-gift-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.vs-gift-card-button {
    border: none;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
}

.vs-gift-card-button--primary {
    background: #3db7b0;
    color: #ffffff;
}

.vs-gift-card-button--secondary {
    background: #ffffff;
    color: #3f4648;
    border: 1px solid rgba(37, 118, 128, 0.25);
}

@media (max-width: 640px) {
    .vs-gift-card-control {
        margin: 40px auto;
    }

    .vs-gift-card-panel,
    .vs-gift-card-search {
        padding: 24px;
        border-radius: 22px;
    }

    .vs-gift-card-row {
        display: grid;
        gap: 4px;
    }

    .vs-gift-card-value {
        text-align: left;
    }

    .vs-gift-card-redeem input {
        max-width: none;
    }
}

/* =========================================================
   Verre et Sens — Achat carte cadeau
   Shortcode [vs_gift_card_purchase]
========================================================= */

.vs-gc-purchase {
	max-width: 1060px;
	margin: 72px auto;
	padding: 0 24px;
}

.vs-gc-purchase form {
	background: #ffffff;
	border: 1px solid rgba(32, 166, 173, 0.14);
	border-radius: 32px;
	padding: 56px;
	box-shadow: 0 24px 70px rgba(24, 53, 54, 0.05);
}

.vs-gc-purchase h2 {
	margin: 0 0 14px;
	text-align: center;
	font-size: clamp(2rem, 4vw, 3.3rem);
	line-height: 1.05;
	color: #4a4a4a;
}

.vs-gc-purchase > form > h2 + input + input + .vs-gc-grid,
.vs-gc-grid {
	margin-top: 44px;
}

.vs-gc-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.vs-gc-card {
	cursor: pointer;
	display: block;
}

.vs-gc-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.vs-gc-card-box {
	position: relative;
	height: 100%;
	padding: 26px 24px;
	border: 1px solid #dfeeee;
	border-radius: 22px;
	background: #ffffff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vs-gc-card-box::after {
	content: "✓";
	position: absolute;
	top: 18px;
	right: 18px;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: #32aeb8;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	opacity: 0;
	transform: scale(0.8);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.vs-gc-card:hover .vs-gc-card-box {
	transform: translateY(-2px);
	border-color: rgba(50, 174, 184, 0.45);
	box-shadow: 0 16px 40px rgba(24, 53, 54, 0.06);
}

.vs-gc-card input:checked + .vs-gc-card-box {
	border-color: #32aeb8;
	box-shadow: 0 18px 45px rgba(50, 174, 184, 0.12);
}

.vs-gc-card input:checked + .vs-gc-card-box::after {
	opacity: 1;
	transform: scale(1);
}

.vs-gc-price {
	margin-bottom: 14px;
	font-size: 1.7rem;
	font-weight: 800;
	color: #32aeb8;
}

.vs-gc-card-box h3 {
	margin: 0 0 10px;
	font-size: 1.05rem;
	line-height: 1.25;
	color: #3f4548;
}

.vs-gc-card-box p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #7a898d;
}

.vs-gc-note {
	margin: 20px 0 42px;
	padding: 18px 22px;
	border-radius: 18px;
	background: #eafbfb;
	color: #5c787c;
	font-size: 0.95rem;
}

.vs-gc-purchase form > h3 {
	margin: 0 0 18px;
	font-size: 1rem;
	color: #2ea7b0;
}

.vs-gc-purchase form > h3 small {
	color: #7a898d;
	font-weight: 600;
}

.vs-gc-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.vs-gc-fields p {
	margin: 0;
}

.vs-gc-fields label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.92rem;
	font-weight: 700;
	color: #3f4548;
}

.vs-gc-fields input,
.vs-gc-fields textarea {
	width: 100%;
	border: 1px solid #dfeeee;
	border-radius: 18px;
	background: #ffffff;
	padding: 16px 18px;
	font: inherit;
	color: #3f4548;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vs-gc-fields input:focus,
.vs-gc-fields textarea:focus {
	border-color: #32aeb8;
	box-shadow: 0 0 0 4px rgba(50, 174, 184, 0.12);
}

.vs-gc-fields textarea {
	min-height: 130px;
	resize: vertical;
}

.vs-gc-full {
	grid-column: 1 / -1;
}

.vs-gc-submit {
	margin-top: 32px;
	appearance: none;
	border: 0;
	border-radius: 999px;
	background: #32aeb8;
	color: #ffffff;
	padding: 16px 28px;
	font-weight: 800;
	font-size: 1rem;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vs-gc-submit:hover {
	background: #279ca5;
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(50, 174, 184, 0.24);
}

@media (max-width: 900px) {
	.vs-gc-purchase form {
		padding: 36px 24px;
	}

	.vs-gc-grid {
		grid-template-columns: 1fr;
	}

	.vs-gc-fields {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.vs-gc-purchase {
		margin: 48px auto;
		padding: 0 16px;
	}

	.vs-gc-purchase form {
		border-radius: 24px;
		padding: 30px 18px;
	}

	.vs-gc-card-box {
		padding: 22px 20px;
	}
}

/* Correctifs V1 achat carte cadeau */

.vs-gc-grid {
	align-items: stretch;
	margin-bottom: 20px;
}

.vs-gc-card {
	position: relative;
	min-height: 190px;
}

.vs-gc-card-box {
	min-height: 190px;
	box-sizing: border-box;
}

.vs-gc-note {
	clear: both;
	position: relative;
	z-index: 0;
	margin-top: 0;
}

.vs-gc-fields input,
.vs-gc-fields textarea {
	box-sizing: border-box;
}

.vs-gc-fields {
	align-items: start;
}